:root {
  --color-background: #fdfcfc;
  --color-surface: #f5f5f5;
  --color-surface-strong: #f1f1f1;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-strong: #14141e;
  --color-text-body: #18191b;
  --color-text-muted: #666666;
  --color-text-subtle: #999999;
  --color-primary: #4e47ea;
  --color-accent: #ff54c8;
  --color-button-background: #4e47ea;
  --color-button-text: #ffffff;
  --background-button: var(--color-button-background);
  --color-tag-background: #f2e2fc;
  --color-tag-text: #8e4ec6;
  --color-search: #8785ab;
  --color-search-border: #4e47ea;
  --background-search-border: var(--color-search-border);
  --color-card-link: #4e47ea;
  --color-card-title-hover: #4e47ea;
  --color-single-title: #14141e;
  --background-single-title: none;
  --single-title-text-fill: var(--color-single-title);
  --color-hero-title: #14141e;
  --background-hero-title: none;
  --hero-title-text-fill: var(--color-hero-title);
  --color-hero-text: #18191b;
  --color-hero-dot: #d7d7e3;
  --color-hero-dot-active: #4e47ea;
  --color-most-read-background: #f1f1f1;
  --color-most-read-text: #333333;
  --color-most-read-number: #ff54c8;
  --color-most-read-number-text: #ffffff;
  --color-most-read-link: #4e47ea;
  --color-newsletter-background: #14141e;
  --background-newsletter: var(--color-newsletter-background);
  --color-newsletter-text: #ffffff;
  --color-newsletter-note: #ffe3f6;
  --color-border: #dedede;
  --font-body: "Work Sans", Arial, sans-serif;
  --font-ui: "Raleway", Arial, sans-serif;
  --font-reading: "Roboto", Arial, sans-serif;
  --container-width: 1232px;
  --container-gutter: 24px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --transition-fast: 180ms ease;
  --transition-interactive: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.has-open-menu {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container-width));
  margin-inline: auto;
}

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

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--color-white);
  background: var(--color-text-strong);
  border-radius: 8px;
  white-space: normal;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 65%, white);
  outline-offset: 3px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    filter var(--transition-fast),
    transform var(--transition-fast);
}

.button:hover {
  transform: translateY(-1px);
}

.button__label {
  position: relative;
  z-index: 1;
  transition:
    color var(--transition-fast),
    -webkit-text-fill-color var(--transition-fast);
}

.button--primary {
  color: var(--color-button-text);
  background: var(--background-button);
}

.button--primary:hover {
  filter: brightness(0.92);
}

.button--outline {
  overflow: hidden;
  color: var(--color-button-background);
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--background-button) border-box;
  border-color: transparent;
}

.button--outline::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  background: var(--background-button);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.button--outline:hover {
  color: var(--color-button-text);
}

.button--outline:hover::before {
  opacity: 1;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .button--outline .button__label,
  .topic-filter__link .button__label,
  .page-numbers .button__label {
    color: transparent;
    background: var(--background-button);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .button--outline:hover .button__label,
  .topic-filter__link:hover .button__label,
  .topic-filter__link.is-active .button__label,
  .page-numbers:hover .button__label,
  .page-numbers.current .button__label {
    color: var(--color-button-text);
    -webkit-text-fill-color: var(--color-button-text);
  }
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--color-card-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.text-link:hover {
  color: color-mix(in srgb, var(--color-card-link) 80%, black);
}

/* Header */
.header {
  position: relative;
  z-index: 100;
  height: 98px;
  background: var(--color-white);
}

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

.header__brand,
.footer__brand {
  flex: 0 0 auto;
  min-width: 0;
}

.custom-logo-link {
  display: block;
  width: fit-content;
  line-height: 0;
}

.custom-logo {
  width: auto;
  max-width: 45px;
  object-fit: contain;
}

.header__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-strong);
  font-family: var(--font-ui);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.header__brand-mark {
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle at 30% 30%, var(--color-accent) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--color-primary) 15%, var(--color-accent) 100%);
  border-radius: 10px 16px 10px 16px;
  transform: rotate(-10deg);
}

.header__nav {
  display: block;
}

.header__menu,
.footer__menu,
.footer__social-list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header__menu {
  gap: 32px;
  font-family: var(--font-ui);
  font-weight: 500;
}

.header__menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  transition: color var(--transition-interactive);
}

.header__menu a:hover,
.header__menu .current-menu-item > a,
.header__menu .current-menu-parent > a,
.header__menu .current-menu-ancestor > a,
.header__menu .current_page_item > a,
.header__menu .current_page_parent > a,
.header__menu .current_page_ancestor > a,
.header__menu .current-post-ancestor > a,
.header__menu a[aria-current="page"] {
  color: var(--color-primary);
}

