html {
    scroll-behavior: smooth;
}

.wb-spendamembalong-body {
    margin: 0;
}

.wb-site {
    --sea: #2aa9c8;
    --sea-soft: #e8f8fb;
    --deep: #075f7d;
    --ink: #17333c;
    --muted: #5f7780;
    --green: #36b37e;
    --green-soft: #e9f8f1;
    --line: #d9edf2;
    --white: #fff;
    color: var(--ink);
    background: #f7fcfd;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.wb-site *,
.wb-site *::before,
.wb-site *::after {
    box-sizing: border-box;
}

.wb-site a {
    color: inherit;
    text-decoration: none;
}

.wb-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 20;
    display: flex;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 50px rgba(7, 95, 125, .14);
    transform: translateX(-50%);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, top .25s ease, background .25s ease;
}

.wb-nav.is-scrolled {
    top: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 12px 34px rgba(7, 95, 125, .18);
}

.wb-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wb-brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--sea), var(--green));
    font-weight: 800;
    font-size: 1.5rem;
}

.wb-brand-logo {
    overflow: hidden;
    background: #fff;
}

.wb-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wb-brand strong,
.wb-brand small {
    display: block;
}

.wb-brand strong {
    line-height: 1.15;
}

.wb-brand small {
    max-width: 360px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.25;
}

.wb-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wb-menu a {
    position: relative;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--deep);
    font-weight: 700;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.wb-menu a::after {
    position: absolute;
    right: 12px;
    bottom: 6px;
    left: 12px;
    height: 2px;
    background: var(--green);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.wb-menu a:hover,
.wb-menu a:focus,
.wb-menu a.is-active {
    color: #06485f;
    background: var(--sea-soft);
    transform: translateY(-2px);
}

.wb-menu a:hover::after,
.wb-menu a:focus::after,
.wb-menu a.is-active::after {
    transform: scaleX(1);
}

.wb-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--sea-soft);
}

.wb-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--deep);
    transition: transform .2s ease, opacity .2s ease;
}

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

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

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

.wb-hero {
    position: relative;
    display: grid;
    min-height: 90vh;
    align-items: end;
    overflow: hidden;
    padding: 136px max(24px, calc((100vw - 1180px) / 2)) 76px;
    isolation: isolate;
}

.wb-hero-media,
.wb-page-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    animation: wbKenBurns 18s ease-in-out infinite alternate;
    will-change: transform, background-position;
}

.wb-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 45, 58, .88), rgba(4, 63, 82, .58) 42%, rgba(4, 63, 82, .22) 70%, rgba(255, 255, 255, .02)),
        linear-gradient(0deg, rgba(4, 45, 58, .64), rgba(4, 45, 58, .02) 46%);
    content: "";
}

.wb-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .16) 42%, transparent 68%);
    content: "";
    opacity: .38;
    transform: translateX(-60%);
    animation: wbLightSweep 9s ease-in-out infinite;
    pointer-events: none;
}

.wb-hero-content {
    max-width: 690px;
    color: #fff;
}

.wb-kicker {
    margin: 0 0 10px;
    color: var(--green);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.wb-hero-content .wb-kicker {
    color: #9ff0c6;
}

.wb-hero h1 {
    margin: 0;
    max-width: 660px;
    font-size: clamp(2.35rem, 4.8vw, 4.65rem);
    line-height: 1.04;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .28);
}

.wb-hero-content > p:not(.wb-kicker) {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    line-height: 1.45;
}

.wb-hero-address {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    max-width: min(720px, 100%);
    align-items: start;
    column-gap: 8px;
    row-gap: 2px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(7, 95, 125, .34);
    color: rgba(255, 255, 255, .94);
    font-weight: 700;
}

.wb-hero-address::before {
    grid-row: 1 / -1;
    width: 10px;
    height: 10px;
    margin-top: .55em;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(54, 179, 126, .22);
    content: "";
}

.wb-hero-address span {
    display: block;
    grid-column: 2;
    min-width: 0;
}

.wb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.wb-hero-actions a {
    min-height: 50px;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 800;
    transition: background .22s ease, transform .22s ease;
}

