
:root {
    --red: #c8001a;
    --red-dark: #a0001400;
    --navy: #0d1b2e;
    --navy-card: #132236;
    --white: #ffffff;
    --muted: #8fa3bc;
    /* --border: rgba(255, 255, 255, 0.07); */
    --font-display: "Poppins", sans-serif;

    --font-body: "DM Sans", sans-serif;
}

/* body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    min-height: 100vh;
  } */

/* ── HERO STRIP ── */
.hero-strip {
    background: linear-gradient(135deg, var(--red) 0%, #8b0015 100%);
    padding: 52px 5vw 44px;
    position: relative;
    overflow: hidden;
}
.hero-strip::after {
    content: '"';
    font-family: var(--font-display);
    font-size: 280px;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    right: 4vw;
    top: -40px;
    line-height: 1;
    pointer-events: none;
}
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}
.hero-strip h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    max-width: 560px;
}
.hero-strip p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.975rem;
    max-width: 480px;
    line-height: 1.65;
}

/* ── CONTROLS BAR ── */
.controls {
    background: var(--navy-card);
    border-bottom: 1px solid var(--border);
    padding: 18px 5vw;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}
.search-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.search-wrap input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}
.search-wrap input::placeholder {
    color: var(--muted);
}
.search-wrap input:focus {
    border-color: var(--red);
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pill {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    transition: all 0.2s;
    white-space: nowrap;
}
.pill:hover {
    border-color: var(--red);
    color: #fff;
}
.pill.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.sort-select {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.8rem;
    font-family: var(--font-body);
    cursor: pointer;
    outline: none;
    margin-left: auto;
}
.sort-select option {
    background: var(--navy-card);
}

/* ── GRID ── */
.grid-section {
    padding: 40px 5vw 80px;
}
.result-count {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 28px;
}
.result-count span {
    color: var(--white);
    font-weight: 600;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* ── CARD ── */
.card {
    background: var(--navy-card);
    /* border: 1px solid var(--border); */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(200, 0, 26, 0.18);
    border-color: rgba(200, 0, 26, 0.4);
}
.card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #0a1420;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.quote-mark {
    position: absolute;
    top: 14px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--red);
    line-height: 1;
    opacity: 0.9;
}
.date-badge {
    position: absolute;
    bottom: 0;
    left: 20px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    text-align: center;
    width: 52px;
    padding: 6px 0 4px;
    border-radius: 4px 4px 0 0;
    line-height: 1.2;
}
.date-badge .day {
    font-size: 1.15rem;
    display: block;
}
.date-badge .month {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
}

.card-body {
    padding: 22px 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 10px;
}
.card-excerpt {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.read-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.card:hover .read-more {
    gap: 9px;
}
.read-time {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── FEATURED CARD (first card, full-width) ── */
.card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
    max-height: 280px;
}
.card.featured .card-img-wrap {
    width: 42%;
    height: auto;
    min-height: 280px;
    flex-shrink: 0;
}
.card.featured .card-body {
    padding: 32px 32px;
    justify-content: center;
}
.card.featured .card-title {
    font-size: 1.35rem;
    margin-bottom: 14px;
}
.card.featured .card-excerpt {
    -webkit-line-clamp: 4;
}

/* ── PAGINATION ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}
.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    display: grid;
    place-items: center;
}
.page-btn:hover {
    border-color: var(--red);
    color: #fff;
}
.page-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    font-weight: 700;
}
.page-btn.arrow {
    font-size: 1rem;
}

/* ── FOOTER ── */
/* .footer {
    background: #07111d;
    border-top: 1px solid var(--border);
    padding: 24px 5vw;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
  } */

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .card.featured {
        flex-direction: column;
        max-height: none;
    }
    .card.featured .card-img-wrap {
        width: 100%;
        min-height: 200px;
    }
    nav {
        display: none;
    }
    .controls {
        gap: 10px;
    }
    .sort-select {
        margin-left: 0;
        width: 100%;
    }
}
