/**
 * The Chronicle - Elegant & Warm Theme Stylesheet
 * Fresh, elegant, and cozy reading experience
 * Compatible with IE8+
 */

/* ==========================================
   Reset & Variables
   ========================================== */
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Warm Color Palette */
    --cream: #faf8f5;
    --cream-dark: #f5f0e8;
    --cream-darker: #ebe5db;
    
    --sage: #9caf88;
    --sage-light: #b8c9a9;
    --sage-dark: #7a8f6a;
    
    --terracotta: #c4a77d;
    --terracotta-light: #d4b896;
    --terracotta-dark: #a68b65;
    
    --blush: #e8d5d0;
    --blush-light: #f0e0dc;
    --blush-dark: #d4c4c0;
    
    --rose: #d4a5a5;
    --rose-light: #e0b8b8;
    
    /* Text Colors */
    --text-dark: #3d3d3d;
    --text-medium: #6b6b6b;
    --text-light: #999;
    --text-muted: #b5b5b5;
    
    --white: #ffffff;
    --border: #e8e4de;
    --border-light: #f0ece6;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    
    /* Fonts */
    --font-serif: 'Crimson Text', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
}

body.elegant-theme {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    min-height: 100vh;
}

/* ==========================================
   Background Decorations
   ========================================== */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(156, 175, 136, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(196, 167, 125, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(232, 213, 208, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--sage-light);
    top: 10%;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--blush);
    bottom: 20%;
    left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--terracotta-light);
    top: 60%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-10px, 15px) rotate(-3deg);
    }
}

/* ==========================================
   Layout Structure
   ========================================== */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Left Sidebar Navigation
   ========================================== */
.sidebar-nav {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--border);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.nav-inner {
    padding: 40px 24px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Brand */
.brand {
    margin-bottom: 48px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 28px;
    color: var(--sage);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
    font-style: italic;
}

/* Navigation */
.main-nav {
    flex: 1;
}

.main-nav ul {
    list-style: none;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item a:hover {
    background: var(--cream-dark);
    color: var(--text-dark);
}

.nav-item.active a {
    background: var(--cream-dark);
    color: var(--text-dark);
    font-weight: 500;
}

.nav-icon {
    font-size: 10px;
    color: var(--terracotta);
}

.nav-item.active .nav-icon {
    color: var(--sage);
}

/* Nav Footer */
.nav-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-medium);
}

.weather-icon {
    font-size: 18px;
}

/* ==========================================
   Main Content Area
   ========================================== */
.content-area {
    flex: 1;
    margin-left: 260px;
    padding: 0 48px;
    max-width: calc(100% - 260px);
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-medium);
}

.breadcrumb span {
    position: relative;
}

.breadcrumb span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--terracotta);
    opacity: 0.5;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-medium);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
    background: rgba(156, 175, 136, 0.05);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    margin-bottom: 48px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

