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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #dfe6e9;
}

a {
  background-color: transparent;
}

a:focus {
  outline: unset;
}

b,
strong {
  font-weight: 700;
}

small {
  font-size: 0.875em;
}

img {
  height: auto;
}

main img {
  max-width: 100%;
  border-style: none;
}

picture img {
  display: block;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted #fff;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
  color: #333;
  background: #fff;
}

input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/
body {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
  font-size: 1rem;
  color: var(--main_font);
  font-weight: 300;
  line-height: 1.75;
  background-color: var(--body_bg);
}
@media screen and (max-width: 640px) {
  body {
    font-size: 0.875rem;
  }
}

/*--------------------------------------------------------------
# Headings
--------------------------------------------------------------*/
h1 {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.33;
  text-align: center;
}
@media screen and (max-width: 640px) {
  h1 {
    font-size: 1rem;
  }
}

h2 {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  text-align: center;
}

.content :where(h2) {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.33;
}
@media screen and (max-width: 640px) {
  .content :where(h2) {
    font-size: 1rem;
  }
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  text-align: center;
}

/*--------------------------------------------------------------
# Paragraphs
--------------------------------------------------------------*/
p {
  margin-top: 0;
  margin-bottom: 1.25em;
}
p:empty {
  margin-block: 0;
}
p:last-child {
  margin-bottom: 0;
}
p:first-child {
  margin-top: 0;
}

