/* =========================================================
   DISTRICT UNION DETAIL PAGE
========================================================= */

.du-page {
    --du-blue: #122b55;
    --du-blue-light: #1d4276;
    --du-gold: #c58a25;
    --du-text: #263449;
    --du-muted: #6d7888;
    --du-border: #e5eaf0;
    --du-background: #f7f9fc;

    color: var(--du-text);
    background: #ffffff;
    font-family: inherit;
}

.du-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.du-breadcrumb-section {
    padding: 19px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--du-border);
}

.du-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--du-muted);
}

.du-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--du-blue);
    text-decoration: none;
    transition: color 0.25s ease;
}

.du-breadcrumb a:hover {
    color: var(--du-gold);
}

.du-breadcrumb > i {
    font-size: 10px;
    color: #a7b0bd;
}

.du-breadcrumb > span {
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* =========================================================
   HERO
========================================================= */

.du-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--du-blue);
}

.du-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.du-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(9, 26, 54, 0.94) 0%,
            rgba(12, 35, 70, 0.78) 55%,
            rgba(12, 35, 70, 0.32) 100%
        );
}

.du-hero-content {
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    color: #ffffff;
}

.du-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #f1c56e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.du-eyebrow i {
    font-size: 16px;
}

.du-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.16;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.du-title-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: var(--du-gold);
}

.du-title-decoration span {
    display: block;
    width: 44px;
    height: 2px;
    background: var(--du-gold);
}

.du-title-decoration i {
    font-size: 15px;
}

.du-hero-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
}

.du-hero-location i {
    margin-top: 5px;
    color: #f1c56e;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.du-detail-section {
    padding: 85px 0;
    background: #ffffff;
}

.du-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 65px;
}

.du-main-content {
    min-width: 0;
}

.du-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--du-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.du-section-label span {
    display: inline-block;
    width: 25px;
    height: 2px;
    background: var(--du-gold);
}

.du-main-content h2 {
    margin: 0;
    color: var(--du-blue);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.3;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.du-heading-line {
    width: 65px;
    height: 4px;
    margin: 23px 0 30px;
    background: var(--du-gold);
    border-radius: 5px;
}

.du-description {
    color: #526075;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.du-empty-description {
    color: var(--du-muted);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   LOCATION CARD
========================================================= */

.du-location-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-top: 35px;
    padding: 24px;
    background: var(--du-background);
    border: 1px solid var(--du-border);
    border-left: 4px solid var(--du-gold);
    border-radius: 8px;
}

.du-location-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    color: #ffffff;
    background: var(--du-blue);
    border-radius: 50%;
    font-size: 18px;
}

.du-location-text span {
    display: block;
    margin-bottom: 7px;
    color: var(--du-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.du-location-text p {
    margin: 0;
    color: var(--du-blue);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    overflow-wrap: anywhere;
}


/* =========================================================
   MAP BUTTON
========================================================= */

.du-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    max-width: 100%;
    margin-top: 25px;
    padding: 15px 21px;
    color: #ffffff;
    background: var(--du-blue);
    border: 1px solid var(--du-blue);
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.du-map-button:hover {
    color: #ffffff;
    background: var(--du-blue-light);
    border-color: var(--du-blue-light);
    transform: translateY(-2px);
}

.du-map-button .du-button-arrow {
    margin-left: 5px;
    font-size: 11px;
}

.du-coordinates {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    color: var(--du-muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.du-coordinates i {
    margin-top: 4px;
    color: var(--du-gold);
}


/* =========================================================
   CONTACT SIDEBAR
========================================================= */

.du-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.du-contact-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--du-border);
    border-radius: 9px;
    box-shadow: 0 12px 35px rgba(18, 43, 85, 0.07);
}

.du-contact-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 25px 23px;
    color: #ffffff;
    background: var(--du-blue);
}

.du-contact-header-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    color: var(--du-blue);
    background: #ffffff;
    border-radius: 50%;
    font-size: 19px;
}

.du-contact-card-header span {
    display: block;
    margin-bottom: 6px;
    color: #f1c56e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.du-contact-card-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
}

.du-contact-items {
    padding: 8px 23px;
}

.du-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--du-border);
}

.du-contact-item:last-child {
    border-bottom: none;
}

.du-contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--du-blue);
    background: #f0f4fa;
    border-radius: 7px;
    font-size: 15px;
}

.du-contact-info {
    min-width: 0;
    flex: 1;
}

.du-contact-info span {
    display: block;
    margin-bottom: 7px;
    color: var(--du-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.du-contact-info a,
.du-contact-info p {
    display: block;
    margin: 0;
    color: var(--du-blue);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.du-contact-info a:hover {
    color: var(--du-gold);
}

.du-contact-map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 23px;
    color: #ffffff;
    background: var(--du-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.25s ease;
}

.du-contact-map-link:hover {
    color: #ffffff;
    background: #ad7518;
}

.du-no-contact {
    padding: 20px 0;
    color: var(--du-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   COMMUNITY CARD
========================================================= */

.du-community-card {
    padding: 30px 25px;
    text-align: center;
    background: var(--du-background);
    border: 1px solid var(--du-border);
    border-radius: 9px;
}

.du-community-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    margin: 0 auto 17px;
    color: #ffffff;
    background: var(--du-blue);
    border-radius: 50%;
    font-size: 22px;
}

.du-community-card h3 {
    margin: 0 0 11px;
    color: var(--du-blue);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
}

.du-community-card p {
    margin: 0;
    color: var(--du-muted);
    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   ERROR / NOT FOUND
========================================================= */

.du-error-section {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    text-align: center;
    background: var(--du-background);
}

.du-error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    color: var(--du-blue);
    background: #eaf0f8;
    border-radius: 50%;
    font-size: 30px;
}

.du-error-section h1 {
    margin: 0 0 15px;
    color: var(--du-blue);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 40px);
}

.du-error-section p {
    max-width: 550px;
    margin: 0;
    color: var(--du-muted);
    font-size: 15px;
    line-height: 1.8;
}

.du-error-section .du-map-button {
    margin-top: 25px;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1000px) {

    .du-detail-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 35px;
    }

    .du-detail-section {
        padding: 65px 0;
    }

}


@media (max-width: 760px) {

    .du-container {
        width: min(100% - 32px, 600px);
    }

    .du-hero {
        min-height: 360px;
    }

    .du-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .du-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(9, 26, 54, 0.91),
                rgba(12, 35, 70, 0.65)
            );
    }

    .du-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .du-sidebar {
        width: 100%;
    }

    .du-contact-card-header {
        padding: 22px;
    }

    .du-detail-section {
        padding: 55px 0;
    }

}


@media (max-width: 480px) {

    .du-breadcrumb {
        gap: 8px;
        font-size: 11px;
    }

    .du-hero {
        min-height: 320px;
    }

    .du-eyebrow {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .du-hero h1 {
        font-size: 34px;
    }

    .du-hero-location {
        font-size: 13px;
    }

    .du-detail-section {
        padding: 45px 0;
    }

    .du-main-content h2 {
        font-size: 29px;
    }

    .du-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .du-location-card {
        padding: 17px;
        gap: 12px;
    }

    .du-location-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .du-map-button {
        width: 100%;
        padding: 14px 12px;
        gap: 8px;
        font-size: 12px;
    }

    .du-contact-items {
        padding-right: 17px;
        padding-left: 17px;
    }

    .du-contact-card-header {
        padding: 19px 17px;
    }

    .du-contact-card-header h3 {
        font-size: 16px;
    }

}