/* =========================================================
   MIR RABBY
   DNC PAGE CSS
   Responsive:
   320px+ Mobile
   375px+ Large Mobile
   768px+ Tablet
   1024px+ Desktop
========================================================= */

:root {
    --dnc-primary: #0b6b45;
    --dnc-primary-dark: #06432d;
    --dnc-primary-light: #19a36c;

    --dnc-gold: #d8ad54;
    --dnc-gold-light: #f1d38a;

    --dnc-bg: #06100c;
    --dnc-bg-2: #091710;

    --dnc-card: rgba(15, 31, 24, .82);
    --dnc-card-strong: rgba(17, 37, 28, .94);

    --dnc-text: #f3f7f5;
    --dnc-text-soft: #b9c9c1;
    --dnc-text-muted: #81958b;

    --dnc-border: rgba(255,255,255,.10);
    --dnc-border-green: rgba(25,163,108,.30);

    --dnc-shadow:
        0 25px 70px rgba(0,0,0,.35);

    --dnc-radius: 22px;

    --dnc-container: 1240px;

    --dnc-transition:
        220ms cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   RESET
========================================================= */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    min-width: 320px;
    max-width: 100%;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(11,107,69,.14),
            transparent 32rem
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(216,173,84,.07),
            transparent 28rem
        ),
        var(--dnc-bg);

    color: var(--dnc-text);

    font-family:
        "Hind Siliguri",
        "Noto Sans Bengali",
        system-ui,
        sans-serif;
}

body.dnc-modal-open {
    overflow: hidden !important;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.container {
    width:
        min(
            calc(100% - 32px),
            var(--dnc-container)
        );

    max-width: 100%;
    min-width: 0;

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;

    z-index: 5000;

    background:
        rgba(5,16,11,.90);

    border-bottom:
        1px solid var(--dnc-border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.logo {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

.logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.logo-text {
    font-family:
        "Playfair Display",
        serif;

    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: .08em;

    color: #fff;
}

.nav-menu {
    flex: 1;

    display: flex;
    justify-content: flex-end;
}

.nav-menu ul {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 4px;

    margin: 0;
    padding: 0;
}

.nav-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 8px 11px;

    border-radius: 10px;

    color: var(--dnc-text-soft);

    font-size: .86rem;
    font-weight: 600;

    transition:
        color var(--dnc-transition),
        background var(--dnc-transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;

    background:
        rgba(25,163,108,.12);
}

.nav-menu a.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 3px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--dnc-primary-light),
            var(--dnc-gold)
        );

    border-radius: 99px;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.theme-toggle,
.hamburger {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid var(--dnc-border);

    border-radius: 12px;

    background:
        rgba(255,255,255,.045);

    color: #fff;

    transition:
        background var(--dnc-transition),
        border-color var(--dnc-transition),
        transform var(--dnc-transition);
}

.theme-toggle:hover,
.hamburger:hover {
    background:
        rgba(25,163,108,.14);

    border-color:
        var(--dnc-border-green);

    transform:
        translateY(-1px);
}

.hamburger {
    display: none;

    flex-direction: column;

    gap: 5px;
}

.hamburger span {
    width: 19px;
    height: 2px;

    background: #fff;

    border-radius: 99px;

    transition:
        transform var(--dnc-transition),
        opacity var(--dnc-transition);
}

.hamburger.is-active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   MAIN
========================================================= */

.dnc-page {
    position: relative;

    width: 100%;
    max-width: 100%;

    min-height: 100vh;

    padding:
        clamp(28px,5vw,70px)
        0
        70px;

    overflow-x: clip;
}

.dnc-page::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width:
        min(900px,100%);

    height: 420px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(11,107,69,.12),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   BRAND
========================================================= */

.dnc-brand-section {
    position: relative;
    z-index: 1;

    margin-bottom:
        clamp(35px,6vw,65px);
}

.dnc-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;

    gap:
        clamp(18px,3vw,34px);

    padding:
        clamp(18px,3vw,32px);

    border:
        1px solid var(--dnc-border);

    border-radius:
        clamp(18px,2.5vw,26px);

    background:
        linear-gradient(
            135deg,
            rgba(15,31,24,.86),
            rgba(8,19,14,.72)
        );

    box-shadow:
        var(--dnc-shadow);
}

.dnc-logo-wrap {
    flex: 0 0 auto;

    width:
        clamp(88px,12vw,145px);

    aspect-ratio: 1;

    padding: 7px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(216,173,84,.85),
            rgba(25,163,108,.85)
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,.35);
}

