/* Outdoor Editorial UI — Blog post */

.blog-post-hero {
    margin-top: var(--navbar-h, 76px);
    position: relative;
    height: 55vh;
    min-height: 320px;
    max-height: 600px;
    overflow: hidden;
    color: #fff;
    background-color: var(--brand-ink, #1e293b);
}

.blog-post-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, .35) 0%, rgba(15, 23, 42, .75) 100%);
}

.blog-post-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
}

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

.blog-post-hero__meta {
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
}

.article-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(30, 41, 59, .08);
    padding: 2rem;
}

@media (min-width: 768px) {
    .article-wrapper {
        padding: 3rem;
    }
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brand-ink, #1e293b);
    max-width: 70ch;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

.article-content .lead {
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--brand-ink, #1e293b);
    margin-bottom: 2rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--brand-primary, #800020);
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h2 {
    font-size: 1.85rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-inline-start: 1.5rem;
}

.article-content li {
    margin-bottom: .5rem;
}

.article-content blockquote {
    border-top: 3px solid var(--brand-secondary, #ff6b35);
    border-bottom: 1px solid var(--brand-surface, #e2e8f0);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--brand-muted, #5c6570);
    background: #f8fafc;
}

.article-content a {
    color: var(--brand-primary, #800020);
    text-decoration: underline;
    text-underline-offset: .15em;
}

.article-content a:hover {
    color: var(--brand-secondary, #ff6b35);
}

/* Blog CTA — soft, contextual */
.blog-cta {
    border-top: 3px solid var(--brand-secondary, #ff6b35);
    border-radius: 12px;
    background: #f8fafc;
    padding: 1.75rem;
    margin: 2.5rem 0;
}

.blog-cta__title {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--brand-ink, #1e293b);
    font-size: 1.4rem;
    margin-bottom: .25rem;
}

.blog-cta__text {
    color: var(--brand-muted, #5c6570);
    margin-bottom: 1.25rem;
}

.blog-cta__btn {
    border-radius: 8px;
    font-weight: 600;
}

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

/* Sidebar widgets */
.blog-sidebar__widget {
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 41, 59, .08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.blog-sidebar__header {
    background: var(--brand-primary, #800020);
    color: #fff;
    padding: .875rem 1.25rem;
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-weight: 600;
}

.blog-sidebar__body {
    padding: 1.25rem;
}

.blog-sidebar__link {
    display: block;
    padding: .75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--brand-ink, #1e293b);
    text-decoration: none;
}

.blog-sidebar__link:last-child {
    border-bottom: 0;
}

.blog-sidebar__link:hover {
    color: var(--brand-primary, #800020);
}

/* Card reused in related posts */
.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;
}

/* Author bio */
.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
}

.blog-author__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-primary, #800020);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .blog-post-hero {
        height: 45vh;
    }

    .article-wrapper {
        padding: 1.5rem;
    }

    .article-content {
        font-size: 1.05rem;
    }
}

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