.wb-hero-actions a:first-child {
    border-color: var(--green);
    background: var(--green);
}

.wb-hero-actions a:hover {
    transform: translateY(-3px);
}

.wb-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.wb-social-section .wb-social-links {
    margin-top: 20px;
}

.wb-social-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    background: rgba(4, 35, 45, .38);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.wb-social-section .wb-social-link {
    min-height: 52px;
    padding: 14px 18px;
    border-color: rgba(7, 95, 125, .16);
    background: #fff;
    color: var(--deep);
    box-shadow: 0 16px 36px rgba(7, 95, 125, .1);
}

.wb-social-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.wb-social-link:hover {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

.wb-social-section .wb-social-link:hover {
    border-color: rgba(7, 95, 125, .28);
    background: #eefbff;
}

.wb-social-instagram {
    background: rgba(201, 66, 113, .5);
}

.wb-social-youtube {
    background: rgba(205, 32, 31, .5);
}

.wb-social-tiktok {
    background: rgba(3, 28, 36, .58);
}

.wb-social-section .wb-social-instagram {
    color: #b72669;
}

.wb-social-section .wb-social-youtube {
    color: #c01818;
}

.wb-social-section .wb-social-tiktok {
    color: #08323c;
}

.wb-identity {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.wb-identity span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 8px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.wb-page-hero {
    position: relative;
    padding: 156px max(24px, calc((100vw - 1180px) / 2)) 76px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.wb-page-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 45, 58, .72), rgba(4, 63, 82, .44) 48%, rgba(4, 63, 82, .14)),
        linear-gradient(0deg, rgba(4, 45, 58, .42), rgba(4, 45, 58, .02) 58%);
    content: "";
}

.wb-page-hero-media {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-page-hero > div {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
}

.wb-page-hero .wb-kicker {
    color: #9ff0c6;
}

.wb-page-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.wb-page-hero p:not(.wb-kicker) {
    margin: 18px 0 0;
    max-width: 680px;
    font-size: clamp(1rem, 2vw, 1.28rem);
}

.wb-section,
.wb-footer {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.wb-panel,
.wb-card,
.wb-teacher,
.wb-org,
.wb-news,
.wb-empty {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(7, 95, 125, .08);
}

.wb-section {
    padding: 86px 0 0;
}

.wb-route-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.wb-route {
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(7, 95, 125, .08);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.wb-route:hover,
.wb-route:focus {
    border-color: rgba(54, 179, 126, .55);
    box-shadow: 0 24px 56px rgba(7, 95, 125, .14);
    transform: translateY(-6px);
}

.wb-route span,
.wb-route strong {
    display: block;
}

.wb-route span {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
}

.wb-route strong {
    margin-top: 12px;
    color: var(--deep);
    font-size: 1.2rem;
    line-height: 1.25;
}

.wb-two {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: 44px;
    align-items: start;
}

.wb-section-head {
    max-width: 650px;
}

.wb-section h2 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.wb-section-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.wb-section-more a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--deep);
    color: #fff;
    font-weight: 800;
    transition: background .22s ease, transform .22s ease;
}

.wb-section-more a:hover {
    background: #0a7591;
    transform: translateY(-2px);
}

.wb-headmaster-card {
    width: min(100%, 330px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(7, 95, 125, .08);
}

.wb-headmaster-card img,
.wb-headmaster-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 6;
    background: var(--sea-soft);
}

.wb-headmaster-card img {
    object-fit: cover;
    object-position: center top;
}

.wb-headmaster-card figcaption {
    padding: 18px;
}

.wb-headmaster-card span,
.wb-headmaster-card strong {
    display: block;
}

.wb-headmaster-card span {
    color: var(--green);
    font-weight: 800;
    text-transform: uppercase;
}

.wb-headmaster-card strong {
    margin-top: 4px;
    color: var(--deep);
    font-size: 1.2rem;
    line-height: 1.25;
}

.wb-prose {
    color: var(--muted);
    font-size: 1.06rem;
}

.wb-prose p {
    text-align: justify;
    text-justify: inter-word;
}

.wb-prose h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1.25;
}

