/*
Theme Name: Gift School
Theme URI: https://example.com
Author: Gift School
Author URI: https://example.com
Description: A basic light blue and white theme with a header, footer, and home page.
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gift-school
*/

@font-face {
    font-family: "Acumin Variable Concept";
    src: url("fonts/AcuminVariableConcept.otf") format("opentype");
    font-weight: 100 900;
    font-stretch: 50% 115%;
    font-style: oblique 0deg 12deg;
    font-display: swap;
}

:root {
    --blue-50: #f4fbff;
    --blue-100: #d9f1fb;
    --blue-300: #8fd4f2;
    --blue-500: #4eb6e0;
    --blue-700: #1d6f96;
    --white: #ffffff;
    --ink: #16384a;
    --header-height: 5.5rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Acumin Variable Concept", sans-serif;
    font-weight: 600;
    color: var(--ink);
    background-color: var(--blue-50);
}

button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    color: var(--blue-700);
}

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

.wrap {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    box-shadow: 0 1px 0 rgba(48, 83, 132, 0.1);
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5.5rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 6rem;
    height: auto;
}

.site-nav-desktop {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #305384;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-link.is-current {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.55rem;
}

.nav-link:hover {
    color: #24426e;
}

.header-contact {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 1.85rem;
    border-radius: 8px;
    background-color: #305384;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.header-contact:hover {
    background-color: #24426e;
    color: var(--white);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin: 0 auto;
    background-color: #305384;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(22, 56, 74, 0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    width: min(18rem, 85vw);
    height: 100%;
    background-color: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 6rem 1.5rem 2rem;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-link {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 500;
    color: #305384;
    text-decoration: none;
}

.mobile-menu-link.is-current {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4rem;
}

.mobile-menu-link:hover {
    color: #24426e;
}

.mobile-contact {
    display: inline-flex;
    margin-top: 0.5rem;
}

body.menu-open {
    overflow: hidden;
}

main {
    min-height: 50vh;
}

.home {
    background-color: #ebf4fa;
    color: #305384;
}

.home h1,
.home h2,
.home h3 {
    margin: 0;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.home h1 {
    font-size: clamp(2rem, 2.7vw, 2.65rem);
    margin-bottom: 1.25rem;
}

.home h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.home p {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
    color: #305384;
}

.home-lead {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background-color: #305384;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.home-btn:hover {
    background-color: #24426e;
    color: #fff;
}

.home-hero,
.home-team {
    background-color: #ebf4fa;
    padding: 3.5rem 0;
}

.home-services,
.home-news {
    background-color: #fff;
    background-image: url("context/gift-background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 3.5rem 0;
}

.home-hero-inner,
.home-news-inner,
.service-grid,
.team-grid {
    display: grid;
    gap: 2rem;
}

.home-hero-inner,
.home-news-inner,
.service-grid,
.team-grid {
    grid-template-columns: 1fr;
}

.home-hero-photo,
.service-card img,
.home-news-photo,
.team-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 1rem;
}

.home-hero-photo {
    height: 18rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.85rem 0.85rem 1.15rem;
    background-color: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 10px 28px rgba(48, 83, 132, 0.08);
}

.service-card img {
    height: 12.5rem;
    margin-bottom: 0;
    object-position: center;
    border-radius: 0.85rem;
}

.service-card-body {
    padding: 1.1rem 0.4rem 0;
}

.service-card-body p:last-child {
    margin-bottom: 0;
}

.home-services-more {
    display: flex;
    width: fit-content;
    margin: 1.75rem auto 0;
}

.service-card h3,
.team-card h3,
.home-news-copy h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.team-card {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

.team-card img {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 0.85rem;
}

.team-role {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.team-card h3 a,
.team-page h2 a,
.team-kicker a {
    color: inherit;
    text-decoration: none;
}

.team-card h3 a:hover,
.team-page h2 a:hover,
.team-kicker a:hover {
    color: #24426e;
}

.home .team-role p,
.team-page .team-role p {
    margin: 0;
}

.home-news-photo {
    height: 16rem;
    margin-top: 1rem;
}

.home-kicker {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-news-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-news-copy h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

@media (min-width: 800px) {
    .home-hero-inner,
    .service-grid,
    .home .team-grid,
    .team-page .team-grid,
    .home-news-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .home-hero-inner,
    .home-news-inner {
        align-items: center;
    }

    .home-hero-photo {
        height: 22rem;
    }

    .service-card img {
        height: 13.5rem;
    }
}

.page-heading,
.error-404 h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--blue-700);
}

.empty-state {
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background-color: var(--blue-500);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background-color: var(--blue-700);
    color: var(--white);
}

.button-light {
    background-color: var(--white);
    color: var(--blue-700);
}

.button-light:hover {
    background-color: var(--blue-50);
    color: var(--blue-700);
}

.intro {
    padding: 4rem 0;
}

.intro-card {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1.5rem;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 0;
}

.post-card {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
}

.post-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.post-card h2 a {
    color: var(--ink);
    text-decoration: none;
}

.post-card h2 a:hover {
    color: var(--blue-500);
}

.post-meta {
    margin-bottom: 1rem;
    color: var(--blue-700);
    font-size: 0.875rem;
}

.error-404 {
    background-color: var(--blue-300);
    padding: 5rem 0;
}

.error-404-card {
    max-width: 36rem;
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 1.5rem;
    text-align: center;
}

.site-footer {
    background-color: var(--white);
    color: #1e5a94;
    font-weight: 500;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 1.75rem 0 2rem;
}

.footer-logo {
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 8rem;
    height: auto;
}

.footer-panels {
    display: flex;
    align-items: center;
    gap: 5.75rem;
}

.footer-col {
    min-width: 8.5rem;
}

.footer-divider {
    width: 2px;
    height: 14.6rem;
    background-color: #ebf4fa;
    flex: 0 0 auto;
}

.footer-heading {
    margin: 0 0 1.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e5a94;
}

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

.footer-nav li + li,
.footer-contact + .footer-contact {
    margin-top: 1.15rem;
}

.footer-contact {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #1e5a94;
}

.footer-link {
    color: #1e5a94;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.footer-link:hover {
    color: #163f68;
}

@media (max-width: 767px) {
    .footer-inner,
    .footer-panels {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .footer-inner {
        padding: 2.75rem 1.75rem 3.25rem;
    }

    .footer-divider {
        width: 8rem;
        height: 1px;
    }

    .footer-logo img {
        width: 9rem;
    }
}

.about-page {
    color: #305384;
}

.about-page h1,
.about-page h2,
.about-page h3 {
    margin: 0 0 0.85rem;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.about-page h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.about-page h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.about-page h3 {
    font-size: 1.15rem;
}

.about-page p {
    margin: 0 0 1rem;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.about-subtitle,
.about-lead {
    max-width: 46rem;
}

.about-intro,
.about-contact {
    background-color: #ebf4fa;
}

.about-intro {
    padding: 3.25rem 0 2.75rem;
}

.about-sheet {
    background-color: #fff;
    background-image: url("context/gift-background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.about-story {
    padding: 2.75rem 0 0.5rem;
}

.about-approach {
    padding: 2rem 0 2.5rem;
}

.about-testimonials {
    padding: 1.5rem 0 3.25rem;
}

.about-contact {
    padding: 3rem 0 3.5rem;
}

.about-testimonials h3 {
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.about-testimonials .about-lead {
    max-width: none;
    margin-bottom: 1.75rem;
}

.about-story-top,
.approach-grid,
.quote-grid {
    display: grid;
    gap: 1.75rem;
}

.about-story-top img {
    display: block;
    width: 100%;
    height: 18rem;
    object-fit: cover;
    object-position: right center;
    border-radius: 0.75rem;
}

.about-story-rest {
    margin-top: 1.25rem;
}

.about-values {
    line-height: 1.7;
}

.quote-grid {
    grid-template-columns: 1fr;
}

.quote-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #d5e3ef;
    border-radius: 0.85rem;
}

.quote-body {
    padding: 1.35rem 1.35rem 1rem;
}

.quote-card .quote-text {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.quote-card.is-open .quote-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.quote-card .quote-by {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: italic;
}

.quote-more {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0.7rem 1rem;
    border: 0;
    border-top: 1px solid #d5e3ef;
    border-radius: 0;
    background-color: #fff;
    color: #16384a;
    cursor: pointer;
}

.quote-card.has-more .quote-more {
    display: flex;
}

.quote-more:hover {
    background-color: #f4fbff;
}

.quote-more-icon {
    display: block;
    transition: transform 0.2s ease;
}

.quote-card.is-open .quote-more-icon {
    transform: rotate(180deg);
}

.quote-card .home-btn {
    align-self: flex-start;
    margin-top: 0;
}

@media (min-width: 800px) {
    .about-story-top {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
        gap: 2.5rem;
    }

    .about-story-top img {
        height: 100%;
        min-height: 18rem;
    }

    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        align-items: stretch;
    }
}

.contact-page {
    color: #305384;
}

.contact-page h1,
.contact-page h2 {
    margin: 0 0 0.85rem;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.contact-page h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.65rem;
}

.contact-page h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 1.35rem;
}

.contact-intro {
    background-color: #ebf4fa;
    padding: 3.25rem 0 2.75rem;
}

.contact-subtitle {
    margin: 0;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.contact-body {
    background-color: #fff;
    background-image: url("context/gift-background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 2.75rem 0 3.5rem;
}

.contact-details {
    margin: 0;
}

.contact-details > div {
    margin: 0 0 1.45rem;
}

.contact-details dt {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-details dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.contact-details dd + dd {
    margin-top: 0.2rem;
}

.contact-details a {
    color: #305384;
    font-weight: 500;
    text-decoration: none;
}

.contact-details a:hover {
    color: #24426e;
}

.contact-find {
    margin-top: 1.75rem;
}

.contact-map {
    display: block;
    width: 100%;
    height: 22rem;
    border: 0;
    border-radius: 0.85rem;
}

.news-page {
    background-color: #ebf4fa;
    color: #305384;
    padding: 3rem 0 3.5rem;
}

.news-page h1,
.news-page h2 {
    margin: 0 0 0.75rem;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.news-page h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.news-page h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.news-page h2 a {
    color: #305384;
    text-decoration: none;
}

.news-page h2 a:hover {
    color: #24426e;
}

.news-page p {
    margin: 0 0 1rem;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.news-subtitle {
    max-width: 40rem;
    margin-bottom: 0;
}

.news-intro {
    padding-bottom: 2rem;
}

.news-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.news-kicker a {
    color: #1e5a94;
    text-decoration: none;
}

.news-date {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-list {
    display: grid;
    gap: 1.5rem;
}

.news-card {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: #fff;
    border-radius: 0.75rem;
}

.news-card-photo img,
.news-single-photo img {
    display: block;
    width: 100%;
    height: 14rem;
    object-fit: cover;
    border-radius: 0.65rem;
}

.news-card .home-btn {
    display: inline-flex;
}

.news-single-layout {
    display: flow-root;
    max-width: 60rem;
}

.news-single-photo {
    margin-bottom: 1.25rem;
}

.news-single-photo img {
    height: 14rem;
    object-position: center;
    border-radius: 1rem;
}

.news-single h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
}

.news-content {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #305384;
}

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

.news-content p,
.news-content div {
    margin: 0 0 1.15rem;
}

.news-content div:empty {
    display: none;
}

.news-content h2,
.news-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.news-content ul,
.news-content ol {
    margin: 0 0 1.15rem;
    padding-left: 1.25rem;
}

.news-content li + li {
    margin-top: 0.4rem;
}

.news-back {
    clear: both;
    margin-top: 1.5rem;
}

@media (min-width: 800px) {
    .news-single-photo {
        float: left;
        width: 42%;
        max-width: 24rem;
        margin: 0.2rem 2rem 1.15rem 0;
    }

    .news-single-photo img {
        height: 15.5rem;
    }
}

.news-empty {
    margin: 0;
}

@media (min-width: 800px) {
    .news-card {
        grid-template-columns: 16rem 1fr;
        align-items: start;
    }

    .news-card-photo img {
        height: 12rem;
    }
}

.services-page {
    color: #305384;
}

.services-page h1,
.services-page h2 {
    margin: 0 0 0.85rem;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.services-page h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.services-page h2 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.svc-intro,
.svc-academics,
.svc-faq {
    background-color: #ebf4fa;
}

.svc-intro {
    padding: 3.25rem 0 2.5rem;
}

.svc-subtitle,
.svc-lead {
    max-width: 44rem;
    margin: 0;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.svc-lead {
    margin-bottom: 1.35rem;
}

.svc-blocks,
.svc-applying {
    background-color: #fff;
    background-image: url("context/gift-background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.svc-blocks {
    padding: 2.75rem 0 3rem;
}

.svc-section-list {
    display: grid;
    gap: 1.25rem;
}

.svc-section {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #d5e3ef;
    border-radius: 0.85rem;
}

.svc-section-body {
    padding: 1.35rem 1.35rem 1rem;
}

.svc-section h2 {
    margin-bottom: 0.65rem;
}

.svc-excerpt {
    margin: 0;
}

.svc-description {
    display: none;
    margin-top: 1rem;
}

.svc-section.is-open .svc-description {
    display: block;
}

.svc-description > *:first-child {
    margin-top: 0;
}

.svc-description > *:last-child {
    margin-bottom: 0;
}

.svc-more {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0.7rem 1rem;
    border: 0;
    border-top: 1px solid #d5e3ef;
    border-radius: 0;
    background-color: #fff;
    color: #16384a;
    cursor: pointer;
}

.svc-section.has-more .svc-more {
    display: flex;
}

.svc-more:hover {
    background-color: #f4fbff;
}

.svc-more-icon {
    display: block;
    transition: transform 0.2s ease;
}

.svc-section.is-open .svc-more-icon {
    transform: rotate(180deg);
}

.svc-gallery-title {
    margin-top: 2.5rem;
}

.svc-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.svc-gallery-item {
    flex: 1 1 14rem;
    max-width: 18rem;
    margin: 0;
}

.svc-gallery-item img,
.svc-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 12rem;
    border-radius: 0.85rem;
}

.svc-gallery-item img {
    object-fit: cover;
}

.svc-gallery-placeholder {
    background-color: #ebf4fa;
    color: #305384;
    font-weight: 700;
}

.svc-band {
    padding: 3.25rem 0;
}

.svc-block {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.svc-media img {
    display: block;
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.85rem;
}

.svc-copy p,
.svc-description p,
.svc-accordion-panel p {
    margin: 0 0 0.9rem;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.svc-copy ul,
.svc-description ul,
.svc-accordion-panel ul {
    margin: 0 0 0.9rem;
    padding-left: 1.2rem;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.svc-copy li + li,
.svc-description li + li,
.svc-accordion-panel li + li {
    margin-top: 0.35rem;
}

.svc-accordion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.svc-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    width: max-content;
    max-width: 100%;
    min-width: 16.5rem;
    margin: 0;
    padding: 0.95rem 1.15rem;
    border: 0;
    border-radius: 8px;
    background-color: #305384;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.svc-accordion-trigger:hover,
.svc-accordion-trigger:focus-visible {
    background-color: #24426e;
    color: #fff;
}

.svc-accordion-icon {
    position: relative;
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
}

.svc-accordion-icon::before,
.svc-accordion-icon::after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 1px;
}

.svc-accordion-icon::before {
    top: 0.4rem;
    left: 0;
    width: 0.9rem;
    height: 2px;
}

.svc-accordion-icon::after {
    top: 0;
    left: 0.4rem;
    width: 2px;
    height: 0.9rem;
}

.svc-accordion-trigger[aria-expanded="true"] .svc-accordion-icon::after {
    display: none;
}

.svc-accordion-panel-inner {
    max-width: 44rem;
    padding: 0.95rem 0.15rem 0.15rem;
}

.svc-pdfs {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
}

.svc-pdf {
    color: #1e5a94;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15rem;
}

.svc-faq .svc-accordion-trigger {
    min-width: min(100%, 36rem);
}

@media (min-width: 800px) {
    .svc-block:has(.svc-media) {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .svc-block.is-flip .svc-media {
        order: 2;
    }

    .svc-media img {
        height: 18.5rem;
    }
}

.team-page {
    background-color: #ebf4fa;
    color: #305384;
    padding: 3rem 0 3.5rem;
}

.team-page h1,
.team-page h2,
.team-page h3 {
    margin: 0 0 0.75rem;
    color: #305384;
    font-weight: 700;
    line-height: 1.15;
}

.team-page h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.team-page p {
    margin: 0 0 1rem;
    color: #305384;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.team-subtitle {
    max-width: 42rem;
    margin-bottom: 0;
}

.team-intro {
    padding-bottom: 2rem;
}

.team-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.team-kicker a {
    color: #1e5a94;
}

.team-page .team-card .home-btn {
    margin-top: 0.35rem;
}

.team-card-copy p:last-child {
    margin-bottom: 0;
}

.home .team-grid {
    gap: 2rem;
}

.home-team-more {
    display: flex;
    width: fit-content;
    margin: 1.75rem auto 0;
}

.team-single-layout {
    display: grid;
    gap: 1.75rem;
}

.team-single-photo img {
    display: block;
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 0.85rem;
}

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

.team-back {
    margin-top: 1.5rem;
}

.team-empty {
    margin: 0;
}

@media (min-width: 800px) {
    .team-single-layout {
        grid-template-columns: 16rem 1fr;
        align-items: start;
    }

    .team-single-photo img {
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .site-nav-desktop {
        display: block;
    }

    .header-contact {
        display: inline-flex;
    }

    .menu-toggle,
    .menu-overlay,
    .mobile-menu {
        display: none;
    }
}