.dnc-logo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 18px;

    background: #fff;
}

.dnc-brand-copy {
    min-width: 0;
}

.dnc-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    color:
        var(--dnc-gold-light);

    font-size: .78rem;
    font-weight: 800;

    letter-spacing: .04em;
}

.dnc-brand-copy h1 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(1.6rem,4vw,3.1rem);

    line-height: 1.35;

    font-weight: 800;
}

.dnc-brand-copy p {
    margin: 8px 0 0;

    color:
        var(--dnc-text-soft);

    font-size:
        clamp(.95rem,1.6vw,1.15rem);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.dnc-section-heading {
    margin-bottom: 22px;
}

.dnc-section-heading h2 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(1.35rem,3vw,2.1rem);

    line-height: 1.4;
}

.dnc-section-heading p {
    max-width: 700px;

    margin: 8px 0 0;

    color:
        var(--dnc-text-muted);

    font-size:
        clamp(.85rem,1.5vw,.98rem);

    line-height: 1.75;
}


/* =========================================================
   VIDEO
========================================================= */

.dnc-video-section {
    position: relative;
    z-index: 1;

    margin-bottom:
        clamp(55px,8vw,100px);
}

.dnc-video-card {
    overflow: hidden;

    border:
        1px solid var(--dnc-border);

    border-radius:
        clamp(16px,2vw,26px);

    background:
        rgba(8,21,15,.90);

    box-shadow:
        var(--dnc-shadow);
}

.dnc-video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #020604;
}

.dnc-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    object-fit: contain;

    background: #020604;
}

.dnc-video-status {
    position: absolute;

    left: 14px;
    bottom: 14px;

    z-index: 3;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        7px 11px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 999px;

    color:
        var(--dnc-text-soft);

    background:
        rgba(0,0,0,.55);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    font-size: .72rem;
}

.dnc-video-status i {
    color:
        var(--dnc-primary-light);

    font-size: .45rem;
}

.dnc-video-status.error i {
    color: #ff8d72;
}

.dnc-video-tools {
    min-height: 62px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        10px 14px;

    border-top:
        1px solid var(--dnc-border);

    background:
        rgba(255,255,255,.025);
}

.dnc-control-btn {
    width: 40px;
    height: 40px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid var(--dnc-border);

    border-radius: 11px;

    color: #fff;

    background:
        rgba(255,255,255,.045);

    transition:
        background var(--dnc-transition),
        border-color var(--dnc-transition),
        transform var(--dnc-transition);
}

.dnc-control-btn:hover {
    background:
        rgba(25,163,108,.16);

    border-color:
        var(--dnc-border-green);

    transform:
        translateY(-1px);
}

.dnc-volume-control {
    display: flex;
    align-items: center;

    gap: 8px;

    width:
        min(190px,32vw);

    color:
        var(--dnc-text-muted);
}

.dnc-volume-control input {
    width: 100%;

    accent-color:
        var(--dnc-primary-light);
}

.dnc-video-card video::-webkit-media-controls-enclosure {
    border-radius: 0;
}


/* =========================================================
   OFFICERS
========================================================= */

.dnc-officer-section {
    position: relative;
    z-index: 1;

    margin-bottom:
        clamp(55px,8vw,100px);
}

.dnc-officer-tabs {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 10px;

    max-width: 900px;

    margin:
        0 auto 22px;
}

.dnc-officer-tab {
    min-width: 0;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        10px 14px;

    border:
        1px solid var(--dnc-border);

    border-radius: 14px;

    color:
        var(--dnc-text-soft);

    background:
        rgba(255,255,255,.035);

    transition:
        background var(--dnc-transition),
        color var(--dnc-transition),
        border-color var(--dnc-transition),
        transform var(--dnc-transition);
}

