/* BEACON CSS BUNDLE - Generated Tue Feb 17 13:05:24 EST 2026 */
/**
 * LIT Conversion Features CSS
 * - Weekend Countdown Timer
 * - Exit Intent Popup
 * - Social Share Buttons
 * - Testimonial Carousel
 * - Print Styles
 */

/* =====================================================
   WEEKEND COUNTDOWN TIMER
   ===================================================== */
.weekend-countdown {
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.countdown-normal {
    background: var(--gray-100);
    color: var(--gray-700);
}

.countdown-soon {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.countdown-active {
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    color: white;
    animation: pulse-glow 2s ease-in-out infinite;
}

.countdown-urgent {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    animation: pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.countdown-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =====================================================
   EXIT INTENT POPUP
   ===================================================== */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.exit-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: popup-slide-up 0.4s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@keyframes popup-slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
    z-index: 10;
}

.popup-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    padding: 32px 24px;
    text-align: center;
    color: white;
}

.popup-header .popup-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
}

.popup-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.popup-header p {
    opacity: 0.95;
    font-size: 1rem;
}

.popup-body {
    padding: 24px;
}

.popup-benefits {
    margin-bottom: 24px;
}

.popup-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.popup-benefits li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

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

.popup-form input[type="email"] {
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.popup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.popup-form .btn {
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-form .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.popup-footer {
    text-align: center;
    padding-top: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.popup-footer a {
    color: var(--gray-500);
    text-decoration: underline;
}

/* =====================================================
   SOCIAL SHARE BUTTONS
   ===================================================== */
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
}

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

.share-btn-facebook:hover {
    background: #0d65d9;
}

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

.share-btn-twitter:hover {
    background: #0c8de4;
}

.share-btn-whatsapp {
    background: #25d366;
    color: white;
}

.share-btn-whatsapp:hover {
    background: #1da854;
}

.share-btn-copy {
    background: var(--gray-200);
    color: var(--gray-700);
}

.share-btn-copy:hover {
    background: var(--gray-300);
}

/* Compact share icons (for event cards) */
.share-icons {
    display: flex;
    gap: 4px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.share-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* =====================================================
   TESTIMONIAL CAROUSEL
   ===================================================== */
.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 16px;
}

.testimonial-card-large {
    background: var(--gray-50);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text-large {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-author-info h4 {
    font-weight: 700;
    color: var(--gray-900);
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Carousel navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-prev,
.carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-600);
    transition: all 0.2s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: white;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* =====================================================
   SAVE FOR LATER BUTTON
   ===================================================== */
.save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    transition: all 0.2s;
}

.save-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.save-btn.saved {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-it-works {
    padding: 60px 0;
    background: var(--gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Connector lines (desktop) */
@media (min-width: 768px) {
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 24px;
        right: -16px;
        width: 32px;
        height: 2px;
        background: var(--gray-300);
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    /* Hide non-essential elements */
    .header,
    .footer,
    .newsletter-section,
    .insider-section,
    .exit-popup,
    .back-to-top,
    .sticky-cta,
    .mobile-menu-btn,
    .mobile-nav,
    .share-buttons,
    .save-btn,
    .btn,
    .unlock-overlay,
    .locked-section,
    nav,
    button {
        display: none !important;
    }

    /* Reset backgrounds for print */
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .hero,
    .section {
        background: white !important;
        color: black !important;
        padding: 20pt 0;
    }

    /* Make event cards print-friendly */
    .event-card,
    .news-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
        margin-bottom: 16pt;
    }

    .event-image,
    .news-image {
        height: auto;
        max-height: 150pt;
    }

    /* Show URLs for links */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }

    /* Print header */
    .print-header {
        display: block !important;
        text-align: center;
        padding: 20pt 0;
        border-bottom: 2pt solid var(--primary);
        margin-bottom: 20pt;
    }

    .print-header h1 {
        font-size: 18pt;
        margin-bottom: 4pt;
    }

    .print-header p {
        font-size: 10pt;
        color: #666;
    }

    /* Page setup */
    @page {
        margin: 0.75in;
    }

    /* Grid adjustments */
    .events-grid,
    .news-grid {
        display: block;
    }
}

/* Print-only elements (hidden on screen) */
.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block !important;
    }
}

/* =====================================================
   ACCESSIBILITY IMPROVEMENTS
   ===================================================== */

/* Better focus indicators */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .carousel-track {
        transition: none;
    }
}

/* High contrast mode improvements */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid black;
    }

    .event-card,
    .news-card {
        border: 2px solid black;
    }
}
/**
 * LIT Mobile Experience Audit - Feb 7, 2026
 * ==========================================
 * Comprehensive mobile fixes for all pages
 * - Touch targets 44px minimum
 * - No overflow/cutoff issues
 * - Proper spacing on small screens
 * - Form optimization for mobile
 */

/* =====================================================
   GLOBAL MOBILE FIXES
   ===================================================== */

