:root {
    --reboot-child-bg: #f6f4ee;
    --reboot-child-surface: #ffffff;
    --reboot-child-text: #1f2a37;
    --reboot-child-muted: #5f6b7a;
    --reboot-child-accent: #b87333;
    --reboot-child-accent-strong: #8f5a23;
    --reboot-child-border: rgba(31, 42, 55, 0.12);
    --reboot-child-shadow: 0 16px 40px rgba(31, 42, 55, 0.08);
    --reboot-child-radius: 18px;
    --reboot-child-container: min(1200px, calc(100% - 32px));
    --reboot-child-transition: 150ms ease;
}

body {
    background:
        radial-gradient(circle at top left, rgba(184, 115, 51, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfaf7 0%, var(--reboot-child-bg) 100%);
    color: var(--reboot-child-text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--reboot-child-transition), background-color var(--reboot-child-transition), border-color var(--reboot-child-transition), box-shadow var(--reboot-child-transition), transform var(--reboot-child-transition);
}

a:hover,
a:focus-visible {
    color: var(--reboot-child-accent);
}

.site-container,
.container,
.container-fluid {
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
}

.reboot-child-surface {
    background: var(--reboot-child-surface);
    border: 1px solid var(--reboot-child-border);
    border-radius: var(--reboot-child-radius);
    box-shadow: var(--reboot-child-shadow);
}

.reboot-child-home-banner {
    display: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 24px;
}

.reboot-child-home-banner__inner {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 32px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 24%),
        linear-gradient(135deg, #7f8ea4 0%, #99acc3 48%, #b9cadf 100%);
}

.reboot-child-home-banner__inner::before {
    content: none;
}

.reboot-child-home-banner__content {
    position: relative;
    z-index: 1;
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
    padding-inline: 16px;
    color: #f8fbff;
}

.reboot-child-home-banner__content h2 {
    max-width: 14ch;
    margin: 16px 0 12px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.reboot-child-home-banner__content p {
    max-width: 58ch;
    margin: 0;
    font-size: 1.05rem;
    color: rgba(248, 251, 255, 0.92);
}

.reboot-child-home-banner .reboot-child-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #f8fbff;
}

.reboot-child-section {
    padding-block: 24px;
}

.reboot-child-header {
    padding: 18px 0 0;
}

.reboot-child-header__inner {
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
    padding-inline: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.reboot-child-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 12px;
    margin-inline: auto;
}

.reboot-child-header__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.reboot-child-header__logo {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #7f8ea4 0%, #9db0c7 48%, #c6d3e4 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.reboot-child-header__title {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.reboot-child-header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    text-align: right;
    font-size: 0.95rem;
    white-space: nowrap;
}

.reboot-child-header__nav {
    padding: 14px 0 0;
    border-top: 1px solid var(--reboot-child-border);
    width: 100%;
    box-sizing: border-box;
    padding-inline: 28px;
}

.reboot-child-header__toggle {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--reboot-child-border);
    border-radius: 14px;
    background: var(--reboot-child-surface);
    box-shadow: var(--reboot-child-shadow);
    cursor: pointer;
}

.reboot-child-header__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    margin-inline: auto;
    position: static !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    float: none !important;
    inset: auto !important;
    translate: none !important;
    transform: none;
    transform-origin: center;
    background: var(--reboot-child-text);
    transition: transform var(--reboot-child-transition), opacity var(--reboot-child-transition), background-color var(--reboot-child-transition);
}

.reboot-child-header__toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}

.reboot-child-header__toggle.open span:nth-child(2) {
    opacity: 0;
}

.reboot-child-header__toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

.site-footer-container {
    margin-top: 24px;
}

.mobile-menu-placeholder {
    display: none;
}

.reboot-child-mobile-close {
    display: none;
}

#site-navigation-mobile {
    margin: 12px auto 0;
    border: 1px solid var(--reboot-child-border);
    border-radius: var(--reboot-child-radius);
    background: var(--reboot-child-surface);
    box-shadow: var(--reboot-child-shadow);
    overflow: hidden;
}

#site-navigation-mobile .reboot-child-header__menu {
    display: grid;
    gap: 0;
    padding: 12px 16px;
}

#site-navigation-mobile .reboot-child-header__menu > li {
    margin: 0;
    border-bottom: 1px solid var(--reboot-child-border);
}

#site-navigation-mobile .reboot-child-header__menu > li:last-child {
    border-bottom: 0;
}

#site-navigation-mobile .reboot-child-header__menu a,
#site-navigation-mobile .reboot-child-header__menu .removed-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border-bottom: 0;
}

.reboot-child-header__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reboot-child-header__menu a,
.reboot-child-header__menu .removed-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    color: var(--reboot-child-text);
    font-weight: 600;
}

.reboot-child-header__menu a:hover,
.reboot-child-header__menu a:focus-visible,
.reboot-child-header__menu .removed-link:hover {
    color: var(--reboot-child-accent);
}

