.school-site-accordion {
    display: grid;
    gap: 11px;
    margin-top: 26px;
}

.school-site-accordion details {
    overflow: clip;
    border: 1px solid #dfe5ed;
    border-radius: 14px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.school-site-accordion details[open] {
    border-color: rgba(65, 136, 245, 0.42);
    box-shadow: 0 14px 32px rgba(56, 82, 132, 0.12);
}

.school-site-accordion details[open] > summary {
    background: var(--pp-gradient-soft);
}

.school-site-accordion summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 15px;
    min-height: 64px;
    padding: 15px 18px;
    cursor: pointer;
    list-style: none;
}

.school-site-accordion summary::-webkit-details-marker {
    display: none;
}

.school-site-accordion summary::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid #1c3151;
    border-bottom: 2px solid #1c3151;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
}

.school-site-accordion details[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.school-site-accordion summary:focus-visible {
    outline: 3px solid rgba(28, 95, 194, 0.34);
    outline-offset: -3px;
}

.school-site-accordion summary span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.school-site-accordion summary small {
    color: #1c5fc2;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.school-site-accordion summary strong {
    color: #142038;
    font-size: 1.1rem;
}

.school-site-accordion summary em {
    color: #4b5d77;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.school-site-accordion__body {
    padding: 18px;
    border-top: 1px solid #e8edf4;
    background: rgba(255, 255, 255, 0.78);
}

.school-site-offer-items {
    display: grid;
    gap: 12px;
}

.school-site-offer-item {
    padding: 17px;
    border: 1px solid #dbe7f3;
    border-left: 3px solid #6ad6f7;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, rgba(246, 140, 203, 0.07));
}

.school-site-offer-item h3 {
    margin: 0;
    color: #17243d;
    font-size: 1.05rem;
}

.school-site-offer-item > p {
    margin: 9px 0 13px;
    color: #5b687c;
    font-size: 0.91rem;
    line-height: 1.62;
}

.school-site-offer-rows {
    display: grid;
    gap: 8px;
}

.school-site-offer-rows dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 10px;
    border-radius: 9px;
    background: linear-gradient(120deg, rgba(106, 214, 247, 0.13), rgba(151, 107, 234, 0.08));
}

.school-site-offer-rows dl > div {
    min-width: 0;
}

.school-site-offer-rows dt {
    margin-bottom: 2px;
    color: #647086;
    font-size: 0.76rem;
    font-weight: 700;
}

.school-site-offer-rows dd {
    margin: 0;
    color: #20324e;
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.school-site-inquiry {
    position: sticky;
    top: 105px;
    grid-area: inquiry;
    align-self: start;
    margin-top: -52px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e0e5ed;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.98) 65%, rgba(255, 246, 252, 0.98));
    box-shadow: 0 24px 65px rgba(13, 33, 65, 0.16);
    scroll-margin-top: 110px;
}

.school-site-inquiry::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: var(--pp-gradient);
    content: "";
}

.school-site-inquiry h2 {
    margin: 8px 0 12px;
    color: #111c32;
    font-family: var(--pp-font);
    font-size: clamp(2rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.school-site-inquiry > p {
    margin: 0;
    color: #5b687b;
    font-size: 0.94rem;
    line-height: 1.6;
}

.school-site-inquiry form {
    display: grid;
    gap: 13px;
    margin-top: 22px;
}

.school-site-inquiry form > label:not(.school-site-consent),
.school-site-form-grid label {
    display: grid;
    gap: 6px;
}

.school-site-inquiry label > span:first-child {
    color: #172238;
    font-size: 0.83rem;
    font-weight: 700;
}

.school-site-inquiry input,
.school-site-inquiry textarea {
    width: 100%;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    padding: 11px 12px;
    color: #13213a;
    background: #fff;
    font: inherit;
}

.school-site-inquiry input {
    min-height: 45px;
}

.school-site-inquiry textarea {
    min-height: 116px;
    resize: vertical;
}

.school-site-inquiry input::placeholder,
.school-site-inquiry textarea::placeholder {
    color: #8792a4;
}

.school-site-inquiry input:focus,
.school-site-inquiry textarea:focus {
    border-color: #1c5fc2;
    outline: 3px solid rgba(28, 95, 194, 0.16);
}

.school-site-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.school-site-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 9px;
    color: #59667a;
    font-size: 0.81rem;
    line-height: 1.5;
}

.school-site-consent input {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin-top: 2px;
}

.school-site-consent a {
    color: #174f9c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.school-site-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(100deg, #176d91, #7b4bc0 55%, #9b2e7a);
}

.school-site-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #657186;
    text-align: center;
}

.school-site-form-note::before {
    content: "🔒";
}

.school-site-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.school-site-form-errors {
    margin-top: 14px;
}

.school-site-form-message {
    margin: 7px 0 0;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
}

.school-site-form-message.is-success {
    color: #176043;
    background: #eaf9f2;
}

.school-site-form-message.is-error {
    color: #8a2d38;
    background: #fff0f2;
}

.school-site-feed {
    padding: 76px 0;
    background: #fff;
}

.school-site-feed--events {
    color: #fff;
    background: linear-gradient(145deg, #081c3a, #153966);
}

.school-site-feed header {
    max-width: 700px;
    margin-bottom: 26px;
}

.school-site-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.school-site-event-card,
.school-site-news-card {
    overflow: hidden;
    border: 1px solid #e2e7ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(8, 35, 71, 0.1);
}

.school-site-event-card {
    padding: 23px;
    color: #142038;
}

.school-site-event-card time,
.school-site-news-card time {
    color: #174f9c;
    font-size: 0.82rem;
    font-weight: 700;
}

.school-site-event-card h3,
.school-site-news-card h3 {
    margin: 9px 0;
    font-size: 1.22rem;
    line-height: 1.3;
}

.school-site-event-card > a {
    color: #174f9c;
    font-weight: 700;
}

.school-site-news-card__image {
    display: block;
    height: 190px;
    background: #edf2f8;
}

.school-site-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-site-news-card > div {
    padding: 21px;
}

.school-site-news-card p {
    color: #5b687b;
    line-height: 1.6;
}

.school-site-empty {
    min-height: 65vh;
    padding: 120px 0;
}

.school-site-empty h1 {
    max-width: 760px;
    font-family: var(--pp-font);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
}

.school-site-share-section {
    padding: 56px 0;
    background: linear-gradient(125deg, rgba(106, 214, 247, 0.16), rgba(255, 255, 255, 0.9) 48%, rgba(246, 140, 203, 0.16));
}

.school-site-share-section .posts-share {
    padding: 26px;
    border: 1px solid rgba(91, 126, 178, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(18, 43, 86, 0.1);
}

.school-site-share-section .posts-share__head h3 {
    font-size: 1.2rem;
}

@media (max-width: 1060px) {
    .school-site-inquiry {
        position: static;
        width: min(100%, 720px);
        margin-top: 0;
    }

    .school-site-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .school-site-share-section {
        padding-block: 42px;
    }

    .school-site-share-section .posts-share {
        padding: 20px;
    }

    .school-site-inquiry {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .school-site-form-grid,
    .school-site-feed__grid {
        grid-template-columns: 1fr;
    }

    .school-site-accordion summary {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .school-site-accordion summary em {
        grid-column: 1;
    }

    .school-site-accordion summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .school-site-offer-rows dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-site-feed {
        padding-block: 58px;
    }
}

@media (max-width: 480px) {
    .school-site-offer-rows dl {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-site-accordion details,
    .school-site-accordion summary::after {
        transition: none;
    }
}