/* Ensure no horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Minimum touch target size (44px) */
@media (max-width: 768px) {
    a, button, 
    .btn, 
    .nav-link,
    .save-btn,
    .share-btn,
    .share-icon,
    input[type="submit"],
    input[type="button"],
    [role="button"],
    .clickable {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ensure sufficient tap padding */
    .btn {
        padding: 14px 24px;
    }
    
    .btn-small {
        padding: 12px 20px;
        min-height: 44px;
    }
}

/* =====================================================
   HEADER / NAVIGATION MOBILE FIXES
   ===================================================== */

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header .container {
        padding: 0 16px;
    }
    
    .logo img {
        height: 36px;
    }
    
    /* Ensure mobile menu button is tappable */
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    /* Mobile close button */
    .mobile-close-btn {
        width: 48px;
        height: 48px;
        top: 16px;
        right: 16px;
    }
    
    /* Mobile nav links */
    .mobile-nav .nav-link {
        padding: 14px 0;
        font-size: 1.25rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Hide desktop CTA in header on mobile */
    .header .btn {
        display: none !important;
    }
}

/* =====================================================
   HERO SECTION MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 48px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero p,
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    
    .hero-stat {
        flex: 0 0 auto;
        min-width: 100px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 12px;
    }
}

/* =====================================================
   EVENT CARDS MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-card {
        margin: 0;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-content {
        padding: 16px;
    }
    
    .event-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .event-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .event-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Ensure share/save buttons are tappable */
    .share-icons {
        gap: 8px;
    }
    
    .share-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .save-btn {
        min-height: 44px;
        padding: 10px 16px;
    }
}

/* =====================================================
   VOTE SECTION MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .vote-categories {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    /* Category card images - MUST show on mobile */
    .category-image {
        height: 140px !important;
        display: block !important;
        visibility: visible !important;
        overflow: hidden;
    }
    
    .category-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Nominee cards */
    .nominee-card {
        padding: 16px;
        flex-wrap: nowrap;
    }
    
    /* Nominee images - MUST show on mobile */
    .nominee-image {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        display: block !important;
        visibility: visible !important;
        flex-shrink: 0 !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 12px;
    }
    
    .vote-btn {
        min-height: 44px;
        width: 100%;
        margin-top: 12px;
    }
    
    /* Progress bars */
    .progress-bar {
        height: 8px;
    }
    
    /* Categories grid on vote.html */
    .categories-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .category-image {
        height: 120px !important;
    }
    
    .nominee-image {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }
    
    .nominee-card {
        gap: 12px;
    }
}

/* =====================================================
   TESTIMONIAL CAROUSEL MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 0;
    }
    
    .testimonial-card-large {
        padding: 24px 20px;
    }
    
    .testimonial-text-large {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-avatar-large {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .carousel-nav {
        margin-top: 20px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 48px;
        height: 48px;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
    }
}

/* =====================================================
   FORMS MOBILE
   ===================================================== */

@media (max-width: 768px) {
    /* Input fields */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        min-height: 48px;
        padding: 14px 16px;
        width: 100%;
        border-radius: 12px;
    }
    
    /* Form layouts */
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-group {
        width: 100%;
    }
    
    /* Labels */
    .form-label,
    label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    /* Submit buttons */
    .form-submit,
    form .btn,
    form button[type="submit"] {
        width: 100%;
        min-height: 48px;
    }
    
    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    /* Popup form */
    .popup-form {
        gap: 16px;
    }
    
    .popup-form input[type="email"] {
        padding: 16px 20px;
    }
}

/* =====================================================
   EXIT POPUP MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .exit-popup {
        padding: 12px;
        align-items: flex-end; /* Slide up from bottom on mobile */
    }
    
    .popup-content {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .popup-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
    
    .popup-header {
        padding: 24px 20px;
    }
    
    .popup-header .popup-emoji {
        font-size: 2.5rem;
    }
    
    .popup-header h3 {
        font-size: 1.25rem;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-benefits li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

/* =====================================================
   COUNTDOWN TIMER MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .weekend-countdown {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .countdown-message {
        text-align: center;
        line-height: 1.4;
    }
}

/* =====================================================
   GOOD NEWS PAGE MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        margin: 0;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 16px;
    }
    
    .news-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
}

/* =====================================================
   INSIDER PAGE MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .pricing-card {
        padding: 24px 20px;
        margin: 0 -8px;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .price-period {
        font-size: 0.9rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        padding: 8px 0;
    }
    
    /* How It Works section */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step-card::after {
        display: none; /* Hide connector lines on mobile */
    }
    
    .step-icon {
        font-size: 2rem;
    }
}

/* =====================================================
   FAQ PAGE MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        min-width: 24px;
    }
}

/* =====================================================
   FOOTER MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =====================================================
   UTILITY MOBILE CLASSES
   ===================================================== */

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    .full-width-mobile {
        width: 100% !important;
    }
    
    /* Spacing adjustments */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
}

/* =====================================================
   SCROLL / OVERFLOW FIXES
   ===================================================== */

