/*
Theme Name: Anamiwa Health
Description: Standalone custom theme for Anamiwa Health orthopedics clinic. No parent theme dependency.
Version: 2.0
Author: Anamiwa Health
Text Domain: anamiwa-health
*/

/* ---------- Base reset & typography ---------- */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333230;
    line-height: 1.6;
}

a {
    color: #ab5fa5;
    text-decoration: none;
}

a:hover {
    color: #763494;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header & primary nav ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #d7c5da;
    padding: 0 24px;
}

.site-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 140px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .site-header-inner {
        gap: 16px;
    }

    .primary-nav ul {
        gap: 12px 24px;
    }

    .nav-cta {
        margin-left: 0;
    }
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 56px;
    width: 56px;
}

.site-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    color: #5c2551;
}

.nav-and-social {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    color: #763494;
}

.social-icon:hover {
    color: #ab5fa5;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    position: relative;
}

.primary-nav a {
    color: #333230;
    font-weight: 600;
    font-size: 15px;
}

.primary-nav a:hover {
    color: #ab5fa5;
}

.primary-nav .menu-item-has-children > a::after {
    content: '\2304';
    margin-left: 6px;
    font-size: 13px;
}

.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #d7c5da;
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 8px 20px rgba(92, 37, 81, 0.12);
    gap: 0;
    z-index: 20;
}

.primary-nav .sub-menu li {
    width: 100%;
}

.primary-nav .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.primary-nav .sub-menu a:hover {
    background: #ebe5eb;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    display: block;
}

.nav-cta {
    margin-left: 64px;
}

.nav-cta > a {
    font-weight: 800 !important;
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: 60px;
}

.footer-banner {
    background: #5c2551;
    padding: 56px 24px;
}

.footer-banner-inner {
    max-width: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 17px;
    margin: 0 0 14px;
}

.footer-column p {
    color: #d7c5da;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.footer-column p:last-child {
    margin-bottom: 0;
}

.footer-info-label {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.footer-column a {
    color: #d7c5da;
}

.footer-column a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    color: #fff;
    margin-top: 16px;
}

.footer-social-icon:hover {
    color: #d7c5da;
}

