/* Sezione risorse: stessi font, colori e componenti del negozio EMPIREA. */
.resources-page{background:#f7f9fc;color:#101828}
.resources-page .site-header .nav-wrap{min-height:98px}
.resources-page .site-header .brand img{width:210px;height:76px}
.resources-page .main-nav{flex-wrap:wrap;gap:23px}
.resources-page .main-nav a[aria-current]{color:#0148a1}
.resources-hero{position:relative;overflow:hidden;padding:74px 0 78px;background:radial-gradient(circle at 80% 35%,rgba(1,72,161,.13),transparent 32%),linear-gradient(120deg,#fff,#eff6ff);border-bottom:1px solid #dce8f6}
.resources-hero::after{content:"";position:absolute;border:50px solid rgba(1,72,161,.042);border-radius:50%;width:320px;height:320px;right:-120px;top:-160px;pointer-events:none}
.resources-eyebrow{color:#0148a1;font-size:12px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;margin:0 0 14px}
.resources-hero h1{font-size:clamp(36px,5vw,59px);line-height:1.11;letter-spacing:-.04em;color:#123b67;margin:0 0 18px}
.resources-hero p:last-child{max-width:770px;margin:0;color:#526275;font-size:clamp(16px,1.65vw,20px);line-height:1.68}
.resources-section{padding-top:66px;padding-bottom:76px}
.resources-heading{margin-bottom:34px}
.resources-heading h2{font-size:clamp(27px,3.6vw,37px);color:#123b67;line-height:1.2;margin:0 0 11px}
.resources-heading p:last-child{color:#5e6a7d;margin:0}
.resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.resources-card{display:flex;flex-direction:column;overflow:hidden;border-radius:20px;border:1px solid #dce7f2;background:#fff;box-shadow:0 17px 48px rgba(3,38,84,.065);transition:transform .18s ease,box-shadow .18s ease}
.resources-card:hover{transform:translateY(-3px);box-shadow:0 22px 51px rgba(3,38,84,.11)}
.resources-art{height:235px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#e5f2ff,#f7fbff)}
.resources-art-measure img{width:100%;height:100%;object-fit:contain;padding:20px 42px 38px;filter:drop-shadow(0 16px 15px rgba(21,54,98,.15))}
.resources-art-label{position:absolute;bottom:16px;left:19px;background:#fff;border:1px solid #c4d9ef;border-radius:20px;color:#0148a1;font-size:11px;font-weight:850;padding:6px 11px;letter-spacing:.06em}
.resources-art-optimize{background:radial-gradient(circle at 67% 13%,#fff1bc,transparent 24%),linear-gradient(145deg,#d7ecff,#f1f8ff)}
.resources-sun{position:absolute;right:19%;top:17px;font-size:42px;color:#f4ae2a;text-shadow:0 0 21px #ffffff}
.resources-panel{width:210px;height:116px;margin-top:24px;transform:perspective(450px) rotateX(19deg) rotateZ(-12deg);background:linear-gradient(140deg,#1265a9,#103e71);border:8px solid #f4f7f9;border-radius:7px;box-shadow:13px 20px 19px rgba(12,49,101,.22)}
.resources-panel-grid{height:100%;width:100%;background:repeating-linear-gradient(90deg,transparent 0,transparent 35px,#7badcf 36px,#7badcf 38px),repeating-linear-gradient(0deg,transparent 0,transparent 38px,#7badcf 39px,#7badcf 41px)}
.resources-panel-caption{position:absolute;bottom:16px;left:19px;border-radius:20px;background:#fff;color:#0148a1;font-weight:850;font-size:11px;letter-spacing:.06em;padding:6px 11px}
.resources-card-body{padding:27px 29px 31px;display:flex;flex:1;flex-direction:column;align-items:start}
.resources-tag{color:#0148a1;background:#eef5ff;border:1px solid #dceafb;border-radius:30px;padding:6px 12px;font-size:11px;font-weight:850;letter-spacing:.08em}
.resources-card h3{font-size:25px;line-height:1.2;letter-spacing:-.025em;color:#102c52;margin:15px 0 13px}
.resources-card p{color:#526275;line-height:1.65;margin:0 0 15px}
.resources-meta{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 24px}
.resources-meta span{background:#f5f8fc;border:1px solid #e0e8f1;border-radius:7px;padding:6px 9px;color:#41576b;font-size:11px;font-weight:700}
.resources-action{margin-top:auto;display:inline-flex;gap:13px;align-items:center;padding:12px 18px;background:#0148a1;color:white;text-decoration:none;border-radius:9px;font-size:14px;font-weight:800}
.resources-action:hover,.resources-action:focus-visible{background:#06316e;color:white}
.resources-note{padding:25px 30px 29px;margin-bottom:75px;display:flex;gap:20px;justify-content:space-between;align-items:center;border:1px solid #dbe8f4;border-left:4px solid #0148a1;background:#fff;border-radius:13px}
.resources-note h2{margin:0 0 8px;font-size:20px;color:#123b67}.resources-note p{margin:0;color:#526275;max-width:790px}
.resources-note>a{flex:none;font-size:14px;color:#0148a1;font-weight:800;text-decoration:none}.resources-note>a:hover{text-decoration:underline}
.resources-page footer{background:#101820;color:#dbe9fb;padding:24px 0}
.resources-page footer .footer-row{display:flex;align-items:center;justify-content:space-between;gap:15px}
.resources-page footer .footer-row>a img{width:150px;height:auto;filter:brightness(0) invert(1)}
.resources-page footer .footer-copy{text-align:right;color:#dbe9fb;font-size:12px}
.resources-page footer .footer-copy p{margin:4px 0}
.resources-page footer a{color:inherit}
@media(max-width:980px){.resources-page .site-header .nav-wrap{flex-wrap:wrap;gap:5px;padding:8px 0}.resources-page .main-nav{gap:15px}.resources-grid{gap:15px}.resources-note{flex-direction:column;align-items:flex-start}}
@media(max-width:740px){.resources-hero{padding:52px 0}.resources-section{padding-top:45px;padding-bottom:48px}.resources-grid{grid-template-columns:1fr}.resources-art{height:207px}.resources-page footer .footer-row{flex-direction:column;align-items:flex-start}.resources-page footer .footer-copy{text-align:left}}
@media(max-width:480px){.resources-page .main-nav{gap:9px}.resources-page .main-nav a{font-size:13px}.resources-card h3{font-size:23px}.resources-card-body{padding:23px}.resources-note{padding:21px}}
@media(prefers-reduced-motion:reduce){.resources-card{transition:none}}


/* Selettore lingua delle Risorse — bozza multilingue */
.resources-language-picker{position:relative;margin-left:auto;z-index:20;font-size:12px}
.resources-language-picker summary{cursor:pointer;border:1px solid #b4d0e6;background:#fff;border-radius:9px;padding:8px 10px;color:#164f80;font-weight:700}
.resources-language-options{position:absolute;right:0;top:110%;min-width:155px;max-height:270px;overflow:auto;box-shadow:0 6px 24px #173e5a33;border:1px solid #d5e3ed;border-radius:10px;background:#fff;display:grid}
.resources-language-options a{color:#164f80;text-decoration:none;padding:8px 13px}
.resources-language-options a:hover,.resources-language-options a[aria-current="page"]{background:#e7f3ff}
[dir="rtl"] .resources-language-options{right:auto;left:0}
@media(max-width:700px){.resources-language-picker{margin-left:0}.resources-language-options{right:auto;left:0}}


/* RC2: compact title, simulator animations visible immediately after navigation. */
.resources-page .site-header .nav-wrap{min-height:68px}
.resources-page .site-header .brand img{width:156px;height:56px}
.resources-hero{padding:15px 0 17px}
.resources-hero::after{width:160px;height:160px;border-width:22px;right:-45px;top:-72px}
.resources-hero .resources-eyebrow{font-size:10px;letter-spacing:.09em;margin:0 0 3px}
.resources-hero h1{font-size:clamp(25px,3.3vw,36px);letter-spacing:-.025em;margin:0 0 5px;line-height:1.16}
.resources-hero p:last-child{max-width:970px;font-size:clamp(13px,1.2vw,15px);line-height:1.45}
.resources-section{padding-top:15px;padding-bottom:54px}
.resources-heading{margin-bottom:14px}
.resources-heading .resources-eyebrow{display:none}
.resources-heading h2{font-size:clamp(19px,2.2vw,25px);margin:0 0 3px}
.resources-heading p:last-child{font-size:13px;line-height:1.35}
.resources-grid{gap:19px}
.resources-card-body{padding:20px 22px 24px}
@media(max-width:740px){
 .resources-hero{padding:11px 0 13px}
 .resources-section{padding-top:12px;padding-bottom:33px}
 .resources-heading{margin-bottom:12px}
 .resources-art{height:205px}
 .resources-page .site-header .nav-wrap{min-height:61px}
 .resources-page .site-header .brand img{width:137px;height:49px}
}
@media(max-width:480px){.resources-hero p:last-child{font-size:12px;line-height:1.35}.resources-card-body{padding:19px}}
