:root {
    --party-green: #0b603d;
    --party-green-dark: #08462f;
    --party-red: #d6272f;
    --ink: #202b24;
    --muted: #68736d;
    --soft: #f4f7f4;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: #fff;
    box-shadow: 0 3px 16px rgb(0 0 0 / 12%);
}

.site-masthead {
    background: #fff;
}

.masthead-inner {
    display: flex;
    width: min(100% - 40px, 1280px);
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
}

.masthead-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.brand-logo {
    width: 100px;
    height: 64px;
    object-fit: contain;
}

.brand-name {
    color: #111;
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.brand-name small {
    display: block;
    color: var(--party-red);
    margin-top: 5px;
    font-size: .75em;
    letter-spacing: .04em;
}

.masthead-join {
    display: flex;
    min-width: 93px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 16px;
    background: var(--party-red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.masthead-join:hover {
    background: #b91f28;
    color: #fff;
}

.masthead-join i {
    font-size: 20px;
}

.site-menu {
    background: #050505;
}

.site-menu.collapse:not(.show) {
    display: block;
}

.site-menu-grid {
    display: grid;
    width: min(100%, 1360px);
    grid-template-columns: repeat(9, minmax(0, 1fr));
    margin: 0 auto;
}

.site-menu-grid>* {
    border-right: 1px solid rgb(255 255 255 / 15%);
}

.site-menu-grid>*:first-child {
    border-left: 1px solid rgb(255 255 255 / 15%);
}

.site-menu-item {
    display: flex;
    min-width: 0;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 12px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: background-color .2s ease, color .2s ease;
}

.site-menu-item>i {
    color: #f0c640;
    font-size: 20px;
}

.site-menu-item:hover,
.site-menu-item.active {
    background: #202020;
    color: #fff;
}

.site-menu-dropdown {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}

.site-menu-dropdown>.site-menu-item {
    width: 100%;
    flex-grow: 1;
    border-right: none;
    border-left: none;
    cursor: pointer;
}

.site-menu-dropdown:hover>.site-menu-item,
.site-menu-dropdown.show>.site-menu-item,
.site-menu-dropdown.active>.site-menu-item {
    background: #202020;
    color: #fff;
}

.site-menu-dropdown>.dropdown-toggle::after {
    display: none !important;
}

.site-menu-item .site-dropdown-caret,
i.site-dropdown-caret,
.site-dropdown-caret {
    display: inline-block !important;
    font-size: 8px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    margin-left: 5px !important;
    transition: transform .25s ease !important;
    vertical-align: 1px !important;
    color: #f0c640 !important;
}

.site-menu-dropdown:hover .site-dropdown-caret,
.site-menu-dropdown.show .site-dropdown-caret {
    transform: rotate(180deg) !important;
}

.site-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1050;
    min-width: 245px;
    margin: 0;
    padding: 8px 0;
    background: #0f1612;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--party-green);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
    list-style: none;
}

.site-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

@media (min-width: 992px) {
    .site-dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s cubic-bezier(0.16, 1, 0.3, 1),
            transform .2s cubic-bezier(0.16, 1, 0.3, 1),
            visibility .2s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .site-menu-dropdown:hover>.site-dropdown-menu,
    .site-menu-dropdown:focus-within>.site-dropdown-menu,
    .site-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.site-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: #e5ede7;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    background: transparent;
    border-left: 3px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, padding-left .15s ease;
}

.site-dropdown-menu .dropdown-item i {
    color: #f0c640;
    font-size: 12px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    transition: transform .15s ease, color .15s ease;
}

.site-dropdown-menu .dropdown-item:hover,
.site-dropdown-menu .dropdown-item:focus {
    background: #17271e;
    color: #ffffff;
    border-left-color: var(--party-green);
    padding-left: 22px;
}

.site-dropdown-menu .dropdown-item:hover i,
.site-dropdown-menu .dropdown-item:focus i {
    color: #ffd83d;
    transform: scale(1.15);
}

.site-dropdown-menu .dropdown-item.active {
    background: #142219;
    color: #a8e1bf;
    border-left-color: var(--party-red);
    font-weight: 700;
}

.site-dropdown-menu .dropdown-item.active i {
    color: #ffd83d;
}

.site-menu-toggle {
    display: none;
}

.btn-hero-primary {
    border: 1px solid var(--party-green);
    background: var(--party-green);
    color: #fff;
    font-weight: 700;
}

.btn-join {
    padding: 12px 22px;
    border: 1px solid var(--party-red);
    border-radius: 4px;
    background: var(--party-red);
    color: #fff;
    font-weight: 700;
}

.btn-join:hover {
    border-color: #b91f28;
    background: #b91f28;
    color: #fff;
}

.btn-hero-primary:hover {
    border-color: var(--party-green-dark);
    background: var(--party-green-dark);
    color: #fff;
}

.hero-section {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: var(--party-green-dark) url("../Assets/images/Mass-Rally-Beneath-a-Crescent-Flag.jpg") center 45% / cover no-repeat;
    color: #fff;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 16%) 55%, rgb(0 0 0 / 32%));
}

.hero-background-video {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

@media (prefers-reduced-motion: reduce) {
    .hero-background-video {
        display: none;
    }
}

.hero-title {
    position: relative;
    z-index: 1;
    padding: 43px 190px 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 10px rgb(0 0 0 / 68%);
}

.hero-title h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.hero-title span {
    display: block;
    margin-top: 10px;
    color: #ffd83d;
    font-size: clamp(19px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-leader {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: auto;
    max-width: 36%;
    height: min(77%, 500px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 14px rgb(0 0 0 / 24%));
}

.hero-leader-left {
    left: clamp(10px, 6vw, 90px);
}

.hero-leader-right {
    right: clamp(10px, 6vw, 90px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--party-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-space {
    padding: 92px 0;
}

.section-heading {
    max-width: 660px;
    margin: 0 auto 24px;
}

.section-heading h2,
.section-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.035em;
}

.section-heading>p,
.section-lead {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.value-card {
    padding: 28px 20px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.value-card:hover,
.leader-card:hover,
.media-card:hover {
    box-shadow: 0 15px 35px rgb(20 60 38 / 10%);
    transform: translateY(-5px);
}

.value-card img {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 800;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.directory-section {
    background: var(--soft);
}

.directory-card {
    position: relative;
    display: flex;
    min-height: 118px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.directory-card>i:first-child {
    color: var(--party-green);
    font-size: 21px;
}

.directory-card:hover {
    border-color: #c7dfd0;
    box-shadow: 0 12px 28px rgb(20 60 38 / 9%);
    color: var(--party-green);
    transform: translateY(-3px);
}

.directory-arrow {
    position: absolute;
    right: 18px;
    bottom: 19px;
    color: #9aa69e;
    font-size: 13px;
}

.about-section {
    background: var(--soft);
}

.about-image-wrap {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #e6eee8;
}

.about-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center bottom;
}

.about-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 8px 22px rgb(20 60 38 / 9%);
}

.about-image-caption span {
    color: var(--party-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-image-caption strong {
    margin-top: 3px;
}

.about-section p {
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    margin-top: 7px;
    color: var(--party-green);
    font-weight: 800;
}

.text-link:hover {
    color: var(--party-red);
}

.leadership-section {
    background: #fff;
}

.leader-card {
    overflow: hidden;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.leader-link {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: var(--ink);
    text-align: center;
}

.leader-link:hover {
    color: var(--party-green);
}

.leader-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-top: 28px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 30px;
}

.leader-card>img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
    object-position: center 30%;
}

.leader-card-body {
    padding: 19px 18px;
}

.leader-card h3 {
    margin-bottom: 7px;
    font-size: 17px;
    font-weight: 800;
}

.leader-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.leader-card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--party-green);
    font-size: 13px;
    font-weight: 800;
}

.home-gallery-section {
    background: var(--soft);
}

.home-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #e6eee8;
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-gallery-item span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(8 70 47 / 0%);
    color: #fff;
    font-size: 22px;
    opacity: 0;
    transition: background-color .2s ease, opacity .2s ease;
}

.home-gallery-item:hover img {
    transform: scale(1.05);
}

.home-gallery-item:hover span {
    background: rgb(8 70 47 / 45%);
    opacity: 1;
}

.btn-gallery-link {
    padding: 12px 20px;
    border: 1px solid var(--party-green);
    color: var(--party-green);
    font-weight: 700;
}

.btn-gallery-link:hover {
    background: var(--party-green);
    color: #fff;
}

.news-section {
    background: var(--soft);
}

.event-announcement {
    display: grid;
    max-width: 950px;
    align-items: start;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 22px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid #e8eee9;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(20 60 38 / 5%);
}

.event-announcement-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 23px;
}

.event-announcement h3 {
    margin: 2px 0 8px;
    font-size: 20px;
    font-weight: 800;
}

.event-announcement p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.event-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 17px;
}

.event-links a {
    color: var(--party-green);
    font-size: 14px;
    font-weight: 800;
}

.event-links a:hover {
    color: var(--party-red);
}

.media-card {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgb(20 60 38 / 5%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.media-card>img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.media-card-body {
    padding: 18px;
}

.media-card-body>span {
    color: var(--party-green);
    font-size: 12px;
    font-weight: 700;
}

.media-card h3 {
    margin: 10px 0 0;
    font-size: 17px;
    font-weight: 800;
}

.join-section {
    padding: 68px 0;
    background: var(--party-green);
    color: #fff;
}

.join-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.join-section .eyebrow {
    color: #b7e5c6;
}

.join-section h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
}

.join-section p {
    max-width: 700px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    line-height: 1.7;
}

.btn-join-light {
    flex: 0 0 auto;
    padding: 14px 22px;
    border-radius: 4px;
    background: #fff;
    color: var(--party-green-dark);
    font-weight: 800;
}

.btn-join-light:hover {
    background: #e8f5ed;
    color: var(--party-green-dark);
}

.site-footer {
    padding: 46px 0 0;
    background: #10251b;
    color: #fff;
}

.footer-brand {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.footer-brand span {
    display: block;
    margin-top: 4px;
    color: #a8e1bf;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-message {
    margin: 12px 0 0;
    color: rgb(255 255 255 / 66%);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.footer-nav a,
.footer-bottom a {
    color: rgb(255 255 255 / 78%);
    font-size: 14px;
}

.footer-nav a:hover,
.footer-bottom a:hover {
    color: #a8e1bf;
}

.page-banner {
    padding: 54px 0 60px;
    background: linear-gradient(112deg, #0b603d 0%, #08462f 100%);
    color: #fff;
}

.page-breadcrumb {
    margin-bottom: 28px;
    --bs-breadcrumb-divider-color: rgb(255 255 255 / 55%);
    --bs-breadcrumb-item-active-color: rgb(255 255 255 / 75%);
}

.page-breadcrumb a {
    color: #c8e7d2;
}

.page-banner .eyebrow {
    margin-bottom: 10px;
    color: #b7e5c6;
}

.page-banner h1 {
    max-width: 820px;
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.page-banner>.container>p {
    max-width: 760px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    font-size: 17px;
    line-height: 1.7;
}

.page-main {
    min-height: 480px;
}

.submission-alert {
    margin-bottom: 34px;
}

.profile-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(36px, 7vw, 90px);
}

.section-panel {
    margin-top: clamp(65px, 8vw, 100px);
}

.section-panel .section-heading {
    margin-bottom: 34px;
}

.profile-photo-wrap {
    display: flex;
    min-height: 425px;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #edf3ee;
}

.profile-photo {
    width: 100%;
    max-height: 475px;
    object-fit: contain;
    object-position: center bottom;
}

.profile-copy>.eyebrow {
    max-width: 560px;
    letter-spacing: .09em;
}

.profile-copy .section-title {
    margin-bottom: 16px;
}

.profile-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 27px 0;
}

.profile-principles>div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.profile-principles i,
.principle-strip i {
    color: var(--party-green);
}

.leadership-quote {
    margin: 26px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--party-green);
    background: var(--soft);
    color: #49564d;
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
}

.purpose-card {
    height: 100%;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #e8eee9;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 28px rgb(20 60 38 / 5%);
}

.purpose-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 19px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 21px;
}

.purpose-card h3,
.commitment-card h3,
.responsibility-card h3 {
    margin-bottom: 11px;
    font-size: 18px;
    font-weight: 800;
}

.purpose-card p,
.commitment-card p,
.responsibility-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.commitment-card {
    padding: 25px 22px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgb(20 60 38 / 4%);
}

.commitment-card>i,
.responsibility-card>i {
    display: inline-grid;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 19px;
}

.journey-list {
    position: relative;
    display: grid;
    max-width: 850px;
    gap: 0;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.journey-list::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 97px;
    width: 2px;
    background: #dce9df;
    content: "";
}

.journey-list li {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 35px;
    padding: 0 0 24px;
}

.journey-list li::before {
    position: absolute;
    top: 4px;
    left: 91px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--party-green);
    box-shadow: 0 0 0 2px #c5ddcd;
    content: "";
}

.journey-period {
    color: var(--party-green);
    font-size: 14px;
    font-weight: 800;
}

.journey-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.content-intro {
    max-width: 760px;
    margin: 0 auto 38px;
}

.member-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    position: relative;
    padding: 24px 24px 22px;
    border: 1px solid #e8eee9;
    border-radius: 7px;
    background: #fff;
}

.member-number,
.council-number {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--party-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.member-card h3,
.council-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 800;
}

.member-card p {
    color: var(--party-green);
    font-weight: 700;
}

.member-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.principle-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
    margin-top: 34px;
    padding: 24px;
    border-radius: 8px;
    background: var(--soft);
}

.principle-strip span {
    font-size: 14px;
    font-weight: 700;
}

.responsibility-card {
    height: 100%;
    padding: 23px 20px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
}

.responsibility-card h3 {
    font-size: 16px;
}

.municipal-statistics {
    margin: 0 auto;
}

.municipal-stat {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 17px 12px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.municipal-stat strong {
    color: var(--party-green);
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 800;
}

.municipal-stat span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.municipal-priorities {
    margin-top: 30px;
}

.municipal-roster-note {
    margin-top: 45px;
}

.directory-notice {
    display: grid;
    max-width: 920px;
    align-items: start;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 28px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e8eee9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(20 60 38 / 5%);
}

.notice-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 26px;
}

.directory-notice .section-title {
    font-size: 30px;
}

.directory-notice .section-lead {
    font-size: 16px;
}

.council-grid {
    max-width: 1050px;
    margin: 0 auto;
}

.council-card {
    padding: 25px;
    border: 1px solid #e8eee9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgb(20 60 38 / 4%);
}

.council-card ul {
    display: grid;
    gap: 10px;
    margin: 19px 0 0;
    padding: 17px 0 0;
    border-top: 1px solid #edf0ed;
    list-style: none;
}

.council-card li {
    display: grid;
    grid-template-columns: minmax(90px, .75fr) minmax(0, 1.25fr);
    gap: 6px 12px;
    color: var(--muted);
    font-size: 14px;
}

.council-card li span {
    font-size: 12px;
    font-weight: 700;
}

.council-card li strong {
    color: var(--ink);
    font-size: 13px;
    text-align: right;
}

.council-statistics {
    margin-bottom: 34px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item>span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(8 70 47 / 0%);
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: background .2s ease, opacity .2s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover>span {
    background: rgb(8 70 47 / 42%);
    opacity: 1;
}

.gallery-modal-content {
    border: 0;
    background: #10251b;
    color: #fff;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.media-gallery-page-main {
    padding: 42px 0 52px;
}

.media-gallery-heading {
    margin-bottom: 17px;
    text-align: center;
}

.media-gallery-heading h1 {
    margin: 0;
    color: #232323;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
}

.media-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.media-gallery-filters button {
    padding: 7px 14px;
    border: 1px solid #e3e8e4;
    border-radius: 3px;
    background: #fff;
    color: #646b66;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.media-gallery-filters button:hover,
.media-gallery-filters button.active {
    border-color: var(--party-green);
    background: var(--party-green);
    color: #fff;
}

.media-gallery-grid {
    margin-bottom: 0;
}

.media-gallery-grid .gallery-item {
    aspect-ratio: 1.38;
    border-radius: 2px;
}

.media-gallery-cta {
    margin-top: 38px;
    border-radius: 0;
    background: linear-gradient(105deg, #0b603d 0%, #10251b 56%, #151515 100%);
}

.membership-benefits {
    max-width: 900px;
    margin: 0 auto 38px;
}

.benefit-card {
    height: 100%;
    padding: 23px 16px;
    border: 1px solid #e8eee9;
    border-radius: 7px;
    background: #fff;
    text-align: center;
}

.benefit-card>i {
    margin-bottom: 11px;
    color: var(--party-green);
    font-size: 20px;
}

.benefit-card h3 {
    margin: 0 0 9px;
    font-size: 15px;
    font-weight: 800;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-benefits {
    max-width: 1000px;
    margin: 0 auto 42px;
}

.form-panel {
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(23px, 5vw, 48px);
    border: 1px solid #e8eee9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(20 60 38 / 5%);
}

.form-heading {
    margin-bottom: 27px;
}

.form-heading .section-title {
    margin-bottom: 9px;
    font-size: 30px;
}

.form-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.form-label {
    margin-bottom: 7px;
    color: #303b34;
    font-size: 14px;
    font-weight: 700;
}

.form-label span {
    color: var(--party-red);
}

.form-control,
.form-select {
    min-height: 46px;
    border-color: #dce5de;
    border-radius: 5px;
    font-size: 15px;
}

textarea.form-control {
    min-height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: #77ae8d;
    box-shadow: 0 0 0 .2rem rgb(11 96 61 / 12%);
}

.form-submit {
    margin-top: 8px;
    padding: 13px 22px;
}

.privacy-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.privacy-note i {
    color: var(--party-green);
}

.page-directory {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 16px 24px;
    margin-top: 66px;
    padding-top: 29px;
    border-top: 1px solid #e8eee9;
}

.page-join-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 70px;
    padding: clamp(25px, 5vw, 42px);
    border-radius: 9px;
    background: var(--party-green);
    color: #fff;
}

.page-join-cta .eyebrow {
    margin-bottom: 10px;
    color: #c8e7d2;
}

.page-join-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 800;
}

.page-join-cta p {
    max-width: 620px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    line-height: 1.65;
}

.page-directory .eyebrow {
    margin: 0;
    padding-top: 5px;
}

.page-directory>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
}

.page-directory a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.page-directory a:hover {
    color: var(--party-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 34px;
    padding: 18px 0;
    border-top: 1px solid rgb(255 255 255 / 14%);
    color: rgb(255 255 255 / 60%);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
}

.footer-admin-link {
    color: rgb(255 255 255 / 45%);
    font-size: 12px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-admin-link:hover {
    color: #ffd83d;
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 100px;
    }

    .masthead-inner {
        min-height: 78px;
    }

    .brand-logo {
        width: 78px;
        height: 54px;
    }

    .brand-name {
        font-size: 20px;
    }

    .site-menu.collapse:not(.show) {
        display: none;
    }

    .site-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-menu-grid>* {
        border-bottom: 1px solid rgb(255 255 255 / 15%);
    }

    .site-menu-item {
        min-height: 82px;
        font-size: 13px;
    }

    .site-dropdown-menu {
        min-width: 215px;
        max-width: 280px;
    }

    .site-menu-grid> :nth-child(3n + 1) .site-dropdown-menu {
        left: 0;
        right: auto;
    }

    .site-menu-toggle {
        display: flex;
        align-items: center;
        gap: 7px;
        border: 0;
        color: #222;
        font-size: 13px;
        font-weight: 700;
    }

    .site-menu-toggle:focus {
        box-shadow: none;
    }

    .hero-section {
        min-height: 520px;
    }

    .hero-title {
        padding: 42px 130px 0;
    }

    .hero-leader {
        height: 67%;
    }

    .section-space {
        padding: 72px 0;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-photo-wrap {
        min-height: 330px;
        max-height: 420px;
    }

    .profile-photo {
        max-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .masthead-inner {
        width: calc(100% - 24px);
        min-height: 72px;
        gap: 8px;
    }

    .masthead-brand {
        gap: 8px;
    }

    .brand-logo {
        width: 42px;
        height: 43px;
    }

    .brand-name {
        max-width: 120px;
        font-size: 9px;
    }

    .brand-name small {
        margin-top: 3px;
        font-size: 10px;
        letter-spacing: .02em;
    }

    .masthead-join {
        min-width: 52px;
        min-height: 44px;
        gap: 4px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .masthead-join i {
        font-size: 15px;
    }

    .site-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-menu-grid> :nth-child(odd) {
        border-left: 1px solid rgb(255 255 255 / 15%);
    }

    .site-menu-item {
        min-height: 74px;
        padding: 10px 7px;
        font-size: 12px;
    }

    .site-menu-grid> :nth-child(odd) .site-dropdown-menu {
        left: 0;
        right: auto;
    }

    .site-menu-grid> :nth-child(even) .site-dropdown-menu {
        left: auto;
        right: 0;
    }

    .site-menu-toggle {
        padding: 7px;
    }

    .site-menu-toggle .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }

    .hero-section {
        min-height: 450px;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgb(0 0 0 / 50%), rgb(0 0 0 / 18%) 60%, rgb(0 0 0 / 40%));
    }

    .hero-title {
        padding: 35px 12px 0;
    }

    .hero-title h1 {
        font-size: clamp(29px, 8vw, 40px);
    }

    .hero-title span {
        margin-top: 7px;
        font-size: 17px;
    }

    .hero-leader {
        max-width: 42%;
        height: 51%;
    }

    .hero-leader-left {
        left: 1%;
    }

    .hero-leader-right {
        right: 1%;
    }

    .journey-list::before {
        left: 82px;
    }

    .journey-list li {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 28px;
    }

    .journey-list li::before {
        left: 76px;
    }

    .council-card {
        padding: 20px 17px;
    }

    .council-card li {
        grid-template-columns: minmax(76px, .7fr) minmax(0, 1.3fr);
        gap: 5px 8px;
    }

    .section-space {
        padding: 58px 0;
    }

    .value-card {
        padding: 22px 12px;
    }

    .value-card img {
        width: 68px;
        height: 68px;
    }

    .leader-card>img {
        height: 190px;
    }

    .media-card>img {
        height: 150px;
    }

    .media-card-body,
    .leader-card-body {
        padding: 14px 12px;
    }

    .join-content,
    .footer-bottom,
    .page-join-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-banner {
        padding: 38px 0 44px;
    }

    .profile-principles {
        grid-template-columns: 1fr;
    }

    .directory-notice {
        grid-template-columns: 1fr;
    }

    .page-directory {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-directory>div {
        gap: 10px 16px;
    }
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 580px;
    background-position: center 42%;
    padding: 18px 0 40px;
}

.hero-shade {
    background: linear-gradient(180deg, rgb(0 0 0 / 58%) 0%, rgb(0 0 0 / 30%) 40%, rgb(0 0 0 / 55%) 100%);
}

/* Top Leadership Row: Top Left, Top Center, Top Right in a row */
.hero-top-leadership-row {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100% - 32px, 1360px);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 12px 14px;
}

.hero-leaders-col {
    display: flex;
    align-items: start;
    gap: 14px;
}

.hero-leaders-top-left {
    justify-content: flex-start;
    flex: 1;
}

.hero-leaders-top-center {
    justify-content: center;
    flex: 0 0 auto;
    gap: 18px;
}

.hero-leaders-top-right {
    justify-content: flex-end;
    flex: 1;
}

.hero-face-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-face-card:hover {
    transform: translateY(-3px) scale(1.05);
}

.hero-face-frame {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #ffd83d 0%, #0b603d 50%, #d6272f 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 216, 61, 0.35);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-face-card:hover .hero-face-frame {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(255, 216, 61, 0.6);
}

.hero-face-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: #0f1612;
}

/* Center leaders (Zulfikar Ali Bhutto & Benazir Bhutto) slightly crowned */
.hero-face-frame-center {
    width: 100px;
    height: 100px;
    padding: 3px;
    background: linear-gradient(135deg, #ffd83d 0%, #ffffff 45%, #ffd83d 75%, #0b603d 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 216, 61, 0.55);
}

.hero-face-name {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(10, 20, 15, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
    white-space: nowrap;
    max-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    text-wrap: balance;
}

.hero-face-card-center .hero-face-name {
    background: rgba(8, 70, 47, 0.92);
    border-color: rgba(255, 216, 61, 0.55);
    color: #ffd83d;
    font-size: 12px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(100% - 36px, 640px);
    margin: 15px auto 0;
    padding: 10px 0 40px;
    text-align: center;
    text-shadow: 0 2px 10px rgb(0 0 0 / 60%);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .98;
}

.hero-district {
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 3px;
    border-bottom: 3px solid #5eba4d;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 29px);
    font-weight: 800;
}

.hero-copy>p {
    margin: 15px 0 20px;
    color: rgb(255 255 255 / 92%);
    font-size: 15px;
    line-height: 1.6;
}

.hero-actions,
.home-join-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
}

.hero-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.hero-button-primary {
    background: var(--party-green);
}

.hero-button-primary:hover {
    background: #08462f;
    color: #fff;
}

.hero-button-outline {
    border-color: #fff;
    background: transparent;
}

.hero-button-outline:hover {
    background: #fff;
    color: #202b24;
}

.hero-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hero-social a {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    text-shadow: none;
}

.hero-social a:hover {
    background: #fff;
    color: var(--party-green);
}

.hero-leader {
    z-index: 1;
    max-width: 25%;
    height: min(84%, 510px);
}

.hero-leader-left {
    left: clamp(8px, 5vw, 78px);
}

.hero-leader-right {
    right: clamp(8px, 5vw, 78px);
}

.values-strip {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 1120px);
    margin: -37px auto 0;
    background: #fff;
    box-shadow: 0 8px 27px rgb(0 0 0 / 13%);
}

.values-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-item {
    display: flex;
    min-height: 98px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-right: 1px solid #e8e8e8;
}

.value-item:last-child {
    border-right: 0;
}

.value-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
}

.value-icon-green {
    background: var(--party-green);
}

.value-icon-black {
    background: #242424;
}

.value-icon-red {
    background: var(--party-red);
}

.value-copy {
    display: flex;
    flex-direction: column;
}

.value-copy strong {
    margin-bottom: 4px;
    color: #242424;
    font-size: 13px;
    font-weight: 800;
}

.value-copy>span {
    color: #737373;
    font-size: 11px;
    line-height: 1.4;
}

.home-profile {
    padding: 48px 20px 45px;
    background: #fff;
}

.home-profile-inner {
    display: grid;
    width: min(100%, 1000px);
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    margin: 0 auto;
}

.home-profile-inner>img {
    width: 100%;
    max-height: 215px;
    object-fit: contain;
    object-position: center bottom;
}

.home-profile-copy h2 {
    margin: 0 0 5px;
    color: var(--party-green);
    font-size: 24px;
    font-weight: 800;
}

.home-profile-copy .profile-role {
    margin: 0 0 12px;
    color: var(--party-red);
    font-size: 13px;
    font-weight: 700;
}

.home-profile-copy>p:not(.profile-role) {
    margin: 0 0 8px;
    color: #5f6661;
    font-size: 12px;
    line-height: 1.65;
}

.home-about {
    padding: 63px 20px;
    background: #f5f6f4;
}

.home-about-inner {
    display: grid;
    width: min(100%, 1080px);
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(35px, 6vw, 75px);
    margin: 0 auto;
}

.home-about-copy .eyebrow {
    margin-bottom: 9px;
}

.home-about-copy h2 {
    max-width: 490px;
    margin: 0 0 15px;
    color: #222;
    font-size: clamp(27px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.13;
}

.home-about-copy>p {
    margin: 0 0 16px;
    color: #646b66;
    font-size: 14px;
    line-height: 1.75;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 19px 0;
}

.about-principles span {
    color: #393f3b;
    font-size: 13px;
    font-weight: 700;
}

.about-principles i {
    margin-right: 6px;
    color: var(--party-green);
}

.about-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--party-green);
    font-size: 13px;
    font-weight: 800;
}

.about-more:hover {
    color: var(--party-red);
}

.home-about-visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #dce8df;
}

.home-about-visual>img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.about-stat-grid {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 14px 8px;
    background: rgb(10 29 19 / 83%);
}

.about-stat {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 2px 6px;
    border-right: 1px solid rgb(255 255 255 / 24%);
    color: #fff;
    text-align: center;
}

.about-stat:last-child {
    border-right: 0;
}

.about-stat strong {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.about-stat span {
    margin-top: 3px;
    color: rgb(255 255 255 / 82%);
    font-size: 9px;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-leadership {
    padding: 55px 20px 43px;
    background: #fff;
}

.home-section-inner {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.home-section-kicker {
    margin-bottom: 25px;
    color: #252525;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.leadership-carousel-track {
    margin: 0;
}

.home-leader-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    background: #fff;
    box-shadow: 0 3px 12px rgb(0 0 0 / 6%);
    color: #272727;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-leader-card:hover {
    box-shadow: 0 10px 22px rgb(0 0 0 / 12%);
    color: var(--party-green);
    transform: translateY(-3px);
}

.home-leader-card>img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-leader-copy {
    display: flex;
    min-height: 93px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 9px 7px;
}

.home-leader-copy small {
    color: #767676;
    font-size: 10px;
    text-transform: uppercase;
}

.home-leader-copy strong {
    margin: 4px 0;
    font-size: 13px;
    font-weight: 800;
}

.home-leader-copy>span {
    color: var(--party-red);
    font-size: 11px;
}

.home-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.home-carousel-controls .carousel-control-prev,
.home-carousel-controls .carousel-control-next {
    position: static;
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    opacity: 1;
}

.home-carousel-controls .carousel-control-prev:hover,
.home-carousel-controls .carousel-control-next:hover {
    background: var(--party-red);
}

.home-carousel-controls .carousel-control-prev-icon,
.home-carousel-controls .carousel-control-next-icon {
    width: 14px;
    height: 14px;
}

.home-carousel-controls .carousel-indicators {
    position: static;
    display: flex;
    width: auto;
    gap: 8px;
    margin: 0;
}

.home-carousel-controls .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: #b8c1bb;
    opacity: 1;
}

.home-carousel-controls .carousel-indicators .active {
    background-color: var(--party-green);
}

.home-updates {
    padding: 14px 20px;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    background: #f7f7f7;
}

.home-updates-inner {
    display: flex;
    width: min(100%, 1080px);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto;
}

.updates-label {
    color: #222;
    font-size: 16px;
    font-weight: 800;
}

.home-update-tabs {
    display: flex;
    align-items: center;
    gap: 23px;
}

.home-update-tabs a,
.updates-more {
    color: #626862;
    font-size: 12px;
    font-weight: 700;
}

.home-update-tabs a.active {
    color: var(--party-green);
}

.updates-more:hover,
.home-update-tabs a:hover {
    color: var(--party-red);
}

.home-gallery {
    padding: 47px 20px 41px;
    background: #fff;
}

.home-gallery-heading {
    margin-bottom: 22px;
    text-align: center;
}

.home-gallery-heading>span {
    color: var(--party-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-gallery-heading h2 {
    margin: 5px 0 0;
    color: #262626;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 800;
    text-transform: capitalize;
}

.home-gallery-track {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.home-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.2 / 1;
    background: #e7ebe8;
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.home-gallery-item:hover img {
    transform: scale(1.05);
}

.home-join {
    padding: 42px 20px;
    background: #333;
    color: #fff;
}

.home-join-inner {
    display: flex;
    width: min(100%, 1080px);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 auto;
}

.home-join h2 {
    margin: 0 0 8px;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 800;
}

.home-join p {
    max-width: 640px;
    margin: 0;
    color: rgb(255 255 255 / 75%);
    font-size: 13px;
    line-height: 1.6;
}

.home-join-actions {
    flex: 0 0 auto;
}

.site-footer {
    padding-top: 43px;
    background: #171717;
}

.footer-columns {
    padding-bottom: 27px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.footer-brand:hover {
    color: #fff;
}

.footer-brand img {
    width: 65px;
    height: 43px;
    object-fit: contain;
}

.footer-brand span {
    margin: 0;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-brand small {
    display: block;
    margin-top: 4px;
    color: #b8c4bc;
    font-size: 11px;
    letter-spacing: .08em;
}

.footer-message {
    max-width: 340px;
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.7;
}

.footer-heading {
    margin: 0 0 13px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    gap: 10px 15px;
}

.footer-nav a,
.footer-contact-link {
    color: rgb(255 255 255 / 72%);
    font-size: 12px;
}

.footer-nav a:hover,
.footer-contact-link:hover {
    color: #a8e1bf;
}

.footer-join-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.footer-join-link:hover {
    color: #a8e1bf;
}

.footer-contact-link {
    display: block;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 520px;
        padding: 14px 0 32px;
    }

    .hero-top-leadership-row {
        gap: 10px;
        padding: 4px 8px 12px;
    }

    .hero-leaders-col {
        gap: 10px;
    }

    .hero-face-frame {
        width: 80px;
        height: 80px;
        padding: 2px;
    }

    .hero-face-frame-center {
        width: 80px;
        height: 80px;
    }

    .hero-face-name {
        font-size: 10px;
        max-width: 90px;
        padding: 2px 6px;
        text-wrap: balance;
    }

    .hero-face-card-center .hero-face-name {
        font-size: 10.5px;
    }

    .hero-leader {
        max-width: 34%;
        height: 70%;
    }

    .home-about-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
        gap: 32px;
    }

}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 480px;
        background-position: center;
        padding: 10px 0 25px;
    }

    .hero-top-leadership-row {
        gap: 6px;
        padding: 2px 4px 8px;
        width: 100%;
        justify-content: space-around;
    }

    .hero-leaders-col {
        gap: 6px;
    }

    .hero-face-frame {
        width: 60px;
        height: 60px;
        padding: 1.5px;
    }

    .hero-face-frame-center {
        width: 60px;
        height: 60px;
    }

    .hero-face-name {
        font-size: 8.5px;
        max-width: 62px;
        padding: 1px 4px;
        text-wrap: balance;
    }

    .hero-face-card-center .hero-face-name {
        font-size: 9px;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgb(0 0 0 / 50%), rgb(0 0 0 / 36%) 55%, rgb(0 0 0 / 52%));
    }

    .hero-copy {
        width: calc(100% - 24px);
        padding: 10px 0 35px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero-copy>p {
        margin: 12px 0 16px;
        font-size: 13px;
    }

    .hero-leader {
        max-width: 44%;
        height: 48%;
    }

    .hero-leader-left {
        left: 0;
    }

    .hero-leader-right {
        right: 0;
    }

    .hero-button {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 12px;
    }

    .values-strip {
        width: calc(100% - 24px);
        margin-top: -28px;
    }

    .values-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-item {
        min-height: 77px;
        justify-content: flex-start;
        gap: 9px;
        padding: 10px;
        border-bottom: 1px solid #e8e8e8;
    }

    .value-item:nth-child(2) {
        border-right: 0;
    }

    .value-item:nth-child(n+3) {
        border-bottom: 0;
    }

    .value-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: 14px;
    }

    .value-copy strong {
        font-size: 11px;
    }

    .value-copy>span {
        font-size: 9px;
    }

    .home-profile {
        padding: 35px 18px;
    }

    .home-profile-inner {
        grid-template-columns: 95px minmax(0, 1fr);
        align-items: start;
        gap: 15px;
    }

    .home-profile-inner>img {
        max-height: 145px;
    }

    .home-profile-copy h2 {
        font-size: 19px;
    }

    .home-profile-copy .profile-role {
        font-size: 11px;
        line-height: 1.4;
    }

    .home-profile-copy>p:not(.profile-role) {
        font-size: 11px;
    }

    .home-profile-copy>p:not(.profile-role):last-child {
        display: none;
    }

    .home-about {
        padding: 43px 18px;
    }

    .home-about-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-about-copy h2 {
        font-size: 29px;
    }

    .home-about-visual,
    .home-about-visual>img {
        min-height: 275px;
        height: 275px;
    }

    .about-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 9px;
        padding: 11px 6px;
    }

    .about-stat:nth-child(2) {
        border-right: 0;
    }

    .about-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgb(255 255 255 / 24%);
        padding-bottom: 7px;
    }

    .about-stat strong {
        font-size: 17px;
    }

    .home-leadership {
        padding: 41px 16px 33px;
    }

    .home-section-kicker {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .home-leader-copy {
        min-height: 78px;
    }

    .home-leader-copy strong {
        font-size: 11px;
    }

    .home-updates {
        padding: 13px 14px;
    }

    .home-updates-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }

    .updates-label {
        display: none;
    }

    .home-update-tabs {
        gap: 14px;
    }

    .home-update-tabs a,
    .updates-more {
        font-size: 11px;
    }

    .home-gallery {
        padding: 38px 14px 32px;
    }

    .home-gallery-item {
        aspect-ratio: 1.25 / 1;
    }

    .home-join {
        padding: 32px 18px;
    }

    .home-join-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .home-join-actions {
        justify-content: flex-start;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.president-page-main {
    padding: 12px 0 34px;
    background: #fff;
}

.president-page-main>.container {
    width: min(100% - 40px, 1140px);
    max-width: none;
}

.president-profile {
    color: #171717;
}

.president-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    align-items: stretch;
    gap: 34px;
}

.president-intro-copy {
    padding: 7px 0 0;
}

.president-intro-copy>h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.president-intro-copy>h1 span {
    display: block;
    margin-top: 3px;
    color: #d71920;
}

.president-intro-copy>h2 {
    margin: 12px 0 5px;
    font-size: 17px;
    font-weight: 800;
}

.president-role {
    margin: 0 0 10px;
    color: #e2181f;
    font-size: 14px;
    font-weight: 700;
}

.president-party {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.president-intro-copy>p:not(.president-role, .president-party) {
    max-width: 600px;
    margin: 0 0 11px;
    color: #444;
    font-size: 12px;
    line-height: 1.55;
}

.president-photo {
    min-height: 310px;
    overflow: hidden;
    border-radius: 7px;
    background: #f5f4f3;
}

.president-photo img {
    display: block;
    width: 100%;
    /* height: 100%;
    min-height: 310px; */
    object-fit: cover;
    object-position: center 43%;
}

.president-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 22px;
    margin: 23px 0 0;
}

.president-principle {
    display: flex;
    align-items: center;
    gap: 9px;
}

.president-principle>span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid var(--party-green);
    border-radius: 50%;
    color: var(--party-green);
    font-size: 17px;
}

