/**
 * Article Shell - Runfish Apparel
 * Base layout for blog/article pages
 */

.article-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.article-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #333333;
}

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

.article-content a {
    color: #3A7B9E;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #0F2E44;
}

/* Hero Section */
.blog-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 4rem 1.5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 46, 68, 0.82) 0%, rgba(58, 123, 158, 0.72) 100%);
    z-index: 1;
}

.blog-hero > * {
    position: relative;
    z-index: 2;
}

.blog-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.25rem;
    text-align: center;
    color: #fff;
}

.blog-hero .lead,
.blog-hero .blog-hero-subtitle {
    font-size: 1.125rem;
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

/* Meta items */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit;
}

.blog-meta-item i,
.blog-meta-item svg {
    opacity: 0.85;
}

/* Category badge */
.blog-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #FFAA47;
    color: #0F2E44;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-decoration: none;
}

.blog-category-badge:hover {
    background: #e89a3a;
    color: #0F2E44;
}

@media (max-width: 768px) {
    .article-page {
        padding: 1rem 0.75rem 3rem;
    }
    .blog-hero {
        min-height: 320px;
        padding: 3rem 1rem;
    }
    .article-content {
        font-size: 1rem;
    }
}