.reboot-child-header__menu .current-menu-item,
.reboot-child-header__menu .current_page_item,
.reboot-child-header__menu .current-menu-ancestor,
.reboot-child-header__menu .current-menu-parent {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.reboot-child-header__menu .current-menu-item > a,
.reboot-child-header__menu .current-menu-item > .removed-link,
.reboot-child-header__menu .current_page_item > a,
.reboot-child-header__menu .current_page_item > .removed-link,
.reboot-child-header__menu .current-menu-ancestor > a,
.reboot-child-header__menu .current-menu-ancestor > .removed-link,
.reboot-child-header__menu .current-menu-parent > a,
.reboot-child-header__menu .current-menu-parent > .removed-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 40px !important;
    color: var(--reboot-child-accent-strong) !important;
    background: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    border-bottom-color: var(--reboot-child-accent-strong) !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 2px !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.reboot-child-header__menu .current-menu-item > a:hover,
.reboot-child-header__menu .current-menu-item > .removed-link:hover,
.reboot-child-header__menu .current_page_item > a:hover,
.reboot-child-header__menu .current_page_item > .removed-link:hover,
.reboot-child-header__menu .current-menu-ancestor > a:hover,
.reboot-child-header__menu .current-menu-ancestor > .removed-link:hover,
.reboot-child-header__menu .current-menu-parent > a:hover,
.reboot-child-header__menu .current-menu-parent > .removed-link:hover {
    color: var(--reboot-child-accent-strong) !important;
}

/* Desktop nav only: sub-menu drops below the menu item, shown on hover */
#site-navigation .menu-item-has-children {
    position: relative;
}

#site-navigation .menu-item-has-children > .sub-menu {
    top: 100%;
    left: 0;
    min-width: 200px;
}

#site-navigation .menu-item-has-children:hover > .sub-menu {
    display: block !important;
}

.reboot-child-breadcrumbs {
    padding: 12px 0 0;
}

.reboot-child-breadcrumbs__container {
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
    padding-inline: 16px;
}

.reboot-child-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--reboot-child-muted);
    font-size: 0.875rem;
}

.reboot-child-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reboot-child-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    color: rgba(95, 107, 122, 0.65);
}

.reboot-child-breadcrumbs a {
    color: inherit;
}

.reboot-child-breadcrumbs a:hover,
.reboot-child-breadcrumbs a:focus-visible {
    color: var(--reboot-child-accent);
}

body #content.site-content,
body #content.site-content > .site-content-inner {
    width: 100% !important;
    max-width: none !important;
    display: block;
    background: transparent;
}

body #content.site-content {
    padding-top: 0;
}

body .reboot-child-home-banner {
    margin-top: 0;
}

body .reboot-child-home-banner__inner {
    width: 100%;
}

body .reboot-child-home-banner__content {
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
    padding-inline: 16px;
}

body #content.site-content > .site-content-inner > * {
    position: relative;
    z-index: 1;
}

.reboot-child-home-main > .reboot-child-section:first-child {
    padding-top: 0;
}

.reboot-child-grid {
    display: grid;
    gap: 24px;
}

.reboot-child-two-col {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: stretch;
}

.reboot-child-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: stretch;
    padding-bottom: 24px;
}

.reboot-child-home-main {
    display: grid;
    min-width: 0;
}

.reboot-child-home-sidebar {
    align-self: stretch;
    min-width: 0;
    min-height: 100%;
    position: sticky;
    top: 24px;
    height: calc(100vh - 48px);
    overflow: auto;
}

@media (max-width: 991px) {
    .reboot-child-header__inner {
        position: relative;
        padding-bottom: 72px;
    }

    .reboot-child-header__top {
        position: static;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px 16px;
    }

    .reboot-child-header__brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .reboot-child-header__contacts {
        order: 3;
        width: 100%;
        align-items: flex-start;
        text-align: left;
        white-space: normal;
    }

    .reboot-child-header__toggle:not(.reboot-child-mobile-close) {
        position: absolute !important;
        right: 12px !important;
        bottom: 12px !important;
        left: auto !important;
        top: auto !important;
        display: inline-flex;
        margin-left: 0;
        z-index: 20;
    }

    .reboot-child-header__nav {
        display: none;
    }

    .mobile-menu-placeholder.open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 250;
        width: 100vw;
        max-width: none;
        margin: 0;
        padding: 72px 16px 16px;
        background: rgba(246, 244, 238, 0.98);
        overflow-y: auto;
    }

    .mobile-menu-placeholder.open .reboot-child-mobile-close {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        bottom: auto !important;
        left: auto !important;
        display: inline-flex;
        z-index: 260;
        margin: 0 !important;
    }

    #site-navigation-mobile {
        position: relative;
        z-index: 251;
        width: 100%;
        max-width: none;
        min-height: calc(100vh - 32px);
        margin: 0;
        padding: 72px 0 24px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    #site-navigation-mobile .reboot-child-header__menu {
        width: min(100%, 420px);
        margin: 0 auto;
        padding: 0;
        background: transparent;
    }

    .reboot-child-home-banner {
        display: none;
    }

    .reboot-child-home-layout,
    .reboot-child-two-col {
        grid-template-columns: 1fr;
    }

    .reboot-child-home-main,
    .reboot-child-home-sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .reboot-child-home-sidebar {
        order: 2;
        position: static;
        top: auto;
        height: auto;
        overflow: visible;
    }

    .reboot-child-home-main {
        order: 1;
    }

    .reboot-child-home-main > *,
    .reboot-child-home-sidebar > *,
    .reboot-child-home-content,
    .reboot-child-feed-list,
    .reboot-child-feed-item,
    .reboot-child-card,
    .reboot-child-card__body {
        min-width: 0;
        max-width: 100%;
    }

    .reboot-child-home-content {
        overflow-wrap: anywhere;
    }

    .reboot-child-home-content img,
    .reboot-child-home-content iframe,
    .reboot-child-home-content video,
    .reboot-child-home-content canvas,
    .reboot-child-home-main img,
    .reboot-child-home-main iframe,
    .reboot-child-home-main video {
        max-width: 100%;
        height: auto;
    }

    .reboot-child-home-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.widget-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.reboot-child-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(184, 115, 51, 0.12);
    color: var(--reboot-child-accent-strong);
    font-size: 0.875rem;
    font-weight: 600;
}

