/* ==================== Daily Record News STYLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --dark-blue: #1e3a8a;
    --light-blue: #dbeafe;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== STICKY HEADER WRAPPER ==================== */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Mobile Top Bar - Compact */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.7rem !important;
        padding: 0.4rem 0 !important;
    }
    
    .top-bar-content {
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
    }
    
    .top-bar-left,
    .top-bar-right {
        gap: 0.5rem !important;
    }
    
    .weather-info,
    .current-datetime {
        font-size: 0.7rem !important;
    }
    
    .streak-badge,
    .new-stories-badge {
        display: none !important;
    }
    
    .notif-btn {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .newsletter-btn {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.top-bar-center {
    justify-content: center;
    flex: 1;
}

/* Mobile top bar - compact layout */
@media (max-width: 768px) {
    .top-bar-content {
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        font-size: 0.7rem !important;
    }
    
    .top-bar-left {
        flex-shrink: 0;
    }
    
    .top-bar-right {
        gap: 0.5rem !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .weather-info,
    .current-datetime {
        font-size: 0.7rem !important;
    }
    
    .streak-badge,
    .new-stories-badge {
        display: none !important;
    }
    
    .notif-btn,
    .newsletter-btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
    
    .newsletter-btn span {
        display: none !important;
    }
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.weather-info,
.current-datetime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.notif-btn,
.newsletter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notif-btn:hover,
.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== HEADER ==================== */
.header {
    background: white;
    box-shadow: var(--shadow);
}

/* Mobile Header - Blue Background (Tide.co Style) */
@media (max-width: 768px) {
    .header {
        background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
        padding: 1rem 0 !important;
    }
    
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
    
    .header-left {
        flex-shrink: 0;
        flex: 1;
    }
    
    .header-left .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .header-left .logo-text {
        display: none !important;
    }
    
    .header-left .logo h1 {
        display: none !important;
    }
    
    .header-left .logo .tagline {
        display: none !important;
    }
    
    /* Center search button on mobile */
    .mobile-search-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        padding: 0.65rem 1.2rem !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        gap: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        max-width: 200px;
    }
    
    .mobile-search-btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    /* Hide search bar on mobile */
    .header-search-bar {
        display: none !important;
    }
    
    .header-left .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .header-left .logo-drn {
        font-size: 0.95rem;
    }
    
    .submit-story-btn,
    .theme-toggle {
        display: none !important;
    }
    
    /* Thick, bold hamburger menu */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: white !important;
        color: var(--primary-blue) !important;
        border: none !important;
        padding: 0.65rem !important;
        font-size: 1.8rem !important;
        font-weight: 900 !important;
        flex-shrink: 0;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        width: 50px;
        height: 50px;
    }
    
    .mobile-menu-toggle::before,
    .mobile-menu-toggle::after {
        display: none !important;
    }
    
    .mobile-menu-toggle i {
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.header-content {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Modern DRN Square Logo */
.logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.logo-drn {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--secondary-blue);
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: none;
    line-height: 1.1;
    margin-top: 2px;
}

.submit-story-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    height: 45px;
}

.submit-story-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: white;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* Header Search Bar */
.header-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 350px;
    height: 45px;
}

.header-search-bar i {
    color: #6b7280;
    font-size: 0.9rem;
}

.header-search-bar input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    flex: 1;
    color: #1f2937;
}

.header-search-bar input::placeholder {
    color: #9ca3af;
}

.header-search-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

/* Mobile Header Alignment */
@media (max-width: 768px) {
    .header-search-bar {
        max-width: 180px !important;
        padding: 0.4rem 0.8rem !important;
        margin-right: 0.5rem !important;
    }
    
    .header-search-bar input {
        font-size: 0.8rem !important;
    }
    
    .header-search-btn {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.75rem !important;
    }
    
    .submit-story-btn {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.75rem !important;
    }
    
    .submit-story-btn i {
        margin-right: 0 !important;
    }
    
    /* Sponsored card horizontal becomes vertical on mobile */
    .sponsored-card-horizontal {
        flex-direction: column !important;
    }
    
    .sponsored-card-horizontal img {
        width: 100% !important;
        height: 200px !important;
    }
}

.header-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.new-stories-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.new-stories-badge:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

/* ==================== SUBMIT STORY MODAL ==================== */
.submit-story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #eff6ff 0%, white 100%);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #e5e7eb;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.modal-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-logo-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}

.modal-header-text {
    flex: 1;
}

.modal-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.modal-close {
    background: var(--text-gray);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.submission-intro {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.char-count {
    display: block;
    text-align: right;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.submission-requirements {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    padding: 1rem;
    border-radius: 8px;
}

.submission-requirements h4 {
    color: #78350f;
    margin-bottom: 0.5rem;
}

.submission-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #78350f;
}

.submission-requirements li {
    margin-bottom: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.submit-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cancel-btn {
    background: var(--text-gray);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cancel-btn:hover {
    background: var(--text-dark);
}

#searchBtn,
#themeToggle,
#navToggle {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#searchBtn:hover,
#themeToggle:hover,
#navToggle:hover {
    background: var(--primary-blue);
    color: white;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    background: linear-gradient(to bottom, var(--light-blue) 0%, white 100%);
    border-bottom: 2px solid var(--border);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nav-menu::-webkit-scrollbar {
    height: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.05);
    border-bottom-color: var(--primary-blue);
}

/* ==================== FEATURED BANNER ==================== */
.featured-banner {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 0;
}

.live-ticker-wrapper {
    display: flex;
    align-items: center;
    height: 45px;
}

.ticker-logo {
    background: white;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.ticker-logo-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e40af;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}

.ticker-badge {
    background: #1e40af;
    color: white;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.ticker-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-scroll {
    display: flex;
    align-items: center;
    height: 100%;
    animation: scroll-ticker 4s linear infinite;
    white-space: nowrap;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Ticker - Faster animation */
@media (max-width: 768px) {
    .ticker-scroll {
        animation: scroll-ticker 2s linear infinite !important;
    }
    
    .ticker-badge {
        padding: 0.25rem 0.6rem !important;
        font-size: 0.6rem !important;
        margin: 0.25rem !important;
        letter-spacing: 0.8px !important;
    }
    
    .ticker-headline {
        font-size: 0.75rem !important;
        padding: 0 1rem !important;
    }
}

.ticker-headline {
    display: inline-flex;
    align-items: center;
    color: #1e40af;
    text-decoration: none;
    padding: 0 3rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border-right: 2px solid #e5e7eb;
}

.ticker-headline:hover {
    color: #3b82f6;
    transform: scale(1.02);
}

.ticker-headline-separator {
    margin: 0 0.75rem;
    color: #f97316;
    font-weight: 700;
}

.ticker-headline-text {
    font-weight: 600;
}

.ticker-headline-time {
    margin-left: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
    color: #6b7280;
}

.featured-banner h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: white;
    font-weight: 700;
}

.featured-banner p {
    font-size: 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ==================== INTERESTS BAR ==================== */
.interests-bar {
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px solid var(--secondary-blue);
}

.interests-header h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.interests-header p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.interests-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.interest-chip {
    background: white;
    border: 2px solid var(--secondary-blue);
    color: var(--primary-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interest-chip:hover,
.interest-chip.selected {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-color: transparent;
}

.get-recommendations-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.get-recommendations-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* ==================== NEWS GRID ==================== */
.latest-news h3,
.ai-recommended-section h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 2rem 0 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.author {
    font-size: 0.85rem;
    color: var(--secondary-blue);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Read More Link/Button */
.read-more-link,
.read-more-toggle {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.read-more-link:hover,
.read-more-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.read-more-toggle.active {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

/* Full Story Section */
.full-story-section {
    background: var(--light-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    line-height: 1.8;
}

.full-story-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: justify;
}

.full-story-text p:last-child {
    margin-bottom: 0;
}

.related-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-blue);
}

.related-links h5 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-links ul {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin-bottom: 0.5rem;
}

.related-links a {
    color: var(--secondary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.related-links a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.related-links a::before {
    content: '\\f0c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.region-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 165, 0, 0.9);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.excerpt-text {
    line-height: 1.7;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.instagram { background: linear-gradient(45deg, #F58529, #DD2A7B); }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: 2rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.about-section {
    max-width: 100%;
    line-height: 1.4;
}

.about-section p {
    margin: 0.3rem 0;
}

.about-section ul {
    display: none; /* Hide bullet lists - using horizontal text instead */
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-section h3:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
    padding-left: 0.3rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom .footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom .footer-legal-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom .footer-legal-links a:last-child {
    border-right: none;
}

.footer-bottom .footer-legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom p {
    margin: 0;
}

/* ==================== SEARCH SECTION ==================== */
.search-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.search-close-btn:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.search-container-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input-inline {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input-inline:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-submit-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ==================== LOAD MORE BUTTON ==================== */
.load-more-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: rotate(180deg);
}

/* ==================== ADVERTISEMENTS ==================== */
.ad-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fb923c;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.ad-label {
    display: inline-block;
    background: #f97316;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ad-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 2px dashed #fb923c;
    width: 100%;
}

.ad-placeholder p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ad-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== CONTENT WRAPPER WITH SIDEBAR ==================== */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content-area {
    min-width: 0;
}

/* ==================== SPONSORED SECTION ==================== */
.sponsored-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid #fbbf24;
}

.sponsored-section h3 {
    color: #78350f;
    margin-bottom: 0.5rem;
}

.sponsor-note {
    color: #92400e;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.sponsor-note a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.sponsor-note a:hover {
    text-decoration: underline;
}

.sponsored-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* NEW Single sponsored story container */
.sponsored-container-single {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-article {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.sidebar-article h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.sidebar-article p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.read-more-btn:hover {
    gap: 0.75rem;
    color: var(--secondary-blue);
}

.ad-widget {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--accent-blue);
}

.ad-placeholder-sidebar {
    background: white;
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed var(--accent-blue);
}

.ad-placeholder-sidebar p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.ad-cta-small {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.ad-cta-small:hover {
    background: var(--secondary-blue);
    transform: scale(1.05);
}

/* ==================== NEWSLETTER WIDGET ==================== */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.newsletter-widget h3 {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: 2px solid var(--accent-blue);
}

.newsletter-submit {
    width: 100%;
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==================== CONTACT LIST ==================== */
.contact-list {
    list-style: none;
}

.contact-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list i {
    color: var(--accent-blue);
    width: 20px;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.contact-list a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ==================== NEWS NOTIFICATION ==================== */
.news-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    max-width: 350px;
    z-index: 4000;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    position: relative;
}

.notification-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--text-gray);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.notification-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

.notification-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.news-notification h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.news-notification p {
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.notification-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .live-ticker-wrapper {
        height: 35px;
    }
    
    .ticker-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.6rem;
        letter-spacing: 0.8px;
        margin: 0.25rem;
    }
    
    .live-indicator {
        width: 6px;
        height: 6px;
    }
    
    .ticker-headline {
        padding: 0 1rem;
        font-size: 0.75rem;
    }
    
    .ticker-headline-time {
        font-size: 0.65rem;
    }
    
    .ticker-scroll {
        animation: scroll-ticker 4s linear infinite;
    }
    
    .featured-banner h2 {
        font-size: 1.5rem;
    }
    
    .featured-banner p {
        font-size: 0.9rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        justify-content: flex-start;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .news-notification {
        top: 70px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .news-notification h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .news-notification p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .notification-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .sponsored-grid {
        grid-template-columns: 1fr;
    }
    
    /* Scroll to top button - center on mobile */
    .scroll-top-btn {
        margin-left: 0 !important;
        bottom: 5rem !important;
    }
}

/* Toast notification animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}
