/* Vancouver Festivals - Blog Styles */

/* Blog-specific layout and styling */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.blog-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.blog-hero-visual {
    text-align: center;
}

.blog-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Blog Articles Grid */
.blog-articles {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    align-items: start;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: fit-content;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: none;
}

.article-image svg {
    width: 100%;
    height: 250px;
    display: block;
}

.article-card.featured .article-image svg {
    height: 100%;
    min-height: 300px;
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: #4ecdc4;
}

.article-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.read-time {
    color: #999;
    font-size: 0.9rem;
}

.read-more {
    color: #4ecdc4;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #45b7d1;
}

/* Blog Newsletter CTA */
.blog-newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.newsletter-cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Individual Article Pages */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.article-header .article-meta {
    justify-content: center;
    margin-bottom: 2rem;
}

.article-header .category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-header .date,
.article-header .read-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.article-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.article-hero-image {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-hero-image svg {
    width: 100%;
    height: 400px;
    display: block;
}

/* Article Content Layout */
.article-content {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
}

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4ecdc4;
}

.content-section h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h4 {
    color: #34495e;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: #555;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Content Cards and Highlights */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4ecdc4;
}

.highlight-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.highlight-item p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.highlight-item strong {
    color: #2c3e50;
}

/* Location and Event Cards */
.location-card,
.venue-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #4ecdc4;
}

.location-card h3,
.venue-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 0;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Tips and Information Grids */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #4ecdc4;
}

.tip-item h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.tip-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Schedule and Event Information */
.schedule-overview {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.festival-dates h3 {
    color: white;
    margin-bottom: 1rem;
}

.festival-dates p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.country-lineup {
    margin: 2rem 0;
}

.country-showcase {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4ecdc4;
}

.country-showcase h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 0;
}

.country-showcase strong {
    color: #2c3e50;
}

/* Artist and Performance Sections */
.artist-spotlight,
.artist-categories {
    margin: 2rem 0;
}

.artist-category {
    margin-bottom: 2rem;
}

.artist-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

/* Workshop and Activity Sections */
.workshop-types {
    margin: 2rem 0;
}

.workshop-types h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Viewing Locations */
.viewing-locations {
    margin: 2rem 0;
}

.location-card {
    margin-bottom: 2rem;
}

.location-card:last-child {
    margin-bottom: 0;
}

/* Photography Tips */
.photography-tips {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.photography-tips h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 0;
}

.photography-tips ul {
    margin-left: 1.5rem;
}

.photography-tips li {
    margin-bottom: 0.75rem;
}

.photography-tips strong {
    color: #2c3e50;
}

/* Preparation Sections */
.preparation-tips {
    margin: 2rem 0;
}

.prep-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prep-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 0;
}

.prep-category ul {
    margin-left: 1.5rem;
}

.prep-category li {
    margin-bottom: 0.75rem;
}

.prep-category strong {
    color: #2c3e50;
}

/* Article Conclusion */
.article-conclusion {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.article-conclusion h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.article-conclusion p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4ecdc4;
}

.fact-list {
    list-style: none;
    margin-left: 0;
}

.fact-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: #555;
}

.fact-list li:last-child {
    border-bottom: none;
}

.fact-list strong {
    color: #2c3e50;
}

.ticket-info,
.weather-info,
.transport-options {
    margin-top: 1rem;
}

.ticket-info p,
.weather-info p,
.transport-options p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

.ticket-info strong,
.weather-info strong,
.transport-options strong {
    color: #2c3e50;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-link {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid #4ecdc4;
}

.related-link:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-link h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-size: 1rem;
}

.related-link p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: block;
    padding: 0.75rem 1rem;
    background: #4ecdc4;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: #45b7d1;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.instagram {
    background: #e4405f;
}

/* Back to Blog */
.back-to-blog {
    padding: 2rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card.featured {
        grid-template-columns: 1fr;
    }
    
    .article-card.featured .article-image svg {
        height: 250px;
        min-height: auto;
    }
    
    .newsletter-cta {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-hero-image svg {
        height: 300px;
    }
    
    .article-body {
        padding: 2rem;
    }
    
    .highlight-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-body {
        padding: 1.5rem;
    }
    
    .location-card,
    .venue-card {
        padding: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Print Styles for Articles */
@media print {
    .article-header {
        background: white;
        color: black;
        padding: 2rem 0;
    }
    
    .article-header h1,
    .article-header .article-lead {
        color: black;
    }
    
    .article-content {
        background: white;
        padding: 0;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
        max-width: none;
    }
    
    .article-body {
        box-shadow: none;
        padding: 0;
    }
    
    .article-sidebar,
    .back-to-blog {
        display: none;
    }
    
    .content-section {
        break-inside: avoid;
    }
    
    .highlight-item,
    .location-card,
    .venue-card {
        break-inside: avoid;
    }
}

/* Accessibility Improvements */
.article-content .container a:focus,
.sidebar-widget a:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* Loading States for Blog */
.article-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.article-card.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #4ecdc4;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .article-body {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .content-section h2,
    .content-section h3,
    .content-section h4 {
        color: #ecf0f1;
    }
    
    .content-section p,
    .content-section li {
        color: #bdc3c7;
    }
    
    .sidebar-widget {
        background: #34495e;
        color: #ecf0f1;
    }
    
    .sidebar-widget h3 {
        color: #ecf0f1;
    }
    
    .fact-list li {
        color: #bdc3c7;
        border-bottom-color: #4a6741;
    }
    
    .related-link {
        background: #4a6741;
        color: #ecf0f1;
    }
    
    .related-link:hover {
        background: #5a7a51;
    }
}
