/* ==========================================================================
   Blog Page
   ========================================================================== */
.page-hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 2.5rem; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% 0%, rgba(59,120,196,.4), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 0.5rem 0 0.6rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 60ch; }
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,.6); display: flex; gap: 0.5rem; }
.crumbs a { color: #9dc4f0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); cursor: pointer; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .media { aspect-ratio: 16 / 9; }
.blog-card .cat-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); }
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 0.5rem; }
.blog-body p { font-size: 0.88rem; flex: 1; }
.blog-body .read { margin-top: 1rem; color: var(--navy-600); font-weight: 600; font-size: 0.88rem; display: inline-flex; gap: 0.35rem; align-items: center; }

/* Article modal */
.article-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(6,14,28,.7); display: none; overflow-y: auto; padding: 4vh 1rem; }
.article-modal.open { display: block; }
.article-inner { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.article-inner .media { aspect-ratio: 21 / 9; }
.article-content { padding: clamp(1.5rem, 4vw, 2.8rem); }
.article-content .meta { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0.5rem; }
.article-content h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.article-content h2 { font-size: 1.25rem; margin: 1.6rem 0 0.6rem; }
.article-content p { margin-bottom: 1rem; color: var(--text-soft); }
.article-content ul { margin: 0 0 1rem 1.2rem; list-style: disc; color: var(--text-soft); }
.article-content li { margin-bottom: 0.4rem; }
.article-close { position: sticky; top: 0; float: right; margin: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 1.6rem; line-height: 1; z-index: 3; }
