/* Blog Specific Styles for Assam Seva */

/* Listing Page Styles */
.blog-header {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.blog-card-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f7ff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blog-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Detail Page Styles */
.blog-post-header {
    padding: 140px 0 60px;
    background: #f8fafc;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

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

.blog-post-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 20px;
}

.post-meta {
    color: #64748b;
    font-size: 0.95rem;
}

.featured-image-container {
    max-width: 1000px;
    margin: -40px auto 60px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 2rem;
    margin: 48px 0 24px;
    color: #1e293b;
}

.article-body p {
    margin-bottom: 24px;
}

/* Carousel Styling */
.tour-carousel-section, tour-carousel {
    display: block;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.tour-carousel-section {
    padding: 80px 0;
}

tour-carousel {
    padding: 0; /* padding is handled inside the component or we can add it here */
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 300px;
    max-width: 300px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.carousel-content {
    padding: 20px;
}

.carousel-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.carousel-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Layout with Sidebar */
.blog-content-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
    margin-bottom: 80px;
}

.blog-sidebar, blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
}

.booking-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.booking-link:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
}

.booking-link i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* App Download Card */
.app-download-widget {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.app-download-widget h3 {
    color: white;
    margin-bottom: 12px;
}

.app-download-widget p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.5;
}

.app-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.google-play-btn {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .blog-content-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        order: 2;
    }
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2.2rem;
    }
    .article-body {
        font-size: 1.05rem;
        padding: 0;
    }
    .blog-header h1 {
        font-size: 2.2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
