body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sticky-header {
    background-color: #F0F0ED;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    padding: 0 20px;
}

.logo {
    height: 100px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    transform: translateY(2px);
    transform-origin: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #22447D;
    font-size: 18px;
    font-weight: bold;
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    width: 100%;
    height: 520px;
    background-image: url("../images/sdvmpg_hero-web.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
}

.hero h1,
.hero h2,
.hero h3 {
    margin: 0 0 28px 0;
    font-weight: 700;
    line-height: 1.1;
}

.hero h1 {
    font-size: 2.7rem;
    color: #d71920;
}

.hero h2 {
    font-size: 2.7rem;
    color: #ffffff;
    margin-left: 4%;
}

.hero h3 {
    font-size: 2.7rem;
    color: #005b8f;
    margin-left: -7%;
}


/* ------------------------------------------------------------------
   Main page structure
   ------------------------------------------------------------------ */

.content-band {
    position: relative;
    z-index: 3;
    width: 100%;
    background: #fff;
}

.site-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 54px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 72px 28px 120px;
    box-sizing: border-box;
}

.content-column,
.sidebar,
.post {
    min-width: 0;
}

.section-heading,
.sidebar-section h3 {
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* ------------------------------------------------------------------
   Posts
   ------------------------------------------------------------------ */

.post + .post {
    margin-top: 7em;
}

.post-date {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #666;
}

.post-title {
    margin: 0 0 24px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:visited,
.post-title a:hover,
.post-title a:active {
    color: inherit;
}

.post h2:not(.post-title) {
    margin: 1.75em 0 0.75em;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 400;
}

.post h3,
.post h4 {
    margin: 1.75em 0 0.75em;
}

.post p,
.sidebar-section p,
.sidebar-section li {
    font-size: 14px;
    line-height: 1.55;
}

.post p {
    margin: 0 0 22px;
}

.post,
.post p,
.post li,
.post figcaption,
.sidebar {
    overflow-wrap: break-word;
}

.post table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.post th,
.post td {
    overflow-wrap: anywhere;
    word-break: normal;
}


/* ------------------------------------------------------------------
   Post media
   ------------------------------------------------------------------ */

.post iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5em 0;
    border: 0;
}

.post img,
.post video {
    display: block;
    width: 100%;
    max-width: 525px;
    height: auto;
    margin: 1.5em 0;
    float: none;
}

.post figure,
.post .wp-caption {
    display: block;
    width: 100%;
    max-width: 525px;
    margin: 1.5em 0;
    float: none;
}

.post figure img,
.post .wp-caption img {
    margin: 0;
}

.post figcaption,
.post .wp-caption figcaption {
    margin-top: 0.5em;
}


/* ------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------ */

.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

.pagination a,
.pagination-current {
    display: inline-block;
    padding: 4px 7px;
}

.pagination-current {
    font-weight: 700;
}

.pagination-prev {
    margin-right: auto;
}

.pagination-next {
    margin-left: auto;
}


/* ------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------ */

.sidebar {
    position: sticky;
    top: 105px;
    align-self: start;
}

.sidebar-section {
    margin-bottom: 54px;
}

.sidebar-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-section li {
    padding: 9px 0;
    border-bottom: 1px solid #ddd;
}

.posting-calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}

.posting-calendar caption {
    margin-bottom: 10px;
    font-weight: 600;
}

.posting-calendar th,
.posting-calendar td {
    padding: 4px 2px;
}

.posting-calendar a {
    font-weight: 700;
    text-decoration: none;
}

.posting-calendar a:hover {
    text-decoration: underline;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
}

.calendar-navigation a {
    text-decoration: none;
}

.calendar-navigation a:hover {
    text-decoration: underline;
}


/* ------------------------------------------------------------------
   Leadership
   ------------------------------------------------------------------ */
.leader {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    padding: 38px 0;
    border-top: 1px solid #ddd;
}

.leader img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
}


/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
footer {
    width: 100%;
    box-sizing: border-box;
    background-color: #333;
    color: #fff;
    padding: 28px 20px 22px;
}

.footer-content {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid #555;
    font-size: 12px;
    color: #ccc;
}

@media (max-width: 750px) {
    .footer-contact {
        display: block;
    }

    .footer-contact span {
        display: block;
        margin-bottom: 7px;
    }
}


/* ------------------------------------------------------------------
   Tablet / mobile
   ------------------------------------------------------------------ */