.reboot-child-hero__content,
.reboot-child-hero__sidebar,
.reboot-child-block,
.reboot-child-card {
    padding: 28px;
}

.reboot-child-hero__content,
.reboot-child-hero__sidebar {
    height: 100%;
}

.reboot-child-hero__sidebar {
    display: flex;
    flex-direction: column;
}

.reboot-child-hero__sidebar .widget,
.reboot-child-hero__sidebar > * {
    width: 100%;
}

.reboot-child-hero__sidebar .widget:last-child {
    margin-bottom: 0;
}

.reboot-child-hero__title {
    margin: 16px 0 12px;
    font-size: clamp(2.25rem, 4vw, 1rem);
    line-height: 1.05;
}

.reboot-child-hero__text {
    max-width: 62ch;
    color: var(--reboot-child-muted);
    font-size: 1.05rem;
}

.reboot-child-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.reboot-child-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--reboot-child-border);
}

.reboot-child-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
}

.reboot-child-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--reboot-child-border);
}

.reboot-child-stat__number {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1;
    color: var(--reboot-child-accent);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.reboot-child-stat__label {
    font-size: 0.78rem;
    color: var(--reboot-child-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 479px) {
    .reboot-child-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .reboot-child-stat:not(:last-child)::after {
        display: none;
    }

    .reboot-child-stat:nth-child(odd) {
        border-right: 1px solid var(--reboot-child-border);
    }

    .reboot-child-stat:nth-child(1),
    .reboot-child-stat:nth-child(2) {
        border-bottom: 1px solid var(--reboot-child-border);
    }
}

.reboot-child-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--reboot-child-accent);
    color: #fff;
    font-weight: 700;
}

.reboot-child-button:hover,
.reboot-child-button:focus-visible {
    background: var(--reboot-child-accent-strong);
    color: #fff;
}

.reboot-child-button--secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--reboot-child-text);
    border: 1px solid rgba(31, 42, 55, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.reboot-child-button--secondary:hover,
.reboot-child-button--secondary:focus-visible {
    background: rgba(184, 115, 51, 0.12);
    color: var(--reboot-child-text);
}

.reboot-child-card a,
.reboot-child-page-sidecard a,
.reboot-child-page-nav__list a,
.reboot-child-feed-actions a {
    color: inherit;
}

.reboot-child-card a:hover,
.reboot-child-card a:focus-visible,
.reboot-child-page-sidecard a:hover,
.reboot-child-page-sidecard a:focus-visible,
.reboot-child-page-nav__list a:hover,
.reboot-child-page-nav__list a:focus-visible,
.reboot-child-feed-actions a:hover,
.reboot-child-feed-actions a:focus-visible {
    color: var(--reboot-child-accent);
}

.reboot-child-aside-title,
.reboot-child-section-heading h2 {
    margin: 10px 0 0;
}

.reboot-child-muted {
    color: var(--reboot-child-muted);
}

.reboot-child-section-heading {
    margin-bottom: 20px;
}

.reboot-child-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reboot-child-feed-list {
    display: grid;
    gap: 16px;
}

.reboot-child-feed-item {
    width: 100%;
}

.reboot-child-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reboot-child-card__media img {
    display: block;
    width: 100%;
    height: auto;
}

.reboot-child-card__body {
    display: grid;
    gap: 12px;
}

.reboot-child-card__date {
    color: var(--reboot-child-muted);
    font-size: 0.875rem;
}

.reboot-child-card__date--footer {
    margin-top: auto;
    align-self: start;
}

.reboot-child-card__title {
    margin: 0;
    font-size: 1.2rem;
}

.reboot-child-card__excerpt {
    margin: 0;
    color: var(--reboot-child-muted);
}

.reboot-child-card__meta {
    margin: 0;
    color: var(--reboot-child-accent-strong);
    font-size: 0.95rem;
    font-weight: 600;
}

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

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

.reboot-child-card--compact {
    min-height: 100%;
}

.reboot-child-feed-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.reboot-child-page-hero__inner,
.reboot-child-page-content,
.reboot-child-page-nav {
    padding: 28px;
}

body.page-template-page-documents .site-content-inner {
    max-width: 100% !important;
    width: 100% !important;
    display: contents;
}

body.page-template-page-documents .reboot-child-page-hero__inner {
    padding: 28px;
}

body.page-template-page-documents .reboot-child-page-hero .site-container,
body.page-template-page-documents .reboot-child-documents-wide {
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
}

body.page-template-page-documents .reboot-child-page-content,
body.page-template-page-documents .reboot-child-document-group {
    width: 100%;
    max-width: none;
}

.reboot-child-page-title {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.reboot-child-employees-page .reboot-child-page-title {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.reboot-child-page-lead {
    max-width: 70ch;
    color: var(--reboot-child-muted);
    font-size: 1.05rem;
}

.reboot-child-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.reboot-child-page-sidebar {
    display: grid;
    gap: 24px;
}

.reboot-child-page-nav__list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.reboot-child-page-nav__list a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--reboot-child-border);
    border-radius: 14px;
    color: var(--reboot-child-text);
    text-decoration: none;
    background: rgba(31, 42, 55, 0.02);
}

.reboot-child-page-nav__list a:hover,
.reboot-child-page-nav__list a:focus-visible {
    background: rgba(184, 115, 51, 0.08);
    border-color: rgba(184, 115, 51, 0.2);
}

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

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

.reboot-child-page-content--full {
    width: 100%;
    max-width: none;
}

.reboot-child-page-sidecards {
    display: grid;
    gap: 16px;
}

.reboot-child-page-sidecard {
    padding: 16px 0 0;
    border-top: 1px solid var(--reboot-child-border);
}

.reboot-child-page-sidecard:first-child {
    padding-top: 0;
    border-top: 0;
}

.reboot-child-page-sidecard__date {
    display: block;
    margin-bottom: 8px;
    color: var(--reboot-child-muted);
    font-size: 0.875rem;
}

.reboot-child-page-sidecard__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.reboot-child-page-sidecard__meta {
    margin: 0 0 6px;
    color: var(--reboot-child-muted);
    font-size: 0.75rem;
    line-height: 1.25;
}

.reboot-child-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.reboot-child-gallery-card {
    overflow: hidden;
}

.reboot-child-gallery-card__media img {
    display: block;
    width: 100%;
    height: auto;
}

.reboot-child-gallery-card__body {
    padding: 20px;
}

.reboot-child-gallery-card__title {
    margin: 0 0 8px;
}

.reboot-child-gallery-card__excerpt {
    margin: 0;
    color: var(--reboot-child-muted);
}

.reboot-child-gallery-album-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.reboot-child-page-sidecard__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 6px;
    padding: 4px 10px;
    border: 1px solid var(--reboot-child-border);
    border-radius: 999px;
    color: var(--reboot-child-accent-strong);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.reboot-child-documents {
    display: grid;
    gap: 24px;
}

.reboot-child-documents-wide {
    width: 100%;
    max-width: none;
}

.reboot-child-document-group {
    padding: 28px;
}

.reboot-child-document-group__header {
    margin-bottom: 20px;
}

.reboot-child-document-group__header h2 {
    margin: 0 0 8px;
}

.reboot-child-document-group__header p {
    margin: 0;
    color: var(--reboot-child-muted);
}

.reboot-child-document-list {
    display: grid;
    gap: 16px;
}

.reboot-child-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 0;
    border-top: 1px solid var(--reboot-child-border);
}