.header__menu > li:last-child > a {
  min-height: 51px;
  padding: 12px 32px;
  color: var(--color-button-text);
  background: var(--background-button);
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: filter var(--transition-interactive);
}

.header__menu > li:last-child > a:hover,
.header__menu > li:last-child > a:focus-visible {
  color: var(--color-button-text);
  filter: brightness(0.92);
}

.header__toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header__toggle img {
  position: absolute;
  width: 32px;
  height: 32px;
  transition: opacity var(--transition-interactive);
}

.header__toggle-icon--close {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-icon--open {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-icon--close {
  opacity: 1;
}

/* Homepage hero */
.hero {
  position: relative;
  overflow: clip;
  background: var(--color-surface);
}

.hero__slide[hidden] {
  display: none;
}

.hero__inner {
  display: grid;
  min-height: 572px;
  grid-template-columns: minmax(0, 558px) minmax(0, 608px);
  gap: 66px;
  align-items: center;
  padding-block: 80px;
}

.hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

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

.hero__tags a {
  padding: 6px 16px;
  color: var(--color-tag-text);
  background: var(--color-tag-background);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.hero__title {
  /* Keep the gradient painted past the glyph edge without changing the text measure. */
  box-sizing: content-box;
  max-width: 365px;
  padding-inline-end: 0.12em;
  margin-inline-end: -0.12em;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  color: var(--color-hero-title);
  font-size: clamp(40px, 3.35vw, 48px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.2;
  text-wrap: wrap;
  text-shadow: 0 0 15px rgb(0 0 0 / 5%);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero__title {
    color: var(--hero-title-text-fill);
    background: var(--background-hero-title);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--hero-title-text-fill);
  }
}

.hero .button {
  min-width: 169px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__excerpt {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--color-hero-text);
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero__visual {
  position: relative;
  min-width: 0;
  container-type: inline-size;
}

.hero__media {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 608 / 344;
  border-radius: var(--radius-lg);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__ghost,
.hero__ghost-shadow {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero__ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
}

.hero__ghost img {
  display: block;
  flex: none;
  object-fit: fill;
  transform: rotate(var(--ghost-rotation, 0deg));
}

.hero__ghost--small {
  --ghost-rotation: -15deg;
  top: -93px;
  left: 500px;
  width: 183.23px;
  height: 220.53px;
  top: -15.296cqw;
  left: 82.237cqw;
  width: 30.136cqw;
  height: 36.271cqw;
}

.hero__ghost--small img {
  width: 138.46px;
  height: 191.21px;
  width: 22.773cqw;
  height: 31.448cqw;
}

.hero__ghost--large {
  --ghost-rotation: 15deg;
  top: 148.58px;
  left: 440.41px;
  width: 287.88px;
  height: 305.92px;
  top: 24.437cqw;
  left: 72.436cqw;
  width: 47.348cqw;
  height: 50.315cqw;
}

.hero__ghost--large img {
  width: 229.66px;
  height: 255.17px;
  width: 37.772cqw;
  height: 41.969cqw;
}

.hero__ghost-shadow {
  display: block;
  z-index: 2;
  top: 386.5px;
  left: 505.5px;
  width: 134px;
  height: 30px;
  top: 63.569cqw;
  left: 83.141cqw;
  width: 22.039cqw;
  height: 4.934cqw;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero__ghost,
  .hero__ghost-shadow {
    will-change: transform;
  }
}

@supports not (width: 1cqw) {
  @media (max-width: 1100px) {
    .hero__ghost,
    .hero__ghost-shadow {
      display: none;
    }
  }
}

.hero__pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 0;
}

.hero__pagination button {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero__pagination button::after {
  position: absolute;
  inset: -7px;
  content: "";
}

.hero__pagination button span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-hero-dot);
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.hero__pagination button:hover span,
.hero__pagination button[aria-current="true"] span {
  background: var(--color-hero-dot-active);
}

.hero__pagination button:focus-visible {
  outline-offset: 5px;
}

/* Articles */
.articles {
  padding-block: 56px 40px;
}

.articles__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.articles__heading h2,
.most-read h2,
.archive-layout h1 {
  margin-bottom: 0;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.articles__title-mobile {
  display: none;
}

.articles__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topic-filter {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 16px;
  /* Accommodate the expanded hit area without creating a vertical scroll range. */
  padding-block: 2px;
  margin-block: -2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.topic-filter::-webkit-scrollbar {
  display: none;
}

.topic-filter__link {
  position: relative;
  display: inline-flex;
  min-height: 53px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 12px 32px;
  color: var(--color-button-background);
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--background-button) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--transition-interactive);
}

.topic-filter__link::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  background: var(--background-button);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.topic-filter__link::after {
  position: absolute;
  inset: -2px 0;
  content: "";
}

.topic-filter__link:hover,
.topic-filter__link.is-active {
  color: var(--color-button-text);
}

.topic-filter__link:hover::before,
.topic-filter__link.is-active::before {
  opacity: 1;
}

.article-search {
  display: flex;
  width: 244px;
  min-width: 244px;
  height: 53px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--background-search-border) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
}

.article-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 4px 0 16px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  font-weight: 500;
  outline: 0;
}

.article-search input::placeholder {
  color: var(--color-search);
  opacity: 1;
}

.article-search button {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.article-search button img {
  display: none;
}

.article-search button::before {
  width: 18px;
  height: 18px;
  background: var(--color-search);
  content: "";
  -webkit-mask: url("../images/search.svg") center / contain no-repeat;
  mask: url("../images/search.svg") center / contain no-repeat;
}

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

.post-card {
  min-width: 0;
}

.post-card__link {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
}

.post-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 400 / 226;
  background: var(--color-surface-strong);
  border-radius: var(--radius-lg);
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.post-card__link:focus-visible .post-card__image {
  transform: scale(1.04);
}

@media (hover: hover) {
  .post-card__link:hover .post-card__image {
    transform: scale(1.04);
  }
}

.post-card__link:focus-visible {
  outline-offset: 5px;
}

.post-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--color-text-subtle);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.post-card__category {
  color: var(--color-text);
  font-weight: 700;
}

.post-card__title {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
}

.post-card__title {
  transition: color var(--transition-fast);
}

.post-card__link:focus-visible .post-card__title {
  color: var(--color-card-title-hover);
}

@media (hover: hover) {
  .post-card__link:hover .post-card__title {
    color: var(--color-card-title-hover);
  }
}

.post-card__excerpt {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.articles__more {
  display: flex;
  width: min(400px, 100%);
  margin: 40px auto 0;
}

.articles__empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.articles__empty h3,
.articles__empty h2 {
  margin-bottom: 8px;
}

.articles__empty p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* Most read */
.most-read {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 64px;
  color: var(--color-most-read-text);
  background: var(--color-most-read-background);
}

.most-read > .container {
  position: relative;
  z-index: 1;
}

.most-read__spotlight {
  position: absolute;
  z-index: 0;
  top: -565px;
  right: -522px;
  width: 1000px;
  max-width: none;
  height: 1000px;
  pointer-events: none;
  user-select: none;
}

.most-read h2 {
  margin-bottom: 32px;
  color: var(--color-most-read-text);
}

.most-read__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.popular-card {
  min-width: 0;
}

.popular-card__link {
  display: grid;
  height: 100%;
  min-width: 0;
  grid-template-columns: auto 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-right: 13px;
  transition: opacity var(--transition-fast);
}

.popular-card__link:focus-visible {
  opacity: 0.72;
  outline-offset: 5px;
}

@media (hover: hover) {
  .popular-card__link:hover {
    opacity: 0.72;
  }
}

.popular-card + .popular-card {
  border-left: 1px solid var(--color-border);
}

.popular-card + .popular-card .popular-card__link {
  padding-left: 13px;
}

.popular-card__number {
  display: inline-flex;
  min-width: 32px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--color-most-read-number-text);
  background: var(--color-most-read-number);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.popular-card__media {
  display: block;
  width: 104px;
  height: 103px;
  overflow: hidden;
  background: #cce9ff;
  border-radius: var(--radius-lg);
}

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

.popular-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.popular-card__title {
  margin-bottom: 0;
  color: var(--color-most-read-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.popular-card .text-link {
  color: var(--color-most-read-link);
  font-size: 14px;
}

/* Newsletter */
.newsletter {
  color: var(--color-newsletter-text);
  background: var(--background-newsletter);
}

.newsletter__inner {
  display: flex;
  min-height: 494px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-block: 80px;
  text-align: center;
}

.newsletter__title {
  max-width: 816px;
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.newsletter__form-slot,
.newsletter__form-slot .wpcf7 {
  width: min(705px, 100%);
}

.newsletter__form-slot .wpcf7-form {
  width: 100%;
}

.newsletter__form,
.newsletter__form-slot .wpcf7-form > p {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 420px) minmax(180px, 269px);
  gap: 16px;
}

.newsletter__form-slot .wpcf7-form > p {
  position: relative;
  margin: 0;
}

.newsletter__form-slot .wpcf7-form > p > br {
  display: none;
}

.newsletter__field,
.newsletter__submit {
  min-width: 0;
}

.newsletter__field .wpcf7-form-control-wrap,
.newsletter__field .wpcf7-email,
.newsletter__form-slot .wpcf7-form-control-wrap,
.newsletter__form-slot .form-control {
  display: block;
  width: 100%;
}

.newsletter__form-slot .wpcf7-form-control-wrap {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.newsletter__field .wpcf7-email,
.newsletter__submit .wpcf7-submit,
.newsletter__form-slot .form-control,
.newsletter__form-slot .btn {
  width: 100%;
  height: 56px;
  min-height: 56px;
  border-radius: 24px;
}

.newsletter__field .wpcf7-email,
.newsletter__form-slot .form-control {
  min-width: 0;
  padding: 0 16px;
  color: var(--color-newsletter-text);
  background: color-mix(in srgb, var(--color-newsletter-text) 20%, transparent);
  border: 1px solid var(--color-newsletter-text);
  font-family: var(--font-ui);
  font-size: 16px;
  font-feature-settings: "lnum" 1, "pnum" 1;
  font-weight: 500;
  line-height: 1.2;
}

.newsletter__field .wpcf7-email::placeholder,
.newsletter__form-slot .form-control::placeholder {
  color: var(--color-newsletter-text);
  opacity: 1;
}

.newsletter__submit {
  position: relative;
}

.newsletter__submit .wpcf7-submit,
.newsletter__form-slot .btn {
  padding: 0 24px;
  color: var(--color-text-body);
  background: var(--color-newsletter-text);
  border: 1px solid var(--color-newsletter-text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: normal;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    filter var(--transition-fast),
    opacity var(--transition-fast);
}

.newsletter__form-slot .btn {
  grid-column: 2;
  grid-row: 1;
}

.newsletter__submit .wpcf7-submit:hover,
.newsletter__form-slot .btn:hover {
  color: var(--color-button-text);
  background: var(--background-button);
}

.newsletter__submit .wpcf7-submit:active,
.newsletter__form-slot .btn:active {
  filter: brightness(0.92);
}

.newsletter__form-slot .wpcf7-form.submitting .btn,
.newsletter__form-slot .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.newsletter__submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 16px;
  margin: 0;
  transform: translateY(-50%);
}

.newsletter__form-slot .wpcf7-form > p > .wpcf7-spinner {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  margin: 0 16px 0 0;
}

.newsletter__form-slot .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: var(--color-newsletter-note);
  font-size: 14px;
  text-align: left;
}

.newsletter__form-slot .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding: 12px 16px;
  color: var(--color-newsletter-text);
  border-radius: var(--radius-md);
  font-size: 14px;
  text-align: left;
}

.newsletter__note {
  max-width: 608px;
  margin-bottom: 0;
  color: var(--color-newsletter-note);
  font-size: 14px;
  line-height: 1.5;
}

.newsletter__setup {
  width: min(705px, 100%);
  margin-bottom: 0;
  padding: 16px;
  color: var(--color-newsletter-note);
  border: 1px dashed color-mix(in srgb, var(--color-newsletter-text) 50%, transparent);
  border-radius: var(--radius-md);
  font-size: 14px;
}

/* Footer */
.footer {
  background: var(--color-white);
}

.footer__top {
  position: relative;
  display: flex;
  min-height: 133px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer__divider {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--color-border);
}

.footer__menu {
  gap: 48px;
}

.footer__menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer__menu a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer__copyright {
  margin-bottom: 0;
}

.footer__social-list {
  gap: 16px;
}

.footer__social-list a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.footer__social-list a:hover {
  background: color-mix(in srgb, var(--color-primary) 82%, black);
  transform: translateY(-2px);
}

/* Generic archive fallback */
.archive-layout {
  padding-block: 72px 96px;
}

.archive-layout__header {
  margin-bottom: 48px;
}

.archive-layout__description {
  max-width: 65ch;
  margin-top: 16px;
  color: var(--color-text-muted);
}

.page-layout__article {
  width: min(1024px, 100%);
  margin-inline: auto;
}

.page-layout__content {
  color: var(--color-text-muted);
}

.not-found__inner {
  display: flex;
  max-width: 640px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.not-found__inner p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.navigation.pagination {
  margin-top: 56px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: 8px 12px;
  color: var(--color-button-background);
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--background-button) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: color var(--transition-interactive);
}

.page-numbers::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  background: var(--background-button);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transition: opacity var(--transition-interactive);
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--color-button-text);
}

.page-numbers.current::before,
.page-numbers:hover::before {
  opacity: 1;
}

/* Single post */
.single-article__top {
  display: flex;
  flex-direction: column;
}

.single-article__back-wrap {
  width: min(1024px, 100%);
  margin: 32px auto 0;
}

.single-article__back {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-reading);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-article__header {
  width: min(1024px, 100%);
  margin: 32px auto 0;
}

.single-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-article__tags a {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 6px 16px;
  color: var(--color-tag-text);
  background: var(--color-tag-background);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.2;
}

.single-article__title {
  display: inline-block;
  box-sizing: content-box;
  width: fit-content;
  max-width: calc(100% - 0.12em);
  padding-inline-end: 0.12em;
  margin: 0;
  margin-inline-end: -0.12em;
  color: var(--color-single-title);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 0 0 15px rgb(0 0 0 / 5%);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .single-article__title {
    color: var(--single-title-text-fill);
    background: var(--background-single-title);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--single-title-text-fill);
  }
}

.single-article__tags + .single-article__title {
  margin-top: 16px;
}

.single-article__featured {
  order: 3;
  width: 100%;
  margin: 40px 0 0;
  overflow: hidden;
  aspect-ratio: 1232 / 608;
  background: var(--color-surface-strong);
  border-radius: var(--radius-lg);
}

.single-article__featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-article__content-wrap {
  width: min(calc(100% - (var(--container-gutter) * 2)), 1024px);
  margin: 40px auto 0;
}

.single-article__content {
  overflow-wrap: break-word;
  color: var(--color-text-muted);
  font-family: var(--font-reading);
  font-size: 16px;
  line-height: 1.5;
}

.single-article__content > * {
  margin-bottom: 0;
}

.single-article__content > * + * {
  margin-top: 32px;
}

.single-article__content > p + p {
  margin-top: 24px;
}

.single-article__content h2,
.single-article__content h3,
.single-article__content h4 {
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.25;
}

.single-article__content h2 {
  font-size: 32px;
}

.single-article__content h3 {
  font-size: 24px;
}

.single-article__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-article__content ul,
.single-article__content ol {
  padding-left: 1.5em;
}

.single-article__content li + li {
  margin-top: 8px;
}

.single-article__content blockquote {
  margin-right: 52px;
  margin-left: 52px;
  padding: 12px 0 0 24px;
  border-left: 5px solid #7c4ee4;
}

.single-article__content blockquote p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 24px;
  font-style: italic;
  line-height: 1.67;
}

