:root {
  --blue: #0274be;
  --blue-dark: #006aa8;
  --text: #3a3a3a;
  --muted: #b9b9b9;
  --line: #d1d1d1;
  --page: #f4f4f4;
  --content-width: 1140px;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

.inherit-link {
  color: inherit;
}

.inherit-link:hover,
.inherit-link:focus-visible {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-140%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 74px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-name {
  color: #202020;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.site-name:hover,
.site-name:focus-visible {
  color: #202020;
}

.main-nav ul {
  display: flex;
  gap: 31px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #303030;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 221px;
  color: #fff;
  background: #a9d0f1 url("vandglas.jpg") center 43% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(45, 142, 219, 0.21);
}

.hero .container {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 221px;
  padding-bottom: 53px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.22);
}

.hero h1::after {
  display: block;
  width: 115px;
  height: 4px;
  margin-top: 10px;
  background: #fff;
  content: "";
}

.home-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  gap: 65px;
  padding-block: 24px 85px;
}

.section-title {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.news-item {
  margin-bottom: 22px;
}

.news-item h2,
.featured-news h2 {
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.news-item p,
.featured-news p {
  margin: 0;
}

.home-sidebar section {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.home-sidebar section + section {
  padding-top: 21px;
}

.phone-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.phone-line a {
  font-size: 18px;
  font-weight: 700;
}

.small-muted {
  color: var(--muted);
  font-size: 12px;
}

.event-heading {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 8px 0 8px;
}

.event-heading a {
  font-size: 18px;
  font-weight: 700;
}

.event-heading time {
  color: #c3c3c3;
  font-size: 12px;
}

.event-text {
  margin-bottom: 26px;
}

.page-section {
  padding-block: 36px 80px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px 55px;
}

.board-card:first-child {
  grid-column: 1 / -1;
}

.board-card p {
  margin: 0;
  line-height: 1.85;
}

.board-card strong {
  font-weight: 700;
}

.rate-block + .rate-block {
  margin-top: 45px;
}

.rate-block p {
  margin-bottom: 17px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 22px;
  border-radius: 2px;
  color: #fff;
  background: #8f989e;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: #3a3a3a;
}

.pdf-icon {
  width: 15px;
  height: 18px;
}

.alert-band {
  color: #fff;
  background: #0b7dbf;
}

.alert-band .container {
  padding-block: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.info-content {
  padding-block: 34px 80px;
}

.info-content .featured-news {
  padding-bottom: 33px;
  border-bottom: 1px solid var(--line);
}

.info-content .news-list {
  padding-top: 22px;
}

.post-page {
  min-height: calc(100vh - 74px);
  padding: 60px 0 85px;
  background: var(--page);
}

.post-card {
  min-height: 194px;
  padding: 46px 36px;
  background: #fff;
}

.post-card h1 {
  margin-bottom: 25px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}

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

.post-card .agenda {
  margin-block: 26px 29px;
}

.post-card .agenda p {
  margin-bottom: 0;
}

.post-image {
  width: 468px;
  margin-top: 27px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 36px 76px 0;
}

.post-nav .next {
  margin-left: auto;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.48);
}

.modal-backdrop[hidden] {
  display: none;
}

.notice-modal {
  position: relative;
  width: min(100%, 500px);
  padding: 26px 25px 25px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.32);
}

.notice-modal h2 {
  margin-bottom: 7px;
  font-size: 19px;
  font-weight: 700;
}

.notice-modal h3 {
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.4;
}

.notice-modal p {
  margin-bottom: 0;
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: #6c6c6c;
  background: transparent;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--blue);
}

.not-found {
  text-align: center;
}

.not-found h1 {
  color: var(--blue);
  font-size: clamp(72px, 15vw, 170px);
  font-weight: 700;
}

@media (max-width: 760px) {
  html {
    font-size: 13px;
  }

  .container {
    width: min(100% - 20px, var(--content-width));
  }

  .site-header {
    height: 63px;
  }

  .site-name {
    font-size: 20px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 63px;
    right: 0;
    left: 0;
    display: none;
    border-top: 1px solid #eee;
    background: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
  }

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

  .main-nav ul {
    display: block;
  }

  .main-nav li + li {
    border-top: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 12px 20px;
  }

  .hero,
  .hero .container {
    min-height: 221px;
  }

  .hero {
    background-position: center 43%;
  }

  .hero .container {
    padding-bottom: 58px;
  }

  .hero h1 {
    margin-left: 20px;
    font-size: 30px;
  }

  .hero h1::after {
    width: 115px;
  }

  .home-content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 24px 35px;
  }

  .section-title {
    font-size: 20px;
  }

  .news-item {
    margin-bottom: 23px;
  }

  .news-item h2,
  .featured-news h2,
  .event-heading a,
  .phone-line a {
    font-size: 17px;
  }

  .home-sidebar section + section {
    padding-top: 22px;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .board-card:first-child {
    grid-column: auto;
  }

  .page-section {
    padding-block: 28px 55px;
  }

  .alert-band .container {
    padding-block: 17px;
  }

  .post-page {
    min-height: calc(100vh - 63px);
    padding: 30px 0 55px;
  }

  .post-card {
    padding: 29px 20px;
  }

  .post-card h1 {
    font-size: 27px;
  }

  .post-nav {
    gap: 20px;
    padding: 26px 20px 0;
  }

  .notice-modal {
    padding: 24px 20px 22px;
  }
}

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