/* TLDR Times - Professional Newspaper Design */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables - Professional Color Palette */
:root {
    /* Primary Colors */
    --primary-blue: #1E40AF;        /* Deep Blue */
    --primary-yellow: #FCD34D;      /* Professional Yellow */
    --primary-black: #111827;       /* Deep Black */
    
    /* Secondary Colors */
    --secondary-blue: #3B82F6;      /* Lighter Blue */
    --secondary-yellow: #FEF3C7;    /* Light Yellow */
    --secondary-black: #374151;     /* Charcoal */
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-accent: #FEF3C7;
    
    /* Border Colors */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --border-dark: #374151;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-xl {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header - Professional Newspaper Style */
.header {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-black);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo:hover {
    color: var(--primary-blue);
}

.logo-image {
    height: 65px;
    width: auto;
    max-width: 250px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Header Right Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 992px) {
    .header-right {
        gap: 2rem;
    }
    
    /* Tablet: Compact horizontal scroll */
    .category-filter {
        padding: 1.5rem 0 3rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-filter-inner {
        display: flex;
        gap: 0.5rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 1rem;
        min-width: max-content;
    }
    
    .category-filter a {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.88rem;
        white-space: nowrap;
    }
    
    /* Our Values Tablet Layout */
    .account-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem !important;
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid var(--primary-black);
    }
    
    .account-info-item:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .account-info-label {
        font-size: 1.3rem;
        display: block;
        width: 100%;
        margin-bottom: 0;
    }
    
    .account-info-value {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
        display: block;
        width: 100%;
        padding-left: 0;
    }
    
    /* Footer Tablet Layout */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Three-column grid tablet layout */
    .dashboard-grid-three-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Header Button Consistency */
.user-actions .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 1rem;
}

.user-actions .btn:focus {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 2px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-dropdown-trigger-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
}

.user-dropdown-trigger:hover {
    color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 1000;
    border: 1px solid var(--border-light);
}

.user-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.user-dropdown-menu a:last-child {
    border-bottom: none;
}

.user-dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-blue);
}

/* Hero Section - Classic Newspaper Masthead */
.hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    border-bottom: 4px solid var(--primary-black);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.02) 1px,
        rgba(0, 0, 0, 0.02) 2px
    );
}

.hero-masthead {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-black);
    margin-bottom: 1.5rem;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-date {
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-edition {
    font-family: var(--font-serif);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    text-shadow: none;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    border-top: 1px solid var(--border-medium);
    border-bottom: 1px solid var(--border-medium);
    padding: 1rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-news-brief {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border: 2px solid var(--primary-black);
    border-radius: 0;
}

.hero-news-brief h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

.hero-news-brief ul {
    list-style: none;
    padding: 0;
}

.hero-news-brief li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.hero-main-story {
    text-align: center;
    padding: 1rem;
}

.hero-main-story h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
    line-height: 1.2;
}

.hero-main-story p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-weather {
    background: var(--bg-accent);
    padding: 1.5rem;
    border: 2px solid var(--primary-yellow);
    border-radius: 0;
    text-align: center;
}

.hero-weather h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-weather-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-black);
}

.hero-stat {
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--border-medium);
    background: var(--bg-secondary);
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cube Button System */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    outline: none;
    border: 0;
    color: var(--primary-black);
    letter-spacing: 0.05em;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1;
    position: relative;
    transition: all 0.5s;
    text-decoration: none;
    min-width: 140px;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    color: var(--primary-black) !important;
}

.btn-primary:hover {
    color: var(--primary-yellow) !important;
}

.btn-secondary {
    color: var(--primary-yellow) !important;
}

.btn-secondary:hover {
    color: var(--primary-black) !important;
}

/* Cube 3D Effect */
.cube {
    position: relative;
    transition: all 0.5s;
}

.cube .bg-top {
    position: absolute;
    height: 10px;
    bottom: 100%;
    left: 5px;
    right: -5px;
    transform: skew(-45deg, 0);
    margin: 0;
    transition: all 0.4s;
}

.btn-primary.cube .bg-top {
    background: var(--primary-black);
}

.btn-secondary.cube .bg-top {
    background: var(--primary-yellow);
}

.cube .bg-top .bg-inner {
    bottom: 0;
}

.cube .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0; 
    transition: all 0.4s;
}

.btn-primary.cube .bg {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-black);
}

.btn-secondary.cube .bg {
    background: var(--primary-black);
    border: 2px solid var(--primary-yellow);
}

.btn-primary.cube:hover .bg{
    border: 2px solid var(--primary-yellow) !important;
    background: var(--primary-black) !important;
}

.btn-secondary.cube:hover .bg {
    border: 2px solid var(--primary-black) !important;
    background: var(--primary-yellow) !important;
}

.btn-primary.cube:hover .bg-inner {
    background: var(--primary-black) !important;
}

.btn-secondary.cube:hover .bg-inner {
    background: var(--primary-yellow) !important;
}


.cube .bg-right {
    position: absolute;
    top: -5px;
    z-index: 0;
    bottom: 5px;
    width: 10px;
    left: 100%;
    transform: skew(0, -45deg);
    transition: all 0.4s;
}

.btn-primary.cube .bg-right {
    background: var(--primary-black);
}

.btn-secondary.cube .bg-right {
    background: var(--primary-yellow);
}

.cube .bg-right .bg-inner {
    left: 0;
}

.cube .bg-inner {
    background: var(--primary-yellow);
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
}

.btn-primary.cube .bg-inner {
    background: var(--primary-yellow);
}

.btn-secondary.cube .bg-inner {
    background: var(--primary-black);
}

.cube .text {
    position: relative;
    transition: all 0.4s;
    z-index: 2;
}

.cube:hover .bg-inner {
    transition: all 0.4s;
}

.btn-primary.cube:hover .bg-right,
.btn-primary.cube:hover .bg-top {
    background: var(--primary-yellow);
}

.btn-secondary.cube:hover .bg-right,
.btn-secondary.cube:hover .bg-top {
    background: var(--primary-black);
}

/* Dashboard, Admin, and Action Button Cube Styling */
.dashboard-btn.cube,
.admin-btn.cube,
.action-btn.cube {
    color: var(--primary-black) !important;
}

.dashboard-btn.cube .bg-top,
.admin-btn.cube .bg-top,
.action-btn.cube .bg-top {
    background: var(--primary-black);
}

.dashboard-btn.cube .bg,
.admin-btn.cube .bg,
.action-btn.cube .bg {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-black);
}

.dashboard-btn.cube .bg-right,
.admin-btn.cube .bg-right,
.action-btn.cube .bg-right {
    background: var(--primary-black);
}