.reboot-child-document-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.reboot-child-document-item__meta {
    display: grid;
    gap: 6px;
}

.reboot-child-document-item__title {
    margin: 0;
    font-size: 1.05rem;
}

.reboot-child-document-item__date {
    color: var(--reboot-child-muted);
    font-size: 0.875rem;
}

.reboot-child-document-item__excerpt {
    margin: 0;
    color: var(--reboot-child-muted);
}

.reboot-child-document-item__button {
    flex-shrink: 0;
}

.reboot-child-employee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reboot-child-employee-section {
    padding: 28px;
}

.reboot-child-employees-wide {
    width: 100%;
    max-width: none;
}

.reboot-child-employee-card {
    overflow: hidden;
    display: grid;
}

.reboot-child-employee-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(135deg, rgba(31, 42, 55, 0.72), rgba(184, 115, 51, 0.72)),
        linear-gradient(135deg, #c2c7d0 0%, #edf1f5 100%);
    background-size: cover;
    background-position: center;
}

.reboot-child-employee-card__media--fallback {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 25%),
        linear-gradient(135deg, #7f8ea4 0%, #9db0c7 48%, #c6d3e4 100%);
}

.reboot-child-employee-card__body {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.reboot-child-employee-card__title {
    margin: 0;
    font-size: 1.1rem;
}

.reboot-child-employee-card__meta,
.reboot-child-employee-card__experience {
    margin: 0;
    color: var(--reboot-child-muted);
}

.reboot-child-employee-card__experience {
    color: var(--reboot-child-accent-strong);
    font-weight: 600;
}

.reboot-child-organization-section {
    padding: 28px;
}

.reboot-child-organization-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 20px;
}

.reboot-child-organization-filter label {
    color: var(--reboot-child-muted);
    font-weight: 700;
}

.reboot-child-organization-filter select {
    min-width: min(100%, 280px);
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--reboot-child-border);
    border-radius: 12px;
    background: #fff;
    color: var(--reboot-child-text);
}

.reboot-child-organization-list {
    display: grid;
    gap: 16px;
}

.reboot-child-organization-card {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 20px;
    box-shadow: none;
}

.reboot-child-organization-card[hidden] {
    display: none;
}

.reboot-child-organization-card__title {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.reboot-child-organization-card__row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
}

.reboot-child-organization-card__row strong {
    color: var(--reboot-child-text);
}

.reboot-child-organization-card__row span,
.reboot-child-organization-card__row a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.reboot-child-organization-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.reboot-child-organization-card__stack {
    display: grid;
    gap: 4px;
}

.reboot-child-organization-empty {
    margin: 16px 0 0;
}

.reboot-child-employee-single__meta {
    display: grid;
    gap: 8px;
}