.wb-inline-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--deep);
    color: #fff;
    font-weight: 800;
}

.wb-vision {
    display: grid;
    grid-template-columns: 1.15fr .9fr .9fr;
    gap: 16px;
}

.wb-panel {
    padding: 26px;
}

.wb-panel:nth-child(1) {
    background: var(--deep);
}

.wb-panel:nth-child(1) summary,
.wb-panel:nth-child(1) h2,
.wb-panel:nth-child(1) .wb-kicker {
    color: #fff;
}

.wb-accordion {
    align-self: start;
    padding: 0;
    overflow: hidden;
}

.wb-accordion summary {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
}

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

.wb-accordion .wb-kicker {
    margin: 0;
}

.wb-accordion-arrow {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    color: var(--deep);
    transform: rotate(45deg);
    transition: transform .22s ease;
}

.wb-panel:nth-child(1) .wb-accordion-arrow {
    color: #fff;
}

.wb-accordion[open] .wb-accordion-arrow {
    transform: rotate(-135deg);
}

.wb-accordion-content {
    padding: 0 24px 24px;
}

.wb-accordion-content h2 {
    font-size: clamp(1.35rem, 2.8vw, 2.2rem);
}

.wb-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wb-check-list li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    padding-left: 28px;
    color: var(--muted);
}

.wb-check-list li > span:last-child {
    min-width: 0;
}

.wb-line-number {
    white-space: nowrap;
}

.wb-check-list li::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    content: "";
}

.wb-activity-list {
    margin: 22px 0 0 34px;
    padding: 0;
    color: #242a31;
    column-count: 2;
    column-gap: 72px;
    font-size: 1.35rem;
    line-height: 1.55;
}

.wb-activity-list li {
    break-inside: avoid;
    padding-left: 6px;
}

.wb-card-grid,
.wb-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.wb-card {
    overflow: hidden;
    padding-bottom: 18px;
    transition: transform .24s ease, box-shadow .24s ease;
}

.wb-card:hover,
.wb-news:hover,
.wb-teacher:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(7, 95, 125, .14);
}

.wb-card-image,
.wb-news-image,
.wb-gallery figure {
    background: var(--sea-soft);
}

.wb-card-image {
    aspect-ratio: 16 / 10;
}

.wb-card img,
.wb-news img,
.wb-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-card span {
    display: inline-block;
    margin: 18px 18px 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: #177a53;
    font-size: .8rem;
    font-weight: 800;
}

.wb-card h3,
.wb-card p {
    margin-right: 18px;
    margin-left: 18px;
}

.wb-card h3,
.wb-news h3,
.wb-teacher h3 {
    color: var(--deep);
    line-height: 1.2;
}

.wb-card p,
.wb-news p,
.wb-teacher p,
.wb-teacher small {
    color: var(--muted);
}

.wb-news-admin {
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: .95rem;
    box-shadow: 0 18px 45px rgba(7, 95, 125, .08);
}

.wb-news-admin-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.wb-news-admin-link span {
    color: var(--muted);
    font-weight: 800;
}

.wb-news-admin-link a {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--deep);
    color: #fff;
    font-weight: 800;
}

.wb-news-admin-head,
.wb-news-admin-form-title,
.wb-news-admin-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wb-news-admin-head span,
.wb-news-admin-form label span,
.wb-news-admin-form-title strong,
.wb-news-admin-list > strong {
    display: block;
    color: var(--green);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.wb-news-admin-head strong {
    display: block;
    margin-top: 3px;
    color: var(--deep);
    font-size: 1.05rem;
    line-height: 1.25;
}

.wb-news-admin-head a,
.wb-news-admin-form-title a,
.wb-news-admin-list a {
    color: var(--deep);
    font-size: .9rem;
    font-weight: 800;
}

.wb-news-admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wb-news-admin-actions form {
    margin: 0;
}

.wb-news-admin-actions button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #f1b8b8;
    border-radius: 8px;
    background: #fff5f5;
    color: #ad2b2b;
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
}

