/* =========================================================
   Executive Hunter Blog — Index / listing pages (EH brand)
   Shared by index.php, category.php, tag.php
   ========================================================= */

.blog-main {
    min-height: 70vh;
    background: #fff;
}

/* ============================================================
   HERO — editorial, cream + gold eyebrow
   ============================================================ */

.blog-hero {
    padding: 80px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(201, 168, 76, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, var(--eh-cream) 100%);
    border-bottom: 1px solid var(--blog-border);
}

.blog-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-kicker {
    display: inline-block;
    margin: 0 0 18px;
    color: var(--eh-gold);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.blog-hero h1 {
    max-width: 860px;
    margin: 0;
    font-family: var(--font-display);
    color: var(--eh-ink);
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
}

.blog-hero p {
    max-width: 780px;
    margin: 22px 0 0;
    color: var(--blog-muted);
    font-size: 18px;
    line-height: 1.7;
}

.blog-section {
    padding: 60px 0 90px;
}

/* ============================================================
   GRID
   ============================================================ */

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ============================================================
   CARD — EH style: gold top border, lift on hover, shimmer line
   ============================================================ */

.article-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--blog-border);
    border-top: 2px solid var(--eh-gold-line);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-top-color 0.35s ease;
}

/* shimmer line at the bottom, grows on hover */
.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--eh-gold), rgba(201, 168, 76, 0.2));
    transition: width 0.5s cubic-bezier(.4, 0, .2, 1);
    z-index: 2;
}

.article-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--eh-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(201, 168, 76, 0.08);
}

.article-card:hover::after {
    width: 100%;
}

.article-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--eh-cream);
}

.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.04);
}

.article-card-body {
    padding: 26px 26px 28px;
}

/* meta row: category gold + uppercase, date muted */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--blog-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.article-meta span,
.article-meta a {
    display: inline-flex;
    align-items: center;
}

.article-meta a,
.article-meta span:first-child {
    color: var(--eh-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
}

.article-meta a:hover {
    color: var(--eh-gold-hover);
}

.article-card h2 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--eh-ink);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.article-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.article-card h2 a:hover {
    color: var(--eh-gold);
}

.article-card p {
    margin: 14px 0 0;
    color: var(--blog-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* read-more link with arrow */
.read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    color: var(--eh-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.read-more::after {
    content: "\2192";
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
    padding: 56px;
    background: #ffffff;
    border: 1px solid var(--blog-border);
    border-top: 2px solid var(--eh-gold-line);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.empty-state h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    color: var(--eh-ink);
    font-size: 30px;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    color: var(--blog-muted);
    font-size: 15px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .blog-container {
        width: min(100% - 28px, 1120px);
    }

    .blog-hero {
        padding: 56px 0 44px;
    }

    .blog-hero h1 {
        font-size: 38px;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .blog-section {
        padding: 40px 0 64px;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