/* Featured Article */
.featured-article {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.featured-article:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.featured-image-wrap {
    position: relative;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-article:hover .featured-image {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: var(--white);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage-dark);
}

.featured-content {
    padding: 28px;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.featured-excerpt {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.featured-source {
    color: var(--terracotta-dark);
    font-weight: 500;
}

/* Secondary Articles */
.secondary-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.secondary-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.secondary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.secondary-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rose);
    margin-bottom: 6px;
}

.secondary-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.secondary-meta {
    font-size: 11px;
    color: var(--text-light);
}

/* ==========================================
   Category Section
   ========================================== */
.category-section {
    margin-bottom: 40px;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    color: var(--text-medium);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pill:hover {
    border-color: var(--sage);
    color: var(--sage);
    background: rgba(156, 175, 136, 0.05);
}

.pill.active {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.pill-icon {
    font-size: 10px;
}

/* ==========================================
   Advertisement Sections
   ========================================== */
.ad-section {
    margin-bottom: 48px;
}

.ad-section.bottom {
    margin-top: 48px;
}

.ad-container {
    background: var(--cream-dark);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.ad-container.large {
    padding: 32px;
}

.ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.ad-placeholder {
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 28px;
    color: var(--text-light);
}

.ad-placeholder.large {
    padding: 40px;
}

.ad-placeholder span {
    display: block;
}

.ad-size {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* ==========================================
   Stories Section
   ========================================== */
.stories-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.title-deco {
    color: var(--terracotta);
    font-size: 20px;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    border-color: var(--sage);
    color: var(--sage);
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.4s ease;
    animation: fadeIn 0.5s ease-out;
}

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

.story-image-wrap {
    position: relative;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.story-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--white);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-content {
    padding: 20px;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.story-card:hover .story-title {
    color: var(--sage-dark);
}

.story-excerpt {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 14px;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
}

.story-source {
    color: var(--terracotta-dark);
    font-weight: 500;
}

/* Load More */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    color: var(--text-medium);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
    background: rgba(156, 175, 136, 0.05);
}

.btn-dots {
    display: flex;
    gap: 4px;
}

.btn-dots span {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.btn-dots span:nth-child(1) { animation-delay: -0.32s; }
.btn-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ==========================================
   Trending Sidebar
   ========================================== */
.trending-sidebar {
    margin-bottom: 48px;
}

.trending-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.title-icon {
    color: var(--terracotta);
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-item:last-child {
    border-bottom: none;
}

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

.trending-rank {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--blush-dark);
    min-width: 24px;
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.trending-item:hover .trending-title {
    color: var(--sage-dark);
}

.trending-meta {
    font-size: 11px;
    color: var(--text-light);
}

/* Sidebar Ad */
.sidebar-ad {
    background: var(--cream-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.ad-box {
    margin-top: 12px;
}

.ad-placeholder.sidebar {
    padding: 40px 20px;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-header {
    margin-bottom: 12px;
}

.widget-desc {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--sage);
    background: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--sage);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}

/* ==========================================
   Footer
   ========================================== */
.main-footer {
    background: var(--cream-dark);
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    font-size: 24px;
    color: var(--sage);
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
}

.footer-desc {
    max-width: 480px;
    margin: 0 auto 32px;
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 32px;
}

.link-group {
    text-align: left;
}

.link-group h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--sage-dark);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

.footer-meta a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--sage-dark);
}

.separator {
    color: var(--border);
}

/* ==========================================
   Article Modal
   ========================================== */
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.article-modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--cream);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 100px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.modal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.modal-brand .logo-icon {
    color: var(--sage);
}

.modal-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    border-color: var(--rose);
    color: var(--rose);
}

.modal-body {
    height: calc(90vh - 69px);
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   Toast Notification
   ========================================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    background: var(--text-dark);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .content-area {
        padding: 0 24px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .sidebar-nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar-nav.open {
        transform: translateX(0);
    }
    
    .content-area {
        margin-left: 0;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .secondary-articles {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .secondary-card {
        min-width: 280px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .link-group {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .featured-title {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .story-image {
        height: 160px;
    }
    
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        height: calc(95vh - 69px);
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 0 16px;
    }
    
    .top-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .category-pills {
        gap: 8px;
    }
    
    .pill {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .secondary-card {
        flex-direction: column;
    }
    
    .secondary-image {
        width: 100%;
        height: 140px;
    }
}

/* ==========================================
   IE8 Fallbacks
   ========================================== */
.ie8 .floating-shape,
.ie8 .bg-pattern {
    display: none;
}

.ie8 .sidebar-nav {
    position: absolute;
}

.ie8 .story-card:hover,
.ie8 .featured-article:hover {
    border: 1px solid var(--sage);
}

/* Print Styles */
@media print {
    .sidebar-nav,
    .top-bar,
    .category-section,
    .ad-section,
    .trending-sidebar,
    .main-footer,
    .load-more-container,
    .article-modal {
        display: none;
    }
    
    .content-area {
        margin-left: 0;
        max-width: 100%;
        padding: 20px;
    }
    
    .story-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
