/* bd-page v5.0 — дизайн-система внутренностей страниц bolgarskiydom.com */

.bd-page {
  --ink: #1c2b30;
  --muted: #60747d;
  --accent: #4095a9;
  --accent-text: #286b7c;
  --accent-deep: #087887;
  --line: #dbe7e9;
  --soft: #f4fafb;
  --soft-2: #edf8f8;
  --soft-alt: #f7fbfb;
  --paper: #ffffff;
  --on-dark: #ffffff;
  --cta-ink: #f7fbfb;
  --advice-copy: #dfeaec;
  --advice-meta: #d6e5e7;
  --btn-ink: #111820;
  --c-tile-border: #a9cfd6;
  --c-tile-hover-bg: #e8f5f6;
  --gap-block: 26px;
  --grad-brand: linear-gradient(90deg, #4e6f93 0%, #087f81 100%);
  --grad-table: linear-gradient(90deg, #645984 0%, #06c2c1 100%);
  --grad-heading: linear-gradient(90deg, #645785 0%, #4b7495 55%, #087f81 100%);
  --grad-advice: linear-gradient(115deg, #3b6888 0%, #087075 100%);
  --grad-mobile-card: linear-gradient(90deg, #65518f 0%, #287f9a 52%, #00bfb8 100%);
  --grad-btn: linear-gradient(91.08deg, #a37cff .27%, #ff8251 98.65%);
  --s1: 0 14px 34px rgba(8, 120, 135, .08);
  --s2: 0 18px 44px rgba(8, 120, 135, .09);
  --s3: 0 22px 52px rgba(8, 120, 135, .2);

  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 8px 0 32px;
  font-family: "Exo 2", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}

.bd-page *,
.bd-page *::before,
.bd-page *::after {
  box-sizing: border-box;
}

/* Bootstrap row adds 15px outside its container on article pages. Reset the
   real source of the document overflow instead of hiding it with overflow-x. */
body:has(.bd-page) .row.main-block {
  width: auto;
  margin-right: 0;
  margin-left: 0;
}

/* --- Typography (Святой Влас) --- */

.bd-page h1 {
  margin: 28px 0 18px;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
}

.bd-page h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

/* Исключение: единственный селектор системы вне .bd-page.
   На статьях заголовок приходит из инпута h1_* и рендерится шаблоном выше
   контентного блока, поэтому .bd-page h1 до него не достаёт.
   Селектор проверен на живой /gretsiya/. На городских страницах заголовок
   лежит внутри поля, и этот блок им просто не пользуется.
   Значения числом: токены объявлены на .bd-page, а элемент снаружи. */
.article-container > h1 {
  margin: 28px 0 18px;
  /* Гарнитуру задаём здесь же: элемент вне .bd-page, наследовать не от чего.
     Без неё заголовок падает на умолчание браузера — поймано приёмкой. */
  font-family: "Exo 2", Helvetica, Arial, sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #1c2b30;
  text-align: center;
}

.article-container > h1 em {
  font-style: normal;
  font-weight: 600;
  color: #4095a9;
}

.bd-page h2 {
  margin: 34px 0 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent-text);
  background-image: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .bd-page h2 {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.bd-page h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent-text);
}

.bd-page p,
.bd-page li,
.bd-page a {
  font-size: 18px;
  line-height: 1.65;
}

.bd-page p {
  margin: 0 0 16px;
}

.bd-page .bd-lead {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.6;
}

.bd-page a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bd-page .bd-links a,
.bd-page .bd-btn,
.bd-page .bd-cta__button {
  text-decoration: none;
}

.bd-page p > b:first-child,
.bd-page p > strong:first-child,
.bd-page li > b:first-child,
.bd-page li > strong:first-child,
.bd-page li > p:first-child > b:first-child,
.bd-page li > p:first-child > strong:first-child,
.bd-page td > b:first-child,
.bd-page td > strong:first-child {
  color: var(--accent-text);
  background-image: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .bd-page p > b:first-child,
  .bd-page p > strong:first-child,
  .bd-page li > b:first-child,
  .bd-page li > strong:first-child,
  .bd-page li > p:first-child > b:first-child,
  .bd-page li > p:first-child > strong:first-child,
  .bd-page td > b:first-child,
  .bd-page td > strong:first-child {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.bd-page a:focus-visible,
.bd-page button:focus-visible,
.bd-page summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}

/* Kit token values (no <code>) */
.bd-page .bd-val {
  display: inline-block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.4;
  color: var(--accent-deep);
  word-break: break-all;
}

/* --- .bd-zones — нумерованный перечень (Святой Влас) --- */

.bd-page .bd-zones {
  list-style: none;
  margin: var(--gap-block) 0;
  padding: 0;
}

.bd-page .bd-zones > li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.bd-page .bd-zones > li:last-child {
  border-bottom: 1px solid var(--line);
}

.bd-page .bd-zones__num {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.bd-page .bd-zones b,
.bd-page .bd-zones strong {
  font-weight: 600;
}

.bd-page .bd-zones p {
  margin: 0;
}

/* --- .bd-facts — сетка фактов (Святой Влас) --- */

.bd-page .bd-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: var(--gap-block) 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.bd-page .bd-facts--1 {
  grid-template-columns: 1fr;
}

.bd-page .bd-facts > li {
  position: relative;
  padding: 15px 0;
  padding-left: 30px;
  border-top: 1px solid var(--line);
  margin: 0;
  color: var(--ink);
}

.bd-page .bd-facts > li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent-deep);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
}

.bd-page .bd-facts b,
.bd-page .bd-facts strong {
  font-weight: 600;
}

.bd-page .bd-facts p {
  margin: 0;
}

/* --- .bd-list — обычный ненумерованный список --- */

.bd-page .bd-list {
  margin: var(--gap-block) 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.bd-page .bd-list > li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.bd-page .bd-list > li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--accent-deep);
}

/* --- .bd-advice — карточка совета эксперта (Святой Влас) --- */

.bd-page .bd-advice {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 24px;
  margin: var(--gap-block) 0;
  padding: 28px 30px;
  background: var(--grad-advice);
  color: var(--btn-ink);
  border-radius: 0;
}

.bd-page .bd-advice img {
  width: 144px;
  height: 144px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
}

.bd-page .bd-advice__kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 0;
  background: var(--grad-btn);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: transparent;
}

.bd-page .bd-advice__name {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  color: var(--on-dark);
}

.bd-page .bd-advice__role {
  display: inline-block;
  width: fit-content;
  margin-top: 6px;
  padding: 0;
  background: var(--grad-btn);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: transparent;
}

.bd-page .bd-advice p {
  margin: 16px 0 0;
  color: var(--advice-copy);
}

.bd-page .bd-advice p > strong:first-child,
.bd-page .bd-advice p > b:first-child {
  background: none;
  color: var(--advice-copy);
  -webkit-text-fill-color: var(--advice-copy);
}

.bd-page .bd-advice p + p {
  margin-top: 12px;
}

.bd-page .bd-advice a {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, .78);
}

/* --- .bd-links — плитки каталога (Святой Влас) --- */

.bd-page .bd-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: var(--gap-block) 0;
  padding: 0;
  list-style: none;
}

.bd-page .bd-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--c-tile-border);
  background: var(--soft);
  color: var(--accent-text);
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background-color .18s ease;
}

