/* ══════════════════════════════════════════════════════════════
   BLOG PAGE — from blog.html
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.ph-left { background: var(--accent); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ph-left::before { content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); }
.ph-left::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.05); }
.ph-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.ph-eyebrow::before { content: ''; width: 28px; height: 2px; background: rgba(255,255,255,.35); }
.ph-left h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px,4.5vw,66px); font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 24px; letter-spacing: -.5px; position: relative; z-index: 1; }
.ph-left h1 i { font-style: italic; color: rgba(255,255,255,.6); }
.ph-desc { font-size: 15.5px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.65); max-width: 460px; position: relative; z-index: 1; }
.ph-right { position: relative; overflow: hidden; }
.ph-right img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s ease; }
.ph-right:hover img { transform: scale(1.04); }
.ph-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right,rgba(27,79,114,.3) 0%,transparent 60%); }

/* ── CATEGORY PILLS ── */
.cat-bar { padding: 28px 64px; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; overflow-x: auto; }
.cat-pill { padding: 9px 20px; font-size: 12.5px; font-weight: 500; border: 1.5px solid var(--line); color: var(--mid); background: transparent; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: .3px; white-space: nowrap; transition: all .2s; }
.cat-pill:hover { border-color: var(--accent2); color: var(--accent); }
.cat-pill.on { background: var(--accent); color: white; border-color: var(--accent); }

/* ── MAIN LAYOUT ── */
.blog-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 0; align-items: start; }

/* ── ARTICLES AREA ── */
.articles-area { padding: 56px 48px 80px 64px; border-right: 1px solid var(--line); }
.articles-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.articles-count { font-size: 13px; color: var(--muted); }
.articles-count strong { color: var(--ink); }
.sort-select { padding: 8px 14px; font-size: 13px; font-family: 'Outfit', sans-serif; color: var(--mid); border: 1.5px solid var(--line); background: white; cursor: pointer; outline: none; }
.sort-select:focus { border-color: var(--accent2); }

/* FEATURED ARTICLE */
.article-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); overflow: hidden; margin-bottom: 32px; cursor: pointer; transition: all .3s; }
.article-featured:hover { border-color: #b0c4d8; box-shadow: 0 12px 40px rgba(27,79,114,.09); }
.af-img { position: relative; overflow: hidden; height: 340px; }
.af-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.article-featured:hover .af-img img { transform: scale(1.04); }
.af-badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: white; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; }
.af-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.af-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.af-title { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--ink); margin-bottom: 14px; }
.af-excerpt { font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--mid); margin-bottom: 28px; }
.af-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.af-author { display: flex; align-items: center; gap: 8px; }
.af-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; }
.af-read { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: .5px; }

/* ARTICLE GRID */
.articles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-bottom: 32px; }
.article-card { border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: all .3s; background: var(--white); }
.article-card:hover { border-color: #b0c4d8; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(27,79,114,.09); }
.ac-img { position: relative; overflow: hidden; height: 200px; background: var(--bg); }
.ac-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.article-card:hover .ac-img img { transform: scale(1.05); }
.ac-cat-tag { position: absolute; bottom: 12px; left: 12px; background: white; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; color: var(--accent); border: 1px solid var(--line); }
.ac-body { padding: 22px 22px 20px; }
.ac-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
.ac-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--ink); margin-bottom: 10px; }
.ac-excerpt { font-size: 13.5px; font-weight: 300; line-height: 1.75; color: var(--mid); margin-bottom: 18px; }
.ac-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.ac-date { font-size: 11.5px; color: var(--muted); }
.ac-read { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .5px; }

