.poster-container {
    transition: transform 0.3s ease;
    border: 10px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background-color: #ffffff;
}

.poster-container:hover {
    transform: translateY(-8px);
}

.content-text-box p {
    line-height: 1.8;
    font-family: "Roboto", sans-serif;
}

.rounded-3 {
    /* border-left: 8px solid var(--ust-gold) !important; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mission-vision-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--ust-gold) 0%,
        var(--ust-light-gold) 50%,
        var(--ust-gold) 100%
    );
}
.image-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--ust-gold) 0%,
        var(--ust-light-gold) 50%,
        var(--ust-gold) 100%
    );
}

/* ── Logo section redesign ── */
.logo-section {
    position: relative;
    padding: 48px 0 40px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/hero-img.png") center/cover no-repeat;
    background-attachment: fixed;
}

.logo-container {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 32px 36px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.logo-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(244, 196, 48, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.logo-image-wrapper,
.logo-image-wrapper img {
    border-radius: 8px !important;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.suborg-title {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 6px;
}

.external-links {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.external-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition:
        opacity 0.2s,
        transform 0.15s;
    transform: none;
}

.external-link-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.external-link-bt {
    background: rgba(244, 196, 48, 0.15);
    color: var(--ust-gold);
    border: 1px solid rgba(244, 196, 48, 0.4);
}

.external-link-bt:hover {
    background: var(--ust-gold);
    color: #1a1a1a;
    border-color: var(--ust-gold);
}
/* ══════════════════════════════════════════
    ADDITIONAL CONTENT SECTIONS
    ══════════════════════════════════════════ */

/* Base section */
.so-section {
    padding: 72px 0;
}
.so-section--light {
    background: white;
    /* changed color from old: #f7f5f0 */
}
.so-section--dark {
    background: #1a2340;
}
.so-section--gold {
    background: var(--ust-gold, #f0c040);
}

/* Container */
.so-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}
.so-container--narrow {
    max-width: 780px;
    text-align: center;
}

/* Headings */
.so-heading {
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 20px;
}
.so-heading--white {
    color: #fff;
}
.so-heading--dark {
    color: #1a2340;
}

.so-subheading {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 10px;
}

/* Divider */
.so-divider {
    width: 48px;
    height: 3px;
    background: var(--ust-gold, #f0c040);
    margin-bottom: 20px;
    border-radius: 2px;
}
.so-divider--centered {
    margin: 0 auto 24px;
}

/* Body text */
.so-body {
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}
.so-body--dark {
    color: #1a2340;
}
.so-body--white {
    color: #fff;
}
.so-body--centered {
    text-align: center;
    color: #555;
}

/* ── 2 images side by side ── */
.so-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 8px;
}
.so-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/2;
    background: #e8e0cc;
}
.so-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.so-img-wrap:hover img {
    transform: scale(1.03);
}

/* Dark section: force all text white */
.so-section--dark .so-body,
.so-section--dark .so-heading {
    color: #fff;
}

/* ── Image + Text split ── */
.so-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.so-split--reverse .so-split_img {
    order: 2;
}
.so-split--reverse .so-split_text {
    order: 1;
}

.so-split_img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
    aspect-ratio: 3/2;
    background: #e8e0cc;
}
.so-split_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Two column text ── */
.so-two-col-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 8px;
}
.so-text-col {
    border-left: 3px solid rgba(26, 35, 64, 0.2);
    padding-left: 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .so-two-images,
    .so-split,
    .so-two-col-text {
        grid-template-columns: 1fr;
    }
    .so-split--reverse .so-split_img,
    .so-split--reverse .so-split_text {
        order: unset;
    }
    .so-section {
        padding: 48px 0;
    }
}

/* ── Image lightbox ── */
.so-img-wrap img,
.so-split_img img {
    cursor: zoom-in;
}

.so-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.so-lightbox.open {
    display: flex;
}

.so-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    animation: lbIn 0.2s ease;
    cursor: default;
}

@keyframes lbIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.so-lb-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
}
.so-lb-close:hover {
    opacity: 1;
}

/* Add this to overwrite gold color on the officer page */
.modal-body label {
    color: #000000;
    font-weight: 600;
}
.modal-body .card {
    border: 2px solid var(--ust-gold) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
    background-color: #fffbea !important;
    overflow: hidden;
}
.modal-footer .btn-primary {
    background: linear-gradient(
        135deg,
        var(--ust-gold) 0%,
        var(--ust-light-gold) 100%
    );
    border: 2px solid var(--ust-light-gold);
    color: var(--ust-dark);
    font-weight: 700;
}

.btn-black {
    background: linear-gradient(
        135deg,
        var(--ust-gold) 0%,
        var(--ust-light-gold) 100%
    );
    border: 2px solid var(--ust-light-gold);
    color: var(--ust-dark);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-black:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--ust-light-gold) 0%, #fff 100%);
    border-color: #fff;
    color: var(--ust-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
}

.btn-black:disabled {
    background: linear-gradient(135deg, #5a5038 0%, #4a4030 100%);
    border-color: #4a4030;
    color: #888;
    opacity: 0.6;
}

/* Edit styles */
.img-thumbnail {
    width: 100%;
}

/* Needed to overwrite */
.form-label {
    display: block;
    color: black;
    font-size: 1rem;
}