.president-principle h3 {
    margin: 0 0 3px;
    font-size: 10px;
    font-weight: 800;
}

.president-principle p {
    margin: 0;
    color: #666;
    font-size: 8px;
    line-height: 1.35;
}

.president-impact {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 11px;
    background: #050505;
    color: #fff;
}

.president-quote {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 18px 20px;
}

.quote-mark {
    color: #e51b23;
    font-size: 48px;
    font-weight: 800;
    line-height: .9;
}

.president-quote p {
    margin: 0 0 10px;
    color: #fff;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}

.president-quote cite,
.president-quote>div>span {
    display: block;
    font-size: 9px;
    font-style: normal;
}

.president-quote cite {
    margin-bottom: 7px;
    color: #f3262c;
}

.president-quote>div>span {
    color: rgb(255 255 255 / 80%);
}

.president-statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    padding: 7px 0;
}

.president-stat {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 7px 5px;
    border-left: 1px solid rgb(255 255 255 / 42%);
    text-align: center;
}

.president-stat i {
    color: #fa171f;
    font-size: 25px;
}

.president-stat strong {
    margin-top: auto;
    font-size: 14px;
    font-weight: 800;
}

.president-stat span {
    min-height: 20px;
    color: rgb(255 255 255 / 90%);
    font-size: 8px;
}

