/* ============================================================
   BLOG LISTING PAGE STYLES
   ============================================================ */

.page-hero { padding: calc(var(--nav-h) + 80px) 0 64px; position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 40%, rgba(185,122,62,0.08) 0%, transparent 55%), radial-gradient(ellipse at 10% 20%, rgba(1,77,78,0.1) 0%, transparent 55%); pointer-events: none; }
.page-hero__label { display:flex; align-items:center; gap:16px; margin-bottom:32px; }
.page-hero__label::before { content:''; display:block; width:40px; height:1px; background:var(--amber); }
.page-hero__title { font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; max-width: 600px; margin-bottom: 24px; position: relative; z-index: 1; }
.page-hero__title span { color: var(--text-teal); }
.page-hero__sub { font-size: 1.05rem; color: var(--text-2); max-width: 480px; line-height: 1.7; position: relative; z-index: 1; }

.filter-bar { display: flex; gap: 10px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 18px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-3); background: transparent; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { color: var(--text); border-color: var(--teal-light); }
.filter-btn.active { background: var(--teal); color: var(--text); border-color: var(--teal-light); }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }

.post-featured { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; transition: border-color 0.25s, transform 0.25s; cursor: pointer; }
.post-featured:hover { border-color: var(--teal-light); transform: translateY(-3px); }
.post-featured__img { height: 260px; background: var(--bg-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; position: relative; overflow: hidden; }
.post-featured__img::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(1,77,78,0.05) 0px, rgba(1,77,78,0.05) 1px, transparent 1px, transparent 12px); }
.post-featured__img-label { position: relative; z-index: 1; font-family: monospace; font-size: 0.75rem; color: var(--text-3); text-align: center; padding: 16px; }
.post-featured__body { padding: 36px; }
.post-featured__meta { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.post-featured__title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.02em; }
.post-featured__excerpt { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.post-featured__read { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-teal); }

.post-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.post-item { background: var(--surface); padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; transition: background 0.2s; cursor: pointer; text-decoration: none; }
.post-item:hover { background: var(--bg-3); }
.post-item__tag { margin-bottom: 10px; }
.post-item__title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.post-item__excerpt { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.post-item__arrow { color: var(--text-3); padding-top: 4px; transition: transform 0.2s, color 0.2s; }
.post-item:hover .post-item__arrow { transform: translateX(4px); color: var(--text-teal); }

.blog-sidebar { position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; gap: 32px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.sidebar-card__title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.sidebar-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-topic { font-size: 0.78rem; padding: 6px 14px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-2); cursor: pointer; transition: all 0.2s; }
.sidebar-topic:hover { border-color: var(--teal-light); color: var(--text-teal); }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input { width: 100%; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-family: var(--font-body); font-size: 0.88rem; color: var(--text); outline: none; transition: border-color 0.2s; }
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input:focus { border-color: var(--teal-light); }
.newsletter-sub { font-size: 0.75rem; color: var(--text-3); line-height: 1.5; margin-top: 4px; }

.about-mini { display: flex; align-items: center; gap: 16px; }
.about-mini-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.about-mini-name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.about-mini-role { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }

/* ── Dynamic WP post thumbnail placeholder ─────────── */
.post-featured__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post-item__img { width: 80px; height: 60px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
  .post-item { grid-template-columns: 1fr; }
}
