/* Outdoor Editorial UI — Blog list pages */

.blog-hero {
    margin-top: var(--navbar-h, 76px);
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45vh;
    padding: 4rem 0 3rem;
    color: #fff;
    overflow: hidden;
    background-color: var(--brand-ink, #1e293b);
}

.blog-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero__media img,
.blog-hero__media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    z-index: 1;
}

.blog-hero__content {
    position: relative;
    z-index: 2;
}

.blog-hero__title {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    margin-bottom: 1rem;
}

.blog-hero__lead {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    margin-bottom: 0;
}

.blog-filters {
    background: var(--brand-surface, #e2e8f0);
    border-bottom: 1px solid rgba(30, 41, 59, .06);
    padding: 1rem 0;
}

.blog-intro {
    background: #fff;
}

.blog-intro__lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--brand-ink, #1e293b);
}

.blog-card {
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 41, 59, .08);
    transition: transform .2s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow .2s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(30, 41, 59, .12);
}

.blog-card__top {
    height: 5px;
    background: var(--brand-primary, #800020);
}

.blog-card__media {
    height: 200px;
    object-fit: cover;
}

.blog-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__title {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--brand-ink, #1e293b);
    margin-bottom: .5rem;
}

.blog-card__text {
    color: var(--brand-muted, #5c6570);
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card__meta {
    font-size: .85rem;
    color: var(--brand-muted, #5c6570);
}

.blog-card__btn {
    margin-top: auto;
}

.blog-featured {
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(30, 41, 59, .12);
    overflow: hidden;
}

.blog-featured__media {
    min-height: 320px;
    object-fit: cover;
}

.blog-featured__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-featured__title {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.15;
    color: var(--brand-ink, #1e293b);
    margin-bottom: 1rem;
}

.blog-featured__text {
    color: var(--brand-muted, #5c6570);
    line-height: 1.7;
    font-size: 1.05rem;
    flex-grow: 1;
}

.blog-section {
    background: var(--brand-surface, #e2e8f0);
}

.blog-pagination .page-item.active .page-link {
    background-color: var(--brand-primary, #800020);
    border-color: var(--brand-primary, #800020);
}

.blog-pagination .page-link {
    color: var(--brand-primary, #800020);
}

@media (max-width: 767.98px) {
    .blog-hero {
        min-height: 38vh;
        padding: 3rem 0 2rem;
    }

    .blog-card__media {
        height: 180px;
    }

    .blog-featured__media {
        min-height: 220px;
    }

    .blog-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-featured {
        transition: none;
    }

    .blog-card:hover,
    .blog-featured:hover {
        transform: none;
    }
}
