/*
Theme Name: Belarus School Modern
Theme URI: https://example.local/
Author: Codex
Author URI: https://example.local/
Description: Modern, accessible WordPress theme for a secondary school in the Republic of Belarus.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belschool
Tags: education, school, accessibility-ready, custom-logo, custom-menu, featured-images, block-styles
*/

:root {
  --school-green: #79b530;
  --school-green-dark: #4f8521;
  --school-green-soft: #edf7e6;
  --school-ink: #202629;
  --school-muted: #657179;
  --school-border: #dfe5e8;
  --school-surface: #f6f8f7;
  --school-white: #ffffff;
  --school-yellow: #f4c542;
  --school-red: #be3b3b;
  --school-blue: #2d6cdf;
  --school-radius: 8px;
  --school-shadow: 0 18px 48px rgba(30, 42, 48, 0.12);
  --school-container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--school-ink);
  background: var(--school-white);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--school-green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--school-ink);
}

:focus-visible {
  outline: 3px solid rgba(121, 181, 48, 0.45);
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: var(--school-ink);
  background: var(--school-white);
  border: 2px solid var(--school-green);
  border-radius: var(--school-radius);
  clip: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  backdrop-filter: blur(16px);
}

.topbar {
  background: var(--school-ink);
  color: var(--school-white);
  font-size: 14px;
}

.topbar__inner,
.header-main,
.container {
  width: var(--school-container);
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar a {
  color: var(--school-white);
  text-decoration: none;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--school-ink);
  text-decoration: none;
}

.site-branding__text {
  color: var(--school-ink);
  text-decoration: none;
}

.site-logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--school-white);
  background: var(--school-green);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(121, 181, 48, 0.28);
}

.custom-logo-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}

.custom-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-title {
  display: block;
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.site-description {
  display: block;
  color: var(--school-muted);
  font-size: 13px;
  line-height: 1.25;
}

.main-navigation {
  justify-self: end;
}

.primary-menu,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--school-ink);
  border-radius: var(--school-radius);
  font-weight: 650;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--school-green-dark);
  background: var(--school-green-soft);
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  min-width: 240px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  box-shadow: var(--school-shadow);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-menu .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--school-ink);
  background: var(--school-surface);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: var(--school-white);
  background: var(--school-green);
  border: 1px solid var(--school-green);
  border-radius: var(--school-radius);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  color: var(--school-white);
  background: var(--school-green-dark);
  border-color: var(--school-green-dark);
}

.button--ghost {
  color: var(--school-ink);
  background: var(--school-white);
  border-color: var(--school-border);
}

.button--ghost:hover {
  color: var(--school-green-dark);
  background: var(--school-green-soft);
  border-color: var(--school-green);
}

.site-search {
  display: none;
  border-top: 1px solid var(--school-border);
  background: var(--school-white);
}

.site-search.is-open {
  display: block;
}

.site-search form {
  display: flex;
  gap: 10px;
  width: var(--school-container);
  margin: 0 auto;
  padding: 14px 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--school-ink);
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  font: inherit;
}

textarea {
  min-height: 140px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--school-white);
  background:
    linear-gradient(90deg, rgba(32, 38, 41, 0.84), rgba(32, 38, 41, 0.42)),
    url("assets/images/school-hero.svg") center / cover no-repeat;
}

