/*--------------------------------------------------------------
Modern Premium Sections v2.0
Glassmorphism Hero, Sidebar, Featured Story, Updates
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Hero Section - Glassmorphism Overlay
--------------------------------------------------------------*/

.hero-section {
    margin-bottom: 4rem;
}

.hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover .hero-image img {
    transform: scale(1.05);
}

/* Modern Glassmorphism Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(30, 41, 59, 0.6) 40%,
        rgba(15, 23, 42, 0.95) 100%
    );
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    color: white;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-title a:hover {
    opacity: 0.9;
}

.hero-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.75;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-content .card-meta {
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .hero-card {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-excerpt {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
}

/*--------------------------------------------------------------
Featured Story Section - Modern Card
--------------------------------------------------------------*/

.featured-story-section {
    margin: 4rem 0;
}

.featured-story {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-story:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.featured-story-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.featured-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-story:hover .featured-story-image img {
    transform: scale(1.08);
}

.featured-story-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-story-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: #0f172a;
}

.featured-story-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-story-title a:hover {
    color: #0ea5e9;
}

.featured-story-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .featured-story {
        grid-template-columns: 1fr;
    }
    
    .featured-story-image {
        min-height: 280px;
    }
    
    .featured-story-content {
        padding: 2rem;
    }
    
    .featured-story-title {
        font-size: 1.75rem;
    }
    
    .featured-story-excerpt {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
Latest Updates Section - Modern List
--------------------------------------------------------------*/

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(14, 165, 233, 0.3);
}

.update-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.update-item:hover .update-image img {
    transform: scale(1.1);
}

.update-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.update-title {
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.5;
    color: #0f172a;
}

.update-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.update-title a:hover {
    color: #0ea5e9;
}

.update-content .card-meta {
    margin-top: auto;
    border-top: none;
    padding-top: 0;
}

@media (max-width: 768px) {
    .update-item {
        flex-direction: column;
        padding: 1.25rem;
    }
    
    .update-image {
        width: 100%;
        height: 200px;
    }
}

/*--------------------------------------------------------------
Content Wrapper - Main + Sidebar
--------------------------------------------------------------*/

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    margin-top: 2.5rem;
}

.main-content {
    min-width: 0;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .sidebar {
        order: 2;
    }
}

/*--------------------------------------------------------------
Sidebar - Glassmorphism Widgets
--------------------------------------------------------------*/

.widget {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid #0ea5e9;
    color: #0f172a;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9 0%, transparent 100%);
}

/* Latest News Widget */
.latest-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.latest-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news-item:hover {
    transform: translateX(4px);
}

.latest-news-image {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-news-item:hover .latest-news-image img {
    transform: scale(1.1);
}

.latest-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Smaller badges in sidebar */
.latest-news-content .card-category {
    padding: 0.25rem 0.625rem;
    font-size: 0.625rem;
    border-radius: 6px;
}

.latest-news-title {
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
}

.latest-news-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-title a:hover {
    color: #0ea5e9;
}

.latest-news-date {
    font-size: 0.8125rem;
    color: #64748b;
}

/*--------------------------------------------------------------
Single Post Styles - Modern Premium
--------------------------------------------------------------*/

.single-post {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.entry-header {
    margin-bottom: 2.5rem;
}

.entry-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: #0f172a;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9375rem;
    color: #64748b;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.entry-featured-image {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 2.5rem 0;
    color: #334155;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.tags-label {
    font-weight: 600;
    color: #1e293b;
}

.tag-link {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border-radius: 9999px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.tag-link:hover {
    background: #0ea5e9;
    color: white;
    border-color: #0ea5e9;
    transform: translateY(-2px);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.share-label {
    font-weight: 600;
    color: #1e293b;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
}

.share-button.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.2);
}

.share-button.facebook:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-2px);
}

.share-button.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
    border-color: rgba(29, 161, 242, 0.2);
}

.share-button.twitter:hover {
    background: #1da1f2;
    color: white;
    transform: translateY(-2px);
}

.share-button.linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border-color: rgba(10, 102, 194, 0.2);
}

.share-button.linkedin:hover {
    background: #0a66c2;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .single-post {
        padding: 0.75rem;
        border-radius: 16px;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
Page Header - Archive, Category, Search
--------------------------------------------------------------*/

.page-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.archive-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .page-title {
        font-size: 1.875rem;
    }
    
    .archive-description {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
Related Posts Section
--------------------------------------------------------------*/

.related-posts {
    margin-top: 4rem;
}

.related-posts .section-title {
    margin-bottom: 2rem;
}

/*--------------------------------------------------------------
Content Wrapper Grid
--------------------------------------------------------------*/

.content-wrapper {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}