/* Bring established public-page header variants close to the homepage black/burgundy look;
   no changes to page-specific navigation handlers or content areas. */
body:not([data-page="home"]) .site-header,
body .simple-header,
body .lp-header,
body .privacy-header,
body .catalog-header,
body .v7-consult-head,
body .top:has(.topnav){position:relative!important;top:auto!important;background:#070708!important;color:#fff!important;box-shadow:0 4px 16px rgba(10,13,18,.13)!important}
/* For site-header pages that have the same structural nav as the homepage. */
body:not([data-page="home"]) .site-header .nav-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand actions" "nav nav"!important;align-items:center!important;width:min(100%,1340px)!important;max-width:1340px!important;margin-inline:auto!important;min-height:0!important;gap:0 12px!important}
body:not([data-page="home"]) .site-header .brand{grid-area:brand!important;margin:10px 0!important}
body:not([data-page="home"]) .site-header .nav-actions{grid-area:actions!important;justify-self:end}
body:not([data-page="home"]) .site-header .main-nav{grid-area:nav!important;width:100%!important;display:flex!important;justify-content:center!important;gap:0!important;margin:0!important;background:#a51d2b!important}
body:not([data-page="home"]) .site-header .main-nav a{color:#fff!important;font-weight:850!important;text-transform:uppercase!important;padding:15px 12px!important}
body:not([data-page="home"]) .site-header .main-nav a.active{background:#7e1421!important;color:#fff!important}
body:not([data-page="home"]) .site-header .nav-wrap:after{content:"";display:block;position:absolute;z-index:-1;left:50%;bottom:0;transform:translateX(-50%);width:100vw;height:48px;background:#a51d2b;pointer-events:none}
body:not([data-page="home"]) .site-header .header-country-label{position:static!important;left:auto!important;top:auto!important;inset:auto!important;transform:none!important;display:inline!important;font-size:12px!important;color:#e8bf78!important}
body:not([data-page="home"]) .site-header .header-country-label:before{display:none!important}
body:not([data-page="home"]) .site-header .header-brand-title-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
/* Subscription page retains its own multilingual toggle and its links. */
body .lp-header .lp-brand-row{background:#070708!important}
body .lp-header .lp-nav{background:#a51d2b!important}
body .lp-header .lp-nav-inner a{color:#fff!important}
body .lp-header .lp-nav-inner a[aria-current="page"],body .lp-header .lp-nav-inner a:hover{background:#7f1522!important;color:#fff!important}
/* Home-like menu on pages previously showing only two action buttons. */
.clr-common-nav{display:block;min-height:46px;width:100%;background:#a51d2b;color:#fff}
.clr-common-nav>summary{display:none;cursor:pointer;list-style:none}
.clr-common-nav>summary::-webkit-details-marker{display:none}
.clr-common-nav nav{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;width:min(1320px,100%);margin:auto;gap:0}
.clr-common-nav nav a{display:inline-flex;align-items:center;justify-content:center;padding:14px 12px;min-height:46px;color:#fff!important;text-decoration:none!important;font:850 11px/1.3 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.025em}
.clr-common-nav nav a:hover,.clr-common-nav nav a:focus-visible{background:#7f1422;color:#fff!important}
/* Header styles shared with all secondary guide pages. */
body .top:has(.topnav){background:#070708!important}
body .top .topnav a{color:#fdf8f1!important}
body .top .topnav a:hover{color:#f6cd86!important}
@media(max-width:1100px){
 body:not([data-page="home"]) .site-header .nav-wrap{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"brand actions toggle" "nav nav nav"!important}
 body:not([data-page="home"]) .site-header .main-nav{display:none!important}
 body:not([data-page="home"]) .site-header .main-nav.open{display:flex!important;flex-direction:column;align-items:stretch}
 body:not([data-page="home"]) .site-header .main-nav a{padding:11px 13px!important}
 body:not([data-page="home"]) .site-header .nav-toggle{display:block!important;grid-area:toggle;justify-self:end;transform:none!important;position:static!important;margin:0 8px 0 0!important}
 body:not([data-page="home"]) .site-header .nav-wrap:after{display:none}
}
@media(max-width:760px){
 .clr-common-nav>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;font:850 12px system-ui,sans-serif;text-transform:uppercase;min-height:43px}
 .clr-common-nav nav{display:none;flex-direction:column;align-items:stretch;max-width:100%;padding:5px 12px 13px}
 .clr-common-nav[open] nav{display:flex}
 .clr-common-nav nav a{justify-content:flex-start;min-height:38px;padding:10px 13px}
 body:not([data-page="home"]) .site-header .header-country-label{font-size:10px!important}
 body:not([data-page="home"]) .site-header .nav-wrap{gap:5px!important}
 body:not([data-page="home"]) .site-header .nav-actions>.btn{display:none!important}
}

.clr-client-direct{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #c9a766;border-radius:7px;background:#10283f;color:#fff!important;text-decoration:none;font:800 11px/1.2 system-ui,sans-serif;white-space:nowrap}
.clr-client-direct:hover,.clr-client-direct:focus-visible{background:#214562;color:#fff!important}
@media(max-width:760px){.clr-client-direct{font-size:10px;padding:6px 8px}}

/* Five existing Diaspora guide pages match the homepage's two-row navigation. */
body .top:has(.topnav) .wrap{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;max-width:none!important;width:100%!important;padding:0!important}
body .top:has(.topnav) .brand{display:flex!important;align-items:center!important;min-height:77px;padding:12px max(22px,calc((100vw - 1280px)/2))!important;background:#070708;color:#fff!important;text-decoration:none}
body .top:has(.topnav) .topnav{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;background:#a51d2b!important;padding:0 max(8px,calc((100vw - 1310px)/2))!important;gap:0!important;width:100%!important}
body .top:has(.topnav) .topnav a{display:inline-flex;min-height:49px;align-items:center;padding:12px 13px!important;color:#fff!important;text-decoration:none;font:850 11px/1.3 system-ui,sans-serif!important;text-transform:uppercase}
body .top:has(.topnav) .topnav a:hover{background:#7f1422!important;color:#fff!important}
@media(max-width:850px){body .top:has(.topnav) .topnav{flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start!important;scrollbar-width:thin}body .top:has(.topnav) .topnav a{white-space:nowrap;font-size:10px!important}}