.single-article__content blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--color-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

.single-article__content figure,
.single-article__content .wp-block-image {
  width: min(816px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.single-article__content figure.alignwide,
.single-article__content .wp-block-image.alignwide,
.single-article__content figure.alignfull,
.single-article__content .wp-block-image.alignfull {
  width: 100%;
}

.single-article__content figure img,
.single-article__content .wp-block-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.single-article__content figcaption {
  margin-top: 8px;
  color: var(--color-text-subtle);
  font-size: 14px;
  text-align: center;
}

.single-article__content pre,
.single-article__content table {
  max-width: 100%;
  overflow-x: auto;
}

.single-article__content pre {
  padding: 20px;
  color: var(--color-white);
  background: var(--color-text-strong);
  border-radius: var(--radius-md);
}

.single-article__content table {
  width: 100%;
  border-collapse: collapse;
}

.single-article__content th,
.single-article__content td {
  padding: 12px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.single-article__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-related {
  padding-block: 64px 120px;
}

.single-related__title {
  margin-bottom: 40px;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 48px;
  line-height: 1.33;
}

/* Contact page */
.contact-hero {
  position: relative;
  min-height: 572px;
  overflow: hidden;
  background: var(--color-surface);
}

.contact-hero__visual,
.contact-hero__background,
.contact-hero__gradient,
.contact-hero__people,
.contact-hero__picture,
.contact-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__picture {
  display: block;
}

.contact-hero__image {
  object-fit: cover;
}

.contact-hero__background {
  object-fit: cover;
  opacity: 0.3;
}

.contact-hero__gradient {
  background: linear-gradient(90deg, var(--color-surface) 0%, rgb(245 245 245 / 82%) 33%, rgb(245 245 245 / 0%) 72%);
}

.contact-hero__people {
  object-fit: cover;
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 113px;
}

.contact-hero__content {
  display: flex;
  width: 503px;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.contact-hero__tag {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 6px 16px;
  color: var(--color-tag-text);
  background: var(--color-tag-background);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.2;
}

.contact-hero__title {
  display: inline-block;
  box-sizing: content-box;
  width: fit-content;
  max-width: calc(100% - 0.12em);
  padding-inline-end: 0.12em;
  margin-inline-end: -0.12em;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  color: var(--color-hero-title);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 0 0 15px rgb(0 0 0 / 5%);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .contact-hero__title {
    color: var(--hero-title-text-fill);
    background: var(--background-hero-title);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--hero-title-text-fill);
  }
}

.contact-hero__description {
  margin-bottom: 0;
  color: var(--color-text-body);
  font-size: 16px;
  letter-spacing: -0.05em;
  line-height: 1.5;
}

.contact-channels {
  position: relative;
  z-index: 2;
  margin-top: -135px;
  overflow-x: auto;
  scrollbar-width: none;
}

.contact-channels::-webkit-scrollbar {
  display: none;
}

.contact-channels__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 394.6667px));
  gap: 24px;
  justify-content: center;
}

