/*
Theme Name: Rivera Magos Magazine
Template: neve
Version: 1.0.0
Description: Tema figlio Neve per blog SEO Rivera Magos.
*/
:root{--rm-ink:#142f40;--rm-navy:#102a3b;--rm-blue:#245d70;--rm-gold:#c89f54;--rm-paper:#f7f9fa;--rm-line:#e1e8ea}
html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--rm-ink);font:16px/1.75 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;overflow-x:hidden}*,*:before,*:after{box-sizing:border-box}a{color:#17607a;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible{outline:3px solid var(--rm-gold);outline-offset:3px}img{max-width:100%;height:auto}
.rm-wrap{max-width:1130px;margin:auto;padding:0 24px}.rm-announcement{background:var(--rm-navy);padding:8px;color:#f8ddb1;text-align:center;letter-spacing:.05em;font-size:11px;font-weight:750}
.rm-header{background:white;border-bottom:1px solid var(--rm-line);box-shadow:0 4px 22px #142f4012;position:relative;z-index:5}.rm-top{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:94px;padding-block:12px}.rm-brand{display:flex;align-items:center;gap:14px;text-decoration:none!important;color:var(--rm-ink)}.rm-logo{max-width:200px;max-height:76px;width:auto;height:auto;object-fit:contain;display:block}.rm-wordmark{color:var(--rm-ink);font-weight:900;font-size:25px;letter-spacing:.07em}.rm-wordmark small{display:block;color:var(--rm-gold);font-size:12px;letter-spacing:.14em}
.rm-header-actions{display:flex;gap:18px;align-items:center;font-weight:800;font-size:13px}.rm-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 17px;border-radius:8px;background:var(--rm-navy);color:white!important;font-size:13px;font-weight:800;text-decoration:none!important;transition:background .2s}.rm-button:hover{background:#206278}.rm-menu{border-top:1px solid #edf0f1}.rm-menu .rm-wrap{display:flex;gap:26px;align-items:center;flex-wrap:wrap;min-height:49px}.rm-menu a{font-size:12px;color:var(--rm-ink);font-weight:800;padding:11px 0;white-space:nowrap}.rm-menu a[aria-current='page']{border-bottom:3px solid var(--rm-gold);color:var(--rm-blue)}
.rm-hero{padding:67px 0;background:radial-gradient(circle at 87% 20%,#e9c0712b,transparent 33%),linear-gradient(115deg,#112e41,#1f4b5c);color:#fff}.rm-overline{font-size:12px;font-weight:850;letter-spacing:.14em;color:#dcb879;text-transform:uppercase}.rm-hero h1{max-width:815px;color:#fff;font-size:clamp(33px,5vw,54px);line-height:1.16;font-weight:880;letter-spacing:-.035em;margin:12px 0}.rm-hero p{max-width:735px;color:#e7f0f1;font-size:17px;line-height:1.75}.rm-section-title{margin:45px 0 22px;font-size:26px;color:var(--rm-ink)}
.rm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin-bottom:78px}.rm-card{border:1px solid var(--rm-line);box-shadow:0 9px 28px #15303d12;border-radius:15px;background:white;overflow:hidden;display:flex;flex-direction:column}.rm-card-media{height:195px;background:#f2f6f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.rm-card-media img{max-height:185px;max-width:100%;height:auto;width:auto;object-fit:contain;padding:12px}.rm-card-body{padding:24px;display:flex;flex-direction:column;flex:1}.rm-meta{font-size:12px;text-transform:uppercase;font-weight:800;color:#637b85}.rm-card h2{font-size:22px;line-height:1.32;margin:12px 0}.rm-card h2 a{color:var(--rm-ink)}.rm-card p{font-size:15px;line-height:1.72;color:#536973;flex:1}.rm-card .rm-link{font-size:14px;font-weight:850;margin-top:12px}
.rm-crumbs{font-size:13px;padding-top:28px;color:#71818a}.rm-article{width:min(100%,795px);margin:27px auto 75px}.rm-article h1{font-size:clamp(30px,4.8vw,46px);line-height:1.2;letter-spacing:-.03em;margin:12px 0 18px;color:var(--rm-ink);font-weight:850}.rm-excerpt{font-size:18px;line-height:1.76;color:#455d69;background:#f2f7f8;border-left:4px solid var(--rm-gold);padding:19px 24px;border-radius:0 9px 9px 0;margin-top:20px}
.rm-content{font-size:16px;line-height:1.82;color:#263e48}.rm-content p{margin:0 0 20px;font-size:16px;line-height:1.85}.rm-content h2{font-size:25px;line-height:1.3;margin:39px 0 20px;color:#153a4d;font-weight:850}.rm-content h2:after{content:'';display:block;width:78px;height:2px;background:linear-gradient(90deg,var(--rm-gold),transparent);margin-top:12px}.rm-content ul{padding-left:25px;margin:10px 0 25px}.rm-content li{padding:5px 0;line-height:1.72}.rm-content li::marker{color:#19677b}.rm-content strong{font-weight:850;color:#173b4e}
.rm-content .rm-toc{background:#f2f7f9;border:1px solid #dae7eb;border-left:5px solid var(--rm-gold);padding:19px 23px;border-radius:0 11px 11px 0;margin:29px 0}.rm-toc strong{display:block;margin-bottom:9px}.rm-content .rm-toc ol{columns:2;column-gap:28px;padding-left:23px;margin:0}.rm-toc li{break-inside:avoid;font-size:14px}.rm-feature{padding:16px 23px;margin:30px 0;border-radius:12px;background:#f7f9fa;border:1px solid var(--rm-line)}.rm-takeaways{background:linear-gradient(125deg,#fff8ec,#fff);border:1px solid #efdbb8;border-radius:12px;padding:21px 24px;margin:29px 0}.rm-takeaways h2{margin:0 0 11px;font-size:20px;color:#6e5127}.rm-takeaways h2:after{display:none}
.rm-cover{display:flex;justify-content:center;align-items:center;background:#f7f9fa;border:1px solid var(--rm-line);border-radius:13px;margin:30px auto;overflow:hidden;max-width:690px}.rm-cover img{max-height:300px;width:auto;height:auto;object-fit:contain;padding:15px}
.rm-products{background:#f5f8f9;border:1px solid #dce6e9;padding:25px;border-radius:14px;margin:48px 0 30px}.rm-products h2{margin:0 0 11px;font-size:24px}.rm-products h2:after{display:none}.rm-products>p{color:#58717d;font-size:15px}.rm-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}.rm-product{background:white;border:1px solid #e1e7e9;border-radius:10px;padding:14px;display:flex;flex-direction:column;min-width:0}.rm-product-image{height:139px;display:flex;align-items:center;justify-content:center;padding:7px;background:#fafbfc;border-radius:8px;overflow:hidden}.rm-product-image img{max-height:120px;width:auto;height:auto;object-fit:contain}.rm-product h3{font-size:16px;line-height:1.35;margin:12px 0 7px;color:#173647}.rm-product p{font-size:13px;line-height:1.55;color:#5c7180;flex:1}.rm-product .rm-button{width:100%;font-size:12px;padding:9px 11px;margin-top:8px}.rm-categories{display:flex;gap:11px;flex-wrap:wrap;margin:27px 0}.rm-categories a{display:inline-block;border:1px solid #cadee3;border-radius:7px;background:white;padding:9px 13px;font-size:13px;font-weight:750}.rm-related{border-top:1px solid var(--rm-line);padding-top:22px;margin-top:44px}.rm-related h2{font-size:22px}
.rm-footer{background:#1a313e;color:#dce7ea;padding:40px 0 25px}.rm-footer h2{color:white;font-size:20px;margin:0 0 10px}.rm-footer p{color:#dce7ea}.rm-footer-flex{display:flex;align-items:start;justify-content:space-between;gap:24px;flex-wrap:wrap}.rm-footer-nav{display:flex;gap:14px 20px;flex-wrap:wrap;max-width:640px;font-size:13px}.rm-footer-nav a{color:#e9f0f2}.rm-footer small{display:block;border-top:1px solid #425967;margin-top:28px;padding-top:18px;color:#c8d6d8}
@media(max-width:850px){.rm-menu .rm-wrap{gap:14px}.rm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.rm-wrap{padding-inline:17px}.rm-top{min-height:75px}.rm-logo{max-width:137px;max-height:63px}.rm-header-actions>a:first-child{display:none}.rm-header-actions .rm-button{padding:10px 12px}.rm-menu .rm-wrap{gap:11px}.rm-menu a{font-size:10px;padding:10px 0}.rm-hero{padding:44px 0}.rm-hero h1{font-size:33px}.rm-grid{grid-template-columns:1fr}.rm-article{margin:14px auto 55px}.rm-article h1{font-size:32px}.rm-excerpt{padding:14px 16px}.rm-content h2{font-size:23px}.rm-toc ol{columns:1!important}.rm-products{padding:16px}.rm-product-grid{gap:10px}.rm-product{padding:10px}.rm-product-image{height:109px}.rm-product-image img{max-height:96px}}@media(max-width:420px){.rm-product-grid{grid-template-columns:1fr}.rm-product{display:grid;grid-template-columns:104px 1fr;grid-template-areas:'pic title' 'pic desc' 'pic cta';gap:3px 12px}.rm-product-image{grid-area:pic;height:118px}.rm-product h3{grid-area:title;margin:0}.rm-product p{grid-area:desc;margin:2px 0}.rm-product .rm-button{grid-area:cta}}