.president-mission {
    padding: 28px 5px 0;
}

.president-mission>h2,
.president-achievements>h2,
.president-journey>h2 {
    margin: 0 0 17px;
    color: #282828;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}

.president-mission>h2 span,
.president-achievements>h2 span {
    color: #e21d25;
}

.president-mission>h2 .vision-word {
    color: var(--party-green);
}

.president-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.president-purpose-card {
    display: flex;
    min-height: 100px;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 16%);
}

.president-purpose-card .purpose-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    margin: 0;
    background: var(--party-green);
    color: #fff;
    font-size: 19px;
}

.president-purpose-card h3 {
    margin: 0 0 4px;
    color: #464646;
    font-size: 14px;
    font-weight: 700;
}

.president-purpose-card p {
    margin: 0;
    color: #555;
    font-size: 9px;
    line-height: 1.5;
}

.president-purpose-quote .purpose-icon {
    align-self: flex-start;
    border-radius: 0;
    background: #f7f7f7;
    color: var(--party-green);
}

.president-purpose-quote>div>strong {
    display: block;
    margin-top: 5px;
    color: var(--party-green);
    font-size: 8px;
}

.president-achievements {
    padding: 29px 5px 0;
}

.president-achievements>h2 {
    margin-bottom: 16px;
    font-size: 17px;
}

