.hd-audience-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .9fr);
  gap: 40px;
  align-items: center;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
}

.hd-audience-heading {
  min-width: 0;
}

.hd-audience-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: var(--fw-regular);
  line-height: 1.55;
}

.hd-audience-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid #d9e2dc;
  border-radius: var(--r-md);
  background: #f2f5f3;
}

.hd-audience-tabs button {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 10px 12px;
  color: #56615b;
  background: transparent;
  text-align: left;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.hd-audience-tabs button:hover {
  border-color: #cbd7cf;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
}

.hd-audience-tab__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hd-audience-stage {
  min-width: 0;
  display: grid;
}

.hd-audience-panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hd-audience-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hd-audience-index {
  /* Блочный flex, а не inline-flex: у вкладки «Бизнес» подпись лежит в блочной
     обёртке, и как строчный элемент она садилась на базовую линию — из-за этого
     всё содержимое панели уезжало на 10px вниз, и при переключении текст прыгал. */
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 10px;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.hd-audience-index::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hd-audience-homepane__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 42px;
}

.hd-audience-homepane__facts strong,
.hd-audience-homepane__facts small {
  display: block;
}

.hd-audience-homepane .btn {
  min-height: 48px;
  margin-top: auto;
  border-radius: var(--r-md);
  padding-inline: 20px;
}

.hd-audience-homepane__media {
  position: relative;
  min-width: 0;
  min-height: 354px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  place-items: center;
  gap: 6px;
  margin: 0;
  padding: 22px 26px 18px;
  border-left: 1px solid var(--line);
  background: #f7f9f8;
}

.hd-audience-homepane__media > span {
  justify-self: end;
  color: var(--brand);
  font-size: 10px;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
}

.hd-audience-homepane__media img {
  width: 100%;
  height: 230px;
  display: block;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.hd-audience-homepane__media figcaption {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.hd-audience-businesspane__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 42px;
}

.hd-audience-businesspane__intro {
  min-width: 0;
}

.hd-audience-businesspane__facts strong,
.hd-audience-businesspane__facts small {
  display: block;
}

.hd-audience-businesspane .btn {
  min-height: 48px;
  margin-top: auto;
  border-radius: var(--r-md);
  padding-inline: 20px;
}

.hd-audience-businesspane__media {
  position: relative;
  min-width: 0;
  min-height: 354px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  place-items: center;
  gap: 6px;
  margin: 0;
  padding: 22px 26px 18px;
  border-left: 1px solid var(--line);
  background: #edf3ef;
}

.hd-audience-businesspane__media > span {
  justify-self: end;
  color: var(--brand);
  font-size: 10px;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
}

.hd-audience-businesspane__media img {
  width: 100%;
  height: 230px;
  display: block;
  border-radius: var(--r-sm);
  object-fit: cover;
}

.hd-audience-businesspane__media figcaption {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid #cddfd1;
}

.hd-audience-businesspane__media figcaption small {
  color: var(--muted);
  font-size: 10px;
  font-weight: var(--fw-regular);
}

@media (max-width: 1100px) {
  .hd-audience-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hd-audience-tabs {
    max-width: 680px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hd-audience-tabs button {
    transition: none;
  }
}