.contact-card {
  display: flex;
  min-width: 0;
  height: 270px;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 3px 1px 22px rgb(124 78 228 / 4%);
  text-align: center;
}

.contact-card__icon {
  display: flex;
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 50%;
}

.contact-card__icon img {
  width: 24px;
  height: 24px;
}

.contact-card__title {
  width: 100%;
  margin: 17px 0 0;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.15;
}

.contact-card__value {
  width: 100%;
  margin: 17px 0 0;
  overflow-wrap: anywhere;
  color: #7a7a7a;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.75;
}

.contact-card__action {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-top: 17px;
  color: var(--color-primary);
  font-family: var(--font-reading);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card__action--disabled {
  color: var(--color-text-subtle);
  text-decoration: none;
}

.contact-faq {
  width: min(calc(100% - (var(--container-gutter) * 2)), 1024px);
  margin: 74px auto 80px;
}

.contact-faq__title {
  margin-bottom: 24px;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 32px;
  line-height: 1.25;
}

.contact-faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--color-white);
  border-radius: 24px;
}

.contact-faq__item {
  border-bottom: 1px solid var(--color-surface-strong);
}

.contact-faq__item:last-child {
  border-bottom: 0;
}

.contact-faq__summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  color: var(--color-text-strong);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  list-style: none;
  cursor: pointer;
}

