/* Blog Highlight Component Styles */
.blog-preview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.left-col {
    display: flex;
    flex-direction: column;
}

.right-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Image Utilities */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Editorial Card Base */
.editorial-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    /* group: hover; - not valid CSS, implied via nesting */
}

.editorial-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.editorial-card:hover .img-cover {
    transform: scale(1.05);
}

/* Featured Card (Left) */
.editorial-card.featured {
    gap: 1.5rem;
}

.editorial-card.featured .card-img-wrapper {
    aspect-ratio: 16/10;
    width: 100%;
}

.editorial-card.featured .editorial-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
    .editorial-card.featured .editorial-title {
        font-size: 1.75rem;
    }
}

/* Side Card (Right) */
.editorial-card.side {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.editorial-card.side .card-img-wrapper {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
}

.editorial-card.side .editorial-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

/* Typography & Content */
.editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-cat {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--primary-color, #d9534f);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.editorial-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s;
}

.editorial-card:hover .editorial-title {
    color: var(--primary-color, #d9534f);
}

.editorial-meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.25rem;
}

.editorial-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Trending Now Button Wrapper */
.home-blog-actions {
    text-align: center;
    margin-top: 3rem;
}

.btn-trending {
    display: inline-block;
    padding: 12px 32px;
    background-color: transparent;
    border: 2px solid var(--primary-color, #d9534f);
    color: var(--primary-color, #d9534f);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-trending:hover {
    background-color: var(--primary-color, #d9534f);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.2);
}

/* Blog Hero / Featured Article (Migrated from blog-editorial.css) */
.blog-hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.blog-hero-content {
    position: relative;
    padding: 3rem;
    color: white;
    max-width: 800px;
}

.blog-hero-category {
    display: inline-block;
    background: var(--primary-color, #d9534f);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.blog-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.blog-hero-excerpt {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================
   Article Content Styles (Migrated from blog-editorial.css)
   ========================================== */

/* Article Page Container */
.article-container {
    max-width: 750px;
    /* var(--editorial-max-width) */
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    background: var(--primary-color, #d9534f);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #d9534f);
}

.article-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #555;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 2rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.article-meta-icon {
    font-size: 1.25rem;
    color: var(--accent-color, #c0a062);
}

/* Article Content - Editorial Typography */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1a1a1a;
}

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

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #d9534f);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #d9534f);
}

/* List styles */
.article-content ul,
.article-content ol,
.about-content ul,
.about-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.article-content li,
.about-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-content ul li,
.about-content ul li {
    list-style-type: disc;
}

.article-content ol li,
.about-content ol li {
    list-style-type: decimal;
}

/* Drop cap */
.article-content>p:first-of-type::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.85;
    font-weight: 700;
    margin: 0.1rem 0.2rem 0 0;
    color: var(--primary-color, #d9534f);
    font-family: var(--font-heading, "Playfair Display", serif);
}

/* Pull quote */
.article-pullquote {
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color, #d9534f);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary-color, #d9534f);
    background: #fdfdfd;
    border-radius: 0 12px 12px 0;
}

.article-pullquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color, #d9534f);
    opacity: 0.3;
    line-height: 0;
    display: block;
    margin-bottom: 1rem;
}

/* Callout boxes */
.article-callout {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.article-callout-tip {
    background: rgba(179, 151, 131, 0.1);
    border-color: var(--accent-color, #c0a062);
}

.article-callout-warning {
    background: rgba(241, 196, 15, 0.1);
    border-color: #f1c40f;
}

.article-callout-important {
    background: rgba(179, 151, 131, 0.15);
    border-color: var(--primary-color, #d9534f);
}

.article-callout-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image captions */
.article-image-wrapper {
    margin: 2.5rem 0;
}

.article-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-image-caption {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0 1rem;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color, #d9534f), var(--accent-color, #c0a062));
    width: 0;
    transition: width 0.1s ease;
}

/* Social Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin: 3rem 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.article-share-label {
    font-weight: 600;
    color: var(--primary-color, #d9534f);
}

.article-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    color: #1a1a1a;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Newsletter Signup */
.article-newsletter {
    background: linear-gradient(135deg, var(--primary-color, #d9534f), #1a1a1a);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.article-newsletter-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.article-newsletter-text {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.article-newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.article-newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.article-newsletter-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color, #d9534f);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .article-container {
        padding: 1rem;
    }

    .article-content>p:first-of-type::first-letter {
        font-size: 3.5rem;
    }

    .article-pullquote {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .article-newsletter-form {
        flex-direction: column;
    }

    .article-share {
        flex-wrap: wrap;
        justify-content: center;
    }
}