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

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background-color: #f0fdf4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-logo a {
    color: #fff;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: #6ee7b7;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0891b2 100%);
    color: #fff;
    margin-bottom: 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #064e3b;
    font-weight: 800;
}

.page-description {
    font-size: 1.1rem;
    color: #475569;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #047857;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.category-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-card * {
    text-decoration: none !important;
}

.category-card a {
    text-decoration: none !important;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #0d9488 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: #a7f3d0;
    text-decoration: none !important;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card h3 {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
}

.category-card h3 a {
    color: #1e293b;
    text-decoration: none !important;
}

.category-card p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    text-decoration: none !important;
}

.category-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    color: #059669;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: #059669;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none !important;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-link {
    color: #047857;
}

/* Category-specific styles */
.category-card.category-power {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border-left: 4px solid #dc2626;
}

.category-card.category-power .category-icon { color: #dc2626; }
.category-card.category-power .category-link { color: #dc2626; }
.category-card.category-power:hover .category-link { color: #b91c1c; }

.category-card.category-natural-gas {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border-left: 4px solid #d97706;
}

.category-card.category-natural-gas .category-icon { color: #d97706; }
.category-card.category-natural-gas .category-link { color: #d97706; }
.category-card.category-natural-gas:hover .category-link { color: #b45309; }

.category-card.category-internet {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-left: 4px solid #2563eb;
}

.category-card.category-internet .category-icon { color: #2563eb; }
.category-card.category-internet .category-link { color: #2563eb; }
.category-card.category-internet:hover .category-link { color: #1d4ed8; }

.category-card.category-water {
    background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
    border-left: 4px solid #0891b2;
}

.category-card.category-water .category-icon { color: #0891b2; }
.category-card.category-water .category-link { color: #0891b2; }
.category-card.category-water:hover .category-link { color: #0e7490; }

.category-cards-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.category-cards-section h2 {
    font-size: 2.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
    line-height: 1.2;
}

.category-cards-section .section-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #059669;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #047857;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #64748b;
}

.btn-secondary:hover {
    background-color: #475569;
}

/* Outages List */
.outages-list {
    display: grid;
    gap: 1.5rem;
}

.outage-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.outage-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.category-power { background-color: #dc2626; }
.category-natural_gas { background-color: #d97706; }
.category-internet { background-color: #2563eb; }
.category-water { background-color: #0891b2; }

.outage-date {
    color: #64748b;
    font-size: 0.9rem;
}

.outage-item h2, .outage-item h3 {
    margin-bottom: 0.5rem;
}

.outage-item h2 a, .outage-item h3 a {
    color: #1e293b;
    text-decoration: none;
}

.outage-item h2 a:hover, .outage-item h3 a:hover {
    color: #059669;
}

.outage-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.outage-excerpt {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.read-more {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #047857;
    text-decoration: underline;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.city-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.1), 0 4px 8px rgba(0,0,0,0.05);
    border-color: #a7f3d0;
}

.city-card h3 {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.city-card h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.city-card h3 a:hover {
    color: #059669;
}

.city-card p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Outage Detail */
.outage-detail {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.outage-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecfdf5;
}

.outage-detail-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #064e3b;
    font-weight: 800;
}

.outage-summary {
    background-color: #ecfdf5;
    padding: 1rem 1.25rem;
    border-left: 4px solid #059669;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
    color: #064e3b;
}

.outage-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-part {
    margin-bottom: 1rem;
}

.read-more-btn {
    background-color: #059669;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background-color: #047857;
    transform: translateY(-1px);
}

.outage-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ecfdf5;
}

.related-links h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #064e3b;
}

.related-outages {
    list-style: none;
}

.related-outages li {
    margin-bottom: 0.5rem;
}

.related-outages a {
    color: #059669;
    text-decoration: none;
}

.related-outages a:hover {
    text-decoration: underline;
    color: #047857;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #fff;
    padding: 2.5rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #6ee7b7;
    font-weight: 700;
}

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

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

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

.footer-section a:hover {
    color: #6ee7b7;
}

.footer-section p {
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: #a7f3d0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #6ee7b7;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .outage-detail-header h1 {
        font-size: 1.8rem;
    }

    .outage-detail {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .main-content {
        padding: 1rem 0;
    }
}

/* SEO and Accessibility */
a:focus, button:focus {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* ============================================
   Search Section
   ============================================ */
.search-section {
    background: #ffffff !important;
    padding: 2.5rem !important;
    border-radius: 20px !important;
    margin-bottom: 3rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(5,150,105,0.08) !important;
    border: 1px solid #d1fae5 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.search-section h2 {
    margin-bottom: 2rem !important;
    color: #064e3b !important;
    font-size: 1.75rem !important;
    text-align: left !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.search-form {
    width: 100%;
    display: block;
}

.search-filters {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.5rem !important;
    align-items: start !important;
    width: 100% !important;
}

.filter-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative !important;
}

.filter-label {
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #064e3b !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.2px !important;
    display: block !important;
    height: 20px !important;
    line-height: 20px !important;
}

.filter-hint {
    display: block !important;
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    font-style: italic !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
}

.filter-select:not(:disabled) ~ .filter-hint {
    display: none !important;
}

.filter-select {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 2px solid #d1fae5 !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    color: #1e293b !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.875rem center !important;
    background-size: 14px 14px !important;
    padding-right: 2.5rem !important;
    min-height: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
}

.filter-select:focus {
    outline: none !important;
    border-color: #059669 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

.filter-select:hover:not(:disabled) {
    border-color: #6ee7b7 !important;
    background-color: #f0fdf4 !important;
}

.filter-select:disabled {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.filter-select option {
    padding: 0.75rem !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-size: 1rem !important;
}

.filter-select option:checked {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.filter-actions {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.filter-actions .btn-search-modern {
    margin-top: 20px !important;
}

.btn-search-modern {
    width: 100% !important;
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3) !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.btn-search-modern:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35) !important;
}

.btn-search-modern:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3) !important;
}

.btn-search-modern svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

/* Search Results */
.search-results {
    margin-bottom: 3rem;
}

.search-results h2 {
    margin-bottom: 1.5rem;
    color: #064e3b;
    font-size: 1.8rem;
}

.no-results {
    text-align: center;
    padding: 2rem;
    background: #ecfdf5;
    border-radius: 12px;
    color: #475569;
    font-size: 1.1rem;
    border: 1px solid #d1fae5;
}

.error-message {
    text-align: center;
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
}

/* Content Page Styles */
.content-page {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.content-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ecfdf5;
}

.content-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0 0.5rem;
    color: #064e3b;
    line-height: 1.2;
    font-weight: 800;
}

.content-subtitle {
    font-size: 1.2rem;
    color: #475569;
    margin-top: 0.5rem;
}

.content-body {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #334155;
}

.content-intro {
    margin-bottom: 2.5rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section h2 {
    font-size: 1.6rem;
    color: #064e3b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d1fae5;
    font-weight: 700;
}

.content-section p {
    margin-bottom: 1.25rem;
    color: #475569;
}

.content-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.content-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #475569;
    line-height: 1.7;
}

.content-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 1.2rem;
}

.content-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ecfdf5;
}

.disclaimer {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 1rem;
}

/* Read More Section */
.content-more {
    margin-top: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.content-more-blurred {
    filter: blur(4px) !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
    user-select: none !important;
    max-height: 600px !important;
    overflow: hidden !important;
    position: relative;
}

.content-more-blurred::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    z-index: 1;
}

.content-more-expanded {
    filter: blur(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.read-more-container {
    text-align: center;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 2px solid #ecfdf5;
    border-bottom: 2px solid #ecfdf5;
    position: relative;
    z-index: 10;
}

.btn-read-more {
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    display: inline-block;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-read-more:active {
    transform: translateY(0);
}

.btn-read-more.expanded {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.btn-read-more.expanded:hover {
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.35);
}

/* Responsive Form */
@media (max-width: 768px) {
    .search-filters {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .filter-group {
        margin-bottom: 0;
    }

    .search-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .search-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .filter-select {
        font-size: 0.95rem;
        padding: 0.75rem 0.875rem;
        padding-right: 2.25rem;
    }

    .btn-search-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .content-page {
        padding: 1.5rem;
    }

    .content-header h1 {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }
}

/* SEO Content Section */
.seo-content-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    color: #064e3b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.seo-content h3 {
    font-size: 1.5rem;
    color: #065f46;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.seo-content h4 {
    font-size: 1.25rem;
    color: #065f46;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.seo-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}

.seo-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #334155;
}

.seo-content strong {
    color: #064e3b;
    font-weight: 600;
}

.search-description,
.section-description {
    margin-bottom: 1.5rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* Print Styles */
@media print {
    .main-header, .main-footer, .read-more, .read-more-btn, .search-section {
        display: none;
    }

    .outage-content .hidden-content {
        display: block !important;
    }
}

/* Provider Box Styles */
.provider-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-left: 5px solid #059669;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 12px 12px 0;
}

.provider-box h3 {
    margin-top: 0;
    color: #064e3b;
    font-size: 1.2rem;
    font-weight: 700;
}

.provider-box.warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    border-left-color: #d97706;
}

.provider-box.warning h3 {
    color: #92400e;
}

.provider-box ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.provider-box li {
    margin-bottom: 8px;
    color: #475569;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

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

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #064e3b;
}

.faq-item p {
    margin-bottom: 0;
}

/* Content Disclaimer Footer */
.content-disclaimer {
    margin-top: 2rem;
    font-size: 0.85em;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

/* Emergency Box Styles */
.emergency-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    border-left: 5px solid #dc2626;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 12px 12px 0;
}

.emergency-box h3 {
    margin-top: 0;
    color: #991b1b;
}

/* Safety Box Styles */
.safety-box {
    background: #f0fdf4;
    padding: 1.25rem;
    border: 1px dashed #a7f3d0;
    margin: 1.25rem 0;
    border-radius: 8px;
}

/* FAQ Card Styles */
.faq-card {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-left: 3px solid #059669;
    border-radius: 0 8px 8px 0;
}

.faq-card strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #064e3b;
    font-size: 1.05rem;
}

.faq-card p {
    margin: 0;
}

/* Water Utility Box Styles */
.water-utility-box {
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
    border-left: 5px solid #0891b2;
    padding: 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 12px 12px 0;
}

.water-utility-box h3 {
    margin-top: 0;
    color: #155e75;
}

.water-utility-box .pro-tip {
    background: #fff;
    padding: 0.75rem 1rem;
    border: 1px solid #a5f3fc;
    border-radius: 8px;
    margin-top: 0.75rem;
}

/* Boil Water Advisory Box Styles */
.boil-water-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    padding: 1.25rem 1.5rem;
    border: 1px solid #fde68a;
    border-radius: 12px;
    margin: 1.25rem 0;
}

.boil-water-box h2 {
    color: #92400e;
}

/* Check List Styles */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #475569;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 1.2em;
}

/* ISP Expert Box Styles */
.isp-expert-box {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-left: 6px solid #2563eb;
    padding: 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 12px 12px 0;
}

.isp-expert-box h3 {
    margin-top: 0;
    color: #1e40af;
    display: flex;
    align-items: center;
}

.isp-expert-box .technical-diagnostic {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #dbeafe;
}

/* Grid Layout for Internet Outage Causes */
.cause-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.cause-grid-item {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cause-grid-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #064e3b;
}

.cause-grid-item p {
    font-size: 0.9em;
    margin: 0;
}

/* Connection Types Box */
.connection-types-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #fde68a;
    margin-top: 2rem;
}

/* Troubleshooting Guide */
.troubleshooting-list {
    line-height: 2;
}

/* FAQ Item Styles for Internet */
.faq-item-internet {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

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

.faq-item-internet h4 {
    margin-bottom: 0.5rem;
    color: #064e3b;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .cause-grid {
        grid-template-columns: 1fr;
    }
}

/* States Grid and Cards */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.states-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.states-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 800;
}

.states-section .section-description {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.state-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.state-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.1), 0 4px 8px rgba(0,0,0,0.05);
    border-color: #a7f3d0;
}

.state-card h3 {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.state-card h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.state-card h3 a:hover {
    color: #059669;
}

.state-card p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .states-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .states-section h2 {
        font-size: 1.75rem;
    }
}

/* State Info Section */
.state-info-section,
.state-category-info {
    margin: 3rem 0;
    padding: 2rem;
    background: #ecfdf5;
    border-radius: 16px;
    border: 1px solid #d1fae5;
}

.state-category-content {
    margin: 3rem 0;
}

.state-category-content h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.state-info-section h2 {
    font-size: 2rem;
    color: #064e3b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.state-info-content {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.state-info-content h3 {
    font-size: 1.5rem;
    color: #064e3b;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cities-section {
    margin-top: 3rem;
}

.cities-section h2 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cities-section .section-description {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .state-info-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .state-info-section h2 {
        font-size: 1.75rem;
    }

    .state-info-content h3 {
        font-size: 1.25rem;
    }

    .cities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cities-section h2 {
        font-size: 1.75rem;
    }
}

/* Outage Content Images */
.outage-content-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin: 1.75rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.outage-content-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .outage-content-image {
        margin: 1.25rem 0;
    }
}

/* Latest Category Reports - Featured Cards */
.latest-category-reports {
    margin: 4rem 0;
}

.latest-category-reports h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.latest-category-reports .section-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.category-featured-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.category-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: #a7f3d0;
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

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

.category-featured-card:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.featured-image-wrapper .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

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

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
}

.featured-date {
    font-weight: 600;
    color: #1e293b;
}

.featured-location {
    color: #64748b;
}

.featured-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.featured-content h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-content h3 a:hover {
    color: #059669;
}

.featured-description {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.featured-content .btn-primary {
    margin-bottom: 1rem;
    text-align: center;
    display: inline-block;
}

.featured-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: auto;
}

.last-updated {
    font-size: 0.875rem;
    color: #94a3b8;
    font-style: italic;
}

@media (max-width: 768px) {
    .category-featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .latest-category-reports h2 {
        font-size: 2rem;
    }

    .featured-image-wrapper {
        height: 180px;
    }
}

/* Safety List */
.safety-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.safety-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    color: #475569;
    line-height: 1.7;
}

.safety-list li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}