.reboot-child-employee-single__summary {
    display: grid;
    grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.reboot-child-employee-single__summary--no-media {
    grid-template-columns: 1fr;
}

.reboot-child-employee-single__meta div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.reboot-child-single-media.reboot-child-employee-single__media {
    margin-bottom: 0;
}

.reboot-child-single-media.reboot-child-employee-single__media img {
    width: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.reboot-child-archive-hero__inner,
.reboot-child-single-hero__inner,
.reboot-child-single-content,
.reboot-child-single-sidebar {
    padding: 28px;
}

.reboot-child-archive-pagination {
    margin-top: 24px;
}

.reboot-child-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.reboot-child-single-media {
    margin-bottom: 20px;
}

.reboot-child-single-media img {
    display: block;
    width: 100%;
    height: auto;
}

.reboot-child-single-body > :first-child {
    margin-top: 0;
}

.reboot-child-single-body > :last-child {
    margin-bottom: 0;
}

.reboot-child-single-meta {
    margin-top: 12px;
    color: var(--reboot-child-muted);
}

.reboot-child-page-lead strong {
    color: var(--reboot-child-text);
    font-size: 0.85em;
}

.reboot-child-page-lead time {
    display: inline;
    margin-left: 8px;
}

.reboot-child-gallery-content img {
    cursor: zoom-in;
}

.reboot-child-gallery-content .wp-block-gallery img,
.reboot-child-gallery-content .gallery img {
    cursor: zoom-in;
}

.reboot-child-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}

.reboot-child-gallery-modal[hidden] {
    display: none;
}

.reboot-child-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(16, 20, 27, 0.82);
}

.reboot-child-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 1200px);
    max-height: 88vh;
    padding: 18px;
    transform: translateY(10px) scale(0.96);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.reboot-child-gallery-modal.is-open .reboot-child-gallery-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.reboot-child-gallery-modal__image {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.reboot-child-gallery-modal__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--reboot-child-surface);
    color: var(--reboot-child-text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.reboot-child-gallery-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 72px;
    height: 72px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 150ms ease;
    opacity: 0.88;
}

.reboot-child-gallery-modal__nav:hover,
.reboot-child-gallery-modal__nav:focus-visible {
    opacity: 1;
}

.reboot-child-gallery-modal__nav--prev {
    left: 10px;
}

.reboot-child-gallery-modal__nav--next {
    right: 10px;
}

.reboot-child-gallery-modal__nav--prev::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 18px;
    width: 18px;
    height: 18px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.reboot-child-gallery-modal__nav--next::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 18px;
    height: 18px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.reboot-child-modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .reboot-child-gallery-modal__nav--prev {
        left: 6px;
    }

    .reboot-child-gallery-modal__nav--next {
        right: 6px;
    }

    .reboot-child-gallery-modal__nav {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 991px) {
    .reboot-child-card-grid {
        grid-template-columns: 1fr;
    }

    .reboot-child-feed-actions {
        justify-content: stretch;
    }

    .reboot-child-feed-actions .reboot-child-button {
        width: 100%;
    }

    .reboot-child-page-layout {
        /* minmax(0, …), а не 1fr: у 1fr минимум равен min-content, и широкая
           таблица внутри распирает колонку шире экрана. Вылезшее обрезает
           `.site` с overflow: hidden, и правые столбцы становятся
           недоступны — вместо этого колонка сжимается, а таблица
           прокручивается внутри себя. */
        grid-template-columns: minmax(0, 1fr);
    }

    .reboot-child-gallery-grid,
    .reboot-child-gallery-album-layout {
        grid-template-columns: 1fr;
    }

    .reboot-child-document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .reboot-child-single-layout {
        /* см. .reboot-child-page-layout выше: у 1fr минимум равен min-content,
           и широкая таблица в тексте новости распирает колонку шире экрана */
        grid-template-columns: minmax(0, 1fr);
    }

    .reboot-child-employee-grid {
        grid-template-columns: 1fr;
    }

    .reboot-child-employee-single__summary {
        grid-template-columns: 1fr;
    }

    .reboot-child-organization-card__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (min-width: 992px) {
    .reboot-child-home-banner {
        display: block;
    }
}

.reboot-child-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.reboot-child-contact-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reboot-child-contact-card--map {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.reboot-child-contact-map {
    flex: 1;
    line-height: 0;
}

.reboot-child-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: none;
    border-radius: var(--reboot-child-radius);
}

.reboot-child-contact-map-placeholder {
    padding: 28px;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.reboot-child-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.reboot-child-contact-list__item {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px;
    align-items: baseline;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--reboot-child-text);
}

.reboot-child-contact-list__label {
    font-weight: 600;
    color: var(--reboot-child-muted);
    white-space: nowrap;
}

.reboot-child-contact-list__item a {
    color: var(--reboot-child-accent);
    text-decoration: none;
    transition: color var(--reboot-child-transition);
}

.reboot-child-contact-list__item a:hover {
    color: var(--reboot-child-accent-strong);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .reboot-child-contact-layout {
        grid-template-columns: 1fr;
    }

    .reboot-child-contact-card--map {
        min-height: 280px;
    }

    .reboot-child-contact-map iframe {
        min-height: 280px;
    }

    .reboot-child-contact-card {
        justify-content: flex-start;
    }
}

/* ── Mobile sub-menu: toggle button & nested items ──────────────── */

/* Parent items become flex containers so the link and toggle sit in a row,
   and the sub-menu wraps to a second row via flex-wrap. */
#site-navigation-mobile .menu-item-has-children {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    position: static !important; /* no absolute needed; toggle is flex-inline */
    padding-right: 0 !important;
}