.dashboard-btn.cube .bg-inner,
.admin-btn.cube .bg-inner,
.action-btn.cube .bg-inner {
    background: var(--primary-yellow);
}

.dashboard-btn.cube:hover .bg,
.admin-btn.cube:hover .bg,
.action-btn.cube:hover .bg {
    border: 2px solid var(--primary-yellow) !important;
    background: var(--primary-black) !important;
}

.dashboard-btn.cube:hover .bg-inner,
.admin-btn.cube:hover .bg-inner,
.action-btn.cube:hover .bg-inner {
    background: var(--primary-black) !important;
}

.dashboard-btn.cube:hover .bg-right,
.dashboard-btn.cube:hover .bg-top,
.admin-btn.cube:hover .bg-right,
.admin-btn.cube:hover .bg-top,
.action-btn.cube:hover .bg-right,
.action-btn.cube:hover .bg-top {
    background: var(--primary-yellow);
}

.dashboard-btn.cube:hover {
    color: var(--primary-yellow) !important;
}

.admin-btn.cube:hover {
    color: var(--primary-yellow) !important;
}

.action-btn.cube:hover {
    color: var(--primary-yellow) !important;
}

/* Mobile Menu Button Cube Styling */
.mobile-menu-btn.cube {
    color: var(--primary-black) !important;
}

.mobile-menu-btn.cube .bg-top {
    background: var(--primary-black);
}

.mobile-menu-btn.cube .bg {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-black);
}

.mobile-menu-btn.cube .bg-right {
    background: var(--primary-black);
}

.mobile-menu-btn.cube .bg-inner {
    background: var(--primary-yellow);
}

.mobile-menu-btn.cube:hover .bg {
    border: 2px solid var(--primary-yellow) !important;
    background: var(--primary-black) !important;
}

.mobile-menu-btn.cube:hover .bg-inner {
    background: var(--primary-black) !important;
}

.mobile-menu-btn.cube:hover .bg-right,
.mobile-menu-btn.cube:hover .bg-top {
    background: var(--primary-yellow);
}

.mobile-menu-btn.cube:hover {
    color: var(--primary-yellow) !important;
}

/* Mobile-specific adjustments for cube buttons */
@media (max-width: 768px) {
    .mobile-menu-btn.cube {
        width: 100%;
        margin-bottom: 0.75rem;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Standardize button sizing for cube buttons */
.dashboard-btn.cube,
.admin-btn.cube,
.action-btn.cube,
.mobile-menu-btn.cube {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.5s;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
    border: none;
    outline: none;
}

.cube:active {
    z-index: 9999;
    animation: bounce 0.1s linear;
}

@keyframes bounce {
    50% {
        transform: scale(0.9);
    }
}

/* Main Content Area */
.main-content {
    background-color: var(--bg-primary);
    min-height: 100vh;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-yellow);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0 4rem;
}

/* Desktop: Normal flex layout with inner container */
.category-filter-inner {
    display: contents;
}

.category-filter a {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.category-filter a.active {
    background-color: var(--primary-blue);
    color: var(--text-white);
    border-color: var(--primary-blue);
}

.category-filter a:not(.active) {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border-medium);
}

.category-filter a:not(.active):hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* Articles Grid - Professional Flexbox Layout */
.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.articles-grid .card {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 300px;
    max-width: 400px;
}

/* Premium Card Styling */
.card-premium {
    position: relative;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.premium-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-yellow);
    padding: 0.75rem;
    border-radius: 50%;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.premium-lock {
    width: 32px;
    height: 32px;
    display: block;
}

.premium-unlock {
    width: 32px;
    height: 32px;
    display: block;
    color: var(--primary-yellow); /* Green for unlocked */
}

/* Differentiate unlock overlay styling */
.premium-overlay:has(.premium-unlock) {
    background: rgba(0, 0, 0, 0.8); /* Green background for unlocked */
    color: white;
}

/* Fallback for browsers that don't support :has() */
.premium-overlay.unlocked {
    background: rgba(0, 0, 0, 0.8); /* Green background for unlocked */
    color: white;
}

.card-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
    justify-content: space-between;
}

.premium-badge {
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-badge svg {
    width: 12px;
    height: 12px;
}

/* Paywall Styling */
.paywall {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f8fafc 100%);
    border: 3px solid var(--primary-yellow);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.paywall::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 193, 7, 0.03) 10px,
        rgba(255, 193, 7, 0.03) 20px
    );
    pointer-events: none;
}

.paywall-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.paywall-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

.paywall-icon svg {
    width: 40px;
    height: 40px;
}

.paywall-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.paywall-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.paywall-benefits {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.paywall-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.paywall-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.paywall-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.paywall-actions .btn {
    min-width: 200px;
}

/* Mobile responsiveness for paywall */
@media (max-width: 768px) {
    .paywall {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }
    
    .paywall-title {
        font-size: 2rem;
    }
    
    .paywall-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .paywall-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Card System - Professional News Cards */
.card {
    background: var(--bg-primary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-yellow);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-blue);
}

.card-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.card-date {
    font-weight: 500;
}

.card-read-time {
    color: var(--text-muted);
}

/* Category Badges - Newspaper Style (Consolidated) */
.category-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 2px solid;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    font-family: var(--font-serif);
}

.category-news {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #991B1B;
}

.category-sports {
    background: #DBEAFE;
    color: #1D4ED8;
    border-color: #1D4ED8;
}

.category-entertainment {
    background: #F3E8FF;
    color: #7C3AED;
    border-color: #7C3AED;
}

/* Footer - Professional Style */
.footer {
    background-color: var(--primary-black);
    color: var(--text-white);
    padding: 3rem 0 2rem;
    border-top: 3px solid var(--primary-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(45deg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-black);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

/* Form Styles */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-medium);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-sans);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-4 { padding: 1rem 0; }
.py-8 { padding: 2rem 0; }
.px-4 { padding: 0 1rem; }
.hidden { display: none; }

/* Desktop/Mobile Visibility */
.desktop-only {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 900;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.mobile-menu-logo .logo-image {
    height: 32px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.close-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 1px;
    position: absolute;
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-menu-nav {
    padding: 2rem 0;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin: 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-nav a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-blue);
}

.mobile-menu-actions {
    padding: 1.5rem;
    margin-top: auto;
}

.mobile-user-info {
    margin-bottom: 1.5rem;
}

.mobile-user-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.mobile-user-name::first-letter {
    font-size: 1.5rem;
}

.mobile-club-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--text-black);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-user-links,
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: block;
    padding: 0.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s;
    border: none;
    background: transparent;
    color: var(--primary-yellow);
    position: relative;
    width: 100%;
    margin-bottom: 0.75rem;
}

