.blog-page{
  --blog-navy:#071a33;
  --blog-ink:#1f1f1f;
  --blog-yellow:#f9c400;
  --blog-cream:#f8f7ec;
  --blog-soft:#efeee3;
  --blog-line:#d9d9cf;
  background:var(--blog-cream);
  color:var(--blog-ink);
}

.blog-page *{box-sizing:border-box}
.blog-shell{width:min(1200px,calc(100% - 40px));margin:0 auto}
.blog-eyebrow{display:block;color:#a87600;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}

.blog-hero{
  margin:0!important;
  padding:64px 0;
  background:var(--blog-ink);
  color:#fff;
}

.blog-hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;align-items:stretch;gap:46px}
.blog-hero-copy{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;padding:28px 0}
.blog-hero .blog-eyebrow{color:var(--blog-yellow)}
.blog-hero h1{max-width:650px;margin:15px 0 20px;color:#fff;font-size:clamp(2.65rem,5vw,4.85rem);font-weight:600;line-height:1.02;letter-spacing:-.045em}
.blog-hero h1 span{color:var(--blog-yellow)}
.blog-hero-copy p{max-width:590px;margin:0 0 28px;color:#d4d8de;font-size:1rem;line-height:1.7}
.blog-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border:1px solid transparent;border-radius:8px;font-size:.88rem;font-weight:600;transition:transform .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease}
.blog-button-yellow{border-color:#d9a900;background:var(--blog-yellow);color:var(--blog-navy)}
.blog-button-yellow:hover{border-color:#fff;background:#fff;color:var(--blog-navy);transform:translateY(-2px)}
.blog-featured{position:relative;display:block;min-height:440px;overflow:hidden;border:1px solid rgba(255,255,255,.16);color:#fff}
.blog-featured > img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.blog-featured-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,26,51,.06) 20%,rgba(7,26,51,.92) 100%)}
.blog-featured-content{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-start;flex-direction:column;padding:32px}
.blog-featured-content small{margin-bottom:9px;color:var(--blog-yellow);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.blog-featured-content strong{max-width:600px;font-size:clamp(1.6rem,3vw,2.45rem);font-weight:600;line-height:1.16}
.blog-featured-content > span{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:.82rem;font-weight:600}
.blog-featured:hover > img{transform:scale(1.035)}
.blog-featured:hover .blog-featured-content > span b{transform:translateX(4px)}
.blog-featured-content b{transition:transform .2s ease}

.blog-directory{margin:0!important;padding:82px 0 90px;background:var(--blog-cream)}
.blog-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:28px}
.blog-section-heading h2{max-width:760px;margin:8px 0 0;color:var(--blog-navy);font-size:clamp(2rem,4vw,3.35rem);font-weight:600;line-height:1.12;letter-spacing:-.035em}
.blog-section-heading > p{max-width:420px;margin:0;color:#5e6875;font-size:.92rem}
.blog-filters{display:flex;overflow-x:auto;gap:8px;margin-bottom:30px;padding-bottom:3px;scrollbar-width:thin}
.blog-filter{flex:0 0 auto;padding:9px 14px;border:1px solid var(--blog-line);border-radius:999px;background:#fff;color:var(--blog-navy);cursor:pointer;font-family:inherit;font-size:.76rem;font-weight:600;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.blog-filter:hover,.blog-filter.is-active{border-color:var(--blog-navy);background:var(--blog-navy);color:#fff}
.blog-filter:focus-visible{outline:3px solid var(--blog-yellow);outline-offset:2px}
.blog-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.blog-page .blog-card{display:flex;overflow:hidden;flex-direction:column;border:1px solid var(--blog-line)!important;border-radius:0!important;background:#fff!important;box-shadow:0 8px 24px rgba(7,26,51,.055)!important;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.blog-card[hidden]{display:none}
.blog-page .blog-card:hover{border-color:#c19a00!important;box-shadow:0 18px 38px rgba(7,26,51,.12)!important;transform:translateY(-6px)!important}
.blog-card-image{display:block;height:205px;overflow:hidden;background:var(--blog-soft)}
.blog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.blog-card:hover .blog-card-image img{transform:scale(1.045)}
.blog-card-body{display:flex;flex:1;align-items:flex-start;flex-direction:column;padding:22px}
.blog-card-meta{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.blog-card-meta span{color:#9a7000;font-size:.66rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.blog-card-meta small{color:#7b8490;font-size:.68rem}
.blog-card h3{margin:0 0 10px;color:var(--blog-navy);font-size:1.18rem;font-weight:600;line-height:1.32}
.blog-card h3 a:hover{color:#8a6500}
.blog-card p{margin:0 0 20px;color:#626d79;font-size:.82rem;line-height:1.65}
.blog-read{display:flex;width:100%;align-items:center;justify-content:space-between;margin-top:auto;padding-top:15px;border-top:1px solid var(--blog-line);color:var(--blog-navy);font-size:.76rem;font-weight:600}
.blog-read span{display:grid;width:28px;height:28px;place-items:center;background:var(--blog-yellow);transition:transform .2s ease}
.blog-card:hover .blog-read span{transform:translateX(3px)}
.blog-empty{padding:30px;border:1px solid var(--blog-line);background:#fff;color:#626d79;text-align:center}

.blog-helpful{margin:0!important;padding:72px 0;background:var(--blog-navy);color:#fff}
.blog-section-heading-light h2{color:#fff}
.blog-section-heading-light > p{color:#b9c6d5}
.blog-section-heading-light .blog-eyebrow{color:var(--blog-yellow)}
.blog-helpful-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18)}
.blog-helpful-grid a{position:relative;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:14px;min-height:118px;padding:22px;color:#fff;border-right:1px solid rgba(255,255,255,.18);transition:background-color .22s ease}
.blog-helpful-grid a:last-child{border-right:0}
.blog-helpful-grid a > span{color:var(--blog-yellow);font-size:.7rem;font-weight:700}
.blog-helpful-grid strong{font-size:.96rem;font-weight:600}
.blog-helpful-grid small{grid-column:2;color:#aebdce;font-size:.74rem}
.blog-helpful-grid b{grid-row:1/3;grid-column:3;font-weight:500;transition:transform .2s ease}
.blog-helpful-grid a:hover{background:rgba(255,255,255,.07)}
.blog-helpful-grid a:hover b{color:var(--blog-yellow);transform:translateX(4px)}

.blog-cta{margin:0!important;padding:64px 0;background:var(--blog-yellow)}
.blog-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.blog-cta h2{max-width:700px;margin:8px 0 9px;color:var(--blog-navy);font-size:clamp(2rem,4vw,3.2rem);font-weight:600;line-height:1.12;letter-spacing:-.035em}
.blog-cta p{margin:0;color:#423b24}
.blog-cta-actions{display:flex;align-items:center;flex:0 0 auto;flex-direction:column;gap:11px}
.blog-button-dark{border-color:var(--blog-navy);background:var(--blog-navy);color:#fff}
.blog-button-dark:hover{border-color:#fff;background:#fff;color:var(--blog-navy);transform:translateY(-2px)}
.blog-cta-actions > a:last-child{color:var(--blog-navy);font-size:.8rem;font-weight:600}

@media(max-width:980px){
  .blog-hero-grid{grid-template-columns:1fr;gap:30px}
  .blog-hero-copy{padding:8px 0}
  .blog-featured{min-height:390px}
  .blog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .blog-section-heading{align-items:flex-start;flex-direction:column;gap:14px}
  .blog-helpful-grid{grid-template-columns:1fr}
  .blog-helpful-grid a{border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}
  .blog-helpful-grid a:last-child{border-bottom:0}
}

@media(max-width:680px){
  .blog-shell{width:calc(100% - 28px)}
  .blog-hero{padding:46px 0}
  .blog-hero h1{font-size:clamp(2.5rem,12vw,3.65rem)}
  .blog-featured{min-height:345px}
  .blog-featured-content{padding:23px}
  .blog-directory{padding:58px 0 64px}
  .blog-card-grid{grid-template-columns:1fr}
  .blog-card-image{height:215px}
  .blog-helpful{padding:56px 0}
  .blog-cta{padding:52px 0}
  .blog-cta-inner{align-items:flex-start;flex-direction:column}
  .blog-cta-actions{width:100%;align-items:stretch}
  .blog-cta-actions .blog-button{width:100%}
  .blog-cta-actions > a:last-child{text-align:center}
}

@media(prefers-reduced-motion:reduce){
  .blog-page *,
  .blog-page *::before,
  .blog-page *::after{scroll-behavior:auto!important;transition:none!important}
}