/* Link stretches, toggle button stays fixed-width at the row end */
#site-navigation-mobile .menu-item-has-children > a,
#site-navigation-mobile .menu-item-has-children > .removed-link {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
}

/* Chevron toggle button */
.reboot-child-sub-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--reboot-child-muted);
    transition: transform var(--reboot-child-transition), color var(--reboot-child-transition);
}

.reboot-child-sub-open > .reboot-child-sub-toggle {
    transform: rotate(180deg);
    color: var(--reboot-child-accent);
}

/* Sub-menu list: full-width flex item → occupies its own row */
#site-navigation-mobile .sub-menu {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    background: rgba(31, 42, 55, 0.03) !important;
    border-top: 1px solid var(--reboot-child-border);
}

#site-navigation-mobile .reboot-child-sub-open > .sub-menu {
    display: block;
}

#site-navigation-mobile .sub-menu > li {
    border-bottom: 1px solid var(--reboot-child-border);
    padding-right: 0 !important;
}

#site-navigation-mobile .sub-menu > li:last-child {
    border-bottom: 0;
}

#site-navigation-mobile .sub-menu a,
#site-navigation-mobile .sub-menu .removed-link {
    padding-left: 20px;
    min-height: 44px;
    font-weight: 500;
    color: var(--reboot-child-muted);
}

/* ── Home Slider ─────────────────────────────────────────────────── */

.reboot-child-home-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 24px;
}

.reboot-child-slider {
    position: relative;
    overflow: hidden;
}

.reboot-child-slider__track {
    display: grid;
}

.reboot-child-slider__slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    min-height: 260px;
    background-color: #7f8ea4;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.reboot-child-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.reboot-child-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.reboot-child-slider__content {
    position: relative;
    z-index: 1;
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin-inline: auto;
    padding: 40px 16px;
    color: #fff;
}

.reboot-child-slider__title {
    max-width: 18ch;
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    line-height: 1.1;
    color: #fff;
}

.reboot-child-slider__description {
    max-width: 58ch;
    margin: 0 0 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.reboot-child-slider__button {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.reboot-child-slider__button:hover {
    background: rgba(255, 255, 255, 0.28);
}

.reboot-child-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

/* Стрелка рисуется псевдоэлементом: глиф ‹ › имеет собственные метрики и смещается от центра */
.reboot-child-slider__nav::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.reboot-child-slider__nav--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.reboot-child-slider__nav--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.reboot-child-slider__nav:hover {
    background: rgba(255, 255, 255, 0.42);
}

.reboot-child-slider__nav--prev { left: 14px; }
.reboot-child-slider__nav--next { right: 14px; }

.reboot-child-slider__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.reboot-child-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
}

.reboot-child-slider__dot.is-active {
    background: #fff;
}

@media (min-width: 992px) {
    .reboot-child-slider__slide {
        min-height: 340px;
    }
}

@media (max-width: 600px) {
    .reboot-child-slider__nav {
        display: none;
    }
}

/* Навигация по разделу на внутренних страницах */
.reboot-child-page-nav .reboot-child-aside-title a {
    color: inherit;
    text-decoration: none;
}

.reboot-child-page-nav .reboot-child-aside-title a:hover,
.reboot-child-page-nav .reboot-child-aside-title a:focus-visible {
    text-decoration: underline;
}

.reboot-child-page-nav__list a.is-current {
    background: rgba(184, 115, 51, 0.12);
    border-color: rgba(184, 115, 51, 0.35);
    font-weight: 600;
}

/* Служебная зона шапки: версия для слабовидящих и соцсети */
.reboot-child-header__utility {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.reboot-child-header__utility .bvi-shortcode a,
.reboot-child-header__social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--reboot-child-text);
    text-decoration: none;
    opacity: 0.85;
}

.reboot-child-header__utility .bvi-shortcode a:hover,
.reboot-child-header__utility .bvi-shortcode a:focus-visible,
.reboot-child-header__social:hover,
.reboot-child-header__social:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

.reboot-child-header__bvi .bvi-svg-eye {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Раздел «Сведения об образовательной организации» */
.sveden-block__title {
    margin: 32px 0 12px;
    font-size: 20px;
}

.sveden-block > .sveden-block__title:first-child {
    margin-top: 0;
}

.sveden-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 8px;
}

.sveden-table th,
.sveden-table td {
    padding: 10px 12px;
    border: 1px solid var(--reboot-child-border);
    text-align: left;
    vertical-align: top;
}

.sveden-table__label {
    width: 42%;
    font-weight: 500;
    background: rgba(31, 42, 55, 0.03);
}

.sveden-table__row--empty .sveden-table__value {
    opacity: 0.6;
}

/* На узком экране таблицы «поле — значение» разворачиваем в столбик: подпись
   строкой, под ней значение. Широкие таблицы педсостава и руководства
   (`--staff`) так разворачивать нельзя — у них десятка два столбцов, и в
   столбик получается сначала список всех заголовков, а потом отдельно список
   всех значений, без связи между ними. Они лежат в `.sveden-scroll`
   и прокручиваются по горизонтали, оставаясь таблицами. */