.dnc-officer-tab:hover {
    transform:
        translateY(-2px);

    border-color:
        var(--dnc-border-green);
}

.dnc-officer-tab.active {
    color: #fff;

    border-color:
        rgba(25,163,108,.55);

    background:
        linear-gradient(
            135deg,
            rgba(11,107,69,.40),
            rgba(25,163,108,.10)
        );

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);
}

.dnc-officer-tab .tab-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color:
        var(--dnc-gold-light);

    background:
        rgba(25,163,108,.12);
}

.dnc-officer-tab span:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.dnc-officer-tab strong {
    font-size: .92rem;
}

.dnc-officer-tab small {
    color:
        var(--dnc-text-muted);

    font-size: .7rem;
}


/* =========================================================
   OFFICER CARD
========================================================= */

.dnc-officer-card {
    display: grid;

    grid-template-columns:
        minmax(280px,34%)
        minmax(0,1fr);

    overflow: hidden;

    border:
        1px solid var(--dnc-border);

    border-radius:
        clamp(18px,2vw,26px);

    background:
        linear-gradient(
            135deg,
            rgba(15,31,24,.96),
            rgba(8,19,14,.96)
        );

    box-shadow:
        var(--dnc-shadow);
}

.dnc-officer-photo-column {
    position: relative;

    min-width: 0;

    min-height: 470px;

    background:
        linear-gradient(
            145deg,
            var(--dnc-primary-dark),
            #020604
        );
}

.dnc-officer-photo-wrap {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.dnc-officer-photo-wrap::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.68),
            transparent 55%
        );

    pointer-events: none;
}

.dnc-officer-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        opacity 160ms ease,
        transform 400ms ease;
}

.dnc-officer-image.is-changing {
    opacity: .2;
    transform: scale(1.015);
}

.dnc-officer-badge {
    position: absolute;

    z-index: 3;

    left: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    max-width:
        calc(100% - 36px);

    padding:
        8px 13px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius: 999px;

    color: #fff;

    background:
        rgba(0,0,0,.50);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: .78rem;
    font-weight: 800;
}

.dnc-officer-content {
    min-width: 0;

    padding:
        clamp(20px,3vw,38px);
}

.dnc-officer-heading {
    padding-bottom: 20px;

    margin-bottom: 20px;

    border-bottom:
        1px solid var(--dnc-border);
}

.dnc-profile-label {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 5px;

    color:
        var(--dnc-gold-light);

    font-size: .75rem;
    font-weight: 800;
}

.dnc-officer-heading h3 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(1.15rem,2vw,1.6rem);

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.dnc-officer-heading p {
    margin: 4px 0 0;

    color:
        var(--dnc-text-soft);

    font-size: .9rem;
}

.dnc-officer-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 11px;
}

.dnc-info-item {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 14px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 14px;

    background:
        rgba(255,255,255,.025);
}

.dnc-info-item.full-width {
    grid-column:
        1 / -1;
}

.dnc-info-icon {
    width: 19px;

    flex: 0 0 19px;

    margin-top: 4px;

    color:
        var(--dnc-gold-light);

    text-align: center;
}

.dnc-info-item > div {
    min-width: 0;
}

.dnc-info-item small {
    display: block;

    margin-bottom: 3px;

    color:
        var(--dnc-text-muted);

    font-size: .7rem;
    font-weight: 600;
}

.dnc-info-item strong,
.dnc-info-item a {
    display: block;

    min-width: 0;

    color:
        var(--dnc-text);

    font-size: .88rem;
    font-weight: 700;

    line-height: 1.6;

    overflow-wrap: anywhere;
    word-break: normal;
}

.dnc-info-item a {
    color:
        var(--dnc-gold-light);
}

.dnc-info-item a:hover {
    color: #fff;
}


/* =========================================================
   CITIZEN
========================================================= */

.dnc-citizen-section {
    position: relative;
    z-index: 1;

    margin-bottom:
        clamp(55px,8vw,100px);
}