/* Prevent content from breaking out */
.container,
.event-card,
.news-card,
.category-card,
.pricing-card,
.testimonial-card-large {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Long text handling */
.event-title,
.news-title,
.category-title,
h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* =====================================================
   SAFE AREA INSETS (iPhone X+ notch support)
   ===================================================== */

@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
    
    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .sticky-cta {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* =====================================================
   LANDSCAPE MOBILE FIXES
   ===================================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 24px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .exit-popup {
        align-items: center;
    }
    
    .popup-content {
        max-height: 95vh;
        border-radius: 24px;
    }
}

/* =====================================================
   ARTICLE CONTENT MOBILE SPACING - Feb 7, 2026
   ===================================================== */

@media (max-width: 768px) {
    .article-content {
        padding: 32px 20px !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
}

/* =====================================================
   PERFORMANCE - LAZY LOADING PLACEHOLDERS
   ===================================================== */

img[loading="lazy"] {
    background: var(--gray-100);
}

/* Image loading placeholder animation */
@keyframes image-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

img[loading="lazy"]:not([src]) {
    background: linear-gradient(
        90deg,
        var(--gray-100) 0px,
        var(--gray-50) 40px,
        var(--gray-100) 80px
    );
    background-size: 200px 100%;
    animation: image-loading 1.5s infinite;
}

/* ============================================
   ARTICLE MOBILE EDGE SPACING FIX
   ============================================ */

@media (max-width: 768px) {
    .article-content {
        padding: 32px 20px !important;
        max-width: 100% !important;
    }
    
    .article-content p,
    .article-content h2 {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* General container mobile padding */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Hero sections on mobile */
    .hero .container,
    .article-hero .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .article-hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 24px 16px !important;
    }
    
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/**
 * Long Island Today (LIT) - Production Styles
 * Cookie Consent, PWA Install Prompt
 */

/* ============================================
   COOKIE CONSENT BANNER - Minimal Modern Style
   ============================================ */

#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background: #171717;
    color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    #cookie-consent-banner {
        left: 20px;
        right: auto;
    }
}

#cookie-consent-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-content {
    padding: 20px;
}

.cookie-consent-text {
    margin-bottom: 16px;
}

.cookie-consent-icon {
    display: none;
}

.cookie-consent-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.cookie-consent-text p {
    font-size: 0.8rem;
    color: #a3a3a3;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn-primary {
    background: #E86A33;
    color: white;
    flex: 1;
}

.cookie-btn-primary:hover {
    background: #d35a24;
}

.cookie-btn-secondary {
    background: #404040;
    color: #e5e5e5;
}

.cookie-btn-secondary:hover {
    background: #525252;
}

.cookie-btn-outline {
    background: transparent;
    color: #a3a3a3;
    border: 1px solid #404040;
    padding: 10px 14px;
}

.cookie-btn-outline:hover {
    background: #262626;
    color: #ffffff;
    border-color: #525252;
}

/* Cookie Customize Panel */
.cookie-consent-customize {
    border-top: 1px solid #333;
    padding: 16px 20px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
}

.cookie-option {
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #e5e5e5;
    color: var(--gray-700, #404040);
    line-height: 1.5;
}

.cookie-option label strong {
    color: var(--gray-900, #171717);
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary, #E86A33);
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-customize-actions {
    padding-top: 16px;
    display: flex;
    justify-content: flex-end;
}


/* ============================================
   PWA INSTALL PROMPT
   ============================================ */

#pwa-install-prompt {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 400px;
    background: var(--white, #ffffff);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 500px) {
    #pwa-install-prompt {
        left: auto;
        right: 24px;
        bottom: 24px;
    }
}

#pwa-install-prompt.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pwa-prompt-content {
    padding: 24px;
    position: relative;
}

.pwa-prompt-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--gray-100, #f5f5f5);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--gray-500, #737373);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pwa-prompt-close:hover {
    background: var(--gray-200, #e5e5e5);
    color: var(--gray-700, #404040);
}

.pwa-prompt-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-lighter, #fff5f0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-prompt-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pwa-prompt-text {
    text-align: center;
    margin-bottom: 20px;
}

.pwa-prompt-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900, #171717);
    margin: 0 0 8px 0;
}

.pwa-prompt-text p {
    font-size: 0.9rem;
    color: var(--gray-600, #525252);
    margin: 0;
    line-height: 1.5;
}

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

.pwa-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.pwa-btn-primary {
    background: var(--primary, #E86A33);
    color: white;
}

.pwa-btn-primary:hover {
    background: var(--primary-dark, #d35a24);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 106, 51, 0.3);
}

.pwa-btn-secondary {
    background: var(--gray-100, #f5f5f5);
    color: var(--gray-700, #404040);
}

.pwa-btn-secondary:hover {
    background: var(--gray-200, #e5e5e5);
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 500px) {
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    #pwa-install-prompt {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    
    .pwa-prompt-content {
        padding: 20px;
    }
}


/* ============================================
   PRINT: HIDE ALL OVERLAYS
   ============================================ */

@media print {
    #cookie-consent-banner,
    #pwa-install-prompt {
        display: none !important;
    }
}


/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    #cookie-consent-banner,
    #pwa-install-prompt {
        transition: none;
    }
    
    #cookie-consent-banner.visible,
    #pwa-install-prompt.visible {
        transition: none;
    }
}