.footer-copyright {
    background: #ebe5eb;
    text-align: center;
    padding: 20px 24px;
    color: #5f5e5a;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 700px) {
    .footer-banner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ---------- Coming soon page ---------- */

.coming-soon {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.coming-soon-content {
    max-width: 480px;
}

.coming-soon-content h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #763494;
    font-size: 32px;
    margin: 0 0 16px;
}

.coming-soon-content > p {
    font-size: 16px;
    color: #5f5e5a;
    line-height: 1.6;
    margin: 0 0 28px;
}

.coming-soon-address {
    font-weight: 700;
    color: #333230;
    margin-bottom: 16px !important;
}

.coming-soon-phones {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coming-soon-phones a {
    color: #ab5fa5;
    font-weight: 700;
    font-size: 16px;
}

.coming-soon-phones a:hover {
    color: #763494;
}

/* ---------- Homepage hero (collage variant) ---------- */

.home-hero-collage {
    position: relative;
    z-index: 2;
    background:
        radial-gradient(circle at 15% 15%, rgba(171, 95, 165, 0.55), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(92, 37, 81, 0.6), transparent 50%),
        linear-gradient(135deg, #8c3f98 0%, #763494 50%, #5c2551 100%);
}

.home-hero-collage-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 32px;
    padding: 60px 24px;
}

.collage-heading {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 24px;
}

.collage-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.collage-stats {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.collage-stat-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #763494;
    margin-bottom: 8px;
}

.collage-stat-number {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.collage-stat-label {
    font-family: 'Nunito Sans', sans-serif;
    color: #ebe5eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 2px 0 0;
}

.home-hero-collage-images {
    position: relative;
    padding-bottom: 8%;
}

.collage-image-main {
    width: 78%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.collage-image-secondary {
    position: absolute;
    bottom: -70px;
    right: -60px;
    width: 46%;
    height: auto;
    border-radius: 10px;
    background: #fff;
    border: 6px solid #fff;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
    transform: rotate(4deg);
}

@media (max-width: 700px) {
    .home-hero-collage-inner {
        grid-template-columns: 1fr;
    }

    .collage-heading {
        text-align: center;
    }

    .collage-stats {
        justify-content: center;
        text-align: center;
    }

    .collage-stat-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .collage-buttons {
        justify-content: center;
    }

    .home-hero-collage-images {
        margin-top: 24px;
    }
}

/* ---------- Homepage hero ---------- */

.home-hero {
    /* To swap in a photo instead of the gradient: add
       background-image: url('YOUR-IMAGE-URL-HERE');   below. */
    background:
        radial-gradient(circle at 15% 15%, rgba(171, 95, 165, 0.55), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(92, 37, 81, 0.6), transparent 50%),
        linear-gradient(135deg, #8c3f98 0%, #763494 50%, #5c2551 100%);
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.home-hero-overlay {
    max-width: 700px;
}

.home-hero-heading {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 24px;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-hero-cta {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    padding: 10px 26px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-hero-cta:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .home-hero-heading {
        font-size: 28px;
    }
}

/* ---------- Split content section (text + full-bleed image) ---------- */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    margin-top: 48px;
}

.split-section.reverse .split-text-wrap {
    justify-content: flex-start;
    padding: 60px 24px 60px 40px;
}

.split-text-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 60px 40px 60px 24px;
}

.split-text {
    max-width: 460px;
}

.split-heading {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 32px;
    color: #763494;
    margin: 0 0 24px;
}

.split-block {
    margin-bottom: 20px;
}

.split-block h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #333230;
}

.split-block p {
    font-size: 15px;
    line-height: 1.6;
    color: #5f5e5a;
    margin: 0;
}

.split-cta {
    display: inline-block;
    margin-top: 12px;
    border: 2px solid #ab5fa5;
    color: #ab5fa5 !important;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.split-cta:hover {
    background: #ab5fa5;
    color: #fff !important;
}

.split-image {
    margin: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
}

.split-image-placeholder {
    background: #ebe5eb;
    min-height: 480px;
    margin: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c3f98;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 700px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-text-wrap {
        justify-content: flex-start;
        padding: 40px 24px;
    }

    .split-image-placeholder {
        min-height: 260px;
    }
}

/* ---------- Two-column feature section ---------- */

.two-col-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 60px 0;
}

.two-col-section.narrow {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.dual-image-arrangement {
    position: relative;
    margin-bottom: 32px;
    padding-bottom: 15%;
}

.dual-image-main {
    width: 76%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(92, 37, 81, 0.18);
}

.dual-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52%;
    height: auto;
    background: #fff;
    border-radius: 10px;
    border: 6px solid #fff;
    box-shadow: 0 14px 28px rgba(92, 37, 81, 0.28);
    transform: rotate(-3deg);
}

.dual-image-arrangement.products-arrangement {
    padding-bottom: 30%;
}

.logo-badge {
    position: absolute;
    width: 30%;
    height: auto;
    background: #fff;
    border-radius: 10px;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(92, 37, 81, 0.22);
}

.logo-badge-1 {
    bottom: 2%;
    right: 48%;
    transform: rotate(-6deg);
    z-index: 1;
}

.logo-badge-2 {
    bottom: -8%;
    right: 16%;
    transform: rotate(4deg);
    z-index: 3;
}

.logo-badge-3 {
    bottom: 16%;
    right: -4%;
    transform: rotate(-3deg);
    z-index: 2;
}

.feature-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #ebe5eb;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 16px;
    box-sizing: border-box;
}

.feature-image-placeholder {
    background: #ebe5eb;
    min-height: 220px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c3f98;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 22px;
    color: #763494;
    margin: 0 0 10px;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: #5f5e5a;
    margin: 0;
}

@media (max-width: 700px) {
    .two-col-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---------- Featured list section ---------- */

.featured-list-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 0;
}

.featured-list-intro p {
    font-size: 15px;
    line-height: 1.6;
    color: #5f5e5a;
    margin: 0;
}

.featured-list-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-content: start;
}

.featured-list-columns.single {
    grid-template-columns: 1fr;
}

.featured-list-column {
    list-style: none;
    margin: 0;
    padding: 0;
}

.featured-list-column li {
    border-top: 1px solid #d7c5da;
}

.featured-list-column li:last-child {
    border-bottom: 1px solid #d7c5da;
}

.featured-list-column a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #ab5fa5 !important;
    font-weight: 600;
    font-size: 15px;
}

.featured-list-column a::after {
    content: '\203A';
    font-size: 20px;
    margin-left: 12px;
}

.featured-list-column a:hover {
    color: #763494 !important;
}

@media (max-width: 700px) {
    .featured-list-section {
        grid-template-columns: 1fr;
    }

    .featured-list-columns {
        grid-template-columns: 1fr;
    }
}

/* ---------- Case library listing ---------- */

.case-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 32px 0 60px;
}

