/* ── BLOG PAGE HERO ── */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 5rem 5% 3.5rem;
}
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero .breadcrumb span { color: var(--yellow); }
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin: .5rem 0 1rem;
    line-height: 1.2;
}
.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    max-width: 620px;
    line-height: 1.7;
}

/* ── DATABASE POSTS SECTION ── */
.blog-section { background: var(--cream); padding: 4rem 5%; }
.blog-section .container { max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-top: .4rem; }

.db-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}
.db-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .22s, box-shadow .22s;
    display: flex;
    flex-direction: column;
}
.db-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(10,46,92,.1); }
.db-card-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--navy), var(--blue-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.db-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.db-card-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.db-card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; line-height: 1.4; flex: 1; }
.db-card-excerpt { font-size: .83rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.db-card-meta {
    font-size: .75rem;
    color: var(--muted);
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: .75rem;
    margin-top: auto;
}

/* ── LEGACY STATIC ARTICLES ── */
.articles-section { padding: 3rem 5%; background: #fff; }
.articles-section .container { max-width: 1200px; margin: 0 auto; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.article-card {
    background: var(--cream);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,46,92,.1); }
.art-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* Gradient Variants for static thumbs */
.at1 { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.at2 { background: linear-gradient(135deg, #fef9c3, #fde68a); }
.at3 { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.at4 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.at5 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.at6 { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.at-eu { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }

.art-card-body { padding: 1.1rem 1.25rem; }
.art-card-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.art-card-title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; line-height: 1.45; }
.art-card-desc { font-size: .78rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.art-card-meta { font-size: .72rem; color: var(--muted); display: flex; gap: .75rem; border-top: 1px solid var(--border); padding-top: .6rem; }

/* ── NEWSLETTER STRIP ── */
.newsletter { background: var(--navy); color: #fff; padding: 3.5rem 5%; text-align: center; }
.newsletter h2 { font-size: 1.6rem; font-weight: 800; margin: .4rem 0 .75rem; }
.newsletter p { font-size: .9rem; color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 1.5rem; }
.nl-form { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.nl-form input { padding: .75rem 1.25rem; border-radius: 50px; border: none; width: 280px; font-size: .9rem; color: var(--navy); }
.nl-form button {
    background: var(--yellow);
    color: var(--navy);
    padding: .75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: opacity .18s;
}
.nl-form button:hover { opacity: .9; }

/* ── RESPONSIVE ── */
@media(max-width: 900px) {
    .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
    .articles-grid, .db-posts-grid { grid-template-columns: 1fr; }
    .nl-form input { width: 100%; }
}