/* Blog Specific Styles */

/* Blog Header */
.blog-header {
    background-color: var(--background-white);
    padding: 8rem 0 4rem;
    border-bottom: 1px solid var(--border-light);
}

.blog-header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-medium);
    align-items: center;
}

.blog-date {
    font-weight: 500;
}

.blog-category {
    background-color: var(--primary-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Image */
.blog-featured-image {
    width: 100%;
    margin-bottom: 0;
}

.featured-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
}

/* Blog Content */
.blog-content {
    background-color: var(--background-white);
    padding: 4rem 0;
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-article {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.article-intro p {
    margin-bottom: 0;
}

/* Typography */
.blog-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
}

.blog-article h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

.blog-article p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-article em {
    color: var(--primary-red);
    font-style: italic;
}

.blog-article a {
    color: var(--primary-red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-article a:hover {
    border-bottom-color: var(--primary-red);
}

/* Pullquotes */
.pullquote {
    background: linear-gradient(135deg, var(--background-light) 0%, #f8f9fa 100%);
    border-left: 4px solid var(--primary-red);
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.pullquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-red);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
}

.pullquote p {
    margin: 0;
    text-align: left;
}

/* Article Images */
.article-image-left,
.article-image-right,
.article-image-center {
    margin: 2.5rem 0;
}

.article-image-left {
    float: left;
    margin-right: 2rem;
    margin-left: -2rem;
    max-width: 200px;
}

.article-image-right {
    float: right;
    margin-left: 2rem;
    margin-right: -2rem;
    max-width: 200px;
}

.article-image-center {
    text-align: center;
    margin: 3rem auto;
    max-width: 600px;
}

.article-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
}

figcaption {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

figcaption a {
    color: var(--primary-red);
    text-decoration: none;
}

figcaption a:hover {
    text-decoration: underline;
}

/* Clear floats */
.blog-article::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 0 2rem;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .featured-img {
        height: 40vh;
    }
    
    .blog-container {
        padding: 0 1rem;
    }
    
    .blog-article {
        font-size: 1rem;
    }
    
    .article-intro {
        font-size: 1.1rem;
    }
    
    .blog-article h2 {
        font-size: 1.8rem;
        margin: 2.5rem 0 1rem 0;
    }
    
    .pullquote {
        padding: 1.5rem;
        font-size: 1.2rem;
        margin: 2rem 0;
    }
    
    .pullquote::before {
        font-size: 3rem;
        top: -0.3rem;
        left: 0.5rem;
    }
    
    .article-image-left,
    .article-image-right {
        float: none;
        margin: 2rem auto;
        max-width: 100%;
    }
    
    .article-image-center {
        max-width: 100%;
    }
    
    .blog-article p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .featured-img {
        height: 30vh;
    }
    
    .blog-article h2 {
        font-size: 1.6rem;
    }
    
    .pullquote {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .pullquote::before {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .blog-header,
    .footer {
        display: none;
    }
    
    .blog-content {
        padding: 0;
    }
    
    .blog-container {
        max-width: none;
        padding: 0;
    }
    
    .pullquote {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .article-img {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