@media (max-width: 600px) {
    .sveden-table:not(.sveden-table--staff),
    .sveden-table:not(.sveden-table--staff) tbody,
    .sveden-table:not(.sveden-table--staff) tr,
    .sveden-table:not(.sveden-table--staff) th,
    .sveden-table:not(.sveden-table--staff) td {
        display: block;
        width: auto;
    }

    .sveden-table:not(.sveden-table--staff) tr {
        margin-bottom: 12px;
    }

    .sveden-table:not(.sveden-table--staff) th {
        border-bottom: none;
    }
}

/* Широкие таблицы раздела «Сведения» */
.sveden-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sveden-table--staff {
    min-width: 900px;
}

.sveden-table--staff th[scope="col"] {
    background: rgba(31, 42, 55, 0.05);
    font-weight: 600;
    font-size: 14px;
}

.sveden-table--staff td {
    font-size: 14px;
}

.sveden-table__value--empty {
    opacity: 0.6;
}

.sveden-block__note {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.75;
}

/* Обязательные документы */
.sveden-table__optional {
    display: block;
    font-weight: 400;
    font-size: 13px;
    opacity: 0.6;
}

.sveden-doc-signed {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.7;
}

/* Плитка отделений на главной */
.reboot-child-departments__grid {
    display: grid;
    /* 280px даёт 2x2 в основной колонке главной вместо неровных 3+1 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.reboot-child-department {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reboot-child-department:hover,
.reboot-child-department:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 42, 55, 0.12);
}

.reboot-child-department__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(31, 42, 55, 0.06);
}

.reboot-child-department__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reboot-child-department__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 20px;
}

.reboot-child-department__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
}

.reboot-child-department__text {
    font-size: 14px;
    opacity: 0.75;
}

/* Телефон приёмной комиссии в первом экране */
.reboot-child-hero__phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.2;
}

.reboot-child-hero__phone-label {
    font-size: 12px;
    opacity: 0.7;
}

.reboot-child-hero__phone-number {
    font-weight: 600;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .reboot-child-department {
        transition: none;
    }
}


/* Шесть пунктов, включая длинное «Сведения об образовательной организации»,
   должны помещаться в одну строку на десктопе */
.reboot-child-header__menu {
    gap: 4px 12px;
}

/* Специфичность поднята: родительская тема задаёт свой размер шрифта в меню */
.reboot-child-header__nav .reboot-child-header__menu > li > a {
    font-size: 14px;
    min-height: 34px;
}

@media (max-width: 1360px) {
    .reboot-child-header__nav .reboot-child-header__menu > li > a {
        font-size: 13px;
    }
}

/* Фильтр преподавателей по отделениям */
.reboot-child-teacher-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.reboot-child-teacher-filter__button {
    padding: 8px 16px;
    border: 1px solid var(--reboot-child-border);
    border-radius: 100px;
    background: transparent;
    color: var(--reboot-child-text);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.reboot-child-teacher-filter__button:hover,
.reboot-child-teacher-filter__button:focus-visible {
    background: rgba(184, 115, 51, 0.08);
}

.reboot-child-teacher-filter__button.is-active {
    background: rgba(184, 115, 51, 0.14);
    border-color: rgba(184, 115, 51, 0.4);
    font-weight: 600;
}

.reboot-child-teacher-empty {
    margin-top: 16px;
}

.reboot-child-teacher-details {
    margin-bottom: 24px;
}

.reboot-child-teacher-single__back {
    margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
    .reboot-child-teacher-filter__button {
        transition: none;
    }
}

/* Лента новостей */
.reboot-child-section--tight {
    padding-top: 0;
}

.reboot-child-rubrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reboot-child-rubrics__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--reboot-child-border);
    border-radius: 100px;
    color: var(--reboot-child-text);
    text-decoration: none;
    font-size: 14px;
    background: var(--reboot-child-surface, #fff);
}

.reboot-child-rubrics__link:hover,
.reboot-child-rubrics__link:focus-visible {
    background: rgba(184, 115, 51, 0.08);
}

.reboot-child-rubrics__link.is-active {
    background: rgba(184, 115, 51, 0.14);
    border-color: rgba(184, 115, 51, 0.4);
    font-weight: 600;
}

.reboot-child-rubrics__count {
    font-size: 12px;
    opacity: 0.6;
}

.reboot-child-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.reboot-child-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.reboot-child-news-card .reboot-child-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: rgba(31, 42, 55, 0.06);
}

.reboot-child-news-card .reboot-child-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reboot-child-news-card .reboot-child-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
}

.reboot-child-news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    opacity: 0.75;
}

.reboot-child-news-card__rubric {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

.reboot-child-news-card .reboot-child-card__title {
    font-size: 18px;
    line-height: 1.35;
    margin: 0;
}

.reboot-child-pagination {
    margin-top: 28px;
}

/* Галерея фотоотчёта в новости */
.ldshi-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.ldshi-gallery a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(31, 42, 55, 0.06);
}

.ldshi-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.ldshi-gallery a:hover img,
.ldshi-gallery a:focus-visible img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .ldshi-gallery img {
        transition: none;
    }
}

/* Встроенное видео */
.reboot-child-video {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(31, 42, 55, 0.08);
}

.reboot-child-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.reboot-child-video-link {
    margin: 16px 0;
}

/* Сетка карточек преподавателей */
.reboot-child-teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.reboot-child-teacher-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.reboot-child-teacher-card__media {
    display: block;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: rgba(31, 42, 55, 0.08);
}