.bd-page .bd-links--compact a {
  min-height: 54px;
}

.bd-page .bd-links a:hover {
  background: var(--c-tile-hover-bg);
  border-color: var(--accent);
}

/* --- .bd-quick — быстрый ответ (новость) --- */

.bd-page .bd-quick {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: var(--gap-block) 0;
  padding: 24px 26px;
  border: 0;
  border-left: 4px solid var(--accent-deep);
  background: var(--soft-2);
  box-shadow: var(--s1);
}

.bd-page .bd-quick__icon {
  display: grid;
  width: 58px;
  min-width: 58px;
  height: 58px;
  place-items: center;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--accent-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.bd-page .lightbulb-icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bd-page .bd-quick__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 10px;
  align-items: center;
  padding: 0;
  min-width: 0;
}

.bd-page .bd-quick__title {
  display: block;
  grid-column: 1;
  margin: 0;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.bd-page .bd-quick__meta {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.bd-page .bd-quick__meta strong {
  margin-left: .35em;
  color: var(--accent-deep);
  font-weight: 700;
}

.bd-page .bd-quick__read {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.bd-page .bd-quick__text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.58;
}

/* --- .bd-figure — обложка (новость) --- */

.bd-page .bd-figure {
  margin: var(--gap-block) 0;
  padding: 0;
}

.bd-page .bd-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 20px 48px rgba(27, 101, 111, .16);
}

.bd-page .bd-figure figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* --- .bd-table — таблица (новость) --- */

.bd-page .bd-table {
  margin: var(--gap-block) 0;
  overflow: visible;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(8, 120, 135, .07);
}

.bd-page .bd-table table {
  width: 100%;
  table-layout: fixed;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  line-height: 1.45;
}

.bd-page .bd-table thead tr {
  background: var(--grad-table);
}

.bd-page .bd-table th {
  padding: 17px 18px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
}

.bd-page .bd-table td {
  padding: 17px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.bd-page .bd-table tbody tr:last-child td {
  border-bottom: 0;
}

.bd-page .bd-table tbody tr:nth-child(even) td {
  background: var(--soft-alt);
}

/* --- .bd-sources — источники (новость) --- */

.bd-page .bd-sources {
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.bd-page .bd-sources > h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

.bd-page .bd-sources ul {
  margin: 0;
  padding-left: 20px;
}

.bd-page .bd-sources li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.bd-page .bd-sources a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

.bd-page .bd-sources__date {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

/* --- .bd-faq — вопросы (Греция) --- */

.bd-page .bd-faq {
  margin: var(--gap-block) 0;
}

.bd-page .bd-faq details {
  margin: 12px 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.bd-page .bd-faq summary {
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-deep);
  cursor: pointer;
  list-style: none;
}

.bd-page .bd-faq summary::-webkit-details-marker {
  display: none;
}

.bd-page .bd-faq details[open] summary {
  background: var(--grad-brand);
  color: var(--on-dark);
}

.bd-page .bd-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 18px;
  line-height: 1.65;
}

/* --- .bd-cta — финальный блок (основатель + фото справа) --- */
/* margin-top 40px намеренный: закрывающий блок первоисточника, за ним ничего
   не следует; в ритм --gap-block между контентными блоками не входит. */

.bd-page .bd-cta {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  margin: 40px 0 0;
  padding: 24px;
  padding-right: 37%;
  background: var(--grad-brand);
  border-radius: 0;
  color: var(--cta-ink);
}

.bd-page .bd-cta__body {
  min-width: 0;
}

.bd-page .bd-cta__name {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cta-ink);
  margin: 0 0 2px;
}

.bd-page .bd-cta__role {
  display: block;
  width: fit-content;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  background: var(--grad-btn);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0 0 16px;
}

.bd-page .bd-cta p {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cta-ink);
}

.bd-page .bd-cta p + p {
  margin-top: -4px;
}

.bd-page .bd-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 40px;
  border-radius: 5px;
  background: var(--grad-btn);
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
}