.dnc-citizen-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 14px;
}

.dnc-citizen-card {
    position: relative;

    min-width: 0;

    width: 100%;

    display: flex;
    align-items: center;

    gap: 15px;

    padding:
        clamp(17px,2.5vw,23px);

    border:
        1px solid var(--dnc-border);

    border-radius: 19px;

    color: inherit;

    text-align: left;

    background:
        rgba(15,31,24,.72);

    transition:
        transform var(--dnc-transition),
        border-color var(--dnc-transition),
        background var(--dnc-transition);
}

.dnc-citizen-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(25,163,108,.38);

    background:
        rgba(17,40,29,.88);
}

.citizen-card-icon {
    width: 54px;
    height: 54px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color:
        var(--dnc-gold-light);

    background:
        rgba(25,163,108,.12);

    border:
        1px solid var(--dnc-border-green);

    font-size: 1.15rem;
}

.citizen-card-content {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;
}

.citizen-card-content strong {
    color: #fff;

    font-size:
        clamp(.95rem,1.7vw,1.1rem);

    line-height: 1.45;
}

.citizen-card-content small {
    margin-top: 5px;

    color:
        var(--dnc-text-muted);

    font-size: .79rem;

    line-height: 1.65;
}

.card-arrow {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color:
        var(--dnc-gold-light);

    background:
        rgba(255,255,255,.045);

    font-size: .75rem;
}


/* =========================================================
   OFFICIAL WEBSITE
========================================================= */

.dnc-official-section {
    position: relative;
    z-index: 1;

    margin-bottom: 30px;
}

.dnc-official-card {
    display: flex;
    align-items: center;

    gap: 25px;

    padding:
        clamp(23px,4vw,42px);

    border:
        1px solid rgba(216,173,84,.22);

    border-radius:
        clamp(20px,2.5vw,28px);

    background:
        linear-gradient(
            135deg,
            rgba(11,107,69,.18),
            rgba(216,173,84,.055)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);
}

.official-icon {
    width: 70px;
    height: 70px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 21px;

    color:
        var(--dnc-gold-light);

    background:
        rgba(216,173,84,.09);

    border:
        1px solid rgba(216,173,84,.25);

    font-size: 1.55rem;
}

.official-content {
    min-width: 0;
}

.official-content h2 {
    margin: 0 0 5px;

    color: #fff;

    font-size:
        clamp(1.2rem,2.4vw,1.7rem);
}

.official-content h3 {
    margin: 0 0 6px;

    color:
        var(--dnc-gold-light);

    font-size:
        clamp(.95rem,1.8vw,1.15rem);
}

.official-content p {
    max-width: 760px;

    margin: 0 0 13px;

    color:
        var(--dnc-text-soft);

    font-size: .88rem;

    line-height: 1.7;
}

.official-contact {
    margin-bottom: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--dnc-text-soft);

    font-size: .82rem;

    overflow-wrap: anywhere;
}

.contact-link i {
    color:
        var(--dnc-gold-light);
}

.dnc-official-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 46px;

    padding: 10px 17px;

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--dnc-primary),
            var(--dnc-primary-dark)
        );

    border:
        1px solid rgba(25,163,108,.5);

    font-size: .82rem;
    font-weight: 800;

    transition:
        transform var(--dnc-transition),
        box-shadow var(--dnc-transition);
}

.dnc-official-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);
}


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

.footer {
    position: relative;

    border-top:
        1px solid var(--dnc-border);

    background:
        rgba(3,10,7,.96);
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 35px;

    padding:
        50px 0 35px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;
}

.footer-logo img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}

.footer-logo span {
    font-family:
        "Playfair Display",
        serif;

    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: .07em;

    color: #fff;
}

.footer-brand p {
    max-width: 350px;

    margin: 13px 0 0;

    color:
        var(--dnc-text-muted);

    font-size: .8rem;

    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}

.footer-links h3 {
    margin: 0 0 5px;

    color: #fff;

    font-size: .9rem;
}