/* Mobile menu buttons inherit cube styles but with full width */
.mobile-menu-btn:not(.btn-primary):not(.btn-secondary) {
    color: var(--primary-yellow) !important;
}

.mobile-menu-btn:not(.btn-primary):not(.btn-secondary) .bg,
.mobile-menu-btn:not(.btn-primary):not(.btn-secondary) .bg-top,
.mobile-menu-btn:not(.btn-primary):not(.btn-secondary) .bg-right {
    background: var(--primary-black);
}

.mobile-menu-btn:not(.btn-primary):not(.btn-secondary) .bg-inner {
    background: var(--primary-black);
}

.mobile-menu-btn:not(.btn-primary):not(.btn-secondary):hover .bg-inner {
    background: var(--primary-yellow) !important;
}

.mobile-menu-btn:not(.btn-primary):not(.btn-secondary):hover .text {
    color: var(--primary-black) !important;
}

/* Magic Link Testing Styles */
.magic-link-test {
    display: inline-block;
    background: var(--primary-blue);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    font-weight: 600;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.magic-link-test:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(29, 78, 216, 0.3);
}

/* OAuth Section Styles */
.oauth-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
}

.oauth-divider {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.oauth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
    z-index: 1;
}

.oauth-divider span {
    background: var(--bg-primary);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

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

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--border-medium);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.oauth-btn:hover {
    border-color: var(--primary-blue);
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.oauth-btn-apple {
    border-color: #000;
    color: #000;
}

.oauth-btn-apple:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.oauth-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* OAuth Mobile Styles */
@media (max-width: 768px) {
    .oauth-section {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .oauth-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

/* Subscription Alert Styles */
.subscription-alert {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.subscription-alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #f87171;
}

.subscription-alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--primary-blue);
}

.subscription-alert-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subscription-alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.subscription-alert-error .subscription-alert-icon {
    color: #dc2626;
}

.subscription-alert-info .subscription-alert-icon {
    color: var(--primary-blue);
}

.subscription-alert-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-alert-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-right {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-news-brief,
    .hero-weather {
        order: 2;
    }
    
    .hero-main-story {
        order: 1;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .articles-grid {
        flex-direction: column;
    }
    
    .articles-grid .card {
        flex: 1 1 100%;
        max-width: none;
    }
    
    .category-filter {
        display: block;
        padding: 1rem 0 2rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    /* Show subtle scroll indicator on mobile */
    .category-filter::-webkit-scrollbar {
        height: 3px;
        background: transparent;
    }
    
    .category-filter::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        margin: 0 1rem;
    }
    
    .category-filter::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 3px;
    }
    
    .category-filter::-webkit-scrollbar-thumb:hover {
        background: var(--primary-yellow);
    }
    
    /* Add fade effect to indicate scrollability */
    .category-filter::after {
        content: '';
        position: absolute;
        top: 1rem;
        right: 0;
        bottom: 2rem;
        width: 30px;
        background: linear-gradient(to right, transparent, var(--bg-primary));
        pointer-events: none;
        z-index: 1;
    }
    
    .category-filter-inner {
        display: flex;
        gap: 0.75rem;
        padding: 0 1rem;
        min-width: max-content;
    }
    
    .category-filter a {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 25px;
        white-space: nowrap;
        text-align: center;
        min-width: auto;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .category-filter a.active {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
    }
    
    /* Footer Mobile Fixes */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
        order: 1;
    }
    
    .footer-section {
        order: 2;
    }
    
    .footer-section:last-child {
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section li {
        margin-bottom: 1rem;
    }
    
    .footer-section a {
        padding: 0.25rem 0;
        display: block;
        font-size: 0.95rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .footer-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Our Values Mobile Fixes */
    .account-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem !important;
        padding: 1.5rem 0.75rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--primary-black);
    }
    
    .account-info-item:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .account-info-label {
        font-size: 1.3rem;
        margin-bottom: 0;
        display: block;
        width: 100%;
    }
    
    .account-info-value {
        font-size: 1rem;
        line-height: 1.5;
        text-align: left;
        display: block;
        width: 100%;
        padding-left: 0;
    }
    
    /* Ensure three-column grid stacks on mobile */
    .dashboard-grid-three-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Testimonials Mobile Styles */
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote p {
        font-size: 1rem;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .articles-grid .card {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .articles-grid .card {
        flex: 1 1 100%;
    }
    
    /* ELI cards: 2 columns on larger mobile/small tablet */
    .dashboard-grid-three-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* ELI cards: single column on mobile */
    .dashboard-grid-three-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states */
.btn:focus,
.form-input:focus,
a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    padding: 4rem 0;
    border-top: 3px solid var(--primary-yellow);
    border-bottom: 3px solid var(--primary-yellow);
    position: relative;
    margin-top: 3rem;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.02) 1px,
        rgba(0, 0, 0, 0.02) 2px
    );
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.01) 0%, rgba(252, 211, 77, 0.02) 100%);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-yellow);
}

.testimonial-featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(30, 64, 175, 0.02) 100%);
}

.testimonial-featured::after {
    content: '⭐ Featured Review';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-quote p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(252, 211, 77, 0.3);
}

.avatar-icon {
    filter: grayscale(0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Testimonials Stats */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    border: 2px solid var(--primary-black);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero,
    .category-filter,
    .testimonials-section {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border-medium);
        break-inside: avoid;
    }
    
    .articles-grid {
        display: block;
    }
    
    .articles-grid .card {
        margin-bottom: 2rem;
    }
} 

/* SVG Styling */
svg {
    display: inline-block;
    vertical-align: middle;
} 

/* About Page Styles - Enhanced Professional Design */
.about-page {
    background-color: #f8fafc;
    color: #111827;
    line-height: 1.6;
}

.about-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 500;
}

.about-mission {
    padding: 5rem 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.mission-center {
    text-align: center;
    margin-bottom: 3rem;
}

.about-mission .mission-icon {
    width: 4rem;
    height: 4rem;
    color: #FCD34D;
    margin: 0 auto 1.5rem;
    display: block;
}

.about-mission h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.about-mission p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

.about-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    padding: 5rem 0;
}