.president-achievement-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.president-achievement {
    display: flex;
    min-height: 55px;
    align-items: flex-start;
    gap: 10px;
    padding: 3px 12px;
    border-right: 1px solid #d4d4d4;
}

.president-achievement:last-child {
    border-right: 0;
}

.president-achievement>i {
    flex: 0 0 26px;
    margin-top: 2px;
    color: var(--party-green);
    font-size: 23px;
    text-align: center;
}

.president-achievement h3 {
    margin: 0 0 3px;
    font-size: 9px;
    font-weight: 800;
}

.president-achievement p {
    margin: 0;
    color: #666;
    font-size: 8px;
    line-height: 1.35;
}

.president-journey {
    padding: 27px 10px 0;
}

.president-journey>h2 {
    margin-bottom: 26px;
    color: #575757;
    font-size: 23px;
}

.president-journey>h2 span {
    color: #e21d25;
}

.president-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.president-timeline::before {
    position: absolute;
    top: 13px;
    right: 4%;
    left: 4%;
    height: 2px;
    background: var(--party-green);
    content: "";
}

.president-timeline li {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 0;
    text-align: center;
}

.timeline-icon {
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    margin-bottom: 15px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 12px;
    box-shadow: 0 0 0 1px var(--party-green);
}

.president-timeline li>strong {
    margin-bottom: 6px;
    color: #555;
    font-size: 10px;
}

.president-timeline li>p {
    max-width: 170px;
    margin: 0;
    color: #777;
    font-size: 9px;
    line-height: 1.45;
}

.president-join {
    display: flex;
    min-height: 67px;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 9px 17px;
    border-radius: 8px;
    background: linear-gradient(100deg, #18752e, #000 80%);
    color: #fff;
}

.president-join-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 17px;
}

.president-join h2 {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 800;
}

.president-join p {
    margin: 0;
    color: rgb(255 255 255 / 88%);
    font-size: 9px;
}

.president-join>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 8px 13px;
    background: #ed171f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.president-join>a:hover {
    background: #c9141b;
    color: #fff;
}

.secretary-commitments {
    padding: 27px 5px 0;
    text-align: center;
}

.secretary-commitments>h2 {
    margin: 0 0 5px;
    color: #242424;
    font-size: 19px;
    font-weight: 700;
}

.secretary-commitments>h2 span {
    color: #e21d25;
}

.secretary-commitments>p {
    margin: 0 0 18px;
    color: #656565;
    font-size: 10px;
}

.secretary-commitment-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.secretary-commitment {
    min-height: 139px;
    padding: 10px 9px 11px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 16%);
}

.secretary-commitment>i {
    display: grid;
    width: 45px;
    height: 45px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 19px;
}

.secretary-commitment h3 {
    margin: 0 0 5px;
    color: #363636;
    font-size: 11px;
    font-weight: 700;
}

.secretary-commitment p {
    margin: 0;
    color: #656565;
    font-size: 8px;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .secretary-commitment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .president-intro {
        grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
        gap: 22px;
    }

    .president-photo,
    .president-photo img {
        min-height: 360px;
    }

    .president-impact {
        grid-template-columns: 1fr;
    }

    .president-stat {
        border-top: 1px solid rgb(255 255 255 / 30%);
    }

    .president-achievement-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 13px;
    }

    .president-achievement:nth-child(3) {
        border-right: 0;
    }

    .president-achievement:nth-child(4) {
        grid-column: 1 / 2;
    }
}

@media (max-width: 575.98px) {
    .president-page-main {
        padding-top: 13px;
    }

    .president-page-main>.container {
        width: calc(100% - 28px);
    }

    .president-intro {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .president-intro-copy>h1 {
        font-size: 22px;
    }

    .president-photo,
    .president-photo img {
        min-height: 290px;
        height: 290px;
    }

    .president-principles {
        gap: 12px 8px;
        margin-top: 18px;
    }

    .president-principle {
        align-items: flex-start;
        gap: 7px;
    }

    .president-principle>span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 14px;
    }

    .president-principle h3 {
        font-size: 9px;
    }

    .president-principle p {
        font-size: 8px;
    }

    .president-impact {
        margin-top: 18px;
        border-radius: 8px;
    }

    .president-quote {
        gap: 8px;
        padding: 15px 12px;
    }

    .quote-mark {
        font-size: 39px;
    }

    .president-quote p {
        font-size: 11px;
    }

    .president-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .president-stat {
        min-height: 90px;
        border-right: 1px solid rgb(255 255 255 / 25%);
    }

    .president-stat:nth-child(2n) {
        border-right: 0;
    }

    .president-stat:nth-child(-n+2) {
        border-bottom: 1px solid rgb(255 255 255 / 25%);
    }

    .president-mission,
    .president-achievements,
    .president-journey,
    .secretary-commitments {
        padding-right: 0;
        padding-left: 0;
    }

    .secretary-commitment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .secretary-commitment {
        min-height: 130px;
    }

    .president-mission {
        padding-top: 25px;
    }

    .president-mission>h2,
    .president-achievements>h2 {
        font-size: 18px;
    }

    .president-purpose-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .president-purpose-card {
        min-height: 85px;
    }

    .president-achievement-track {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .president-achievement,
    .president-achievement:nth-child(3) {
        min-height: 50px;
        padding: 6px 4px;
        border-right: 0;
        border-bottom: 1px solid #e1e1e1;
    }

    .president-achievement:last-child {
        border-bottom: 0;
    }

    .president-achievement h3 {
        font-size: 11px;
    }

    .president-achievement p {
        font-size: 9px;
    }

    .president-journey {
        padding-top: 22px;
    }

    .president-journey>h2 {
        margin-bottom: 18px;
        font-size: 21px;
    }

    .president-timeline {
        grid-template-columns: 1fr;
        gap: 11px;
        padding-left: 5px;
    }

    .president-timeline::before {
        top: 12px;
        bottom: 12px;
        left: 15px;
        width: 2px;
        height: auto;
    }

    .president-timeline li {
        display: grid;
        grid-template-columns: 31px minmax(0, 1fr);
        align-items: start;
        column-gap: 10px;
        text-align: left;
    }

    .timeline-icon {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .president-timeline li>strong {
        margin: 2px 0 4px;
    }

    .president-timeline li>p {
        max-width: none;
        padding-bottom: 3px;
    }

    .president-join {
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 19px;
        padding: 12px;
    }

    .president-join-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .president-join>div {
        flex: 1 1 calc(100% - 60px);
    }

    .president-join>a {
        margin-left: 44px;
    }
}

.district-body-page {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 43px 0 0;
}

.district-body-heading {
    margin: 0 auto 28px;
    text-align: center;
}

.district-body-heading h1 {
    margin: 0 0 6px;
    color: #222;
    font-size: 24px;
    font-weight: 700;
}

.district-body-heading h1 span,
.district-responsibilities h2 span {
    color: #e21d25;
}

.district-body-heading p,
.district-responsibilities>p {
    max-width: 520px;
    margin: 0 auto;
    color: #555;
    font-size: 10px;
    line-height: 1.5;
}

.district-member-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px 13px;
}

.district-member-card {
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 19%);
    text-align: center;
}

.district-member-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.36 / 1;
    object-fit: cover;
    object-position: center 35%;
}

.district-member-card>div {
    display: flex;
    min-height: 45px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 5px;
}

.district-member-card h2 {
    margin: 0;
    color: #222;
    font-size: 9px;
    font-weight: 800;
}

.district-member-card p {
    margin: 0;
    color: #dd141c;
    font-size: 8px;
    font-weight: 700;
}

.district-responsibilities {
    padding-top: 31px;
    text-align: center;
}

.district-responsibilities h2 {
    margin: 0 0 5px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.district-responsibilities>p {
    margin-bottom: 20px;
}

.district-responsibility-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.district-responsibility-card {
    min-height: 101px;
    padding: 10px 8px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 19%);
}

