/*
 * Український орнамент (варіант «Г. Посилений»), 17.11.2026.
 * Лише декор: шрифти, кольори та розмітка сайту не змінюються.
 * Кольори: синій #207dff, помаранчевий #f08a24 (як «ч» у логотипі), графіт/білий фон.
 * Відкат: прибрати <link ... ornament.css> з Resources/views/index-layout.html.php і html/index.php
 *         (та 2 рядки розмітки: .ua-star у логотипі головної, .ua-band в інтерфейсі).
 */

:root {
  --ua-blue: #207dff;
  --ua-orange: #f08a24;
  /* двоярусна стрічка: «ялинка» зверху й знизу, ромб і восьмикутна зірка */
  --ua-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26'%3E%3Cpath d='M0 3 3 0 6 3 9 0 12 3 15 0 18 3 21 0 24 3 27 0 30 3 33 0 36 3 39 0 42 3 45 0 48 3 51 0 52 1' fill='none' stroke='%23f08a24' stroke-width='1'/%3E%3Cpath d='M0 23 3 26 6 23 9 26 12 23 15 26 18 23 21 26 24 23 27 26 30 23 33 26 36 23 39 26 42 23 45 26 48 23 51 26 52 25' fill='none' stroke='%23f08a24' stroke-width='1'/%3E%3Cpath d='M13 6 20 13 13 20 6 13Z' fill='none' stroke='%23207dff' stroke-width='1.3'/%3E%3Cpath d='M13 10 16 13 13 16 10 13Z' fill='%23f08a24'/%3E%3Cg transform='translate(39 13)' fill='none' stroke-width='1.2'%3E%3Crect x='-5' y='-5' width='10' height='10' stroke='%23f08a24'/%3E%3Crect x='-5' y='-5' width='10' height='10' stroke='%23207dff' transform='rotate(45)'/%3E%3C/g%3E%3Ccircle cx='39' cy='13' r='1.6' fill='%23ffffff'/%3E%3C/svg%3E");
  --ua-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke-width='1.4'%3E%3Crect x='4' y='4' width='12' height='12' stroke='%23f08a24'/%3E%3Crect x='4' y='4' width='12' height='12' stroke='%23207dff' transform='rotate(45 10 10)'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='1.8' fill='%23f08a24'/%3E%3C/svg%3E");
  --ua-watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='.6'%3E%3Crect x='4' y='4' width='12' height='12'/%3E%3Crect x='4' y='4' width='12' height='12' transform='rotate(45 10 10)'/%3E%3Crect x='7' y='7' width='6' height='6'/%3E%3Cpath d='M10 1v3M10 16v3M1 10h3M16 10h3'/%3E%3C/g%3E%3C/svg%3E");
  --ua-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1 11 6 6 11 1 6Z' fill='none' stroke='%23f08a24' stroke-width='1.1'/%3E%3Ccircle cx='6' cy='6' r='1.4' fill='%23207dff'/%3E%3C/svg%3E");
  --ua-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M1 1h6M1 1v6M1 4h3M4 1v3' stroke='%23f08a24' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='4' cy='4' r='1' fill='%23207dff'/%3E%3C/svg%3E");
}

/* ---------- загальні класи ---------- */
.ua-band {
  height: 26px;
  background-color: #212529;
  background-image: var(--ua-band);
  background-repeat: repeat-x;
  background-size: 52px 26px;
}
.ua-band--light { background-color: #fff; border-top: 1px solid #e3e7ec; border-bottom: 1px solid #e3e7ec; }
.ua-star {
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  background: var(--ua-star) center / contain no-repeat;
}

/* ---------- головна сторінка ---------- */
/* стрічка під меню (меню лежить поверх банера, тому стрічка — частина меню) */
#ftco-navbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -26px;
  height: 26px;
  background-color: #212529;
  background-image: var(--ua-band);
  background-repeat: repeat-x;
  background-size: 52px 26px;
  pointer-events: none;
}
/* водяний мотив у банері */
.hero-wrap { position: relative; }
.hero-wrap::after {
  content: "";
  position: absolute;
  right: 4%; top: 14%;
  width: 320px; height: 320px;
  max-width: 40vw; max-height: 40vw;
  background: var(--ua-watermark) center / contain no-repeat;
  opacity: .12;
  pointer-events: none;
  z-index: 1;
}
/* стрічка на кожній межі візуальних зон: лежить рівно на межі (половина в кожній зоні) */
section.ftco-section { position: relative; }
section.ftco-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -13px;
  height: 26px;
  background-color: #212529;
  background-image: var(--ua-band);
  background-repeat: repeat-x;
  background-size: 52px 26px;
  z-index: 2;
  pointer-events: none;
}
/* перша зона одразу під банером — без стрічки (там уже є стрічка під меню) */
.hero-wrap + section.ftco-section::before { display: none; }

/* ряд ромбиків під заголовками розділів */
.heading-section h2::after {
  content: "";
  display: block;
  width: 108px; height: 12px;
  margin: 12px auto 0;
  background: var(--ua-divider) left center / 12px 12px repeat-x;
}
.heading-section.text-left h2::after,
.heading-section:not(.text-center) h2::after { margin-left: 0; }

/* картки тарифів: тонка орнаментальна стрічка по верхньому краю */
.block-7 { position: relative; overflow: hidden; }
.block-7::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 13px;
  background-color: #212529;
  background-image: var(--ua-band);
  background-repeat: repeat-x;
  background-size: 26px 13px;
  pointer-events: none;
}
/* стрічка над футером і зірочки біля заголовків футера */
footer.ftco-footer { position: relative; }
footer.ftco-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 26px;
  background-color: #212529;
  background-image: var(--ua-band);
  background-repeat: repeat-x;
  background-size: 52px 26px;
  margin: 0; width: auto;
}
.ftco-footer .ftco-heading-2::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: var(--ua-star) center / contain no-repeat;
}
/* куточки на картках новин і ромбик перед назвою блоку */
#indexTopNews .card { position: relative; }
#indexTopNews .card::before,
#indexTopNews .card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  background: var(--ua-corner) no-repeat;
  pointer-events: none;
}
#indexTopNews .card::before { top: 4px; left: 4px; }
#indexTopNews .card::after { bottom: 4px; right: 4px; transform: rotate(180deg); }
#indexTopNews .blockquote p::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--ua-orange);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px #fff;
}

/* ---------- внутрішній інтерфейс ---------- */
/* зірка біля логотипа «Шукач» (стара тема) */
#header h1::before {
  content: "";
  display: inline-block;
  width: 22px; height: 22px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--ua-star) center / contain no-repeat;
}
/* ромбики-маркери в заголовках розділів (акордеони фільтрів тощо) */
.ui-accordion .ui-accordion-header > a::before,
.dialog_tag h3::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 7px;
  vertical-align: 1px;
  background: var(--ua-orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px var(--ua-blue);
}

@media print {
  .ua-band, #ftco-navbar::after, footer.ftco-footer::before, .hero-wrap::after { display: none !important; }
}