/* ARTICLE LIST */
.article-list-item { display: grid; grid-template-columns: 120px 1fr; gap: 0; border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: all .3s; background: var(--white); }
.article-list-item:hover { border-color: #b0c4d8; box-shadow: 0 4px 20px rgba(27,79,114,.07); }
.ali-img { overflow: hidden; }
.ali-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.article-list-item:hover .ali-img img { transform: scale(1.06); }
.ali-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.ali-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 6px; }
.ali-title { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.ali-meta { font-size: 11.5px; color: var(--muted); }
.articles-list-section { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.articles-list-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }

/* PAGINATION */
.pagination { display: flex; align-items: center; gap: 4px; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 500; border: 1.5px solid var(--line); color: var(--mid); cursor: pointer; transition: all .2s; font-family: 'Outfit', sans-serif; }
.page-btn:hover { border-color: var(--accent2); color: var(--accent); }
.page-btn.on { background: var(--accent); color: white; border-color: var(--accent); }
.page-btn.arr { font-size: 16px; }

/* ── SIDEBAR ── */
.sidebar { padding: 56px 40px 80px 40px; position: sticky; top: 72px; }
.sb-block { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.sb-block:last-child { border-bottom: none; }
.sb-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }

/* Search */
.sb-search { display: flex; border: 1.5px solid var(--line); overflow: hidden; }
.sb-search input { flex: 1; padding: 11px 16px; font-size: 13.5px; font-family: 'Outfit', sans-serif; border: none; outline: none; color: var(--ink); background: white; }
.sb-search input::placeholder { color: var(--muted); }
.sb-search button { padding: 0 18px; background: var(--accent); color: white; border: none; font-size: 16px; cursor: pointer; transition: background .2s; }
.sb-search button:hover { background: #154360; }

/* Categories sidebar */
.sb-cats { display: flex; flex-direction: column; gap: 2px; }
.sb-cat { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.sb-cat:hover { background: var(--tag); border-color: var(--accent2); }
.sb-cat.on { background: var(--accent); border-color: var(--accent); }
.sb-cat.on .sbc-name, .sb-cat.on .sbc-count { color: white; }
.sbc-name { font-size: 13.5px; font-weight: 500; color: var(--slate); }
.sbc-count { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Popular posts */
.pop-post { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pop-post:last-child { border-bottom: none; }
.pop-post:hover .pp-title { color: var(--accent); }
.pp-img { width: 64px; height: 64px; overflow: hidden; flex-shrink: 0; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-cat { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent2); margin-bottom: 4px; }
.pp-title { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--ink); transition: color .2s; margin-bottom: 4px; }
.pp-date { font-size: 11.5px; color: var(--muted); }

/* Tags cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { padding: 6px 14px; font-size: 12px; font-weight: 500; background: var(--bg); border: 1px solid var(--line); color: var(--mid); cursor: pointer; transition: all .2s; letter-spacing: .2px; }
.tag-item:hover { background: var(--tag); border-color: var(--accent2); color: var(--accent); }

/* Newsletter */
.sb-newsletter { background: var(--accent); padding: 28px 24px; }
.sbn-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: white; margin-bottom: 10px; line-height: 1.2; }
.sbn-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 20px; }
.sbn-input { width: 100%; padding: 11px 14px; font-size: 13.5px; font-family: 'Outfit', sans-serif; border: 1px solid rgba(255,255,255,.2); outline: none; background: rgba(255,255,255,.12); color: white; margin-bottom: 8px; }
.sbn-input::placeholder { color: rgba(255,255,255,.45); }
.sbn-btn { width: 100%; padding: 12px; font-size: 13px; font-weight: 600; background: white; color: var(--accent); border: none; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; }
.sbn-btn:hover { background: var(--bg); }

/* ── CTA ── */
.cta-sec { background: var(--accent); padding: 88px 64px; text-align: center; position: relative; overflow: hidden; }
.cta-sec::before { content: ''; position: absolute; left: 50%; top: -200px; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); }
.cta-sec h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px,4vw,58px); font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 18px; position: relative; z-index: 1; }
.cta-sec h2 i { font-style: italic; color: rgba(255,255,255,.6); }
.cta-sec p { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 460px; margin: 0 auto 44px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }
