/* ===========================================================
   BLOGS PAGE
   =========================================================== */

/* ---------- HERO (mirrors home/services hero) ---------- */
.blog-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 clamp(140px,21vh,260px); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.blog-hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); overflow: hidden; }
.blog-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 16%; opacity: .95; }
.blog-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8,9,12,.84) 0%, rgba(8,9,12,.48) 32%, rgba(8,9,12,.1) 62%, rgba(8,9,12,.28) 100%), linear-gradient(180deg, rgba(8,9,12,.2) 0%, transparent 28%, rgba(8,9,12,.5) 76%, var(--bg) 100%); }
.blog-hero .wrap { position: relative; z-index: 1; width: 100%; }
.blog-hero h1 { font-family: var(--display); font-weight: 500; color: #F6F1E5; font-size: clamp(40px,7vw,94px); line-height: 1.02; letter-spacing: -.01em; margin: 18px 0 0; }
.blog-hero h1 em { font-style: italic; color: var(--gold); }
.blog-hero .lead { margin: 22px 0 0; color: rgba(246,241,229,.86); }
.blog-hero .eyebrow, .blog-hero h1, .blog-hero .lead { max-width: 54%; }
.blog-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(28px,4vh,40px); animation: heroUp 1s ease .25s backwards; }
@media (max-width: 680px){ .blog-hero-bg img { object-position: 68% 12%; opacity: .55; } .blog-hero .eyebrow, .blog-hero h1, .blog-hero .lead { max-width: 100%; } .blog-hero-cta { width: auto; max-width: 80%; gap: 10px; } .blog-hero-cta .btn { flex: 0 1 auto; justify-content: center; padding-inline: 22px; } }
@media (max-width: 420px){ .blog-hero-cta { flex-direction: column; align-items: flex-start; max-width: 74%; } .blog-hero-cta .btn { width: 100%; } }

/* ---------- FADING DECOR PATTERN (dark sections) ---------- */
.blog-featured-sec, .blog-list-sec { position: relative; overflow: hidden; }
.blog-featured-sec::before, .blog-list-sec::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(195,163,104,.08) 1px, transparent 1.4px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%); opacity: .7; }
.blog-featured-sec > .wrap, .blog-list-sec > .wrap { position: relative; z-index: 1; }

/* ---------- UNIFIED CARD HOVER ---------- */
.blog-card, .blog-featured-media { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.blog-card:hover, .blog-featured-media:hover { transform: translateY(-8px); }

/* ---------- FEATURED ---------- */
.blog-featured-sec { padding: clamp(64px,9vh,110px) 0 clamp(40px,6vh,70px); }
.blog-featured { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px,5vw,68px); align-items: center; }
.blog-featured-media { position: relative; isolation: isolate; cursor: pointer; }
.blog-featured-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 5px; box-shadow: var(--shadow); position: relative; z-index: 1; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.blog-featured-media:hover img { transform: scale(1.03); }
.blog-featured-media .frameline { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 5px; z-index: 0; }
.blog-featured-media .feat-flag { position: absolute; left: 18px; top: 18px; z-index: 2; background: var(--gold); color: #14110a; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; border-radius: 3px; }
.blog-featured-copy .blog-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.blog-cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.blog-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); }
.blog-time { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .04em; }
.blog-author { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-mute); }
.blog-author .au-badge { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.blog-author strong { color: var(--ink-soft); font-weight: 500; }
.blog-featured-copy h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px,3.8vw,52px); line-height: 1.06; letter-spacing: -.01em; margin: 0; }
.blog-featured-copy h2 a { transition: color .3s; }
.blog-featured-copy h2 a:hover { color: var(--gold); }
.blog-featured-copy p { color: var(--ink-soft); font-weight: 300; font-size: 16.5px; line-height: 1.75; margin: 22px 0 0; max-width: 52ch; }
.blog-readmore { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); cursor: pointer; background: none; border: 0; padding: 0; transition: gap .35s; }
.blog-readmore:hover { gap: 16px; }
@media (max-width: 880px){ .blog-featured { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- GRID ---------- */
.blog-list-sec { padding: clamp(40px,6vh,70px) 0 clamp(80px,11vh,130px); }
.blog-list-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.blog-list-head h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0; }
.blog-list-head .rule { flex: 1; height: 1px; background: var(--line-soft); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; cursor: pointer; }
.blog-card-media { position: relative; border-radius: 5px; overflow: hidden; }
.blog-card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.blog-card:hover .blog-card-media img { transform: scale(1.06); }
.blog-card-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0); transition: box-shadow .4s; }
.blog-card:hover .blog-card-media::after { box-shadow: inset 0 0 0 1px var(--gold), 0 0 40px -14px rgba(195,163,104,.5); }
.blog-card .blog-meta { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; }
.blog-card h3 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; margin: 0; transition: color .3s; }
.blog-card:hover h3 { color: var(--gold); }
.blog-card p { color: var(--ink-soft); font-weight: 300; font-size: 14.5px; line-height: 1.7; margin: 12px 0 0; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .blog-grid { grid-template-columns: 1fr; } }