@media (max-width: 1100px) {
    .sidebar.mobile-hidden {
        display: none;
    }

    .sidebar .posting-calendar {
        display: none;
    }

    .site-content > .sidebar:not(.mobile-hidden) {
        width: 100%;
        margin: 0 0 34px 0;
        padding: 0;
    }

    .site-content > .sidebar:not(.mobile-hidden) .sidebar-section {
        margin-bottom: 28px;
    }

    .header-content {
        flex-direction: column;
        padding: 8px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li {
        margin: 4px 10px;
    }

    .hero {
        height: 420px;
    }

    .hero-content {
        left: 7%;
        right: 7%;
    }

    .hero h1,
    .hero h2,
    .hero h3 {
        font-size: 2rem;
        margin-left: 0;
    }

    .site-content {
        display: block;
        width: 100%;
        max-width: none;
        padding: 48px 24px 80px;
    }

    .content-column {
        width: 100%;
        min-width: 0;
    }

    .post {
        width: 100%;
        min-width: 0;
    }

    .post img,
    .post video,
    .post figure,
    .post .wp-caption {
        width: 100%;
        max-width: 100%;
    }

    .sidebar {
        position: static;
        align-self: auto;
        width: 100%;
        min-width: 0;
        margin-top: 72px;
    }

    .posting-calendar {
        max-width: 360px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    .pagination-prev,
    .pagination-next {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Members */

.members-intro {
    max-width: 760px;
    margin: 0 0 38px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.member-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 220px;
    padding: 20px 16px 18px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.member-card:hover {
    transform: translateY(-3px);
    border-color: #bbb;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10);
}

.member-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    margin-bottom: 16px;
}

.member-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 110px;
    margin: 0;
    object-fit: contain;
}

.member-card h2 {
    margin: auto 0 6px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #22447D;
}

.member-card span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 1100px) {
    .members-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        min-height: 200px;
    }
}


/* ------------------------------------------------------------------
   Phone
   ------------------------------------------------------------------ */

@media (max-width: 520px) {
    .leader {
        display: block;
        padding: 32px 0;
    }

    .leader img {
        width: 180px;
        max-width: 100%;
        margin: 0 auto 22px;
    }

    .leader-content {
        width: 100%;
    }

    .leader-content h2,
    .leader-content h3 {
        text-align: center;
    }

    .header-content {
        position: relative;
        padding: 8px 18px;
    }

    .logo img {
        height: 60px;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        left: 18px;
        top: 19px;
        width: 38px;
        height: 38px;
        padding: 8px;
        border: 0;
        background: none;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #22447D;
        border-radius: 2px;
    }

    .header-content nav {
        display: none;
        width: 100%;
        padding-top: 8px;
    }

    .header-content nav.is-open {
        display: block;
    }

    .header-content nav ul {
        display: block;
    }

    .header-content nav li {
        margin: 0;
        text-align: center;
        border-top: 1px solid #e2e2e2;
    }

    .header-content nav a {
        display: block;
        padding: 10px 8px;
        font-size: 15px;
    }

    .hero {
        height: 340px;
    }

    .hero h1,
    .hero h2,
    .hero h3 {
        font-size: 1.55rem;
    }

    .site-content {
        padding: 38px 18px 64px;
    }

    .section-heading,
    .sidebar-section h3 {
        margin-bottom: 22px;
    }

    .post-title,
    .post h2:not(.post-title) {
        font-size: 21px;
    }

    .post p,
    .sidebar-section p,
    .sidebar-section li {
        font-size: 15px;
        line-height: 1.55;
    }

    .post + .post {
        margin-top: 6em;
    }

    .post table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .post th,
    .post td {
        white-space: normal;
    }

    .pagination {
        font-size: 13px;
        gap: 6px;
    }

    .pagination a,
    .pagination-current {
        padding: 5px 6px;
    }
}

/* ------------------------------------------------------------------
   Search
   ------------------------------------------------------------------ */

.site-search-form {
    display: flex;
    gap: 7px;
}

.site-search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.site-search-input-wrap input {
    width: 100%;
    padding-right: 30px;
}

.site-search-form .site-search-clear {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #999;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
}

.site-search-form .site-search-clear:hover {
    background: none;
    color: #444;
    opacity: 1;
}

.site-search-form .site-search-clear[hidden] {
    display: none;
}

.site-search-clear:hover {
    color: #222;
    opacity: 1;
}

.site-search-form input {
    min-width: 0;
    flex: 1;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 2px;
    background: #fff;
    font: inherit;
    font-size: 13px;
}

.site-search-form input:focus {
    outline: 2px solid #22447D;
    outline-offset: 1px;
}

.site-search-form button,
.search-clear {
    padding: 9px 12px;
    border: 0;
    border-radius: 2px;
    background: #22447D;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.site-search-form button:hover,
.search-clear:hover {
    opacity: 0.88;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 12px;
}

.search-results-header h1 {
    margin: 0;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 400;
}

.search-result-count {
    margin: 0 0 42px;
    color: #666;
    font-size: 13px;
}

.search-result {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid #ddd;
}

.search-result:last-child {
    border-bottom: 0;
}

.search-result-title {
    margin: 4px 0 12px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
}

.search-result-title a {
    color: #22447D;
    text-decoration: none;
}

.search-result-title a:hover {
    text-decoration: underline;
}

.search-result p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.search-no-results {
    margin-top: 36px;
}

@media (max-width: 520px) {
    .site-search-form {
        display: block;
    }

    .site-search-form input {
        width: 100%;
        margin-bottom: 7px;
    }

    .site-search-form button {
        width: 100%;
    }

    .search-results-header {
        display: block;
    }

    .search-clear {
        margin-top: 16px;
    }
}



/* --- Hero typography experiment: organization + unified taglines --- */

.hero-content {
    top: 24%;
    left: 6%;
    width: 52%;
    transform: none;
    text-align: left;
}

.hero-organization {
    color: #fff;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.hero-rule {
    width: 92px;
    height: 4px;
    margin: 22px 0 25px;
    background: #c7a44a;
}

.hero-taglines {
    color: rgba(255, 255, 255, 0.96);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.hero-taglines > div + div {
    margin-top: 16px;
}

@media (max-width: 1100px) {
    .hero-content {
        top: 18%;
        left: 7%;
        right: 7%;
        width: auto;
    }

    .hero-organization {
        font-size: 28px;
    }

    .hero-taglines {
        font-size: 22px;
    }

    .hero-rule {
        margin: 18px 0 21px;
    }
}

@media (max-width: 520px) {
    .hero-content {
        top: 14%;
        left: 6%;
        right: 6%;
    }

    .hero-organization {
        font-size: 22px;
    }

    .hero-taglines {
        font-size: 17px;
    }

    .hero-taglines > div + div {
        margin-top: 11px;
    }

    .hero-rule {
        width: 68px;
        height: 3px;
        margin: 14px 0 17px;
    }
}