.case-library-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(140px, 160px));
    gap: 20px;
    margin: 16px 0 0;
}

.case-library-grid.compact .case-card-image img,
.case-library-grid.compact .case-card-image-placeholder {
    height: 110px;
}

.case-library-grid.compact .case-card-title {
    font-size: 14px;
    margin: 0;
}

.case-card {
    display: block;
    color: inherit;
}

.case-card-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #ebe5eb;
}

.case-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.case-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: #ebe5eb;
}

.case-card-title {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #763494;
    font-size: 20px;
    margin: 0 0 8px;
}

.case-card:hover .case-card-title {
    color: #ab5fa5;
}

.case-card-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #5f5e5a;
    margin: 0;
}

/* ---------- Single case study ---------- */

.case-hero {
    background-size: cover;
    background-position: center;
    background-color: #763494;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}

.case-hero-overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(92, 37, 81, 0.85), rgba(92, 37, 81, 0));
    padding: 70px 24px 32px;
}

.case-hero-title {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 34px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.case-article {
    max-width: 760px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.case-section {
    margin-bottom: 32px;
}

.case-section-heading {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ab5fa5;
    font-size: 15px;
    margin: 0 0 12px;
}

.case-section-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333230;
    margin: 0 0 16px;
}

.case-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.case-media-item img,
.case-media-item video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.case-team {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #d7c5da;
}

.case-team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}

.case-team-member {
    width: 100px;
    text-align: center;
}

.case-team-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    background: #d7c5da;
}

.case-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-team-name {
    font-size: 13px;
    font-weight: 600;
    color: #5c2551;
    margin: 0;
}

.case-back-link {
    margin-top: 40px;
}

/* ---------- Request appointment page ---------- */

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0 48px;
}

.contact-info-card {
    background: #ebe5eb;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #ab5fa5;
}

.contact-info-card h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #763494;
    font-size: 20px;
    margin: 0 0 10px;
}

.contact-info-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333230;
    margin: 0;
}

.contact-info-card a {
    color: #333230;
}

.contact-info-card a:hover {
    color: #ab5fa5;
}

.appointment-form-wrap {
    max-width: 600px;
    margin: 0 auto 60px;
}

.appointment-form-wrap .split-heading {
    text-align: center;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.appointment-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333230;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid #d7c5da;
    border-radius: 8px;
    color: #333230;
    background: #fff;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: #ab5fa5;
}

.appointment-form button {
    align-self: flex-start;
    background: transparent;
    cursor: pointer;
}

.form-success {
    background: #ebe5eb;
    color: #5c2551;
    padding: 20px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

.form-errors {
    background: #fdeaea;
    color: #a33333;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-errors p {
    margin: 0;
}

@media (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Single service page ---------- */

.service-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px 24px 32px;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(118, 52, 148, 0.92), rgba(92, 37, 81, 0.92));
}

.service-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.service-hero-title {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 40px;
    margin: 0 0 20px;
}

.service-appointment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 28px;
}

.service-hero-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 24px;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tab {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.service-tab:hover {
    background: rgba(255, 255, 255, 0.3);
}

#service-team,
#service-cases,
[id^="service-section-"] {
    scroll-margin-top: 24px;
}

/* ---------- Page content defaults ---------- */

.entry-header {
    margin: 32px 0 16px;
}

.entry-title {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #763494;
    font-size: 32px;
    margin: 0;
}

.entry-content {
    margin-bottom: 24px;
}

/* ---------- Staff directory ---------- */

.staff-directory {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px 0;
}

.site-banner {
    background-size: cover;
    background-position: center;
    background-color: #763494;
    border-radius: 12px;
    padding: 64px 24px;
    margin-bottom: 32px;
    text-align: center;
}

.site-banner-overlay {
    display: inline-block;
    max-width: 600px;
    background: rgba(92, 37, 81, 0.55);
    border-radius: 12px;
    padding: 28px 32px;
}

.site-banner-heading {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
}

.site-banner-subtext {
    color: #ebe5eb;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.staff-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.staff-tab {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.staff-tab:hover:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.3);
}

.staff-tab[aria-selected="true"] {
    background: #fff;
    color: #763494;
}

.staff-panel {
    opacity: 1;
    transition: opacity 180ms ease;
}

.staff-panel[hidden] {
    display: none;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-top: 24px;
}

.staff-card {
    background: #ebe5eb;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.staff-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #d7c5da;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-name {
    color: #5c2551;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}

.staff-description {
    color: #5f5e5a;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.staff-empty-state {
    color: #5f5e5a;
    font-style: italic;
}