b,
strong {
  font-weight: 600;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
:where(a) {
  transition: 0.3s;
}

:where(a:not([class])) {
  color: var(--accent_hover);
}

:where(a[class]) {
  color: var(--main_font);
  text-decoration: none;
}

:where(a:not([class]):hover) {
  text-decoration: none;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button {
  background-color: transparent;
  border: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  transition: 0.3s;
  cursor: pointer;
}
@media screen and (max-width: 640px) {
  .button {
    white-space: unset;
  }
}
.button:focus {
  outline: none;
}
.button:disabled {
  color: #a4aeb9;
  background-color: #e4e8ec;
  cursor: not-allowed;
}
.button--accent {
  color: var(--accent_font);
  background-color: var(--accent);
}
.button--accent:hover {
  background-color: var(--accent_hover);
}
.button--black {
  color: #fff;
  background-color: var(--accent_dark);
}
.button--black:hover {
  background-color: var(--accent_dark_hover);
}
.button--gray {
  font-weight: 400;
  color: var(--main_font);
  background-color: var(--bg_gray);
}
.button--gray .button__label {
  opacity: 0.7;
}
.button--gray:hover {
  background-color: var(--bg_light);
}

.dark .button--black {
  color: #000;
}

/* ## Cross */
.cross {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cross:before, .cross:after {
  content: "";
  width: 1px;
}
.cross:before {
  transform: rotate(45deg);
}
.cross:after {
  transform: rotate(-45deg);
}

/*--------------------------------------------------------------
# Scroll button
--------------------------------------------------------------*/
.scroll-button {
  position: fixed;
  right: 25px;
  bottom: 40px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  width: 35px;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .scroll-button {
    display: none;
  }
}
.scroll-button__up, .scroll-button__down {
  margin-top: 5px;
  margin-bottom: 5px;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}
.scroll-button__up:hover, .scroll-button__down:hover {
  opacity: 1;
}
.scroll-button__up svg, .scroll-button__down svg {
  display: block;
  margin: auto;
  width: 14px;
  height: 16px;
}
.scroll-button__middle {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.5;
}

/*--------------------------------------------------------------
# Grid and Container
--------------------------------------------------------------*/
:root {
  --global_padding: 2vw;
  --shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.2);
}
@media screen and (max-width: 1024px) {
  :root {
    --global_padding: 1vw;
  }
}
@media screen and (max-width: 640px) {
  :root {
    --global_padding: 0;
  }
}

.light {
  --bg_white: #fff;
  --accent_dark: #3f464c;
  --accent_dark_hover: #2a2e33;
  --border: var(--accent);
  --p: 76.8041% 0.172808 124.015304;
  --a: 92.3001% 0.098939 122.933437;
  --bc: 39.003% 0.013733 243.956151;
  --b2: 39.003% 0.013733 243.956151;
  --pc: 95.466% 0.05276 115.468597;
  background-color: var(--bg_white);
}

.dark {
  --bg_white: #202020;
  --accent_dark: #b3b5b8;
  --accent_dark_hover: #9b9d9f;
  --border: #666b66;
  --p: 70.5723% 0.068132 120.478517;
  --a: 26.4918% 0.012574 150.15215;
  --bc: 100% 0 0;
  --b2: 77.1604% 0.00544 247.89528;
  --pc: 34.3545% 0.007487 153.50237;
  background-color: var(--bg_dark);
}

.body--no-scroll {
  overflow: hidden;
}

.site-body {
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: auto !important;
}
@media screen and (min-width: 2000px) {
  .site-body {
    background-size: cover !important;
  }
}

.site-container {
  position: relative;
}
@media screen and (max-width: 1480px) {
  .site-container {
    overflow: hidden;
  }
}
.site-container__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-height: 100vh;
  width: 936px;
  max-width: 100%;
}
@media screen and (max-width: 1380px) {
  .site-container__wrapper {
    padding-inline: var(--global_padding);
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .site-container__wrapper {
    overflow: hidden;
  }
}

/* ## Main */
.site-main {
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}

/* ## Section */
.section {
  padding: 2.5rem 5rem;
}
@media screen and (max-width: 1024px) {
  .section {
    padding: 2.5rem 1.5rem;
  }
}
@media screen and (max-width: 640px) {
  .section {
    padding: 1.5rem 1rem;
  }
}
.section--bg-1 {
  background-color: var(--bg_white);
}
.section--bg-2 {
  background-color: var(--bg_light);
}

/*--------------------------------------------------------------
# Overlay
--------------------------------------------------------------*/
.site-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -9;
  background-color: #000;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in;
  pointer-events: none;
}
.site-overlay--active {
  z-index: 9;
  visibility: visible;
  opacity: 0.7;
  pointer-events: auto;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* ## Loader */
.loader {
  display: none;
  position: absolute;
  z-index: 99;
}
.loader--bg {
  margin: var(--margin);
  width: calc(100% - var(--margin) * 2);
  height: calc(100% - var(--margin) * 2);
  background-color: rgba(240, 245, 249, 0.5);
  border-radius: var(--radius);
}
.loader:after {
  content: "";
  position: absolute;
  top: calc(50% - var(--width) / 1.5);
  left: calc(50% - var(--width) / 1.5);
  display: block;
  width: var(--width);
  height: var(--width);
  margin: 8px;
  border-radius: 50%;
  border: var(--size) solid var(--accent);
  border-color: var(--accent) transparent var(--accent) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

:where(.loader) {
  --size: 6px;
  --width: 64px;
}

:where(.loader--bg) {
  --margin: 0px;
  --radius: 0;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ## Search */
.search-form {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 3rem;
  background-color: var(--bg_light);
  box-shadow: var(--shadow);
  border-radius: 0.5rem;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  .search-form {
    height: 2.5rem;
  }
}
.search-form:focus-within {
  box-shadow: none;
  border-color: oklch(var(--bc)/0.2);
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: oklch(var(--bc)/0.2);
}
.search-form__input {
  position: relative;
  flex-grow: 1;
}
.search-form__input-control {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  color: var(--main_font);
  line-height: 1.5rem;
  background-color: transparent;
  border: 0;
}
.search-form__input-control:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.search-form__input-control::placeholder {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--main_font);
  text-overflow: ellipsis;
  opacity: 0.6;
  transition: opacity ease 0.3s;
}
.search-form__input-control:focus::placeholder {
  opacity: 0;
}
.search-form__submit {
  align-self: stretch;
  padding: 0;
  box-shadow: none;
}
.search-form__submit-icon {
  fill: oklch(var(--bc)/1);
  opacity: 0.7;
  transition: 0.3s;
}
.search-form__submit:hover .search-form__submit-icon {
  fill: var(--accent);
}
.search-form__loader {
  --size: 2px;
  --width: 20px;
  right: 15px;
  top: 15px;
}

.dark .search-form {
  background-color: #414141;
  border: 1px solid var(--border);
}

/* ### Search ajax */
.ajax-search {
  position: relative;
  border-radius: 10px;
}
.ajax-search__cross {
  display: flex;
  align-items: center;
  justify-content: center;
  stroke: var(--accent);
  cursor: pointer;
}
.ajax-search__results {
  position: absolute;
  left: 0;
  z-index: 1;
  padding: 10px;
  width: 100%;
  background-color: var(--bg_white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-20px);
  pointer-events: none;
}
.ajax-search__results--visible {
  opacity: 1;
  visibility: visible;
  overflow: unset;
  transform: translateY(0);
  pointer-events: auto;
}
.ajax-search__results-inner {
  max-height: 300px;
  overflow-y: scroll;
}
.ajax-search__results-inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.ajax-search__results-inner::-webkit-scrollbar-button {
  display: none;
}
.ajax-search__results-inner::-webkit-scrollbar-corner {
  background: transparent;
}
.ajax-search__results-inner::-webkit-scrollbar-track {
  background-color: var(--bg_gray);
}
.ajax-search__results-inner::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.ajax-search__results-inner::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--bg_gray), 0.7);
}
.ajax-search__results-inner::-webkit-resizer {
  display: none;
}
.ajax-search__results-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 5px;
  background-color: transparent;
  border-radius: 3px;
  transition: background-color 0.3s;
}
.ajax-search__results-item:not(:last-child) {
  border-bottom: 1px solid oklch(var(--bc)/0.1);
}
.ajax-search__results-item:hover {
  background-color: var(--bg_gray);
}
.ajax-search__results-image {
  display: flex;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 3px;
  overflow: hidden;
  transition: background-color 0.3s;
}
.ajax-search__results-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: darken;
}
.ajax-search__results-item:hover .ajax-search__results-image {
  background-color: var(--bg_light);
}
.ajax-search__results-title {
  font-size: 14px;
  color: var(--main_font);
  line-height: 1.3;
}
.ajax-search__results-highlight {
  color: var(--accent);
}
.ajax-search__results-none {
  padding: 5px;
  font-size: 14px;
  color: var(--main_font);
}