.wb-news-admin-message {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.wb-news-admin-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.wb-admin-section-group {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.wb-admin-section-group:first-of-type {
    margin-top: 20px;
}

.wb-admin-section-label {
    display: grid;
    gap: 4px;
    padding-left: 14px;
    border-left: 4px solid var(--green);
}

.wb-admin-section-label span {
    color: var(--green);
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.wb-admin-section-label strong {
    color: var(--deep);
    font-size: 1.05rem;
    line-height: 1.25;
}

.wb-news-login-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wb-news-admin-form label {
    display: grid;
    gap: 6px;
}

.wb-news-admin-form input,
.wb-news-admin-form textarea,
.wb-news-admin-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--deep);
    font: inherit;
    font-size: .95rem;
}

.wb-news-admin-form input[type="file"] {
    padding: 8px 10px;
    background: #fff;
}

.wb-news-admin-help {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
}

.wb-news-admin-form textarea {
    resize: vertical;
}

.wb-news-admin-check {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.wb-news-admin-check input {
    width: auto;
    min-height: auto;
}

.wb-news-admin-form button {
    min-height: 40px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .95rem;
    font-weight: 800;
}

.wb-news-admin-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.wb-news-admin-list article {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--sea-soft);
}

.wb-news-admin-list article span {
    min-width: 0;
    color: var(--deep);
    font-size: .95rem;
    font-weight: 800;
}

.wb-news-admin-list small {
    color: var(--muted);
    font-size: .82rem;
}

.wb-activity-upload {
    margin-top: 16px;
    padding: 18px;
}

.wb-activity-upload .wb-news-admin-form {
    margin-top: 16px;
}

.wb-activity-upload-form {
    grid-template-columns: minmax(200px, .8fr) minmax(260px, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.wb-activity-upload-form label {
    align-self: stretch;
}

.wb-activity-upload-form label span {
    min-height: 20px;
    font-size: .86rem;
    line-height: 1.2;
}

.wb-activity-upload-form input {
    min-height: 40px;
    font-size: .95rem;
}

.wb-activity-upload-form button {
    min-height: 40px;
    padding-inline: 14px;
    font-size: .95rem;
}

.wb-activity-admin-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.wb-activity-admin-list > strong {
    color: var(--deep);
    font-size: .95rem;
    font-weight: 800;
}

.wb-activity-admin-list article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--sea-soft);
}

.wb-activity-admin-thumb {
    width: 64px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.wb-activity-admin-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-activity-admin-list span {
    min-width: 0;
    color: var(--deep);
    font-size: .95rem;
    font-weight: 800;
}

.wb-activity-admin-list form {
    margin: 0;
}

.wb-activity-admin-list button {
    min-height: 34px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #c93636;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
}

.wb-gallery {
    display: grid;
    grid-template-columns: 1.25fr .85fr .85fr;
    gap: 14px;
    margin-top: 28px;
}

.wb-activity-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.wb-gallery figure,
.wb-activity-gallery figure {
    position: relative;
    min-height: 240px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.wb-activity-gallery figure {
    aspect-ratio: 4 / 3;
    min-height: 0;
    background: #f4fbfd;
}

.wb-activity-gallery .wb-gallery-trigger {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    background: #f4fbfd;
}

.wb-activity-gallery .wb-gallery-trigger img {
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

.wb-activity-gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.wb-gallery figure:first-child {
    grid-row: span 2;
}

.wb-gallery-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    font: inherit;
    text-align: left;
}

.wb-gallery-trigger img {
    transition: transform .28s ease, filter .28s ease;
}

.wb-gallery-trigger:hover img,
.wb-gallery-trigger:focus-visible img {
    filter: saturate(1.05);
    transform: scale(1.035);
}

.wb-activity-gallery .wb-gallery-trigger:hover img,
.wb-activity-gallery .wb-gallery-trigger:focus-visible img {
    transform: none;
}

.wb-gallery-trigger:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: -3px;
}

.wb-gallery-trigger span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(7, 95, 125, .82);
    color: #fff;
    font-size: clamp(.82rem, 1vw, .98rem);
    font-weight: 800;
    line-height: 1.2;
}

.wb-activity-gallery .wb-gallery-trigger span {
    position: static;
    margin: 0 12px 12px;
    min-width: 0;
}

.wb-activity-gallery figure {
    background: #eef7f9;
}

.wb-activity-gallery .wb-gallery-trigger {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

.wb-activity-gallery .wb-gallery-trigger img {
    flex: 1 1 auto;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    object-fit: contain !important;
    object-position: center center !important;
}

.wb-activity-gallery .wb-gallery-trigger span {
    position: relative !important;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    margin: 0 12px 12px;
}

.wb-activity-gallery-section .wb-gallery img,
.wb-activity-gallery-section .wb-activity-gallery img {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

.wb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(4, 35, 45, .92);
}

.wb-lightbox.is-open {
    display: flex;
}

.wb-lightbox img {
    display: block;
    max-width: min(1180px, 100%);
    max-height: calc(100vh - 96px);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
    object-fit: contain;
}

.wb-lightbox-title {
    position: fixed;
    right: 72px;
    bottom: 24px;
    left: 72px;
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.wb-lightbox-count {
    position: fixed;
    top: 22px;
    left: 50%;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1;
    transform: translateX(-50%);
}

.wb-lightbox-close,
.wb-lightbox-nav {
    position: fixed;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.wb-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
}

.wb-lightbox-nav {
    top: 50%;
    width: 52px;
    height: 64px;
    font-size: 3rem;
    transform: translateY(-50%);
}

.wb-lightbox-prev {
    left: 18px;
}

.wb-lightbox-next {
    right: 18px;
}

.wb-lightbox-close:hover,
.wb-lightbox-close:focus-visible,
.wb-lightbox-nav:hover,
.wb-lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, .22);
    outline: 0;
}

.wb-lightbox-nav[hidden] {
    display: none;
}

.wb-teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
    gap: 18px 14px;
    margin-top: 28px;
}

