/* Blog Page Styles */

/* Article Content Styles */
.article-body {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.article-text {
    flex: 3;
}

.article-sidebar {
    flex: 1;
}

.article-text h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.article-text h3 {
    color: var(--saffron);
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    white-space: normal;
}

.article-text .content-section p {
    margin-bottom: 15px;
}

.article-text .content-section {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-text .section-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: var(--box-shadow-sm);
    align-self: center;
}

.highlight-box {
    background-color: rgba(255, 153, 51, 0.1);
    border-left: 4px solid var(--saffron);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.quote-box {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.quote-box blockquote {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.quote-box cite {
    font-weight: 600;
    color: var(--saffron);
}

.article-text .highlight-box p {
    margin-bottom: 0;
}

.article-text .quote-box p {
    margin-bottom: 0;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/blog-banner.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-top: 80px;
}

.page-banner .banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Article Hero Section */
.article-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/blog-banner.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin-top: 80px;
}

.article-hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.article-hero-content {
    flex: 2;
    text-align: left;
}

.article-hero .article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.article-hero .category {
    background-color: var(--saffron);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-hero .date,
.article-hero .read-time {
    color: var(--light-gold);
    font-weight: 500;
}

.article-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.article-hero .article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.article-hero .article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-hero .article-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.article-hero .author-info {
    display: flex;
    flex-direction: column;
}

.article-hero .author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.article-hero .author-title {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-hero .article-image {
    flex: 1;
}

.article-hero .article-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow-lg);
}

/* Blog Categories */
.blog-categories {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--saffron-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 30px;
    color: var(--saffron);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.category-card p {
    font-size: 0.95rem;
    color: var(--text-color-light);
}

/* Featured Articles */
.featured-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.article-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.article-image {
    flex: 0 0 40%;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 0 0 60%;
    padding: 25px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.article-meta .category {
    color: var(--saffron);
    font-weight: 600;
}

.article-meta .date {
    color: var(--text-color-light);
}

.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.6;
}

.view-all-articles {
    text-align: center;
    margin-top: 50px;
}

/* Festival Calendar */
.festival-calendar {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.calendar-wrapper {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
}

.calendar-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-weight: 500;
}

.filter-group select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--body-font);
    cursor: pointer;
}

.festivals-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.festival-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-sm);
}

.festival-date {
    flex: 0 0 80px;
    height: 80px;
    background-color: var(--saffron);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.festival-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.festival-date .day {
    font-size: 1.8rem;
    font-weight: 700;
}

.festival-details {
    flex: 1;
}

.festival-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.festival-category {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.festival-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.view-all-festivals {
    text-align: center;
    margin-top: 40px;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 0;
}

.faqs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-color);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saffron);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.view-all-faqs {
    text-align: center;
    margin-top: 40px;
}

/* Inspirational Stories */
.inspirational-stories {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.story-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.story-content p {
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.6;
}

.view-all-stories {
    text-align: center;
    margin-top: 40px;
}

/* Share Your Story Section */
.share-story {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/share-story-bg.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.share-story-content {
    max-width: 700px;
    margin: 0 auto;
}

.share-story h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.share-story p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .articles-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image,
    .article-content {
        flex: 0 0 100%;
    }
    
    .article-image img {
        height: 250px;
    }
    
    .calendar-filters {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .festival-item {
        flex-direction: column;
        text-align: center;
    }
    
    .festival-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .share-story h2 {
        font-size: 2rem;
    }
}