/* Reference-led finishing layer. Keep the approved wide photograph unchanged. */
.premium-header{height:68px;grid-template-rows:68px;border-bottom:0;background:#fbfaf7;isolation:isolate}
.premium-brand{height:85px;align-self:start;background:transparent;overflow:visible;justify-content:center;padding:0 60px 17px 26px}
.premium-brand::before{content:"";position:absolute;inset:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 85' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='n' x2='1' y2='.4'%3E%3Cstop stop-color='%23091f30'/%3E%3Cstop offset='.52' stop-color='%23041727'/%3E%3Cstop offset='1' stop-color='%231b3341'/%3E%3C/linearGradient%3E%3ClinearGradient id='g'%3E%3Cstop stop-color='%23a17a42' stop-opacity='.15'/%3E%3Cstop offset='.3' stop-color='%23ecc78d'/%3E%3Cstop offset='.8' stop-color='%23b38343'/%3E%3Cstop offset='1' stop-color='%23f3d29b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H600C574 48 532 84 470 84H0Z' fill='url(%23n)'/%3E%3Cpath d='M600 0C574 48 532 84 470 84H0' fill='none' stroke='url(%23g)' stroke-width='1.5'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.premium-brand::after{display:none}
.brand-reference-image{width:405px;height:68px;max-width:100%;object-fit:contain;filter:url(#brand-clear-background);background:none;border:0;box-shadow:none}
.header-trust{position:relative;margin-top:11px;background:linear-gradient(150deg,#0b263b,#06182a);border-color:#b28a53;box-shadow:inset 0 1px 1px rgba(237,204,156,.07);font-weight:400}
.premium-header:after{content:"";position:absolute;right:0;top:0;width:470px;height:68px;background:url('./header-curve-right.svg') center/100% 100% no-repeat;z-index:-1;pointer-events:none}
.premium-nav{height:68px;min-height:0;align-self:start;margin:0;padding:0 24px;gap:37px;font-weight:600;letter-spacing:-.1px;border-radius:0;background:transparent;border:0;box-shadow:none}
.hero-eyebrow{font-weight:600;letter-spacing:3px;color:#f3e5d0}
.hero-content h1{font-family:Georgia,"Times New Roman",serif;font-size:60px;line-height:1.02;letter-spacing:-1.8px;text-shadow:none}
.title-ivory,.title-gold{display:inline;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent;filter:drop-shadow(0 1px 1px rgba(0,7,16,.5))}
.title-ivory{background-image:linear-gradient(180deg,#fffaf2 8%,#fffdf8 34%,#ded8cf 55%,#fff9ef 73%,#eae3d7 100%)}
.title-gold{background-image:linear-gradient(180deg,#f1d9b6 4%,#edcf9e 36%,#c5a372 56%,#eed2a4 74%,#dab784 100%)}
.hero-content p{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.3;font-weight:400;color:#fffaf5;letter-spacing:-.05px;text-shadow:0 1px 2px #001022}
.hero-searchbar{width:610px;max-width:100%;height:57px;border-radius:29px;border:1px solid #f6eadb;box-shadow:0 5px 16px rgba(0,8,19,.23),inset 0 1px 1px #fff;grid-template-columns:48px minmax(0,1fr) 140px}
.search-glyph{color:#a87b43}.search-glyph svg{stroke-width:1.8}
.hero-searchbar input{font-size:13px;letter-spacing:-.08px}
.hero-searchbar button{position:relative;height:51px;margin-right:2px;border-radius:23px;border:1px solid #faf0df;color:#fffaf1;font-family:Georgia,"Times New Roman",serif;font-size:19px;letter-spacing:.05px;text-shadow:0 1px 1px rgba(66,38,13,.45);background-image:linear-gradient(180deg,rgba(255,244,218,.25),transparent 48%,rgba(26,14,3,.12)),linear-gradient(135deg,#e4c194 0%,#c19b6b 14%,#a1794d 43%,#805b34 73%,#61401e 100%);box-shadow:inset 0 0 0 1px rgba(255,250,237,.9),inset 0 2px 5px rgba(255,239,207,.23),0 1px 2px rgba(69,44,18,.2);overflow:hidden;cursor:pointer}
.hero-searchbar button:before{display:none}
.hero-searchbar button:after{content:"";position:absolute;top:3px;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,250,228,.6),transparent);pointer-events:none}
.hero-searchbar button{background-image:linear-gradient(180deg,rgba(255,245,219,.32) 0%,rgba(255,245,219,.08) 36%,rgba(72,43,15,.10) 58%,rgba(255,222,169,.13) 79%,rgba(36,19,5,.14) 100%),linear-gradient(125deg,#e5c49a 0%,#c4a073 20%,#a98152 45%,#8d663a 72%,#644320 100%)}
.hero-searchbar button:hover{filter:brightness(1.07)}
.hero-searchbar button:focus-visible{outline:2px solid #543b21;outline-offset:-5px}.hero-searchbar:focus-within{outline:2px solid #d9b77f;outline-offset:3px}
.hero-ornament-left{left:0;top:0;width:103px;height:100%;border:0;border-radius:0;background:url('./hero-ribbon-left.svg') left center/100% 100% no-repeat}
.hero-ornament-left:after{display:none}.hero-ornament-right{display:none}
.hero-proof{background:none;padding-top:14px}
.hero-proof:before{left:-220px;top:0;width:470px;height:100%;background:url('./hero-ribbon-right.svg') center/100% 100% no-repeat}
.hero-proof:after{display:none}
.hero-proof h2{font-weight:400;color:#edc898;letter-spacing:5px;line-height:1.5;background:none;border:0;box-shadow:none;outline:0}
.proof-rule{height:2px;width:43px;background:linear-gradient(90deg,#b27c38,#f0d4a0,#bf8c49);box-shadow:0 1px 2px rgba(255,214,159,.09);margin-bottom:15px}
.proof-icon{color:#e9be82}.proof-item p{font-weight:400;color:#fffaf5}.proof-item strong{font-weight:400}
.hero-script{color:#fff7eb;font-family:"Segoe Script","Brush Script MT",cursive;font-size:16px;line-height:1.1;font-weight:400;transform:rotate(-5deg);text-shadow:0 1px 2px #001022}
.category-column{background:#fff;border-radius:12px;padding:4px 8px 8px}
.category-grid{background:#fff;border:0;gap:3px;box-shadow:none;mask:none;filter:none}.category-grid>a{border:1px solid #ccd4de;border-radius:6px;background:#fff;height:86px;opacity:1;filter:none}
.category-grid>a:nth-child(4n),.category-grid>a:nth-last-child(-n+4){border:1px solid #ccd4de}
.category-grid small{color:#52647b}
.guide-card{background:linear-gradient(135deg,#fff,#fdfcfa);box-shadow:none}.guide-body h2{letter-spacing:-.35px;font-weight:700}.guide-body p{letter-spacing:-.1px}
.home-dashboard{grid-template-columns:minmax(0,58.5fr) minmax(0,41.5fr);padding-bottom:24px}
.latest-tools-row{grid-template-columns:minmax(0,1.4fr) minmax(0,.75fr);gap:28px}
.tools-panel{min-width:0;margin-right:32px;margin-bottom:12px;align-self:start;padding:10px 16px;overflow:hidden}
.latest-thumbnail{display:block;width:57px;height:40px;overflow:hidden;border-radius:3px}
.latest-item .latest-thumbnail img{display:block;width:57px;height:40px;max-width:none;transform:scale(1.6);transform-origin:center bottom;border-radius:0}
.advertising-slot{height:144px;margin-top:15px;border:1px solid #b79869;border-radius:6px;background:linear-gradient(135deg,#f9f7f2,#eeebe3);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#526174}
.advertising-slot-label{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:#987647}
.advertising-slot-copy{font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:400}
@media(max-width:980px){.home-dashboard{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){.latest-tools-row{grid-template-columns:minmax(0,1fr)}.tools-panel{margin-right:0}}
@media(max-width:1250px){.premium-brand{padding-left:12px;padding-right:48px}.brand-reference-image{width:365px}.premium-nav{gap:24px}.hero-content h1{font-size:58px}}
@media(max-width:980px){.premium-header{height:auto;grid-template-rows:72px 54px;background:#fff}.premium-brand{height:72px;padding:0 24px;justify-content:flex-start;background:#071d2f}.premium-brand:before{display:none}.premium-header:after{display:none}.brand-reference-image{width:365px;height:68px}.premium-nav{height:54px;font-weight:600;gap:24px}.hero-content h1{font-size:48px}.hero-proof:before{display:none}.hero-ornament-left{width:65px;opacity:.75}.hero-proof{padding:20px 24px}.category-column{padding:0}}
@media(max-width:680px){.brand-reference-image{width:310px;max-width:100%}.premium-brand{padding:0 16px}.hero-content h1{font-size:39px;letter-spacing:-1.1px}.hero-content p{font-size:16px}.hero-eyebrow{font-size:9px;line-height:1.6;letter-spacing:2px}.hero-searchbar{grid-template-columns:40px minmax(0,1fr) 100px;height:54px}.hero-searchbar button{height:49px;font-size:16px}.hero-searchbar input{font-size:12px}.hero-script{white-space:normal;font-size:15px}.hero-ornament-left{width:40px}.category-grid>a{height:94px}}


/* v28 — unify homepage right rail with the approved header/ribbon navy.
   Removes the visible colour change directly below the header trust badge. */
@media (min-width:981px){
  .hero-proof{
    background:#17394d!important;
  }
}


/* v57 — restore the compact approved lower homepage dashboard */
@media (min-width:981px){
  .home-dashboard{
    grid-template-columns:minmax(0,60%) minmax(0,40%) !important;
    gap:20px !important;
    min-height:0 !important;
    padding:16px 58px 18px !important;
    align-items:start !important;
  }

  .home-dashboard .guide-cards{
    gap:14px !important;
  }

  .home-dashboard .guide-image{
    height:90px !important;
  }

  .home-dashboard .guide-body{
    padding:10px 14px 10px !important;
  }

  .home-dashboard .guide-body h2{
    font-size:18px !important;
    line-height:1.05 !important;
    margin-bottom:5px !important;
  }

  .home-dashboard .guide-body p{
    font-size:12.5px !important;
    line-height:1.25 !important;
    min-height:31px !important;
    margin-bottom:5px !important;
  }

  .home-dashboard .latest-tools-row{
    grid-template-columns:minmax(0,1.55fr) minmax(245px,.85fr) !important;
    gap:18px !important;
    margin-top:12px !important;
    align-items:start !important;
  }

  .home-dashboard .tools-panel{
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:9px 14px 7px !important;
    align-self:start !important;
  }

  .home-dashboard .tools-panel a{
    grid-template-columns:22px minmax(0,1fr) 13px !important;
    min-height:29px !important;
    padding:4px 0 !important;
    line-height:1.2 !important;
  }

  .home-dashboard .tools-panel a,
  .home-dashboard .tools-panel a *{
    white-space:nowrap !important;
  }

  .home-dashboard .category-column{
    padding:2px 6px 6px !important;
    align-self:start !important;
  }

  .home-dashboard .category-head{
    padding:2px 6px 8px 4px !important;
  }

  .home-dashboard .category-grid{
    gap:3px !important;
  }

  .home-dashboard .category-grid>a{
    height:72px !important;
    min-height:72px !important;
    padding:6px 4px !important;
  }

  .home-dashboard .cat-icon{
    margin-bottom:2px !important;
  }

  .home-dashboard .cat-icon svg{
    width:22px !important;
    height:22px !important;
  }

  .home-dashboard .category-grid strong{
    font-size:10.5px !important;
  }

  .home-dashboard .category-grid small{
    font-size:9px !important;
    line-height:1.08 !important;
    margin-top:1px !important;
  }

  .home-dashboard .advertising-slot{
    height:104px !important;
    min-height:104px !important;
    margin-top:10px !important;
    gap:7px !important;
  }

  .home-dashboard .advertising-slot-copy{
    font-size:18px !important;
  }

  .editorial-promise{
    margin-top:0 !important;
  }
}

@media (min-width:981px) and (max-width:1250px){
  .home-dashboard{
    padding-left:35px !important;
    padding-right:35px !important;
  }
  .home-dashboard .guide-body h2{
    font-size:16.5px !important;
  }
  .home-dashboard .latest-tools-row{
    grid-template-columns:minmax(0,1.4fr) minmax(225px,.9fr) !important;
  }
}

