/* =========================================================================
   disputes.ua — макет сайту (шаблон cassiopeia_disputes)
   Шапка, меню, перемикач мови, банер розділу, сторінка статті,
   список статей категорії, пагінація, блок контактів, карта, футер.
   Компоненти контенту — окремим файлом disputes-components.css.
   ========================================================================= */

:root {
  --dsp-dark: #3b3b3b;
  --dsp-dark-2: #37383a;
  --dsp-gold: #ffd012;
  --dsp-gold-hover: #ffdb45;
  --dsp-text: #000;
  --dsp-muted: #6b6b6b;
  --dsp-light: #ededed;
  --dsp-container: 1320px;
  --dsp-gutter: 15px;
  --dsp-header-h: 80px;
  --dsp-radius: 15px;
}

/* ---- Основа ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--dsp-header-h) + 10px); }
body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--dsp-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.dsp-container {
  width: 100%;
  max-width: var(--dsp-container);
  margin: 0 auto;
  padding: 0 var(--dsp-gutter);
}
.dsp-ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }

/* ---- Шапка ---- */
.dsp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dsp-dark);
  color: #fff;
  transition: box-shadow .2s ease;
}
.dsp-header.is-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.dsp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--dsp-header-h);
}
.dsp-header__logo { flex: 0 0 auto; margin-right: auto; line-height: 0; }
.dsp-header__logo a, .dsp-header__logo span.dsp-logo { display: inline-block; text-decoration: none; }
.dsp-header__logo img { display: block; width: 111px; height: auto; }
.dsp-logo-text { line-height: 1; font-weight: 700; }
.dsp-logo-text__desktop { display: block; font-size: 21px; color: #fff; transition: color .3s ease; }
a.dsp-logo-text:hover .dsp-logo-text__desktop { color: var(--dsp-gold); }
.dsp-logo-text__mobile { display: none; font-size: 24px; color: var(--dsp-gold); }
@media (max-width: 991px) {
  .dsp-logo-text__desktop { display: none; }
  .dsp-logo-text__mobile { display: block; }
}
.dsp-header__lang { flex: 0 0 auto; }

/* Меню (mod_menu у позиції offcanvas) */
.dsp-nav ul { list-style: none; margin: 0; padding: 0; }
.dsp-nav > ul, .dsp-nav .mod-menu { display: flex; align-items: stretch; }
.dsp-nav li { margin: 0; }
.dsp-nav a, .dsp-nav .nav-header, .dsp-nav .separator {
  display: flex;
  align-items: center;
  height: var(--dsp-header-h);
  padding: 0 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.dsp-nav a:hover { color: var(--dsp-gold); }
.dsp-nav .current > a, .dsp-nav .active > a {
  color: var(--dsp-gold);
  border-bottom-color: var(--dsp-gold);
}
.dsp-nav li ul { display: none; } /* підменю в шапці не показуємо — їх і не було */

/* Бургер */
.dsp-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 10px 8px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.dsp-burger span { display: block; height: 2px; background: var(--dsp-gold); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.dsp-nav-open .dsp-burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.dsp-nav-open .dsp-burger span:nth-child(2) { opacity: 0; }
.dsp-nav-open .dsp-burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1199px) {
  .dsp-nav a { padding: 0 16px; }
}
@media (max-width: 991px) {
  :root { --dsp-header-h: 70px; }
  .dsp-burger { display: flex; order: 3; }
  .dsp-header__lang { order: 2; }
  .dsp-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dsp-dark);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .dsp-nav-open .dsp-nav { max-height: 80vh; overflow-y: auto; }
  .dsp-nav > ul, .dsp-nav .mod-menu { flex-direction: column; padding: 8px 0 16px; }
  .dsp-nav a { height: auto; padding: 14px var(--dsp-gutter); border-bottom: 0; border-left: 3px solid transparent; font-size: 18px; }
  .dsp-nav .current > a, .dsp-nav .active > a { border-left-color: var(--dsp-gold); }
}

/* ---- Перемикач мови ---- */
.lang-switch { position: relative; z-index: 1001; }
.lang-switch__btn {
  display: flex; align-items: center; justify-content: center;
  width: 43px; height: 33px;
  font-family: "Lato", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: transparent;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 10px;
  cursor: pointer; user-select: none;
  transition: background-color .2s ease, border-radius .2s ease, border-bottom-color .2s ease;
}
.lang-switch.is-open .lang-switch__btn { background: var(--dsp-dark); border-radius: 10px 10px 0 0; border-bottom-color: transparent; }
.lang-switch__dropdown {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: var(--dsp-dark);
  border: 1px solid rgba(255, 255, 255, .85); border-top: 0; border-radius: 0 0 10px 10px;
  overflow: hidden; max-height: 0; opacity: 0; pointer-events: none;
  transition: max-height .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.lang-switch.is-open .lang-switch__dropdown { max-height: 90px; opacity: 1; pointer-events: auto; }
.lang-switch__list { list-style: none; margin: 0; padding: 4px 0 8px; display: flex; flex-direction: column; align-items: center; }
.lang-switch__list li a, .lang-switch__list li > span {
  display: block; padding: 5px 0; width: 41px; text-align: center;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; line-height: 1;
  color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .15s ease;
}
.lang-switch__list li a:hover, .lang-switch__list li.active a, .lang-switch__list li.active > span { color: #fff; }
.lang-switch__list li.active > span { cursor: default; }

/* ---- Банер розділу (колишній sp-page-title) ---- */
/* Колона притиснута до правого краю банера й видима повністю; на вузьких екранах наполовину заходить за край */
.dsp-banner {
  display: flex; flex-direction: column; justify-content: center;
  height: 240px;
  background: var(--dsp-dark-2) url(/images/2023/10/30/column-min.png) no-repeat right top / auto 100%;
  color: #fff;
}
.dsp-banner__title {
  margin: 0;
  font-size: 56px; font-weight: 600; line-height: 1.1;
  text-transform: uppercase; color: #fff;
}
@media (max-width: 991px)  { .dsp-banner { height: 200px; background-position: right -140px top; } .dsp-banner__title { font-size: 46px; } }
@media (max-width: 767px)  { .dsp-banner { height: 160px; background-position: right -120px top; } .dsp-banner__title { font-size: 36px; } }
@media (max-width: 439px)  { .dsp-banner { background-position: right -150px top; } .dsp-banner__title { font-size: 30px; } }

/* ---- Основна область ---- */
.dsp-main { padding: 100px 0; }
@media (max-width: 767px) { .dsp-main { padding: 50px 0; } }

/* Системні повідомлення Joomla */
#system-message-container joomla-alert, #system-message-container .alert {
  display: block; margin: 0 0 24px; padding: 14px 18px;
  border-radius: 10px; background: #fff8d6; border-left: 4px solid var(--dsp-gold);
}

/* ---- Сторінка статті ---- */
.article-details { max-width: 100%; }
.article-details .article-full-image { margin: 0 0 36px; }
.article-details .article-full-image img {
  display: block; width: 100%; height: auto; max-height: 550px; object-fit: cover;
  border-radius: var(--dsp-radius) var(--dsp-radius) 0 0;
}
.article-details .article-full-image figcaption { margin-top: 8px; font-size: 14px; color: var(--dsp-muted); }
.article-details .article-header h1 {
  margin: 0 0 24px;
  font-size: 40px; font-weight: 700; line-height: 1.25; text-transform: uppercase;
}
.dsp-badge { display: inline-block; margin: 0 8px 12px 0; padding: 2px 10px; border-radius: 12px; background: #ffe58a; font-size: 14px; }
.article-details .article-info {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 45px; margin: 0 0 32px;
  font-size: 16px;
}
.article-details .article-info > span { display: inline-flex; align-items: center; gap: 8px; }
.article-details .article-info a { color: var(--dsp-text); text-decoration: underline; text-decoration-color: var(--dsp-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-details .article-info .dsp-share { gap: 12px; }
.article-details .article-info .dsp-share a { text-decoration: none; line-height: 0; }
.article-details .article-info .dsp-share a:hover { color: var(--dsp-gold); }
.article-details .article-info .dsp-share .dsp-ico { width: 18px; height: 18px; }
.article-can-edit { margin: -12px 0 16px; font-size: 14px; }
.article-details .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.article-details .tags a { display: inline-block; padding: 4px 12px; border: 1px solid #000; border-radius: 15px; font-size: 14px; text-decoration: none; }
.article-details .tags a:hover { background: #000; color: #fff; }
@media (max-width: 767px) {
  .article-details .article-header h1 { font-size: 28px; }
  .article-details .article-full-image img { max-height: none; }
  .article-details .article-info { gap: 10px 24px; }
}

/* ---- Список статей категорії (картки) ---- */
.com-content-category-blog .category-desc { margin-bottom: 40px; }
.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 30px;
}
.article-list.cols-1 { grid-template-columns: 1fr; }
.article-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-list .article {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 565px;
  border-radius: var(--dsp-radius);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  overflow: hidden;
  background: #fff;
}
.article-list .article-intro-image { display: block; line-height: 0; }
.article-list .article-intro-image img { display: block; width: 100%; aspect-ratio: 1170 / 650; object-fit: cover; }
.article-list .article-body { flex: 1; display: flex; flex-direction: column; padding: 30px 30px 30px 24px; }
.article-list .article-info { margin: 0 0 20px; }
.article-list .article-info .published {
  display: inline-block; padding: 1px 10px;
  border: 1.3px solid #000; border-radius: 15px;
  font-size: 14px; font-weight: 500;
}
.article-list .article-introtext { flex: 1; font-size: 16px; line-height: 1.5; text-align: justify; }
.article-list .article-introtext p { margin: 0 0 8px; }
.article-list .article-introtext img { display: none; }
.article-list .readmore { margin-top: 24px; text-align: center; }
.article-list .readmore span {
  display: inline-block; padding: 0 2px 1px;
  font-size: 13px; line-height: 1.5; color: var(--dsp-dark);
  text-decoration: none; border-bottom: 1px solid var(--dsp-dark);
}
.article-list .article:hover .readmore span { color: #000; border-bottom-color: var(--dsp-gold); }
/* Уся картка клікабельна: посилання обкладинки розтягнуте на картку; «Читати далі» — підпис без посилання */
.article-list .article-intro-image::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 1199px) { .article-list { gap: 40px 20px; } }
@media (max-width: 991px)  { .article-list, .article-list.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article-list .article { min-height: 0; } }
@media (max-width: 640px)  { .article-list, .article-list.cols-2, .article-list.cols-3 { grid-template-columns: 1fr; } }

/* Попередня / наступна стаття */
.pagenavigation { margin: 48px 0 0; }
.pagenavigation .pagination { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 0; }
.pagenavigation .pagination a {
  display: inline-block; padding: 8px 40px; border-radius: 30px;
  font-size: 14px; line-height: 1.43; color: #000; text-decoration: none;
}
.pagenavigation .pagination .previous { background: #d9d9d9; }
.pagenavigation .pagination .previous:hover { background: #828282; color: #fff; }
.pagenavigation .pagination .next { margin-left: auto; background: var(--dsp-gold); }
.pagenavigation .pagination .next:hover { background: #cca60e; }
.pagenavigation [class^="icon-"] { display: none; }

.items-more { margin-top: 40px; }
.dsp-empty { color: var(--dsp-muted); }

/* ---- Пагінація ---- */
.dsp-pagination { margin-top: 60px; }
.dsp-pagination .pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.dsp-pagination .page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid #000; border-radius: 20px;
  color: #000; font-size: 16px; text-decoration: none; background: transparent;
}
.dsp-pagination a.page-link:hover { background: var(--dsp-gold); border-color: var(--dsp-gold); }
.dsp-pagination .active .page-link { background: var(--dsp-dark); border-color: var(--dsp-dark); color: #fff; }
.dsp-pagination .disabled .page-link { opacity: .35; }
.dsp-pagination [class^="icon-"], .dsp-pagination [class*=" icon-"] { font-style: normal; }
.dsp-pagination .icon-angle-double-left::before { content: "«"; }
.dsp-pagination .icon-angle-left::before { content: "‹"; }
.dsp-pagination .icon-angle-right::before { content: "›"; }
.dsp-pagination .icon-angle-double-right::before { content: "»"; }
@media (max-width: 575px) {
  .dsp-pagination .pagination li:first-child, .dsp-pagination .pagination li:last-child { display: none; }
}

/* ---- Блок «Контакти» (модуль у позиції dsp-contacts) ---- */
.dsp-contacts {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--dsp-light);
}
.dsp-contacts__info { background: var(--dsp-gold); padding: 80px 60px 60px max(var(--dsp-gutter), calc((100vw - var(--dsp-container)) / 2 + var(--dsp-gutter))); }
.dsp-contacts__form { padding: 80px max(var(--dsp-gutter), calc((100vw - var(--dsp-container)) / 2 + var(--dsp-gutter))) 60px 90px; }
.dsp-contacts__title { margin: 0 0 32px; font-size: 48px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.dsp-contacts__list { list-style: none; margin: 0; padding: 0; }
.dsp-contacts__item { margin: 0 0 24px; }
.dsp-contacts__label { display: block; margin-bottom: 10px; font-size: 18px; font-weight: 500; }
.dsp-contacts__row { display: grid; grid-template-columns: 24px 1fr; gap: 0 95px; align-items: center; font-size: 18px; }
.dsp-contacts__row .dsp-ico { width: 20px; height: 20px; }
.dsp-contacts__row a { color: inherit; text-decoration: none; }
.dsp-contacts__row a:hover { text-decoration: underline; }
.dsp-contacts__msg { display: flex; gap: 22px; }
.dsp-contacts__msg a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; }
.dsp-contacts__msg .dsp-ico { width: 28px; height: 28px; }
.dsp-btn-outline {
  display: inline-block; padding: 10px 26px;
  border: 2px solid #000; border-radius: 25px;
  font-size: 16px; font-weight: 700; color: #000; text-decoration: none;
}
.dsp-btn-outline:hover { background: #000; color: var(--dsp-gold); }
@media (max-width: 991px) {
  .dsp-contacts { grid-template-columns: 1fr; }
  .dsp-contacts__info, .dsp-contacts__form { padding: 50px var(--dsp-gutter); }
  .dsp-contacts__title { font-size: 36px; }
  .dsp-contacts__row { gap: 0 24px; }
}

/* Форма (плагін форми контактів) */
.dsp-form { max-width: 475px; }
.dsp-form__field { margin: 0 0 20px; }
.dsp-form label { display: block; margin-bottom: 6px; font-size: 18px; }
.dsp-form label .req { color: #e00; }
.dsp-form input[type="text"], .dsp-form input[type="email"], .dsp-form textarea {
  width: 100%; padding: 8px 12px;
  border: 1px solid #ccc; border-radius: 4px; background: #fff;
  font: inherit; font-size: 16px;
}
.dsp-form textarea { min-height: 150px; resize: vertical; }
.dsp-form input:focus, .dsp-form textarea:focus { outline: 2px solid var(--dsp-gold); border-color: var(--dsp-gold); }
.dsp-form__hp { position: absolute; left: -9999px; }
.dsp-form__captcha { margin: 0 0 20px; }
.dsp-form__submit {
  display: inline-block; min-width: 280px; padding: 16px 30px;
  border: 0; border-radius: 30px; background: var(--dsp-gold);
  font-size: 16px; cursor: pointer;
}
.dsp-form__submit:hover { background: var(--dsp-gold-hover); }
.dsp-form__status { margin-top: 16px; font-size: 16px; }
.dsp-form__status.is-ok { color: #1b5e20; }
.dsp-form__status.is-error { color: #b71c1c; }

/* ---- Карта ---- */
.dsp-map { position: relative; height: 440px; background: var(--dsp-dark); overflow: hidden; }
.dsp-map__preview { position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; overflow: hidden; cursor: pointer; }
/* Плитки статичної карти в натуральному масштабі, по центру; легка віньєтка по краях блока */
.dsp-map__tiles { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; }
.dsp-map__tiles img { flex: none; display: block; width: 640px; max-width: none; height: 440px; }
.dsp-map__tiles .dsp-map__side { height: 500px; }
.dsp-map__side--2 { display: none !important; }
@media (min-width: 1921px) { .dsp-map__side--2 { display: block !important; } }
@media (max-width: 767px) { .dsp-map__side { display: none !important; } .dsp-map__tiles .dsp-map__img { width: auto; height: 100%; } }
.dsp-map__preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 24px 10px var(--dsp-dark); }
.dsp-map__live { position: absolute; inset: 0; }
.dsp-map__live img { max-width: none; } /* загальне правило img { max-width: 100% } дає «лінійки» між плитками карти */
.dsp-map__card { position: absolute; top: 16px; left: 16px; z-index: 2; max-width: 300px; padding: 14px 16px; border-radius: 10px; background: var(--dsp-dark); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); color: #fff; font-size: 15px; line-height: 1.35; }
.dsp-map__card p { margin: 0 0 6px; }
.dsp-map__card-name { font-weight: 700; font-size: 16px; }
.dsp-map__card-addr { color: rgba(255, 255, 255, .75); }
.dsp-map__card-rate { color: var(--dsp-gold); letter-spacing: .02em; }
.dsp-map__card-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 !important; }
.dsp-map__card-btns a { padding: 6px 12px; border: 1px solid var(--dsp-gold); border-radius: 61px; color: var(--dsp-gold); font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.dsp-map__card-btns a:hover { background: var(--dsp-gold); color: #000; }
@media (max-width: 575px) { .dsp-map__card { top: 10px; left: 10px; right: 10px; max-width: none; } }
.dsp-map.is-loaded .dsp-map__preview, .dsp-map.no-static .dsp-map__preview { visibility: hidden; }
@media (max-width: 767px) { .dsp-map { height: 320px; } }

/* ---- Футер (модуль у позиції dsp-footer) ---- */
.dsp-footer { background: var(--dsp-dark); color: #fff; font-size: 16px; }
.dsp-footer a { color: #fff; text-decoration: none; }
.dsp-footer a:hover { color: var(--dsp-gold); }
.dsp-footer__grid {
  display: grid; grid-template-columns: 1.15fr .85fr 1.2fr auto;
  gap: 40px; padding: 70px 0 50px;
}
.dsp-footer__title { margin: 0 0 22px; font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.dsp-footer__sub { margin: 0 0 18px; color: var(--dsp-gold); font-weight: 700; }
.dsp-footer ul { list-style: none; margin: 0; padding: 0; }
.dsp-footer__links li { margin: 0 0 10px; }
.dsp-footer__contacts li { display: grid; grid-template-columns: 22px 1fr; gap: 0 18px; margin: 0 0 14px; line-height: 1.7; }
.dsp-footer__contacts .dsp-ico { margin-top: 6px; color: var(--dsp-gold); }
.dsp-footer__note { margin: 6px 0 0 40px; line-height: 1.7; }
.dsp-footer__social { display: flex; flex-direction: column; gap: 12px; }
.dsp-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--dsp-gold); color: var(--dsp-dark);
}
.dsp-footer__social a:hover { background: #fff; color: var(--dsp-dark); }
.dsp-footer__social .dsp-ico { width: 14px; height: 14px; }
.dsp-footer__pay { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0 20px; }
.dsp-footer__pay img { height: 64px; width: 64px; opacity: .9; }
.dsp-footer__copy { padding: 0 0 24px; text-align: center; font-size: 12px; line-height: 1.4; }
.dsp-footer__copy p { margin: 0; }
@media (max-width: 991px) {
  .dsp-footer__grid { grid-template-columns: 1fr 1fr; }
  .dsp-footer__social { flex-direction: row; }
}
@media (max-width: 575px) {
  .dsp-footer__grid { grid-template-columns: 1fr; padding-top: 50px; }
  .dsp-footer__pay { justify-content: center; }
}

/* ---- Медіа в старих статтях після конвертації з SP Page Builder ---- */
.dblog-article iframe { display: block; width: 100%; max-width: 840px; height: auto; aspect-ratio: 16 / 9; margin: 24px auto; border: 0; }
.dblog-article video { display: block; width: 100%; max-width: 840px; height: auto; margin: 24px auto; }
.dblog-article details { margin: 24px 0; padding: 14px 18px; border: 1px solid #e3e3e3; border-radius: 10px; }
.dblog-article details > summary { cursor: pointer; font-weight: 700; }
/* Галерея зображень (колишні addon'и gallery / image_carousel) */
.dblog-article .art-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.dblog-article .art-gallery a { display: block; line-height: 0; }
.dblog-article .art-gallery img { width: 100% !important; height: 200px !important; object-fit: cover; border-radius: 8px; margin: 0 !important; }
@media (max-width: 640px) { .dblog-article .art-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dblog-article .art-gallery img { height: 140px !important; } }

/* Довгі посилання й слова без пробілів переносяться, а не розширюють сторінку на телефоні */
.dblog-article p, .dblog-article li, .dblog-article a, .dblog-article td, .dblog-article blockquote { overflow-wrap: break-word; }

/* ---------- Калькулятор у статті (.art-calc, логіка — js/disputes.js) ---------- */
.dblog-article .art-calc { margin: 32px 0; padding: 24px 28px; border-radius: 15px; background: #3b3b3b; color: #fff; }
.dblog-article .art-calc .art-calc__title { margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; color: #ffd012 !important; }
.dblog-article .art-calc__field { margin: 0 0 14px; }
.dblog-article .art-calc__label { display: block; margin: 0 0 6px; font-size: 16px; color: #fff; }
.dblog-article .art-calc__input { width: 100%; max-width: 360px; padding: 10px 12px; border: 0; border-radius: 8px; font: inherit; font-size: 16px; color: #000; background: #fff; }
.dblog-article .art-calc__btn { margin-top: 6px; padding: 12px 28px; border: 0; border-radius: 30px; background: #ffd012; color: #3b3b3b; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; }
.dblog-article .art-calc__btn:hover { background: #ffdb45; }
.dblog-article .art-calc__result { display: none; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.dblog-article .art-calc.is-done .art-calc__result { display: block; }
.dblog-article .art-calc__result p { margin: 0 0 4px !important; color: #fff; }
.dblog-article .art-calc .art-calc__amount { font-size: 28px; font-weight: 700; color: #ffd012; }

/* ---------- Перегляд фото галереї (.art-gallery, js/disputes.js) ---------- */
.dblog-article .art-gallery img { transition: transform .25s ease, opacity .25s ease; cursor: zoom-in; }
.dblog-article .art-gallery a:hover img { transform: scale(1.03); opacity: .92; }
.dsp-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(20,20,20,.92); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.dsp-lightbox.is-open { opacity: 1; visibility: visible; }
.dsp-lightbox__img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); transform: scale(.94); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.dsp-lightbox.is-open .dsp-lightbox__img.is-loaded { transform: scale(1); opacity: 1; }
.dsp-lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.dsp-lightbox__btn:hover { background: #ffd012; color: #3b3b3b; }
.dsp-lightbox__close { top: 16px; right: 16px; }
.dsp-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.dsp-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.dsp-lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: .8; pointer-events: none; }
@media (max-width: 640px) { .dsp-lightbox__prev, .dsp-lightbox__next { top: auto; bottom: 8px; transform: none; } .dsp-lightbox__img { max-height: 76vh; } }
.dblog-article .art-gallery a, .dblog-article .art-gallery a:hover { background: none !important; padding: 0 !important; border: 0 !important; text-decoration: none !important; }
.dblog-article .art-gallery a[title] { line-height: 1.35; }
.dblog-article .art-gallery a[title]::after { content: attr(title); display: block; margin-top: 6px; font-size: 13px; color: #6b6b6b; }
@media (prefers-reduced-motion: reduce) { .dsp-lightbox, .dsp-lightbox__img, .dblog-article .art-gallery img { transition: none; } }

/* =====================================================================
   Сторінки послуг і хаби (макет матеріалу «page», розмітка .svc-*)
   ===================================================================== */
.svc-page { font-family: Lato, sans-serif; color: var(--dsp-text); }
.svc-page > section { margin-bottom: 60px; }
.svc-page > section:last-child { margin-bottom: 0; }

/* Перший екран на всю ширину вікна, одразу під шапкою */
.svc-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -100px; height: 540px; overflow: hidden; background: #969595; display: flex; align-items: flex-end; justify-content: center; }
.svc-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.svc-hero__body { position: relative; z-index: 1; width: 100%; max-width: var(--dsp-container); padding: 0 var(--dsp-gutter) 40px; }
.svc-hero .hero-heading__title { margin: 0 !important; padding: 0 !important; border: 0 !important; }
@media (max-width: 767px) { .svc-hero { margin-top: -50px; height: 460px; } .svc-hero__body { padding-bottom: 24px; } }

/* «Про послугу» + темна панель «Послуги» */
.svc-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); box-shadow: 0 0 30px rgba(0,0,0,.10); border-radius: 4px; overflow: hidden; scroll-margin-top: calc(var(--dsp-header-h) + 10px); }
.svc-intro__main { padding: 50px 50px 60px 60px; background: #fff; }
.svc-intro__title { margin: 0 0 22px !important; font-size: 26px !important; font-weight: 700; text-transform: uppercase; line-height: 1.25; color: #000; border: 0 !important; padding: 0 !important; }
.svc-about p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; text-align: justify; }
.svc-about ul, .svc-about ol { margin: 0 0 12px 18px; padding: 0; }
.svc-about li, .svc-about li p { margin: 0 0 4px; font-size: 15px; line-height: 1.5; }
.svc-panel { background: var(--dsp-dark); padding: 50px 30px 50px 40px; }
.svc-panel .services-title { margin: 0 0 24px; }
.svc-panel .services-list-links .service-link { cursor: pointer; }
.svc-panel div.service-link { cursor: default; }
@media (max-width: 900px) {
  .svc-intro { grid-template-columns: 1fr; }
  .svc-intro__main { padding: 32px 22px 36px; }
  .svc-panel { padding: 32px 22px; background: #fff; }
}

/* Стаття в акордеоні та інший вміст */
.svc-block > :first-child { margin-top: 0; }

/* «Часті питання» — темна смуга на всю ширину */
.svc-faq { width: 100vw; margin-left: calc(50% - 50vw); background: var(--dsp-dark); padding: 75px var(--dsp-gutter); }
.svc-faq .dfaq { margin-top: 0 !important; margin-bottom: 0 !important; }
.svc-cta { margin: 28px 0 0; text-align: center; }
.svc-btn { display: inline-block; min-width: 240px; padding: 10px 24px; border-radius: 61px; background: var(--dsp-gold); color: #000; font-size: 17px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.svc-btn:hover { background: #CCA60E; color: #000; }
@media (max-width: 767px) { .svc-faq { padding: 50px var(--dsp-gutter); } }
.svc-page > .svc-faq + section { margin-top: 60px; }
.svc-page > section.svc-faq { margin-bottom: 0; }

/* Заголовок «Послуги» (з Helix) і HERO-заголовок сторінок послуг */
.services-title { font-family: Lato, sans-serif; font-size: 31.5px; font-weight: 700; line-height: normal; text-transform: uppercase; margin: 0; color: #FFD012; }
@media (max-width: 900px) { .services-title { color: #000; } }
.hero-heading { text-align: center; }
.hero-heading__title, .hero-heading__subtitle { font-family: Lato, sans-serif; text-transform: uppercase; line-height: normal; letter-spacing: normal; margin: 0; padding: 0; display: block; }
.hero-heading__title { font-size: 30px; font-weight: 700; color: #FFD012; }
.hero-heading__subtitle { font-size: 30px; font-weight: 600; color: #fff; }
@media (max-width: 991.98px) { .hero-heading__title, .hero-heading__subtitle { font-size: 22px; } }
@media (max-width: 767.98px) { .hero-heading__title, .hero-heading__subtitle { font-size: 20px; } }
@media (max-width: 575.98px) { .hero-heading__title, .hero-heading__subtitle { font-size: 18px; } }
.hero-heading__buttons { margin-top: 14px; text-align: center; }
.hero-btn { display: inline-block; min-width: 240px; margin: 14px 18px; padding: 8px 16px; border-radius: 61px; font-family: Lato, sans-serif; font-size: 17px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.hero-btn--solid { background: #FACC13; color: #000; border: 1px solid #FACC13; }
.hero-btn--solid:hover { background: #CCA60E; color: #000; border-color: #CCA60E; }
.hero-btn--outline { background: transparent; color: #FACC13; border: 1px solid #FACC13; }
.hero-btn--outline:hover { background: #EEEEEE; color: #FACC13; }
@media (max-width: 575.98px) { .hero-btn { min-width: 200px; margin: 10px; } }
.hero-heading__subtitle-wrap { font-family: Lato, sans-serif; text-transform: uppercase; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 8px; }
.hero-heading__before { font-size: 30px; font-weight: 700; color: #fff; margin: 0; }
.hero-heading__words { position: relative; display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; border-right: 2px solid #FFD012; animation: hero-caret-blink .8s steps(1) infinite; }
.hero-heading__word { display: inline-block; font-size: 30px; font-weight: 700; color: #FFD012; white-space: nowrap; visibility: hidden; position: absolute; left: 0; top: 0; }
.hero-heading__word.is-active { visibility: visible; position: relative; }
@keyframes hero-caret-blink { 0%, 49% { border-color: #FFD012; } 50%, 100% { border-color: transparent; } }
@media (max-width: 991.98px) { .hero-heading__before, .hero-heading__word { font-size: 22px; } }
@media (max-width: 575.98px) { .hero-heading__before, .hero-heading__word { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero-heading__words { animation: none; border-right-color: transparent; } }
/* ---------- «Наша команда» (#dsp-team, модуль «Власний HTML»; поведінка — js/disputes.js) ---------- */
#dsp-team *{box-sizing:border-box;}
#dsp-team{position:relative;padding:64px 0 72px;font-family:"Lato", system-ui, sans-serif;-webkit-font-smoothing:antialiased;color:#1c1c1c;--accent:#FFD012;--accent-deep:#f5c400;--muted:#3b3b3b;--card-dark:#333333;--card-dark-2:#2b2b2b;--hair:#e2e2e2;}
#dsp-team .wrap{max-width:1240px;margin:0 auto;padding:0 60px;}
#dsp-team .team__hair{height:1px;background:var(--hair);margin:0 60px;}
#dsp-team .team__grid{display:grid;grid-template-columns:200px 360px 445px;gap:0 48px;align-items:start;justify-content:space-between;padding-top:48px;}
#dsp-team .team__title{margin:0;font-family:"Roboto", sans-serif;font-weight:700;font-size:40px;line-height:1.18;letter-spacing:.01em;text-transform:uppercase;color:var(--muted);text-align:left;}
#dsp-team .team__more-link{display:inline-flex;align-items:center;margin-top:22px;padding:6px 22px;border:1px solid var(--muted);border-radius:30px;font-family:"Roboto", sans-serif;font-size:14px;color:var(--muted);text-decoration:none;background:transparent;cursor:pointer;transition:background .18s, color .18s;}
#dsp-team .team__more-link:hover{background:var(--muted);color:#fff;}
#dsp-team .card{position:relative;width:360px;height:726px;border-radius:15px;background:var(--card-dark);box-shadow:0 4px 4px rgba(0,0,0,.25);overflow:hidden;touch-action:pan-y;}
#dsp-team .card__inner{position:absolute;inset:0;}
#dsp-team .card__photo{height:273px;background-color:#d0d0d0;background-size:cover;background-position:center 22%;background-repeat:no-repeat;cursor:pointer;}
#dsp-team .card__photo.is-empty{background-size:46% auto;background-position:center 58%;background-color:#ededed;}
#dsp-team .card__body{position:absolute;top:273px;left:0;right:0;bottom:0;padding:26px 20px 22px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;}
#dsp-team .card__name{font-weight:700;font-size:25px;line-height:1.05;letter-spacing:.01em;}
#dsp-team .card__role{margin-top:8px;font-size:15px;line-height:1.35;color:#f3f3f3;white-space:nowrap;}
#dsp-team .card__contacts{margin-top:18px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;width:100%;}
#dsp-team .card__contact{display:inline-flex;align-items:center;gap:14px;font-size:16px;color:#fff;}
#dsp-team .card__contact a{color:#fff;text-decoration:underline;text-underline-offset:2px;}
#dsp-team .card__contact .ico{flex:0 0 auto;width:22px;height:22px;color:var(--accent);display:inline-flex;}
#dsp-team .card__desc{margin:18px 0 0;font-size:14px;line-height:1.45;text-align:justify;color:#f0f0f0;width:320px;}
#dsp-team .card__detail{display:block;margin-top:14px;font-size:12px;line-height:1.6;color:#fff;text-decoration:underline;text-underline-offset:2px;cursor:pointer;white-space:nowrap;}
#dsp-team .card__actions{display:flex;gap:12px;justify-content:center;margin-top:18px;}
#dsp-team .card__actions.is-empty{display:none;}
#dsp-team .btn{display:inline-block;border:0;border-radius:6px;background:var(--accent);color:#2a2a2a;font-family:"Roboto", sans-serif;font-weight:500;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .16s, transform .12s;}
#dsp-team .btn:hover{background:var(--accent-deep);}
#dsp-team .btn:active{transform:translateY(1px);}
#dsp-team .btn--vcard{padding:7px 16px;font-size:12px;font-family:"Lato", sans-serif;}
#dsp-team .btn--cv{padding:7px 18px;font-size:13px;}
#dsp-team .card__social{margin-top:auto;display:flex;align-items:flex-start;justify-content:center;gap:16px;padding-top:18px;}
#dsp-team .soc{display:flex;flex-direction:column;align-items:center;gap:7px;width:52px;text-decoration:none;}
#dsp-team .soc__dot{width:30px;height:30px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;color:#2a2a2a;transition:transform .14s, background .16s;}
#dsp-team .soc:hover .soc__dot{transform:translateY(-2px);background:var(--accent-deep);}
#dsp-team .soc__dot svg{width:17px;height:17px;display:block;}
#dsp-team .soc__label{font-family:"Roboto", sans-serif;font-size:12px;color:#fff;white-space:nowrap;}
#dsp-team .card__social .divider{align-self:stretch;width:1px;background:rgba(255,255,255,.35);margin:2px 2px 0;height:30px;}
#dsp-team .queue{position:relative;padding-top:63px;}
#dsp-team .queue__photos{position:relative;height:240px;width:445px;}
#dsp-team .thumb{position:absolute;top:0;width:210px;height:210px;border-radius:15px;background-color:#d0d0d0;background-size:cover;background-position:center 22%;background-repeat:no-repeat;cursor:pointer;transition:transform .25s, box-shadow .25s, opacity .25s;}
#dsp-team .thumb.is-empty{background-size:46% auto;background-position:center;}
#dsp-team .thumb--a{left:0;}
#dsp-team .thumb--b{left:235px;box-shadow:0 8px 22px rgba(0,0,0,.22);}
#dsp-team .thumb:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.26);}
#dsp-team .thumb__tip{position:absolute;left:0;right:0;bottom:0;padding:8px 12px;border-radius:0 0 15px 15px;background:linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));color:#fff;font-size:13px;font-weight:700;text-align:center;opacity:0;transition:opacity .2s;pointer-events:none;}
#dsp-team .thumb.is-empty .thumb__tip{display:none;}
#dsp-team .thumb:hover .thumb__tip{opacity:1;}
#dsp-team .arrows{display:flex;gap:25px;margin-top:50px;}
#dsp-team .arrow{width:60px;height:60px;border-radius:50%;border:1px solid #9a9a9a;background:#fff;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .16s, color .16s, border-color .16s, transform .12s;}
#dsp-team .arrow:hover{background:var(--accent);border-color:var(--accent);color:#2a2a2a;}
#dsp-team .arrow:active{transform:scale(.94);}
#dsp-team .arrow svg{width:22px;height:22px;}
#dsp-team .dots{display:none;align-items:center;justify-content:center;gap:10px;margin-top:22px;}
#dsp-team .dot{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(0,0,0,.18);cursor:pointer;transition:background .18s, transform .18s;}
#dsp-team .dot:hover{background:rgba(0,0,0,.32);}
#dsp-team .dot.is-active{background:var(--accent-deep);transform:scale(1.3);}
#dsp-team .queue__more-mobile{display:none;align-items:center;justify-content:center;padding:9px 30px;border:1px solid var(--muted);border-radius:30px;font-family:"Roboto", sans-serif;font-size:15px;color:var(--muted);text-decoration:none;background:transparent;cursor:pointer;transition:background .18s, color .18s;}
#dsp-team .queue__more-mobile:hover{background:var(--muted);color:#fff;}
#dsp-team .queue__more-mobile:active{transform:scale(.97);}
@media (min-width: 601px) and (max-width: 759px){#dsp-team .team__grid{grid-template-columns:1fr;justify-items:center;gap:40px;padding-top:40px;text-align:center;}
#dsp-team .team__head{text-align:center;}
#dsp-team .queue{padding-left:0;padding-top:0;}
#dsp-team .queue__photos{width:445px;}
#dsp-team .arrows{justify-content:center;}
}
@media (min-width: 760px) and (max-width: 1080px){#dsp-team .team__grid{grid-template-columns:160px 1fr;grid-template-areas:"head card" ". queue";gap:0 32px;padding-top:48px;align-items:start;}
#dsp-team .team__head{grid-area:head;text-align:left;}
#dsp-team .team__title{font-size:32px;}
#dsp-team article.card{grid-area:card;max-width:420px;width:auto;height:auto;}
#dsp-team .card__inner{position:static;}
#dsp-team .card__photo{aspect-ratio:4 / 3;height:auto;}
#dsp-team .card__body{position:static;padding:26px 20px 22px;}
#dsp-team .card__role{white-space:normal;}
#dsp-team .card__desc{width:100%;}
#dsp-team .queue{grid-area:queue;padding-top:24px;padding-left:0;}
#dsp-team .queue__photos{width:445px;height:240px;}
}
@media (max-width: 600px){#dsp-team .wrap{padding:0 0px;}
#dsp-team{padding:30px 0 40px;}
#dsp-team .team__grid{grid-template-columns:1fr;justify-items:center;gap:26px;padding-top:26px;}
#dsp-team .team__head{text-align:center;}
#dsp-team .team__title{font-size:40px;line-height:1.08;color:#1c1c1c;text-align:center;}
#dsp-team .team__more-link{display:none;}
#dsp-team .card{width:100%;max-width:380px;height:auto;}
#dsp-team .card__inner{position:static;}
#dsp-team .card__photo{height:auto;aspect-ratio:10 / 9;}
#dsp-team .card__body{position:static;padding:24px 16px 22px;}
#dsp-team .card__role{white-space:normal;}
#dsp-team .card__desc{width:100%;}
#dsp-team .card__social{gap:7px;padding-top:22px;flex-wrap:nowrap;}
#dsp-team .soc{width:auto;gap:6px;}
#dsp-team .soc__label{font-size:10.5px;}
#dsp-team .card__social .divider{margin:2px 3px 0;}
#dsp-team .queue{width:100%;padding:0;display:flex;flex-direction:column;align-items:center;}
#dsp-team .queue__photos{position:static;width:100%;height:auto;display:flex;gap:16px;}
#dsp-team .thumb{position:static;top:auto;left:auto;width:auto;height:auto;flex:1 1 0;aspect-ratio:1 / 1;}
#dsp-team .thumb--b{box-shadow:0 6px 16px rgba(0,0,0,.16);}
#dsp-team .arrows{display:none;}
#dsp-team .dots{display:flex;}
#dsp-team .queue__more-mobile{display:inline-flex;margin-top:26px;}
}

/* ---------- «Наші перемоги» (mod_articles_news, макет wins) ---------- */
.dsp-wins { padding: 60px 0 20px; }
.dsp-wins__title { margin: 0 0 36px; text-align: center; font-size: 40px; font-weight: 700; text-transform: uppercase; color: #3b3b3b; }
.dsp-wins__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.dsp-wins__card { position: relative; display: flex; flex-direction: column; padding: 28px 30px 30px; border-radius: 12px; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.08); }
.dsp-wins__date { font-size: 13px; color: #6b6b6b; }
.dsp-wins__name { margin: 8px 0 12px; font-size: 18px; line-height: 1.35; font-weight: 700; }
.dsp-wins__name a { color: #000; text-decoration: none; }
.dsp-wins__name a:hover { text-decoration: underline; text-decoration-color: #FFD012; }
.dsp-wins__intro { flex: 1; margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: #333; }
.dsp-wins__more { align-self: center; display: inline-block; min-width: 180px; padding: 8px 22px; border-radius: 61px; background: #FFD012; color: #000; text-align: center; font-size: 15px; text-decoration: none; transition: background-color .2s; }
.dsp-wins__card:hover .dsp-wins__more { background: #CCA60E; color: #000; }
.dsp-wins__name a::after { content: ""; position: absolute; inset: 0; } /* уся картка клікабельна через назву */
@media (max-width: 767px) { .dsp-wins__grid { grid-template-columns: 1fr; } .dsp-wins__title { font-size: 28px; } }

/* ---------- «Відгуки» (модуль «Власний HTML») ---------- */
.dsp-reviews { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; margin: 60px 0 0; padding: 60px 75px 70px; border-radius: 30px; background: #e0e0e0; }
.dsp-reviews__title { margin: 0 0 22px; font-size: 32px; font-weight: 700; text-transform: uppercase; color: #3b3b3b; }
.dsp-reviews__text p { margin: 0 0 14px; font-size: 18px; line-height: 25.2px; }
.dsp-reviews__links { display: flex; justify-content: space-around; gap: 16px; }
.dsp-reviews__item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #000; text-decoration: none; font-size: 18px; line-height: 25.2px; }
.dsp-reviews__ico { display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%; background: #3b3b3b; color: #FFD012; transition: transform .25s ease, box-shadow .25s ease, background-color .25s; }
.dsp-reviews__ico svg { width: 44px; height: 44px; }
.dsp-reviews__ico img { width: 64px; height: 64px; }
.dsp-reviews__item:hover .dsp-reviews__ico, .dsp-reviews__item:focus-visible .dsp-reviews__ico { background: #000; transform: scale(1.06); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.dsp-reviews__item:active .dsp-reviews__ico { transform: scale(.96); }
@media (max-width: 900px) { .dsp-reviews { grid-template-columns: 1fr; padding: 36px 22px 40px; border-radius: 20px; } .dsp-reviews__ico { width: 84px; height: 84px; } .dsp-reviews__ico svg { width: 34px; height: 34px; } }

.dsp-feed { margin: 24px 0 0; }
.dsp-feed__more { margin: 36px 0 0; text-align: center; }


/* ---------- Сторінка «Про нас»: картки команди (.dsp-person) і вкладки (.dsp-tabs; поведінка — js/disputes.js) ---------- */
.dsp-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.dsp-person { display: flex; flex-direction: column; border-radius: 12px; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.10); overflow: hidden; }
.dsp-person--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.dsp-person__card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 26px; }
.dsp-person--lead .dsp-person__card { border-right: 1px solid #ececec; }
.dsp-person__photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 20%; margin: 0 0 22px; }
.dsp-person--lead .dsp-person__photo { aspect-ratio: 1 / 1; }
.dsp-person .dsp-person__name { margin: 0 20px 4px !important; padding: 0 !important; border: 0 !important; font-size: 24px !important; font-weight: 700; line-height: 1.2; color: #000; text-transform: none; }
.dsp-person__role { margin: 0 20px 16px; font-size: 16px; color: #333; }
.dsp-person__contacts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; justify-items: start; }
.dsp-person__contacts li { margin: 0; padding: 0 0 0 30px; position: relative; font-size: 16px; }
.dsp-person__contacts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); background: #FFD012; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.dsp-person__phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.4 15.4 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.2 2.2z'/%3E%3C/svg%3E"); }
.dsp-person__mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V6c0-.6.4-1 1-1zm9 7.2L4.3 7h15.4L12 12.2zM4 8.6V17h16V8.6l-7.4 5a1 1 0 0 1-1.2 0L4 8.6z'/%3E%3C/svg%3E"); }
.dsp-person__contacts a { color: #000; text-decoration: none; }
.dsp-person__contacts a:hover { text-decoration: underline; text-decoration-color: #FFD012; }
.dsp-person__buttons { display: flex; gap: 12px; justify-content: center; margin: 4px 0 18px; }
.dsp-person__btn { display: inline-block; padding: 7px 16px; border-radius: 6px; background: #3b3b3b; color: #fff; font-size: 13px; text-decoration: none; transition: background-color .2s, color .2s; }
.dsp-person__btn:hover { background: #FFD012; color: #000; }
.dsp-person__social { display: flex; gap: 18px; justify-content: center; margin: auto 0 0; padding-top: 8px; }
.dsp-person__soc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #000; text-decoration: none; }
.dsp-person__soc::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: #3b3b3b; transition: background-color .2s; }
.dsp-person__soc::after { content: ""; position: absolute; top: 8px; left: 50%; width: 18px; height: 18px; transform: translateX(-50%); background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.dsp-person__soc:hover::before { background: #FFD012; }
.dsp-person__soc:hover::after { background: #000; }
.dsp-person__soc--whatsapp { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.5 15.2L2 22l4.9-1.5A10 10 0 1 0 12 2zm4.5 12.1c-.2-.1-1.4-.7-1.7-.8-.2-.1-.4-.1-.5.1l-.7.9c-.1.2-.3.2-.5.1a6.5 6.5 0 0 1-3.2-2.8c-.1-.2 0-.4.1-.5l.4-.5c.1-.2.1-.3 0-.5l-.7-1.7c-.2-.4-.4-.4-.5-.4h-.5c-.2 0-.4.1-.6.3-.2.2-.8.8-.8 1.9s.8 2.2 1 2.4c.1.2 1.7 2.6 4.1 3.6 1.5.6 2 .7 2.7.6.4-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1l-.4-.2z'/%3E%3C/svg%3E"); }
.dsp-person__soc--linkedin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.9 8.4H3.6V20h3.3V8.4zM5.2 3.2A1.9 1.9 0 1 0 5.2 7a1.9 1.9 0 0 0 0-3.8zM20.4 20v-6.4c0-3.1-1.7-4.6-3.9-4.6-1.8 0-2.6 1-3 1.7V8.4H10v11.6h3.3v-6.5c0-.3 0-.7.1-.9.3-.7.9-1.4 1.9-1.4 1.3 0 1.8 1 1.8 2.5V20h3.3z'/%3E%3C/svg%3E"); }
.dsp-person__soc--facebook { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5V6.8c0-.8.2-1.3 1.4-1.3H17V2.6c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.5-4 4.1v1.9H8v3h2.6V21h3.2v-9.5h2.6l.4-3H14z'/%3E%3C/svg%3E"); }
.dsp-person__soc--telegram { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.7 3.4 2.9 10.7c-.9.4-.9 1.6 0 1.9l4.7 1.5 1.8 5.6c.2.7 1.1.9 1.6.3l2.6-2.6 4.7 3.5c.6.4 1.5.1 1.7-.6l3.4-15.5c.2-.9-.7-1.7-1.5-1.4z'/%3E%3C/svg%3E"); }
.dsp-person__body { padding: 26px 30px 30px; font-size: 15px; line-height: 1.6; }
.dsp-person--lead .dsp-person__body { padding: 30px 40px 36px; }
.dsp-person__body p { margin: 0 0 12px; text-align: justify; }
.dsp-person__more { margin: 12px 0 0; }
.dsp-person__more > summary { display: inline-block; padding: 7px 22px; border: 1px solid #3b3b3b; border-radius: 30px; cursor: pointer; list-style: none; font-size: 15px; transition: background-color .2s, color .2s; }
.dsp-person__more > summary::-webkit-details-marker { display: none; }
.dsp-person__more > summary:hover, .dsp-person__more[open] > summary { background: #3b3b3b; color: #fff; }
.dsp-person__more[open] > summary { margin-bottom: 16px; }
.dsp-tabs__nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.dsp-tabs__btn { padding: 8px 22px; border: 1px solid #3b3b3b; border-radius: 30px; background: #fff; color: #000; font: inherit; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.dsp-tabs__btn:hover, .dsp-tabs__btn.is-active { background: #000; color: #fff; }
.dsp-tabs__pane { display: none; }
.dsp-tabs__pane.is-active { display: block; animation: dsp-fade .25s ease; }
@keyframes dsp-fade { from { opacity: 0; } to { opacity: 1; } }
.dsp-tabs__pane ul { margin: 0; padding-left: 18px; }
.dsp-tabs__pane li { margin: 0 0 8px; }
.dsp-people__video { margin: 50px 0 0; }
.dsp-people__video iframe { display: block; width: 100%; max-width: 900px; height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border: 0; border-radius: 12px; }
@media (max-width: 900px) {
  .dsp-people { grid-template-columns: 1fr; gap: 28px; }
  .dsp-person--lead { grid-template-columns: 1fr; }
  .dsp-person--lead .dsp-person__card { border-right: 0; }
  .dsp-person__body, .dsp-person--lead .dsp-person__body { padding: 22px 20px 26px; }
  .dsp-person__body p { text-align: left; }
}

/* ---------- Головна сторінка: перший екран, вступ, «Чому обирають», послуги, відео, клієнти, перемоги, девіз ---------- */
.svc-hero--home { height: 650px; }
.svc-hero--home .svc-hero__body { text-align: center; padding-bottom: 60px; }
.svc-hero--home .hero-heading__subtitle-wrap { margin: 0 0 24px; }
.svc-hero--home .hero-heading__buttons { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 0; }
@media (max-width: 767px) { .svc-hero--home { height: 520px; } .svc-hero--home .svc-hero__body { padding-bottom: 36px; } }

.dsp-section-title { margin: 0 0 40px !important; padding: 0 !important; border: 0 !important; font-size: 32px !important; font-weight: 700; line-height: 1.2; text-transform: uppercase; text-align: center; color: #000; }
.dsp-accent { color: var(--dsp-gold); }

.dsp-home-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: var(--dsp-radius); overflow: hidden; box-shadow: 0 6px 30px rgba(0,0,0,.12); background: #fff; }
.dsp-home-intro__text { padding: 40px 34px; font-size: 15px; line-height: 1.6; }
.dsp-home-intro__text p { margin: 0 0 12px; text-align: justify; }
.dsp-home-intro__text a { color: var(--dsp-gold); font-weight: 700; text-decoration: none; }
.dsp-home-intro__text a:hover { text-decoration: underline; }
.dsp-home-intro .dsp-home-intro__title { margin: 0 0 22px !important; padding: 0 !important; border: 0 !important; font-size: 34px !important; font-weight: 700; text-transform: uppercase; text-align: center; color: #000; }
.dsp-home-intro__photo { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 900px) {
  .dsp-home-intro { grid-template-columns: 1fr; }
  .dsp-home-intro__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .dsp-home-intro__text { padding: 28px 20px; }
  .dsp-home-intro__text p { text-align: left; }
}

.dsp-adv .dsp-adv__title { margin: 0 0 40px !important; padding: 0 0 18px !important; border: 0 !important; position: relative; font-size: 32px !important; font-weight: 700; text-transform: uppercase; text-align: center; color: var(--dsp-dark); }
.dsp-adv__title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 80px; height: 3px; transform: translateX(-50%); background: var(--dsp-gold); }
.dsp-adv__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1260px; display: grid; gap: 30px; }
.dsp-adv__item { display: grid; grid-template-columns: 80px minmax(0, 1fr); margin: 0; border-radius: 4px; overflow: hidden; background: var(--dsp-dark); box-shadow: 0 6px 20px rgba(0,0,0,.15); opacity: 0; transform: translateX(-40px); transition: opacity .6s ease, transform .6s ease; }
.dsp-adv__item:nth-child(even) { transform: translateX(40px); }
.dsp-adv__item.is-shown { opacity: 1; transform: none; }
.dsp-adv__num { display: flex; align-items: center; justify-content: center; background: var(--dsp-gold); font-size: 28px; font-weight: 700; color: var(--dsp-dark); }
.dsp-adv__body { padding: 24px 30px; color: #fff; font-size: 15px; line-height: 1.6; }
.dsp-adv .dsp-adv__name { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; font-size: 20px !important; font-weight: 700; text-transform: uppercase; color: var(--dsp-gold); }
.dsp-adv__body p { margin: 0; }
.dsp-adv__body a { color: var(--dsp-gold); font-weight: 700; text-decoration: none; }
.dsp-adv__body a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .dsp-adv__item { grid-template-columns: 56px minmax(0, 1fr); }
  .dsp-adv__num { font-size: 22px; }
  .dsp-adv__body { padding: 18px 16px; }
  .dsp-adv .dsp-adv__name { font-size: 17px !important; }
}
@media (prefers-reduced-motion: reduce) { .dsp-adv__item { opacity: 1; transform: none; transition: none; } }

.dsp-svc { width: 100vw; margin-left: calc(50% - 50vw); padding: 40px var(--dsp-gutter) 50px; background: var(--dsp-light); }
.dsp-svc__grid { max-width: var(--dsp-container); margin: 0 auto; padding: 0 var(--dsp-gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; align-items: start; }
.dsp-svc-card { border-radius: var(--dsp-radius); background: var(--dsp-gold); overflow: hidden; }
.dsp-svc-card__title { display: block; padding: 18px 24px; cursor: pointer; list-style: none; font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--dsp-dark); }
.dsp-svc-card__title::-webkit-details-marker { display: none; }
.dsp-svc-card__title small { display: block; font-size: inherit; color: transparent; -webkit-text-stroke: 1px var(--dsp-dark); }
.dsp-svc-card__list { list-style: none; margin: 0; padding: 4px 24px 22px; }
.dsp-svc-card__list li { margin: 0; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.12); }
.dsp-svc-card__list a { color: var(--dsp-dark); font-size: 16px; text-decoration: none; }
.dsp-svc-card__list a:hover { text-decoration: underline; }
@media (max-width: 767px) { .dsp-svc-card__title { font-size: 24px; } }

.dsp-video iframe { display: block; width: 100%; max-width: var(--dsp-container); height: auto; aspect-ratio: 16 / 9; margin: 0 auto; border: 0; border-radius: var(--dsp-radius); }

.dsp-clients { width: 100vw; margin-left: calc(50% - 50vw); padding: 50px var(--dsp-gutter); background: #f6eadc; }
.dsp-clients__list { list-style: none; max-width: var(--dsp-container); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; align-items: center; }
.dsp-clients__list li { margin: 0; display: flex; justify-content: center; }
.dsp-clients__list img { display: block; max-width: 100%; max-height: 90px; width: auto; height: auto; transition: transform .25s ease; }
.dsp-clients__list a { display: block; -webkit-tap-highlight-color: transparent; }
.dsp-clients__list a:hover img, .dsp-clients__list a:focus-visible img { animation: dsp-pulse 1.4s ease-in-out infinite; }
.dsp-clients__list a:active img { animation: none; transform: scale(.94); }
@keyframes dsp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .dsp-clients__list a:hover img, .dsp-clients__list a:focus-visible img { animation: none; transform: scale(1.05); } }
@media (max-width: 767px) { .dsp-clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.dsp-home-wins .dsp-section-title { text-align: left; }

.dsp-motto { width: 100vw; margin-left: calc(50% - 50vw); padding: 20px var(--dsp-gutter) 40px; background: #f6eadc; overflow: hidden; }
.dsp-motto__up { margin: 0; font-size: clamp(60px, 12vw, 170px); font-weight: 700; line-height: 1; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px #000; }
.dsp-motto__down { margin: -0.4em 0 0 5%; font-size: clamp(26px, 4vw, 54px); font-weight: 700; text-transform: uppercase; color: #000; }
@media (max-width: 767px) { .dsp-motto { display: none; } }

.dsp-home-module > :first-child { margin-top: 0; }
#contacts-anchor { scroll-margin-top: var(--dsp-header-h); }
.svc-page > .svc-faq + .dsp-motto { margin-top: 0; }


/* =====================================================================
   Узгодження з дизайн-системою «Disputes» (project/README.md, tokens.json)
   Один блок у кінці файлу: перекриває окремі значення попередніх правил.
   ===================================================================== */
:root {
  --dsp-gold: #ffd012; --dsp-gold-hover: #cca60e;
  --dsp-dark: #3b3b3b; --dsp-muted: #555555;
  --dsp-light: #eeeeee;            /* surface-2 */
  --dsp-surface-1: #f7f7f5; --dsp-beige: #f7ecdb;
  --dsp-line: #e3e3e3; --dsp-gray-400: #d9d9d9;
  --ds-section: 40px; --ds-block: 28px; --ds-card-title: 24px;
}
@media (max-width: 767px) { :root { --ds-section: 28px; --ds-block: 22px; --ds-card-title: 20px; } }

/* 1. Шрифт — лише Lato (модуль команди, поля форм) */
#dsp-team, #dsp-team * { font-family: "Lato", "Helvetica Neue", Arial, sans-serif !important; }
.dsp-form input, .dsp-form textarea, .dsp-form select, .dsp-form button, .dsh input, select { font-family: inherit; }
.dsp-form label .req { color: #ff0000; }

/* 2. Заголовки секцій 40px, заголовки блоків 28px, заголовки карток 24px */
.dsp-section-title, .dsp-adv .dsp-adv__title, .dsp-reviews__title, .dsp-wins__title,
#dsp-team .team__title, .svc-faq .dfaq-title { font-size: var(--ds-section) !important; line-height: 1.15 !important; }
.svc-intro__title, .services-title, .dsh-group__title { font-size: var(--ds-block) !important; line-height: 1.2 !important; }
.dsp-adv .dsp-adv__name { font-size: var(--ds-card-title) !important; line-height: 1.25; }
.dsp-person .dsp-person__name { font-size: 27px !important; }
.dsp-reviews__title, .dsp-wins__title, #dsp-team .team__title { color: #000 !important; }

/* 3. Жовтий — лише на темному; на білому посилання графітові з жовтим підкресленням */
.dsp-home-intro__text a, .svc-about a, .dsp-person__body a {
  color: var(--dsp-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--dsp-gold);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.dsp-home-intro__text a:hover, .svc-about a:hover, .dsp-person__body a:hover { color: #000; text-decoration-color: var(--dsp-gold-hover); }
.dsp-adv .dsp-accent, .dsp-section-title .dsp-accent { color: inherit; }
.dsh-tab__label { color: inherit; }

/* 4. Кольори з палітри */
.hero-btn--solid { background: var(--dsp-gold); border-color: var(--dsp-gold); }
.hero-btn--solid:hover { background: var(--dsp-gold-hover); border-color: var(--dsp-gold-hover); }
.hero-btn--outline { color: var(--dsp-gold); border-color: var(--dsp-gold); }
.hero-btn--outline:hover { background: var(--dsp-gold); color: #000; }
.svc-btn:hover, .dsp-wins__card:hover .dsp-wins__more { background: var(--dsp-gold-hover); }
.dsp-clients, .dsp-motto { background: var(--dsp-beige); }
.dsp-reviews { background: var(--dsp-light); }
.dsp-wins__date, .dblog-article .art-gallery a[title]::after { color: var(--dsp-muted); }
.dsp-wins__intro, .dsp-person__role { color: var(--dsp-muted); }
#dsp-team .card__photo, #dsp-team .thumb { background-color: var(--dsp-gray-400); }
#dsp-team .card__photo.is-empty { background-color: var(--dsp-light); }
#dsp-team .btn, #dsp-team .soc__dot, #dsp-team .arrow:hover { color: #000; }
.dsp-badge { background: var(--dsp-gold); color: #000; }

/* 5. Радіуси за шкалою: 15 картки й блоки, 20 великі панелі, 10 вкладені, 30 велике медіа, пігулка — усе клікабельне */
.svc-intro, .dsp-adv__item, .dsp-wins__card, .dsp-person, .fam-card, .fpx-sec, .dblog-article .doc-modal { border-radius: 15px; }
.dsp-adv__item { overflow: hidden; }
.fam-toggle { border-radius: 10px; }
.dsp-reviews { border-radius: 20px; }
.dsp-video iframe, .dsp-people__video iframe { border-radius: 30px; }
.dsp-badge, #dsp-team .btn, .dsp-person__btn { border-radius: 999px; }

/* 6. Текст: основний 18/25.2, у картках 16/23 */
.svc-about p, .svc-about li, .svc-about li p, .dsp-home-intro__text { font-size: 18px; line-height: 25.2px; }
.dsp-adv__body, .dsp-person__body, .dsp-wins__intro { font-size: 16px; line-height: 23px; }
@media (max-width: 767px) {
  .svc-about p, .svc-about li, .svc-about li p, .dsp-home-intro__text { font-size: 16px; line-height: 23px; }
}

/* 7. Курсив не використовується */
em, i, cite, address { font-style: normal; }

/* 8. Вирівнювання: «Наша команда» по сітці контейнера; «Наші перемоги» — три в ряд */
#dsp-team .wrap { max-width: none; padding: 0; }
#dsp-team .team__hair { margin: 0; }
.dsp-wins__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .dsp-wins__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .dsp-wins__grid { grid-template-columns: 1fr; } }

/* 9. Футер: логотипи оплати без спотворення, іконки соцмереж більші */
.dsp-footer__pay img { width: 128px; height: 60px; max-width: none; object-fit: fill; opacity: 1; }
@media (max-width: 767px) { .dsp-footer__pay img { width: 96px; height: 45px; } }
.dsp-footer__social { gap: 14px; }
.dsp-footer__social a { width: 34px; height: 34px; }
.dsp-footer__social .dsp-ico { width: 18px; height: 18px; }
/* 10. Компоненти (disputes-components.css підключається пізніше — тому з !important) і поля форм */
.fam-card, .fpx-sec, .dblog-article .doc-modal { border-radius: 15px !important; }
.fam-toggle { border-radius: 10px !important; }
.dfaq { border-radius: 20px !important; }
.dsp-btn-outline { border-radius: 999px; }
.dsp-form input, .dsp-form textarea { border-radius: 6px; }
/* 11. На вузьких екранах вирівнювання по ширині дає «річки» між словами — абзаци ліворуч */
@media (max-width: 767px) {
  .svc-about p, .svc-about li, .dblog-article p, .dblog-article li, .fam-article p, .fam-article li, .fam-intro, .fam-hidden p,
  .dsp-home-intro__text p, .dsp-adv__body p, .dsp-wins__intro, .dsp-reviews__text p, .dfaq-a-inner p, #dsp-team .card__desc, .dsp-person__body p { text-align: left !important; }
}

/* ---------- Відео YouTube: обкладинка замість плеєра (js/disputes.js, розділ 15) ---------- */
.dsp-yt { display: block; position: relative; width: 100%; max-width: 840px; aspect-ratio: 16 / 9; margin: 24px auto; padding: 0; border: 0; border-radius: 30px; overflow: hidden; background: #3b3b3b; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dsp-yt img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.dsp-yt:hover img, .dsp-yt:focus-visible img { transform: scale(1.03); filter: brightness(1.05); }
.dsp-yt:active img { transform: scale(.99); }
.dsp-yt:focus-visible { outline: 3px solid #FFD012; outline-offset: 3px; }
.dsp-video .dsp-yt { max-width: var(--dsp-container); margin: 0 auto; }
.dsp-people__video .dsp-yt { max-width: 900px; margin: 0 auto; }
@media (max-width: 1023px) { .dsp-yt { border-radius: 20px; } }

/* ---------- Кнопка Google «Обране джерело» (Preferred Sources) у кінці статті ---------- */
.dsp-prefsrc { margin: 36px 0 8px; }
.dsp-prefsrc a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid #dadce0; border-radius: 61px; background: #fff; color: #3c4043; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color .2s, border-color .2s; }
.dsp-prefsrc a:hover { background: #f8f9fa; border-color: var(--dsp-gold); color: #000; }
.dsp-prefsrc__g { width: 18px; height: 18px; flex: none; }
