:root {
  --color-bg-gray: #fafafa;
  --color-bg-yellow: #fff4e9;
  --color-main-accent: #d61115;
  --color-main-black: #000000;
  --color-main-white: #ffffff;
  --color-black-100: #f4f4f4;
  --color-black-200: #e4e4e4;
  --color-black-300: #d0d0d0;
  --color-black-400: #949494;
  --color-black-500: #686868;
  --color-black-600: #464646;
  --color-black-700: #2f2f2f;
  --color-red-100: #ffebe5;
  --color-red-800: #950806;
  --color-gray-100: #eef1f6;
  --color-gray-200: #dee3ed;
  --color-gray-400: #9fb2d0;
  --color-serenade-100: #ffead4;
  --color-sepea-100: #fbf4df;
  --color-sepea-200: #f6e9c2;
  --color-sepea-800: #704214;
  --color-sepea-950: #371d05;
  --font-default: "Geologica", sans-serif;
  --font-primary: "EB Garamond", serif;
  --line-height-base: 1.5;
  --line-height-tight: 1.2;
  --text-base-size: 1.8rem;
  --text-h1-size: 8.8rem;
  --text-h2-size: 5.6rem;
  --text-h3-size: 4rem;
  --text-h4-size: 3.2rem;
  --text-h5-size: 2.4rem;
  --text-h6-size: 2rem;
}

/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.15; /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}