.wb-teacher {
    overflow: hidden;
    padding: 0;
    transition: transform .24s ease, box-shadow .24s ease;
}

.wb-teacher-photo {
    display: grid;
    aspect-ratio: 4 / 6;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    background: #d8f0fb;
    color: #1675af;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 900;
}

.wb-teacher-photo:empty::before {
    content: "Guru";
}

.wb-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.wb-teacher-name {
    display: flex;
    min-height: 76px;
    align-items: center;
    padding: 14px 14px 16px;
    background: #fff;
}

.wb-teacher h3 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.wb-org-chart {
    width: min(100%, 820px);
    aspect-ratio: 297 / 210;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(20, 72, 97, .11);
}

.wb-org-chart img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.wb-news {
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease;
}

.wb-news-image {
    display: block;
    aspect-ratio: 16 / 10;
}

.wb-news > div:not(.wb-news-gallery) {
    padding: 18px;
}

.wb-news-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: var(--sea-soft);
}

.wb-news-gallery-item {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: #fff;
    cursor: zoom-in;
}

.wb-news-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.wb-news-gallery-item:hover img,
.wb-news-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.wb-single-news {
    padding-top: 108px;
}

.wb-single-news-article {
    max-width: 860px;
    padding-bottom: 88px;
}

.wb-back-link {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--deep);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(7, 95, 125, .08);
}

.wb-single-news h1 {
    max-width: 820px;
    margin: 0;
    color: var(--deep);
    font-size: clamp(2rem, 5vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.wb-single-news-date {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-weight: 800;
}

.wb-news-slider {
    margin-top: 34px;
}

.wb-news-slider-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--sea-soft);
    box-shadow: 0 18px 45px rgba(7, 95, 125, .1);
}

.wb-news-slide {
    display: none;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.wb-news-slide.is-active {
    display: block;
}

.wb-news-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 460px;
    object-fit: cover;
}

.wb-news-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.wb-news-slider-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--deep);
    cursor: pointer;
    font: inherit;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(7, 95, 125, .08);
}

.wb-news-slider-controls span {
    color: var(--deep);
    font-weight: 800;
}

