.brand-logo-wrap {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 58px;
}

.mobile-dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: #123d35;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.mobile-dropdown > summary::-webkit-details-marker {
    display: none;
}

.mobile-dropdown > summary::after {
    content: '⌄';
    color: #718078;
    transition: transform 0.2s ease;
}

.mobile-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    padding-left: 14px;
    background: #faf9f5;
}

.mobile-panel .mobile-submenu a {
    color: #66746c;
    font-weight: 500;
}

.brand-logo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer .brand-logo-wrap {
    flex-basis: 56px;
    width: 56px;
    height: 64px;
}

.wide-content-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.wide-content-card {
    width: 100%;
}

.contact-thumbnail-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f1e8;
}

.contact-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.article-cover-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f1e8;
}

.article-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.wide-content-card .card-body {
    padding: clamp(24px, 5vw, 56px);
}

.wide-content-card .rich-content {
    max-width: none;
    font-size: 16px;
}

.profile-entry-layout.has-photo {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.profile-entry-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: #f5f1e8;
    object-fit: contain;
    object-position: center;
}

.contact-map {
    margin-top: 42px;
}

.contact-map-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.contact-map-heading h4 {
    margin: 8px 0 5px;
    color: #123d35;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
}

.contact-map-heading p {
    margin: 0;
    color: #66746c;
    font-size: 14px;
}

.contact-map-heading > a {
    flex: 0 0 auto;
    color: #28776b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
    border-radius: 16px;
}

.search-results-form {
    display: flex;
    gap: 12px;
    margin: 0 0 24px;
}

.search-results-form .search-field {
    width: 100%;
}

.search-summary {
    margin: 18px 0 24px;
    color: #66746c;
    font-size: 13px;
}

.search-summary strong {
    color: #123d35;
}

.search-result-placeholder {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(135deg, #dce9df, #f5f1e8);
    padding: 14px;
}

@media (max-width: 760px) {
    .contact-map-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map iframe {
        height: 320px;
    }

    .article-cover-frame {
        aspect-ratio: 4 / 3;
    }

    .profile-entry-layout.has-photo {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .profile-entry-photo {
        max-width: 220px;
        max-height: 300px;
    }

    .search-results-form {
        align-items: stretch;
        flex-direction: column;
    }
}

.rich-content {
    color: #52645b;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.rich-content > :first-child {
    margin-top: 0;
}

.rich-content > :last-child {
    margin-bottom: 0;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote,
.rich-content pre,
.rich-content table,
.rich-content figure {
    margin: 1.15em 0;
}

.card .rich-content p {
    color: #52645b;
    font-size: 14px;
    line-height: 1.85;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    margin: 1.6em 0 0.55em;
    color: #123d35;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    line-height: 1.35;
}

.rich-content h1 { font-size: 2rem; }
.rich-content h2 { font-size: 1.65rem; }
.rich-content h3 { font-size: 1.35rem; }
.rich-content h4 { font-size: 1.15rem; }
.rich-content h5,
.rich-content h6 { font-size: 1rem; }

.rich-content ul,
.rich-content ol {
    padding-left: 1.6em;
}

.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { padding-left: 0.25em; margin: 0.35em 0; }
.rich-content li p { margin: 0.35em 0; }

.rich-content a {
    color: #28776b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-content blockquote {
    border-left: 3px solid #d6a75d;
    border-radius: 0 12px 12px 0;
    background: #f5f1e8;
    padding: 14px 20px;
    color: #123d35;
}

.rich-content hr {
    margin: 1.8em 0;
    border: 0;
    border-top: 1px solid #dce5df;
}

.rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
    border-radius: 12px;
}

.rich-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.rich-content th,
.rich-content td {
    min-width: 110px;
    border: 1px solid #dce5df;
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
}

.rich-content th {
    background: #f5f1e8;
    color: #123d35;
    font-weight: 700;
}

.rich-content pre {
    overflow-x: auto;
    border-radius: 12px;
    background: #0d302a;
    padding: 16px;
    color: #edf4ef;
}

.rich-content code {
    border-radius: 4px;
    background: #eef3ef;
    padding: 0.12em 0.35em;
    font-size: 0.92em;
}

.gallery-album-card { display: block; }
.gallery-album-cover { display: block; width: 100%; height: 230px; object-fit: cover; background: #edf2ee; }
.gallery-album-placeholder { display: grid; place-items: center; height: 230px; background: #edf2ee; color: #28776b; font-size: 32px; }
.gallery-album-card .card-body { padding: 20px; }
.gallery-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.gallery-photo { display: grid; place-items: center; min-height: 210px; overflow: hidden; border-radius: 16px; background: #f2f4f1; }
.gallery-photo img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.employee-photo { display: block; width: 100%; height: 300px; object-fit: contain; background: #f2f4f1; }
.employee-photo-placeholder { display: grid; place-items: center; height: 300px; background: #eaf3ed; color: #28776b; font-family: "Plus Jakarta Sans", sans-serif; font-size: 76px; font-weight: 800; }
.employee-card .card-body { text-align: center; }

.hero-slideshow { isolation: isolate; }
.hero-slideshow:after { z-index: 1; }
.hero-slideshow > .container { position: relative; z-index: 3; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 900ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-leaders { position: absolute; z-index: 3; right: max(0px, calc((100vw - 1160px) / 2 - 70px), calc(5vw - 70px)); bottom: 83px; width: min(46vw, 560px); max-height: 96%; object-fit: contain; object-position: bottom; opacity: 0; pointer-events: none; transition: opacity 900ms ease; }
.hero-leaders.is-visible { opacity: 1; }
.hero-controls { position: absolute; z-index: 4; right: max(22px, calc((100vw - 1160px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hero-control, .hero-dot { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); background: rgba(13,48,42,.52); color: white; }
.hero-control { width: 36px; height: 36px; border-radius: 50%; font-size: 17px; }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; transition: width 180ms ease, background 180ms ease; }
.hero-dot.is-active { width: 22px; border-radius: 999px; background: #e5c78e; border-color: #e5c78e; }

@media (max-width: 760px) {
    .hero-slideshow > .container { position: absolute; top: 28px; left: 50%; width: calc(100% - 34px); transform: translateX(-50%); }
    .hero-slideshow .hero-content { max-width: none; padding: 0; }
    .hero-slideshow .hero-content p,
    .hero-slideshow .hero-note { display: none; }
    .hero-slideshow .eyebrow { font-size: 9px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
    .hero-slideshow .hero-content h1 { display: block; max-width: 360px; margin: 12px 0 0; font-size: clamp(30px, 8vw, 38px); line-height: 1.08; letter-spacing: -.045em; }
    .hero-slideshow .hero-actions { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
    .hero-slideshow .hero-actions .btn { min-height: 38px; padding: 9px 13px; font-size: 10px; white-space: nowrap; }
    .hero-leaders { right: 50%; bottom: 68px; width: min(90vw, 420px); max-height: 72%; transform: translateX(50%); }
    .hero-controls { right: 17px; bottom: 10px; }
    .hero-control { width: 32px; height: 32px; }
    .gallery-album-cover, .gallery-album-placeholder { height: 190px; }
    .gallery-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gallery-photo { min-height: 140px; }
}