/* ---------- NEWSLETTER CTA ---------- */
.blog-news { position: relative; padding: clamp(80px,13vh,150px) 0; overflow: hidden; background: var(--emerald); text-align: center; }
.blog-news .silk { position: absolute; inset: -10% 0; z-index: 0; opacity: .5; background: conic-gradient(from 160deg at 30% 40%, #2c3d5e, #1c2740, #11192b, #25324c, #2c3d5e); filter: blur(2px); }
.blog-news .gold-wash { position: absolute; right: -5%; bottom: -20%; width: 60%; height: 120%; z-index: 0; opacity: .5; background: radial-gradient(circle at 60% 50%, rgba(220,194,137,.55), transparent 60%); }
.blog-news .wrap { position: relative; z-index: 1; }
.blog-news h2 { font-family: var(--display); font-weight: 500; color: #F6F1E5; font-size: clamp(30px,4.6vw,60px); line-height: 1.08; margin: 0 auto; max-width: 18ch; }
.blog-news h2 em { font-style: italic; color: var(--gold-soft); }
.blog-news p { color: rgba(246,241,229,.82); font-weight: 300; font-size: clamp(16px,1.6vw,18px); margin: 20px auto 0; max-width: 50ch; }
.blog-news-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- READING MODAL ---------- */
.read-modal { position: fixed; inset: 0; z-index: 220; display: none; }
.read-modal.open { display: block; }
.read-overlay { position: absolute; inset: 0; background: rgba(6,7,10,.8); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.read-card { position: absolute; inset: 4vh 0 0 0; max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 8px; border-top-right-radius: 8px; box-shadow: var(--shadow); overflow-y: auto; animation: readUp .5s cubic-bezier(.16,1,.3,1); }
@keyframes readUp { from { transform: translateY(40px); opacity: 0; } }
.read-close { position: sticky; top: 0; float: right; margin: 16px 18px 0 0; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(8,9,12,.6); border: 1px solid var(--line-soft); color: #F6F1E5; font-size: 26px; line-height: 1; cursor: pointer; transition: color .3s, transform .3s, background .3s; }
.read-close:hover { color: var(--gold); transform: rotate(90deg); }
.read-hero { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.read-body { padding: clamp(30px,5vw,64px); }
.read-body .blog-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.read-body h1, .read-body > h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px,4.4vw,52px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 26px; }
.read-body p { color: var(--ink-soft); font-weight: 300; font-size: 17px; line-height: 1.85; margin: 0 0 20px; }
.read-body h3 { font-family: var(--display); font-weight: 500; font-size: 26px; margin: 36px 0 14px; color: var(--ink); }
.read-body ul { margin: 0 0 20px; padding-left: 22px; color: var(--ink-soft); font-weight: 300; }
.read-body ul li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.read-body blockquote { margin: 30px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold); font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(22px,3vw,30px); line-height: 1.28; color: var(--ink); }
.read-body strong { color: var(--ink); font-weight: 500; }
.read-body .read-sign { margin-top: 36px; font-family: var(--serif-alt); font-style: italic; font-size: 24px; color: var(--gold); }
.read-body .read-foot { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
@media (max-width: 600px){ .read-card { inset: 0; border-radius: 0; } }
