/*
Theme Name: SahaMediatsiya
Text Domain: sahamediatsiya
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
  --saha-ink: #16355f;
  --saha-ink-soft: #4a5d77;
  --saha-accent: #1f5a93;
  --saha-accent-light: #4f8fe0;
  --saha-shadow: 0 12px 30px rgba(22, 53, 95, 0.12), 0 2px 8px rgba(22, 53, 95, 0.05);
}

body {
  margin: 0;
  overflow-x: hidden;
}

.wp-site-blocks {
  --wp--style--block-gap: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  overflow-x: clip;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

.wp-block-template-part {
  margin: 0 !important;
}

.wp-block-group.alignfull,
.alignfull {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-columns,
.wp-block-post-template,
.wp-block-post {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-group > :where(h1, h2, h3, h4, h5, h6, p, ul, ol) {
  margin-block-start: 0;
  margin-top: 0;
}

.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--saha-accent);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: #2a6ab0;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--saha-accent);
  border: 1px solid rgba(31, 90, 147, 0.4);
  border-radius: 999px;
  text-decoration: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(31, 90, 147, 0.08);
}

.site-header {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 0%, rgba(79, 143, 224, 0.35), transparent 55%),
    linear-gradient(180deg, #1f5a93 0%, #16355f 100%);
  margin: 0 !important;
  padding: 24px 0 24px;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-ornament.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 64px;
  opacity: 0.35;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-white-zigzag.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  opacity: 0.5;
  pointer-events: none;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header__inner {
  gap: 24px;
  min-width: 0;
}

.site-header__brand {
  gap: 12px;
  min-width: 0;
}

.site-header__brand .wp-block-site-title,
.site-header__brand .site-header__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-header__brand .wp-block-site-title a,
.site-header__brand .site-header__title a {
  color: #ffffff;
  text-decoration: none;
}

.site-header__brand .wp-block-site-tagline,
.site-header__brand .site-header__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.site-header__nav {
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.site-header .wp-block-group,
.site-header .wp-block-navigation,
.site-header .wp-block-buttons,
.site-header .wp-block-site-title,
.site-header .wp-block-site-tagline,
.site-header .site-header__title,
.site-header .site-header__tagline,
.site-header .wp-block-site-logo {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.site-header .wp-block-navigation ul {
  margin: 0;
  padding: 0;
  gap: 16px;
}

.site-header .wp-block-navigation a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.site-header .wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-header .wp-block-navigation a:hover::after {
  transform: scaleX(1);
}

.site-header .wp-block-button.is-style-fill .wp-block-button__link {
  background: #ffffff;
  color: #1f5a93;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.site-header .wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: #e7f1ff;
}

body.front-page .site-header,
body.home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--wp-admin--admin-bar--height, 0px);
  background: transparent;
  padding-bottom: 12px;
  z-index: 10;
  border-bottom: none;
  box-shadow: none;
}

body.admin-bar.front-page .site-header,
body.admin-bar.home .site-header {
  top: 32px;
}

body.admin-bar #wpadminbar {
  position: fixed;
  top: 0;
  z-index: 99999;
}

body.front-page .site-header::after,
body.home .site-header::after {
  opacity: 0;
}

body.front-page .newsbar,
body.home .newsbar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

body.front-page .news-hero,
body.home .news-hero {
  flex: 1 1 auto;
  min-height: 0;
}

body.front-page .news-hero .wp-block-post-template,
body.home .news-hero .wp-block-post-template {
  height: 100%;
}

body.front-page .news-hero__cover,
body.home .news-hero__cover {
  height: 100%;
  min-height: clamp(360px, 55svh, 720px);
}

body.front-page .news-section,
body.home .news-section {
  flex: 0 0 auto;
}

body.front-page .news-hero__cover::before,
body.home .news-hero__cover::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(31, 90, 147, 0.5) 0%, rgba(31, 90, 147, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

body.front-page .news-hero__cover .wp-block-cover__inner-container,
body.home .news-hero__cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  padding-top: clamp(96px, 10vh, 140px);
}

.hero-section {
  position: relative;
  color: #ffffff;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 15% 15%, rgba(79, 143, 224, 0.45), transparent 55%),
    linear-gradient(180deg, #1f5a93 0%, #1b4377 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-white.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 64px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-section__grid {
  align-items: center;
  gap: 48px;
}

.hero-section__content h1 {
  margin: 0 0 16px;
  font-size: 2.6rem;
  line-height: 1.1;
}

.hero-section__content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-section__badges {
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badge {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
}

.hero-section__actions {
  gap: 12px;
}

.hero-section__actions .wp-block-button__link {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.hero-section__actions .is-style-fill .wp-block-button__link {
  background: #ffffff;
  color: #1f5a93;
}

.hero-section__actions .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-section__media {
  text-align: right;
}

.hero-illustration img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}

.mediation-section {
  position: relative;
  padding: 80px 0 88px;
  background:
    radial-gradient(circle at 90% 0%, rgba(79, 143, 224, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.mediation-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-black.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 48px;
  opacity: 0.06;
  pointer-events: none;
}

.mediation-section__inner {
  position: relative;
  z-index: 1;
}

.mediation-intro {
  align-items: center;
  gap: 48px;
}

.mediation-intro__content {
  display: grid;
  gap: 16px;
}

.mediation-intro__content .mediation-section__title {
  max-width: none;
  margin-bottom: 0;
}

.mediation-intro__media {
  display: flex;
  justify-content: center;
}

.mediation-intro__rule {
  border: none;
  height: 1px;
  margin: 6px 0 2px;
  background: linear-gradient(90deg, rgba(31, 90, 147, 0.25), rgba(31, 90, 147, 0));
}

.mediation-illustration {
  margin: 0;
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--saha-shadow);
}

.mediation-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mediation-benefits {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.mediation-benefits h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--saha-ink);
}

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

.mediation-benefits__grid .mediation-card {
  padding: 18px 18px 20px;
}

.mediation-benefits__grid .mediation-card__title {
  font-size: 1rem;
}

.mediation-audience {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(22, 53, 95, 0.08);
  box-shadow: var(--saha-shadow);
}

.mediation-audience h2 {
  margin: 0 0 16px;
  font-size: 1.7rem;
  color: var(--saha-ink);
}

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

.mediation-audience__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.mediation-audience__list li {
  position: relative;
  padding-left: 22px;
  color: var(--saha-ink);
  font-weight: 600;
}

.mediation-audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saha-accent);
  box-shadow: 0 4px 10px rgba(31, 90, 147, 0.3);
}

.mediation-audience__note {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 90, 147, 0.06), rgba(79, 143, 224, 0.12));
  border: 1px solid rgba(31, 90, 147, 0.18);
}

.mediation-audience__note-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--saha-ink);
}

.mediation-section__title {
  max-width: 720px;
  margin-bottom: 32px;
}

.mediation-section__title h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: var(--saha-ink);
}

.mediation-section__title p {
  margin: 0;
  color: var(--saha-ink-soft);
}

.mediation-section__title p + p {
  margin-top: 12px;
}

.mediation-cards {
  gap: 24px;
}

.mediation-cards > .wp-block-column {
  min-width: 220px;
  flex: 1 1 220px;
}

.mediation-card {
  height: 100%;
  padding: 22px 22px 24px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: var(--saha-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mediation-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 44px rgba(22, 53, 95, 0.18),
    0 4px 12px rgba(22, 53, 95, 0.08);
}

.mediation-card__title {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--saha-ink);
}

.mediation-card p {
  margin: 0;
  color: var(--saha-ink-soft);
}

.mediation-section__actions {
  margin-top: 24px;
}

.mediation-section__actions .wp-block-button__link {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--saha-accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.mediation-section__actions .wp-block-button__link:hover {
  background: #2a6ab0;
}

.mediation-about {
  margin-top: 48px;
}

.mediation-ornament {
  border: none;
  height: 48px;
  margin: 40px 0 0;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-black.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 48px;
  opacity: 0.06;
}

.mediation-divider {
  position: relative;
  border: none;
  height: 72px;
  margin: 28px 0 0;
  background: linear-gradient(180deg, rgba(246, 249, 255, 0) 0%, rgba(246, 249, 255, 1) 100%);
  overflow: hidden;
}

.mediation-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-black.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 48px;
  opacity: 0.08;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  pointer-events: none;
}

.newsbar {
  background: #f6f8fb;
  position: relative;
}

.news-hero {
  margin: 0;
  position: relative;
  z-index: 1;
}

.news-hero .wp-block-post-template {
  margin: 0;
}

.news-hero__cover {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.news-hero__cover .wp-block-cover__image-background,
.news-hero__cover img.wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
}

.news-hero__cover .wp-block-cover__background {
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.92) 55%,
      rgba(0, 0, 0, 0.98) 100%
    ) !important;
}

.news-hero__cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(180px, 22vh, 280px);
  background: linear-gradient(
    180deg,
    rgba(22, 53, 95, 0) 0%,
    rgba(22, 53, 95, 0.25) 45%,
    rgba(22, 53, 95, 0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.news-hero__cover .wp-block-cover__inner-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.news-hero__content {
  max-width: 640px;
  min-width: 0;
  display: grid;
  gap: 14px;
  color: #ffffff;
  padding: 32px 0;
}

.news-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 14px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-hero__title a {
  display: block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-hero__title a:hover {
  text-decoration: underline;
}

.news-hero__title--long {
  width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.news-hero__title--long a {
  display: -webkit-box;
  max-width: min(100%, 20ch);
  margin-inline: auto;
  overflow: hidden;
  white-space: normal;
  text-overflow: clip;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-hero__date {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.news-hero__button {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #16355f;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  justify-self: start;
}

.news-hero__button:hover {
  transform: translateY(-1px);
  background: #eaf2ff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.news-section {
  position: relative;
  padding: 0 0 56px;
  display: flow-root;
  background-image:
    linear-gradient(
      180deg,
      rgba(22, 53, 95, 0) 0%,
      rgba(243, 247, 255, 0.2) 40%,
      rgba(243, 247, 255, 0.85) 100%
    ),
    radial-gradient(circle at 10% 20%, rgba(79, 143, 224, 0.22), transparent 60%),
    linear-gradient(180deg, #16355f 0%, #16355f 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center bottom, left top, left top;
  background-size: 100% 360px, auto, auto;
}

.news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("/wp-content/themes/sahamediatsiya/assets/patterns/ah.svg"),
    url("/wp-content/themes/sahamediatsiya/assets/patterns/scales.svg"),
    url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-discuss.svg"),
    url("/wp-content/themes/sahamediatsiya/assets/patterns/head-ornament.svg");
  background-repeat: no-repeat;
  background-size: 220px, 180px, 140px, 200px;
  background-position:
    6% 14%,
    88% 18%,
    70% 78%,
    18% 70%;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.news-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-white-zigzag.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 100%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.news-section .wp-block-query {
  margin: 0;
}

.news-grid {
  position: relative;
  z-index: 3;
  transform: translateY(-126px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  min-width: 0;
}

.news-grid .wp-block-post-template {
  grid-column: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-auto-rows: 1fr;
}

.news-grid .wp-block-post-template > li {
  list-style: none;
  margin: 0;
  height: 100%;
  min-width: 0;
}

.news-sponsors {
  margin-top: 28px;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 24px 8px;
}

.news-sponsors__logo {
  margin: 0;
}

.news-sponsors__logo img {
  height: 90px;
  width: auto;
  max-width: 320px;
  filter: brightness(0) invert(1) saturate(0.2) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  opacity: 0.8;
}

.news-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(10, 20, 35, 0.18), 0 2px 8px rgba(10, 20, 35, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
  min-width: 0;
}

.news-card--cta {
  grid-column: 4 / span 1;
  background: linear-gradient(160deg, rgba(12, 18, 32, 0.92) 0%, rgba(17, 28, 54, 0.88) 60%, rgba(22, 36, 64, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 50px rgba(6, 10, 20, 0.35);
  color: #ffffff;
  padding: 16px;
  overflow: hidden;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
}

.news-card__cta-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.news-card__cta-text {
  flex: 1 1 auto;
}

.news-card__cta-kicker {
  margin: 0 0 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

.news-card__cta-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.news-card__cta-desc {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.news-card--cta .wp-block-button__link {
  background: #2a6ab0;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
}

.news-card--cta .wp-block-button__link:hover {
  background: #3a7bc2;
}

.news-card__cta-icon {
  margin: 0;
  width: 132px;
  height: 172px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.news-card__cta-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
  opacity: 1;
}
.news-card__media {
  margin: 0 0 2px;
  aspect-ratio: 2 / 1;
  border-radius: 10px;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.news-card__cat {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-card__cat a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.news-card__cat a:not(:first-child) {
  display: none;
}

.news-card__cat a[href*="/category/novosti/"],
.news-card__cat a[href*="/category/%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8/"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.news-card__cat a[href*="/category/meropriyatiya/"],
.news-card__cat a[href*="/category/%D0%BC%D0%B5%D1%80%D0%BE%D0%BF%D1%80%D0%B8%D1%8F%D1%82%D0%B8%D1%8F/"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.news-card__cat a[href*="/category/mediaciya/"],
.news-card__cat a[href*="/category/mediatsiya/"],
.news-card__cat a[href*="/category/%D0%BC%D0%B5%D0%B4%D0%B8%D0%B0%D1%86%D0%B8%D1%8F/"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.news-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.news-card__title a:hover {
  text-decoration: underline;
}

.news-card__date {
  margin: 0;
  margin-top: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.news-grid .wp-block-post:first-child .news-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(10, 20, 35, 0.2), 0 4px 12px rgba(10, 20, 35, 0.14);
}

.news-grid .wp-block-post:first-child .news-card__title {
  font-size: 1.05rem;
}

.news-section__actions {
  position: relative;
  z-index: 3;
  margin-top: -86px;
  margin-bottom: 40px;
}

.news-section__button .wp-block-button__link {
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 18px 34px rgba(10, 20, 35, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.news-section__button .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 38px rgba(10, 20, 35, 0.24);
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 53, 95, 0.16);
}

.news-card:hover .news-card__media img {
  transform: scale(1.03);
}

.news-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 53, 95, 0.18);
  outline: 2px solid rgba(31, 90, 147, 0.25);
  outline-offset: 2px;
}

.news-archive-page {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(79, 143, 224, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  color: var(--saha-ink);
  padding: 0 0 88px;
}

.news-archive-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("/wp-content/themes/sahamediatsiya/assets/patterns/ah.svg"),
    url("/wp-content/themes/sahamediatsiya/assets/patterns/scales.svg");
  background-repeat: no-repeat;
  background-size: 220px, 180px;
  background-position:
    4% 14%,
    96% 20%;
  opacity: 0.08;
  pointer-events: none;
}

.news-archive-page .news-archive-hero {
  position: relative;
  overflow: visible;
  padding: 38px 0 30px;
  color: var(--saha-ink);
  background:
    linear-gradient(180deg, rgba(31, 90, 147, 0.08) 0%, rgba(31, 90, 147, 0) 100%);
}

.news-archive-page .news-archive-hero::before {
  display: none;
}

.news-archive-page .news-archive-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  padding-left: 28px;
}

.news-archive-page .news-archive-hero__inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f5a93 0%, #4f8fe0 100%);
}

.news-archive-page .news-archive-hero__kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(31, 90, 147, 0.72);
}

.news-archive-page .news-archive-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.04;
  color: var(--saha-ink);
  text-wrap: balance;
}

.news-archive-page .news-archive-hero__intro {
  margin-top: 10px;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--saha-ink-soft);
}

.news-archive-page .news-archive-hero__intro p {
  margin: 0;
}

.news-archive-page .news-archive-query {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.news-archive-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-archive-query .wp-block-post-template > li {
  list-style: none;
  margin: 0;
  height: 100%;
}

.news-card--archive {
  padding: 14px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--saha-ink);
  border: 1px solid rgba(22, 53, 95, 0.08);
  box-shadow: 0 20px 44px rgba(22, 53, 95, 0.08), 0 4px 12px rgba(22, 53, 95, 0.06);
}

.news-card--archive .news-card__media {
  margin-bottom: 6px;
  background: #dfeaf8;
}

.news-card--archive .news-card__cat a {
  background: rgba(31, 90, 147, 0.08);
  border-color: rgba(31, 90, 147, 0.18);
  color: #1f5a93;
}

.news-card--archive .news-card__title {
  color: #16355f;
}

.news-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(22, 53, 95, 0.76);
}

.news-card__excerpt p {
  margin: 0;
}

.news-card__meta {
  margin-top: auto;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.news-card--archive .news-card__date {
  margin: 0;
  color: rgba(22, 53, 95, 0.62);
}

.news-card__more {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f5a93;
  text-decoration: none;
}

.news-card__more:hover {
  text-decoration: underline;
}

.news-archive-pagination {
  margin-top: 36px;
  gap: 10px;
}

.news-archive-pagination .wp-block-query-pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.news-archive-pagination a,
.news-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(22, 53, 95, 0.12);
  color: #16355f;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(22, 53, 95, 0.06);
}

.news-archive-pagination .current {
  background: #1f5a93;
  border-color: #1f5a93;
  color: #ffffff;
}

.news-archive-pagination a:hover {
  background: #eff5fc;
}

.news-archive-empty {
  margin: 0;
  padding-top: 32px;
  color: rgba(22, 53, 95, 0.7);
}

.about-section {
  position: relative;
  padding: 88px 0 96px;
  background:
    linear-gradient(180deg, rgba(22, 53, 95, 0.5) 0%, rgba(22, 53, 95, 0) 100%),
    radial-gradient(circle at 85% 10%, rgba(79, 143, 224, 0.18), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center top, 85% 10%, left top;
  background-size: 100% 220px, auto, auto;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-black.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 48px;
  opacity: 0.04;
  pointer-events: none;
}

.about-section__inner {
  position: relative;
  z-index: 1;
}

.about-grid {
  gap: 36px;
  align-items: center;
}

.about-content h2 {
  margin: 0 0 16px;
  font-size: 2.1rem;
  color: var(--saha-ink);
}

.about-content p {
  margin: 0 0 16px;
  color: var(--saha-ink-soft);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--saha-accent);
  font-weight: 600;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5a93 0%, #4f8fe0 100%);
  box-shadow: 0 4px 10px rgba(31, 90, 147, 0.3);
}

.about-actions {
  gap: 12px;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.about-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--saha-shadow);
}

.about-card__title {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--saha-ink);
}

.about-card p {
  margin: 0;
  color: var(--saha-ink-soft);
}

.about-stack {
  position: relative;
  padding: 88px 0 96px;
  display: grid;
  gap: 32px;
  background:
    linear-gradient(180deg, rgba(22, 53, 95, 0.12) 0%, rgba(22, 53, 95, 0) 100%),
    radial-gradient(circle at 10% 0%, rgba(79, 143, 224, 0.18), transparent 45%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 55%, #eef4ff 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center top, 10% 0%, left top;
  background-size: 100% 240px, auto, auto;
  overflow: hidden;
}

.about-slice {
  max-width: 1100px;
  margin: 0 auto;
}

.about-slice h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: var(--saha-ink);
}

.about-slice p {
  margin: 0 0 12px;
  color: var(--saha-ink-soft);
}

.about-slice__head {
  display: grid;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 16px;
  text-align: center;
}

.about-intro__grid {
  gap: 32px;
  align-items: flex-start;
}

.about-intro__lead {
  font-size: 1.05rem;
  color: var(--saha-ink);
}

.about-intro__note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(22, 53, 95, 0.7);
}

.about-intro__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-stat {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(22, 53, 95, 0.08);
  box-shadow: var(--saha-shadow);
}

.about-stat__value {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--saha-ink);
}

.about-stat__label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--saha-ink-soft);
}

.about-stat--wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(31, 90, 147, 0.06), rgba(79, 143, 224, 0.12));
}

.about-history {
  padding-top: 28px;
  padding-bottom: 56px;
  max-width: 1040px;
}

.about-history .about-slice__head {
  max-width: 720px;
  margin-bottom: 36px;
}

.about-history__kicker {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(214, 165, 51, 0.12);
  border: 1px solid rgba(214, 165, 51, 0.28);
  color: #8a6113;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-history .about-slice__head p:not(.about-history__kicker) {
  max-width: 520px;
  margin-inline: auto;
}

.about-timeline-grid {
  display: grid;
  gap: 22px 0;
  position: relative;
  margin-top: 0;
}

.about-timeline-grid::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(31, 90, 147, 0),
    rgba(31, 90, 147, 0.36) 18%,
    rgba(214, 165, 51, 0.5) 82%,
    rgba(214, 165, 51, 0)
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.about-timeline-grid .about-timeline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  position: relative;
}

.about-timeline-grid .about-timeline__year {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(31, 90, 147, 0.18);
  box-shadow: 0 14px 28px rgba(22, 53, 95, 0.12);
  font-weight: 700;
  color: var(--saha-accent);
  text-align: center;
  justify-self: center;
  position: relative;
  z-index: 1;
}

.about-timeline-grid .about-timeline__body {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  padding: 20px 22px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 53, 95, 0.1);
  box-shadow: 0 18px 36px rgba(22, 53, 95, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-timeline-grid .about-timeline__body::before {
  content: "";
  position: absolute;
  top: 34px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: rgba(31, 90, 147, 0.24);
}

.about-timeline-grid .about-timeline__item:nth-child(even) .about-timeline__body {
  grid-column: 3;
}

.about-timeline-grid .about-timeline__item:nth-child(even) .about-timeline__body::before {
  right: auto;
  left: -24px;
}

.about-timeline-grid .about-timeline__item:last-child .about-timeline__year {
  background: linear-gradient(135deg, #1f5a93 0%, #16355f 100%);
  border-color: rgba(214, 165, 51, 0.55);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(22, 53, 95, 0.18);
}

.about-timeline-grid .about-timeline__item:last-child .about-timeline__body {
  border-color: rgba(214, 165, 51, 0.32);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #fff9ec 100%);
}

.about-timeline-grid .about-timeline__item:hover .about-timeline__body {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(22, 53, 95, 0.14);
  border-color: rgba(31, 90, 147, 0.2);
}

.about-timeline-grid .about-timeline__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--saha-ink);
}

.about-timeline-grid .about-timeline__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--saha-ink-soft);
}

.about-ornament {
  border: none;
  height: 48px;
  margin: 0;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-black.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 48px;
  opacity: 0.06;
}

.about-team-section {
  padding-top: 32px;
  padding-bottom: 48px;
}

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

.about-team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.96) 100%);
  border: 1px solid rgba(22, 53, 95, 0.1);
  box-shadow: 0 18px 36px rgba(22, 53, 95, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 90, 147, 0.22);
  box-shadow: 0 22px 42px rgba(22, 53, 95, 0.13);
}

.about-team-card__top {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.about-team-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 15%, rgba(214, 165, 51, 0.32), transparent 48%),
    linear-gradient(135deg, #1f5a93 0%, #16355f 100%);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(22, 53, 95, 0.16);
}

.about-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-card__identity {
  min-width: 0;
}

.about-team-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--saha-ink);
  overflow-wrap: anywhere;
}

.about-team-card__role {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--saha-accent);
  font-weight: 700;
}

.about-team-card__excerpt {
  margin: 0 0 14px;
  color: var(--saha-ink-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}

.about-team-tags {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.about-team-tags li {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--saha-ink);
  background: #eef5ff;
  border: 1px solid rgba(22, 53, 95, 0.1);
}

.about-team-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 53, 95, 0.08);
}

.about-team-card__link {
  color: var(--saha-accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.about-team-card__link:hover {
  text-decoration: underline;
}

.about-team-card__link--muted {
  color: rgba(22, 53, 95, 0.68);
  font-weight: 600;
}

.about-team-actions {
  justify-content: center;
  margin-top: 24px;
}

.about-team-empty {
  max-width: 680px;
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(31, 90, 147, 0.28);
  text-align: center;
}

.about-team-empty p {
  margin: 0;
  color: var(--saha-ink-soft);
}

.about-testimonials {
  gap: 16px;
  margin-top: 16px;
}

.about-quote {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(22, 53, 95, 0.08);
  box-shadow: var(--saha-shadow);
}

.about-quote p {
  margin: 0 0 10px;
  color: var(--saha-ink);
}

.about-quote cite {
  font-style: normal;
  color: var(--saha-ink-soft);
}

.about-cta {
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(31, 90, 147, 0.08), rgba(79, 143, 224, 0.16));
  border: 1px solid rgba(31, 90, 147, 0.2);
}

.about-cta__layout {
  gap: 24px;
  align-items: center;
}

.about-cta__contacts {
  display: grid;
  gap: 8px;
}

.about-cta__label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(22, 53, 95, 0.6);
}

.about-cta__contacts a {
  color: var(--saha-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 53, 95, 0.2);
}

.about-cta__contacts a:hover {
  color: var(--saha-accent);
  border-bottom-color: rgba(31, 90, 147, 0.5);
}
.about-cta__actions .wp-block-button__link {
  padding: 12px 22px;
  border-radius: 999px;
}

.site-footer {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 143, 224, 0.35), transparent 45%),
    linear-gradient(180deg, #1f5a93 0%, #16355f 100%);
  padding: 72px 0 28px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)),
    url("/wp-content/themes/sahamediatsiya/assets/patterns/hero-ornament-white.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 64px;
  opacity: 0.4;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-white-zigzag.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  opacity: 0.35;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  gap: 32px;
}

.footer-brand {
  max-width: 380px;
  gap: 16px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links h4,
.footer-contacts h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contacts a,
.site-footer__bottom a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a:hover,
.footer-contacts a:hover,
.site-footer__bottom a:hover {
  color: #cfe4ff;
  border-bottom-color: rgba(207, 228, 255, 0.7);
}

.footer-contacts p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-social {
  gap: 12px;
}

.footer-social .wp-block-social-link {
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.site-footer__bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  body.admin-bar.front-page .site-header,
  body.admin-bar.home .site-header {
    top: 46px;
  }

  .site-header {
    padding: 24px 0 28px;
  }

  .site-header__nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-section {
    padding: 64px 0 72px;
  }

  .hero-section__grid {
    gap: 32px;
  }

  .hero-section__content h1 {
    font-size: 2.1rem;
  }

  .hero-illustration img {
    max-width: 320px;
    margin: 0 auto;
  }

  .mediation-section {
    padding: 64px 0 72px;
  }

  .mediation-intro {
    gap: 28px;
  }

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

  .mediation-audience {
    padding: 22px 20px;
  }

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

  .mediation-audience__note {
    grid-column: 1 / -1;
  }

  .mediation-divider {
    height: 56px;
  }

  .news-section {
    padding: 0 0 48px;
  }

  .news-grid {
    transform: translateY(-72px);
  }

  .news-hero__cover {
    min-height: clamp(320px, 55svh, 560px);
  }

  .news-hero__content {
    padding: 24px 0;
  }

  .news-hero__title {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
  }

  .news-hero__button {
    padding: 10px 20px;
  }

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

  .news-grid .wp-block-post-template {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card--cta {
    grid-column: 1 / -1;
  }

  .news-section__actions {
    margin-top: -54px;
    margin-bottom: 32px;
  }

  .news-sponsors {
    gap: 24px;
  }

  .news-sponsors__logo img {
    height: 64px;
  }

  .news-archive-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .news-archive-page .news-archive-hero,
  .post-page--news .post-hero {
    padding: 32px 0 24px;
  }

  .news-archive-page .news-archive-hero__inner,
  .post-page--news .post-hero__inner {
    padding-left: 24px;
  }

  .about-section {
    padding: 64px 0 72px;
  }

  .about-stack {
    padding: 64px 0 72px;
    gap: 22px;
  }

  .about-intro__stats {
    grid-template-columns: 1fr;
  }

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

  .about-timeline-grid {
    gap: 18px;
  }

  .about-timeline-grid::before {
    top: 12px;
    bottom: 12px;
    left: 34px;
  }

  .about-timeline-grid .about-timeline__item,
  .about-timeline-grid .about-timeline__item:nth-child(odd),
  .about-timeline-grid .about-timeline__item:nth-child(even) {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
  }

  .about-timeline-grid .about-timeline__year {
    grid-column: 1;
    width: 58px;
    height: 58px;
    font-size: 0.88rem;
  }

  .about-timeline-grid .about-timeline__body,
  .about-timeline-grid .about-timeline__item:nth-child(odd) .about-timeline__body,
  .about-timeline-grid .about-timeline__item:nth-child(even) .about-timeline__body {
    grid-column: 2;
    text-align: left;
  }

  .about-timeline-grid .about-timeline__body::before,
  .about-timeline-grid .about-timeline__item:nth-child(even) .about-timeline__body::before {
    top: 29px;
    right: auto;
    left: -16px;
    width: 16px;
  }

  .about-cta__layout {
    gap: 16px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .site-footer__bottom {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    width: 100%;
    gap: 12px;
    align-items: flex-start;
  }

  .site-header__brand {
    flex: 1 1 0;
    gap: 10px;
    align-items: flex-start;
  }

  .site-header__brand > .wp-block-group {
    min-width: 0;
  }

  .site-header__brand .custom-logo {
    width: 48px;
    height: auto;
  }

  .site-header__brand .wp-block-site-title,
  .site-header__brand .site-header__title {
    font-size: 1rem;
    line-height: 1.15;
  }

  .site-header__brand .wp-block-site-tagline,
  .site-header__brand .site-header__tagline {
    max-width: 28ch;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .mediation-benefits__grid {
    grid-template-columns: 1fr;
  }

  .mediation-audience {
    padding: 20px 18px;
  }

  .mediation-audience__grid {
    grid-template-columns: 1fr;
  }

  .mediation-illustration {
    aspect-ratio: 3 / 2;
  }

  .news-section {
    padding: 0 0 32px;
  }

  .news-grid {
    transform: translateY(-56px);
  }

  .news-hero__cover {
    min-height: clamp(260px, 50svh, 440px);
  }

  .news-hero__content {
    width: 100%;
    padding: 20px 0;
  }

  .news-hero__title,
  .news-hero__title a,
  .news-hero__title--long,
  .news-hero__title--long a {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align: left;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .news-hero__title {
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .news-hero__title--long a {
    display: block;
    margin-inline: 0;
  }

  .news-hero__button {
    width: 100%;
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .news-grid .wp-block-post-template {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .news-grid .wp-block-post-template > li,
  .news-card,
  .news-card--cta {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .news-card__title,
  .news-grid .wp-block-post:first-child .news-card__title {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .news-section__actions {
    margin-top: -40px;
    margin-bottom: 24px;
  }

  .news-section__button,
  .news-section__button .wp-block-button__link {
    width: 100%;
  }

  .news-sponsors {
    gap: 16px;
  }

  .news-sponsors__logo img {
    height: 52px;
  }

  .news-archive-page {
    padding-bottom: 64px;
  }

  .news-archive-hero__title {
    font-size: 2.1rem;
  }

  .news-archive-hero__intro {
    font-size: 0.98rem;
  }

  .news-archive-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .news-card__meta {
    align-items: flex-start;
  }

  .about-history {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .about-history .about-slice__head {
    margin-bottom: 26px;
  }

  .about-history__kicker {
    max-width: 100%;
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.78rem;
    text-align: center;
  }

  .about-team-section {
    padding-top: 22px;
    padding-bottom: 40px;
  }

  .about-team {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-team-card {
    padding: 18px;
    border-radius: 16px;
  }

  .about-team-card__top {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .about-team-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.25rem;
  }

  .about-timeline-grid {
    gap: 14px;
  }

  .about-timeline-grid::before {
    left: 30px;
  }

  .about-timeline-grid .about-timeline__item,
  .about-timeline-grid .about-timeline__item:nth-child(odd),
  .about-timeline-grid .about-timeline__item:nth-child(even) {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
  }

  .about-timeline-grid .about-timeline__year {
    width: 52px;
    height: 52px;
    font-size: 0.82rem;
  }

  .about-timeline-grid .about-timeline__body {
    padding: 16px 16px 18px;
    border-radius: 14px;
  }

  .about-timeline-grid .about-timeline__body::before,
  .about-timeline-grid .about-timeline__item:nth-child(even) .about-timeline__body::before {
    top: 26px;
    left: -14px;
    width: 14px;
  }

  .about-timeline-grid .about-timeline__title {
    font-size: 0.96rem;
  }

  .news-archive-pagination {
    gap: 8px;
  }

  .news-archive-pagination a,
  .news-archive-pagination span {
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
  }

  .news-archive-page .news-archive-hero,
  .post-page--news .post-hero {
    padding: 28px 0 20px;
  }

  .news-archive-page .news-archive-hero__inner,
  .post-page--news .post-hero__inner {
    padding-left: 20px;
  }

  .news-archive-page .news-archive-hero__inner::before,
  .post-page--news .post-hero__inner::before {
    width: 3px;
  }
}

.post-page {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(79, 143, 224, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
  color: var(--saha-ink);
  padding: 0 0 88px;
}

.post-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 156px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 143, 224, 0.5), transparent 44%),
    linear-gradient(180deg, #1f5a93 0%, #16355f 100%);
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 64px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-ornament.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 64px;
  opacity: 0.35;
  pointer-events: none;
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background-image: url("/wp-content/themes/sahamediatsiya/assets/patterns/head-white-zigzag.svg");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  opacity: 0.5;
  pointer-events: none;
}

.post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.post-hero__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.post-hero__terms a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-hero__terms a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.post-hero__title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 0.98;
  font-weight: 700;
  text-wrap: balance;
}

.post-hero__meta {
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-hero__date,
.post-hero__meta-sep,
.post-hero__meta-note {
  margin: 0;
}

.post-layout {
  position: relative;
  z-index: 1;
  margin-top: -104px;
}

.post-layout__grid {
  align-items: flex-start;
  gap: 28px;
}

.post-card {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(22, 53, 95, 0.12), 0 6px 18px rgba(22, 53, 95, 0.05);
}

.post-card__image {
  margin: 0;
}

.post-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card__body {
  padding: 42px clamp(22px, 4vw, 56px) 48px;
}

.post-card__content {
  color: var(--saha-ink-soft);
  font-size: 1.08rem;
  line-height: 1.85;
}

.post-card__content > * {
  max-width: 100%;
}

.post-card__content > :where(p, ul, ol, blockquote, figure, pre, table, h2, h3, h4) {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.post-card__content > :where(h2, h3, h4) {
  color: var(--saha-ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.post-card__content > h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.post-card__content > h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.post-card__content a {
  color: var(--saha-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.post-card__content a:hover {
  color: #12467c;
}

.post-card__content ul,
.post-card__content ol {
  padding-left: 1.2em;
}

.post-card__content li + li {
  margin-top: 0.55em;
}

.post-card__content blockquote {
  margin-left: 0;
  padding: 22px 24px;
  border-left: 4px solid var(--saha-accent-light);
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, rgba(31, 90, 147, 0.08), rgba(79, 143, 224, 0.12));
  color: var(--saha-ink);
  box-shadow: inset 0 0 0 1px rgba(31, 90, 147, 0.08);
}

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

.post-card__content .wp-block-image img,
.post-card__content .wp-block-cover,
.post-card__content .wp-block-gallery {
  border-radius: 22px;
  overflow: hidden;
}

.post-card__content .wp-block-separator {
  margin: 2.2rem auto;
  border-color: rgba(22, 53, 95, 0.16);
}

.post-card__content .wp-block-table {
  overflow-x: auto;
}

.post-card__content table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fbff;
  border-radius: 18px;
  overflow: hidden;
}

.post-card__content th,
.post-card__content td {
  padding: 14px 16px;
  border: 1px solid rgba(22, 53, 95, 0.1);
  text-align: left;
}

.post-navigation {
  margin-top: 24px;
  gap: 18px;
}

.post-navigation__link {
  min-height: 100%;
  padding: 22px 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(22, 53, 95, 0.08), 0 4px 12px rgba(22, 53, 95, 0.04);
  color: var(--saha-ink);
  text-decoration: none;
}

.post-navigation__link a {
  color: inherit;
  text-decoration: none;
}

.post-navigation__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(22, 53, 95, 0.12), 0 4px 12px rgba(22, 53, 95, 0.05);
}

.post-navigation__link .post-navigation-link__label {
  display: block;
  margin-bottom: 8px;
  color: var(--saha-accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}

.post-aside__card {
  padding: 24px 24px 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(22, 53, 95, 0.08), 0 4px 12px rgba(22, 53, 95, 0.04);
}

.post-aside__card--contact {
  background: linear-gradient(180deg, #16355f 0%, #1f5a93 100%);
  color: #ffffff;
}

.post-aside__eyebrow {
  margin: 0 0 10px;
  color: rgba(22, 53, 95, 0.62);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-aside__card--contact .post-aside__eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.post-aside__title {
  margin: 0 0 12px;
  color: var(--saha-ink);
  font-size: 1.5rem;
  line-height: 1.12;
}

.post-aside__text {
  margin: 0;
  color: var(--saha-ink-soft);
  line-height: 1.7;
}

.post-aside__actions {
  margin-top: 20px;
}

.post-aside__actions .wp-block-button__link {
  width: 100%;
  justify-content: center;
  padding: 13px 22px;
}

.post-aside__contact {
  margin: 0 0 10px;
  line-height: 1.65;
}

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

.post-aside__contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.post-aside__contact a:hover {
  color: #dcecff;
  border-bottom-color: rgba(220, 236, 255, 0.72);
}

.post-aside__contact--address {
  color: rgba(255, 255, 255, 0.86);
}

.post-page--news .post-hero {
  overflow: visible;
  padding: 20px 0 14px;
  color: var(--saha-ink);
  background:
    linear-gradient(180deg, rgba(31, 90, 147, 0.06) 0%, rgba(31, 90, 147, 0) 100%);
}

.post-page--news .post-hero::before,
.post-page--news .post-hero::after {
  display: none;
}

.post-page--news .post-hero__inner {
  max-width: 1160px;
  gap: 10px;
  padding-left: 0;
}

.post-page--news .post-hero__inner::before {
  display: none;
}

.post-hero__kicker--news {
  margin: 0;
  color: rgba(31, 90, 147, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-page--news .post-hero__terms a {
  background: rgba(31, 90, 147, 0.08);
  border-color: rgba(31, 90, 147, 0.18);
  color: #1f5a93;
}

.post-page--news .post-hero__terms a:hover {
  background: rgba(31, 90, 147, 0.14);
}

.post-page--news .post-layout {
  margin-top: 0;
  padding-top: 14px;
}

.post-headline-card {
  position: relative;
  margin-bottom: 18px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(22, 53, 95, 0.1);
  box-shadow: 0 18px 40px rgba(22, 53, 95, 0.08), 0 4px 12px rgba(22, 53, 95, 0.04);
}

.post-headline-card::before,
.post-aside__card--headline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f5a93 0%, #4f8fe0 100%);
}

.post-headline-card--mobile {
  display: none;
}

.post-headline-card__title,
.post-aside__headline {
  margin: 0;
  color: var(--saha-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.post-aside__headline {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.post-headline-card__meta,
.post-aside__headline-meta {
  margin-top: 14px;
  gap: 8px;
  align-items: center;
  color: rgba(22, 53, 95, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-headline-card__date,
.post-headline-card__sep,
.post-headline-card__note,
.post-aside__headline-date,
.post-aside__headline-sep,
.post-aside__headline-note {
  margin: 0;
}

.post-aside__card--headline {
  position: relative;
  padding-left: 28px;
}

.post-aside__card--headline .post-aside__eyebrow {
  margin-bottom: 8px;
}

.page-shell .post-hero__inner {
  max-width: 880px;
  gap: 16px;
}

.page-hero {
  overflow: visible;
  padding: 34px 0 28px;
  color: var(--saha-ink);
  background:
    linear-gradient(180deg, rgba(31, 90, 147, 0.08) 0%, rgba(31, 90, 147, 0) 100%);
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.page-hero__kicker {
  margin: 0;
  color: rgba(31, 90, 147, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-shell .post-hero__title {
  max-width: 22ch;
  color: var(--saha-ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.page-layout {
  margin-top: 0;
}

.page-card__image {
  background: linear-gradient(135deg, rgba(31, 90, 147, 0.08), rgba(79, 143, 224, 0.12));
}

.page-card__content {
  font-size: 1.06rem;
}

.page-card__content > :first-child {
  margin-top: 0;
}

.page-aside__news-link {
  margin: 18px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-aside__news-link a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.page-aside__news-link a:hover {
  color: #dcecff;
  border-bottom-color: rgba(220, 236, 255, 0.72);
}

.page-shell--wide .post-hero__inner {
  max-width: min(1360px, calc(100vw - 56px));
}

.page-shell--wide .post-hero__title {
  max-width: 28ch;
}

.page-shell--wide .post-layout {
  max-width: min(1440px, calc(100vw - 40px));
}

.page-card--wide .post-card__body {
  padding: 56px clamp(32px, 5vw, 88px) 68px;
}

.page-card__content--wide {
  max-width: min(1280px, 100%);
  margin: 0;
}

.page-card--wide .post-card__image img {
  aspect-ratio: 21 / 9;
}

.page-shell--no-sidebar .post-hero__inner {
  max-width: 900px;
}

.page-shell--no-sidebar .post-hero__title {
  max-width: 22ch;
}

.page-layout--solo {
  max-width: 980px;
}

.page-card--solo .post-card__body {
  padding: 44px clamp(24px, 4vw, 62px) 54px;
}

.page-card__content--solo {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .post-hero {
    padding: 72px 0 136px;
  }

  .post-layout {
    margin-top: -88px;
  }

  .page-layout {
    margin-top: 0;
  }

  .post-layout__grid {
    gap: 22px;
  }

  .post-card__body {
    padding: 32px 24px 38px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-aside {
    position: static;
  }

  .post-page--news .post-hero {
    padding: 18px 0 12px;
  }

  .post-page--news .post-layout {
    padding-top: 12px;
  }

  .post-headline-card--mobile {
    display: block;
  }

  .post-aside__card--headline {
    display: none;
  }

  .page-hero {
    padding: 28px 0 24px;
  }

  .page-card--wide .post-card__body {
    padding: 40px 32px 48px;
  }

  .page-card--solo .post-card__body {
    padding: 34px 26px 42px;
  }
}

@media (max-width: 640px) {
  .post-page {
    padding-bottom: 64px;
  }

  .post-hero {
    padding: 64px 0 120px;
  }

  .post-hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 100%;
  }

  .post-hero__meta {
    gap: 8px;
    font-size: 0.78rem;
  }

  .post-layout {
    margin-top: -76px;
  }

  .post-page--news .post-layout {
    margin-top: 0;
  }

  .page-layout {
    margin-top: 0;
  }

  .post-card {
    border-radius: 22px;
  }

  .post-card__body {
    padding: 26px 18px 30px;
  }

  .post-card__content {
    font-size: 1rem;
    line-height: 1.76;
  }

  .post-navigation__link,
  .post-aside__card {
    padding: 20px 18px 22px;
    border-radius: 20px;
  }

  .page-hero__kicker {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .page-hero {
    padding: 24px 0 20px;
  }

  .page-aside__news-link {
    margin-top: 14px;
    font-size: 0.88rem;
  }

  .post-page--news .post-hero {
    padding: 16px 0 10px;
  }

  .post-headline-card {
    padding: 18px 18px 20px;
    border-radius: 20px;
  }

  .post-headline-card__title {
    font-size: 1.55rem;
  }

  .post-headline-card__meta {
    margin-top: 12px;
    gap: 6px;
    font-size: 0.72rem;
  }

  .page-card--wide .post-card__body {
    padding: 28px 18px 34px;
  }

  .page-shell--wide .post-hero__inner,
  .page-shell--wide .post-layout {
    max-width: none;
  }

  .page-card--solo .post-card__body {
    padding: 28px 18px 34px;
  }
}