.district-responsibility-card>i {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 7px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 19px;
}

.district-responsibility-card:nth-child(2)>i,
.district-responsibility-card:nth-child(4)>i {
    background: #e0161e;
}

.district-responsibility-card h3 {
    margin: 0 0 4px;
    color: #292929;
    font-size: 10px;
    font-weight: 700;
}

.district-responsibility-card p {
    margin: 0;
    color: #626262;
    font-size: 8px;
    line-height: 1.4;
}

.district-impact {
    display: grid;
    grid-template-columns: .95fr 1.65fr;
    min-height: 128px;
    margin-top: 39px;
    overflow: hidden;
    border-radius: 10px;
    background: #050505;
    color: #fff;
}

.district-impact-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.district-impact-intro>span {
    display: grid;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    font-size: 18px;
}

.district-impact-intro h2 {
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.district-impact-intro p {
    margin: 0;
    color: rgb(255 255 255 / 87%);
    font-size: 8px;
    line-height: 1.45;
}

.district-impact-statistics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px 0;
}

.district-impact-stat {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 5px;
    border-left: 1px solid rgb(255 255 255 / 38%);
    text-align: center;
}

.district-impact-stat>i {
    color: #f0161f;
    font-size: 29px;
}

.district-impact-stat strong {
    margin-top: auto;
    font-size: 13px;
    font-weight: 800;
}

.district-impact-stat span {
    min-height: 18px;
    color: rgb(255 255 255 / 85%);
    font-size: 8px;
}

.union-councils-page {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 2px 0 0;
}

.union-councils-heading {
    margin: 0 auto 22px;
    text-align: center;
}

.union-councils-heading h1 {
    margin: 0 0 8px;
    color: #222;
    font-size: 23px;
    font-weight: 700;
}

.union-councils-heading h1 span {
    color: #e21d25;
}

.union-councils-heading p {
    margin: 0;
    color: #444;
    font-size: 10px;
    line-height: 1.55;
}

.union-council-statistics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 21px;
    padding: 5px 3px;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 17%);
}

.union-council-stat {
    display: grid;
    min-height: 42px;
    grid-template-columns: 38px auto;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-content: center;
    column-gap: 9px;
    padding: 3px 7px;
    border-right: 1px solid #c7c7c7;
}

.union-council-stat:last-child {
    border-right: 0;
}

.union-council-stat-icon {
    display: grid;
    width: 34px;
    height: 34px;
    grid-row: 1 / span 2;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}

.union-council-stat-icon-red {
    background: #df090f;
}

.union-council-stat-icon-green {
    background: var(--party-green);
}

.union-council-stat>strong {
    align-self: end;
    color: #13843f;
    font-size: 14px;
    line-height: 1.1;
}

.union-council-stat:nth-child(odd)>strong {
    color: #e10e16;
}

.union-council-stat-label {
    align-self: start;
    color: #404040;
    font-size: 8px;
    white-space: nowrap;
}

.union-council-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.union-council-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 5px rgb(0 0 0 / 16%);
}

.union-council-cover {
    display: block;
    width: 100%;
    height: 102px;
    object-fit: cover;
    object-position: center 48%;
}

.union-council-card>h2 {
    margin: 0;
    padding: 5px 8px;
    background: #25813b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.union-council-members {
    display: grid;
    min-height: 139px;
    grid-template-columns: .8fr 1.2fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    padding: 7px 12px 3px;
}

.union-council-member {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 3px 7px;
}

.union-council-member img {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
}

.union-council-member>div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.union-council-member strong {
    color: #188543;
    font-size: 9px;
    line-height: 1.25;
}

.union-council-member span {
    color: #252525;
    font-size: 8px;
    line-height: 1.25;
}

.union-council-chairman {
    grid-row: 1 / span 3;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #c9c9c9;
    text-align: center;
}

.union-council-chairman img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
}

.union-council-chairman>div {
    align-items: center;
}

.union-council-chairman strong {
    color: #df0c15;
}

.union-council-link {
    display: inline-flex;
    min-width: 112px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    align-self: center;
    margin: 0 0 10px;
    padding: 4px 10px;
    border: 1px solid #19863b;
    border-radius: 3px;
    color: #12752f;
    font-size: 9px;
}

.union-council-link:hover {
    background: #19863b;
    color: #fff;
}

.union-council-join {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 11px 13px;
    border-radius: 8px;
    background: linear-gradient(100deg, #176b27, #050505 80%);
    color: #fff;
}

.union-council-join>span {
    display: none;
}

.union-council-join h2 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
}

.union-council-join p {
    margin: 0;
    color: rgb(255 255 255 / 83%);
    font-size: 8px;
    line-height: 1.45;
}

.union-council-priorities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.union-council-priorities>span {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    border-right: 1px solid rgb(255 255 255 / 28%);
    color: #fff;
    font-size: 7px;
    text-align: center;
}

.union-council-priorities>span:last-child {
    border: 0;
}

.union-council-priorities i {
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .union-council-statistics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 5px;
    }

    .union-council-stat:nth-child(3) {
        border-right: 0;
    }

    .union-council-stat:nth-child(n+4) {
        border-top: 1px solid #ddd;
    }

    .union-council-grid {
        gap: 13px;
    }

    .union-council-members {
        grid-template-columns: .7fr 1.3fr;
        padding-right: 6px;
        padding-left: 6px;
    }

    .union-council-member {
        gap: 5px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .union-council-member img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .union-council-chairman img {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .union-council-member strong {
        font-size: 8px;
    }

    .union-council-member span {
        font-size: 7px;
    }
}

@media (max-width: 575.98px) {
    .union-councils-heading h1 {
        font-size: 20px;
    }

    .union-councils-heading p {
        font-size: 9px;
    }

    .union-council-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 16px;
    }

    .union-council-stat {
        justify-content: start;
        padding-left: 11px;
        border-top: 1px solid #ddd;
    }

    .union-council-stat:nth-child(-n+2) {
        border-top: 0;
    }

    .union-council-stat:nth-child(2n) {
        border-right: 0;
    }

    .union-council-stat:nth-child(3) {
        border-right: 1px solid #ddd;
    }

    .union-council-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .union-council-cover {
        height: 125px;
    }

    .union-council-members {
        min-height: 140px;
        grid-template-columns: .75fr 1.25fr;
        padding-right: 12px;
        padding-left: 12px;
    }

    .union-council-member img {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .union-council-chairman img {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .union-council-member strong {
        font-size: 9px;
    }

    .union-council-member span {
        font-size: 8px;
    }

    .union-council-join {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .union-council-join h2 {
        font-size: 13px;
    }

    .union-council-priorities>span {
        font-size: 7px;
    }
}

@media (max-width: 991.98px) {
    .district-body-page {
        padding-top: 32px;
    }

    .district-member-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .district-responsibility-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .district-body-page {
        padding-top: 26px;
    }

    .district-body-heading {
        margin-bottom: 20px;
    }

    .district-body-heading h1 {
        font-size: 22px;
    }

    .district-body-heading p,
    .district-responsibilities>p {
        font-size: 10px;
    }

    .district-member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .district-member-card img {
        aspect-ratio: 1.3 / 1;
    }

    .district-member-card h2 {
        font-size: 9px;
    }

    .district-member-card p {
        font-size: 8px;
    }

    .district-responsibilities {
        padding-top: 25px;
    }

    .district-responsibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .district-responsibility-card {
        min-height: 108px;
    }

    .district-impact {
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .district-impact-intro {
        padding: 14px;
    }

    .district-impact-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .district-impact-stat {
        min-height: 92px;
        border-top: 1px solid rgb(255 255 255 / 26%);
        border-right: 1px solid rgb(255 255 255 / 26%);
    }

    .district-impact-stat:nth-child(2n) {
        border-right: 0;
    }
}

.membership-page-main {
    padding: 25px 0 48px;
    background: #fff;
}

.membership-page-main>.container {
    width: min(100% - 40px, 1140px);
    max-width: none;
}

.membership-page-heading {
    margin: 0 auto 34px;
    text-align: center;
}

.membership-page-heading h1 {
    margin: 0 0 10px;
    color: #292929;
    font-size: 24px;
    font-weight: 700;
}

.membership-page-heading h1 span {
    color: #e21d25;
}

.membership-page-heading p {
    margin: 0;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}

.membership-layout {
    display: grid;
    grid-template-columns: minmax(205px, .3fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
}

.membership-benefits-panel,
.membership-form-panel {
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 19%);
}

.membership-benefits-panel {
    padding: 13px 14px;
}

.membership-benefits-panel h2 {
    margin: 0 0 15px;
    color: #292929;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.membership-benefits-panel h2 span,
.membership-form-panel>h2 span {
    color: #e21d25;
}

.membership-benefits-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.membership-benefits-panel li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.membership-benefit-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 16px;
}

.membership-benefits-panel li strong,
.membership-benefits-panel li small {
    display: block;
}

.membership-benefits-panel li strong {
    margin-bottom: 2px;
    color: #303030;
    font-size: 10px;
    font-weight: 700;
}

.membership-benefits-panel li small {
    color: #777;
    font-size: 8px;
    line-height: 1.4;
}

.membership-form-panel {
    max-width: none;
    margin: 0;
    padding: 12px 18px 14px;
}

.membership-form-panel>h2 {
    margin: 0 0 18px;
    color: #252525;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.membership-form-panel>h2 span {
    color: var(--party-green);
}

.membership-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.membership-steps li {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: #777;
    text-align: center;
}

.membership-steps li:not(:last-child)::after {
    position: absolute;
    top: 11px;
    left: calc(50% + 15px);
    width: calc(100% - 30px);
    height: 1px;
    background: #dedede;
    content: "";
}

.membership-steps li>span {
    z-index: 1;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid #d4d9d5;
    border-radius: 50%;
    background: #fff;
    color: #777;
    font-size: 9px;
}

.membership-steps li.active>span,
.membership-steps li.complete>span {
    border-color: var(--party-green);
    color: var(--party-green);
}

.membership-steps li strong {
    font-size: 8px;
    font-weight: 500;
    line-height: 1.2;
}

.membership-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.membership-form-panel .form-label {
    margin-bottom: 4px;
    color: #666;
    font-size: 9px;
    font-weight: 400;
}

.membership-form-panel .form-label span {
    color: #e21d25;
}

.membership-gender-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.membership-gender-fieldset legend {
    float: none;
    width: auto;
    margin-bottom: 4px;
}

.membership-gender-options {
    display: flex;
    min-height: 34px;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.membership-gender-options label {
    color: #555;
    font-size: 10px;
}

.membership-gender-options input {
    accent-color: var(--party-green);
}

.membership-form-panel .form-control,
.membership-form-panel .form-select {
    min-height: 34px;
    padding: 6px 9px;
    border-color: #c9ced2;
    border-radius: 3px;
    font-size: 10px;
}

.membership-form-panel textarea.form-control {
    min-height: 70px;
}

.membership-form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.membership-form-actions .btn {
    min-height: 28px;
    padding: 5px 13px;
    border-radius: 3px;
    font-size: 10px;
}

.membership-form-actions .btn-join {
    border-color: #68757d;
    background: #68757d;
}

.membership-form-actions .btn-join:hover {
    border-color: var(--party-green);
    background: var(--party-green);
}

.membership-form-panel .privacy-note {
    margin-top: 10px;
    font-size: 9px;
}

.membership-impact {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 62px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 7px;
    background: linear-gradient(100deg, #18752e 0%, #000 84%);
    color: #fff;
}

.membership-impact-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
}

.membership-impact-message>span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 15px;
}

.membership-impact-message h2 {
    margin: 0 0 3px;
    font-size: 11px;
    font-weight: 800;
}

.membership-impact-message p {
    margin: 0;
    color: rgb(255 255 255 / 87%);
    font-size: 7px;
    line-height: 1.4;
}

.membership-impact ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 7px 0;
    list-style: none;
}

.membership-impact li {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 2px 4px;
    border-left: 1px solid rgb(255 255 255 / 25%);
    text-align: center;
}

.membership-impact li i {
    font-size: 15px;
}

.membership-impact li span {
    font-size: 7px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .membership-page-main {
        padding: 24px 0 36px;
    }

    .membership-page-main>.container {
        width: min(100% - 28px, 560px);
    }

    .membership-page-heading {
        margin-bottom: 23px;
    }

    .membership-page-heading h1 {
        font-size: 22px;
    }

    .membership-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .membership-benefits-panel {
        padding: 12px;
    }

    .membership-benefits-panel ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 9px;
    }

    .membership-benefits-panel li:last-child {
        grid-column: 1 / -1;
    }

    .membership-form-panel {
        padding: 14px 12px;
    }

    .membership-impact {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .membership-impact ul {
        min-height: 62px;
        padding: 0;
    }

    .membership-impact li {
        border-top: 1px solid rgb(255 255 255 / 25%);
    }
}

@media (max-width: 420px) {
    .membership-benefits-panel ul {
        grid-template-columns: 1fr;
    }

    .membership-benefits-panel li:last-child {
        grid-column: auto;
    }
}

.contact-page-main {
    padding: 25px 0 34px;
    background: #fff;
}

.contact-page-main>.container {
    width: min(100% - 40px, 1140px);
    max-width: none;
}

.contact-page-heading {
    margin: 0 auto 23px;
    text-align: center;
}

.contact-page-heading h1 {
    margin: 0;
    color: #555;
    font-size: 22px;
    font-weight: 700;
}

.contact-page-heading h1 span {
    color: #e21d25;
}

.contact-page-heading h1 strong {
    color: var(--party-green);
    font-weight: 700;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(205px, .3fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
}

.contact-listening-panel,
.contact-form-panel {
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 19%);
}

.contact-listening-panel {
    padding: 13px 14px;
}

.contact-listening-panel h2 {
    margin: 0 0 13px;
    color: #303030;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.contact-listening-panel h2 span {
    color: #e21d25;
}

.contact-listening-panel>p {
    margin: 0 0 4px;
    color: #626262;
    font-size: 8px;
    line-height: 1.55;
}

.contact-listening-panel .contact-listening-prompt {
    margin: 10px 0 13px;
    text-align: center;
}

.contact-listening-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-listening-panel li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.contact-benefit-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 16px;
}

.contact-listening-panel li strong,
.contact-listening-panel li small {
    display: block;
}

.contact-listening-panel li strong {
    margin-bottom: 2px;
    color: #303030;
    font-size: 10px;
    font-weight: 700;
}

.contact-listening-panel li small {
    color: #777;
    font-size: 8px;
    line-height: 1.4;
}

.contact-form-panel {
    max-width: none;
    margin: 0;
    padding: 12px 18px 14px;
}

.contact-form-panel>h2 {
    margin: 0 0 20px;
    color: #252525;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.contact-form-panel>h2 span {
    color: var(--party-green);
}

.contact-form-panel .form-label {
    margin-bottom: 4px;
    color: #666;
    font-size: 9px;
    font-weight: 400;
}

.contact-form-panel .form-label span {
    color: #e21d25;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
    min-height: 34px;
    padding: 6px 9px;
    border-color: #c9ced2;
    border-radius: 3px;
    font-size: 10px;
}

.contact-form-panel textarea.form-control {
    min-height: 50px;
}

.contact-submit {
    width: 100%;
    min-height: 31px;
    padding: 5px 12px;
    border: 0;
    border-radius: 3px;
    background: #247b2b;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: lowercase;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: #176522;
    color: #fff;
}

.contact-impact {
    margin-top: 24px;
}

@media (max-width: 767px) {
    .contact-page-main {
        padding: 24px 0 32px;
    }

    .contact-page-main>.container {
        width: min(100% - 28px, 560px);
    }

    .contact-page-heading {
        margin-bottom: 18px;
    }

    .contact-page-heading h1 {
        font-size: 19px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-listening-panel {
        padding: 12px;
    }

    .contact-listening-panel ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 9px;
    }

    .contact-listening-panel li:last-child {
        grid-column: 1 / -1;
    }

    .contact-form-panel {
        padding: 14px 12px;
    }
}

@media (max-width: 420px) {
    .contact-listening-panel ul {
        grid-template-columns: 1fr;
    }

    .contact-listening-panel li:last-child {
        grid-column: auto;
    }
}

.municipal-page-main {
    padding: 20px 0 34px;
    background: #fff;
}

.municipal-page-main>.container {
    width: min(100% - 40px, 1140px);
    max-width: none;
}

.municipal-bodies-page {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.municipal-bodies-heading {
    margin: 0 auto 22px;
    text-align: center;
}

.municipal-bodies-heading h1 {
    margin: 0 0 8px;
    color: #222;
    font-size: 23px;
    font-weight: 700;
}

.municipal-bodies-heading h1 span {
    color: #e21d25;
}

.municipal-bodies-heading p {
    max-width: 780px;
    margin: 0 auto;
    color: #555;
    font-size: 10px;
    line-height: 1.55;
}

.municipal-bodies-statistics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 24px;
    padding: 5px 3px;
    border: 1px solid #dedede;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 16%);
}

.municipal-bodies-stat {
    display: flex;
    min-height: 95px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 7px 4px;
    border-right: 1px solid #e7e7e7;
    text-align: center;
}

.municipal-bodies-stat:last-child {
    border-right: 0;
}

.municipal-bodies-stat-icon {
    display: grid;
    width: 31px;
    height: 31px;
    margin-bottom: 2px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 14px;
}

.municipal-bodies-stat-icon-red {
    background: #fff0f0;
    color: #e21d25;
}

.municipal-bodies-stat strong {
    color: #242424;
    font-size: 15px;
    font-weight: 800;
}

.municipal-bodies-stat-label {
    color: #666;
    font-size: 8px;
    line-height: 1.3;
}

.municipal-bodies-priorities {
    padding: 2px 4px 0;
    text-align: center;
}

.municipal-bodies-priorities header {
    margin-bottom: 17px;
}

.municipal-bodies-priorities h2 {
    margin: 0 0 5px;
    color: #242424;
    font-size: 19px;
    font-weight: 700;
}

.municipal-bodies-priorities h2 span {
    color: #e21d25;
}

.municipal-bodies-priorities header p {
    max-width: 760px;
    margin: 0 auto;
    color: #656565;
    font-size: 9px;
    line-height: 1.5;
}

.municipal-bodies-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.municipal-bodies-priority {
    min-height: 125px;
    padding: 12px 10px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 15%);
}

.municipal-bodies-priority>span {
    display: grid;
    width: 39px;
    height: 39px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green);
    color: #fff;
    font-size: 17px;
}