.about-section.alternate {
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.about-card {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.about-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    border-bottom: 2px solid #FCD34D;
    padding-bottom: 1rem;
}

.about-card .card-content p {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-card .card-content p:last-child {
    margin-bottom: 0;
}

.about-card .card-content p strong {
    color: #111827;
    font-weight: 600;
}

.about-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-step {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #FCD34D;
}

.about-step .step-icon {
    width: 3rem;
    height: 3rem;
    color: #1E40AF;
    margin: 0 auto 1.5rem;
    display: block;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    padding: 0.75rem;
}

.about-step h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.about-step p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Contact Page Styles - Enhanced Professional Design */
.contact-page {
    background-color: #f8fafc;
    color: #111827;
    line-height: 1.6;
}

.contact-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 500;
}

.contact-content {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-methods h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    text-align: center;
    border-bottom: 3px solid #FCD34D;
    padding-bottom: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #FCD34D;
}

.contact-method .method-icon {
    background: rgba(30, 64, 175, 0.1);
    padding: 1rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-method .method-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #1E40AF;
}

.contact-method .method-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

.contact-method .method-content p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.contact-method .method-content a {
    color: #1E40AF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-method .method-content a:hover {
    color: #3B82F6;
    border-bottom-color: #FCD34D;
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3rem;
    font-family: var(--font-serif);
    text-align: center;
    border-bottom: 3px solid #FCD34D;
    padding-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #111827;
    font-size: 1.125rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #111827;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact form buttons inherit cube styles */
.contact-form .btn {
    width: 100%;
    font-size: 1.125rem;
}

.contact-alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    border: 1px solid;
}

.contact-alert.success {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #22c55e;
}

.contact-alert.error {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #ef4444;
}

/* ===================================
   STORY PAGE STYLES - NEWSPAPER DESIGN  
   =================================== */

/* Story Page Container */
.story-page {
    min-height: 100vh;
    background: var(--bg-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breadcrumb Navigation */
.story-breadcrumb {
    margin: 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    list-style: none;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-blue);
    background: var(--secondary-yellow);
}

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Back Button */
.story-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.story-back-button:hover {
    background: var(--secondary-yellow);
    border-color: var(--primary-yellow);
    transform: translateX(-2px);
}

.story-back-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Admin Preview Banner */
.admin-preview-banner {
    background: var(--secondary-yellow);
    border: 1px solid var(--primary-yellow);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.admin-preview-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.admin-preview-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Story Article */
.story-article {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

/* Story Header */
.story-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--border-light);
}

.story-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.story-category.news {
    background: #EF4444;
    color: white;
}

.story-category.sports {
    background: #10B981;
    color: white;
}

.story-category.entertainment {
    background: #8B5CF6;
    color: white;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1rem;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 1rem 0;
}

.story-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-meta-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.story-share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--border-medium);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.story-share-button:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: var(--bg-secondary);
}

/* Story Image */
.story-image-container {
    position: relative;
    width: 100%;
    height: 700px;
    margin: 1.5rem 0 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

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

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

/* Story Content */
.story-content {
    padding: 2rem;
}

.story-explanation {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.explanation-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-blue);
}

.explanation-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.explanation-text:last-child {
    margin-bottom: 0;
}