.wb-news-slider-thumbs {
    grid-template-columns: repeat(5, minmax(0, 124px));
    justify-content: center;
    margin-top: 12px;
    border-radius: 8px;
}

.wb-news-gallery-item.is-active {
    outline: 3px solid var(--green);
    outline-offset: 0;
}

.wb-single-news-content {
    margin-top: 34px;
    overflow-wrap: anywhere;
}

.wb-news time {
    color: var(--green);
    font-size: .88rem;
    font-weight: 800;
}

@media (min-width: 1024px) {
    .wb-news-slider-main {
        max-width: 820px;
        margin-inline: auto;
    }

    .wb-news-slider-thumbs {
        max-width: 820px;
        margin-inline: auto;
    }
}

.wb-news h3 {
    margin: 8px 0;
}

.wb-empty {
    margin-top: 28px;
    padding: 24px;
    color: var(--muted);
}

.wb-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 86px;
    padding: 30px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.wb-footer strong {
    color: var(--deep);
}

.wb-footer p,
.wb-footer span {
    display: block;
    margin: 4px 0 0;
}

.wb-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.wb-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes wbKenBurns {
    0% {
        background-position: center center;
        transform: scale(1.04);
    }

    100% {
        background-position: 54% 48%;
        transform: scale(1.1);
    }
}

@keyframes wbLightSweep {
    0%,
    42% {
        transform: translateX(-70%);
    }

    72%,
    100% {
        transform: translateX(70%);
    }
}