.municipal-bodies-priority:nth-child(even)>span {
    background: #e21d25;
}

.municipal-bodies-priority h3 {
    margin: 0 0 5px;
    color: #292929;
    font-size: 10px;
    font-weight: 700;
}

.municipal-bodies-priority p {
    margin: 0;
    color: #666;
    font-size: 8px;
    line-height: 1.45;
}

.municipal-bodies-roster {
    display: grid;
    max-width: 920px;
    align-items: center;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 13px;
    margin: 25px auto 0;
    padding: 14px 17px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 15%);
}

.municipal-bodies-roster-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #eaf4ed;
    color: var(--party-green);
    font-size: 18px;
}

.municipal-bodies-roster .eyebrow {
    margin: 0 0 2px;
    font-size: 8px;
}

.municipal-bodies-roster h2 {
    margin: 0 0 4px;
    color: #252525;
    font-size: 14px;
    font-weight: 700;
}

.municipal-bodies-roster p {
    margin: 0 0 5px;
    color: #666;
    font-size: 9px;
    line-height: 1.45;
}

.municipal-bodies-roster a {
    color: var(--party-green);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.municipal-bodies-roster a:hover {
    color: #e21d25;
}

.municipal-bodies-impact {
    display: grid;
    grid-template-columns: 36px minmax(0, 1.2fr) minmax(340px, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 66px;
    margin-top: 25px;
    overflow: hidden;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(100deg, #18752e 0%, #000 82%);
    color: #fff;
}

.municipal-bodies-impact-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 15px;
}

.municipal-bodies-impact-copy h2 {
    margin: 0 0 3px;
    font-size: 11px;
    font-weight: 800;
}

.municipal-bodies-impact-copy p {
    margin: 0;
    color: rgb(255 255 255 / 87%);
    font-size: 7px;
    line-height: 1.4;
}

.municipal-bodies-impact-priorities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-self: stretch;
}

.municipal-bodies-impact-priorities span {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 3px 5px;
    border-left: 1px solid rgb(255 255 255 / 25%);
    font-size: 7px;
    line-height: 1.2;
    text-align: center;
}

.municipal-bodies-impact-priorities i {
    font-size: 14px;
}

@media (max-width: 767px) {
    .municipal-page-main {
        padding: 17px 0 28px;
    }

    .municipal-page-main>.container {
        width: min(100% - 28px, 560px);
    }

    .municipal-bodies-heading {
        margin-bottom: 17px;
    }

    .municipal-bodies-heading h1 {
        font-size: 20px;
    }

    .municipal-bodies-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .municipal-bodies-stat {
        min-height: 83px;
        border-right: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }

    .municipal-bodies-stat:nth-child(2n) {
        border-right: 0;
    }

    .municipal-bodies-stat:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }

    .municipal-bodies-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .municipal-bodies-priority {
        min-height: 118px;
        padding: 10px 8px;
    }

    .municipal-bodies-impact {
        grid-template-columns: 35px minmax(0, 1fr);
        gap: 8px;
    }

    .municipal-bodies-impact-priorities {
        grid-column: 1 / -1;
        min-height: 57px;
        margin: 0 -12px -8px;
        border-top: 1px solid rgb(255 255 255 / 25%);
    }
}

@media (max-width: 420px) {
    .municipal-bodies-priority-grid {
        grid-template-columns: 1fr;
    }

    .municipal-bodies-priority {
        min-height: 0;
    }
}

.container {
    width: min(calc(100% - 32px), 1440px);
    max-width: 1440px;
}

.home-profile-inner,
.home-about-inner,
.home-section-inner,
.home-updates-inner,
.home-gallery-track,
.home-join-inner,
.president-page-main>.container,
.district-body-page,
.tehsil-bodies-page,
.union-councils-page,
.municipal-bodies-page,
.membership-page-main>.container,
.contact-page-main>.container {
    width: min(100%, 1240px);
    max-width: 1240px;
}

main p,
main li,
main small,
main label {
    font-size: max(14px, 1em) !important;
    line-height: 1.55;
}

main .eyebrow {
    font-size: 12px !important;
}

.site-menu-item {
    font-size: 14px;
}

.value-copy>span,
.about-stat span,
.home-leader-copy small,
.home-leader-copy>span,
.home-update-tabs a,
.updates-more,
.home-gallery-heading>span,
.president-stat span,
.president-achievement h3,
.president-principle h3,
.home-leader-copy strong,
.union-council-stat-label,
.union-council-member strong,
.union-council-member span,
.district-impact-intro h2,
.district-impact-stat span,
.district-member-card h2,
.district-responsibility-card h3,
.municipal-bodies-stat-label {
    font-size: 13px;
}

.district-member-card h2,
.union-council-card>h2,
.district-responsibility-card h3 {
    font-size: 16px;
}

.union-council-stat-label {
    white-space: normal;
}

.membership-benefit-icon,
.contact-benefit-icon {
    font-size: 16px;
}

.president-principle>div {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .container {
        width: calc(100% - 28px);
    }

    .home-profile-inner,
    .home-about-inner,
    .home-section-inner,
    .home-updates-inner,
    .home-gallery-track,
    .home-join-inner,
    .president-page-main>.container,
    .district-body-page,
    .tehsil-bodies-page,
    .union-councils-page,
    .municipal-bodies-page,
    .membership-page-main>.container,
    .contact-page-main>.container {
        width: 100%;
    }
}

/* ==========================================================================
   Membership Portal Form (Matching Screenshot)
   ========================================================================== */
.membership-page-main {
    background-color: #f7f9fa;
    padding: 36px 0 64px;
}