/* ## Season */
.seasons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.seasons__load-more {
  display: flex;
  justify-content: center;
}

.season {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.season:not(:last-child) {
  padding-bottom: 1rem;
  border-bottom: 1px solid oklch(var(--bc)/0.1);
}
.season__link:hover {
  color: var(--accent);
}
.season__subtitle {
  margin-top: 0;
}
.season__episodes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media screen and (max-width: 640px) {
  .season__episodes {
    gap: 0.5rem;
  }
}
.season__episode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.5rem;
  min-width: 7rem;
  font-weight: 700;
  transition: 0.3s;
}
@media screen and (max-width: 640px) {
  .season__episode {
    min-width: unset;
  }
}
.season__episode:visited {
  color: var(--accent_font);
  background-color: var(--accent);
}
.season__episode:visited:hover {
  background-color: var(--accent_hover);
}

/* ## Reactions */
.reactions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 20px 0;
  padding: 12px 0;
  border-bottom: 1px solid oklch(var(--bc)/0.1);
  border-top: 1px solid oklch(var(--bc)/0.1);
}
.reactions__button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: #727974;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
}
.reactions__button:hover {
  fill: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.reactions__button:hover .reactions__emoji {
  fill: var(--accent);
  transform: scale(1.2);
}
.reactions__button--active .reactions__emoji {
  fill: var(--accent);
  transform: scale(1.2);
}
.reactions__emoji {
  display: flex;
  width: 28px;
  fill: #727974;
  transition: 0.3s;
}
@media screen and (max-width: 640px) {
  .reactions__emoji {
    width: 24px;
  }
}
.reactions__count {
  font-size: 14px;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .reactions__count {
    font-size: 12px;
  }
}

.dark .reactions__button:hover {
  background-color: var(--bg_gray);
}

/* ## Tabs */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.tabs__items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
@media screen and (max-width: 640px) {
  .tabs__items {
    justify-content: center;
  }
}
.tabs__item {
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  cursor: pointer;
}
.tabs__item:hover, .tabs__item--active {
  border-color: var(--accent);
}
.tabs__item:hover .tabs__item-text, .tabs__item--active .tabs__item-text {
  opacity: 1;
}
.tabs__item-text {
  opacity: 0.5;
  transition: 0.3s;
}
.tabs__content {
  display: none;
}
.tabs__content--active {
  display: block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/* ## Lists */
.content ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
  list-style-type: disc;
}
.content ul ul {
  margin: 10px 0;
  padding-left: 30px;
}
.content ul ol {
  margin: 10px 0;
}
.content ul li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-inline-start: 0.375em;
}
.content ul li:last-child {
  margin-bottom: 0;
}