.reboot-child-teacher-card__media--fallback {
    background-image: linear-gradient(135deg, rgba(184, 115, 51, 0.18), rgba(31, 42, 55, 0.12));
}

.reboot-child-teacher-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 18px;
}

.reboot-child-teacher-card__title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.reboot-child-teacher-card__title a {
    color: inherit;
    text-decoration: none;
}

.reboot-child-teacher-card__title a:hover,
.reboot-child-teacher-card__title a:focus-visible {
    text-decoration: underline;
}

.reboot-child-teacher-card__meta,
.reboot-child-teacher-card__experience {
    margin: 0;
    font-size: 13px;
    opacity: 0.75;
}

/* Карта сайта */
.reboot-child-sitemap__list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0;
    display: grid;
    gap: 6px;
}

.reboot-child-sitemap__list .reboot-child-sitemap__list {
    padding-left: 20px;
    margin: 6px 0 10px;
    border-left: 2px solid var(--reboot-child-border);
}

.reboot-child-sitemap__list > li > a {
    font-weight: 500;
}

.reboot-child-sitemap__list .reboot-child-sitemap__list > li > a {
    font-weight: 400;
}

.reboot-child-sitemap__count {
    font-size: 13px;
    opacity: 0.6;
    margin-left: 6px;
}

/* Перенесённый со старого сайта контент: картинки и видео там заданы
   в пикселях и на узком экране вылезают за колонку. */
.reboot-child-page-content img,
.reboot-child-single-body img,
.reboot-child-page-content iframe,
.reboot-child-single-body iframe {
    max-width: 100%;
    height: auto;
}

.reboot-child-page-content iframe,
.reboot-child-single-body iframe {
    aspect-ratio: 16 / 9;
    display: block;
    margin-inline: auto;
    border: 0;
    border-radius: 12px;
}

/* Таблицы прокручиваются вместе с обёрткой .sveden-scroll, которую вешает
   фильтр reboot_child_wrap_content_tables(). Саму таблицу в блок не
   превращаем: браузер перестаёт считать её таблицей, и скринридеры теряют
   связь ячеек с заголовками. */
.reboot-child-page-content .sveden-scroll,
.reboot-child-single-body .sveden-scroll {
    max-width: 100%;
}

/* Меню подвала (карта сайта, политика, НОК): родительская тема рисует его
   белой полосой во всю ширину, без скруглений и отступов. Приводим к тому же
   виду, что и остальные блоки страницы. */
.site-footer-container .footer-navigation {
    /* ширина у родительской темы своя (1190px) — берём сетку остального сайта */
    width: var(--reboot-child-container);
    max-width: var(--reboot-child-container);
    margin: 0 auto 24px;
    box-sizing: border-box;
    border: 1px solid var(--reboot-child-border);
    border-radius: var(--reboot-child-radius);
    box-shadow: var(--reboot-child-shadow);
}

.site-footer-container .footer-navigation .main-navigation-inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

.site-footer-container #footer_menu {
    margin: 0;
    padding: 12px 28px;
    flex-wrap: wrap;
    gap: 2px 28px;
}

.site-footer-container #footer_menu > li > a {
    padding: 12px 0;
    color: var(--reboot-child-text);
    transition: color var(--reboot-child-transition);
}

.site-footer-container #footer_menu > li > a:hover,
.site-footer-container #footer_menu > li > a:focus-visible {
    color: var(--reboot-child-accent-strong);
}

/* Родительская тема прячет меню подвала до 992px, и на телефоне становятся
   недоступны карта сайта, политика обработки персональных данных и НОК.
   Показываем — ниже этой ширины ссылки и так встают в столбик. */
@media (max-width: 991px) {
    .site-footer-container .footer-navigation {
        display: block;
    }

    .site-footer-container #footer_menu {
        padding: 6px 20px;
        gap: 0;
    }

    .site-footer-container #footer_menu > li + li {
        border-top: 1px solid var(--reboot-child-border);
    }
}

/* Блоки со списками преподавателей и выпускников: у остальных «поверхностей»
   темы внутренний отступ 28px, а этим он не достался — карточки, заголовок
   и фильтр отделений упирались в края блока. */
.reboot-child-teachers,
.reboot-child-teacher-section,
.reboot-child-teacher-group {
    padding: 28px;
}

@media (max-width: 767px) {
    .reboot-child-teachers,
    .reboot-child-teacher-section,
    .reboot-child-teacher-group {
        padding: 20px;
    }
}

/* Таблицы в тексте страниц и новостей: в теме их оформления не было, а
   в перенесённом контенте они есть — расписания приёма, перечни наград.
   Держим тот же вид, что у таблиц раздела «Сведения об ОО». */
.reboot-child-page-content table,
.reboot-child-single-body table {
    border-collapse: collapse;
    margin: 16px 0;
}

.reboot-child-page-content th,
.reboot-child-page-content td,
.reboot-child-single-body th,
.reboot-child-single-body td {
    padding: 10px 12px;
    border: 1px solid var(--reboot-child-border);
    text-align: left;
    vertical-align: top;
}

.reboot-child-page-content th,
.reboot-child-single-body th {
    font-weight: 600;
    background: rgba(31, 42, 55, 0.03);
}

.reboot-child-page-content tbody tr:hover,
.reboot-child-single-body tbody tr:hover {
    background: rgba(184, 115, 51, 0.04);
}
