/*
 * Minol USA — Municipal Content Stylesheet
 * Created: May 2026
 * Updated: May 29, 2026 — v1.4
 *   - Stormwater header reorder fixes (template change)
 *   - WPBakery Custom CSS field cleared; rules migrated here
 *   - .left_button updated: blue bg (#083151), white text
 *   - Customer reference box (.ltgraybox) added
 *   - white-space-collapse override for H1 wrapping
 *   - v1.3: Button fix, table/FAQ font-weight
 *   - v1.2: Accordion FAQ, button styling
 *   - v1.1: H1 size, CTA color, phone nowrap, related links
 *
 * NAMING CONVENTION
 * All classes in this file use the .mun- prefix to avoid
 * conflicts with the existing theme CSS (styles.css, style-new.css,
 * responsive.css, style.css).
 *
 * Do NOT use: .municipal (taken), .minol-* (taken), .page_details (taken)
 * Check existing theme files before adding any new class outside this prefix.
 *
 * This file is enqueued globally via add_styles() in functions.php.
 * Intended for all municipal service pages.
 */


/* ══════════════════════════════════════════════════
   PAGE TITLE AND TAGLINE — H1 and p in Info ACF field
   ══════════════════════════════════════════════════ */

.head-title h1.mun-h2 {
    font-size: 210% !important;
    width: 80%;
    color: #000 !important;
    font-weight: 700 !important;
    line-height: normal !important;
    margin: 0 !important;
}

section.minol-info.municipal .hero-tagline {
    color: #000000 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

@media screen and (max-width: 1200px) {
    .head-title h1.mun-h2 {
        font-size: 150% !important;
        line-height: 1.2 !important;
        width: 80% !important;
    }
}

@media screen and (max-width: 900px) {
    .head-title h1.mun-h2 {
        font-size: 130% !important;
    }
}

@media screen and (max-width: 767px) {
    .head-title h1.mun-h2 {
        font-size: 130% !important;
    }
}


/* ══════════════════════════════════════════════════
   BOTTOM BUTTON — .left_button
   Blue bg, white text (replaces original grey/red)
   Background on container, not anchor.
   ══════════════════════════════════════════════════ */

.left_button {
    background-color: #083151 !important;
    border: 2px solid #134f86 !important;
    border-radius: 8px !important;
}

.left_button a,
.left_button a:link,
.left_button a:visited {
    color: #ffffff !important;
    font-weight: 700 !important;
    background-color: transparent !important;
    border: none !important;
}

.left_button:hover {
    background-color: #134f86 !important;
}

.left_button a:hover {
    color: #ffffff !important;
}

section.minol-info.municipal .left_button {
    margin-top: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 90px !important;
    font-size: 16pt !important;
    text-align: center !important;
    width: 85% !important;
    padding: 10px 25px !important;
}

@media screen and (max-width: 800px) {
    section.minol-info.municipal .left_button {
        margin-bottom: 150px !important;
        width: 70% !important;
    }
}

@media screen and (min-width: 900px) {
    section.minol-info.municipal .left_button {
        margin-bottom: 150px !important;
        width: 70% !important;
    }
}

@media screen and (min-width: 1024px) {
    section.minol-info.municipal .left_button {
        margin-bottom: 150px !important;
        width: 35% !important;
    }
}

@media screen and (min-width: 1200px) {
    section.minol-info.municipal .left_button {
        margin-bottom: 150px !important;
        width: 35% !important;
    }
}


/* ══════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════ */

.mun-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 20px 0 30px;
}

.mun-table thead tr {
    background-color: #1b4f8a;
    color: #ffffff;
}

.mun-table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.mun-table td {
    padding: 10px 14px;
    color: #444;
    font-weight: 700;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
}

.mun-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.mun-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.mun-table tbody tr:hover {
    background-color: #eaf0f8;
}

/* Mobile — horizontal scroll */
.mun-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 30px;
}

.mun-table-wrap .mun-table {
    margin: 0;
    min-width: 520px;
}


/* ══════════════════════════════════════════════════
   BODY COPY — headings, paragraphs, lists
   ══════════════════════════════════════════════════ */

.mun-h2 {
    color: #083151 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 30px 0 12px !important;
    line-height: 1.3 !important;
}

.mun-body p {
    color: #555 !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    font-weight: 400 !important;
    padding-bottom: 0 !important;
}

.mun-body ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 20px !important;
}

.mun-body ul li {
    color: #555 !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    padding: 6px 0 6px 24px !important;
    position: relative !important;
}

.mun-body ul li::before {
    content: "\2022";
    color: #1b4f8a;
    font-weight: 700;
    position: absolute;
    left: 6px;
    top: 6px;
}

.mun-body strong {
    font-weight: 700 !important;
    color: #083151 !important;
}