.content ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
  list-style-type: decimal;
}
.content ol > li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-inline-start: 0.375em;
}
.content ol > li:last-child {
  margin-bottom: 0;
}
.content ol ul,
.content ol ol {
  margin: 10px 0 0;
}

/* ## Table */
.post-table {
  margin-block: 30px;
  max-width: 100%;
  border-radius: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.post-table table {
  width: 100%;
  font-size: 14px;
  border: unset;
  border-collapse: collapse;
  border-spacing: 0;
}
.post-table table tbody tr:nth-child(odd) {
  background-color: var(--table_row_bg);
}
.post-table table thead {
  border-bottom: 0;
}
.post-table table thead tr,
.post-table table thead + tbody tr:first-child {
  color: var(--table_header_font);
  background-color: var(--table_header_bg);
}
.post-table table thead + tbody tr:nth-child(even) {
  background-color: var(--table_row_bg);
}
.post-table table thead + tbody tr:nth-child(odd) {
  background-color: var(--bg_light);
}
.post-table table tbody tr:first-child {
  font-weight: 500;
  color: var(--table_header_font);
  background-color: var(--table_header_bg);
}
.post-table table thead + tbody tr:first-child {
  font-weight: 400;
}
.post-table table th {
  font-weight: 500;
}
.post-table table td,
.post-table table th {
  padding: 10px 16px;
  text-align: center;
  border: unset;
}
.post-table table td:first-of-type,
.post-table table th:first-of-type {
  text-align: left;
}
.post-table table tr:first-child td:first-child,
.post-table table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.post-table table tr:first-child td:last-child,
.post-table table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.post-table table tr:last-child td:first-child,
.post-table table tr:last-child th:first-child {
  border-bottom-left-radius: 10px;
}
.post-table table tr:last-child td:last-child,
.post-table table tr:last-child th:last-child {
  border-bottom-right-radius: 10px;
}
.post-table table thead tr:last-child td:first-child,
.post-table table thead tr:last-child th:first-child {
  border-bottom-left-radius: 0;
}
.post-table table thead tr:last-child td:last-child,
.post-table table thead tr:last-child th:last-child {
  border-bottom-right-radius: 0;
}
.post-table table thead + tbody tr:first-child td:first-child,
.post-table table thead + tbody tr:first-child th:first-child {
  border-top-left-radius: 0;
}
.post-table table thead + tbody tr:first-child td:last-child,
.post-table table thead + tbody tr:first-child th:last-child {
  border-top-right-radius: 0;
}

/* ## Video */
.post-video iframe {
  margin-block: 20px;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}
@supports not (aspect-ratio: 1) {
  .post-video {
    position: relative;
    padding: 56.25% 0 0;
    height: 0;
    overflow: hidden;
  }
  .post-video iframe {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

/* ## Images */
.content :where(img) {
  border-radius: 0.5em;
  content-visibility: auto;
}

:where(.aligncenter, .alignleft, .alignright) {
  display: block;
  padding: 0;
}

:where(.alignnone, .aligncenter) {
  margin: 0 auto;
}

:where(.alignright) {
  float: right;
  margin-left: 30px;
}

:where(.alignleft) {
  float: left;
  margin-right: 30px;
}

.wp-caption {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}
.wp-caption :where(img) {
  display: block;
}

.wp-caption-text,
.wp-element-caption {
  font-size: 14px;
  font-weight: 400;
}

@media screen and (max-width: 728px) {
  .alignright:not(.wp-caption),
  .alignleft:not(.wp-caption) {
    display: table;
  }
  .alignright,
  .alignleft {
    float: none;
    margin: 0 auto 30px;
  }
}
/* ## Standard gallery */
.gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-block: 30px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-bottom: 5px;
  text-align: center;
}
.gallery-item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-item a:hover {
  opacity: 0.8;
}

.gallery-icon.landscape {
  height: 100%;
}
.gallery-icon img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-icon:not(:only-child) a {
  border-radius: 20px 20px 0 0;
}

@media screen and (min-width: 768px) {
  .gallery-columns-1 .gallery-item {
    flex-basis: calc(100% - 5px);
  }
  .gallery-columns-2 .gallery-item {
    flex-basis: calc(50% - 5px);
  }
  .gallery-columns-3 .gallery-item {
    flex-basis: calc(33.3333% - 5px);
  }
  .gallery-columns-4 .gallery-item {
    flex-basis: calc(25% - 5px);
  }
  .gallery-columns-5 .gallery-item {
    flex-basis: calc(20% - 5px);
  }
  .gallery-columns-6 .gallery-item {
    flex-basis: calc(16.6667% - 5px);
  }
  .gallery-columns-7 .gallery-item {
    flex-basis: calc(14.2857% - 5px);
  }
  .gallery-columns-8 .gallery-item {
    flex-basis: calc(12.5% - 5px);
  }
  .gallery-columns-9 .gallery-item {
    flex-basis: calc(11.1111% - 5px);
  }
}
@media screen and (max-width: 768px) {
  .gallery-item {
    flex-basis: calc(50% - 5px);
  }
}
@media screen and (max-width: 400px) {
  .gallery-item {
    flex-basis: calc(100% - 5px);
  }
}
/* ## Blockquote, blocks */
blockquote {
  margin: 30px 0;
  padding: 30px 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  blockquote {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.site-header__main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.site-header__menu {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1.5rem 2rem;
  background-image: linear-gradient(180deg, var(--gradient_1), var(--gradient_2));
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
@media screen and (min-width: 1025px) {
  .site-header__menu {
    margin-left: -10px;
    width: calc(100% + 20px);
    border-radius: 10px;
  }
}
@media screen and (max-width: 640px) {
  .site-header__menu {
    gap: 10px;
    padding: 1rem;
    border-radius: 0;
  }
}
.site-header__search {
  width: 50%;
}
@media screen and (max-width: 1024px) {
  .site-header__search {
    flex-grow: 1;
  }
}

/* ## Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo__tagline {
  font-family: -apple-system, Helvetica Neue, Roboto, Baskerville, Arial, sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 25px;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .logo__tagline {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 640px) {
  .logo__image {
    max-width: 90%;
  }
}

.dark .logo {
  color: #aaa;
}

/* ## Color schemes */
.color-schemes {
  position: relative;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
}
@media screen and (max-width: 640px) {
  .color-schemes {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.color-schemes__item {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-grid;
  place-content: center;
  width: 100%;
  height: 100%;
  fill: var(--main_font);
  background-color: var(--bg_light);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.3s;
  cursor: pointer;
}
.color-schemes__item:hover {
  fill: var(--accent_font);
  background-color: var(--gradient_1);
}
.color-schemes__item--active {
  z-index: -1;
  opacity: 0;
  transform: rotate(45deg);
}
.color-schemes__icon {
  opacity: 0.5;
}
@media screen and (max-width: 640px) {
  .color-schemes__icon {
    width: 18px;
  }
}

/* ## Social */
.social {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
@media screen and (max-width: 375px) {
  .social {
    display: none;
  }
}
.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  fill: var(--main_font);
  background-color: var(--bg_light);
  box-shadow: var(--shadow);
  border-radius: 50%;
}
@media screen and (max-width: 640px) {
  .social__link {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.social__link:hover {
  fill: var(--accent_font);
  background-color: var(--gradient_1);
}
.social__icon {
  opacity: 0.5;
}
@media screen and (max-width: 640px) {
  .social__icon {
    width: 18px;
  }
}

/* ## Menu */
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  position: relative;
  margin-top: 0.75rem;
  margin-bottom: 4rem;
  padding: 0.75rem;
  text-align: center;
  background-color: var(--bg_light);
  border-radius: 0.5rem;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 640px) {
  .site-footer {
    margin-bottom: 1rem;
  }
}

.dark .site-footer {
  background-color: var(--bg_white);
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.header-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.header-card__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 5.25rem 1.25rem 7rem;
  border-radius: 0.5rem;
  background-color: var(--bg_light);
  border: 1px solid var(--border);
}
@media screen and (max-width: 640px) {
  .header-card__main {
    padding: 1rem 0.5rem;
  }
}
.header-card__image {
  position: absolute;
  display: flex;
  flex-shrink: 0;
  left: -1rem;
}
@media screen and (max-width: 640px) {
  .header-card__image {
    position: initial;
  }
}
.header-card__src {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
@media screen and (max-width: 640px) {
  .header-card__src {
    width: 60px;
    height: 60px;
  }
}
.header-card__title {
  margin: 0;
  font-family: Verdana;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
}
@media screen and (max-width: 640px) {
  .header-card__title {
    font-size: 14px;
  }
}
.header-card__rating {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 55px;
  height: 43px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  background-color: var(--bg_white);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}
@media screen and (max-width: 640px) {
  .header-card__rating {
    position: initial;
    width: 45px;
    height: 35px;
    font-size: 13px;
  }
}
.header-card__tag {
  display: flex;
  justify-content: center;
  padding-left: 50px;
}
@media screen and (max-width: 640px) {
  .header-card__tag {
    padding-left: 0;
  }
}
.header-card__tag-text {
  position: relative;
  display: inline-block;
  padding: 3px 14px 3px 14px;
  font: 14px/1.4 normal verdana, sans-serif;
  background-color: var(--bg_light);
  border: 1px solid var(--border);
  border-top-color: transparent;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.header-card__tag-text:before, .header-card__tag-text:after {
  content: "";
  position: absolute;
  top: -4px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: var(--bg_light);
  border: 1px solid var(--border);
}
.header-card__tag-text:before {
  left: -4px;
}
.header-card__tag-text:after {
  right: -4px;
}

.dark .header-card__tag-text {
  color: rgba(255, 255, 255, 0.5);
}

/* ## Content */
.content__title {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.5em;
  font-weight: 700;
  color: oklch(var(--bc)/1);
  line-height: 1.3333333;
}

/* ## Pagination */
.episode-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 1.25rem;
}
@media screen and (max-width: 640px) {
  .episode-pagination__button {
    min-width: unset;
    font-size: 14px;
  }
}
.episode-pagination__short {
  display: none;
}
@media screen and (max-width: 640px) {
  .episode-pagination__short {
    display: flex;
  }
}
@media screen and (max-width: 640px) {
  .episode-pagination__full {
    display: none;
  }
}

/* ## Player */
.player {
  position: relative;
  display: flex;
  width: 100%;
  max-height: 80vh;
  background-color: var(--bg_dark);
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16/9;
}
@supports not (aspect-ratio: 16/9) {
  .player::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}
.player__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}
.player__info {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: var(--accent_font);
}
.player__info--error {
  color: #ff8574;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0.2rem 5rem;
  background-color: var(--bg_gray);
  border-bottom: 1px solid var(--accent);
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .breadcrumbs {
    padding: 0.2rem 1.5rem;
  }
}
@media screen and (max-width: 640px) {
  .breadcrumbs {
    padding: 0.2rem 1rem;
  }
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
@media screen and (max-width: 640px) {
  .breadcrumbs__item {
    font-size: 13px;
  }
}
.breadcrumbs__link {
  color: var(--accent_hover);
}
.breadcrumbs__link:hover {
  text-decoration: underline;
}
.breadcrumbs__last {
  opacity: 0.7;
}

.dark .breadcrumbs {
  border-color: #313131;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comments {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.comments__title {
  margin-bottom: 1.5rem;
  font-size: 1.5em;
}
@media screen and (max-width: 640px) {
  .comments__title {
    margin-bottom: 1rem;
  }
}
.comments__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.comments__respond {
  padding: 1.5rem;
  background-color: var(--bg_gray);
  border-radius: 8px;
}
@media screen and (max-width: 640px) {
  .comments__respond {
    padding: 1rem;
  }
}
.comments__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comments__group {
  display: flex;
  border-radius: 0.5rem;
}
.comments__group:focus-within {
  box-shadow: none;
  border-color: oklch(var(--bc)/0.2);
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 2px;
  outline-color: oklch(var(--bc)/0.2);
}
.comments__control {
  padding: 1rem;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  color: var(--main_font);
  line-height: 1.5rem;
  background-color: var(--bg_white);
  border: 1px solid oklch(var(--bc)/0.2);
  border-radius: 0.5rem;
}
.comments__control:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.comments__control::placeholder {
  font-size: 1rem;
  color: var(--main_font);
  line-height: 1.5rem;
  text-overflow: ellipsis;
  opacity: 0.6;
  transition: opacity ease 0.3s;
}
.comments__control:focus::placeholder {
  opacity: 0;
}
.comments__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.comments__cancel:hover {
  text-decoration: underline;
}
.comments__button {
  height: 50px;
  width: 250px;
}
@media screen and (max-width: 640px) {
  .comments__button {
    width: 100%;
  }
}

.dark .comments__respond {
  background-color: var(--bg_light);
}
.dark .comments__control {
  background-color: #414141;
  border: 1px solid var(--border);
}

/* ## Avatars */
.comment-avatar-selector {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  padding: 0;
  border: 0;
}
.comment-avatar-selector__legend {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}
.comment-avatar-selector__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.comment-avatar-selector__item {
  display: flex;
  cursor: pointer;
}
.comment-avatar-selector__image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 50%;
  opacity: 0.5;
  transition: 0.3s;
}
.comment-avatar-selector__image:hover {
  opacity: 1;
}
.comment-avatar-selector__radio {
  display: none;
}
.comment-avatar-selector__radio:checked ~ .comment-avatar-selector__image {
  border-color: var(--accent);
  opacity: 1;
}

/* ## Comment */
.comment {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comment .comment {
  margin-left: 2rem;
}
.comment__container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1rem 1rem 5rem;
  background-color: var(--bg_gray);
  border: 1px solid oklch(var(--bc)/0.1);
  border-radius: 0.5rem;
  transition: 0.3s;
}
@media screen and (max-width: 640px) {
  .comment__container {
    padding: 1rem 1rem 1rem 4rem;
  }
}
.comment__container:hover {
  background-color: var(--bg_white);
}
.comment__image {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
@media screen and (max-width: 640px) {
  .comment__image {
    left: 0.5rem;
  }
}
.comment__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.comment__author {
  font-weight: 500;
}
.comment__time {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
@media screen and (max-width: 640px) {
  .comment__content {
    font-size: 0.875rem;
  }
}
.comment__footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.comment__reply {
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.comment__reply-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  stroke: var(--main_font);
  transition: 0.3s;
}
.comment__reply-wrapper:hover {
  color: var(--accent);
  stroke: var(--accent);
}

/* ## Comment rate */
.comment-rate {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.comment-rate__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  stroke: var(--main_font);
  transition: 0.3s;
  cursor: pointer;
}
.comment-rate__button--active, .comment-rate__button:hover {
  color: var(--accent);
  stroke: var(--accent);
}
.comment-rate__button--dislike .comment-rate__icon {
  transform: scale(1, -1);
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
  margin-top: 50px;
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 800px) {
  .pagination .nav-links {
    justify-content: center;
  }
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-size: 16px;
  color: #fff;
  background-color: var(--accent);
  border-radius: 15px;
  fill: #fff;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
  background-color: #000;
}
.pagination .page-numbers.prev {
  transform: scale(-1, 1);
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-info__content {
  margin: 30px auto 0;
}
.error-info__small {
  width: 100%;
  font-size: 14px;
  opacity: 0.5;
}
.error-info__description {
  display: flex;
  align-items: center;
}
.error-info__description-num {
  font-size: 320px;
  font-weight: 700;
  color: var(--bg_gray);
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  .error-info__description-num {
    font-size: 28vw;
  }
}
@media screen and (max-width: 768px) {
  .error-info__description-num {
    margin-right: 20px;
  }
}
@media screen and (max-width: 480px) {
  .error-info__description-num {
    margin-right: 0;
  }
}
/*# sourceMappingURL=main.css.map */