/* Story Tags */
.story-tags {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.tags-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid var(--border-medium);
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: var(--secondary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* Source Attribution */
.story-source {
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.source-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.source-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.source-link:hover {
    background: var(--secondary-yellow);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-container {
        padding: 0 1rem;
    }
    
    .story-title {
        font-size: 2.2rem;
        padding-left: 0.75rem;
    }
    
    .story-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .story-image-container {
        height: 400px;
        margin: 1rem 0 1.5rem;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .explanation-title {
        font-size: 1.25rem;
    }
    
    .explanation-text {
        font-size: 1rem;
    }
    
    .story-tags,
    .story-source {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .story-page {
        padding: 1rem 0;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
    
    .story-header {
        padding: 1rem;
    }
    
    .story-content {
        padding: 1rem;
    }
    
    .story-image-container {
        height: 400px;
    }
    
    .breadcrumb-list {
        font-size: 0.75rem;
    }
    
    .breadcrumb-current {
        display: none; /* Hide long titles on small screens */
    }
}

/* ===================================
   SUBSCRIPTION PAGE STYLES - NEWSPAPER DESIGN  
   =================================== */

/* Subscription Page Layout */
.subscription-page {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Hero Section */
.subscription-hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #F59E0B 100%);
    padding: 5rem 0;
    text-align: center;
}

.subscription-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscription-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.subscription-hero-icon {
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
}

.subscription-hero-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-black);
}

.subscription-hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subscription-hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-black);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.subscription-hero-promo {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.subscription-hero-promo-text {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

/* Pricing Section */
.subscription-pricing {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.subscription-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscription-pricing-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 3rem;
}

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

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #F59E0B 100%);
    border: 2px solid var(--primary-yellow);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-card-title {
    color: var(--primary-black);
}

.pricing-card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.pricing-card-period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-card.featured .pricing-card-period {
    color: var(--primary-black);
    opacity: 0.8;
}

/* Feature Lists */
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pricing-feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.pricing-feature-icon.included {
    color: #10B981;
}

.pricing-feature-icon.excluded {
    color: #EF4444;
}

.pricing-feature.featured .pricing-feature-icon.included {
    color: #047857;
}

.pricing-feature-text {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.pricing-feature.featured .pricing-feature-text {
    color: var(--primary-black);
    font-weight: 500;
}

.pricing-feature.excluded .pricing-feature-text {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* CTA Buttons */
.pricing-cta {
    text-align: center;
}

.pricing-button {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.pricing-button.primary {
    background: var(--primary-black);
    color: white;
}

.pricing-button.primary:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

.pricing-button.featured {
    background: var(--primary-black);
    color: white;
}

.pricing-button.featured:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

/* Features Section */
.subscription-features {
    padding: 5rem 0;
    background: white;
}

.subscription-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscription-features-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon.yellow {
    background: var(--primary-yellow);
    color: var(--primary-black);
}

.feature-icon.blue {
    background: var(--primary-blue);
    color: white;
}

.feature-icon.green {
    background: #10B981;
    color: white;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials */
.subscription-testimonials {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.subscription-testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscription-testimonials-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.testimonial-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Final CTA */
.subscription-final-cta {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #F59E0B 100%);
    padding: 4rem 0;
    text-align: center;
}

.subscription-final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.subscription-final-cta-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.subscription-final-cta-text {
    font-size: 1.25rem;
    color: var(--primary-black);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subscription-hero {
        padding: 3rem 0;
    }
    
    .subscription-hero-title {
        font-size: 2rem;
    }
    
    .subscription-hero-subtitle {
        font-size: 1rem;
    }
    
    .subscription-hero-promo-text {
        font-size: 1.25rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .subscription-pricing,
    .subscription-features,
    .subscription-testimonials {
        padding: 3rem 0;
    }
    
    .subscription-final-cta {
        padding: 3rem 0;
    }
} 

/* Authentication Pages Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: var(--primary-white);
}

.auth-form-wrapper {
    max-width: 700px;
    width: 100%;
    background: var(--primary-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.auth-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-weight: bold;
    font-size: 1.125rem;
}

.auth-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-black);
    font-family: 'Playfair Display', serif;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

.auth-icon-wrapper {
    margin: 0 auto 1rem;
    width: 64px;
    height: 64px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-black);
}

/* Alert Messages */
.auth-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.auth-alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-alert-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.auth-alert-content p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* OAuth Buttons */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.oauth-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.oauth-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.oauth-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Divider */
.auth-divider {
    position: relative;
    margin: 1.5rem 0;
}

.auth-divider-line {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.auth-divider-border {
    width: 100%;
    border-top: 1px solid #d1d5db;
}

.auth-divider-text {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
    color: #6b7280;
    background: white;
    padding: 0 0.75rem;
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    color: var(--primary-black);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input-with-action {
    padding-right: 2.5rem;
}

.form-input-action {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input-action:hover {
    color: #6b7280;
}

.form-input-action svg {
    width: 20px;
    height: 20px;
}

/* Tertiary Button - inherits cube primary styles */
.btn-tertiary {
    width: 100%;
    font-size: 0.875rem;
    color: var(--primary-black) !important;
}

.btn-tertiary .bg,
.btn-tertiary .bg-top,
.btn-tertiary .bg-right {
    background: var(--primary-yellow);
}

.btn-tertiary .bg-inner {
    background: var(--primary-yellow);
}

.btn-tertiary:hover .bg-inner {
    background: var(--primary-black) !important;
}

.btn-tertiary:hover .text {
    color: var(--primary-yellow) !important;
}

.btn-tertiary:hover .bg,
.btn-tertiary:hover .bg-top,
.btn-tertiary:hover .bg-right {
    background: var(--primary-black);
}

.btn-tertiary svg {
    width: 16px;
    height: 16px;
}

/* Magic Link Section */
.magic-link-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.magic-link-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.magic-link-input {
    flex: 1;
}

.magic-link-input .form-input {
    padding-left: 0.75rem;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: #f3f4f6;
    padding: 0.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.tab-button {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button.active {
    background: white;
    color: var(--primary-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-button:hover:not(.active) {
    color: var(--primary-black);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Footer Links */
.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
}

.auth-footer a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

.auth-terms {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.4;
    text-align:center;
}

.auth-terms a {
    color: var(--primary-blue);
    text-decoration: none;
}

.auth-terms a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 640px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-form-wrapper {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .auth-logo-text {
        font-size: 1.25rem;
    }
} 

/* ===== DASHBOARD STYLES - NEWSPAPER DESIGN ===== */

/* Dashboard Container */
.dashboard-container {
    min-height: 100vh;
    background-color: var(--bg-primary); /* Consistent white background like other pages */
}

/* Dashboard Header - Consistent Newspaper Masthead */
.dashboard-header {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    padding: 2rem 0;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.02) 1px,
        rgba(0, 0, 0, 0.02) 2px
    );
}

.dashboard-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-bottom: 1.5rem;
}

.dashboard-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--primary-black);
    font-weight: 700;
}

.dashboard-date {
    font-family: var(--font-serif);
    font-style: italic;
}

.dashboard-edition {
    font-family: var(--font-serif);
    font-weight: 600;
}

.dashboard-welcome h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    text-shadow: none;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: uppercase;
}

.dashboard-welcome p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: 1.2rem !important;
    color: var(--primary-black) !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

/* Hero Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.hero-feature-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.hero-feature-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--primary-black);
}

.hero-feature-text strong {
    color: var(--primary-black);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

/* Breaking News Ticker */
.breaking-news-ticker {
    background: var(--primary-black);
    color: var(--text-white);
    padding: 1rem 1.5rem;
    margin: 1.5rem -1rem 0;
    font-family: var(--font-serif);
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-yellow);
}

.ticker-label {
    background: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 1rem;
    letter-spacing: 0.5px;
}

.ticker-content {
    font-size: 1.05rem;
    font-weight: 600;
    animation: ticker-scroll 15s linear infinite;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .dashboard-welcome h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 1.5rem 0;
        padding: 1.25rem 0;
    }
    
    .hero-feature {
        text-align: left;
        flex-direction: row;
        gap: 0.875rem;
        padding: 1rem;
        background: var(--bg-secondary);
        border-radius: 8px;
        border: 1px solid var(--border-light);
    }
    
    .hero-feature-icon {
        font-size: 2.25rem;
        margin-top: 0.125rem;
    }
    
    .hero-feature-text {
        flex: 1;
    }
    
    .hero-feature-text strong {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .breaking-news-ticker {
        margin: 1.5rem -0.5rem 0;
        padding: 0.75rem 1rem;
    }
    
    .ticker-label {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
        text-align: center;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .dashboard-welcome h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1rem !important;
    }
    
    .hero-features {
        gap: 1rem;
        margin: 1.25rem 0;
        padding: 1rem 0;
    }
    
    .hero-feature {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .hero-feature-icon {
        font-size: 2rem;
    }
    
    .hero-feature-text strong {
        font-size: 0.95rem;
    }
    
    .hero-feature-text {
        font-size: 0.9rem;
    }
}

/* Success Page Styling */
.success-checkmark {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-checkmark svg {
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(29, 78, 216, 0.3));
}

.dashboard-club-badge {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 500;
    border-top: 1px solid var(--border-medium);
    border-bottom: 1px solid var(--border-medium);
    padding: 1rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-club-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #DAA520;
    margin-right: 0.5rem;
}

.dashboard-club-badge span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* Dashboard Main Content - Newspaper Layout */
.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    .dashboard-grid-three-cols {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Dashboard Cards - Newspaper Article Style */
.dashboard-card {
    background: white;
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-yellow);
}

.dashboard-card:hover {
    box-shadow: 6px 6px 0 rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-black);
}

.dashboard-card-header svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-blue);
    margin-right: 0.75rem;
}

.dashboard-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-black);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-card-content {
    color: var(--primary-black);
    font-weight: 500;
}

.dashboard-card-how-it-works {
    background-color: var(--primary-yellow);
}

/* Dashboard Grid Layouts */
.dashboard-grid-full {
    grid-column: 1 / -1;
}

.dashboard-grid-large {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Account Info - Newspaper Table Style */
.account-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--primary-black);
    border-style: dotted;
    gap: 4rem;
}

.account-info-label {
    color: var(--primary-black);
    font-weight: 700;
    font-family: var(--font-serif);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.account-info-value {
    color: var(--primary-black);
    font-weight: 600;
    font-family: var(--font-sans);
}

/* Status Badges - Newspaper Press Style */
.status-badge {
    padding: 0.375rem 0.75rem;
    border: 2px solid;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.status-active {
    background: #22C55E;
    color: white;
    border-color: #166534;
    box-shadow: 2px 2px 0 #166534;
}

.status-badge.status-cancelled {
    background: #EF4444;
    color: white;
    border-color: #991B1B;
    box-shadow: 2px 2px 0 #991B1B;
}

.status-badge.status-past-due {
    background: #F59E0B;
    color: white;
    border-color: #92400E;
    box-shadow: 2px 2px 0 #92400E;
}

.status-badge.status-unknown {
    background: #6B7280;
    color: white;
    border-color: var(--primary-black);
    box-shadow: 2px 2px 0 var(--primary-black);
}

/* Dashboard Buttons - Newspaper Press Style */
.dashboard-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-black);
    border-radius: 0.25rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.dashboard-btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-black);
    box-shadow: 3px 3px 0 var(--primary-black);
}

.dashboard-btn-primary:hover {
    background: #FCD34D;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--primary-black);
}

.dashboard-btn-danger {
    background: #EF4444;
    color: white;
    border-color: #991B1B;
    box-shadow: 3px 3px 0 #991B1B;
}

.dashboard-btn-danger:hover {
    background: #DC2626;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #991B1B;
}

.dashboard-btn-success {
    background: #22C55E;
    color: white;
    border-color: #166534;
    box-shadow: 3px 3px 0 #166534;
}

.dashboard-btn-success:hover {
    background: #16A34A;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #166534;
}

.dashboard-btn-full {
    width: 100%;
}

/* Subscription Section - Newspaper Advertisement Style */
.subscription-content {
    text-align: center;
    padding: 2rem 0;
    border: 2px dashed var(--primary-black);
    border-radius: 0.5rem;
    background: #FFFBEB;
    margin: 1rem 0;
}

.subscription-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary-blue);
    margin: 0 auto 1rem;
}

.subscription-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subscription-description {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-style: italic;
}

.subscription-actions {
    padding-top: 1rem;
    border-top: 2px solid var(--primary-black);
    border-style: dotted;
    margin-top: 1rem;
}

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

@media (min-width: 640px) {
    .subscription-flex {
        flex-direction: row;
    }
}

/* Quick Actions - Newspaper Menu Style */
.quick-actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-action-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--primary-black);
    border-radius: 0.25rem;
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-weight: 600;
    background: white;
}

.quick-action-item:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--primary-black);
}