.bd-page .bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 8px 0 0;
  padding: 12px 24px;
  border: 0;
  background: var(--grad-btn);
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.bd-page .bd-btn:hover {
  filter: brightness(1.05);
}

.bd-page .bd-btn:active {
  transform: translateY(1px);
}

.bd-page .bd-btn:focus-visible {
  outline: 3px solid var(--on-dark);
  outline-offset: 3px;
}

.bd-page .bd-cta__media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(300px, calc(100% - 32px));
  height: 360px;
}

.bd-page .bd-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* --- Tablet (761px–1024px) --- */

@media (min-width: 761px) and (max-width: 1024px) {
  .bd-page {
    --gap-block: 24px;
    padding: 8px 0 28px;
  }

  .bd-page h1 {
    font-size: 42px;
  }

  .article-container > h1 {
    font-size: 42px;
  }

  .bd-page h2 {
    font-size: 21px;
    margin: 30px 0 12px;
  }

  .bd-page h3 {
    margin: 20px 0 10px;
  }

  .bd-page .bd-lead {
    font-size: 18px;
  }

  .bd-page .bd-zones > li {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .bd-page .bd-zones__num {
    font-size: 26px;
  }

  .bd-page .bd-facts {
    gap: 0 20px;
  }

  .bd-page .bd-advice {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 24px;
  }

  .bd-page .bd-advice img {
    width: 120px;
    height: 120px;
  }

  .bd-page .bd-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-page .bd-quick {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 20px;
  }

  .bd-page .bd-quick__icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .bd-page .bd-faq summary {
    font-size: 17px;
    padding: 16px 18px;
  }

  .bd-page .bd-cta {
    padding-right: 40%;
  }

  .bd-page .bd-cta p {
    max-width: none;
  }
}

/* --- Mobile (max-width: 760px) --- */

@media (max-width: 760px) {
  .bd-page {
    --gap-block: 22px;
    padding: 4px 0 26px;
  }

  .bd-page h1 {
    font-size: 36px;
  }

  .article-container > h1 {
    font-size: 36px;
  }

  .bd-page h2 {
    font-size: 20px;
    margin: 28px 0 12px;
  }

  .bd-page .bd-lead {
    font-size: 18px;
  }

  .bd-page .bd-zones > li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .bd-page .bd-facts {
    grid-template-columns: 1fr;
  }

  .bd-page .bd-advice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 1.35fr);
    grid-template-rows: auto auto auto;
    gap: 0 16px;
    align-items: center;
    padding: 28px 20px 30px;
    background: var(--grad-brand);
  }

  .bd-page .bd-advice img {
    display: block;
    position: static;
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    width: min(100%, 230px);
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    padding: 5px;
    border: 0;
    border-radius: 50%;
    background: var(--grad-btn);
  }

  .bd-page .bd-advice > div {
    display: contents;
    margin: 0;
    padding: 0;
  }

  .bd-page .bd-advice__kicker {
    display: none;
  }

  .bd-page .bd-advice__name {
    display: block;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    max-width: none;
    font-size: 20px;
    line-height: 1.45;
  }

  .bd-page .bd-advice__role {
    display: block;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
  }

  .bd-page .bd-advice p {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    width: 100%;
    font-size: 18px;
    line-height: 1.75;
    margin: 28px 0 0;
  }

  .bd-page .bd-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bd-page .bd-links a {
    width: 100%;
    min-height: 58px;
  }

  .bd-page .bd-quick {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 18px;
    align-items: center;
  }

  .bd-page .bd-quick__icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .bd-page .bd-quick__body {
    display: contents;
  }

  .bd-page .bd-quick__title {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    text-align: center;
    margin: 0;
  }

  .bd-page .bd-quick__meta {
    grid-column: 1 / -1;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    width: 100%;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    white-space: nowrap;
  }

  .bd-page .bd-quick__text {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 10px;
    font-size: 18px;
  }

  .bd-page .bd-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bd-page .bd-table table {
    display: block;
    min-width: 0;
  }

  .bd-page .bd-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .bd-page .bd-table tbody {
    display: grid;
    gap: 14px;
  }

  .bd-page .bd-table tbody tr {
    display: block;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .bd-page .bd-table td {
    display: block;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    background: var(--paper);
  }

  .bd-page .bd-table td:last-child {
    border-bottom: 0;
  }

  .bd-page .bd-table tbody tr:nth-child(even) td {
    background: var(--paper);
  }

  .bd-page .bd-table td::before {
    content: attr(data-label);
    display: block;
    margin: 0 0 6px;
    padding: 0;
    background: none;
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .bd-page .bd-table tbody tr td:first-child::before {
    margin: -16px -18px 12px;
    padding: 11px 18px;
    background: var(--grad-mobile-card);
    color: var(--on-dark);
  }

  .bd-page .bd-faq summary {
    padding: 16px;
    font-size: 16px;
  }

  .bd-page .bd-faq details p {
    padding: 0 16px 18px;
    font-size: 18px;
    line-height: 1.6;
  }

  .bd-page .bd-cta {
    margin: 32px 0 0;
    padding: 24px 16px;
  }

  .bd-page .bd-cta__body {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bd-page .bd-cta__name { order: 1; }
  .bd-page .bd-cta__role { order: 2; }

  .bd-page .bd-cta__media {
    position: static;
    order: 3;
    width: 75%;
    height: auto;
    margin: 4px auto 22px;
    transform: none;
  }

  .bd-page .bd-cta__media img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center bottom;
  }

  .bd-page .bd-cta p { order: 4; }

  .bd-page .bd-cta__button {
    order: 5;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}