/* ══════════════════════════════════════════════════
   INTERNAL LINKS BLOCK
   ══════════════════════════════════════════════════ */

.mun-related-links {
    margin: 30px 0;
    padding: 18px 22px;
    background: #f0f4f8;
    border-left: 4px solid #1b4f8a;
}

.mun-related-links p {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #083151 !important;
    margin: 0 0 12px !important;
    padding-bottom: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.mun-related-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mun-related-links ul li {
    display: block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.mun-related-links ul li::before {
    display: none !important;
}

.mun-related-links ul li a {
    color: #1b4f8a !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #b0c4de;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mun-related-links ul li a:hover {
    color: #e30013 !important;
    border-bottom-color: #e30013;
}


/* ══════════════════════════════════════════════════
   CTA BLOCK
   !important required to override .common_page p { color: #555 }
   ══════════════════════════════════════════════════ */

.mun-cta {
    background: #083151;
    color: #fff;
    padding: 20px 24px;
    border-radius: 4px;
    margin: 30px 0;
}

.mun-cta p {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    font-weight: 400 !important;
}

.mun-cta a {
    color: #fff !important;
    text-decoration: underline !important;
    white-space: nowrap;
}

.mun-cta a:hover {
    color: #f0c040 !important;
}


/* ══════════════════════════════════════════════════
   FAQ ACCORDION — details/summary pattern
   !important required to override .common_page p rules.
   ══════════════════════════════════════════════════ */

.mun-faq {
    margin: 30px 0;
}

details.mun-faq-item {
    margin-bottom: 5px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

details.mun-faq-item > summary.mun-faq-summary {
    display: block !important;
    background: #f0f4f8 !important;
    border-left: 4px solid #083151 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    color: #083151 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 16px 18px 16px 60px !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    position: relative !important;
    list-style: none !important;
    transition: background 0.2s !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

details.mun-faq-item > summary.mun-faq-summary::-webkit-details-marker {
    display: none !important;
}

details.mun-faq-item > summary.mun-faq-summary::marker {
    content: none !important;
    display: none !important;
}

details.mun-faq-item > summary.mun-faq-summary:hover {
    background: #ddeaf8 !important;
}

details.mun-faq-item > summary.mun-faq-summary::after {
    content: '+' !important;
    position: absolute !important;
    left: 14px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: #5472d2 !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    text-align: center !important;
    border-radius: 3px !important;
    display: block !important;
}

details.mun-faq-item[open] > summary.mun-faq-summary::after {
    content: '\2212' !important;
}

.mun-faq-content {
    border: 1px solid #d0def0 !important;
    border-top: none !important;
    padding: 16px 20px !important;
    font-size: 17px !important;
    color: #444 !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    margin: 0 0 5px 0 !important;
    background: #ffffff !important;
}

.mun-faq .mun-faq-content p {
    margin: 0 !important;
    padding: 0 !important;
    color: #444 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}


/* ══════════════════════════════════════════════════
   STORMWATER HEADER — normalize flow after template reorder
   WPBakery Custom CSS field cleared May 29, 2026.
   Rules migrated and scoped here.
   ══════════════════════════════════════════════════ */

section.minol-info.municipal .head-title {
    position: relative !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
}

section.minol-info.municipal .head-title h1.mun-h2 {
    white-space-collapse: unset !important;
    white-space: normal !important;
}

section.minol-info.municipal .go_back {
    position: static !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

section.minol-info.municipal .muncipal_both_part {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

section.minol-info.municipal .contentbg {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

section.minol-info.municipal .page_details {
    text-align: justify !important;
}


/* ══════════════════════════════════════════════════
   STORMWATER — CUSTOMER REFERENCE BOX
   ══════════════════════════════════════════════════ */

.flex-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 50px !important;
}

.ltgraybox {
    background-color: #cfcfcf !important;
    padding: 20px 25px 0 25px !important;
    color: #ed1c24 !important;
    border: 2px solid white !important;
    text-align: center !important;
    font-size: 14pt !important;
}

.thintxt {
    font-weight: 500 !important;
    font-style: italic !important;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media screen and (max-width: 767px) {

    .mun-h2 {
        font-size: 19px !important;
    }

    .mun-body p,
    .mun-body ul li {
        font-size: 17px !important;
    }

    .mun-table th,
    .mun-table td {
        font-size: 14px;
        padding: 8px 10px;
    }

    .mun-related-links ul li a {
        font-size: 16px !important;
    }

    details.mun-faq-item > summary.mun-faq-summary {
        font-size: 14px !important;
        padding: 12px 14px 12px 12px !important;
        padding-right: 50px !important;
    }

    details.mun-faq-item > summary.mun-faq-summary::after {
        width: 26px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 18px !important;
        left: auto !important;
        right: 12px !important;
    }
}