.membership-portal-page {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.membership-portal-header {
    margin-bottom: 24px;
}

.membership-portal-title {
    color: #c8102e;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 800;
    margin: 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.membership-portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 34px 38px 28px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
}

.membership-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.membership-label .label-urdu {
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    color: #4b5563;
    margin-left: 2px;
    direction: rtl;
    unicode-bidi: embed;
}

.membership-label .required-star {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.membership-control {
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.membership-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.membership-control:focus {
    border-color: #dc2626;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

select.membership-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234b5563' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 10px;
    padding-right: 36px;
    cursor: pointer;
}

.membership-file {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}

.membership-textarea {
    min-height: 68px;
    resize: vertical;
}

/* Volunteering Preferences */
.membership-volunteering-section {
    margin-top: 6px;
    padding-top: 10px;
}

.volunteering-grid {
    margin-top: 6px;
}

.volunteering-option {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    font-size: 13.5px;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

.volunteering-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    accent-color: #c8102e;
    cursor: pointer;
    flex-shrink: 0;
}

.volunteering-option:hover span {
    color: #111827;
}

/* reCAPTCHA widget */
.membership-recaptcha-wrap {
    margin: 10px 0 16px;
}

.recaptcha-widget-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    height: 74px;
    padding: 10px 14px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.recaptcha-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.recaptcha-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.recaptcha-checkbox-custom {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 2px solid #c1c1c1;
    border-radius: 3px;
    background: #ffffff;
    transition: all .2s ease;
    color: transparent;
    font-size: 14px;
}

.recaptcha-checkbox-label:hover .recaptcha-checkbox-custom {
    border-color: #b2b2b2;
}

.recaptcha-checkbox-label input:checked~.recaptcha-checkbox-custom {
    border-color: #0b603d;
    background: #0b603d;
    color: #ffffff;
}

.recaptcha-text {
    font-size: 14px;
    font-family: Roboto, Arial, sans-serif;
    color: #282828;
    font-weight: 500;
}

.recaptcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.recaptcha-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.recaptcha-brand-title {
    font-size: 9px;
    font-family: Roboto, Arial, sans-serif;
    color: #555555;
    font-weight: 600;
    line-height: 1;
    margin-top: 2px;
}

.recaptcha-brand-links {
    font-size: 8px;
    color: #777777;
    line-height: 1.2;
}

.recaptcha-brand-links a {
    color: #555555;
    text-decoration: none;
}

.recaptcha-brand-links a:hover {
    text-decoration: underline;
}

/* Submit Button */
.membership-submit-wrap {
    margin-top: 4px;
}

.membership-submit-btn {
    display: inline-block;
    padding: 10px 36px;
    background-color: #c8102e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
    text-align: center;
}

.membership-submit-btn:hover {
    background-color: #a70c24;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.membership-submit-btn:active {
    transform: translateY(1px);
}

/* Unified Membership Page Styles */
.membership-page-heading {
    margin: 0 auto 24px;
    text-align: center;
}

.membership-page-heading h1 {
    margin: 0 0 8px;
    color: #292929;
    font-size: 22px;
    font-weight: 700;
}

.membership-page-heading h1 span {
    color: #e21d25;
}

.membership-page-heading p {
    margin: 0;
    color: #666;
    font-size: 11px;
    line-height: 1.5;
}

.membership-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 24px;
}

.membership-benefits-panel,
.membership-form-panel {
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 12%);
}

.membership-benefits-panel {
    padding: 16px 16px 18px;
    position: sticky;
    top: 90px;
}

.membership-benefits-panel h2 {
    margin: 0 0 8px;
    color: #292929;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.membership-benefits-panel h2 span,
.membership-form-panel>h2 span {
    color: #e21d25;
}

.membership-benefits-intro {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.45;
}

.membership-benefits-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.membership-benefits-panel li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.membership-benefit-icon {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--party-green, #0b603d);
    color: #fff;
    font-size: 14px;
}

.membership-benefits-panel li strong {
    display: block;
    margin-bottom: 2px;
    color: #222;
    font-size: 11px;
    font-weight: 700;
}

.membership-benefits-panel li small {
    display: block;
    color: #666;
    font-size: 9.5px;
    line-height: 1.35;
}

.membership-help-card {
    margin-top: 16px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.4;
}

.membership-form-panel {
    max-width: none;
    margin: 0;
    padding: 18px 22px 22px;
}

.membership-form-panel>h2 {
    margin: 0 0 16px;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.membership-form-panel .form-label {
    margin-bottom: 4px;
    color: #374151;
    font-size: 11.5px;
    font-weight: 600;
}

.membership-form-panel .form-label span.text-danger {
    color: #e21d25 !important;
}

.membership-form-panel .form-label .urdu-label {
    color: #6b7280;
    font-size: 10.5px;
    font-weight: 400;
}

.membership-form-panel .form-control,
.membership-form-panel .form-select {
    min-height: 36px;
    padding: 5px 10px;
    border-color: #cbd5e1;
    border-radius: 4px;
    font-size: 12px;
    color: #1f2937;
}

.membership-form-panel .form-control:focus,
.membership-form-panel .form-select:focus {
    border-color: #0b603d;
    box-shadow: 0 0 0 2px rgba(11, 96, 61, 0.15);
}

.membership-form-panel textarea.form-control {
    min-height: 52px;
}

.membership-form-panel .form-check-input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    border-color: #cbd5e1;
    cursor: pointer;
}

.membership-form-panel .form-check-input:checked {
    background-color: #0b603d;
    border-color: #0b603d;
}

.membership-form-panel .form-check-label {
    font-size: 11px;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

.membership-submit-btn {
    min-height: 34px;
    padding: 6px 24px;
    border-radius: 4px;
    background-color: #c8102e;
    border: 1px solid #c8102e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    transition: all .2s ease;
}

.membership-submit-btn:hover {
    background-color: #a30b23;
    border-color: #a30b23;
    color: #fff;
    box-shadow: 0 3px 8px rgba(200, 16, 46, 0.25);
}

.membership-submit-btn:active {
    transform: translateY(1px);
}

.membership-help-note {
    margin: 12px 0 0;
    font-size: 11px;
    color: #4b5563;
    line-height: 1.5;
}

.membership-help-note a {
    color: #111827;
    text-decoration: underline;
    font-weight: 600;
}

.membership-help-note a:hover {
    color: #c8102e;
}

@media (max-width: 991px) {
    .membership-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .membership-benefits-panel {
        position: static;
    }

    .membership-benefits-panel ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .membership-benefits-panel ul {
        grid-template-columns: 1fr;
    }

    .membership-form-panel {
        padding: 14px 12px;
    }

    .membership-submit-btn {
        width: 100%;
    }
}

.masthead-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Members Area Directory Styles */
.members-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.members-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.members-stat-card .stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 18px;
    flex-shrink: 0;
}

.members-stat-card .stat-number {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.members-stat-card .stat-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.members-filter-bar {
    border: 1px solid #e5e7eb !important;
}

.member-profile-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.member-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.member-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.member-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.member-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.member-avatar-placeholder {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #64748b;
    font-size: 20px;
}

.member-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0b603d;
    color: #fff;
    font-size: 9px;
    border: 2px solid #fff;
}

.member-header-info {
    min-width: 0;
    flex: 1;
}

.member-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.member-wing-badge {
    font-size: 10px;
    font-weight: 600;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 3px 6px;
    border-radius: 4px;
}

.member-code {
    font-size: 10px;
    font-family: monospace;
    color: #9ca3af;
}

.member-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11.5px;
    color: #4b5563;
    margin-bottom: 10px;
    flex: 1;
}

.member-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-meta-row i {
    width: 14px;
    text-align: center;
    font-size: 12px;
    flex-shrink: 0;
}

.member-volunteering-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px dashed #f1f5f9;
}

.member-vol-badge {
    font-size: 9.5px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.member-card-footer {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #f8fafc;
}

.member-social-icons {
    display: flex;
    gap: 8px;
}

.member-social-icons a {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    transition: all .15s ease;
}

.member-social-icons a:hover {
    color: #0b603d;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

/* ==========================================================================
   Tehsil Bodies Page
   ========================================================================== */
.tehsil-bodies-page {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 10px 0 20px;
}

.tehsil-bodies-heading {
    margin: 0 auto 28px;
    text-align: center;
}

.tehsil-bodies-heading h1 {
    margin: 0 0 12px;
    color: #1a1a1a;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tehsil-bodies-heading h1 span {
    color: #e21d25;
}

.tehsil-bodies-desc {
    max-width: 820px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.65;
}

.tehsil-bodies-desc p {
    margin-bottom: 10px;
}

.tehsil-bodies-desc p:last-child {
    margin-bottom: 0;
}

/* Statistics Strip */
.tehsil-bodies-statistics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 34px;
    padding: 10px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06);
}

.tehsil-bodies-stat {
    display: flex;
    min-height: 98px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-right: 1px solid #f1f5f9;
    text-align: center;
}

.tehsil-bodies-stat:last-child {
    border-right: 0;
}

.tehsil-bodies-stat-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
    place-items: center;
    border-radius: 50%;
    background: #ecfdf5;
    color: #0b603d;
    font-size: 16px;
}

.tehsil-bodies-stat-icon-red {
    background: #fef2f2;
    color: #dc2626;
}

.tehsil-bodies-stat-icon-green {
    background: #ecfdf5;
    color: #0b603d;
}

.tehsil-bodies-stat strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.tehsil-bodies-stat-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

/* Tehsil Cards */
.tehsils-showcase {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-bottom: 44px;
}

.tehsil-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tehsil-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
}

.tehsil-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.tehsil-header-left {
    flex: 1 1 500px;
}

.tehsil-header-photo-wrap {
    flex-shrink: 0;
}

.tehsil-header-photo {
    width: 200px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tehsil-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tehsil-icon-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b603d, #148053);
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.tehsil-title-group h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.tehsil-urdu-tag {
    display: inline-block;
    margin-top: 2px;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #0b603d;
    direction: rtl;
}

.tehsil-tagline {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.tehsil-description {
    margin: 12px 0 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.tehsil-members-section {
    margin-top: 18px;
}

.tehsil-members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.tehsil-section-title {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b603d;
}

.tehsil-members-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================================================
   Redesigned Leader Portrait Image Cards
   ========================================================================== */
.tehsil-leader-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.tehsil-leader-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
    text-align: center;
    height: 100%;
}

.tehsil-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px -4px rgba(0, 0, 0, 0.12);
    border-color: #0b603d;
}

.tehsil-leader-card.card-highlight-president {
    border-top: 3px solid #dc2626;
}

.tehsil-leader-card.card-highlight-gs {
    border-top: 3px solid #0b603d;
}

.tehsil-leader-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.tehsil-leader-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(15, 23, 42, 0.75) 100%);
    pointer-events: none;
}

.tehsil-leader-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.35s ease;
}

.tehsil-leader-card:hover .tehsil-leader-img {
    transform: scale(1.06);
}

.tehsil-leader-role-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 2;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-align: center;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tehsil-leader-role-tag.badge-president {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
}

.tehsil-leader-role-tag.badge-gs {
    background: linear-gradient(135deg, #0b603d, #047857);
    color: #ffffff;
}

.tehsil-leader-role-tag.badge-svp {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #ffffff;
}

.tehsil-leader-role-tag.badge-info {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
}

.tehsil-leader-role-tag.badge-finance {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    color: #ffffff;
}

.tehsil-leader-role-tag.badge-default {
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
}

.tehsil-leader-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 13px 12px 14px;
    align-items: center;
    justify-content: flex-start;
}

.tehsil-leader-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.tehsil-leader-division {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 8px;
}

.tehsil-leader-phone {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #0b603d;
    background: #ecfdf5;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #a7f3d0;
    transition: all 0.15s ease;
}

.tehsil-leader-phone:hover {
    background: #0b603d;
    color: #ffffff;
    border-color: #0b603d;
}

/* Priorities */
.tehsil-bodies-priorities {
    margin-bottom: 40px;
    text-align: center;
}

.tehsil-bodies-priorities header {
    margin-bottom: 22px;
}

.tehsil-bodies-priorities h2 {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    color: #0f172a;
}

.tehsil-bodies-priorities h2 span {
    color: #dc2626;
}

.tehsil-bodies-priorities header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 13.5px;
    color: #64748b;
}

.tehsil-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tehsil-priority-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 16px;
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.tehsil-priority-card>span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #0b603d;
    font-size: 18px;
}

.tehsil-priority-card:nth-child(even)>span {
    background: #fef2f2;
    color: #dc2626;
}

