/* Blog-specific styles for GrassGigs */

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.category-tag {
    padding: 0.5rem 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 25px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white !important;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.category-tag.active {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white !important;
    border-color: #059669;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

/* Featured Post */
.featured-post {
    position: relative;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: white;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white !important;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-post h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.featured-post h2 a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.2s;
}

.featured-post h2 a:hover {
    opacity: 0.9;
}

.featured-post .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.875rem;
}

.featured-post .post-excerpt {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-post .read-more {
    display: inline-block;
    background: white;
    color: #059669;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.featured-post .read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-post-card:hover {
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.post-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white !important;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-post-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-card h3 a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-card h3 a:hover {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.post-date, .post-category, .post-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-excerpt {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #38bdf8 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.read-more:hover {
    color: #0ea5e9 !important;
    text-decoration: underline;
}

/* Blog Article Styles */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.2);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.article-content {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content h2 {
    color: #f8fafc;
    font-size: 1.875rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #38bdf8 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-bottom-color: #38bdf8;
    color: #0ea5e9 !important;
}

.article-content blockquote {
    border-left: 4px solid #059669;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #cbd5e1;
}

.article-content code {
    background: rgba(5, 150, 105, 0.1);
    color: #10b981;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(5, 150, 105, 0.2);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(5, 150, 105, 0.1);
    color: #10b981;
    padding: 0.375rem 0.875rem;
    border-radius: 16px;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(5, 150, 105, 0.2);
    border-color: #10b981;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 50px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white !important;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

/* Newsletter CTA */
.blog-newsletter-cta {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid rgba(5, 150, 105, 0.3);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.blog-newsletter-cta h2 {
    color: white !important;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.blog-newsletter-cta p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #059669 !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #059669 !important;
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Popular Categories */
.popular-categories {
    margin: 3rem 0;
}

.popular-categories h2 {
    color: #f8fafc;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #f8fafc;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(5, 150, 105, 0.2);
}

.related-posts h2 {
    color: #f8fafc;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .featured-post {
        padding: 1.5rem;
    }
    
    .featured-post h2 {
        font-size: 1.5rem;
    }
    
    .article-title {
        font-size: 1.875rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
}

/* Data-Forward Blog Post Styles */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(5, 150, 105, 0.2);
}

.post-header .post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.post-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.5rem;
    color: #38bdf8;
    font-weight: 600;
}

.post-content {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Data Highlight Box */
.data-highlight-box {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.data-highlight-box h2 {
    color: white !important;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.data-note {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Region Table */
.region-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.region-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.region-table thead {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
}

.region-table th {
    padding: 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.region-table td {
    padding: 1rem;
    border-top: 1px solid rgba(5, 150, 105, 0.2);
    color: #cbd5e1;
}

.region-table tr:hover {
    background: rgba(5, 150, 105, 0.1);
}

/* Process List */
.process-list {
    list-style: none;
    counter-reset: process-counter;
    padding-left: 0;
    margin: 2rem 0;
}

.process-list li {
    counter-increment: process-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.2);
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* CTA Box */
.cta-box {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    color: #f8fafc;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Band Grid */
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.band-category {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.band-category h4 {
    color: #38bdf8;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(5, 150, 105, 0.3);
}

.band-category ul {
    list-style: none;
    padding-left: 0;
}

.band-category li {
    color: #cbd5e1;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.band-category li:last-child {
    border-bottom: none;
}

/* Venue Highlights */
.venue-highlights {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.venue-highlights h4 {
    color: #38bdf8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.venue-highlights ul {
    list-style: none;
    padding-left: 0;
}

.venue-highlights li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.venue-highlights li:last-child {
    border-bottom: none;
}

/* Access Options Grid */
.access-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.access-option {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.access-option:hover {
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
}

.access-option h4 {
    color: #f8fafc;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.access-option p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.access-option a {
    color: #38bdf8 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.access-option a:hover {
    color: #0ea5e9 !important;
}

/* Citation Box */
.citation-box {
    background: rgba(5, 150, 105, 0.1);
    border-left: 4px solid #059669;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.citation-box h4 {
    color: #10b981;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.citation-box p {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

/* Trends Section */
.trends-section {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.trends-section h4 {
    color: #38bdf8;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.trends-section h4:first-child {
    margin-top: 0;
}

/* Share Section */
.share-section {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.share-section h3 {
    color: #f8fafc;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.share-section p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white !important;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
}

.share-btn.facebook {
    background: #1877F2;
    color: white !important;
}

.share-btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

/* Responsive Design for Data Post */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-subtitle {
        font-size: 1.125rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .band-grid {
        grid-template-columns: 1fr;
    }
    
    .access-options {
        grid-template-columns: 1fr;
    }
    
    .region-table {
        font-size: 0.875rem;
    }
    
    .region-table th,
    .region-table td {
        padding: 0.75rem 0.5rem;
    }
}
