/* ══════════════════════════════════════════════════
   BLOG — Listing + Post styles
   ══════════════════════════════════════════════════ */

/* ═══ BLOG POST HERO (from original blog-post.html) ═══ */
.page-hero{position:relative;height:62svh;min-height:420px;max-height:640px;display:flex;align-items:flex-end;overflow:hidden;padding:0 0 max(36px,5vh) 0}
.page-hero-img{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.05);animation:phZoom 16s ease-out forwards}
@keyframes phZoom{from{transform:scale(1.05)}to{transform:scale(1.0)}}
.page-hero-grad{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(15,25,35,.55) 0%,rgba(15,25,35,.12) 40%,rgba(15,25,35,.2) 55%,rgba(15,25,35,.88) 100%)}
.page-hero-content{position:relative;z-index:2;width:100%}
.hero-label{display:inline-flex;align-items:center;gap:12px;font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:clamp(14px,2vh,24px)}
.hero-label::before{content:'';width:32px;height:1px;background:var(--gold)}
.page-hero-content h1{font-family:'Cormorant Garamond',serif;font-size:clamp(44px,7vw,80px);font-weight:600;color:#fff;line-height:.98;margin-bottom:clamp(8px,1.5vh,16px);letter-spacing:-.5px}
.page-hero-content .hero-p{font-size:clamp(15px,1.6vw,17px);color:rgba(255,255,255,.75);max-width:640px;line-height:1.65;margin-bottom:8px}

.blog-page{margin-top:72px}
.blog-header{background:rgba(26,175,176,0.07);border-bottom:1px solid rgba(26,175,176,0.12);padding:clamp(32px,5vh,56px) 0 clamp(20px,3vh,28px)}
.blog-header-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.blog-header-text{flex:1;min-width:0}
.blog-header-text .pill{margin-bottom:6px}
.blog-header-title{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,5vw,56px);font-weight:700;color:var(--text);line-height:1.08;margin-bottom:8px}
.blog-header-title em{font-style:italic;color:var(--muted)}
.blog-header-intro{font-size:15.5px;color:var(--muted);line-height:1.6;max-width:520px}
.blog-stats{display:flex;gap:20px}
.bs-item{text-align:center}
.bs-n{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:700;color:var(--text);line-height:1}
.bs-l{font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-top:4px}

/* ═══ BLOG GRID ═══ */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;padding-bottom:24px}
.bc{background:var(--surface);border-radius:var(--r-sm);overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.04);border:1px solid var(--border);transition:all .3s;cursor:pointer;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.bc:hover{box-shadow:0 8px 28px rgba(0,0,0,.08);transform:translateY(-4px);border-color:transparent}
.bc-img{position:relative;overflow:hidden;height:200px}
.bc-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.bc:hover .bc-img img{transform:scale(1.06)}
.bc-cat{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--azure);padding:5px 12px;border-radius:50px}
.bc-body{padding:22px;flex:1;display:flex;flex-direction:column}
.bc-meta{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:12px;color:var(--muted)}
.bc-meta span{display:flex;align-items:center;gap:4px}
.bc-meta svg{width:13px;height:13px;opacity:.45}
.bc-body h3{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:700;color:var(--text);line-height:1.25;margin-bottom:10px}
.bc-body .bc-excerpt{font-size:14px;color:var(--muted);line-height:1.65;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bc-foot{padding:14px 22px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.bc-author{font-size:12px;font-weight:600;color:var(--text)}
.bc-arrow{width:30px;height:30px;border-radius:50%;background:rgba(26,175,176,.08);color:var(--azure);display:flex;align-items:center;justify-content:center;transition:all .2s}
.bc:hover .bc-arrow{background:var(--azure);color:#fff}
.bc-arrow svg{width:14px;height:14px}

/* ═══ BLOG POST ═══ */
.hero-meta{display:flex;align-items:center;gap:16px;margin-top:clamp(16px,2.5vh,24px);padding-top:clamp(12px,2vh,20px);border-top:1px solid rgba(255,255,255,.12)}
.hero-meta span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:rgba(255,255,255,.55)}
.hero-meta svg{width:14px;height:14px;opacity:.6}
.hero-meta-sep{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.2)}
.post-wrap{max-width:760px;margin:0 auto;padding:clamp(32px,5vh,56px) 24px clamp(40px,6vh,64px)}
.post-body p{font-size:16.5px;line-height:1.8;color:#374151;margin-bottom:20px}
.post-body h2{font-family:'Cormorant Garamond',serif;font-size:clamp(24px,3.5vw,32px);font-weight:700;color:var(--text);margin:36px 0 14px;line-height:1.2}
.post-body h3{font-size:18px;font-weight:700;color:var(--text);margin:28px 0 10px}
.post-body ul,.post-body ol{margin:0 0 20px 24px;font-size:16px;line-height:1.8;color:#374151}
.post-body li{margin-bottom:6px}
.post-body strong{font-weight:700;color:var(--text)}
.post-body a{color:var(--azure);text-decoration:underline;text-underline-offset:3px}
.post-body a:hover{color:var(--azure-h)}
.post-body blockquote{border-left:3px solid var(--azure);padding:14px 20px;margin:24px 0;background:rgba(26,175,176,.04);border-radius:0 8px 8px 0;font-style:italic;color:var(--muted)}
.post-back{display:flex;align-items:center;gap:20px;padding:28px 0;border-top:1px solid var(--border)}
.post-back a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--azure);text-decoration:none;transition:gap .2s}
.post-back a:hover{gap:12px}
.post-back a svg{width:16px;height:16px;transform:rotate(180deg)}
.bc-title{color:var(--text);font-weight:500;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ═══ RESPONSIVE ═══ */
@media(max-width:820px){.page-hero{height:50svh;min-height:380px;max-height:500px}.page-hero-content h1{font-size:clamp(38px,7vw,56px)}}
@media(max-width:768px){.blog-page{margin-top:64px}.blog-header-title{font-size:clamp(30px,7vw,44px)}.blog-stats{gap:16px}.bs-n{font-size:28px}.post-body p{font-size:15.5px}.post-body h2{font-size:clamp(22px,4vw,28px)}.bc-title{max-width:200px}.page-hero{height:58svh;min-height:420px;max-height:520px}.page-hero-content h1{font-size:clamp(34px,9vw,52px)}.page-hero-content .hero-p{font-size:15px;max-width:100%;margin-bottom:6px}}
@media(max-width:560px){.blog-grid{grid-template-columns:1fr}.blog-header-inner{flex-direction:column;align-items:flex-start}.post-body p{font-size:15px;line-height:1.75}.bc-title{max-width:160px;font-size:12px}.bc-in{font-size:12px}.page-hero{height:55svh;min-height:400px;max-height:500px}.page-hero-content h1{font-size:clamp(28px,8vw,40px)}.page-hero-content .hero-p{font-size:14px;line-height:1.6}}
@media(max-width:430px){.blog-header-title{font-size:clamp(26px,7.5vw,36px)}.page-hero-content h1{font-size:clamp(26px,7.5vw,36px)}}
@media(max-width:390px){.page-hero-content h1{font-size:clamp(24px,7vw,32px)}}
@media(max-height:680px) and (min-width:569px){.page-hero{padding-bottom:max(16px,2.5vh)}.hero-label{margin-bottom:8px;font-size:10px}.page-hero-content h1{font-size:clamp(26px,4.8vw,52px);margin-bottom:max(6px,1vh)}.page-hero-content .hero-p{font-size:13px;max-width:360px}}