@media (max-width: 980px) {
    .wb-menu-toggle {
        display: block;
    }

    .wb-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: grid;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 50px rgba(7, 95, 125, .14);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .22s ease, transform .22s ease;
    }

    .wb-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .wb-route-grid,
    .wb-vision,
    .wb-card-grid,
    .wb-news-grid,
    .wb-activity-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-two,
    .wb-gallery {
        grid-template-columns: 1fr;
    }

    .wb-headmaster-card {
        max-width: 300px;
    }

    .wb-gallery figure:first-child,
    .wb-activity-gallery figure:first-child {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .wb-nav {
        top: 8px;
        width: calc(100% - 16px);
        min-height: 64px;
        gap: 10px;
        padding: 8px 10px;
    }

    .wb-brand {
        flex: 1;
    }

    .wb-brand-mark {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .wb-brand strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: .95rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .wb-brand small {
        display: none;
    }

    .wb-activity-list {
        margin-left: 24px;
        column-count: 1;
        font-size: 1.18rem;
    }

    .wb-menu-toggle {
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
    }

    .wb-hero {
        min-height: 0;
        aspect-ratio: 4 / 3;
        align-items: end;
        padding: 84px 14px 46px;
    }

    .wb-page-hero {
        min-height: 360px;
        padding: 104px 14px 42px;
    }

    .wb-hero-media,
    .wb-page-hero-media {
        background-position: 56% center;
        background-repeat: no-repeat;
        background-size: cover;
        transform: none;
        animation: none;
    }

    .wb-hero h1 {
        max-width: 330px;
        font-size: clamp(1.55rem, 8vw, 2.2rem);
        line-height: 1.05;
    }

    .wb-page-hero h1 {
        font-size: clamp(1.85rem, 10vw, 2.9rem);
    }

    .wb-hero-content > p:not(.wb-kicker),
    .wb-page-hero p:not(.wb-kicker) {
        margin-top: 12px;
        font-size: 1rem;
        line-height: 1.38;
    }

    .wb-hero-content > p:not(.wb-kicker) {
        max-width: 330px;
        font-size: .88rem;
    }

    .wb-hero-address {
        width: 100%;
        row-gap: 0;
        padding: 6px 8px;
        font-size: .72rem;
        line-height: 1.28;
    }

    .wb-hero-address::before {
        width: 8px;
        height: 8px;
        margin-top: .42em;
        box-shadow: 0 0 0 3px rgba(54, 179, 126, .2);
    }

    .wb-hero-actions {
        display: none;
    }

    .wb-hero-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .wb-social-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wb-social-link {
        justify-content: center;
    }

    .wb-identity {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 8px;
    }

    .wb-identity span {
        min-width: 0;
        padding: 5px 6px;
        font-size: .66rem;
        line-height: 1.22;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .wb-identity strong {
        display: block;
        margin-top: 1px;
    }

    .wb-section,
    .wb-footer {
        width: min(100% - 24px, 1180px);
    }

    .wb-single-news {
        padding-top: 92px;
    }

    .wb-single-news-article {
        width: min(100% - 20px, 1180px);
        padding-bottom: 58px;
    }

    .wb-single-news h1 {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        line-height: 1.08;
    }

    .wb-news-slider {
        margin-top: 22px;
    }

    .wb-news-slide img {
        aspect-ratio: 4 / 3;
        max-height: min(44vh, 360px);
        object-fit: contain;
        background: var(--sea-soft);
    }

    .wb-news-slider-controls {
        gap: 12px;
        margin-top: 10px;
    }

    .wb-news-slider-controls button {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }

    .wb-news-slider-thumbs.wb-news-gallery {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 8px;
        scroll-snap-type: x proximity;
    }

    .wb-news-slider-thumbs .wb-news-gallery-item {
        width: 72px;
        flex: 0 0 72px;
        scroll-snap-align: start;
    }

    .wb-activity-upload {
        padding: 16px;
    }

    .wb-activity-upload-form {
        grid-template-columns: 1fr;
    }

    .wb-activity-admin-list article {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .wb-activity-admin-thumb {
        width: 56px;
    }

    .wb-activity-admin-list form {
        grid-column: 1 / -1;
    }

    .wb-activity-admin-list button {
        width: 100%;
    }

    .wb-route-grid,
    .wb-card-grid,
    .wb-news-grid,
    .wb-vision {
        grid-template-columns: 1fr;
    }

    .wb-gallery,
    .wb-activity-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wb-gallery figure,
    .wb-activity-gallery figure {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .wb-gallery-trigger span {
        right: 8px;
        bottom: 8px;
        left: 8px;
        padding: 6px 8px;
        font-size: .78rem;
    }

    .wb-activity-gallery .wb-gallery-trigger span {
        margin: 0 8px 8px;
    }

    .wb-news-login-form {
        grid-template-columns: 1fr;
    }

    .wb-lightbox {
        padding: 12px;
    }

    .wb-lightbox img {
        max-height: calc(100vh - 88px);
    }

    .wb-lightbox-title {
        right: 18px;
        bottom: 18px;
        left: 18px;
        font-size: .86rem;
    }

    .wb-lightbox-count {
        top: 18px;
        font-size: .8rem;
    }

    .wb-lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .wb-lightbox-nav {
        width: 42px;
        height: 56px;
        font-size: 2.4rem;
    }

    .wb-lightbox-prev {
        left: 8px;
    }

    .wb-lightbox-next {
        right: 8px;
    }

    .wb-news-admin-head,
    .wb-news-admin-form-title,
    .wb-news-admin-list article,
    .wb-news-admin-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .wb-news-admin-actions {
        width: 100%;
        justify-content: space-between;
    }

    .wb-section {
        padding-top: 64px;
    }

    .wb-route {
        min-height: 128px;
        padding: 18px;
    }

    .wb-two {
        gap: 28px;
    }

    .wb-headmaster-card {
        max-width: 260px;
        margin-inline: auto;
    }

    .wb-accordion summary {
        min-height: 62px;
        padding: 18px;
    }

    .wb-accordion-content {
        padding: 0 18px 18px;
    }

    .wb-teacher-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
    }

    .wb-teacher-name {
        min-height: 54px;
        padding: 9px 8px 10px;
    }

    .wb-teacher h3 {
        font-size: .78rem;
        line-height: 1.2;
    }

    .wb-footer {
        display: block;
    }
}

@media (max-width: 380px) {
    .wb-teacher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wb-teacher {
        max-width: none;
        margin-inline: 0;
    }

    .wb-gallery,
    .wb-activity-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .wb-hero-media,
    .wb-page-hero-media,
    .wb-hero::before {
        animation: none;
    }

    .wb-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