.quick-action-item:last-child {
    margin-bottom: 0;
}

.quick-action-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: var(--primary-blue);
}

/* Reading History - Newspaper Archive Style */
.reading-history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-history-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--primary-black);
    border-radius: 0.25rem;
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    background: white;
}

.reading-history-item:hover {
    background: #FEF3C7;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 var(--primary-black);
}

.reading-history-item:last-child {
    margin-bottom: 0;
}

.reading-history-image {
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--primary-black);
    border-radius: 0.25rem;
    object-fit: cover;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.reading-history-content {
    flex: 1;
}

.reading-history-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    font-family: var(--font-serif);
}

.reading-history-meta {
    font-size: 0.75rem;
    color: var(--primary-black);
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alert Messages */
.dashboard-alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
}

.dashboard-alert.alert-success {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #15803D;
}

.dashboard-alert.alert-error {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #DC2626;
}

/* Alert Close Button */
.alert-close-btn {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.alert-close-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

.alert-close-btn:active {
    transform: scale(0.95);
}

/* Dark mode support - Newspaper Night Edition */
/* Dashboard uses consistent light theme like other pages - no dark mode override */

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 1.5rem 0 0;
    }
    
    .dashboard-header-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .dashboard-welcome h1 {
        font-size: 2.5rem;
    }
    
    .dashboard-welcome p {
        font-size: 1rem;
    }
    
    .dashboard-club-badge {
        font-size: 0.875rem;
        padding: 0.75rem 0;
    }
    
    .dashboard-main {
        padding: 2rem 1rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .dashboard-card-title {
        font-size: 1.25rem;
    }
} 

/* ===== ADMIN-SPECIFIC STYLES ===== */

/* Admin Statistics Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-stat-card {
    background: #FFFBEB;
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--primary-black);
}

.admin-stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.admin-stat-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Admin Navigation Grid */
.admin-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-nav-card {
    background: white;
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
    position: relative;
}

.admin-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 0.25rem 0.25rem 0 0;
}

.admin-nav-card:hover {
    background: #FEF3C7;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--primary-black);
}

.admin-nav-card.admin-nav-current {
    background: var(--primary-yellow);
    border-color: var(--primary-black);
}

.admin-nav-card.admin-nav-current::before {
    background: var(--primary-black);
}

.admin-nav-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-blue);
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-nav-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.admin-nav-content {
    flex: 1;
}

.admin-nav-content h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.admin-nav-content p {
    font-size: 0.875rem;
    color: var(--primary-black);
    margin: 0 0 0.5rem 0;
    opacity: 0.7;
}

.admin-nav-status,
.admin-nav-action {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-nav-status {
    color: var(--primary-black);
    opacity: 0.8;
}

.admin-nav-action {
    color: var(--primary-blue);
}

/* Admin Tables */
.admin-table-container {
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--primary-black);
    color: white;
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-table th:last-child {
    border-right: none;
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--border-light);
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table td {
    padding: 1rem;
    vertical-align: top;
}

/* Story Items in Table */
.story-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.story-thumbnail {
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--primary-black);
    border-radius: 0.25rem;
    object-fit: cover;
    flex-shrink: 0;
}

.story-details {
    flex: 1;
    min-width: 0;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-black);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.story-summary {
    font-size: 0.75rem;
    color: var(--primary-black);
    opacity: 0.7;
    line-height: 1.3;
}

/* Category Badges */
.category-badge {
    padding: 0.25rem 0.5rem;
    border: 1px solid #fff;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-news {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #991B1B;
}

.category-sports {
    background: #DBEAFE;
    color: #1D4ED8;
    border-color: #1D4ED8;
}

.category-entertainment {
    background: #F3E8FF;
    color: #7C3AED;
    border-color: #7C3AED;
}

/* Status Badges (extending existing styles) */
.status-pending {
    background: #FEF3C7;
    color: #92400E;
    border-color: #92400E;
}

.status-approved {
    background: #DCFCE7;
    color: #166534;
    border-color: #166534;
}

.status-published {
    background: #DBEAFE;
    color: #1D4ED8;
    border-color: #1D4ED8;
}

/* Date Info */
.date-info {
    font-size: 0.875rem;
    color: #fff;
}