.tehsil-priority-card h3 {
    margin: 0 0 6px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.tehsil-priority-card p {
    margin: 0;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Impact CTA */
.tehsil-bodies-impact {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 14px;
    background: linear-gradient(105deg, #0f172a, #0b603d 85%);
    color: #ffffff;
    box-shadow: 0 8px 24px -4px rgba(11, 96, 61, 0.3);
}

.tehsil-bodies-impact-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 22px;
}

.tehsil-bodies-impact-copy h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.tehsil-bodies-impact-copy p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
}

.tehsil-bodies-impact-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .tehsil-leader-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .tehsil-bodies-statistics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 8px;
    }

    .tehsil-bodies-stat:nth-child(3) {
        border-right: 0;
    }

    .tehsil-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tehsil-bodies-impact {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 14px;
    }

    .tehsil-bodies-impact-icon {
        margin: 0 auto;
    }

    .tehsil-bodies-impact-action {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .tehsil-leader-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tehsil-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tehsil-header-photo {
        width: 100%;
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .tehsil-bodies-statistics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tehsil-bodies-stat:nth-child(2n) {
        border-right: 0;
    }

    .tehsil-leader-card {
        border-radius: 10px;
    }

    .tehsil-leader-info {
        padding: 10px 8px 12px;
    }

    .tehsil-leader-name {
        font-size: 13px;
        min-height: 34px;
    }

    .tehsil-priority-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blogs & News Page Styling
   ========================================================================== */
.blogs-page-main {
    background-color: #f8fafc;
    padding: 32px 0 64px;
}

.blogs-page {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.blogs-page-heading {
    text-align: center;
    margin-bottom: 32px;
}

.blogs-page-heading .eyebrow {
    display: inline-block;
    color: #0b603d;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.blogs-page-heading h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.blogs-page-heading h1 span {
    color: #dc2626;
}

.blogs-page-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: #64748b;
    font-size: 15px !important;
    line-height: 1.6;
}

.blogs-breadcrumb {
    font-size: 13px;
    margin-bottom: 0;
}

.blogs-breadcrumb a {
    color: #0b603d;
    text-decoration: none;
    font-weight: 500;
}

.blogs-breadcrumb a:hover {
    text-decoration: underline;
}

.blogs-breadcrumb .breadcrumb-item.active {
    color: #64748b;
}

/* Controls: Search & Category Pills */
.blogs-controls-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.blogs-search-form .input-group {
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}

.blogs-search-form .input-group-text {
    background: transparent;
    border: 0;
    color: #64748b;
    padding-left: 14px;
}

.blogs-search-form .form-control {
    background: transparent;
    border: 0;
    font-size: 14px;
    padding: 10px 12px;
    box-shadow: none;
}

.blogs-search-form .form-control:focus {
    background: #ffffff;
}

.blogs-search-form .btn-search-submit {
    background: #0b603d;
    color: #ffffff;
    border: 0;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 600;
    transition: background-color .15s ease;
}

.blogs-search-form .btn-search-submit:hover {
    background: #08482e;
    color: #ffffff;
}

.blogs-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border-radius: 20px;
    text-decoration: none;
    transition: all .2s ease;
}

.category-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.category-pill.active {
    background: #0b603d;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(11, 96, 61, 0.25);
}

/* Featured Story Card */
.featured-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.featured-blog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.featured-image-wrap {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.featured-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.featured-blog-card:hover .featured-image-wrap img {
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #d97706;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.featured-content {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.featured-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: #64748b;
}

.badge-category {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.featured-title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 14px;
}

.featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color .15s ease;
}

.featured-title a:hover {
    color: #dc2626;
}

.featured-excerpt {
    color: #475569;
    font-size: 14.5px !important;
    line-height: 1.6;
    margin-bottom: 24px;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-name {
    display: block;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}

.author-role {
    display: block;
    font-size: 11.5px;
    color: #64748b;
}

.btn-read-story {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: #0b603d;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-read-story:hover {
    background: #08482e;
    color: #ffffff;
    transform: translateX(2px);
}

/* Blog Cards Grid */
.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 ratio */
    overflow: hidden;
    background: #0f172a;
}

.blog-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 96, 61, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    z-index: 2;
}

.blog-card-body {
    padding: 20px 22px 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color .15s ease;
}

.blog-card-title a:hover {
    color: #dc2626;
}

.blog-card-excerpt {
    color: #64748b;
    font-size: 13.5px !important;
    line-height: 1.55;
    margin: 0;
    flex: 1 1 auto;
}

.blog-card-footer {
    padding: 14px 22px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-micro {
    display: flex;
    align-items: center;
    gap: 8px;
}

.micro-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}

.micro-name {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.blog-read-link {
    font-size: 13px;
    font-weight: 700;
    color: #0b603d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap .15s ease, color .15s ease;
}

.blog-read-link:hover {
    color: #dc2626;
    text-decoration: none;
}

/* Call to Action Banner */
.blogs-cta-banner {
    background: linear-gradient(135deg, #0b603d 0%, #172554 50%, #0f172a 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(11, 96, 61, 0.2);
}

.blogs-cta-banner .cta-eyebrow {
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

.blogs-cta-banner h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin: 0 0 8px;
    color: #ffffff;
}

.blogs-cta-banner p {
    color: #cbd5e1;
    font-size: 14.5px !important;
    margin: 0;
    max-width: 620px;
}

.btn-join-cta {
    background: #ffffff;
    color: #0b603d;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    transition: all .2s ease;
}

.btn-join-cta:hover {
    background: #f1f5f9;
    color: #08482e;
    transform: translateY(-2px);
}

.btn-contact-cta {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    transition: all .2s ease;
}

.btn-contact-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* ==========================================================================
   Single Blog Article Details Page
   ========================================================================== */
.blog-detail-article {
    width: min(100%, 1020px);
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 24px;
}

.blog-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 12px;
}

.badge-category-link {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color .15s ease;
}

.badge-category-link:hover {
    background: #bbf7d0;
    color: #15803d;
}

.meta-separator {
    color: #cbd5e1;
}

.blog-post-title {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.blog-post-lead {
    font-size: clamp(16px, 1.8vw, 19px) !important;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 22px;
}

.blog-author-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.author-info-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.author-display-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.author-display-role {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.share-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}

.btn-share {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    border: 0;
    transition: transform .15s ease, opacity .15s ease;
}

.btn-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-share-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.btn-share-facebook {
    background: #1877f2;
    color: #ffffff;
}

.btn-share-x {
    background: #000000;
    color: #ffffff;
}

.btn-share-copy {
    background: #e2e8f0;
    color: #334155;
    cursor: pointer;
}

.blog-featured-figure {
    overflow: hidden;
    border-radius: 16px;
}

.blog-featured-figure img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Article Prose Typography */
.blog-prose-content {
    font-size: 17px;
    line-height: 1.8;
    color: #1e293b;
}

.blog-prose-content p {
    font-size: 17px !important;
    line-height: 1.8;
    margin-bottom: 22px;
    color: #334155;
}

.blog-prose-content h2,
.blog-prose-content h3 {
    font-weight: 800;
    color: #0f172a;
    margin: 34px 0 14px;
    letter-spacing: -0.01em;
}

.blog-prose-content h2 {
    font-size: 24px;
}

.blog-prose-content h3 {
    font-size: 20px;
}

.blog-prose-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    border-left: 4px solid #0b603d;
    background: #f0fdf4;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #166534;
    font-size: 18px;
    line-height: 1.6;
}

.blog-prose-content ul,
.blog-prose-content ol {
    margin-bottom: 22px;
    padding-left: 24px;
}

.blog-prose-content li {
    font-size: 16.5px !important;
    margin-bottom: 8px;
    color: #334155;
}

/* Tags */
.blog-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.blog-tag-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* Author Bio Card */
.blog-author-bio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.bio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0b603d;
}

.bio-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0b603d;
    letter-spacing: 0.05em;
    display: block;
}

.bio-name {
    font-weight: 700;
    color: #0f172a;
}

.bio-desc {
    color: #64748b;
    font-size: 13.5px !important;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .featured-blog-card .row {
        flex-direction: column;
    }

    .featured-image-wrap {
        min-height: 240px;
        height: 240px;
    }

    .featured-content {
        padding: 24px;
    }

    .blogs-cta-banner {
        padding: 28px 24px;
    }
}

@media (max-width: 575.98px) {
    .blogs-page-heading h1 {
        font-size: 26px;
    }

    .featured-title {
        font-size: 19px;
    }

    .blog-author-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons-group {
        width: 100%;
        justify-content: flex-start;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
}

/* Media Badges & Video/Gallery Elements */
.blog-media-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.blog-media-type-badge.video-badge {
    background: rgba(220, 38, 38, 0.92);
}

.blog-media-type-badge.gallery-badge {
    background: rgba(30, 41, 59, 0.88);
}

.blog-media-video-block {
    margin: 24px 0;
}

.video-player-wrap video {
    outline: none;
    background-color: #000000;
}

.blog-gallery-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    background: #0f172a;
    border: 1px solid #e2e8f0;
}

.blog-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-gallery-thumb:hover img {
    transform: scale(1.08);
}

.blog-gallery-thumb .thumb-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 38px;
    height: 38px;
    background: rgba(11, 96, 61, 0.85);
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    opacity: 0;
    transition: all .25s ease;
}

.blog-gallery-thumb:hover .thumb-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   Home Blogs & News Carousel Section
   ========================================================================== */
.home-blogs-carousel-section {
    padding: 48px 0 54px;
    background-color: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.home-blogs-carousel-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 0;
    letter-spacing: -0.02em;
}

.home-blogs-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0b603d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all .2s ease;
}

.home-blogs-view-all:hover {
    background: #0b603d;
    color: #ffffff;
    border-color: #0b603d;
    transform: translateX(3px);
}

.home-blogs-carousel-section .home-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.home-blogs-carousel-section .carousel-indicators {
    position: static;
    margin: 0;
}

.home-blogs-carousel-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #94a3b8;
    border: 0;
    margin: 0 4px;
    opacity: 0.5;
    transition: all .2s ease;
}

.home-blogs-carousel-section .carousel-indicators button.active {
    background-color: #0b603d;
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

.home-blogs-carousel-section .home-carousel-controls .carousel-control-prev,
.home-blogs-carousel-section .home-carousel-controls .carousel-control-next {
    position: static;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #1e293b;
    opacity: 1;
    display: grid;
    place-items: center;
    transition: all .2s ease;
}

.home-blogs-carousel-section .home-carousel-controls .carousel-control-prev:hover,
.home-blogs-carousel-section .home-carousel-controls .carousel-control-next:hover {
    background: #0b603d;
    border-color: #0b603d;
    color: #ffffff;
}

.home-blogs-carousel-section .carousel-control-prev-icon,
.home-blogs-carousel-section .carousel-control-next-icon {
    filter: invert(1);
    width: 14px;
    height: 14px;
}

.home-blogs-carousel-section .carousel-control-prev:hover .carousel-control-prev-icon,
.home-blogs-carousel-section .carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(0);
}

/* ==========================================================================
   PWA Installation & Mobile App Components (Android & iOS)
   ========================================================================== */
.masthead-app-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0b603d 0%, #07472c 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(11, 96, 61, 0.35);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.masthead-app-install-btn:hover {
    background: linear-gradient(135deg, #0d734a 0%, #085535 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(11, 96, 61, 0.45);
    color: #ffffff !important;
}

.masthead-app-install-btn i {
    font-size: 14px;
    color: #fcd34d;
}

.site-menu-item-pwa {
    background: #f0fdf4 !important;
    color: #0b603d !important;
    font-weight: 600 !important;
    border-left: 3px solid #0b603d;
}

/* PWA Install Modal Styles */
.pwa-modal-header {
    background: linear-gradient(135deg, #0b603d 0%, #07472c 100%);
    color: #ffffff;
    border-bottom: 0;
    padding: 22px 24px;
    border-radius: 14px 14px 0 0;
}

.pwa-app-badge-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pwa-app-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.pwa-app-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.pwa-app-info p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #c4d4ca;
}

.pwa-platform-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-platform-tab-btn.active {
    background: #0b603d;
    color: #ffffff;
    border-color: #0b603d;
    box-shadow: 0 4px 10px rgba(11, 96, 61, 0.2);
}

.pwa-ios-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.pwa-ios-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0b603d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pwa-ios-step-text {
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.45;
}

.pwa-ios-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e2e8f0;
    color: #0f172a;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.pwa-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}