/*
Sections
========
*/
body {
  margin: 0; /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/
/**
Add the correct font weight in Chrome and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/
/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table {
  border-color: currentcolor;
}

/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

:focus,
:focus-visible {
  outline: none;
  box-shadow: none;
}

html {
  font-size: 10px;
  line-height: 1;
}
@media (min-width: 1024px) and (min-resolution: 1.25dppx) and (max-resolution: 1.99dppx) {
  html {
    font-size: 9.0909090909px;
  }
}

html,
body {
  height: 100%;
}

body {
  background: var(--color-bg-gray);
  color: var(--color-main-black);
  font-size: var(--text-base-size);
  font-family: var(--font-default);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  min-width: 320px;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}

a {
  transition: color 0.3s;
  color: var(--color-main-black);
  text-decoration: none;
}
@media (hover: hover) {
  a:hover {
    color: var(--color-main-accent);
  }
}

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

p {
  margin: 0;
}

button,
a,
input,
[role=button] {
  -webkit-tap-highlight-color: transparent;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
  min-height: 100dvh;
}

.backdrop--subscription {
  z-index: 75;
  background-color: rgba(0, 0, 0, 0.2);
}

.backdrop--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease-out, visibility 0s linear 0s;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 600;
}

h1,
.h1 {
  font-size: var(--text-h1-size);
}

h2,
.h2 {
  font-size: var(--text-h2-size);
}

h3,
.h3 {
  font-size: var(--text-h3-size);
}

h4,
.h4 {
  font-size: var(--text-h4-size);
}

h5,
.h5 {
  font-size: var(--text-h5-size);
}

h6,
.h6 {
  font-size: var(--text-h6-size);
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 144rem;
  padding-left: 8rem;
  padding-right: 8rem;
}
@media screen and (max-width: 1200px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media screen and (max-width: 992px) {
  .container {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }
}
@media screen and (max-width: 640px) {
  .container {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}
.container__narrow {
  max-width: 75.2rem;
}

.content-list {
  width: 100%;
  max-width: 75.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.content-list__item {
  padding-bottom: 3.2rem;
  border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 640px) {
  .content-list__item {
    padding-bottom: 2.4rem;
  }
}
.content-list__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.content-list__item + .content-list__item {
  padding-top: 3.2rem;
}
@media screen and (max-width: 640px) {
  .content-list__item + .content-list__item {
    padding-top: 2.4rem;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
}
.header--scrolled {
  background-color: var(--color-bg-gray);
  box-shadow: 0 0.1rem 1rem 0 rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
@media screen and (max-width: 640px) {
  .header__brand-logo {
    max-width: 13.8rem;
  }
}
.header--search-open {
  background-color: var(--color-bg-yellow);
  overflow-y: auto;
  max-height: 100vh;
}
.header--search-open .header__top {
  background-color: var(--color-bg-yellow);
  position: sticky;
  top: 0;
  z-index: 2;
}
.header__nav--hidden {
  display: none;
}
.header__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  padding: 1.2rem 0;
}
@media screen and (max-width: 992px) {
  .header__top {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
  }
}
.header__main {
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  max-height: 8.4rem;
  pointer-events: auto;
  will-change: transform, opacity;
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, border-color 0.3s ease, visibility 0s linear 0s;
}
@media screen and (max-width: 992px) {
  .header__main {
    display: none;
    overflow-y: auto;
    border-top: none;
  }
}
.header--menu-collapsed .header__main {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  border-top-color: transparent;
  transform: translate3d(0, -1.2rem, 0);
  pointer-events: none;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 1, 1), transform 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.3s ease, border-color 0.3s ease, visibility 0s linear 0.3s;
}
@media screen and (max-width: 992px) {
  .header--menu-collapsed .header__main {
    opacity: 1;
    visibility: visible;
    overflow: auto;
  }
}
.header__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 2rem;
}
@media screen and (max-width: 992px) {
  .header__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 0;
  }
}
@media screen and (max-width: 640px) {
  .header__list {
    grid-template-columns: 1fr;
  }
}
.header__link {
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  padding: 2rem 0;
}
@media screen and (max-width: 992px) {
  .header__link {
    font-family: var(--font-primary);
    padding: 2.4rem 0;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    font-weight: 600;
  }
}
.header__item {
  position: relative;
}
@media (hover: hover) {
  .header__item:hover [data-header-dropdown] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@media screen and (max-width: 992px) {
  .header__item {
    position: static;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
  }
  .header__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 23rem;
  box-shadow: 0 0 4rem 0 rgba(0, 0, 0, 0.05);
  background-color: var(--color-main-white);
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  list-style: none;
  padding: 2.4rem;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 0.6s, visibility 0.3s, transform 0.3s;
}
@media screen and (max-width: 992px) {
  .header__dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    box-shadow: none;
    min-width: auto;
    background-color: transparent;
    position: static;
    padding: 0 0 2.4rem;
    gap: 1.2rem;
  }
}
.header__dropdown-link {
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
@media screen and (max-width: 992px) {
  .header__dropdown-link {
    color: var(--color-black-500);
    font-weight: 300;
    line-height: 1.4;
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: normal;
  }
}
.header__search-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  transition: color 0.3s;
  color: var(--color-main-black);
}
@media (hover: hover) {
  .header__search-toggle:hover {
    color: var(--color-main-accent);
  }
}
.header__search-icon {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
}
@media screen and (max-width: 640px) {
  .header__search-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}
.header__search-icon[data-search-icon-hide] {
  display: none;
}
.header__search-toggle--active [data-search-icon-show] {
  display: none;
}
.header__search-toggle--active [data-search-icon-hide] {
  display: block;
}
.header__search {
  padding: 2rem 0;
  display: none;
  max-width: 75.2rem;
  margin: 0 auto;
}
.header__search--active {
  display: block;
}
.header__search-tags {
  padding: 0;
  margin: 1.2rem 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1.2rem 2.4rem;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--color-main-black);
  font-family: var(--font-primary);
}
@media screen and (max-width: 640px) {
  .header__search-tags {
    gap: 1.6rem;
    font-size: 1.4rem;
  }
}
.header__search-results {
  margin: 5.6rem 0;
}
@media screen and (max-width: 640px) {
  .header__search-results {
    margin: 3.6rem 0 5.6rem;
  }
}
.header__search-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.header__search-list-item {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
  border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 640px) {
  .header__search-list-item {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
}
.header__search-list-item:first-child {
  padding-top: 0;
}
.header__search-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page--open-menu .header__main {
  max-height: calc(100dvh - 5.5rem);
  pointer-events: auto;
  display: block;
}
.page--open-menu .header:not(.header--scrolled) {
  background-color: var(--color-bg-yellow);
}

.page--light .header__main {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.page--light .header__top {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.page--light .header__link {
  color: var(--color-main-white);
}
@media (hover: hover) {
  .page--light .header__link:hover {
    color: var(--color-main-accent);
  }
}
.page--light .header__dropdown-link {
  color: var(--color-main-black);
}
@media (hover: hover) {
  .page--light .header__dropdown-link:hover {
    color: var(--color-main-accent);
  }
}
.page--light .header__search-toggle {
  color: var(--color-main-white);
}
.page--light .header--scrolled .header__main, .page--light .header--search-open .header__main {
  border-top-color: rgba(0, 0, 0, 0.1);
}
.page--light .header--scrolled .header__link, .page--light .header--search-open .header__link {
  color: var(--color-main-black);
}
@media (hover: hover) {
  .page--light .header--scrolled .header__link:hover, .page--light .header--search-open .header__link:hover {
    color: var(--color-main-accent);
  }
}
.page--light .header--scrolled .header__search-toggle, .page--light .header--search-open .header__search-toggle {
  color: var(--color-main-black);
}
@media (hover: hover) {
  .page--light .header--scrolled .header__search-toggle:hover, .page--light .header--search-open .header__search-toggle:hover {
    color: var(--color-main-accent);
  }
}
.page--light .header--scrolled .burger__line, .page--light .header--search-open .burger__line {
  background-color: var(--color-main-black);
}
.page--light.page--open-menu .header__main {
  border-top-color: rgba(0, 0, 0, 0.1);
}
.page--light.page--open-menu .header__top {
  border-bottom-color: rgba(0, 0, 0, 0.2);
}
.page--light.page--open-menu .header__link {
  color: var(--color-main-black);
}
@media (hover: hover) {
  .page--light.page--open-menu .header__link:hover {
    color: var(--color-main-accent);
  }
}
.page--light.page--open-menu .header__search-toggle {
  color: var(--color-main-black);
}
@media (hover: hover) {
  .page--light.page--open-menu .header__search-toggle:hover {
    color: var(--color-main-accent);
  }
}
.page--light.page--open-menu .header__top {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--color-bg-yellow);
}
.page--light.page--open-menu .header--scrolled .header__top {
  background-color: var(--color-main-white);
}
.page--light.page--open-menu .burger__line {
  background-color: var(--color-main-black);
}
.page--light .burger__line {
  background-color: var(--color-main-white);
}

.global-search__input {
  color: var(--color-main-black);
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  border: none;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 400;
  font-family: var(--font-primary);
  -webkit-appearance: none;
  appearance: none;
  padding-right: 3.6rem;
}
@media screen and (max-width: 640px) {
  .global-search__input {
    font-size: 2.4rem;
  }
}
.global-search__input::placeholder {
  color: var(--color-black-500);
  transition: opacity 0.3s;
}
.global-search__input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
.global-search__input:focus::placeholder {
  opacity: 0;
}
.global-search__clear {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(var(--clear-offset, 0));
  border: none;
  background: transparent;
  color: var(--color-black-400);
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  margin: 1.6rem 0 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, color 0.3s;
}
@media screen and (max-width: 640px) {
  .global-search__clear {
    margin-top: 1rem;
  }
}
.global-search__clear-icon {
  width: 100%;
  height: 100%;
  display: block;
}
.global-search__clear--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.global-search__field {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 0.1rem solid rgb(0, 0, 0);
  padding-bottom: 2rem;
  position: relative;
}
@media screen and (max-width: 640px) {
  .global-search__field {
    padding-bottom: 1rem;
  }
}
.global-search__field--not-found {
  border-bottom-color: var(--color-main-accent);
}
.global-search__empty {
  margin: 1.2rem 0 0;
  font-size: 1.8rem;
  line-height: 1.3;
  font-family: var(--font-primary);
  color: var(--color-main-accent);
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .global-search__empty {
    font-size: 1.4rem;
  }
}
.global-search__submit {
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--color-main-black);
  display: flex;
  align-items: center;
}
@media (hover: hover) {
  .global-search__submit:hover {
    color: var(--color-main-accent);
  }
}
.global-search__submit-icon {
  width: 3.2rem;
  height: 3.2rem;
}
@media screen and (max-width: 640px) {
  .global-search__submit-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}

.burger {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.3rem;
  position: relative;
  flex-shrink: 0;
  visibility: hidden;
  opacity: 0;
}
@media screen and (max-width: 992px) {
  .burger {
    visibility: visible;
    opacity: 1;
  }
}
.burger__line {
  display: block;
  height: 0.1rem;
  background-color: var(--color-main-black);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.burger__line:nth-child(1) {
  width: 1.8rem;
}
.burger__line:nth-child(2) {
  width: 1.4rem;
}
.burger__line:nth-child(3) {
  width: 1rem;
}
.burger--active {
  justify-content: center;
}
.burger--active .burger__line {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  width: 1.8rem;
}
.burger--active .burger__line:nth-child(1) {
  transform: rotate(45deg);
}
.burger--active .burger__line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger--active .burger__line:nth-child(3) {
  transform: rotate(-45deg);
}

@media screen and (max-width: 992px) {
  .page:not(.page--open-menu) .header.header--scrolled .header__top {
    border-bottom: none;
  }
}
.footer {
  background-color: var(--color-main-black);
  color: var(--color-black-400);
}
.footer__top {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
@media screen and (max-width: 640px) {
  .footer__top {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
.footer__top-right {
  justify-self: end;
}
.footer__logo {
  display: block;
  max-width: 18.4rem;
}
@media screen and (max-width: 640px) {
  .footer__logo {
    max-width: 13.8rem;
  }
}
.footer__title {
  display: block;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-main-white);
  margin-bottom: 2rem;
}
.footer__body {
  border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
  padding: 3.2rem 0;
}
@media screen and (max-width: 640px) {
  .footer__body {
    padding: 2.4rem 0;
  }
}
.footer__bottom {
  border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  padding-bottom: 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 640px) {
  .footer__bottom {
    padding: 2.4rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
  }
}
.footer__copyright {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2.85fr;
  gap: 4.8rem;
}
@media screen and (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__grid .footer__cell {
    margin-top: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
  }
  .footer__grid .footer__cell:first-child {
    margin-top: 0;
  }
  .footer__grid .footer__cell:last-child {
    border: none;
    padding-bottom: 0;
  }
}

.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 1.2rem;
}
@media screen and (max-width: 640px) {
  .footer-menu {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-menu__link {
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--color-black-400);
}

.footer-legal {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 3.2rem;
}
@media screen and (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    gap: 2.4rem;
  }
}
.footer-legal__link {
  text-transform: uppercase;
  color: var(--color-black-400);
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  line-height: 1;
  vertical-align: middle;
}

.footer-contacts {
  color: var(--color-black-400);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.4;
  max-width: 42rem;
  margin-left: auto;
}
@media screen and (max-width: 640px) {
  .footer-contacts {
    max-width: none;
  }
}
.footer-contacts__address {
  font-style: normal;
  margin-bottom: 1.2rem;
}
.footer-contacts__line + .footer-contacts__line {
  margin-top: 1.2rem;
}
.footer-contacts__link {
  color: var(--color-black-400);
}
.footer-contacts__socials {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}
.footer-contacts__social-link {
  color: var(--color-main-white);
}
.footer-contacts__social-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}

.mode-inclusive {
  padding: 0;
  margin: 0 0 0 auto;
  cursor: pointer;
  border: none;
  background-color: transparent;
  color: var(--color-main-white);
  width: 3.2rem;
  height: 3.2rem;
  transition: color 0.3s;
}
.mode-inclusive__icon {
  width: 3.2rem;
  height: 3.2rem;
}
@media (hover: hover) {
  .mode-inclusive:hover {
    color: var(--color-main-accent);
  }
}

.card-primary {
  background-color: var(--color-main-black);
  color: var(--color-main-white);
  border-radius: 0.4rem;
  display: block;
  padding: 2.4rem;
}
@media screen and (max-width: 992px) {
  .card-primary {
    min-width: 28.8rem;
    padding: 2rem;
  }
}
.card-primary__title {
  display: block;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.1;
  font-family: var(--font-primary);
  transition: color 0.3s;
}
@media screen and (max-width: 640px) {
  .card-primary__title {
    font-size: 2rem;
  }
}
.card-primary__media {
  overflow: hidden;
}
.card-primary__image {
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.card-primary__description {
  margin-top: 0.4rem;
  font-size: 1.8rem;
  line-height: 1.3;
  font-style: italic;
  font-family: var(--font-primary);
}
@media screen and (max-width: 640px) {
  .card-primary__description {
    margin-top: 0.8rem;
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.card-primary__description p {
  margin: 0;
}
.card-primary__footer {
  margin-top: 1.4rem;
}
@media screen and (max-width: 640px) {
  .card-primary__footer {
    margin-top: 2.4rem;
  }
}
.card-primary__link {
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
@media (hover: hover) {
  .card-primary:hover {
    color: var(--color-main-white);
  }
  .card-primary:hover .card-primary__image {
    transform: scale(1.05);
  }
  .card-primary:hover .card-primary__title,
  .card-primary:hover .card-primary__link {
    color: var(--color-main-accent);
  }
}

.editorial-grid {
  --gap: 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;
}
@media screen and (max-width: 992px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    row-gap: 6.4rem;
  }
}
@media screen and (max-width: 992px) {
  .editorial-grid--list {
    row-gap: 4.8rem;
  }
  .editorial-grid--list .editorial-grid__aside {
    position: relative;
  }
  .editorial-grid--list .editorial-grid__aside::before {
    content: "";
    position: absolute;
    inset: -2.4rem 0 auto;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
    display: block;
    border-left: none;
  }
}
.editorial-grid__main {
  grid-column: 1/span 2;
  min-width: 0;
}
@media screen and (max-width: 992px) {
  .editorial-grid__main {
    grid-column: 1;
  }
}
.editorial-grid__aside {
  grid-column: 3;
  min-width: 0;
  height: 100%;
}
@media screen and (max-width: 992px) {
  .editorial-grid__aside {
    grid-column: 1;
  }
}
.editorial-grid__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;
  width: 100%;
  min-width: 0;
}
@media screen and (max-width: 992px) {
  .editorial-grid__columns {
    grid-template-columns: 1fr;
    row-gap: 4.8rem;
    position: relative;
  }
}
.editorial-grid__column {
  min-width: 0;
}
@media screen and (max-width: 992px) {
  .editorial-grid__column {
    position: relative;
  }
  .editorial-grid__column::before {
    content: "";
    position: absolute;
    bottom: -2.4rem;
    left: 0;
    right: 0;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
    display: block;
    border-left: none;
  }
  .editorial-grid__column:last-child::before {
    display: none;
  }
}
.editorial-grid__column--border {
  position: relative;
  height: 100%;
}
.editorial-grid__column--border::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2rem;
  border-left: 0.1rem dashed rgba(0, 0, 0, 0.1);
}

.post-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 4.8rem;
}
.post-list--offset {
  margin-bottom: 4.8rem;
}
@media screen and (max-width: 992px) {
  .post-list__item {
    position: relative;
  }
  .post-list__item::before {
    content: "";
    position: absolute;
    bottom: -2.4rem;
    left: 0;
    right: 0;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
    display: block;
  }
  .post-list__item:last-child::before {
    display: none;
  }
}

.team-grid {
  display: grid;
  gap: 4.8rem 4rem;
}
.team-grid__item {
  min-width: 0;
}
.team-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media screen and (max-width: 1200px) {
  .team-grid--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
  }
}
@media screen and (max-width: 768px) {
  .team-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }
}
@media screen and (max-width: 640px) {
  .team-grid--cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cards-grid {
  --cols: 3;
  --gap-x: 4.8rem;
  --gap-y: 4.8rem;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap-y) var(--gap-x);
  grid-auto-flow: row;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards-grid__item {
  min-width: 0;
  height: 100%;
  position: relative;
}
.cards-grid__item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2.4rem;
  border-left: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
.cards-grid__item:first-child::before {
  display: none;
}
@media screen and (max-width: 640px) {
  .cards-grid__item::before {
    inset: -2.4rem 0 auto;
    border-left: none;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
  }
}
.cards-grid .post-list__item {
  position: relative;
}
.cards-grid .post-list__item::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
.cards-grid .post-list__item:last-child::before {
  display: none;
}
.cards-grid--cols-3 {
  --cols: 3;
}
@media screen and (max-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 640px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.content-default {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: var(--font-primary);
  color: var(--color-main-black);
}
@media screen and (max-width: 640px) {
  .content-default {
    font-size: 1.6rem;
  }
}
.content-default__lead {
  font-size: 2.4rem;
  font-style: italic;
  padding-bottom: 3.2rem;
  margin-bottom: 3.2rem;
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 640px) {
  .content-default__lead {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
    padding-bottom: 2.4rem;
  }
}
.content-default p + p {
  margin: 2rem 0 0;
}
.content-default h1,
.content-default h2,
.content-default h3,
.content-default h4,
.content-default h5,
.content-default h6 {
  font-family: var(--font-primary);
  color: var(--color-main-black);
  letter-spacing: normal;
  text-wrap: balance;
}
.content-default h1 {
  font-size: 5.6rem;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 2.4rem;
}
@media screen and (max-width: 640px) {
  .content-default h1 {
    font-size: 3.2rem;
    margin-bottom: 1.6rem;
  }
}
.content-default h2 {
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 2rem;
}
@media screen and (max-width: 640px) {
  .content-default h2 {
    font-size: 3rem;
    margin-bottom: 1.6rem;
  }
}
.content-default h3 {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
@media screen and (max-width: 640px) {
  .content-default h3 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
  }
}
.content-default h4 {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
@media screen and (max-width: 640px) {
  .content-default h4 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
  }
}
.content-default h5 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
@media screen and (max-width: 640px) {
  .content-default h5 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}
.content-default h6 {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 640px) {
  .content-default h6 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}
.content-default > :first-child {
  margin-top: 0;
}
.content-default > * + h1 {
  margin-top: 7.2rem;
}
@media screen and (max-width: 640px) {
  .content-default > * + h1 {
    margin-top: 4.8rem;
  }
}
.content-default > * + h2 {
  margin-top: 6.4rem;
}
@media screen and (max-width: 640px) {
  .content-default > * + h2 {
    margin-top: 4rem;
  }
}
.content-default > * + h3 {
  margin-top: 5.6rem;
}
@media screen and (max-width: 640px) {
  .content-default > * + h3 {
    margin-top: 3.6rem;
  }
}
.content-default > * + h4 {
  margin-top: 4.8rem;
}
@media screen and (max-width: 640px) {
  .content-default > * + h4 {
    margin-top: 3.2rem;
  }
}
.content-default > * + h5,
.content-default > * + h6 {
  margin-top: 4rem;
}
@media screen and (max-width: 640px) {
  .content-default > * + h5,
  .content-default > * + h6 {
    margin-top: 2.8rem;
  }
}
.content-default a {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .content-default a:hover {
    color: var(--color-red-800);
  }
}
.content-default ol {
  padding-left: 3.6rem;
}
.content-default ol,
.content-default ul,
.content-default blockquote {
  margin-top: 2.4rem;
}
.content-default li + li {
  margin-top: 2rem;
}
.content-default ul {
  list-style-type: square;
  padding-left: 2rem;
}
.content-default ul li {
  padding-left: 0.4rem;
}

.book-strip {
  --book-w: 27.4rem;
  --book-h: 37.2rem;
  --overlap: 0px;
  --hover-x: -1.2rem;
  --hover-y: 0;
  --hover-duration: 0.32s;
}
@media screen and (max-width: 640px) {
  .book-strip {
    display: none;
  }
}
.book-strip__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  width: 100%;
}
.book-strip__item {
  position: relative;
  flex: 0 0 var(--book-w);
  height: var(--book-h);
  z-index: 1;
  transition: transform var(--hover-duration) ease;
}
.book-strip__item + .book-strip__item {
  margin-inline-start: calc(var(--overlap) * -1);
}
@media (hover: hover) {
  .book-strip__item:not(:last-child):hover {
    transform: translate(var(--hover-x), var(--hover-y));
  }
}
.book-strip__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: filter var(--hover-duration) ease;
}
.book-strip__link {
  display: block;
  width: var(--book-w);
  height: var(--book-h);
}

.content-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.content-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.content-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  background: var(--color-main-white);
}
.content-modal__close {
  position: absolute;
  top: 3.2rem;
  right: 3.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--color-black-100);
  cursor: pointer;
  border: none;
  transition: background-color 0.3s, color 0.3s;
}
@media screen and (max-width: 640px) {
  .content-modal__close {
    width: 4rem;
    height: 4rem;
    top: 1.6rem;
    right: 1.6rem;
  }
}
@media (hover: hover) {
  .content-modal__close:hover {
    color: var(--color-main-accent);
  }
}
.content-modal__close-icon {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
}
@media screen and (max-width: 640px) {
  .content-modal__close-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}
.content-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1.6rem;
}
.content-modal__inner {
  max-width: 75.2rem;
  margin: 0 auto;
  padding: 10.4rem 0;
}
@media screen and (max-width: 640px) {
  .content-modal__inner {
    padding: 6.4rem 0;
  }
}

.content-section__header {
  margin-bottom: 3.2rem;
}
.content-section__title, .content-section__heading {
  font-size: 5.6rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-main-accent);
}
@media screen and (max-width: 640px) {
  .content-section__title, .content-section__heading {
    font-size: 3.2rem;
  }
}

.subscribe-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(1.4rem);
  background: var(--color-main-black);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out, visibility 0s linear 0.35s;
}
.subscribe-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out, visibility 0s linear 0s;
}
.subscribe-modal__panel {
  color: var(--color-main-white);
  padding: 4rem 0 4.8rem;
}
@media screen and (max-width: 768px) {
  .subscribe-modal__panel {
    padding: 1.6rem 0 2.4rem;
  }
}
.subscribe-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-black-500);
}
@media screen and (max-width: 768px) {
  .subscribe-modal__close {
    right: 0;
  }
}
.subscribe-modal__close svg {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}
@media (hover: hover) {
  .subscribe-modal__close:hover {
    color: var(--color-main-white);
  }
}
.subscribe-modal__main {
  max-width: 48.8rem;
}
@media screen and (max-width: 768px) {
  .subscribe-modal__main {
    max-width: none;
  }
}
.subscribe-modal__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .subscribe-modal__content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
.subscribe-modal__content--success {
  grid-template-columns: 1fr;
  justify-items: center;
}
.subscribe-modal__default-view {
  display: contents;
}
.subscribe-modal__content--success .subscribe-modal__default-view {
  display: none;
}
.subscribe-modal__success {
  display: none;
  margin: 0;
  max-width: 32rem;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  line-height: 1.2;
  text-align: center;
  color: var(--color-main-white);
  grid-column: 1/-1;
}
@media screen and (max-width: 768px) {
  .subscribe-modal__success {
    font-size: 2.2rem;
    padding-right: 4.8rem;
    padding-left: 4.8rem;
  }
}
.subscribe-modal__content--success .subscribe-modal__success {
  display: block;
}
.subscribe-modal__title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  line-height: 1.1;
}
@media screen and (max-width: 768px) {
  .subscribe-modal__title {
    font-size: 2.2rem;
    padding-right: 4.8rem;
  }
}
.subscribe-modal__form {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 2.4rem;
  row-gap: 1.2rem;
  align-items: end;
  border-bottom: 0.1rem solid rgb(255, 255, 255);
  transition: border-color 0.2s ease;
}
.subscribe-modal__form--error {
  border-bottom-color: var(--color-red-800);
}
.subscribe-modal__form--error .subscribe-modal__submit {
  color: var(--color-red-800);
}
@media (hover: hover) {
  .subscribe-modal__form--error .subscribe-modal__submit:hover {
    color: var(--color-red-800);
  }
}
.subscribe-modal__field {
  display: block;
}
.subscribe-modal__input {
  width: 100%;
  background: transparent;
  border: none;
  margin: 0;
  outline: none;
  color: var(--color-main-white);
  font-size: 1.4rem;
  line-height: 1.2;
}
.subscribe-modal__input::placeholder {
  color: var(--color-black-500);
  transition: opacity 0.3s;
}
.subscribe-modal__input:focus::placeholder {
  opacity: 0;
}
.subscribe-modal__submit {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-main-white);
  transition: color 0.3s;
  justify-self: end;
}
@media (hover: hover) {
  .subscribe-modal__submit:hover {
    color: var(--color-main-accent);
  }
}
.subscribe-modal__note {
  margin: 1.2rem 0 0 0;
  font-size: 1.6rem;
  line-height: 1.2;
  font-style: italic;
  font-family: var(--font-primary);
}
.subscribe-modal__note a {
  color: var(--color-gray-400);
}
@media (hover: hover) {
  .subscribe-modal__note a:hover {
    color: var(--color-main-accent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .subscribe-modal {
    transform: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .subscribe-modal--open {
    transform: none;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
  }
}

.video-module {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  position: relative;
  z-index: 1;
  cursor: pointer;
  text-align: inherit;
}
@media (hover: hover) {
  .video-module:hover:before {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .video-module:hover .video-module__play {
    background-color: var(--color-main-accent);
    color: var(--color-main-white);
  }
}
.video-module:focus {
  outline: none;
}
.video-module:before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.6s;
}
.video-module__image {
  width: 100%;
  display: block;
  height: auto;
}
.video-module__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background-color: var(--color-main-white);
  border-radius: 4.8rem;
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-black-600);
  transition: background-color 0.3s, color 0.3s;
}
.video-module__play-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.8rem 1.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.video-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.video-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 110rem;
  margin: 0 auto;
}
.video-modal__close {
  position: absolute;
  top: -5.6rem;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  color: var(--color-main-black);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
@media screen and (max-width: 640px) {
  .video-modal__close {
    width: 3.6rem;
    height: 3.6rem;
  }
}
.video-modal__close-icon {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
}
.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.4rem;
  background: var(--color-main-black);
}
.video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.section {
  margin: 10.4rem 0;
}
@media screen and (max-width: 640px) {
  .section {
    margin: 6.4rem 0;
  }
}
.section__title {
  font-size: 8.8rem;
  line-height: 1;
  text-align: center;
  color: var(--color-main-black);
  font-family: var(--font-primary);
  font-weight: 400;
  margin: 0 0 10.4rem;
}
@media screen and (max-width: 640px) {
  .section__title {
    font-size: 4.8rem;
    margin-bottom: 6.4rem;
  }
}

.section-header {
  padding-top: 1.6rem;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  margin-bottom: 5.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .section-header {
    margin-bottom: 4rem;
  }
}
.section-header--left {
  align-items: flex-start;
  text-align: left;
}
@media screen and (max-width: 640px) {
  .section-header--left {
    align-items: center;
  }
}
.section-header--center {
  align-items: center;
  text-align: center;
}
.section-header--right {
  align-items: flex-end;
  text-align: right;
}
.section-header__title {
  display: block;
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 2.8rem;
  line-height: 1.1;
  text-align: inherit;
}
@media screen and (max-width: 640px) {
  .section-header__title {
    font-size: 2.2rem;
    text-align: center;
  }
}
.section-header__description {
  width: 100%;
  font-size: 1.8rem;
  line-height: 1.3;
  text-align: inherit;
  font-style: italic;
  font-family: var(--font-primary);
}
@media screen and (max-width: 640px) {
  .section-header__description {
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.section-header__description p {
  margin: 0;
}
.section-header__description a {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .section-header__description a:hover {
    color: var(--color-red-800);
  }
}
.section-header__description button.section-header__more {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-style: italic;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .section-header__description button.section-header__more:hover {
    color: var(--color-red-800);
  }
}
.section-header__description--medium {
  max-width: 56rem;
}

.section-hero {
  background-color: var(--color-bg-yellow);
  padding-top: 11.2rem;
  padding-bottom: 18rem;
  margin: 0;
}
@media screen and (max-width: 640px) {
  .section-hero {
    padding-top: 9rem;
    padding-bottom: 10.4rem;
  }
}
.section-hero__media {
  margin: 15rem -8rem 8rem;
  aspect-ratio: 1482/248;
  background: url("/assets/images/elements/nii-iat.svg") 50% 50% no-repeat;
  background-size: contain;
  position: relative;
}
@media screen and (max-width: 992px) {
  .section-hero__media {
    margin-left: -4rem;
    margin-right: -4rem;
  }
}
@media screen and (max-width: 640px) {
  .section-hero__media {
    background: none;
    aspect-ratio: inherit;
    margin: 0 0 3.2rem;
  }
}
.section-hero__cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  width: 35%;
  aspect-ratio: 508/333;
}
@media screen and (max-width: 640px) {
  .section-hero__cover {
    position: static;
    transform: none;
    width: auto;
  }
}
.section-hero__image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: opacity;
}
.section-hero__image--loaded {
  opacity: 1;
}
.section-hero__body {
  text-align: center;
  color: var(--color-main-black);
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-primary);
}
.section-hero__title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 400;
}
@media screen and (max-width: 640px) {
  .section-hero__title {
    font-size: 2.8rem;
  }
}
.section-hero__content {
  margin-top: 1.6rem;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
}
.section-hero__content p {
  margin: 0;
}

.section-directions {
  margin: -10rem 0 10rem;
}
@media screen and (max-width: 992px) {
  .section-directions {
    margin: -6.4rem 0 6.4rem;
  }
}
.section-directions__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}
@media screen and (max-width: 992px) {
  .section-directions__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding: 0 1.6rem;
    margin: 0 -1.6rem;
  }
  .section-directions__list::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}

.section-activities__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-activities__item {
  min-width: 0;
}
.section-activities .book-rack {
  display: none;
}
@media screen and (max-width: 768px) {
  .section-activities .book-rack {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .section-activities .book-strip {
    display: none;
  }
}

@media (width <= 1200px) {
  .section-activities__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (width <= 900px) {
  .section-activities__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width <= 640px) {
  .section-activities__list {
    grid-template-columns: 1fr;
  }
}
.section-media-facts .post-list {
  gap: 4rem;
}

.section-intro {
  background-color: var(--color-main-black);
  color: var(--color-main-white);
  margin: 0;
  padding-top: 10.4rem;
  overflow-x: hidden;
}
@media screen and (max-width: 640px) {
  .section-intro {
    padding-top: 6.4rem;
  }
}
.section-intro--media {
  background: var(--color-main-black) url("/assets/images/sections/intro/media.jpg") 50% 50% no-repeat;
  background-size: cover;
}
.section-intro--events {
  background: var(--color-main-black) url("/assets/images/sections/intro/events.jpg") 50% 50% no-repeat;
  background-size: cover;
}
.section-intro--decorated {
  position: relative;
}
.section-intro--decorated:before {
  content: "";
  position: absolute;
  inset: 0;
  top: 40%;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}
.section-intro--decorated .section-intro__hero-body {
  position: relative;
  z-index: 2;
  padding: 3.5rem;
  min-height: 40rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
}
@media screen and (max-width: 640px) {
  .section-intro--decorated .section-intro__hero-body {
    min-height: 20rem;
  }
}
.section-intro--decorated .section-intro__title {
  margin: 0;
}
.section-intro__title {
  font-family: var(--font-primary);
  font-size: 8.8rem;
  line-height: 0.8;
  font-weight: 400;
  margin: 0 0 3.2rem;
}
@media screen and (max-width: 640px) {
  .section-intro__title {
    font-size: 4.8rem;
    letter-spacing: normal;
    margin-bottom: 2rem;
  }
}
.section-intro__subtitle {
  margin: 0 0 0.8rem;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  line-height: 1.3;
  font-style: italic;
  color: var(--color-black-300);
}
.section-intro__middle {
  text-align: center;
  padding: 8rem 0;
}
@media screen and (max-width: 640px) {
  .section-intro__middle {
    padding: 4rem 0;
  }
}
.section-intro__hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  padding: 3.5rem 0;
}
@media screen and (max-width: 992px) {
  .section-intro__hero-grid {
    grid-template-columns: 1fr;
    padding: 4rem 0;
  }
}
.section-intro__hero-grid .section-intro__hero-body {
  max-width: 62rem;
}
.section-intro__hero-title {
  font-family: var(--font-primary);
  font-size: 5.6rem;
  line-height: 1;
  font-weight: 400;
  color: var(--color-main-white);
  margin: 0;
}
@media screen and (max-width: 640px) {
  .section-intro__hero-title {
    font-size: 4.8rem;
  }
}
.section-intro__hero-description {
  color: var(--color-main-white);
  font-family: var(--font-primary);
  font-size: 2rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .section-intro__hero-description {
    font-size: 1.6rem;
  }
}
.section-intro__hero-description p {
  margin: 0;
}
@media screen and (max-width: 640px) {
  .section-intro__hero-media {
    display: none;
  }
}
.section-intro__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
}
.section-intro__tabs {
  padding: 3.2rem 0;
  background-color: var(--color-main-black);
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 640px) {
  .section-intro__tabs {
    padding: 2.4rem 0;
  }
}

.intro-tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width: 992px) {
  .intro-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: -4rem;
    margin-right: -4rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .intro-tabs::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}
@media screen and (max-width: 640px) {
  .intro-tabs {
    gap: 0.8rem;
    margin-left: -1.6rem;
    margin-right: -1.6rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}
.intro-tabs__link {
  min-height: 3.1rem;
  padding: 0.1rem 1.6rem 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--color-main-white);
  border: 0.1rem solid transparent;
  border-radius: 10rem;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
@media screen and (max-width: 640px) {
  .intro-tabs__link {
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.intro-tabs__link--active {
  color: var(--color-main-accent);
  border-color: var(--color-main-accent);
}
@media (hover: hover) {
  .intro-tabs__link:hover {
    color: var(--color-main-white);
    border-color: var(--color-black-600);
  }
}

.intro-tabs-floating {
  position: fixed;
  left: 50%;
  bottom: 2.4rem;
  z-index: 30;
  display: flex;
  justify-content: center;
  width: min(100% - 16rem, 128rem);
  transform: translate3d(-50%, 1.6rem, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  border-radius: 10rem;
}
@media screen and (max-width: 1200px) {
  .intro-tabs-floating {
    width: calc(100% - 8rem);
  }
}
@media screen and (max-width: 992px) {
  .intro-tabs-floating {
    width: calc(100% - 4.8rem);
  }
}
@media screen and (max-width: 640px) {
  .intro-tabs-floating {
    width: calc(100% - 3.2rem);
    bottom: 0.8rem;
    transform: translate3d(-50%, 1rem, 0);
  }
}
.intro-tabs-floating--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}
.intro-tabs-floating__inner {
  width: fit-content;
  max-width: 100%;
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
  border-radius: 10rem;
  background: rgba(250, 250, 250, 0.6);
  backdrop-filter: blur(0.4rem);
}
@media screen and (max-width: 640px) {
  .intro-tabs-floating__inner {
    border-radius: 2.4rem;
  }
}
.intro-tabs-floating .intro-tabs {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 2rem;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  padding: 1.6rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
.intro-tabs-floating .intro-tabs::-webkit-scrollbar {
  display: none;
}
@media screen and (max-width: 992px) {
  .intro-tabs-floating .intro-tabs {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}
@media screen and (max-width: 640px) {
  .intro-tabs-floating .intro-tabs {
    gap: 1.2rem;
    padding: 0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}
.intro-tabs-floating .intro-tabs__link {
  min-height: 3.1rem;
  padding: 0.25rem 1.6rem;
  color: var(--color-black-700);
  border-color: transparent;
}
.intro-tabs-floating .intro-tabs__link--active {
  color: var(--color-main-accent);
  border-color: rgba(214, 17, 21, 0.7);
  background-color: rgba(214, 17, 21, 0.04);
}
@media (hover: hover) {
  .intro-tabs-floating .intro-tabs__link:hover {
    color: var(--color-black-700);
    border-color: rgba(47, 47, 47, 0.16);
    background-color: rgba(0, 0, 0, 0.02);
  }
}

.section-employees {
  padding-top: 10.4rem;
}
@media screen and (max-width: 992px) {
  .section-employees {
    padding-top: 6.4rem;
  }
}

.section-teachers {
  padding-top: 10.4rem;
}
@media screen and (max-width: 992px) {
  .section-teachers {
    padding-top: 6.4rem;
  }
}
.section-teachers__list {
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-teachers__item {
  min-width: 0;
}

.section-administration {
  padding-top: 10.4rem;
}
@media screen and (max-width: 992px) {
  .section-administration {
    padding-top: 6.4rem;
  }
}
.section-administration__feature {
  margin-bottom: 10.4rem;
}
@media screen and (max-width: 640px) {
  .section-administration__feature {
    margin-bottom: 6.4rem;
  }
}

.section-about__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 5.6rem;
  margin-bottom: 8rem;
}
@media screen and (max-width: 992px) {
  .section-about__hero {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 640px) {
  .section-about__hero {
    margin-bottom: 6.4rem;
  }
}
.section-about__nav {
  margin-bottom: 10.4rem;
}
@media screen and (max-width: 640px) {
  .section-about__nav {
    margin-bottom: 6.4rem;
  }
}
.section-about__body {
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  padding-top: 5.6rem;
}
@media screen and (max-width: 640px) {
  .section-about__body {
    padding-top: 3.6rem;
  }
}
.section-about__narrow {
  max-width: 75.2rem;
}
.section-about__content {
  margin-bottom: 8.8rem;
}
@media screen and (max-width: 640px) {
  .section-about__content {
    margin-bottom: 6.4rem;
  }
}
.section-about__title {
  font-family: var(--font-primary);
  font-size: 8.8rem;
  line-height: 0.8;
  font-weight: 400;
  color: var(--color-main-black);
  margin: 0 0 4rem;
}
@media screen and (max-width: 640px) {
  .section-about__title {
    font-size: 5.6rem;
    margin-bottom: 2rem;
  }
}
.section-about__description {
  font-family: var(--font-primary);
  font-size: 2rem;
  line-height: 1.3;
  color: var(--color-main-black);
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .section-about__description {
    font-size: 1.8rem;
    line-height: 1.2;
  }
}
.section-about__description p {
  margin: 0;
}
.section-about__description p + p {
  margin-top: 2rem;
}
@media screen and (max-width: 640px) {
  .section-about__description p + p {
    margin-top: 1.2rem;
  }
}
.section-about__hero-media {
  display: flex;
  align-items: center;
}
.section-about__hero-image {
  display: block;
  width: 100%;
  height: auto;
}
.section-about__nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4rem;
}
@media screen and (max-width: 640px) {
  .section-about__nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}
.section-about__nav-item {
  position: relative;
  height: 100%;
}
.section-about__nav-item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2rem;
  border-left: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
.section-about__nav-item:first-child:before {
  display: none;
}

.section-contacts {
  margin-bottom: 0;
  padding: 10.4rem 0;
  background-image: url("/assets/images/contacts/background.jpg");
  background-repeat: no-repeat;
  background-position: 100% 100%;
}
@media screen and (max-width: 992px) {
  .section-contacts {
    padding-top: 6.4rem;
    background-size: contain;
  }
}
@media screen and (max-width: 640px) {
  .section-contacts {
    padding-bottom: 10.4rem;
  }
}
.section-contacts .section__title {
  margin-bottom: 5.6rem;
}
.section-contacts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-contacts__item + .section-contacts__item {
  margin-top: 4.8rem;
}
@media screen and (max-width: 640px) {
  .section-contacts__item + .section-contacts__item {
    margin-top: 3.2rem;
  }
}
.section-contacts__label {
  margin: 0 0 0.8rem;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black-500);
}
@media screen and (max-width: 640px) {
  .section-contacts__label {
    font-size: 2.2rem;
  }
}
.section-contacts__address {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  font-style: normal;
  max-width: 44rem;
}
@media screen and (max-width: 640px) {
  .section-contacts__address {
    font-size: 2.4rem;
  }
}
.section-contacts__link {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  line-height: 1;
}
@media screen and (max-width: 640px) {
  .section-contacts__link {
    font-size: 2.4rem;
  }
}
.section-contacts__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 640px) {
  .section-contacts__socials {
    margin-top: 0;
  }
}
.section-contacts__social-link {
  display: flex;
  color: var(--color-main-black);
}
.section-contacts__social-icon {
  width: 4.8rem;
  height: 4.8rem;
  display: block;
}
@media screen and (max-width: 640px) {
  .section-contacts__social-icon {
    width: 3.2rem;
    height: 3.2rem;
  }
}
.section-404__media {
  display: flex;
  justify-content: center;
}
.section-404__body {
  text-align: center;
}
.section-404__title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 400;
  margin: 0 0 1.6rem;
}
@media screen and (max-width: 640px) {
  .section-404__title {
    font-size: 2.8rem;
  }
}
.section-404__description {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .section-404__description {
    font-size: 1.6rem;
  }
}
.section-404__description p {
  margin: 0;
}
.section-404__back {
  margin-top: 1.6rem;
}
.section-404__link {
  font-size: 2.4rem;
  line-height: 1.3;
  font-family: var(--font-primary);
  font-style: italic;
  color: var(--color-main-accent);
}
@media screen and (max-width: 640px) {
  .section-404__link {
    font-size: 2rem;
  }
}
@media (hover: hover) {
  .section-404__link:hover {
    color: var(--color-red-800);
  }
}

.page--404 {
  background-color: var(--color-bg-yellow);
}
.page--404 .page__main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.media-list__item:not(:last-child) {
  padding-bottom: 4.8rem;
  margin-bottom: 4.8rem;
  border-bottom: 0.1rem dashed var(--color-black-300);
}
@media screen and (max-width: 768px) {
  .media-list__item:not(:last-child) {
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
  }
}

.section-article {
  padding-top: 10.4rem;
}
@media screen and (max-width: 992px) {
  .section-article {
    padding-top: 6.4rem;
  }
}
.section-article__wide {
  max-width: 106rem;
}
.section-article__narrow {
  max-width: 75.2rem;
}
.section-article__header {
  margin-bottom: 3.2rem;
}
.section-article__category {
  margin: 0 0 1.2rem;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-default);
}
.section-article__category-link {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .section-article__category-link:hover {
    color: var(--color-red-800);
  }
}
.section-article__title {
  font-family: var(--font-primary);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-main-accent);
  margin: 0 0 2rem;
  hyphens: auto;
}
@media screen and (max-width: 640px) {
  .section-article__title {
    font-size: 3.2rem;
  }
}
.section-article__date {
  display: block;
  color: var(--color-black-500);
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .section-article__date {
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.section-article__lead {
  padding-top: 3.2rem;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.section-article__byline {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.section-article__author-avatar {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
  object-position: 50% 50%;
  flex-shrink: 0;
}
.section-article__author-info {
  margin: 0;
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.2;
}
@media screen and (max-width: 640px) {
  .section-article__author-info {
    font-size: 1.6rem;
  }
}
.section-article__author-name {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .section-article__author-name:hover {
    color: var(--color-red-800);
  }
}
.section-article__media {
  margin: 5.6rem 0;
}
@media screen and (max-width: 640px) {
  .section-article__media {
    margin: 3.2rem 0;
  }
}
.section-article__image {
  display: block;
  width: 100%;
  height: auto;
}
.section-article__body {
  margin-top: 5.6rem;
}
@media screen and (max-width: 640px) {
  .section-article__body {
    margin-top: 3.2rem;
  }
}
.section-article__body blockquote {
  margin: 3.2rem 0;
  padding-top: 3.2rem;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.15);
}
.section-article__body blockquote p {
  font-family: var(--font-primary);
  font-style: italic;
}
.section-article__body blockquote:last-child {
  margin-bottom: 0;
}
.section-article__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  margin-top: 5.6rem;
  padding-top: 2rem;
  border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
}
.section-article__share-label {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-main-black);
}
.section-article__share-btns {
  display: flex;
  gap: 1.2rem;
}
.section-article__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  color: var(--color-black-400);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.section-article__share-btn svg {
  display: block;
  width: 2rem;
  height: 2rem;
}
@media (hover: hover) {
  .section-article__share-btn:hover {
    color: var(--color-main-accent);
    border-color: var(--color-main-accent);
  }
}

.section-history {
  background-color: #060923;
  color: var(--color-main-white);
  margin: 0;
  padding-top: 10.4rem;
  background-image: url("/assets/images/sections/history/shadow.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
}
@media screen and (max-width: 640px) {
  .section-history {
    padding-top: 0;
    background-image: none;
    padding-bottom: 10rem;
  }
}
.section-history__hero {
  text-align: center;
  padding-bottom: 12rem;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .section-history__hero {
    padding-bottom: 6.4rem;
  }
}
.section-history__hero-media {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 640px) {
  .section-history__hero-media {
    margin-left: -10rem;
    margin-right: -10rem;
  }
}
.section-history__hero-body {
  max-width: 80rem;
  margin: -16% auto 0;
}
@media screen and (max-width: 640px) {
  .section-history__hero-body {
    margin-top: -12rem;
  }
}
.section-history__building {
  display: block;
  width: 100%;
  max-width: 92rem;
}
.section-history__title {
  font-family: var(--font-primary);
  font-size: 14.4rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-main-white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.4rem;
}
@media screen and (max-width: 1200px) {
  .section-history__title {
    font-size: 8.8rem;
  }
}
@media screen and (max-width: 640px) {
  .section-history__title {
    font-size: 5.6rem;
    margin: 0 0 1.2rem;
  }
}
.section-history__hero-description {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.3;
  max-width: 75.5rem;
  margin: 0 auto;
}
@media screen and (max-width: 640px) {
  .section-history__hero-description {
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.section-history__hero-description p {
  margin: 0;
}
.section-history__timeline {
  display: flex;
  flex-direction: column;
}
.section-history__era-grid {
  display: grid;
  grid-template-columns: 20rem 1fr;
  align-items: stretch;
}
@media screen and (max-width: 1200px) {
  .section-history__era-grid {
    grid-template-columns: 14rem 1fr;
  }
}
@media screen and (max-width: 768px) {
  .section-history__era-grid {
    grid-template-columns: 1fr;
  }
}
.section-history__year-col {
  padding: 0;
  border-right: 0.1rem solid rgb(255, 255, 255);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 20rem;
}
@media screen and (max-width: 768px) {
  .section-history__year-col {
    min-height: auto;
    justify-content: start;
    border: none;
    margin-bottom: 2rem;
    scroll-margin-top: 6.4rem;
  }
}
.section-history__year {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
  font-family: var(--font-primary);
  font-size: 14.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgb(255, 255, 255);
  white-space: nowrap;
}
@media screen and (max-width: 1200px) {
  .section-history__year {
    font-size: 8.8rem;
  }
}
@media screen and (max-width: 768px) {
  .section-history__year {
    font-size: 5.6rem;
    transform: rotate(0deg);
    writing-mode: inherit;
    color: rgba(255, 255, 255, 0.3);
  }
}
.section-history__content-col {
  padding: 0 0 16rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
  position: relative;
}
@media screen and (max-width: 768px) {
  .section-history__content-col {
    padding: 0 0 10.4rem;
  }
}
@media screen and (max-width: 640px) {
  .section-history__content-col {
    padding: 0 0 8rem;
  }
}
.section-history__content-col--md {
  min-height: 48rem;
}
@media screen and (max-width: 768px) {
  .section-history__content-col--md {
    min-height: auto;
  }
}
.section-history__content-col--lg {
  min-height: 88rem;
}
@media screen and (max-width: 768px) {
  .section-history__content-col--lg {
    min-height: auto;
  }
}
.section-history__bullet {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0.1rem solid rgb(255, 255, 255);
  background-color: #060924;
  position: absolute;
  top: 0;
  left: -1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .section-history__bullet {
    display: none;
  }
}
.section-history__bullet:before {
  content: "";
  width: 1rem;
  height: 1rem;
  display: block;
  background-color: var(--color-main-white);
  border-radius: 50%;
}
.section-history__era-nav {
  position: fixed;
  z-index: 60;
  bottom: max(1.6rem, env(safe-area-inset-bottom, 0px));
  display: none;
}
@media screen and (max-width: 768px) {
  .section-history__era-nav {
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }
}
@media screen and (max-width: 640px) {
  .section-history__era-nav {
    display: block;
    left: 0;
    right: 0;
    z-index: 60;
    transform: none;
    pointer-events: none;
    padding: 0 1.6rem;
  }
}
@media screen and (max-width: 768px) {
  .section-history__era-nav-inner {
    pointer-events: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.8rem;
    border-radius: 10rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    background-color: rgba(6, 9, 35, 0.72);
    backdrop-filter: blur(6rem);
    -webkit-backdrop-filter: blur(6rem);
  }
  .section-history__era-nav-inner::-webkit-scrollbar {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .section-history__era-nav-item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.9rem 1.2rem;
    border: none;
    background: none;
    font-family: var(--font-default);
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--color-main-white);
    white-space: nowrap;
    cursor: pointer;
    border-radius: 10rem;
    -webkit-tap-highlight-color: transparent;
  }
}
@media screen and (max-width: 768px) and (hover: hover) {
  .section-history__era-nav-item:hover {
    color: var(--color-main-white);
  }
}
@media screen and (max-width: 768px) {
  .section-history__era-nav-item--active {
    color: var(--color-main-black);
    background-color: var(--color-main-white);
  }
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
@media screen and (max-width: 640px) {
  .history-list {
    gap: 4rem;
  }
}

.history-event__line {
  position: relative;
}
.history-event__line:before {
  content: "";
  display: block;
  position: absolute;
  top: 2rem;
  right: 0;
  width: 24%;
  height: 0.1rem;
  background-color: rgba(255, 255, 255, 0.3);
}
@media screen and (max-width: 1440px) {
  .history-event__line:before {
    display: none;
  }
}
.history-event--offset {
  margin-bottom: 4rem;
}
@media screen and (max-width: 640px) {
  .history-event--offset {
    margin-bottom: 0;
  }
}
.history-event--medium {
  max-width: 75.2rem;
}
.history-event--large {
  max-width: 88.4rem;
}
.history-event__grid {
  display: grid;
  gap: 4rem;
}
.history-event__grid > * {
  min-width: 0;
}
@media screen and (max-width: 640px) {
  .history-event__grid {
    gap: 2rem;
  }
}
.history-event__grid--type1 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
}
@media screen and (max-width: 992px) {
  .history-event__grid--type1 {
    grid-template-columns: 1fr;
  }
}
.history-event__grid--type2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media screen and (max-width: 992px) {
  .history-event__grid--type2 {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 640px) {
  .history-event__grid--type2 {
    gap: 1.2rem;
  }
}
.history-event__grid--type3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width: 992px) {
  .history-event__grid--type3 {
    grid-template-columns: 1fr;
  }
}
.history-event__grid--type4 {
  max-width: 61.8rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
@media screen and (max-width: 640px) {
  .history-event__grid--type4 {
    grid-template-columns: 1fr;
  }
}
.history-event__grid--type5 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  max-width: 62.5rem;
}
@media screen and (max-width: 992px) {
  .history-event__grid--type5 {
    grid-template-columns: 1fr;
  }
}
.history-event__grid--type6 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media screen and (max-width: 1200px) {
  .history-event__grid--type6 {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .history-event__grid--type6 {
    grid-template-columns: 1fr;
  }
}
.history-event__grid--type7 {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
@media screen and (max-width: 992px) {
  .history-event__grid--type7 {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 640px) {
  .history-event__grid--type3 .history-event__column, .history-event__grid--type4 .history-event__column, .history-event__grid--type6 .history-event__column {
    position: relative;
    margin-bottom: 2rem;
  }
  .history-event__grid--type3 .history-event__column:before, .history-event__grid--type4 .history-event__column:before, .history-event__grid--type6 .history-event__column:before {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.3);
    display: block;
  }
  .history-event__grid--type3 .history-event__column:last-child:before, .history-event__grid--type4 .history-event__column:last-child:before, .history-event__grid--type6 .history-event__column:last-child:before {
    display: none;
  }
}
.history-event__title {
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4.8rem;
}
@media screen and (max-width: 1200px) {
  .history-event__title {
    font-size: 3.2rem;
    margin-bottom: 2.4rem;
  }
}
@media screen and (max-width: 640px) {
  .history-event__title {
    font-size: 2.2rem;
    margin: 0 0 2rem;
  }
}
.history-event__subtitle {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 2rem;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .history-event__subtitle {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  .history-event__subtitle br {
    display: none;
  }
}
.history-event__content {
  font-size: 1.8rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-family: var(--font-primary);
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .history-event__content {
    font-size: 1.6rem;
  }
}
.history-event__content--medium {
  font-size: 1.6rem;
}
@media screen and (max-width: 640px) {
  .history-event__content--medium {
    font-size: 1.4rem;
  }
}
.history-event__content--small {
  font-size: 1.4rem;
  line-height: 1.1;
}
.history-event__content p {
  margin: 0;
}
.history-event__content p + p {
  margin-top: 2rem;
}
.history-event__image {
  border-radius: 0.6rem;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.history-event__image--small {
  max-width: 22.8rem;
}
@media screen and (max-width: 992px) {
  .history-event__image--small {
    max-width: none;
  }
}

.section-showcase {
  padding-top: 20.8rem;
  padding-bottom: 10.4rem;
  margin: 0;
  background-color: var(--color-bg-yellow);
}
@media screen and (max-width: 992px) {
  .section-showcase {
    padding-top: 12.8rem;
  }
}
@media screen and (max-width: 640px) {
  .section-showcase {
    padding-top: 9rem;
  }
}
.section-showcase__hero {
  text-align: center;
  max-width: 78rem;
  margin: 0 auto 10.4rem;
}
@media screen and (max-width: 640px) {
  .section-showcase__hero {
    margin-bottom: 6.4rem;
  }
}
.section-showcase__title {
  font-family: var(--font-primary);
  font-size: 8.8rem;
  font-weight: 400;
  line-height: 0.8;
  color: var(--color-main-accent);
  margin: 0 0 3.2rem;
}
@media screen and (max-width: 640px) {
  .section-showcase__title {
    font-size: 4.8rem;
    margin-bottom: 2rem;
  }
}
.section-showcase__description {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .section-showcase__description {
    font-size: 1.6rem;
  }
}
.section-showcase__shelves {
  padding-inline: 0;
}

.book-rack {
  --book-rack-between-shelves: 13.6rem;
  --book-rack-between-shelves-md: 10.4rem;
  --book-rack-stack-gap-sm: 2rem;
  --shelf-cap-h: 2rem;
  --shelf-face-h: 1.5rem;
  --shelf-side-inset: 0.6%;
  --shelf-cap-chamfer: 0.9%;
  --shelf-cap-bg: #eee2d6;
  --shelf-face-bg: #fff8f1;
  --shelf-radius: 0.28rem;
  --shelf-shadow: 0 1.2rem 2.4rem rgb(0 0 0 / 13%), 0 0.4rem 0.8rem rgb(0 0 0 / 8%);
  margin: 10.4rem auto 0;
  max-width: 119.2rem;
  padding: 0 8.8rem 10.8rem;
}
@media screen and (max-width: 992px) {
  .book-rack {
    padding: 0;
  }
}
@media screen and (max-width: 640px) {
  .book-rack {
    margin-top: 6.4rem;
  }
}
.book-rack__shelf {
  display: flex;
  flex-direction: column;
}
.book-rack__shelf + .book-rack__shelf {
  margin-top: var(--book-rack-between-shelves);
}
.book-rack__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: end;
  position: relative;
  z-index: 2;
}
.book-rack__list .book-rack__shelf-plank {
  display: none;
}
.book-rack__list .book-rack__shelf-plank:last-child {
  display: block;
  grid-column: 1/-1;
}
.book-rack__item {
  display: flex;
  align-items: flex-end;
  min-height: 0;
  position: relative;
  transition: transform 0.28s ease;
  will-change: transform;
  z-index: 2;
}
@media (hover: hover) {
  .book-rack__item:hover {
    transform: translateY(-0.8rem);
    z-index: 2;
  }
}
.book-rack__link {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.book-rack__cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}
.book-rack__shelf-ledge {
  display: none;
  grid-column: 1/-1;
  padding: 0;
  margin: 0;
  margin-top: 0;
  list-style: none;
  width: 100%;
  line-height: 0;
}
.book-rack__shelf-plank {
  margin: -1rem -8.8rem 0;
  line-height: 0;
}
.book-rack__shelf-rail {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
}
.book-rack__shelf-cap {
  height: var(--shelf-cap-h);
  margin-inline: var(--shelf-side-inset);
  background: var(--shelf-cap-bg);
  clip-path: polygon(var(--shelf-cap-chamfer) 0, calc(100% - var(--shelf-cap-chamfer)) 0, 100% 100%, 0 100%);
}
.book-rack__shelf-face {
  height: var(--shelf-face-h);
  margin-inline: var(--shelf-side-inset);
  margin-top: -0.06rem;
  background: var(--shelf-face-bg);
  border-radius: 0 0 var(--shelf-radius) var(--shelf-radius);
  box-shadow: var(--shelf-shadow);
}
.book-rack--light .book-rack__shelf-cap {
  background-color: #e3e3e3;
}
.book-rack--light .book-rack__shelf-face {
  background-color: var(--color-main-white);
}
@media screen and (max-width: 992px) {
  .book-rack {
    max-width: 60rem;
  }
  .book-rack .book-rack__shelf-plank {
    margin: 0;
  }
  .book-rack__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 4rem;
    padding: 0 2.4rem;
  }
  .book-rack__list .book-rack__shelf-plank {
    display: block;
    margin: -1rem -2.4rem 4.2rem;
    grid-column: 1/-1;
  }
  .book-rack__shelf:last-child .book-rack__list .book-rack__shelf-plank:last-child {
    margin-bottom: 0;
  }
  .book-rack__shelf + .book-rack__shelf {
    margin: 0;
  }
}
@media screen and (max-width: 640px) {
  .book-rack__list {
    gap: 0 1.6rem;
  }
}

.section-projects .book-rack {
  display: none;
}
@media screen and (max-width: 768px) {
  .section-projects .book-rack {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .section-projects .book-strip {
    display: none;
  }
}

.event-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}
@media screen and (max-width: 992px) {
  .event-card {
    grid-template-columns: 1fr;
  }
}
.event-card__media {
  overflow: hidden;
  border-radius: 0.4rem;
  position: relative;
}
.event-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.event-card__media-link:focus-visible {
  outline: 0.2rem solid var(--color-main-accent);
  outline-offset: 0.2rem;
}
.event-card__image {
  width: 100%;
  display: block;
  height: auto;
}
.event-card__content {
  text-align: center;
  padding: 0 5.2rem;
}
@media screen and (max-width: 1200px) {
  .event-card__content {
    padding: 0;
  }
}
.event-card__category {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-main-accent);
  margin: 0 0 0.8rem;
}
.event-card__title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 2rem;
}
@media screen and (max-width: 1200px) {
  .event-card__title {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 640px) {
  .event-card__title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
  }
}
.event-card__date {
  font-size: 2rem;
  font-family: var(--font-primary);
}
@media screen and (max-width: 640px) {
  .event-card__date {
    font-size: 1.4rem;
  }
}
.event-card--horizontal {
  grid-template-columns: 1fr 22.5rem;
}
@media screen and (max-width: 992px) {
  .event-card--horizontal {
    grid-template-columns: 1fr 22.5rem;
  }
}
@media screen and (max-width: 640px) {
  .event-card--horizontal {
    gap: 2rem;
    grid-template-columns: 1fr;
  }
}
.event-card--horizontal .event-card__category {
  margin-bottom: 1rem;
}
.event-card--horizontal .event-card__media {
  order: 2;
}
@media screen and (max-width: 640px) {
  .event-card--horizontal .event-card__media {
    order: 1;
  }
}
.event-card--horizontal .event-card__content {
  order: 1;
  padding: 0;
  text-align: left;
}
.event-card--horizontal .event-card__title {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}
@media screen and (max-width: 640px) {
  .event-card--horizontal .event-card__title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
}
.event-card--horizontal .event-card__date {
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-black-500);
}
@media screen and (max-width: 640px) {
  .event-card--horizontal .event-card__date {
    font-size: 1.4rem;
  }
}

.post-card {
  font-family: var(--font-primary);
}
.post-card__header {
  min-width: 0;
}
.post-card__media + .post-card__header {
  padding-top: 1.6rem;
}
.post-card__category {
  color: var(--color-main-accent);
  font-size: 2rem;
  line-height: 1.2;
  font-style: italic;
  margin-bottom: 0.8rem;
}
@media screen and (max-width: 640px) {
  .post-card__category {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }
}
.post-card__category-link, .post-card__category-text {
  color: inherit;
}
.post-card__title {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  min-width: 0;
}
@media screen and (max-width: 640px) {
  .post-card__title {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
  }
}
.post-card__title-link {
  color: var(--color-main-black);
}
.post-card__excerpt {
  font-size: 1.8rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .post-card__excerpt {
    font-size: 1.6rem;
  }
}
.post-card__excerpt p {
  margin: 0;
}
.post-card__header .post-card__media {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}
.post-card__content .post-card__media {
  margin-top: 2rem;
  margin-bottom: 1.6rem;
}
@media screen and (max-width: 640px) {
  .post-card__content .post-card__media {
    margin-top: 1.6rem;
    margin-bottom: 1.2rem;
  }
}
.post-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}
.post-card__author {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.post-card__author-avatar {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
  object-position: 50% 50%;
}
.post-card__author-name {
  margin: 0;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .post-card__author-name {
    font-size: 1.6rem;
  }
}
.post-card__author-name a {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .post-card__author-name a:hover {
    color: var(--color-red-800);
  }
}
.post-card__date {
  color: var(--color-black-500);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.2;
}
@media screen and (max-width: 640px) {
  .post-card__date {
    font-size: 1.4rem;
  }
}
.post-card__footer {
  margin-top: 1.6rem;
}
@media screen and (max-width: 640px) {
  .post-card__footer {
    margin-top: 1.2rem;
  }
}
.post-card--mini {
  text-align: center;
}
.post-card--mini .post-card__author {
  flex-direction: column-reverse;
  gap: 2rem;
}
.post-card--headline-listing .post-card__category {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-default);
}
.post-card__row {
  min-width: 0;
}
.post-card__main {
  min-width: 0;
}
.post-card--large .post-card__media {
  margin: 0;
}
.post-card--large > .post-card__media + .post-card__header {
  padding-top: 2.4rem;
}
.post-card--compact .post-card__media {
  margin: 0;
}
.post-card--compact > .post-card__media + .post-card__header {
  padding-top: 1.6rem;
}
.post-card--large .post-card__category, .post-card--compact .post-card__category {
  margin-bottom: 1.2rem;
}
@media screen and (max-width: 640px) {
  .post-card--large .post-card__category, .post-card--compact .post-card__category {
    margin-bottom: 0.4rem;
  }
}
.post-card--large .post-card__body, .post-card--compact .post-card__body {
  margin-top: 0;
}
.post-card--large .post-card__footer, .post-card--compact .post-card__footer {
  margin-top: 2.4rem;
}
.post-card--large .post-card__title {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.15;
}
@media screen and (max-width: 640px) {
  .post-card--large .post-card__title {
    font-size: 2.2rem;
  }
}
.post-card--horizontal .post-card__row {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}
.post-card--horizontal .post-card__media {
  flex: 0 0 55%;
  max-width: 55%;
  margin: 0;
}
.post-card--horizontal .post-card__image {
  border-radius: 0.8rem;
}
.post-card--horizontal .post-card__main {
  display: flex;
  flex-direction: column;
}
.post-card--horizontal .post-card__category {
  margin-bottom: 1rem;
}
.post-card--horizontal .post-card__title {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.6rem;
}
@media screen and (max-width: 640px) {
  .post-card--horizontal .post-card__title {
    font-size: 2.2rem;
  }
}
.post-card--horizontal .post-card__excerpt {
  margin-bottom: 1.6rem;
}
.post-card--horizontal .post-card__footer {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .post-card--horizontal .post-card__row {
    flex-direction: column;
    align-items: stretch;
  }
  .post-card--horizontal .post-card__media {
    flex: none;
    max-width: 100%;
  }
}

.feature-card {
  border-radius: 0.4rem;
  padding: 4.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  font-family: var(--font-primary);
}
@media screen and (max-width: 992px) {
  .feature-card {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 640px) {
  .feature-card {
    padding: 2.4rem;
  }
}
.feature-card--bg-secondary {
  background-color: var(--color-red-100);
}
.feature-card--bg-default {
  background-color: var(--color-gray-200);
}
.feature-card--bg-primary {
  background-color: var(--color-serenade-100);
}
.feature-card--bg-info {
  background-color: var(--color-sepea-100);
}
.feature-card__left, .feature-card__right {
  min-width: 0;
  height: 100%;
}
.feature-card__left {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.feature-card__right {
  position: relative;
}
.feature-card__right:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2rem;
  border-left: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 992px) {
  .feature-card__right:before {
    left: 0;
    right: 0;
    bottom: auto;
    top: -2rem;
    border-left: none;
    border-top: 0.1rem dashed rgba(0, 0, 0, 0.1);
  }
}
.feature-card__media {
  margin: 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 44.2rem;
}
.feature-card__image {
  width: 100%;
  height: auto;
  display: block;
}
.feature-card__category {
  margin: 0 0 1.2rem;
  color: var(--color-main-accent);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  font-family: var(--font-default);
}
.feature-card__title {
  margin: 0 0 2.6rem;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 500;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .feature-card__title {
    font-size: 2.8rem;
  }
}
.feature-card__subtitle {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.4rem;
  line-height: 1.2;
  font-style: italic;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}
.feature-card__text {
  margin: 0 0 2rem;
  font-size: 2rem;
  line-height: 1.2;
  font-style: italic;
  color: var(--color-main-black);
}
@media screen and (max-width: 640px) {
  .feature-card__text {
    font-size: 1.6rem;
  }
}
.feature-card__link {
  display: inline;
  color: var(--color-main-accent);
  font-style: italic;
}
@media (hover: hover) {
  .feature-card__link:hover {
    color: var(--color-red-800);
  }
}
.feature-card__description {
  font-size: 2rem;
  line-height: 1.2;
  font-style: italic;
  color: var(--color-main-black);
}
@media screen and (max-width: 640px) {
  .feature-card__description {
    font-size: 1.6rem;
  }
}
.feature-card__description strong {
  font-weight: 600;
}
.feature-card__description p {
  margin: 0 0 2rem;
}
.feature-card__description p:last-child {
  margin-bottom: 0;
}
.feature-card__description ul,
.feature-card__description ol {
  padding: 0;
  margin: 0 0 2rem;
}
.feature-card__description ul {
  list-style-type: square;
  padding-left: 1.5rem;
}
.feature-card__description ul li {
  padding-left: 0.5rem;
  position: relative;
}
.feature-card__description ol {
  padding-left: 3rem;
}
.feature-card__description li + li {
  margin-top: 1.6rem;
}
.feature-card__description h1,
.feature-card__description h2,
.feature-card__description h3,
.feature-card__description h4,
.feature-card__description h5,
.feature-card__description h6 {
  margin: 4.8rem 0 1.6rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  font-size: 2rem;
}
.feature-card__description h1:first-child,
.feature-card__description h2:first-child,
.feature-card__description h3:first-child,
.feature-card__description h4:first-child,
.feature-card__description h5:first-child,
.feature-card__description h6:first-child {
  margin-top: 0;
}
.feature-card__description h1:last-child,
.feature-card__description h2:last-child,
.feature-card__description h3:last-child,
.feature-card__description h4:last-child,
.feature-card__description h5:last-child,
.feature-card__description h6:last-child {
  margin-bottom: 0;
}
.feature-card__description .feature-card__more {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-style: italic;
  line-height: inherit;
  text-align: inherit;
  cursor: pointer;
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .feature-card__description .feature-card__more:hover {
    color: var(--color-red-800);
  }
}
.feature-card__description a {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .feature-card__description a:hover {
    color: var(--color-red-800);
  }
}
.feature-card__caption {
  margin-top: 2rem;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-main-black);
  text-align: center;
}
.feature-card__caption a {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .feature-card__caption a:hover {
    color: var(--color-red-800);
  }
}
.feature-card--teacher {
  padding: 4rem 4.8rem;
}
@media screen and (max-width: 640px) {
  .feature-card--teacher {
    padding: 2.4rem;
  }
}
.feature-card--teacher .feature-card__title {
  font-size: 4rem;
  margin-bottom: 1.2rem;
}
@media screen and (max-width: 640px) {
  .feature-card--teacher .feature-card__title {
    font-size: 2.8rem;
  }
}
.feature-card--teacher .feature-card__subtitle {
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--color-main-black);
}
@media screen and (max-width: 640px) {
  .feature-card--teacher .feature-card__subtitle {
    font-size: 1.4rem;
  }
}
.feature-card + .cards-grid {
  margin-top: 6.4rem;
}

.subscribe-card {
  background-color: var(--color-main-black);
  color: var(--color-main-white);
  border-radius: 0.4rem;
  padding: 1.6rem 2rem 2rem;
  min-height: 13.2rem;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background-image: url("/assets/images/elements/subscribe.png");
  background-size: 16.3rem 12.4rem;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}
@media screen and (max-width: 1200px) {
  .subscribe-card {
    background-size: 12rem auto;
    max-width: 35.6rem;
    margin: 0 auto;
  }
}
.subscribe-card__title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: var(--font-primary);
  max-width: 22rem;
}
@media screen and (max-width: 1440px) {
  .subscribe-card__title {
    max-width: 18rem;
    line-height: 1.2;
  }
}
.subscribe-card__action {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color 0.3s;
}
@media (hover: hover) {
  .subscribe-card__action:hover {
    color: var(--color-main-accent);
  }
}

.facts-card {
  background: var(--color-bg-yellow);
  font-family: var(--font-primary);
  padding: 2.4rem;
  border-radius: 0.4rem;
}
@media screen and (max-width: 640px) {
  .facts-card {
    padding: 2rem;
  }
}
.facts-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts-card__item {
  padding: 2rem 0;
  border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.1);
}
.facts-card__item:first-child {
  padding-top: 0;
}
.facts-card__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.facts-card__title {
  margin: 0 0 0.8rem;
  color: var(--color-main-accent);
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .facts-card__title {
    font-size: 2.2rem;
  }
}
.facts-card__text {
  font-size: 1.8rem;
  line-height: 1.3;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .facts-card__text {
    font-size: 1.6rem;
    line-height: 1.2;
  }
}
.facts-card__text p {
  margin: 0;
}

.facts-digest {
  font-family: var(--font-primary);
  margin: 0;
}
.facts-digest__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts-digest__item {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  column-gap: 4rem;
  align-items: baseline;
  color: var(--color-main-black);
}
@media screen and (max-width: 640px) {
  .facts-digest__item {
    grid-template-columns: 1fr;
    padding-bottom: 2.4rem;
    border-bottom: 0.1rem dashed rgba(0, 0, 0, 0.3);
  }
  .facts-digest__item:last-child {
    border: none;
    padding-bottom: 0;
  }
}
.facts-digest__item + .facts-digest__item {
  margin-top: 2.4rem;
}
.facts-digest__label {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 600;
}
@media screen and (max-width: 640px) {
  .facts-digest__label {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
}
.facts-digest__text {
  font-size: 1.8rem;
  line-height: 1.3;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .facts-digest__text {
    font-size: 1.6rem;
  }
}
.facts-digest__text p {
  margin: 0;
}

.employee-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-gray-100);
  padding: 2.4rem;
}
.employee-card__media {
  display: flex;
  margin-bottom: 1.6rem;
}
.employee-card__image {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.employee-card__name {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-main-black);
}
.employee-card__role {
  margin: 0.8rem 0 0;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--color-main-black);
}

.link-card__link {
  color: var(--color-main-accent);
}
@media (hover: hover) {
  .link-card__link:hover {
    color: var(--color-red-800);
  }
}
.link-card__header {
  margin-bottom: 1.2rem;
}
.link-card__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.2rem;
}
@media screen and (max-width: 640px) {
  .link-card__grid {
    gap: 2rem;
  }
}
.link-card__icon {
  width: 5.6rem;
  height: 5.6rem;
  min-width: 5.6rem;
}
@media screen and (max-width: 640px) {
  .link-card__icon {
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
  }
}
.link-card__title {
  margin: 0;
  display: inline-block;
  vertical-align: top;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .link-card__title {
    font-size: 2.2rem;
  }
}
.link-card__text {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.2;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .link-card__text {
    font-size: 1.4rem;
  }
}

.case-reader {
  --cr-bg: var(--color-main-white);
  --cr-text: var(--color-main-black);
  --cr-text-secondary: var(--color-black-500);
  --cr-border: rgba(0, 0, 0, 0.1);
  --cr-accent-bg: var(--color-sepea-800);
  --cr-accent-border: rgba(0, 0, 0, 0.15);
  --cr-theme-bg: var(--color-black-100);
  --cr-theme-btn: var(--color-main-white);
  --cr-theme-btn-text: var(--color-main-accent);
  --cr-theme-btn-border: var(--color-main-accent);
  --cr-sidebar-bg: var(--color-black-100);
  --cr-sidebar-link: var(--color-main-black);
  --cr-sidebar-link-italic: var(--color-black-500);
  --cr-meta-bg: var(--color-black-100);
  --cr-link: var(--color-main-accent);
  --cr-title: var(--color-main-accent);
  --cr-focus-bg: var(--color-bg-yellow);
}
.case-reader[data-theme=sepia] {
  --cr-bg: var(--color-sepea-100);
  --cr-text: var(--color-sepea-950);
  --cr-text-secondary: #7a6b5e;
  --cr-border: rgba(0, 0, 0, 0.1);
  --cr-accent-bg: var(--color-sepea-800);
  --cr-accent-border: rgba(139, 109, 75, 0.3);
  --cr-theme-bg: var(--color-sepea-200);
  --cr-theme-btn: var(--color-sepea-100);
  --cr-theme-btn-text: var(--color-main-accent);
  --cr-theme-btn-border: var(--color-main-accent);
  --cr-sidebar-bg: var(--color-sepea-200);
  --cr-sidebar-link: var(--color-sepea-950);
  --cr-sidebar-link-italic: var(--color-sepea-700);
  --cr-meta-bg: var(--color-sepea-200);
  --cr-link: #8b5e34;
  --cr-title: var(--color-main-accent);
  --cr-focus-bg: var(--color-sepea-200);
}
.case-reader[data-theme=black] {
  --cr-bg: var(--color-main-black);
  --cr-text: var(--color-black-200);
  --cr-text-secondary: #888;
  --cr-border: rgba(0, 0, 0, 0.2);
  --cr-accent-bg: var(--color-sepea-800);
  --cr-accent-border: rgba(255, 255, 255, 0.15);
  --cr-theme-bg: var(--color-black-700);
  --cr-theme-btn: var(--color-main-black);
  --cr-theme-btn-text: var(--color-main-accent);
  --cr-theme-btn-border: var(--color-main-accent);
  --cr-sidebar-bg: var(--color-black-700);
  --cr-sidebar-link: var(--color-black-200);
  --cr-sidebar-link-italic: var(--color-black-400);
  --cr-meta-bg: var(--color-black-700);
  --cr-link: #ccc;
  --cr-title: var(--color-black-200);
  --cr-focus-bg: var(--color-sepea-800);
}
.case-reader {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--cr-bg);
  color: var(--cr-text);
  transition: background-color 0.3s, color 0.3s;
  font-family: var(--font-primary);
}
@media screen and (max-width: 992px) {
  .case-reader {
    padding-top: 10.4rem;
    transition: padding-top 0.28s ease, background-color 0.3s, color 0.3s;
  }
}
@media screen and (max-width: 992px) and (prefers-reduced-motion: reduce) {
  .case-reader {
    transition: background-color 0.3s, color 0.3s;
  }
}
@media screen and (max-width: 640px) {
  .case-reader {
    padding-top: 7.2rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader.is-nav-hidden {
    padding-top: 0;
  }
}
.case-reader *::selection {
  background: rgba(214, 17, 21, 0.15);
}
.case-reader__nav {
  padding: 3.2rem 3.2rem 2.4rem;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}
@media screen and (max-width: 992px) {
  .case-reader__nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 40;
    background-color: var(--cr-bg);
    transition: transform 0.28s ease, background-color 0.3s;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__nav {
    padding: 1.2rem 1.6rem;
  }
}
@media screen and (prefers-reduced-motion: reduce) and (max-width: 992px) {
  .case-reader__nav {
    transition: none;
  }
}
@media screen and (max-width: 992px) {
  .case-reader.is-nav-hidden .case-reader__nav {
    transform: translateY(-100%);
  }
}
.case-reader__back {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-default);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cr-text);
  transition: color 0.3s;
}
@media (hover: hover) {
  .case-reader__back:hover {
    color: var(--cr-link);
  }
}
.case-reader__back-rounding {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background-color: var(--cr-theme-bg);
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 640px) {
  .case-reader__back-rounding {
    width: 4rem;
    height: 4rem;
  }
}
.case-reader__back-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}
@media screen and (max-width: 640px) {
  .case-reader__back-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}
.case-reader__burger {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background-color: var(--cr-theme-bg);
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  color: var(--cr-text);
}
@media screen and (max-width: 640px) {
  .case-reader__burger {
    width: 4rem;
    height: 4rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__burger {
    display: flex;
  }
}
.case-reader__burger-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
}
@media screen and (max-width: 640px) {
  .case-reader__burger-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
}
.case-reader__sheet {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  max-height: 100%;
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .case-reader__sheet {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    width: 100%;
    gap: 1.2rem;
    padding: 2rem 1.6rem calc(2rem + env(safe-area-inset-bottom, 0));
    background-color: var(--cr-bg);
    border-radius: 1.6rem 1.6rem 0 0;
    box-shadow: 0 -0.4rem 2.4rem rgba(0, 0, 0, 0.12);
    flex-direction: column-reverse;
    justify-content: flex-start;
    max-height: min(88vh, 100dvh - 4.8rem);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }
}
@media screen and (prefers-reduced-motion: reduce) and (max-width: 992px) {
  .case-reader__sheet {
    transition: none;
  }
}
@media screen and (max-width: 992px) {
  .case-reader.is-sheet-open .case-reader__sheet {
    transform: translateY(0);
  }
}
@media screen and (max-width: 992px) {
  .case-reader.is-sheet-open .case-reader__sidebar--left {
    pointer-events: auto;
  }
}
.case-reader__sheet-close {
  display: none;
}
@media screen and (max-width: 992px) {
  .case-reader__sheet-close {
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1.6rem;
    bottom: calc(100% + 1.2rem);
    width: 4.8rem;
    height: 4.8rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--color-main-white);
    color: var(--color-main-black);
    cursor: pointer;
    box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.12);
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: none;
    pointer-events: none;
  }
}
@media screen and (max-width: 992px) and (hover: hover) {
  .case-reader__sheet-close:hover {
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.16);
  }
}
@media screen and (max-width: 992px) and (max-width: 640px) {
  .case-reader__sheet-close {
    width: 4rem;
    height: 4rem;
    right: 1.2rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader.is-sheet-open .case-reader__sheet-close {
    display: flex;
    pointer-events: auto;
  }
}
.case-reader__sheet-close-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}
.case-reader__hero {
  max-width: 75.2rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 5.6rem;
  border-bottom: 0.1rem solid var(--cr-border);
}
@media screen and (max-width: 1440px) {
  .case-reader__hero {
    border-bottom: none;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__hero {
    min-width: 0;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__hero {
    padding: 1.6rem 1.6rem 4rem;
    border-bottom: none;
  }
}
.case-reader__title {
  font-family: var(--font-primary);
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--cr-title);
  margin: 0;
  overflow-wrap: break-word;
}
@media screen and (max-width: 992px) {
  .case-reader__title {
    font-size: 4.8rem;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__title {
    font-size: 3.2rem;
  }
}
.case-reader__date {
  display: block;
  margin-top: 2rem;
  font-size: 2rem;
  line-height: 1.2;
  font-family: var(--font-primary);
  font-style: italic;
  color: var(--cr-text-secondary);
}
@media screen and (max-width: 640px) {
  .case-reader__date {
    font-size: 1.6rem;
    margin-top: 1.6rem;
  }
}
.case-reader__abstract {
  padding: 5.6rem 0;
  margin-bottom: 5.6rem;
  font-style: italic;
  border-bottom: 0.1rem solid var(--cr-border);
  text-align: center;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .case-reader__abstract {
    font-size: 1.8rem;
    padding: 4rem 0;
    margin-bottom: 4rem;
  }
}
.case-reader__abstract p + p {
  margin-top: 2rem;
}
.case-reader__body {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 8rem;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 8rem 8rem 36rem;
  align-items: start;
}
@media screen and (max-width: 1440px) {
  .case-reader__body {
    grid-template-columns: 1fr;
    padding: 0 0 8rem;
    gap: 4rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__body {
    gap: 0;
    padding: 0 0 8rem;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
}
.case-reader__sidebar--left {
  position: fixed;
  bottom: 3.2rem;
  left: 3.2rem;
  max-width: min-content;
  max-height: calc(100vh - 6.4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 10;
}
@media screen and (max-width: 992px) {
  .case-reader__sidebar--left {
    inset: auto 0 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    max-height: none;
    min-width: 0;
    z-index: 55;
    pointer-events: none;
    align-items: stretch;
  }
}
@media screen and (max-width: 1440px) {
  .case-reader__sidebar--right {
    order: -1;
    padding: 0 1.6rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sidebar--right {
    min-width: 0;
    max-width: 100%;
  }
}
.case-reader__toc {
  margin-bottom: 2rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 0.8rem;
}
.case-reader__toc-toggle {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem 1.2rem 1.4rem 1.6rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-default);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cr-text);
  transition: color 0.3s;
  background: var(--cr-sidebar-bg);
}
.case-reader__toc.is-open .case-reader__toc-toggle {
  display: none;
}
.case-reader__toc-chevron {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.3s;
}
.case-reader__toc.is-open .case-reader__toc-chevron {
  transform: rotate(180deg);
}
.case-reader__toc-nav {
  display: none;
  padding: 0.8rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cr-sidebar-bg);
  border-radius: 0.8rem;
}
.case-reader__toc.is-open .case-reader__toc-nav {
  display: block;
}
.case-reader__toc-link {
  display: block;
  padding: 1rem 1.2rem;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--cr-sidebar-link);
  text-decoration: none;
  border-bottom: 0.1rem solid var(--cr-border);
  transition: color 0.3s, background-color 0.3s;
  border-radius: 0.4rem;
}
.case-reader__toc-link i {
  color: var(--cr-sidebar-link-italic);
  transition: color 0.3s;
}
.case-reader__toc-link:last-of-type {
  border-bottom: none;
}
@media (hover: hover) {
  .case-reader__toc-link:hover {
    color: inherit;
  }
  .case-reader__toc-link:hover i {
    color: inherit;
  }
}
.case-reader__toc-link.is-active {
  color: var(--color-main-white);
  background-color: var(--cr-accent-bg);
}
.case-reader__toc-link.is-active i {
  color: var(--color-main-white);
}
.case-reader__toc-collapse {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 1.4rem 1.2rem 1.4rem 1.6rem;
  margin-top: 0.8rem;
  border: none;
  background: var(--cr-sidebar-bg);
  border-radius: 0.8rem;
  cursor: pointer;
  font-family: var(--font-default);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cr-text);
  transition: color 0.3s, background-color 0.3s;
}
.case-reader__toc.is-open .case-reader__toc-collapse {
  display: flex;
}
.case-reader__toc-collapse svg {
  width: 1.6rem;
  height: 1.6rem;
}
@media (hover: hover) {
  .case-reader__toc-collapse:hover {
    color: var(--cr-link);
  }
}
.case-reader__themes {
  display: flex;
  align-items: center;
  padding: 0.6rem;
  background-color: var(--cr-theme-bg);
  border-radius: 0.6rem;
}
.case-reader__theme-btn {
  padding: 0.5rem 1.6rem;
  border: 0.1rem solid transparent;
  border-radius: 3.2rem;
  background: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--cr-text-secondary);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.case-reader__theme-btn--active {
  color: var(--cr-theme-btn-text);
  border-color: var(--cr-theme-btn-border);
  background-color: var(--cr-theme-btn);
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__toc {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 1.2rem;
    overflow: hidden;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__toc-toggle, .case-reader__sheet .case-reader__toc-collapse {
    display: none !important;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__toc-nav {
    display: block !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1rem 1.2rem 1.2rem;
    border-radius: 1.2rem;
    background-color: var(--cr-sidebar-bg);
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__toc-link {
    border-bottom: none;
    margin-bottom: 0.8rem;
    padding: 1.4rem 1.2rem;
    font-style: normal;
  }
  .case-reader__sheet .case-reader__toc-link:last-of-type {
    margin-bottom: 0;
  }
  .case-reader__sheet .case-reader__toc-link i {
    font-style: italic;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__themes {
    width: 100%;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
  }
}
@media screen and (max-width: 992px) {
  .case-reader__sheet .case-reader__theme-btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0.6rem 1rem;
  }
}
.case-reader__content {
  min-width: 0;
  max-width: 75.2rem;
  margin: 0 auto;
}
@media screen and (max-width: 992px) {
  .case-reader__content {
    padding: 0 1.6rem;
    max-width: min(75.2rem, 100%);
    width: 100%;
  }
}
.case-reader__chapter {
  scroll-margin-top: 14rem;
}
@media screen and (max-width: 640px) {
  .case-reader__chapter {
    scroll-margin-top: 11rem;
  }
}
.case-reader__chapter + .case-reader__chapter {
  margin-top: 8rem;
  padding-top: 4rem;
  border-top: 0.1rem solid var(--cr-border);
}
.case-reader__chapter-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.case-reader__chapter-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cr-text);
  margin-bottom: 4rem;
}
@media screen and (max-width: 640px) {
  .case-reader__chapter-label {
    font-size: 2.2rem;
    margin-bottom: 2.4rem;
  }
}
.case-reader__chapter-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cr-text);
  margin: 0;
  overflow-wrap: break-word;
}
@media screen and (max-width: 640px) {
  .case-reader__chapter-title {
    font-size: 2.4rem;
    line-height: 1.3;
  }
}
.case-reader__chapter-author {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: var(--cr-text-secondary);
  margin-top: 1.2rem;
}
@media screen and (max-width: 640px) {
  .case-reader__chapter-author {
    margin-top: 0.8rem;
    font-size: 1.4rem;
  }
}
.case-reader__epigraph {
  max-width: 48rem;
  margin: 0 auto 3.2rem;
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .case-reader__epigraph {
    font-size: 1.6rem;
    margin: 1.6rem auto 2.4rem;
  }
}
.case-reader__epigraph-text {
  font-family: var(--font-primary);
  color: var(--cr-text);
  margin: 0;
}
.case-reader__epigraph-source {
  font-family: var(--font-primary);
  color: var(--cr-text);
  margin-top: 2rem;
}
@media screen and (max-width: 640px) {
  .case-reader__epigraph-source {
    margin-top: 1.2rem;
  }
}
.case-reader__text {
  font-family: var(--font-primary);
  font-size: 2rem;
  line-height: 1.3;
  position: relative;
}
@media screen and (max-width: 992px) {
  .case-reader__text {
    min-width: 0;
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__text {
    font-size: 1.8rem;
  }
}
.case-reader__text .case-reader__table,
.case-reader__text .case-reader__figure,
.case-reader__text .case-reader__formula {
  position: relative;
  z-index: 2;
}
.case-reader__text .case-reader__focus-indicator {
  position: absolute;
  left: -2rem;
  right: -2rem;
  top: 0;
  height: 0;
  border-radius: 0.8rem;
  background-color: var(--cr-focus-bg);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  will-change: transform, height, opacity;
  transition: transform 0.18s ease-out, height 0.18s ease-out, opacity 0.2s ease-out;
}
@media screen and (max-width: 992px) {
  .case-reader__text .case-reader__focus-indicator {
    left: -1.6rem;
    right: -1.6rem;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__text .case-reader__focus-indicator {
    left: -0.8rem;
    right: -0.8rem;
  }
}
.case-reader__text p + p {
  margin-top: 1rem;
}
.case-reader__text > p {
  padding: 1rem 2rem;
  margin: -1rem -2rem;
  border-radius: 0.8rem;
  transition: background-color 0.6s;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 992px) {
  .case-reader__text > p {
    padding: 1rem 1.6rem;
    margin: -1rem -1.6rem;
  }
}
@media screen and (max-width: 640px) {
  .case-reader__text > p {
    padding: 1rem 0.8rem;
    margin: -1rem -0.8rem;
  }
}
.case-reader__text > p.is-focused {
  background-color: var(--cr-focus-bg);
}
.case-reader__text ul {
  padding: 0 0 0 1.6rem;
  margin: 2rem 0;
  list-style-type: square;
}
.case-reader__text ul li + li {
  margin-top: 2rem;
}
.case-reader__text figure {
  padding: 0;
  margin: 3.2rem 0;
}
.case-reader__text figure img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.case-reader__text figcaption {
  text-align: center;
  margin-top: 1.6rem;
  display: block;
  color: var(--cr-text);
  font-family: var(--font-primary);
  font-style: italic;
  font-weight: 1.8rem;
  line-height: 1.3;
}
.case-reader__text table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  line-height: 1.1;
  padding: 0.4rem 1.2rem;
  background-color: var(--cr-theme-bg);
}
.case-reader__text table th,
.case-reader__text table td {
  padding: 2rem;
}
.case-reader__text table th,
.case-reader__text table td {
  text-align: left;
}
.case-reader__text table th:first-child,
.case-reader__text table td:first-child {
  padding-left: 0;
}
.case-reader__text table th:last-child,
.case-reader__text table td:last-child {
  padding-right: 0;
}
.case-reader__text table th {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.1;
  border-bottom: 0.1rem solid var(--cr-border);
}
.case-reader__text table td {
  vertical-align: top;
  border-bottom: 0.1rem solid var(--cr-border);
}
.case-reader__text table tbody tr:last-child td {
  border-bottom: none;
}
.case-reader__text table caption {
  caption-side: bottom;
  text-align: center;
  font-style: italic;
  padding-top: 1.6rem;
  font-size: 1.8rem;
  line-height: 1.3;
}
.case-reader__table {
  margin: 3.2rem 0;
  min-width: 0;
  max-width: 100%;
}
.case-reader__table-bg {
  display: block;
  width: 100%;
  padding: 0.4rem 3.2rem;
  border-radius: 0.8rem;
  background-color: var(--cr-theme-bg);
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  box-sizing: border-box;
}
@media screen and (max-width: 640px) {
  .case-reader__table-bg {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}
.case-reader__table-bg table {
  width: max-content;
  min-width: 100%;
  max-width: none;
}
.case-reader__table-caption {
  margin: 1.6rem 0 0 0;
  text-align: center;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .case-reader__table-caption {
    margin: 1.2rem 0 0 0;
    font-size: 1.6rem;
  }
}
.case-reader__formula {
  text-align: center;
  margin: 3.2rem 0;
  padding: 1.6rem;
  font-family: var(--font-primary);
  font-size: 2rem;
  line-height: 1.3;
  border-radius: 0.8rem;
  background-color: var(--cr-theme-bg);
  transition: background-color 0.6s;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.case-reader__formula strong {
  font-weight: 600;
}
.case-reader__formula p {
  margin: 0;
}
.case-reader__formula p + p {
  margin-top: 0;
}
.case-reader__references {
  margin-top: 5.6rem;
}
.case-reader__references-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem;
}
@media screen and (max-width: 640px) {
  .case-reader__references-title {
    font-size: 2.4rem;
    margin-bottom: 1.6rem;
  }
}
.case-reader__references-list {
  padding-left: 3.2rem;
  font-family: var(--font-primary);
  font-size: 2rem;
  line-height: 1.3;
}
@media screen and (max-width: 640px) {
  .case-reader__references-list {
    font-size: 1.6rem;
  }
}
.case-reader__references-list li {
  padding-left: 0.6rem;
}
.case-reader__references-list li + li {
  margin-top: 2rem;
}
.case-reader__meta {
  padding: 1.6rem;
  background: var(--cr-meta-bg);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--cr-text);
  transition: background-color 0.3s;
  border-radius: 0.8rem;
}
@media screen and (max-width: 1440px) {
  .case-reader__meta {
    max-width: 75.2rem;
    margin: 0 auto;
  }
}
.case-reader__meta p {
  margin: 0;
}
.case-reader__meta p + p {
  margin-top: 2rem;
}