.contact-faq__summary::-webkit-details-marker {
  display: none;
}

.contact-faq__summary > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-faq__icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: var(--color-primary);
  background: var(--color-surface-strong);
  border-radius: 50%;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.contact-faq__icon::before,
.contact-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: currentcolor;
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.contact-faq__item[open] .contact-faq__icon {
  color: var(--color-white);
  background: var(--color-primary);
}

.contact-faq__item[open] .contact-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.contact-faq__answer {
  padding-bottom: 16px;
  color: #686f8e;
  font-size: 16px;
  letter-spacing: -0.05em;
  line-height: 1.5;
}

.contact-faq__answer p {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  :root {
    --container-width: 880px;
    --container-gutter: 48px;
  }

  .header {
    height: 80px;
  }

  .custom-logo {
    max-width: 154px;
    height: 40px;
  }

  .header__menu {
    gap: 24px;
  }

  .header__menu > li:last-child > a {
    min-height: 43px;
  }

  .hero__inner {
    min-height: 520px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding-block: 80px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__media {
    aspect-ratio: 424 / 320;
  }

  .articles {
    padding-block: 64px;
  }

  .articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .topic-filter {
    gap: 16px;
  }

  .article-search {
    width: 50px;
    min-width: 50px;
    transition:
      width var(--transition-fast),
      min-width var(--transition-fast);
  }

  .article-search input {
    width: 0;
    padding-inline: 0;
    opacity: 0;
    transition:
      width var(--transition-fast),
      padding var(--transition-fast),
      opacity var(--transition-fast);
  }

  .article-search.is-open {
    width: 244px;
    min-width: 244px;
  }

  .article-search.is-open input {
    width: 100%;
    padding-left: 16px;
    opacity: 1;
  }

  .most-read__grid {
    gap: 16px;
  }

  .popular-card__link {
    grid-template-columns: auto 104px minmax(0, 1fr);
    padding-right: 0;
  }

  .popular-card + .popular-card .popular-card__link {
    padding-left: 0;
  }

  .popular-card + .popular-card {
    border-left: 0;
  }

  .newsletter__inner {
    min-height: 439px;
  }

  .footer__top,
  .footer__bottom {
    min-height: 112px;
  }

  .single-article__header {
    margin-top: 32px;
  }

  .single-article__title {
    font-size: 36px;
  }

  .single-article__featured {
    margin-top: 30px;
    aspect-ratio: 880 / 434;
  }

  .single-article__content-wrap {
    width: min(calc(100% - (var(--container-gutter) * 2)), 861px);
    margin-top: 24px;
  }

  .single-article__content blockquote {
    margin-right: 44px;
    margin-left: 44px;
    padding-left: 20px;
    border-left-width: 4px;
  }

  .single-article__content blockquote p {
    font-size: 20px;
  }

  .single-related {
    padding-block: 40px 71px;
  }

  .single-related__title {
    margin-bottom: 24px;
    font-size: 36px;
  }

  .contact-hero {
    min-height: 520px;
  }

  .contact-hero__visual {
    right: auto;
    left: -122px;
    width: 1310px;
  }

  .contact-hero__inner {
    padding-top: 64px;
  }

  .contact-hero__content {
    width: 389px;
  }

  .contact-hero__title {
    font-size: 40px;
  }

  .contact-channels {
    margin-top: -124px;
  }

  .contact-channels__track {
    grid-template-columns: repeat(auto-fit, minmax(0, 282.6667px));
    gap: 16px;
    justify-content: center;
  }

  .contact-card {
    height: 247px;
  }

  .contact-card__title,
  .contact-card__value,
  .contact-card__action {
    margin-top: 10px;
  }

  .contact-faq {
    margin-top: 50px;
    margin-bottom: 56px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-gutter: 24px;
  }

  .header {
    height: 72px;
  }

  .custom-logo {
    max-width: 124px;
    height: 32px;
  }

  .header__brand-link {
    gap: 8px;
    font-size: 20px;
  }

  .header__brand-mark {
    width: 30px;
    height: 30px;
  }

  .header__toggle {
    display: inline-flex;
    margin-right: -6px;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: calc(100dvh - 72px);
    padding: 48px 24px;
    overflow-y: auto;
    visibility: hidden;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity var(--transition-interactive),
      transform var(--transition-interactive),
      visibility var(--transition-interactive);
  }

  .admin-bar .header__nav {
    top: calc(72px + var(--wp-admin--admin-bar--height, 46px));
    min-height: calc(100dvh - 72px - var(--wp-admin--admin-bar--height, 46px));
  }

  .header__nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .header__menu {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .header__menu a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero {
    background: #f4f4f4;
    touch-action: pan-y;
  }

  .hero__inner {
    display: flex;
    min-height: 630px;
    flex-direction: column;
    gap: 24px;
    padding-block: 32px;
  }

  .hero__visual {
    order: -1;
    width: 100%;
  }

  .hero__media {
    width: 100%;
    aspect-ratio: 327 / 200;
  }

  .hero__content {
    width: 100%;
    gap: 16px;
  }

  .hero__title {
    max-width: 260px;
    font-size: 32px;
    letter-spacing: -0.07em;
    text-wrap: wrap;
  }

  .hero .button {
    width: 100%;
    min-height: 51px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .hero__pagination {
    align-self: center;
    margin-top: 8px;
    padding-top: 0;
  }

  .hero__pagination button {
    width: 8px;
    height: 8px;
  }

  .hero__excerpt {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .articles {
    padding-block: 32px;
  }

  .articles__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    grid-template-areas:
      "title search"
      "filters filters";
    gap: 16px 8px;
    margin-bottom: 24px;
  }

  .articles__heading h2,
  .most-read h2,
  .archive-layout h1 {
    font-family: var(--font-ui);
    font-size: 24px;
    line-height: 1.25;
  }

  .articles__heading h2 {
    grid-area: title;
    align-self: center;
    justify-self: start;
    line-height: 28px;
  }

  .articles__title-desktop {
    display: none;
  }

  .articles__title-mobile {
    display: inline;
  }

  .articles__tools {
    display: contents;
  }

  .topic-filter {
    grid-area: filters;
    width: 100%;
    gap: 8px;
  }

  .topic-filter__link {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .article-search {
    grid-area: search;
    width: 50px;
    min-width: 50px;
    height: 50px;
    justify-self: end;
    background: var(--color-background);
    border-width: 0;
    border-radius: 8px;
  }

  .article-search.is-open {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: min(244px, calc(100vw - 48px));
    min-width: min(244px, calc(100vw - 48px));
    background:
      linear-gradient(var(--color-white), var(--color-white)) padding-box,
      var(--background-search-border) border-box;
    border: 1px solid transparent;
  }

  .articles__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-card__link {
    gap: 16px;
    font-family: var(--font-reading);
  }

  .post-card__media {
    aspect-ratio: 327 / 200;
  }

  .post-card__body {
    gap: 12px;
  }

  .post-card__meta,
  .post-card .text-link {
    font-size: 14px;
    line-height: 16px;
  }

  .post-card__title {
    font-size: 20px;
    line-height: 1.3;
  }

  .post-card__excerpt {
    font-size: 14px;
  }

  .articles__more {
    width: 100%;
    min-height: 51px;
    margin-top: 24px;
  }

  .most-read {
    padding-block: 32px;
  }

  .most-read__spotlight {
    top: -395px;
    right: -390px;
    width: 700px;
    height: 700px;
  }

  .most-read h2 {
    margin-bottom: 24px;
  }

  .most-read__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .popular-card__link {
    grid-template-columns: 32px 80px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-block: 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .popular-card:first-child .popular-card__link {
    padding-top: 0;
  }

  .popular-card:last-child .popular-card__link {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .popular-card__number {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: 0;
  }

  .popular-card__media {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
  }

  .popular-card__content {
    gap: 8px;
  }

  .popular-card__title {
    font-family: var(--font-ui);
    line-height: 1.3;
  }

  .newsletter__inner {
    min-height: 419px;
    gap: 24px;
    padding-block: 48px;
  }

  .newsletter__title {
    font-size: 24px;
  }

  .newsletter__form,
  .newsletter__form-slot .wpcf7-form > p {
    grid-template-columns: 1fr;
  }

  .newsletter__form-slot .wpcf7-form-control-wrap,
  .newsletter__form-slot .btn {
    grid-column: 1;
  }

  .newsletter__form-slot .btn {
    grid-row: 2;
  }

  .newsletter__form-slot .wpcf7-form > p > .wpcf7-spinner {
    grid-column: 1;
    grid-row: 2;
  }

  .newsletter__note {
    font-size: 14px;
    line-height: 1.4;
  }

  .footer {
    padding-block: 48px;
  }

  .footer__top,
  .footer__bottom {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
  }

  .footer__top {
    position: static;
    gap: 32px;
  }

  .footer__divider {
    position: static;
    width: 100%;
  }

  .footer__navigation {
    width: 100%;
  }

  .footer__bottom {
    gap: 32px;
    padding-top: 32px;
  }

  .footer__menu {
    gap: 32px;
    justify-content: center;
    font-family: var(--font-ui);
  }

  .footer__menu a {
    min-height: 24px;
  }

  .footer__copyright {
    order: 2;
    font-family: var(--font-ui);
    font-size: 14px;
    text-align: center;
  }

  .footer__social {
    order: 1;
  }

  .archive-layout {
    padding-block: 48px 64px;
  }

  .archive-layout__header {
    margin-bottom: 32px;
  }

  .single-article__back-wrap {
    order: 1;
  }

  .single-article__back {
    font-size: 14px;
  }

  .single-article__header {
    order: 3;
    margin-top: 19px;
  }

  .single-article__tags a {
    min-height: 29px;
    font-size: 12px;
  }

  .single-article__title {
    font-size: 32px;
  }

  .single-article__featured {
    order: 2;
    margin-top: 16px;
    aspect-ratio: 327 / 204;
  }

  .single-article__content-wrap {
    width: calc(100% - 48px);
    margin-top: 8px;
  }

  .single-article__content {
    font-size: 16px;
  }

  .single-article__content > * + * {
    margin-top: 24px;
  }

  .single-article__content h2 {
    font-size: 26px;
  }

  .single-article__content h3 {
    font-size: 22px;
  }

  .single-article__content blockquote {
    margin-right: 0;
    margin-left: 0;
    padding: 8px 0 0 12px;
    border-left-width: 2px;
  }

  .single-article__content blockquote p {
    font-size: 20px;
    line-height: 1.4;
  }

  .single-article__content blockquote cite {
    margin-top: 10px;
    font-size: 14px;
  }

  .single-related {
    padding-block: 24px 80px;
  }

  .single-related__title {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 1.5;
  }

  .contact-hero {
    min-height: 630px;
  }

  .contact-hero__visual {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .contact-hero__background,
  .contact-hero__gradient {
    display: none;
  }

  .contact-hero__people {
    top: 229px;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 401px;
    object-fit: cover;
    object-position: 76% center;
  }

  .contact-hero__visual--custom .contact-hero__picture {
    top: 229px;
    bottom: auto;
    width: 100%;
    height: 401px;
  }

  .contact-hero__visual--custom .contact-hero__image {
    object-position: 76% center;
  }

  .contact-hero__visual--custom .contact-hero__gradient {
    display: none;
  }

  .contact-hero__inner {
    padding-top: 32px;
  }

  .contact-hero__content {
    width: 100%;
    gap: 16px;
  }

  .contact-hero__tag {
    font-size: 14px;
  }

  .contact-hero__title {
    font-size: 32px;
  }

  .contact-channels__track {
    width: max-content;
    max-width: none;
    grid-template-columns: none;
    grid-auto-columns: 282.6667px;
    grid-auto-flow: column;
    justify-content: start;
    margin-right: 0;
    margin-left: 24px;
  }

  .contact-card {
    height: 247px;
  }

  .contact-faq {
    width: calc(100% - 48px);
    margin-top: 50px;
    margin-bottom: 48px;
  }

  .contact-faq__title {
    font-size: 24px;
  }

  .contact-faq__list {
    padding: 32px;
  }

  .contact-faq__summary {
    align-items: center;
    font-size: 20px;
    line-height: 1.1;
  }

  .contact-faq__answer {
    font-size: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