.time-info {
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.6;
    margin-top: 0.125rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.375rem 0.75rem;
    border: 2px solid;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.action-approve {
    color: #059669;
    border-color: #059669;
    background: #F0FDF4;
}

.action-approve:hover {
    background: #059669;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #047857;
}

.action-publish {
    color: #1E40AF;
    border-color: #1E40AF;
    background: #EFF6FF;
}

.action-publish:hover {
    background: #1E40AF;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #1E3A8A;
}

.action-unpublish {
    color: #D97706;
    border-color: #D97706;
    background: #FEF3C7;
}

.action-unpublish:hover {
    background: #D97706;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #B45309;
}

.action-delete {
    color: #DC2626;
    border-color: #DC2626;
    background: #FEF2F2;
}

.action-delete:hover {
    background: #DC2626;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #B91C1C;
}

.action-preview {
    color: #7C3AED;
    border-color: #7C3AED;
    background: #FAF5FF;
    text-decoration: none;
    display: inline-block;
}

.action-preview:hover {
    background: #7C3AED;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #6D28D9;
    text-decoration: none;
}

.action-regenerate {
    color: #8B5CF6;
    border-color: #8B5CF6;
    background: #FAF5FF;
}

.action-regenerate:hover {
    background: #8B5CF6;
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 #7C3AED;
}

/* Admin Empty State */
.admin-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    border: 2px dashed var(--primary-black);
    border-radius: 0.5rem;
    background: #FAFAFA;
}

.admin-empty-state svg {
    width: 3rem;
    height: 3rem;
    color: var(--text-muted);
    margin: 0 auto 1rem;
}

.admin-empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.admin-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Mobile Responsive for Admin */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .admin-stat-number {
        font-size: 1.5rem;
    }
    
    .admin-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-nav-card {
        padding: 1rem;
    }
    
    .admin-nav-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .admin-nav-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 100%;
        width: 100%;
    }
    
    .story-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .story-thumbnail {
        align-self: flex-start;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
} 

/* ===== ADMIN-SPECIFIC STYLES ===== */

/* Admin Breadcrumb */
.admin-breadcrumb {
    margin-bottom: 2rem;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-back-link:hover {
    background: #FEF3C7;
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--primary-black);
}

.admin-back-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Admin Action Section */
.admin-action-section {
    background: #FFFBEB;
    border: 2px dashed var(--primary-black);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

/* Admin button container with proper spacing for cube effects */
.admin-button-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
}

/* Ensure cube buttons have proper spacing in admin sections */
.admin-action-section .dashboard-btn.cube {
    margin: 0.5rem 0.25rem;
}

/* Bulk actions container */
.bulk-actions {
    background: #FEF3C7;
    border: 2px dashed #F59E0B;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    display: none;
}

.bulk-actions-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bulk-actions .dashboard-btn.cube {
    margin: 0.5rem 0.25rem;
}

/* General containment for all cube buttons in bordered containers */
div[class*="card"] .dashboard-btn.cube,
div[class*="card"] .admin-btn.cube,
div[class*="card"] .action-btn.cube {
    margin: 0.5rem 0.25rem;
}

/* Ensure no cube button overflow in any bordered/dashed containers */
div[style*="border"][style*="dashed"] {
    padding: 2rem;
    overflow: visible;
}

div[style*="border"][style*="dashed"] .dashboard-btn.cube,
div[style*="border"][style*="dashed"] .admin-btn.cube {
    margin: 0.5rem 0.25rem;
}

.admin-action-section p {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Candidates Grid */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.candidate-card {
    background: white;
    border: 2px solid var(--primary-black);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.candidate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 0.25rem 0.25rem 0 0;
}

.candidate-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--primary-black);
}

.candidate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.candidate-priority {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-black);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.candidate-content {
    margin-bottom: 1.5rem;
}

.candidate-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.candidate-summary {
    font-size: 0.875rem;
    color: var(--primary-black);
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.candidate-source {
    margin-bottom: 0.75rem;
}

.source-link {
    font-size: 0.875rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.source-link:hover {
    text-decoration: underline;
}

.candidate-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.candidate-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    border-style: dotted;
}

.candidate-date {
    font-size: 0.75rem;
    color: var(--primary-black);
    opacity: 0.6;
    font-weight: 500;
}

/* Quality Dashboard Styles */
.quality-metric-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.quality-status {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quality-status-excellent {
    background-color: #d4edda;
    color: #155724;
}

.quality-status-good {
    background-color: #cce7ff;
    color: #004085;
}

.quality-status-warning {
    background-color: #fff3cd;
    color: #856404;
}

.quality-status-error {
    background-color: #f8d7da;
    color: #721c24;
}

.quality-score {
    text-align: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--charcoal-black);
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
}

.quality-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.quality-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #17a2b8 100%);
    transition: width 0.3s ease;
}

.quality-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quality-tests-card {
    border-left: 4px solid var(--primary-blue);
}

.quality-tests-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quality-test-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.test-name {
    font-weight: 500;
    color: var(--charcoal-black);
}

.test-result {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.test-result svg {
    width: 16px;
    height: 16px;
}

.test-result-passed {
    color: #28a745;
}

.test-result-warning {
    color: #ffc107;
}

.test-result-failed {
    color: #dc3545;
}

.test-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.test-status-completed {
    background-color: #d4edda;
    color: #155724;
}

.score-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.score-value {
    font-weight: 600;
    font-size: 0.875rem;
}

.mini-progress-bar {
    width: 60px;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #17a2b8 100%);
    transition: width 0.3s ease;
}

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

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.recommendation-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
}

.warning-icon {
    color: #ffc107;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-weight: 600;
    color: var(--charcoal-black);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.recommendation-description {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .quality-details-grid {
        grid-template-columns: 1fr;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .recommendation-item {
        padding: 0.75rem;
    }
}

/* Social Media Dashboard Styles */
.social-info-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-blue);
}

.social-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-section {
    /* Each section in the info grid */
}