.footer-links a {
    color:
        var(--dnc-text-muted);

    font-size: .78rem;
}

.footer-links a:hover {
    color:
        var(--dnc-gold-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        17px 0;

    border-top:
        1px solid var(--dnc-border);

    color:
        var(--dnc-text-muted);

    font-size: .7rem;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   MODAL
========================================================= */

.info-modal,
.info-modal *,
.info-modal *::before,
.info-modal *::after {
    box-sizing: border-box;
}

.info-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    width: 100%;
    max-width: 100%;

    height: 100%;
    max-height: 100%;

    margin: 0;

    padding:
        max(12px,env(safe-area-inset-top))
        max(12px,env(safe-area-inset-right))
        max(12px,env(safe-area-inset-bottom))
        max(12px,env(safe-area-inset-left));

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    isolation: isolate;
}

.info-modal[hidden] {
    display: none !important;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0,0,0,.78);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;

    z-index: 2;

    width:
        min(
            620px,
            calc(100vw - 32px)
        );

    max-width: 620px;
    min-width: 0;

    max-height:
        calc(100dvh - 32px);

    margin: 0;

    padding:
        clamp(20px,4vw,34px);

    border:
        1px solid var(--dnc-border);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #10271c,
            #07130d
        );

    box-shadow:
        0 35px 100px rgba(0,0,0,.55);

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;

    overflow-wrap: anywhere;

    animation:
        dncModalIn 220ms ease both;
}

.modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 5;

    width: 38px;
    height: 38px;

    min-width: 38px;
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid var(--dnc-border);

    border-radius: 11px;

    color: #fff;

    background:
        rgba(255,255,255,.05);
}

.modal-close:hover {
    background:
        rgba(25,163,108,.16);

    border-color:
        var(--dnc-border-green);
}

.modal-icon {
    width: 52px;
    height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 15px;

    color:
        var(--dnc-gold-light);

    background:
        rgba(25,163,108,.12);

    border:
        1px solid var(--dnc-border-green);
}

.modal-dialog h2 {
    margin:
        0 52px 15px 0;

    color: #fff;

    font-size:
        clamp(1.1rem,4vw,1.35rem);

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.modal-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    color:
        var(--dnc-text-soft);

    font-size:
        clamp(.8rem,2.5vw,.9rem);

    line-height: 1.9;

    overflow-wrap: anywhere;
    word-break: normal;
}

.modal-body p {
    margin:
        0 0 13px;
}

