/* Manrope — самохостинг (без зовнішніх ресурсів). Начерки 400/700, підмножини latin + cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   РБК-Україна — Медіакіт. Єдиний шар стилів.
   Структура: reset/утиліти → токени → глобальна типографіка →
   шапка/герой (секція 1) → спільні компоненти → рамка секцій 2–11 →
   секції 2–11 → партнери/банери/футер → анімації → адаптив.
   ============================================================ */

/* ---------- 1. Reset & Webflow-утиліти ---------- */
section {
  display: block;
}

video {
  display: inline-block;
  vertical-align: baseline;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

strong {
  font-weight: bold;
}

svg:not(:root) {
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

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

body {
  min-height: 100%;
  background-color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
  border: 0;
}

html.w-mod-touch * {
  background-attachment: scroll !important;
}

html[data-w-dynpage] [data-w-cloak] {
  color: transparent !important;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-embed:before,
.w-embed:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}

.w-embed:after {
  clear: both;
}

[type="button"],
[type="reset"] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

[data-nav-menu-open] {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #c8c8c8;
  text-align: center;
  overflow: visible;
  min-width: 200px;
}

/* Webflow-базова грід-утиліта (компоненти задають власні колонки) */
.w-layout-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 16px;
  grid-column-gap: 16px;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

.w-layout-vflex {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

/* ---------- 2. Токени ---------- */
:root {
  --text-focus: #f0f0f0;
  --background-content: #fafafa;
  --background-footer: #1e1e1e;
  --text-general: #101010;
  --bg-secondary: #f4f4f4;
  --foxtrot-background: #f2f3f5;
  --rbc-blue: #06437c;
}

.body-mediakit {
  background-color: #cfcfcf;
}

/* ---------- 3. Глобальна типографіка ---------- */
.content-paragraph-regular {
  color: var(--text-general);
  text-align: left;
  margin-bottom: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
}

.content-paragraph-regular.content-paragraph-link {
  margin-top: 0;
  text-decoration: none;
  display: block;
}

.content-paragraph-regular.cotent-paragraph-regular-white {
  color: var(--text-focus);
}

.content-paragraph-regular.content-paragraph-mediakit-access-table {
  color: var(--text-focus);
}

.base-header-text {
  color: var(--text-general);
  text-align: left;
  font-family: Manrope, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2rem;
}

.base-header-text.base-header-text-mediakit {
  line-height: 2.5rem;
}

.base-header-text.base-header-text-white {
  color: var(--text-focus);
}

.content-paragraph-link {
  color: var(--rbc-blue);
  font-weight: 700;
}

em,
i,
[class*="italic"] {
  font-style: normal;
}

/* ---------- 4. Шапка та герой (секція 1) ---------- */
.section-mediakit-1 {
  position: relative;
  overflow: hidden;
}

.section-main {
  text-align: center;
  justify-content: space-between;
  align-items: center;
  height: 100svh;
  padding-top: 0;
  display: flex;
}

.content-main {
  background-color: #0f0f0f8c;
  flex-flow: column;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  padding: 2rem 16.5%;
  position: absolute;
  inset: 0%;
}

.content-main.content-main-light {
  height: 100svh;
  padding: 2rem 12.5%;
}

.content-main.content-main-light.content-main-mediakit {
  justify-content: center;
  align-items: center;
  padding-left: 25%;
  padding-right: 25%;
  display: flex;
}

.content-main-mediakit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Секція 1: відео/контент тягнуться на повну висоту (перебиває .content-main-light) */
.section-mediakit-1 .content-main,
.section-mediakit-1 .cover-video {
  height: 100% !important;
  min-height: inherit !important;
}

.cover-video {
  object-fit: cover;
  background-image: linear-gradient(#0000 50%, #00000080);
  width: 100%;
  height: 100svh;
  display: block;
  position: absolute;
  inset: 0% 0% auto;
}

.cover-video.cover-video-mediakit {
  background-image: linear-gradient(#00000080, #00000080);
}

.header-logo-mediakit {
  position: relative;
}

.header-navbar-mediakit {
  z-index: 10;
  background-color: var(--background-content);
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 2rem;
  display: flex;
  position: fixed;
  inset: 0% 0% auto;
}

.header-navbar-mediakit a,
.header-menu-dropdown-mediakit a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.header-logo-default {
  height: 1.5rem;
}

.hero-brand-mediakit {
  z-index: 2;
  width: 50vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.hero-logo-mediakit {
  width: 100%;
  display: block;
}

.hero-caption-mediakit {
  color: var(--text-focus);
  text-align: center;
  font-family: Manrope, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.header-navbar-links {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  justify-content: flex-end;
  align-items: flex-start;
  display: flex;
}

.header-menu-mediakit {
  justify-content: center;
  align-items: center;
  height: 1.5rem;
  aspect-ratio: 1;
  display: none;
}

/* Видимий SVG бургера/хрестика = висоті логотипа (1.5rem), квадрат */
.header-menu-mediakit svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.header-menu-dropdown-mediakit {
  z-index: 10;
  display: none;
  position: fixed;
}

/* Мобільне меню: відкритий стан (клас menu-open на <html> ставить js/site.js) */
.menu-open .header-menu-dropdown-mediakit {
  display: flex;
}

.menu-open .header-menu-icon-open {
  display: none;
}

.menu-open .header-menu-icon-close {
  display: flex;
}

/* ---------- 5. Спільні компоненти секцій ---------- */
.div-block-31 {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.content-mediakit-why-grid {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.flex-block-12 {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.content-mediakit-org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.content-mediakit-org-block {
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
}

.content-mediakit-org-block .base-header-text,
.content-mediakit-org-block .content-paragraph-regular {
  text-align: center;
  color: var(--text-general);
}

.content-mediakit-org-grid-small {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  padding-left: 25%;
  padding-right: 25%;
  display: grid;
}

.grid-3 {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: auto auto auto;
  margin-right: -25%;
}

.grid-5 {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  align-self: stretch;
}

.div-block-32 {
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
}

.div-block-33 {
  background-color: var(--text-general);
  margin-bottom: 2rem;
  padding: 0.5rem;
}

.div-block-34 {
  aspect-ratio: 3 / 4;
  justify-content: center;
  align-items: flex-end;
  display: flex;
  position: relative;
}

.div-block-37 {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  background-color: var(--bg-secondary);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  display: flex;
}

.div-block-36-copy {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  background-color: var(--background-footer);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  display: flex;
}

.content-mediakit-9-grid {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: auto auto auto;
}

.content-mediakit-8-block {
  gap: 1rem;
  background-color: var(--rbc-blue);
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1rem;
  display: flex;
}

.flex-block-14 {
  gap: 1rem;
  justify-content: center !important;
  align-items: center !important;
}

.content-mediakit-project-link-business {
  background-color: var(--background-footer);
  padding: 0.5rem;
  text-decoration: none;
}

.content-mediakit-project-link-ghost {
  background-color: var(--background-footer);
  padding: 0.5rem;
  text-decoration: none;
}

.image-20 {
  height: 1.25rem;
}

/* ---------- 6. Рамка секцій 2–11 ---------- */
.section-mediakit-1,
.section-mediakit-2,
.section-mediakit-3,
.section-mediakit-4,
.section-mediakit-5,
.section-mediakit-6,
.section-mediakit-7,
.section-mediakit-8,
.section-mediakit-9,
.section-mediakit-10,
.section-mediakit-11 {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-mediakit-2,
.section-mediakit-3,
.section-mediakit-4,
.section-mediakit-5,
.section-mediakit-6,
.section-mediakit-7,
.section-mediakit-8,
.section-mediakit-9,
.section-mediakit-10,
.section-mediakit-11 {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
  height: auto;
  min-height: 100svh;
}

.section-mediakit-2 > *,
.section-mediakit-3 > *,
.section-mediakit-4 > *,
.section-mediakit-5 > *,
.section-mediakit-6 > *,
.section-mediakit-7 > *,
.section-mediakit-8 > *,
.section-mediakit-9 > *,
.section-mediakit-10 > *,
.section-mediakit-11 > * {
  width: 100%;
}

/* Секції 2–11: типово все по центру (винятки нижче мають вищу специфічність) */
.section-mediakit-2,
.section-mediakit-2 *,
.section-mediakit-3,
.section-mediakit-3 *,
.section-mediakit-4,
.section-mediakit-4 *,
.section-mediakit-5,
.section-mediakit-5 *,
.section-mediakit-6,
.section-mediakit-6 *,
.section-mediakit-7,
.section-mediakit-7 *,
.section-mediakit-8,
.section-mediakit-8 *,
.section-mediakit-9,
.section-mediakit-9 *,
.section-mediakit-10,
.section-mediakit-10 *,
.section-mediakit-11,
.section-mediakit-11 * {
  text-align: center !important;
}

.section-mediakit-2,
.section-mediakit-3,
.section-mediakit-4,
.section-mediakit-5,
.section-mediakit-6,
.section-mediakit-9,
.section-mediakit-10 {
  min-height: calc(100vw * 9 / 16);
}

/* Вертикальне центрування контенту (секції — flex-колонки на повну висоту) */
.section-mediakit-2,
.section-mediakit-3,
.section-mediakit-5,
.section-mediakit-9,
.section-mediakit-10 {
  justify-content: center;
}

/* Спільне тло-покриття для секцій із фоновим зображенням */
.section-mediakit-2,
.section-mediakit-3,
.section-mediakit-4,
.section-mediakit-5,
.section-mediakit-6,
.section-mediakit-9 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: transparent;
}

/* ---------- Секція 2 — Медіакіт (інтро) ---------- */
.section-mediakit-2 {
  gap: 2rem;
  padding: 2rem 32.5%;
  background-image: url("../images/section-bg-1.webp");
}

.section-mediakit-2 .w-layout-vflex {
  align-items: center;
  gap: 2rem;
}

.section-mediakit-2 > .base-header-text {
  color: var(--rbc-blue);
  font-size: 8rem;
  line-height: 8.5rem;
}

.section-mediakit-2 > .w-layout-vflex .content-paragraph-regular {
  font-size: 1.5rem;
  line-height: 2rem;
}

.section-mediakit-2 .image-20 {
  width: 50%;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

/* ---------- Секція 3 — Аудиторія / Чому ми ---------- */
.section-mediakit-3 {
  padding: 2rem 25%;
  background-image: url("../images/section-bg-2.webp");
}

.section-mediakit-3 .content-paragraph-regular,
.section-mediakit-3 .flex-block-12 > .content-paragraph-regular:last-child {
  text-align: left !important;
}

.section-mediakit-3 .flex-block-12 .content-paragraph-link {
  font-size: 2rem;
  line-height: 2.5rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0;
}

.section-mediakit-3 .flex-block-12 .content-paragraph-regular:last-child {
  font-style: normal;
  opacity: 0.92;
}

/* ---------- Секція 4 — Центр медіа-впливу (канали) ---------- */
.section-mediakit-4 {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 2rem;
  padding: 2rem 12.5%;
  overflow: hidden;
  position: relative;
  background-image: url("../images/section-bg-3.webp");
}

.section-mediakit-4 .div-block-31 {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.section-mediakit-4 .grid-3 {
  align-self: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.9fr 1.22fr 0.95fr;
  grid-template-rows: repeat(4, minmax(6.5rem, 1fr));
  height: min(48rem, 78svh);
  margin-right: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.section-mediakit-4 .div-block-32,
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32 {
  background-position: center;
  background-size: cover;
  height: auto;
  min-height: 0;
  position: relative;
}

.section-mediakit-4 .div-block-32 {
  overflow: hidden;
}

/* Картки-канали — посилання на офіційні ресурси РБК-Україна */
.section-mediakit-4 a.div-block-32 {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.section-mediakit-4 a.div-block-32 .div-block-33 {
  transition: background-color 0.2s ease;
}

.section-mediakit-4 a.div-block-32:hover .div-block-33 {
  background-color: var(--rbc-blue);
}

.section-mediakit-4 .div-block-32::before,
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32::before {
  display: none;
}

.section-mediakit-4 .div-block-32:nth-child(1) {
  background-image: url("../images/socials/website.webp");
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.section-mediakit-4 .div-block-32:nth-child(2) {
  background-image: url("../images/socials/youtube.webp");
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

.section-mediakit-4 .div-block-32:nth-child(3) {
  background-image: url("../images/socials/facebook.webp");
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.section-mediakit-4 .div-block-32:nth-child(4) {
  background-image: url("../images/socials/telegram.webp");
  grid-column: 1 / 2;
  grid-row: 2 / 4;
}

.section-mediakit-4 .div-block-32:nth-child(5) {
  background-image: url("../images/socials/instagram.webp");
  grid-column: 2 / 3;
  grid-row: 3 / 5;
}

.section-mediakit-4 .div-block-32:nth-child(6) {
  background-image: url("../images/socials/tiktok.webp");
  grid-column: 3 / 4;
  grid-row: 3 / 5;
}

.section-mediakit-4 .div-block-33,
.section-mediakit-9 .div-block-33 {
  background-color: #030303;
  margin: 0 0 1rem 0;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 1;
}

.section-mediakit-4 .grid-3 > .div-block-32:nth-child(even),
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(even) {
  justify-content: flex-start;
}

/* ---------- Секція 5 — РБК у цифрах ---------- */
.section-mediakit-5 {
  padding: 2rem 12.5%;
  background-image: url("../images/section-bg-4.webp");
}

.section-mediakit-5 .div-block-31 {
  align-items: center;
  gap: 0.5rem;
}

/* Трохи більший відступ над "ВИЗНАННЯ ТА ДОВІРА" (2rem row-gap секції + 1rem ≈ 3rem) */
.section-mediakit-5 .content-mediakit-org-grid + .div-block-31 {
  margin-top: 2rem;
}

.section-mediakit-5 .base-header-text,
.section-mediakit-5 .content-paragraph-regular,
.section-mediakit-5 .content-mediakit-org-block .base-header-text,
.section-mediakit-5 .content-mediakit-org-block .content-paragraph-regular {
  color: var(--text-general);
}

.section-mediakit-5 .content-paragraph-link {
  color: var(--rbc-blue);
}

.section-mediakit-5 .content-mediakit-org-block .code-embed {
  color: var(--rbc-blue) !important;
  width: 3.5rem;
  height: 3.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
}

.section-mediakit-5 .content-mediakit-org-block .code-embed svg {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--rbc-blue) !important;
  fill: var(--rbc-blue) !important;
}

.section-mediakit-5 .content-mediakit-org-block .code-embed svg * {
  fill: var(--rbc-blue) !important;
  stroke: none !important;
}

/* ---------- Секція 6 — Наші проєкти ---------- */
.section-mediakit-6 {
  padding: 2rem 25%;
  justify-content: center;
  background-image: url("../images/section-bg-5.webp");
}

.section-mediakit-6 .grid-5 {
  flex: 0 1 auto;
  align-content: center;
}

.section-mediakit-6 .div-block-36-copy,
.section-mediakit-6 .content-mediakit-project-link-business {
  background-color: var(--rbc-blue);
}

/* Однакова висота карток, щоб CTA-кнопки вирівнювались у рядку */
.section-mediakit-6 .grid-5 > div {
  display: flex;
  flex-direction: column;
}

.section-mediakit-6 .grid-5 > div > .div-block-37 {
  flex: 1 1 auto;
}

.section-mediakit-6 .div-block-37 {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 0.5rem;
}

.section-mediakit-6 .div-block-37,
.section-mediakit-6 .div-block-37 * {
  text-align: left !important;
}

.section-mediakit-6 .div-block-37 .base-header-text {
  white-space: nowrap;
}

/* Цифра охоплення та підпис в один рядок */
.section-mediakit-6 .div-block-37 > .content-mediakit-project-reach {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
}

/* Лід-підзаголовок (перенесений із синього хедера у білу картку) */
.section-mediakit-6 .div-block-37 > .content-mediakit-project-lead {
  color: var(--text-general);
  font-weight: 600;
}

/* Розділювачі між групами картки: 1 лід, 2 Аудиторія, 3 reach, 4 Результати, 5 кнопка */
.section-mediakit-6 .div-block-37 > :nth-child(2),
.section-mediakit-6 .div-block-37 > :nth-child(3),
.section-mediakit-6 .div-block-37 > :nth-child(4) {
  border-top: 1px solid rgba(16, 16, 16, 0.12);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.section-mediakit-6 .div-block-37 > a {
  align-self: stretch;
  margin-top: auto;
}

/* ---------- Секція 7 — Наші формати ---------- */
.section-mediakit-7 {
  padding: 2rem 2rem;
}

/* Формати: flex замість grid, щоб неповний останній ряд центрувався.
   База — 4 в ряд (планшет); десктоп 6, малий екран 2 (нижче в @media) */
.section-mediakit-7 .grid-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.section-mediakit-7 .div-block-34 {
  flex: 0 0 calc((100% - 3 * 2rem) / 4);
  aspect-ratio: 3 / 4;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-mediakit-7 .div-block-34::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.section-mediakit-7 .div-block-34 > * {
  position: relative;
  z-index: 1;
  color: var(--text-focus);
}

.section-mediakit-7 .div-block-34 .base-header-text {
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.section-mediakit-7 .div-block-34:nth-child(1) { background-image: url("../images/formats/news.webp"); }
.section-mediakit-7 .div-block-34:nth-child(2) { background-image: url("../images/formats/interview.webp"); }
.section-mediakit-7 .div-block-34:nth-child(3) { background-image: url("../images/formats/big-report.webp"); }
.section-mediakit-7 .div-block-34:nth-child(4) { background-image: url("../images/formats/test-drive.webp"); }
.section-mediakit-7 .div-block-34:nth-child(5) { background-image: url("../images/formats/selections-and-guides.webp"); }
.section-mediakit-7 .div-block-34:nth-child(6) { background-image: url("../images/formats/ratings.webp"); }
.section-mediakit-7 .div-block-34:nth-child(7) { background-image: url("../images/formats/experts-commentary.webp"); }
.section-mediakit-7 .div-block-34:nth-child(8) { background-image: url("../images/formats/business-storytelling.webp"); }
.section-mediakit-7 .div-block-34:nth-child(9) { background-image: url("../images/formats/analytics.webp"); }
.section-mediakit-7 .div-block-34:nth-child(10) { background-image: url("../images/formats/operative-commentary.webp"); }
.section-mediakit-7 .div-block-34:nth-child(11) { background-image: url("../images/formats/interactive-longread.webp"); }
.section-mediakit-7 .div-block-34:nth-child(12) { background-image: url("../images/formats/visual-infographics.webp"); }
.section-mediakit-7 .div-block-34:nth-child(13) { background-image: url("../images/formats/digital_landing.webp"); }
.section-mediakit-7 .div-block-34:nth-child(14) { background-image: url("../images/formats/games-quizes.webp"); }
.section-mediakit-7 .div-block-34:nth-child(15) { background-image: url("../images/formats/branded-specchapter.webp"); }
.section-mediakit-7 .div-block-34:nth-child(16) { background-image: url("../images/formats/interactive-widget.webp"); }
.section-mediakit-7 .div-block-34:nth-child(17) { background-image: url("../images/formats/data-explainer.webp"); }
.section-mediakit-7 .div-block-34:nth-child(18) { background-image: url("../images/formats/video-story.webp"); }
.section-mediakit-7 .div-block-34:nth-child(19) { background-image: url("../images/formats/video-interview.webp"); }
.section-mediakit-7 .div-block-34:nth-child(20) { background-image: url("../images/formats/experts-livestream.webp"); }
.section-mediakit-7 .div-block-34:nth-child(21) { background-image: url("../images/formats/native-integration.webp"); }
.section-mediakit-7 .div-block-34:nth-child(22) { background-image: url("../images/formats/live-stream-rbc-forum.webp"); }
.section-mediakit-7 .div-block-34:nth-child(23) { background-image: url("../images/formats/live-stream.webp"); }
.section-mediakit-7 .div-block-34:nth-child(24) { background-image: url("../images/formats/experts-videoblog.webp"); }
.section-mediakit-7 .div-block-34:nth-child(25) { background-image: url("../images/formats/youtube-explainer.webp"); }
.section-mediakit-7 .div-block-34:nth-child(26) { background-image: url("../images/formats/documentary-minifilm.webp"); }
.section-mediakit-7 .div-block-34:nth-child(27) { background-image: url("../images/formats/telegram-sponsorship.webp"); }
.section-mediakit-7 .div-block-34:nth-child(28) { background-image: url("../images/formats/branded-cards.webp"); }
.section-mediakit-7 .div-block-34:nth-child(29) { background-image: url("../images/formats/branded-reels.webp"); }
.section-mediakit-7 .div-block-34:nth-child(30) { background-image: url("../images/formats/crossplatform-posts.webp"); }
.section-mediakit-7 .div-block-34:nth-child(31) { background-image: url("../images/formats/business-conference.webp"); }
.section-mediakit-7 .div-block-34:nth-child(32) { background-image: url("../images/formats/round-table.webp"); }
.section-mediakit-7 .div-block-34:nth-child(33) { background-image: url("../images/formats/business-breakfast.webp"); }

/* ---------- Секція 8 — Банери / спецпроєкти ---------- */
.section-mediakit-8 {
  min-height: auto;
  padding: 4rem 25%;
  row-gap: 1rem;
}

.section-mediakit-8,
.section-mediakit-8 * {
  border-radius: 0 !important;
}

.section-mediakit-8 > .base-header-text:first-child {
  margin-bottom: -0.5rem;
  text-align: center !important;
}

.section-mediakit-8 > .base-header-text:not(:first-child),
.section-mediakit-8 > .content-paragraph-regular,
.section-mediakit-8 .content-mediakit-8-block,
.section-mediakit-8 .content-mediakit-8-block * {
  align-self: stretch;
  margin: 0;
  padding: 0;
}

.section-mediakit-8 > .content-paragraph-integration-intro {
  text-align: center !important;
}

.section-mediakit-8 > .base-header-text:not(:first-child) {
  margin-top: 1rem;
  padding-top: 0;
}

.content-mediakit-8-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
  align-self: stretch;
  flex: none;
}

/* 2 картки в ряд; неповний останній ряд центрується (flex замість grid) */
.content-mediakit-8-grid > .content-mediakit-8-block {
  flex: 0 1 calc((100% - 2rem) / 2);
  min-width: 0;
}

.section-mediakit-8 .content-mediakit-8-block {
  background-color: transparent;
  min-height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-mediakit-8 .content-mediakit-8-block .div-block-36-copy {
  background-color: var(--rbc-blue);
  padding: 1rem;
}

.section-mediakit-8 .content-mediakit-8-block .div-block-37 {
  background-color: #fff;
  flex: 1 1 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.section-mediakit-8 .div-block-37 .content-paragraph-regular {
  color: var(--text-general);
}

.section-mediakit-8 .content-mediakit-8-volume {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-mediakit-8 .content-mediakit-8-volume li {
  color: var(--rbc-blue);
  font-weight: 600;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(6, 67, 124, 0.18);
}

.section-mediakit-8 .content-mediakit-8-block .content-paragraph-regular {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-mediakit-8 .content-mediakit-8-block strong {
  color: var(--text-focus);
  font-weight: 700;
}

.section-mediakit-8 .content-mediakit-8-block span {
  color: var(--text-focus);
}

.section-mediakit-8 .content-mediakit-project-link-ghost {
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--text-general);
}

.section-mediakit-8 .content-mediakit-project-link-ghost .content-paragraph-regular {
  color: var(--text-general);
}

/* ---------- Секція 9 — Наші івенти ---------- */
.section-mediakit-9 {
  padding: 2rem 25%;
  background-image: url("../images/section-bg-7.webp");
}

.section-mediakit-9 .div-block-31 {
  align-items: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.section-mediakit-9 .content-mediakit-9-grid {
  align-self: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  height: auto;
  margin-right: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.section-mediakit-9 .content-mediakit-9-grid > .div-block-32 {
  width: 100%;
  aspect-ratio: 3 / 1;
}

.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(1) { background-image: url("../images/events/forum.webp"); }
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(2) { background-image: url("../images/events/award.webp"); }
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(3) { background-image: url("../images/events/conference.webp"); }
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(4) { background-image: url("../images/events/summit.webp"); }
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(5) { background-image: url("../images/events/workshop.webp"); }
.section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(6) { background-image: url("../images/events/discussion.webp"); }

/* ---------- Секція 10 — Партнери ---------- */
.section-mediakit-10 {
  padding: 2rem 12.5%;
}

.section-mediakit-10 .div-block-31 {
  align-items: center;
  text-align: center;
}

.partner-logo {
  display: block;
  width: auto;
  height: 3rem;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.9;
}

.partners-marquee {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
}

.partners-marquee .partners-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
}

.partners-marquee .partner-logo {
  flex: 0 0 auto;
  width: calc(100vw / 7);
  height: auto;
  margin: 0 1rem;
  opacity: 0.9;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Секція 11 — Контакти / футер ---------- */
.section-mediakit-11 {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  background-color: var(--background-footer);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 12.5%;
  display: flex;
  min-height: 100svh;
}

.section-mediakit-11 .footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 4rem;
  align-self: stretch;
}

.section-mediakit-11 .footer-columns,
.section-mediakit-11 .footer-columns * {
  text-align: left !important;
}

.section-mediakit-11 .footer-columns,
.section-mediakit-11 .footer-columns a {
  color: var(--text-focus) !important;
}

.section-mediakit-11 .footer-columns a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.section-mediakit-11 .footer-col,
.section-mediakit-11 .footer-item {
  display: flex;
  flex-direction: column;
}

.section-mediakit-11 .footer-col { gap: 1rem; }
.section-mediakit-11 .footer-item { gap: 0.25rem; }
.section-mediakit-11 .footer-label { opacity: 0.6; }

.section-mediakit-11 .footer-link {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.section-mediakit-11 .footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.section-mediakit-11 .footer-social-link {
  display: inline-flex;
  color: var(--text-focus);
  transition: color 0.15s ease;
}

.section-mediakit-11 .footer-social-link svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.section-mediakit-11 .footer-social-link:hover {
  opacity: 0.7;
}

/* ---------- Банери (UI секції 8) ---------- */
.award-wrap-inner {
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.banner-preview {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.banner-category-switch,
.banner-preview-tabs,
.banner-preview-stage {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.banner-preview-stage {
  flex-direction: column;
  align-items: center;
}

.banner-preview-tabs {
  flex-wrap: wrap;
}

.banner-category-tab,
.banner-tab {
  cursor: pointer;
  border: 1px solid var(--rbc-blue);
  background: transparent;
  color: var(--text-general);
  padding: 0.5rem 1rem;
  font-family: inherit;
  line-height: 1.25rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.banner-category-tab.is-active,
.banner-tab.is-active {
  background: var(--rbc-blue);
  color: var(--text-focus) !important;
}

.banner-tab[hidden],
.banner-preview-frame[hidden] {
  display: none !important;
}

.banner-preview-svg {
  width: 100%;
  max-width: 56rem;
  height: auto;
  border: 1px solid #e2e2e8;
  background: #fff;
}

.banner-slot {
  fill: rgba(2, 138, 197, 0.22);
  stroke: var(--rbc-blue);
  stroke-width: 3;
  stroke-dasharray: 8 6;
}

.banner-preview-caption {
  color: var(--text-general) !important;
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (min-width: 992px) {
  /* На ПК фонові зображення розтягуються на всю секцію (stretch), без cover-обрізання */
  .section-mediakit-2,
  .section-mediakit-3,
  .section-mediakit-4,
  .section-mediakit-5,
  .section-mediakit-6,
  .section-mediakit-9 {
    background-size: 100% 100%;
  }

  .section-mediakit-4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: start;
    row-gap: 2rem;
  }

  .section-mediakit-4 .div-block-31 {
    grid-column: 1;
    grid-row: 1;
    width: 50%;
    max-width: none;
    align-items: flex-end;
    text-align: right !important;
  }

  .section-mediakit-4 .div-block-31 .base-header-text,
  .section-mediakit-4 .div-block-31 .content-paragraph-regular {
    text-align: right !important;
  }

  .section-mediakit-4 .grid-3 {
    grid-column: 1;
    grid-row: 2;
    width: 50%;
  }

  .section-mediakit-6 .grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .section-mediakit-7 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-mediakit-7 .div-block-34 {
    flex-basis: calc((100% - 5 * 2rem) / 6);
  }

  .section-mediakit-9 .content-mediakit-9-grid {
    padding-bottom: calc(100% / 12 + 0.5rem);
  }

  .section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(even) {
    transform: translateY(calc(50% + 0.5rem));
  }

  .content-mediakit-org-grid {
    grid-template-columns: repeat(4, 10rem);
    justify-content: center;
    gap: 2rem;
  }

  .section-mediakit-5 .content-mediakit-org-grid-small {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .section-mediakit-5 .content-mediakit-org-grid-small > .content-mediakit-org-block {
    flex: 0 0 10rem;
  }
}

@media screen and (max-width: 991px) {
  .content-main {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .hero-brand-mediakit {
    width: 75vw;
  }

  .base-header-text {
    flex: 1;
    margin-bottom: 0;
  }

  .base-header-text.base-header-text-mediakit {
    flex: 0 auto;
  }

  .header-navbar-mediakit {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-mediakit-2,
  .section-mediakit-3,
  .section-mediakit-4,
  .section-mediakit-5,
  .section-mediakit-6,
  .section-mediakit-7,
  .section-mediakit-8,
  .section-mediakit-9,
  .section-mediakit-10,
  .section-mediakit-11 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-mediakit-2 > .base-header-text {
    font-size: 6rem;
    line-height: 6.5rem;
  }

  .section-mediakit-4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 2rem;
  }

  .section-mediakit-4 .div-block-31,
  .section-mediakit-9 .div-block-31 {
    align-items: center;
    justify-self: center;
    max-width: 100%;
  }

  .section-mediakit-4 .div-block-31 .base-header-text,
  .section-mediakit-4 .div-block-31 .content-paragraph-regular,
  .section-mediakit-9 .div-block-31 .base-header-text,
  .section-mediakit-9 .div-block-31 .content-paragraph-regular {
    text-align: center !important;
  }

  .section-mediakit-4 .grid-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 10rem);
    height: auto;
  }

  .section-mediakit-4 .div-block-32:nth-child(n),
  .section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .section-mediakit-9 .content-mediakit-9-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-mediakit-9 .content-mediakit-9-grid > .div-block-32:nth-child(n) {
    transform: none;
  }

  .section-mediakit-11 .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .section-main {
    height: 75svh;
    padding-top: 4rem;
  }

  .section-main.section-mediakit-1 {
    height: 100svh;
  }

  .content-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .content-main.content-main-light {
    height: 75svh;
  }

  .content-main.content-main-light.content-main-mediakit {
    height: 100svh;
  }

  .base-header-text {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .cover-video {
    height: 75svh;
  }

  .cover-video.cover-video-mediakit {
    height: 100svh;
  }

  .header-logo-mediakit {
    width: 125%;
    max-width: none;
  }

  .header-logo-default {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .header-navbar-links {
    display: none;
  }

  .header-menu-mediakit {
    cursor: pointer;
    display: flex;
  }

  .header-menu-dropdown-mediakit {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    background-color: var(--foxtrot-background);
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4rem;
    padding: 2rem 1rem;
    display: none;
    position: fixed;
    inset: 0% 0% auto;
  }

  .header-menu-icon-close {
    display: none;
  }

  .grid-5 {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
  }

  .content-mediakit-9-grid {
    flex: 1;
  }

  .section-mediakit-2,
  .section-mediakit-3,
  .section-mediakit-4,
  .section-mediakit-5,
  .section-mediakit-6,
  .section-mediakit-8,
  .section-mediakit-9,
  .section-mediakit-10 {
    min-height: calc(100vw * 16 / 9);
  }

  .section-mediakit-2 > .base-header-text {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .section-mediakit-2 > .w-layout-vflex .content-paragraph-regular {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .section-mediakit-5 .content-mediakit-org-block .code-embed {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  .partners-marquee .partner-logo {
    width: calc(100vw / 3);
  }
}

@media (max-width: 640px) {
  .section-mediakit-9 .content-mediakit-9-grid,
  .section-mediakit-11 .footer-columns {
    grid-template-columns: 1fr !important;
  }

  .content-mediakit-8-grid > .content-mediakit-8-block {
    flex-basis: 100%;
  }

  .section-mediakit-4 .grid-3 {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(6, 10rem) !important;
  }

  .section-mediakit-8 .flex-block-14 {
    flex-direction: column;
  }
}

@media screen and (max-width: 479px) {
  .section-main {
    height: 50svh;
  }

  .content-main.content-main-light {
    height: 50svh;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-brand-mediakit {
    width: 75vw;
    gap: 1rem;
  }

  .hero-caption-mediakit {
    font-size: 1.25rem;
  }

  .base-header-text {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .cover-video {
    height: 50svh;
  }

  .header-logo-mediakit {
    width: 150%;
  }

  .header-logo-default,
  .header-menu-mediakit {
    height: 1rem;
  }

  .header-menu-mediakit svg {
    width: 1rem;
    height: 1rem;
  }

  .header-menu-dropdown-mediakit {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    margin-top: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .content-mediakit-why-grid {
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr;
  }

  .content-mediakit-org-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-mediakit-org-grid-small {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    padding-left: 0%;
    padding-right: 0%;
  }

  .section-mediakit-4 {
    place-items: stretch stretch;
  }

  .section-mediakit-7 {
    justify-items: stretch;
  }

  .section-mediakit-7 .div-block-34 {
    flex-basis: calc((100% - 2rem) / 2);
  }

  .section-mediakit-10 {
    place-items: stretch stretch;
  }

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

  .section-mediakit-6 {
    justify-items: stretch;
  }

  .section-mediakit-9 {
    place-items: stretch stretch;
  }

  .section-mediakit-8 {
    justify-items: stretch;
  }
}