.info-section-title {
    font-weight: 600;
    color: var(--charcoal-black);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.info-list strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.admin-success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.social-stories-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-story-card {
    border-left: 4px solid var(--primary-yellow);
}

.story-header {
    background: linear-gradient(135deg, #fffef5 0%, #ffffff 100%);
}

.story-header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-info {
    flex: 1;
}

.story-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-black);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.story-category {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-news {
    background-color: #dbeafe;
    color: #1e40af;
}

.category-sports {
    background-color: #dcfce7;
    color: #166534;
}

.category-entertainment {
    background-color: #fef3c7;
    color: #92400e;
}

.story-date,
.story-views {
    font-size: 0.875rem;
    color: #6b7280;
}

.story-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 0;
}

/* Ensure cube buttons have proper spacing in story actions */
.story-actions .admin-btn.cube {
    margin: 0.5rem 0.25rem;
}

.inline-form {
    display: inline-block;
}

.social-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.social-platform-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-icon {
    flex-shrink: 0;
}

.twitter-icon {
    color: #1da1f2;
}

.instagram-icon {
    color: #e4405f;
}

.facebook-icon {
    color: #1877f2;
}

.linkedin-icon {
    color: #0a66c2;
}

.platform-name {
    font-weight: 600;
    color: var(--charcoal-black);
}

.platform-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.character-count {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.copy-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twitter-copy-btn {
    background-color: #1da1f2;
    color: white;
}

.twitter-copy-btn:hover {
    background-color: #1991db;
}

.instagram-copy-btn {
    background-color: #e4405f;
    color: white;
}

.instagram-copy-btn:hover {
    background-color: #d73653;
}

.facebook-copy-btn {
    background-color: #1877f2;
    color: white;
}

.facebook-copy-btn:hover {
    background-color: #166fe5;
}

.linkedin-copy-btn {
    background-color: #0a66c2;
    color: white;
}

.linkedin-copy-btn:hover {
    background-color: #095db5;
}

.platform-content {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--charcoal-black);
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 150px;
    overflow-y: auto;
}

.social-empty-state {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.social-empty-state svg {
    margin: 0 auto 1rem;
    color: #9ca3af;
}

.social-empty-state p {
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

/* Mobile Responsiveness for Social Media Page */
@media (max-width: 768px) {
    .story-header-content {
        align-items: stretch;
    }
    
    .story-actions {
        justify-content: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .story-actions .admin-btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platform-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .platform-controls {
        align-self: flex-end;
    }
    
    .social-image-row {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }
    
    .social-download-btn .download-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .admin-container {
        padding: 0.5rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .platform-content {
        font-size: 0.8rem;
        max-height: 120px;
    }
    
    .social-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .social-download-btn {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .social-platforms-grid {
        gap: 0.75rem;
    }
    
    .social-platform-card {
        margin-bottom: 0.5rem;
    }
}

/* Story Image Section for Social Media Page */
.story-image-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.story-image-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.story-featured-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--primary-black);
    flex-shrink: 0;
}

.image-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-label {
    font-weight: 600;
    color: var(--charcoal-black);
    font-size: 0.875rem;
}

.image-filename {
    font-size: 0.75rem;
    color: #6b7280;
    font-family: monospace;
    background-color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    word-break: break-all;
}

@media (max-width: 640px) {
    .story-image-container {
        flex-direction: column;
        text-align: center;
    }
    
    .story-featured-image {
        width: 100px;
        height: 100px;
    }
}

/* ===== CATEGORY BADGE OVERRIDE - ENSURES CONSISTENT NEWSPAPER STYLING ===== */
/* This rule has higher specificity to override all conflicting definitions above */

.category-badge,
.card .category-badge,
.story-item .category-badge,
.admin-table .category-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem !important;
    border: 2px solid !important;
    border-radius: 0.25rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0;
    font-family: var(--font-serif) !important;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1) !important;
}

.category-news,
.card .category-news,
.story-item .category-news,
.admin-table .category-news {
    background: #FEE2E2 !important;
    color: #991B1B !important;
    border-color: #991B1B !important;
}

.category-sports,
.card .category-sports,
.story-item .category-sports,
.admin-table .category-sports {
    background: #DBEAFE !important;
    color: #1D4ED8 !important;
    border-color: #1D4ED8 !important;
}

.category-entertainment,
.card .category-entertainment,
.story-item .category-entertainment,
.admin-table .category-entertainment {
    background: #F3E8FF !important;
    color: #7C3AED !important;
    border-color: #7C3AED !important;
}

/* ===== SOCIAL MEDIA PAGE STYLES ===== */

/* Social Image Thumbnail Section */
.social-image-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.social-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--primary-black);
    flex-shrink: 0;
}

.social-download-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-story-card {
    border-left: 4px solid var(--primary-yellow);
}

/* ===== PAGINATION STYLES ===== */

.pagination-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn,
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid var(--border-medium);
    border-radius: 0.375rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    min-width: 2.5rem;
    height: 2.5rem;
}

.pagination-btn:hover,
.pagination-number:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none;
}

.pagination-number.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    min-width: 2.5rem;
    height: 2.5rem;
}

.pagination-info {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    background-color: var(--bg-secondary);
    border-radius: 0.375rem;
    border: 1px solid var(--border-light);
}

/* Mobile Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn,
    .pagination-number {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
        min-width: 2.25rem;
        height: 2.25rem;
    }
    
    .pagination-info {
        font-size: 0.8rem;
        padding: 0.375rem;
    }
}

/* ===================================
   LEGAL PAGES STYLES - NEWSPAPER DESIGN  
   =================================== */

/* Legal Page Container */
.legal-container {
    min-height: calc(100vh - 200px);
    background: var(--bg-primary);
    padding: 2rem 0 4rem;
    font-family: var(--font-sans);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Legal Introduction Section */
.legal-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.legal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--secondary-yellow);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.legal-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-blue);
}

.legal-intro h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Legal Sections */
.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.legal-section {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-yellow);
}

.legal-section h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-section h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

/* Legal Lists */
.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Legal Highlights */
.legal-highlight {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, #fef3c7 100%);
    border: 1px solid var(--primary-yellow);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.legal-highlight h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 1rem;
}

.legal-highlight p {
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Accessibility Features Grid */
.accessibility-features {
    margin: 1.5rem 0;
}

.accessibility-features h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Content Features Grid */
.content-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Compatibility Grid */
.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.compatibility-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.compatibility-item h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.compatibility-item p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-option {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-option h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-option p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-option p:last-child {
    margin-bottom: 0;
}

.contact-option a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-option a:hover {
    text-decoration: underline;
}

/* Links in Legal Content */
.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.legal-section a:hover {
    border-bottom-color: var(--primary-blue);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 1rem 0 2rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-intro h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
    
    .content-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .compatibility-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Homepage-specific optimizations */
body.dashboard-container .dashboard-header {
    padding-bottom: 0.5rem; /* Reduced from 2rem to minimize gap after removing hero features */
}

body.dashboard-container .dashboard-header-content {
    padding-bottom: 0; /* Removed bottom padding since hero features moved below stories */
}

/* Mobile Homepage Optimization - Hide tagline and section headers on mobile */
@media (max-width: 768px) {
    /* Hide hero tagline on mobile */
    .hero-tagline {
        display: none;
    }
    
    /* Hide section header (Latest Stories heading and subtitle) on mobile */
    .section-header {
        display: none;
    }
}