.modal-body ul {
    margin: 10px 0;

    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body a {
    overflow-wrap: anywhere;
    word-break: break-word;

    color:
        var(--dnc-gold-light);
}


/* =========================================================
   MOBILE DRAWER
========================================================= */

@media (max-width: 1023px) {

    .hamburger {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;

        top: 70px;
        right: 0;

        z-index: 6000;

        width:
            min(360px,88vw);

        height:
            calc(100dvh - 70px);

        padding: 18px;

        overflow-y: auto;
        overflow-x: hidden;

        background:
            rgba(5,16,11,.98);

        border-left:
            1px solid var(--dnc-border);

        transform:
            translateX(105%);

        transition:
            transform 280ms ease;

        box-shadow:
            -25px 0 70px rgba(0,0,0,.35);
    }

    .nav-menu.is-open {
        transform:
            translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;

        align-items: stretch;

        gap: 4px;
    }

    .nav-menu a {
        width: 100%;

        min-height: 48px;

        padding: 10px 13px;
    }

    .nav-menu a.active::after {
        left: 13px;
        right: auto;

        width: 3px;

        top: 9px;
        bottom: 9px;

        height: auto;
    }

    .dnc-officer-card {
        grid-template-columns:
            minmax(230px,32%)
            minmax(0,1fr);
    }

    .dnc-officer-photo-column {
        min-height: 390px;
    }

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


/* =========================================================
   TABLET
========================================================= */

@media (min-width:768px)
and (max-width:1023px) {

    .container {
        width:
            min(
                calc(100% - 44px),
                920px
            );
    }

    .dnc-brand-card {
        margin-bottom: 10px;
    }

    .dnc-officer-content {
        padding: 25px;
    }
}


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

@media (max-width:767px) {

    .container {
        width:
            calc(100% - 26px);
    }

    .header-container {
        min-height: 64px;
    }

    .nav-menu {
        top: 64px;

        height:
            calc(100dvh - 64px);
    }

    .logo img {
        width: 37px;
        height: 37px;
    }

    .logo-text {
        font-size: .98rem;
    }

    .theme-toggle,
    .hamburger {
        width: 39px;
        height: 39px;
    }

    .dnc-brand-card {
        flex-direction: column;

        text-align: center;

        gap: 15px;
    }

    .dnc-logo-wrap {
        width: 100px;
    }

    .dnc-brand-copy h1 {
        font-size:
            clamp(1.45rem,7vw,2rem);
    }

    .dnc-video-tools {
        min-height: 58px;

        padding: 8px 10px;

        gap: 7px;
    }

    .dnc-control-btn {
        width: 37px;
        height: 37px;
    }

    .dnc-volume-control {
        width:
            min(125px,30vw);
    }

    .dnc-officer-tabs {
        gap: 7px;
    }

    .dnc-officer-tab {
        min-height: 50px;

        padding: 8px 6px;

        flex-direction: column;

        gap: 4px;

        font-size: .74rem;
    }

    .dnc-officer-tab .tab-icon {
        width: 34px;
        height: 34px;
    }

    .dnc-officer-card {
        display: block;
    }

    .dnc-officer-photo-column {
        min-height: 0;

        aspect-ratio: 4 / 3;
    }

    .dnc-officer-content {
        padding: 20px;
    }

    .dnc-officer-info-grid {
        grid-template-columns: 1fr;
    }

    .dnc-info-item.full-width {
        grid-column: auto;
    }

    .dnc-citizen-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 10px;
    }

    .dnc-citizen-card {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

        padding: 16px;
    }

    .citizen-card-icon {
        width: 45px;
        height: 45px;

        border-radius: 13px;
    }

    .card-arrow {
        position: absolute;

        top: 15px;
        right: 14px;
    }

    .dnc-official-card {
        align-items: flex-start;
    }

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

    .footer-brand {
        grid-column:
            1 / -1;
    }

    .info-modal {
        padding: 12px;
    }

    .modal-dialog {
        width: 100%;
        max-width: 100%;

        max-height:
            calc(100dvh - 24px);

        padding: 20px;

        border-radius: 18px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }

    .modal-dialog h2 {
        margin-right: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:374px) {

    .container {
        width:
            calc(100% - 20px);
    }

    .header-container {
        gap: 7px;
    }

    .logo {
        gap: 6px;
    }

    .logo img {
        width: 34px;
        height: 34px;
    }

    .logo-text {
        font-size: .85rem;
        letter-spacing: .05em;
    }

    .header-actions {
        gap: 5px;
    }

    .theme-toggle,
    .hamburger {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }

    .dnc-page {
        padding-top: 25px;
    }

    .dnc-logo-wrap {
        width: 82px;

        border-radius: 18px;
    }

    .dnc-logo {
        border-radius: 13px;
    }

    .dnc-eyebrow {
        font-size: .68rem;
    }

    .dnc-brand-copy h1 {
        font-size: 1.3rem;
    }

    .dnc-brand-copy p {
        font-size: .82rem;
    }

    .dnc-section-heading h2 {
        font-size: 1.18rem;
    }

    .section-kicker {
        font-size: .68rem;
    }

    .dnc-video-tools {
        flex-wrap: wrap;
    }

    .dnc-volume-control {
        width:
            calc(100% - 94px);

        order: 3;
    }

    .dnc-officer-tabs {
        grid-template-columns: 1fr;
    }

    .dnc-officer-tab {
        flex-direction: row;

        min-height: 44px;
    }

    .dnc-officer-photo-column {
        aspect-ratio: 1 / 1;
    }

    .dnc-officer-content {
        padding: 16px;
    }

    .dnc-officer-heading {
        gap: 10px;
    }

    .dnc-officer-heading h3 {
        font-size: .98rem;
    }

    .dnc-info-item {
        padding: 12px;
        gap: 9px;
    }

    .dnc-info-item strong,
    .dnc-info-item a {
        font-size: .78rem;
    }

    .dnc-citizen-grid {
        grid-template-columns: 1fr;
    }

    .dnc-citizen-card {
        min-height: 100px;
    }

    .dnc-official-card {
        flex-direction: column;

        padding: 20px;

        gap: 15px;
    }

    .official-icon {
        width: 55px;
        height: 55px;
    }

    .dnc-official-btn {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 6px;
    }

    .info-modal {
        padding: 9px;
    }

    .modal-dialog {
        max-height:
            calc(100dvh - 18px);

        padding: 17px;

        border-radius: 16px;
    }

    .modal-close {
        top: 9px;
        right: 9px;

        width: 35px;
        height: 35px;
    }

    .modal-dialog h2 {
        margin-right: 43px;

        font-size: .98rem;
    }

    .modal-body {
        font-size: .76rem;
        line-height: 1.8;
    }
}


/* =========================================================
   VERY SMALL 320px
========================================================= */

@media (max-width:330px) {

    .info-modal {
        padding: 7px;
    }

    .modal-dialog {
        padding: 15px;
        border-radius: 15px;
    }

    .modal-close {
        width: 34px;
        height: 34px;
    }

    .modal-dialog h2 {
        margin-right: 40px;
        font-size: .92rem;
    }

    .modal-body {
        font-size: .73rem;
    }
}


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

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

    .info-modal {
        align-items: flex-start;

        overflow-y: auto;

        padding-top: 10px;
        padding-bottom: 10px;
    }

    .modal-dialog {
        max-height:
            calc(100dvh - 20px);
    }
}


/* =========================================================
   LIGHT THEME
========================================================= */

body.light-theme {
    --dnc-bg: #f3f7f4;
    --dnc-bg-2: #fff;

    --dnc-card:
        rgba(255,255,255,.90);

    --dnc-card-strong: #fff;

    --dnc-text: #13221b;
    --dnc-text-soft: #4f6258;
    --dnc-text-muted: #718078;

    --dnc-border:
        rgba(15,53,37,.12);

    --dnc-border-green:
        rgba(11,107,69,.25);

    color: var(--dnc-text);

    background:
        #f3f7f4;
}

body.light-theme .header {
    background:
        rgba(255,255,255,.90);
}

body.light-theme .logo-text,
body.light-theme .dnc-brand-copy h1,
body.light-theme .dnc-section-heading h2,
body.light-theme .dnc-officer-heading h3,
body.light-theme .dnc-info-item strong,
body.light-theme .dnc-citizen-card strong,
body.light-theme .official-content h2,
body.light-theme .footer-logo span,
body.light-theme .footer-links h3 {
    color: #13221b;
}

body.light-theme .nav-menu a {
    color: #50645a;
}

body.light-theme .theme-toggle,
body.light-theme .hamburger,
body.light-theme .dnc-control-btn {
    color: #173126;

    background:
        rgba(0,0,0,.035);
}

body.light-theme .dnc-brand-card,
body.light-theme .dnc-officer-card,
body.light-theme .dnc-citizen-card,
body.light-theme .dnc-video-card {
    background:
        rgba(255,255,255,.90);
}

body.light-theme .dnc-info-item {
    background:
        rgba(11,107,69,.025);
}

body.light-theme .footer {
    background:
        #eaf1ed;
}

body.light-theme .modal-dialog {
    background:
        linear-gradient(
            145deg,
            #fff,
            #eef6f1
        );
}

body.light-theme .modal-dialog h2 {
    color: #13221b;
}


/* =========================================================
   TOUCH
========================================================= */

@media (hover:none) {

    .dnc-citizen-card:hover,
    .dnc-officer-tab:hover,
    .dnc-official-btn:hover,
    .theme-toggle:hover,
    .hamburger:hover,
    .dnc-control-btn:hover {
        transform: none;
    }
}


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

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
   }
