/* Independent variants. Every rule is scoped; the existing design remains unchanged. */
body[data-menu-style=underline] .main-nav{background:#fff;color:var(--primary);border-bottom:1px solid color-mix(in srgb,var(--primary) 20%,white);box-shadow:none}
body[data-menu-style=underline] .main-nav .nav-item{border-radius:0;border:0;box-shadow:none}
body[data-menu-style=underline] .main-nav .nav-item>a{border-radius:0;border-bottom:3px solid transparent;padding:18px 13px;color:var(--primary)}
body[data-menu-style=underline] .main-nav .nav-item:hover>a,body[data-menu-style=underline] .main-nav .nav-item:focus-within>a{border-bottom-color:var(--accent);background:color-mix(in srgb,var(--primary) 5%,white)}
body[data-menu-style=underline] .main-nav .submenu-toggle,body[data-menu-style=underline] .main-nav .mobile-navigation{color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,white)}
body[data-menu-style=underline] .main-nav .nav-inner form{border-color:#d6e0da;background:#f5f8f6;box-shadow:none}
body[data-menu-style=underline] .main-nav .nav-inner input,body[data-menu-style=underline] .main-nav .nav-inner form button{color:#20372a}
body[data-menu-style=pills] .main-nav{background:color-mix(in srgb,var(--primary) 7%,white);color:var(--primary);border-block:1px solid color-mix(in srgb,var(--primary) 14%,white);padding-block:12px}
body[data-menu-style=pills] .main-nav .nav-links{gap:10px}
body[data-menu-style=pills] .main-nav .nav-item{border-radius:999px;background:#fff;border:1px solid color-mix(in srgb,var(--primary) 14%,white);box-shadow:0 3px 10px #102c2205}
body[data-menu-style=pills] .main-nav .nav-item>a{border-radius:999px;color:var(--primary);padding:11px 17px}
body[data-menu-style=pills] .main-nav .nav-item:hover,body[data-menu-style=pills] .main-nav .nav-item:focus-within{background:var(--primary);color:#fff}
body[data-menu-style=pills] .main-nav .nav-item:hover>a,body[data-menu-style=pills] .main-nav .nav-item:focus-within>a{color:#fff}
body[data-menu-style=pills] .main-nav .submenu-toggle,body[data-menu-style=pills] .main-nav .mobile-navigation{color:inherit;background:transparent}
body[data-menu-style=pills] .main-nav .nav-inner form{background:#fff;border-color:#d9e4dc;box-shadow:none}
body[data-menu-style=pills] .main-nav .nav-inner input,body[data-menu-style=pills] .main-nav .nav-inner form button{color:#20372a}
body[data-menu-style=panels] .main-nav{padding-block:18px;background:var(--primary);border-bottom:4px solid var(--accent)}
body[data-menu-style=panels] .main-nav .nav-inner{flex-wrap:wrap;gap:14px}
body[data-menu-style=panels] .main-nav .nav-links{width:100%;flex:1 1 100%;gap:10px;flex-wrap:wrap}
body[data-menu-style=panels] .main-nav .nav-item{background:#ffffff12;border:1px solid #ffffff38;border-radius:9px;flex:1 1 auto}
body[data-menu-style=panels] .main-nav .nav-item>a{padding:16px 18px;border-radius:8px}
body[data-menu-style=panels] .main-nav .nav-inner form{flex:1 1 100%;max-width:none;border-radius:10px;background:#ffffff18}
body[data-menu-style=panels] .main-nav .nav-inner form button{border-radius:7px}
body:is([data-menu-style=underline],[data-menu-style=pills]) .main-nav a:focus-visible,body:is([data-menu-style=underline],[data-menu-style=pills]) .main-nav button:focus-visible{outline-color:var(--primary)}
/* Header formats keep logo and all existing quick links. */
body[data-header-style=compact] .logo-inner{min-height:112px;padding-block:22px;gap:24px}
body[data-header-style=compact] .main-logo img{max-width:210px;max-height:85px;object-fit:contain}
body[data-header-style=compact] .header-links{gap:var(--header-link-gap);flex-wrap:wrap}
body[data-header-style=compact] .header-links>a{flex-direction:row;align-items:center;gap:9px;padding:10px 8px;min-height:0;width:auto;max-width:230px;--header-hover-extra:0px}
body[data-header-style=compact] .header-icon-box{width:46px;height:46px;flex:none;padding:8px;border-radius:50%}
body[data-header-style=compact] .header-icon-box svg{width:27px;height:27px}
body[data-header-style=compact] .header-icon-title{text-align:left;max-width:150px}
body[data-header-style=centered] .logo-inner{flex-direction:column;align-items:center;justify-content:center;gap:26px;padding-block:35px}
body[data-header-style=centered] .main-logo img{max-width:290px;max-height:140px;object-fit:contain}
body[data-header-style=centered] .header-links{justify-content:center;width:100%;flex-wrap:wrap;gap:var(--header-link-gap)}
body[data-header-style=split] .logo-inner{gap:35px;padding-block:30px}
body[data-header-style=split] .main-logo{flex:0 1 30%}
body[data-header-style=split] .main-logo img{width:100%;max-width:290px;max-height:160px;object-fit:contain}
body[data-header-style=split] .header-links{flex:1;display:flex;justify-content:flex-end;flex-wrap:wrap;padding:22px;border:1px solid #ffffff65;border-radius:22px;background:#ffffff38;backdrop-filter:blur(5px);gap:var(--header-link-gap)}
/* Footer formats reuse every contact, social network and access link. */
body[data-footer-style=columns] .footer-designed .footer-main{align-items:start;gap:38px;padding-block:calc(var(--footer-content-padding) + 10px)}
body[data-footer-style=columns] .footer-designed .footer-information{gap:30px}
body[data-footer-style=columns] .footer-information>section{border-left:1px solid color-mix(in srgb,var(--footer-text) 25%,transparent);padding-left:24px}
body[data-footer-style=columns] .footer-information h2{border-bottom:2px solid var(--footer-line);padding-bottom:13px;margin-bottom:18px}
body[data-footer-style=columns] .footer-designed .footer-brand{border:0!important}
body[data-footer-style=centered] .footer-designed .footer-main{display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
body[data-footer-style=centered] .footer-designed .footer-brand{width:100%;display:flex;justify-content:center;border:0!important;padding-bottom:0}
body[data-footer-style=centered] .footer-designed .footer-information{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
body[data-footer-style=centered] .footer-designed .footer-info-row{justify-content:center}
body[data-footer-style=centered] .footer-designed .footer-access a{justify-content:center}
body[data-footer-style=centered] .footer-designed .footer-bottom{justify-content:center;gap:14px;text-align:center;flex-wrap:wrap}
body[data-footer-style=minimal] .footer-designed{border-top:1px solid color-mix(in srgb,var(--footer-text) 18%,transparent)}
body[data-footer-style=minimal] .footer-designed .footer-main{gap:24px;padding-block:var(--footer-content-padding)}
body[data-footer-style=minimal] .footer-designed .footer-brand{padding:0;border:0!important;align-self:start}
body[data-footer-style=minimal] .footer-designed .footer-brand img{max-width:min(var(--footer-logo-width),140px)}
body[data-footer-style=minimal] .footer-designed .footer-information{gap:22px}
body[data-footer-style=minimal] .footer-designed h2{font-size:var(--footer-heading-size);font-weight:600;margin-bottom:10px}
body[data-footer-style=minimal] .footer-designed .footer-social-band,body[data-footer-style=minimal] .footer-designed .footer-credit-band{background:transparent;border-top:1px solid color-mix(in srgb,var(--footer-text) 15%,transparent)}
body[data-footer-style=minimal] .footer-designed .social-links{padding-block:12px}
/* News formats affect lists, including cards appended by Load more. Featured slides retain their controls. */
body[data-news-style=editorial] .news-grid .news-card{border:0;border-radius:0;box-shadow:none;background:transparent;border-bottom:1px solid #d8e2db;padding-bottom:18px;overflow:visible}
body[data-news-style=editorial] .news-grid .news-card img{border-radius:8px;aspect-ratio:16/10;object-fit:cover}
body[data-news-style=editorial] .news-grid .news-caption{padding:17px 0 0!important}
body[data-news-style=editorial] .news-grid .news-caption h3{font-family:Georgia,serif;font-size:1.35rem;line-height:1.4;font-weight:650}
body[data-news-style=editorial] .section-heading h2{font-family:Georgia,serif;font-weight:600}
body[data-news-style=editorial] .section-heading h2::before{background:var(--accent)}
body[data-news-style=mosaic] .news-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
body[data-news-style=mosaic] .news-grid .news-card{border-radius:18px;overflow:hidden;position:relative;display:flex;flex-direction:column;background:#fff}
body[data-news-style=mosaic] .news-grid .news-card:first-child{grid-column:span 2;grid-row:span 2}
body[data-news-style=mosaic] .news-grid .news-card:first-child{height:100%;display:flex;flex-direction:column}
body[data-news-style=mosaic] .news-grid .news-card:first-child img{width:100%;height:100%;min-height:360px;max-height:600px;object-fit:cover;flex:1}
body[data-news-style=mosaic] .news-grid .news-card:first-child .news-caption{padding:26px}
body[data-news-style=mosaic] .news-grid .news-card:first-child h3{font-size:1.65rem;line-height:1.35}
body[data-news-style=list] .news-grid{display:grid;grid-template-columns:1fr;gap:18px}
body[data-news-style=list] .news-grid .news-card{border:1px solid #dde6df;border-radius:16px;box-shadow:none;background:#fff;overflow:hidden;min-width:0}
body[data-news-style=list] .news-grid .news-card{display:grid;grid-template-columns:minmax(180px,28%) minmax(0,1fr);align-items:stretch;min-height:170px}
body[data-news-style=list] .news-grid .news-card img{height:100%;width:100%;aspect-ratio:16/10;min-height:170px;object-fit:cover}
body[data-news-style=list] .news-grid .news-caption{position:static;padding:24px!important;display:flex;flex-direction:column;justify-content:center;min-width:0}
body[data-news-style=list] .news-grid .news-caption h3{font-size:1.25rem;line-height:1.45}
/* Service link formats keep the configured icon, text and box colors. */
body[data-quick-style=outline] .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body[data-quick-style=outline] .quick-grid>a{display:flex;flex-direction:row;justify-content:flex-start;text-align:left;gap:18px;border:1px solid var(--quick-icon);border-radius:var(--quick-radius);background:var(--quick-box);padding:24px;min-height:100px;box-shadow:none;transform:none}
body[data-quick-style=outline] .quick-grid>a svg,body[data-quick-style=outline] .quick-grid>a img{width:42px;height:42px;flex:none;object-fit:contain}
body[data-quick-style=outline] .quick-grid>a span{font-size:1rem;line-height:1.5;overflow-wrap:normal;word-break:normal}
body[data-quick-style=circles] .quick-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px}
body[data-quick-style=circles] .quick-grid>a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:transparent;box-shadow:none;border:0;border-radius:0;padding:10px 8px;gap:14px;min-height:0}
body[data-quick-style=circles] .quick-grid>a>svg,body[data-quick-style=circles] .quick-grid>a>img{box-sizing:content-box;width:38px;height:38px;padding:22px;border:1px solid color-mix(in srgb,var(--quick-icon) 55%,transparent);border-radius:50%;background:var(--quick-box);object-fit:contain;color:var(--quick-icon);flex:none}
body[data-quick-style=circles] .quick-grid>a span{font-size:.95rem;line-height:1.45;color:var(--quick-text);max-width:190px;overflow-wrap:normal;word-break:normal}
body[data-quick-style=list] .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
body[data-quick-style=list] .quick-grid>a{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:15px;text-align:left;min-height:80px;border-radius:12px;background:var(--quick-box);border:1px solid color-mix(in srgb,var(--quick-icon) 25%,transparent);padding:20px 24px;box-shadow:none}
body[data-quick-style=list] .quick-grid>a>svg,body[data-quick-style=list] .quick-grid>a>img{width:32px;height:32px;flex:none;object-fit:contain}
body[data-quick-style=list] .quick-grid>a span{font-size:1rem;line-height:1.5;overflow-wrap:normal;word-break:normal}
body[data-quick-style=list] .quick-grid>a::after{content:'›';margin-left:auto;font-size:24px;color:var(--quick-icon);border:0;background:none;position:static;width:auto;height:auto;transform:none}
body:not([data-quick-style=current]) .quick-grid>a:hover,body:not([data-quick-style=current]) .quick-grid>a:focus-visible{outline:2px solid var(--quick-icon);outline-offset:3px}
@media(min-width:761px){body[data-menu-style=panels] .nav-submenu{min-width:260px}body[data-header-style=compact] .header-links>a:hover,body[data-header-style=compact] .header-links>a:focus-visible{padding:10px 8px!important;transform:translateY(-2px)}}
@media(max-width:1000px){body[data-quick-style=circles] .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-quick-style=outline] .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-header-style=split] .logo-inner{gap:20px}body[data-header-style=split] .header-links{padding:15px}}
@media(max-width:760px){
 body:is([data-menu-style=underline],[data-menu-style=pills],[data-menu-style=panels]) .main-nav .nav-links{gap:8px;width:100%;flex-basis:100%}
 body:is([data-menu-style=underline],[data-menu-style=pills],[data-menu-style=panels]) .main-nav .nav-item{width:100%;flex:1 1 100%}
 body:is([data-menu-style=underline],[data-menu-style=pills],[data-menu-style=panels]) .main-nav .nav-item>a{padding:13px 15px}
 body[data-menu-style=panels] .main-nav .nav-inner form{min-width:0}
 body[data-header-style=compact] .logo-inner{gap:15px;padding-block:20px}
 body[data-header-style=compact] .header-links{justify-content:center;gap:8px}
 body[data-header-style=compact] .header-links>a{padding:8px!important;max-width:100%;flex:0 1 auto}
 body[data-header-style=compact] .header-icon-title{max-width:170px}
 body[data-header-style=centered] .logo-inner{gap:20px;padding-block:25px}
 body[data-header-style=centered] .main-logo img{max-width:230px}
 body[data-header-style=split] .logo-inner{flex-direction:column;align-items:center;padding-block:24px}
 body[data-header-style=split] .main-logo{flex:auto;max-width:240px}
 body[data-header-style=split] .header-links{width:100%;justify-content:center;padding:16px 8px;box-sizing:border-box}
 body[data-footer-style=columns] .footer-designed .footer-main{gap:25px}
 body[data-footer-style=columns] .footer-designed .footer-information,body[data-footer-style=centered] .footer-designed .footer-information{grid-template-columns:1fr;gap:24px}
 body[data-footer-style=centered] .footer-designed .footer-info-row{justify-content:center}
 body[data-footer-style=minimal] .footer-designed .footer-main{flex-direction:column;gap:22px}
 body[data-footer-style=minimal] .footer-designed .footer-information{grid-template-columns:1fr;gap:20px}
 body[data-news-style=mosaic] .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-news-style=mosaic] .news-grid .news-card:first-child{grid-column:1/-1;grid-row:auto}
 body[data-news-style=mosaic] .news-grid .news-card:first-child img{min-height:210px;max-height:320px}
 body[data-news-style=mosaic] .news-grid .news-card:first-child h3{font-size:1.35rem}
 body[data-news-style=list] .news-grid .news-card{grid-template-columns:110px minmax(0,1fr);min-height:130px}
 body[data-news-style=list] .news-grid .news-card img{min-height:130px}
 body[data-news-style=list] .news-grid .news-caption{padding:14px!important}
 body[data-news-style=list] .news-grid .news-caption h3{font-size:1rem}
 body[data-quick-style=outline] .quick-grid,body[data-quick-style=list] .quick-grid{grid-template-columns:1fr;gap:12px}
 body[data-quick-style=circles] .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 body[data-quick-style=circles] .quick-grid>a>svg,body[data-quick-style=circles] .quick-grid>a>img{width:32px;height:32px;padding:18px}
}
@media(max-width:420px){body[data-news-style=mosaic] .news-grid{grid-template-columns:1fr}body[data-quick-style=outline] .quick-grid>a{padding:20px}}
@media(prefers-reduced-motion:reduce){body:not([data-menu-style=current]) .main-nav *,body:not([data-header-style=current]) .header-links>a,body:not([data-quick-style=current]) .quick-grid>a{transition:none!important;animation:none!important}}

body:not([data-header-style=current]) .logo-block .header-links>a{transform:none!important}
body:not([data-header-style=current]) .logo-block .header-links>a::before{display:none}
body:not([data-header-style=current]) .logo-block .header-links>a:hover,body:not([data-header-style=current]) .logo-block .header-links>a:focus-visible{background:#ffffff80;border-radius:12px}
body[data-header-style=compact] .logo-block .header-links>a{flex:0 1 auto;width:auto}
body[data-header-style=centered] .logo-inner>.main-logo{flex:0 0 auto;width:auto;max-width:100%;margin-inline:auto}
body[data-header-style=centered] .logo-block .logo-inner .header-links{flex:0 0 auto;width:100%;max-width:100%;margin-inline:auto;justify-content:center;box-sizing:border-box}
@media(min-width:761px){
 .main-nav .nav-inner{flex-wrap:wrap}
 .main-nav .nav-links{flex:1 1 max-content;min-width:0;max-width:100%}
 .main-nav .nav-item>a{white-space:nowrap;word-break:normal;overflow-wrap:normal}
 .main-nav .nav-inner form{flex:0 1 260px;margin-left:auto}
}
/* Layout 1: one desktop row; compact navigation before links can overflow. */
@media(min-width:1361px){
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-inner{display:flex;flex-wrap:nowrap;width:min(1200px,calc(100% - 48px));max-width:1200px;margin-inline:auto;justify-content:space-between;gap:12px;min-height:72px}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-links{display:flex;flex:1 1 auto;flex-wrap:nowrap;width:auto;min-width:0;max-width:none;gap:clamp(2px,.25vw,4px);align-items:center}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item{flex:0 0 auto;min-width:0;max-width:none}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item>a{white-space:nowrap;word-break:normal;overflow-wrap:normal;padding:11px 6px}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .submenu-toggle{width:30px;height:34px;padding:5px;flex:none}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-inner form{flex:0 1 220px;min-width:160px;max-width:220px;width:clamp(160px,16vw,220px);margin:0}
}
@media(min-width:761px) and (max-width:1360px){
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-inner{display:flex;flex-wrap:wrap;gap:10px;min-height:70px}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .mobile-navigation{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:9px 12px;border:1px solid #ffffff38;border-radius:12px;white-space:nowrap}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-links{display:none;order:3;flex:1 0 100%;width:100%;max-width:100%;min-width:0;flex-direction:column;align-items:stretch;gap:6px}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav.open .nav-links{display:flex}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item{width:100%;min-width:0;flex-wrap:wrap;justify-content:space-between}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item>a{flex:1;white-space:normal;word-break:normal;overflow-wrap:normal}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-inner form{flex:0 1 280px;min-width:0;max-width:280px;width:280px;margin-left:auto}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-submenu{display:none;position:static;width:100%;min-width:0;max-width:none;box-shadow:none;opacity:1;visibility:visible;transform:none;margin:0 6px 6px}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-submenu::before{display:none}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item:not(.submenu-open):is(:hover,:focus-within) .nav-submenu{display:none}
 body[data-site-layout=layout1]:not([data-menu-style=panels]) .main-nav .nav-item.submenu-open .nav-submenu{display:flex}
}

body:is([data-menu-style=underline],[data-menu-style=pills]) .main-nav .nav-inner input::placeholder{color:#52695c;opacity:1}
body[data-news-style=mosaic] .news-grid .news-card:first-child{position:relative;min-height:500px;height:100%;justify-content:flex-end;padding-top:230px;background:#17382d;color:white}
body[data-news-style=mosaic] .news-grid .news-card:first-child img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover}
body[data-news-style=mosaic] .news-grid .news-card:first-child .news-caption{position:relative;z-index:1;flex:0 0 auto;margin-top:auto;padding:70px 28px 28px!important;background:linear-gradient(transparent,#08271ae8);color:white}
body[data-news-style=mosaic] .news-grid .news-card:first-child h3,body[data-news-style=mosaic] .news-grid .news-card:first-child time{color:white}
@media(max-width:760px){body[data-news-style=mosaic] .news-grid .news-card:first-child{min-height:300px;padding-top:130px}body[data-news-style=mosaic] .news-grid .news-card:first-child img{min-height:0;max-height:none}body[data-news-style=mosaic] .news-grid .news-card:first-child .news-caption{padding:55px 20px 20px!important}}
body.contrast-light[data-news-style=mosaic] .news-grid .news-card:first-child .news-caption{background:#fff!important;color:#000!important}
body.contrast-light[data-news-style=mosaic] .news-grid .news-card:first-child :is(h3,time){color:#000!important}
body.high-contrast[data-news-style=mosaic] .news-grid .news-card:first-child .news-caption{background:#000!important;color:#fff!important}
body.high-contrast[data-news-style=mosaic] .news-grid .news-card:first-child :is(h3,time){color:#fff!important}