.hero__inner {
  width: var(--school-container);
  min-height: clamp(520px, 72vh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-content: center;
  gap: 28px;
  margin: 0 auto;
  padding: 72px 0 118px;
}

.hero__label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  color: var(--school-ink);
  background: var(--school-yellow);
  border-radius: var(--school-radius);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

.hero p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero__actions .button--ghost {
  color: var(--school-white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
}

.quick-panel {
  position: relative;
  z-index: 2;
  width: var(--school-container);
  margin: -76px auto 0;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  box-shadow: var(--school-shadow);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  color: var(--school-ink);
  border-right: 1px solid var(--school-border);
  text-decoration: none;
}

.quick-link:last-child {
  border-right: 0;
}

.quick-link:hover {
  background: var(--school-green-soft);
}

.quick-link svg {
  width: 28px;
  height: 28px;
  color: var(--school-green-dark);
}

.quick-link strong {
  font-size: 18px;
  line-height: 1.25;
}

.quick-link span {
  color: var(--school-muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section--muted {
  background: var(--school-surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--school-green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lead {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--school-muted);
  font-size: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card,
.info-card,
.document-card,
.contact-card {
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  overflow: hidden;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.post-card__image {
  aspect-ratio: 16 / 10;
  background: var(--school-green-soft);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.post-card__meta,
.entry-meta {
  color: var(--school-muted);
  font-size: 14px;
}

.post-card h3,
.info-card h3,
.document-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

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

.post-card h3 a:hover {
  color: var(--school-green-dark);
}

.post-card p,
.info-card p,
.document-card p {
  margin: 0;
  color: var(--school-muted);
}

.news-hero {
  background:
    linear-gradient(135deg, rgba(121, 181, 48, 0.22), rgba(246, 248, 247, 0.94)),
    var(--school-surface);
  border-bottom: 1px solid var(--school-border);
}

.news-hero__inner {
  width: var(--school-container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 34px;
  align-items: end;
  margin: 0 auto;
  padding: 62px 0;
}

.news-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.news-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--school-muted);
  font-size: 18px;
}

.featured-news {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  box-shadow: var(--school-shadow);
}

.featured-news__label {
  width: fit-content;
  padding: 6px 10px;
  color: var(--school-green-dark);
  background: var(--school-green-soft);
  border-radius: var(--school-radius);
  font-size: 13px;
  font-weight: 850;
}

.featured-news h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.featured-news h2 a {
  color: var(--school-ink);
  text-decoration: none;
}

.featured-news p {
  margin: 0;
  font-size: 15px;
}

.news-layout {
  width: var(--school-container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin: 0 auto;
  padding: 58px 0 86px;
}

.news-main {
  min-width: 0;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.news-toolbar h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--school-ink);
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.news-chip:hover {
  color: var(--school-green-dark);
  background: var(--school-green-soft);
  border-color: var(--school-green);
}

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

.news-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
}

.news-widget {
  padding: 20px;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.news-widget h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.news-widget .news-categories {
  display: grid;
}

.news-widget form {
  display: grid;
  gap: 10px;
}

.school-link-list,
.compact-post-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-link-list a,
.compact-post-list a {
  color: var(--school-ink);
  font-weight: 750;
  text-decoration: none;
}

.school-link-list a:hover,
.compact-post-list a:hover {
  color: var(--school-green-dark);
}

.compact-post-list span {
  display: block;
  color: var(--school-muted);
  font-size: 13px;
}

.empty-state {
  padding: 34px;
  background: var(--school-surface);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.empty-state h2 {
  margin-top: 0;
}

.service-hero {
  padding: 62px 0;
  background: var(--school-surface);
  border-bottom: 1px solid var(--school-border);
}

.service-hero__inner {
  width: var(--school-container);
  margin: 0 auto;
}

.service-grid {
  width: var(--school-container);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 58px 0 86px;
}

.service-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.service-card svg {
  width: 32px;
  height: 32px;
  color: var(--school-green-dark);
}

.service-card h2,
.service-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--school-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 24px;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--school-white);
  background: var(--school-green);
  border-radius: 12px;
}

.stats-band {
  color: var(--school-white);
  background: var(--school-ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--school-radius);
  overflow: hidden;
}

.stat-item {
  padding: 28px;
  background: var(--school-ink);
}

.stat-item strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.76);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: start;
}

.schedule-list,
.document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-item,
.document-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.schedule-time {
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 64px;
  color: var(--school-green-dark);
  background: var(--school-green-soft);
  border-radius: var(--school-radius);
  font-weight: 850;
}

.document-card svg,
.contact-card svg {
  width: 28px;
  height: 28px;
  color: var(--school-green-dark);
}

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

.contact-card {
  padding: 22px;
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 36px;
  color: var(--school-muted);
  background:
    linear-gradient(135deg, rgba(121, 181, 48, 0.18), rgba(45, 108, 223, 0.12)),
    var(--school-surface);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.content-area {
  width: var(--school-container);
  margin: 0 auto;
  padding: 58px 0 86px;
}

.page-header {
  padding: 58px 0;
  background: var(--school-surface);
  border-bottom: 1px solid var(--school-border);
}

.page-header__inner {
  width: var(--school-container);
  margin: 0 auto;
}

.page-title,
.entry-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.entry-content {
  max-width: 820px;
}

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

.entry-content h2,
.entry-content h3 {
  line-height: 1.2;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--school-border);
}

.entry-content th {
  background: var(--school-green-soft);
  text-align: left;
}

.post-navigation,
.posts-navigation,
.pagination {
  margin-top: 36px;
}

.nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.nav-links span,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 13px;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
  text-decoration: none;
}

.nav-links .current,
.page-numbers.current {
  color: var(--school-white);
  background: var(--school-green);
  border-color: var(--school-green);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--school-ink);
}

.footer-main {
  width: var(--school-container);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
  margin: 0 auto;
  padding: 54px 0;
}

.footer-main h2,
.footer-main h3 {
  color: var(--school-white);
  margin-top: 0;
}

.footer-menu {
  display: grid;
  gap: 8px;
}

.footer-menu a,
.site-footer a {
  color: var(--school-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom__inner {
  width: var(--school-container);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 0;
  font-size: 14px;
}

.widget {
  margin-bottom: 28px;
}

.alignwide {
  max-width: 1040px;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.school-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: stretch;
}

.school-profile__content {
  display: grid;
  align-content: center;
}

.school-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.school-facts div,
.director-card {
  padding: 20px;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.school-facts strong,
.school-facts span {
  display: block;
}

.school-facts strong {
  margin-bottom: 5px;
  color: var(--school-green-dark);
}

.school-facts span,
.director-card p {
  color: var(--school-muted);
}

.director-card {
  display: grid;
  gap: 14px;
  align-content: center;
  box-shadow: var(--school-shadow);
}

.director-card svg {
  width: 40px;
  height: 40px;
  color: var(--school-green-dark);
}

.director-card h3,
.director-card p {
  margin: 0;
}

.service-grid--compact {
  width: 100%;
  padding: 0;
}

.service-card--link {
  color: var(--school-ink);
  text-decoration: none;
}

.service-card--link:hover {
  border-color: var(--school-green);
  box-shadow: 0 12px 32px rgba(30, 42, 48, 0.1);
}

.table-wrap {
  overflow-x: auto;
  background: var(--school-white);
  border: 1px solid var(--school-border);
  border-radius: var(--school-radius);
}

.school-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.school-table th,
.school-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--school-border);
  text-align: left;
  vertical-align: top;
}

.school-table th {
  color: var(--school-green-dark);
  background: var(--school-green-soft);
}

.school-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .main-navigation {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    padding-bottom: 16px;
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .quick-grid,
  .info-grid,
  .stats-grid,
  .contact-grid,
  .news-grid,
  .news-grid--listing,
  .service-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-link:nth-child(2n) {
    border-right: 0;
  }

  .quick-link {
    border-bottom: 1px solid var(--school-border);
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .news-hero__inner,
  .news-layout,
  .school-profile {
    grid-template-columns: 1fr;
  }

  .school-facts {
    grid-template-columns: 1fr;
  }

  .primary-menu .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 4px 0 4px 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .news-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --school-container: min(100vw - 22px, 1180px);
  }

  .topbar__inner,
  .section-head,
  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__inner {
    padding: 8px 0;
  }

  .header-main {
    gap: 12px;
    min-height: 74px;
  }

  .site-title {
    font-size: 16px;
  }

  .site-description {
    display: none;
  }

  .hero__inner {
    min-height: 600px;
    padding: 58px 0 116px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: 43px;
  }

  .hero__actions,
  .site-search form {
    flex-direction: column;
  }

  .quick-panel {
    margin-top: -58px;
  }

  .quick-grid,
  .info-grid,
  .stats-grid,
  .contact-grid,
  .news-grid,
  .news-grid--listing,
  .service-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .quick-link {
    min-height: 118px;
    border-right: 0;
  }

  .section {
    padding: 58px 0;
  }

  .schedule-item,
  .document-card {
    grid-template-columns: 1fr;
  }

  .news-hero__inner,
  .service-hero {
    padding: 44px 0;
  }

  .news-layout,
  .service-grid {
    padding: 42px 0 64px;
  }

  .news-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
