/*
 * test7.fastmail.monster — візуальний шар під референс gameshub.
 * Вантажиться після style.css, перекриває тільки те, що відрізняється.
 * Референс: темно-синій hero без ілюстрації, діагональний перехід у світлий контент,
 * індиго-акцент замість блакитного, помаранчевий у лого.
 */

:root {
  --bg-dark: #0c1030;
  --bg-hero: linear-gradient(160deg, #171a4a 0%, #12143a 45%, #0c1030 100%);
  --page: #f7f8fc;
  --pp-blue: #ffffff;
  --pp-cyan: #0b4ea2;      /* акцент у лого і кнопці */
  --accent: #0b4ea2;       /* індиго для цитат і активних станів */
  --line: #e4e7f2;
  /* іконка рубрики «Wo es nicht geklappt hat»: маскот сайту (README 6.8).
     Шлях ОБОВ'ЯЗКОВО абсолютний. Відносний тут не працює: браузер резолвить url()
     усередині CSS-змінної від файлу, де змінна ПІДСТАВЛЯЄТЬСЯ (style.css у корені
     теми), а не від того, де вона оголошена. '../assets/' звідси давало
     /wp-content/themes/assets/ без /wpgen/ і мовчазний 404. */
  --note-icon: url('/wp-content/themes/wpgen/assets/logo-sk.svg');
}

/* ---------- шапка ---------- */

.site-header { border-bottom: 1px solid #1d2150; }
.main-nav { border-top: 1px solid #1d2150; }

.header-cta { color: #fff; }
.header-cta:hover { background: #2a6cc4; }

.logo-mark { border-radius: 12px; }
.logo-text .l2 b { color: #fff; }
.logo-text .l2 i { color: var(--pp-cyan); }

/* ---------- hero без ілюстрації ---------- */

.hero { position: relative; padding: 30px 0 64px; overflow: hidden; }
.hero-plain .hero-grid { grid-template-columns: 1fr; }
.hero-plain .hero h1 { max-width: 18ch; }

.hero h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.8px; }
.hero p.lead { max-width: 62ch; font-size: clamp(16px, 1.35vw, 19px); }

/* діагональний зріз між hero і контентом, як на референсі */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 58px;
  background: var(--page);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  height: 58px;
  background: #0b4ea2;
  opacity: .55;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero .wrap { position: relative; z-index: 2; }

/* Палітра test7, перефарбована в словацьку гаму (scratchpad/geo/sk_style.py). */
:root{--bg-dark:#2e1d14;--bg-hero:linear-gradient(160deg,#093d80 0%,#0b4ea2 52%,#2e1d14 100%);--page:#fbf8f3;--pp-blue:#fbf8f3;--pp-cyan:#0b4ea2;--accent:#0b4ea2;--line:#e7e0d4;--note-icon:url('/wp-content/themes/wpgen/assets/logo-sk.svg')}
body{background:var(--page);color:#2e1d14}.site-header{background:#2e1d14;border-bottom-color:#0b4ea2}.main-nav{background:#3a2418;border-top-color:#0b4ea2}.main-nav a{color:#fbf8f3}.header-cta{background:#0b4ea2;color:#fff}.header-cta:hover{background:#2a6cc4}.logo-mark{background:#0b4ea2;border-color:#fff}.logo-text .l2 b{color:#fff}.logo-text .l2 i{color:#ff8f94}.hero{background:var(--bg-hero);color:#fff}.hero h1{color:#fff}.hero p.lead{color:#e8f0fb}.hero::before{background:#fff;opacity:.18}.hero::after{background:var(--page)}.entry a{color:#0b4ea2}.entry blockquote{border-left-color:#0b4ea2;background:#f6f0e6}.entry table th{background:#0b4ea2;color:#fff}.entry table tr:nth-child(even){background:#fbf6ef}.button,.wp-block-button__link{background:#0b4ea2;color:#fff}.site-footer{background:#2e1d14;color:#efe6da}

/* ---------- дисклеймер під byline ---------- */

.hero-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  line-height: 1.5;
  color: #b9c0dd;
  max-width: 80ch;
}
.hero-disclaimer-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border: 1px solid #0b4ea2;
  border-radius: 20px;
  color: #9fc0ee;
  font-weight: 700;
  font-size: 12px;
}

/* ---------- контент ---------- */

.content-area { padding: 30px 0 10px; }
.card { border-radius: 14px; }
.entry h2 { letter-spacing: -.4px; }

.author-quote { border-left-color: var(--accent); }
.faq-item.is-open .faq-icon { background: var(--accent); }

@media (max-width: 980px) {
  .hero { padding: 22px 0 48px; }
  .hero::after, .hero::before { height: 38px; }
  .hero::before { bottom: 28px; }
  .hero-plain .hero h1 { max-width: none; }
}

/* Меню: 11 пунктів верхнього рівня (8 контентних хабів + головна + два EAT).
   Базові 15px і padding 16px їх у рядок не вміщають, тому на десктопі трохи
   щільніше. Випадаючі підменю лишаються в комфортних метриках. */
@media (min-width: 981px) {
  .main-nav a, .main-nav .sub-toggle { font-size: 14px; padding: 12px 9px; }
  .main-nav ul { gap: 2px; }
  .main-nav .sub-menu a { font-size: 14px; padding: 9px 15px; }
}


/* ---------- смуга трастових бейджів над футером ---------- */

/* смуга стоїть впритул до футера: базовий margin-top футера тут зайвий, інакше між
   ними лишається світлий проміжок і смуга висить сама по собі */
.trust-badges + .site-footer { margin-top: 0; }

.trust-badges { background: #eef0f7; border-top: 1px solid var(--line); padding: 20px 0; }
.trust-badges ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.trust-badges a, .trust-badges .tb-static {
  display: flex; align-items: center; gap: 10px;
  min-width: 178px; padding: 10px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none; color: #1a1f3d;
}
.trust-badges a:hover { border-color: var(--pp-cyan); }
.trust-badges a:hover .tb-ico { color: var(--pp-cyan); }
.trust-badges .tb-ico { flex: 0 0 auto; color: #0b4ea2; }
.trust-badges .tb-txt { display: flex; flex-direction: column; min-width: 0; }
.trust-badges .tb-label { font-weight: 800; font-size: 15px; letter-spacing: .3px; line-height: 1.2; }
.trust-badges .tb-sub { font-size: 12px; color: #5c6480; margin-top: 2px; }

@media (max-width: 720px) {
  .trust-badges { padding: 14px 0; }
  .trust-badges a, .trust-badges .tb-static { min-width: calc(50% - 5px); padding: 9px 12px; }
  .trust-badges .tb-sub { font-size: 11px; }
}


/* ---------- смуга логотипів медіа/партнерських програм у футері ---------- */

.trust-logos { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.trust-logos ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px;
}
.trust-logos li { display: flex; align-items: center; }
.trust-logos img { display: block; width: auto; max-width: 140px; }

@media (max-width: 720px) {
  .trust-logos { padding: 16px 0; }
  .trust-logos ul { gap: 18px; }
  .trust-logos img { max-width: 110px; }
}


/* ---------- портрет на сторінці автора ---------- */

.hero-author .wrap { position: relative; }
.author-portrait {
  position: absolute; right: 0; top: 46px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.author-portrait img {
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(5,8,26,.45);
}
.author-portrait .ap-city {
  font-size: 13px; color: #aab2c8; letter-spacing: .3px;
}
.hero-author h1, .hero-author p.lead { max-width: 30ch; }

@media (max-width: 900px) {
  .author-portrait { position: static; align-items: flex-start; margin-top: 18px; }
  .author-portrait img { width: 128px; height: 128px; }
  .hero-author h1, .hero-author p.lead { max-width: none; }
}


/* ---------- наскрізний CTA-банер у контенті ---------- */

.cta-img { display: block; margin: 30px 0; }
.cta-img img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 12px 28px rgba(8,11,35,.15);
}
.cta-img--light img { box-shadow: 0 10px 24px rgba(8,11,35,.10); }
@media (max-width: 640px) { .cta-img { margin: 22px 0; } .cta-img img { border-radius: 14px; } }

/* якір до таблиці оферів: невеликий відступ зверху, щоб при переході таблиця
   не впиралась у край вікна */
.offers-anchor { position: relative; top: -18px; display: block; height: 0; }
html { scroll-behavior: smooth; }

/* ---------- пояснювальні схеми ---------- */
.scheme { margin: 28px 0; }
.scheme img { display: block; width: 100%; height: auto; border-radius: 18px; }
@media (max-width: 640px) { .scheme { margin: 20px 0; } }


/* ---------- блок «Perché fidarti di noi» під контентом ---------- */

.why-trust { margin: 34px 0 4px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }

.why-trust .wt-head { display: flex; align-items: center; gap: 10px; background: var(--bg-dark); color: #fff; padding: 14px 20px; }
.why-trust .wt-head .tb-ico { color: #fff; flex: 0 0 auto; }
.why-trust .wt-title { font-weight: 800; letter-spacing: .4px; text-transform: uppercase; font-size: 14px; }
.why-trust .wt-since { margin-left: auto; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }

.why-trust .wt-intro { margin: 0; padding: 18px 20px; font-size: 15px; line-height: 1.5; }

.why-trust .wt-stats { display: flex; background: var(--page); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-trust .wt-stat { flex: 1; text-align: center; padding: 16px 10px; border-right: 1px solid var(--line); }
.why-trust .wt-stat:last-child { border-right: 0; }
.why-trust .wt-stat b { display: block; font-size: 26px; letter-spacing: -.5px; }
.why-trust .wt-stat span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: #5c6480; }

.why-trust .wt-list { list-style: none; margin: 0; padding: 0; }
.why-trust .wt-list li { display: flex; align-items: flex-start; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.why-trust .wt-list li:last-child { border-bottom: 0; }
.why-trust .wt-list .tb-ico { flex: 0 0 auto; color: #d7141a; margin-top: 1px; }

.why-trust .wt-roles { display: flex; background: var(--page); border-top: 1px solid var(--line); }
.why-trust .wt-role { flex: 1; text-align: center; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-right: 1px solid var(--line); }
.why-trust .wt-role:last-child { border-right: 0; }
.why-trust .wt-role .tb-ico { box-sizing: content-box; padding: 9px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.why-trust .wt-role span { font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #1a1f3d; }

.why-trust .wt-cta { display: block; text-align: center; padding: 15px; background: #2f7d3b; color: #fff; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; text-decoration: none; font-size: 13px; }
.why-trust .wt-cta:hover { background: #24622e; }

@media (max-width: 640px) {
  .why-trust .wt-stats, .why-trust .wt-roles { flex-wrap: wrap; }
  .why-trust .wt-stat, .why-trust .wt-role { flex: 1 1 50%; }
  .why-trust .wt-stat:nth-child(odd), .why-trust .wt-role:nth-child(odd) { border-right: 1px solid var(--line); }
}


/* ---------- брендова головна (parts/home-brand.php) ---------- */

.home-brand { background: var(--page); padding-bottom: 10px; }
.home-brand .hb-ico { flex: 0 0 auto; }

.hb-hero {
  background: radial-gradient(90% 120% at 50% -20%, #f1e9dc 0%, rgba(241,233,220,0) 60%), #fff;
  border-bottom: 1px solid var(--line); padding: 46px 0 88px; text-align: center;
}
.hb-hero h1 { margin: 0 auto 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.8px; color: #12152e; max-width: 22ch; }
.hb-lead { margin: 0 auto 28px; max-width: 760px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #3d4460; }
.hb-lead b, .hb-lead strong { color: #12152e; }

.hb-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  max-width: 640px; margin: 0 auto; padding: 8px 8px 8px 22px;
  background: #fff; border: 1px solid #e6e8f2; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(18,21,46,.10);
}
.hb-search > .hb-ico { color: #8a90ab; }
.hb-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 17px; color: #12152e; padding: 10px 0;
}
.hb-search input::placeholder { color: #9aa0b8; }
.hb-search button {
  flex: 0 0 auto; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2a6cc4, #0b4ea2 55%, #093d80);
  box-shadow: 0 6px 16px rgba(11,78,162,.35);
}
.hb-search button:hover { filter: brightness(1.05); }
.hb-search:focus-within { border-color: #9fc0ee; box-shadow: 0 14px 34px rgba(18,21,46,.10), 0 0 0 4px rgba(11,78,162,.14); }

.hb-hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.hb-hints a {
  padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: #3d4460; text-decoration: none;
}
.hb-hints a:hover { border-color: var(--pp-cyan); color: #12152e; }

.hb-section { padding: 26px 0; }
.hb-section--features { padding-top: 0; margin-top: -62px; position: relative; z-index: 2; }

.hb-head { margin: 0 0 18px; }
.hb-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.4px; color: #12152e; }
.hb-head h2 .hb-ico { color: var(--pp-cyan); width: 26px; height: 26px; }
.hb-head p { margin: 6px 0 0; color: #5c6480; font-size: 16px; }

/* картки розділів з помаранчевою смугою */
.hb-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hb-feature {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: #12152e;
  box-shadow: 0 8px 24px rgba(18,21,46,.06); transition: transform .15s ease, box-shadow .15s ease;
}
a.hb-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,21,46,.12); }
.hb-feature-top { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 14px; }
.hb-feature-img img { display: block; width: 76px; height: 76px; }
.hb-feature-txt b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; line-height: 1.25; margin-bottom: 4px; }
.hb-feature-txt span { display: block; font-size: 14.5px; line-height: 1.45; color: #4a5170; }
.hb-feature-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 8px 8px; padding: 9px 14px; border-radius: 9px; color: #fff;
  background: linear-gradient(90deg, #0b4ea2, #093d80);
  font-size: 14.5px;
}
.hb-feature-bar b { font-size: 24px; font-weight: 800; letter-spacing: -.3px; line-height: 1; }
.hb-feature.is-soon .hb-feature-bar { background: #e9ebf3; color: #6a7190; }

/* плитки бонусів */
.hb-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hb-tiles { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; }
.hb-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center;
  text-decoration: none; color: #12152e; box-shadow: 0 6px 18px rgba(18,21,46,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.hb-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18,21,46,.10); }
.hb-tile img { width: 84px; height: 84px; }
.hb-tile b { font-size: 14px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.hb-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 15px; color: #2f7d3b; }
.hb-go .hb-ico { width: 18px; height: 18px; }
.hb-soon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eef0f6; color: #6a7190; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; }

/* банери ігор */
.hb-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hb-game {
  position: relative; display: flex; align-items: flex-end; min-height: 140px; padding: 16px;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #2a6cc4 0%, #093d80 100%);
  box-shadow: 0 10px 24px rgba(18,21,46,.12); transition: transform .15s ease;
}
.hb-game::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.22), rgba(255,255,255,0) 60%);
}
.hb-game--1 { background: linear-gradient(135deg, #2a6cc4 0%, #093d80 100%); }
.hb-game--2 { background: linear-gradient(135deg, #1e2350 0%, #0c1030 100%); }
.hb-game--3 { background: linear-gradient(135deg, #2a6cc4 0%, #093d80 120%); }
a.hb-game:hover { transform: translateY(-3px); }
.hb-game img { position: absolute; right: -8px; top: 50%; transform: translateY(-50%) rotate(-6deg); width: 118px; height: 118px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.hb-game-txt { position: relative; z-index: 1; max-width: 62%; }
.hb-game-txt b { display: block; font-size: 23px; font-weight: 900; line-height: 1.02; letter-spacing: -.2px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.hb-game-txt span { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .95; }
.hb-game-txt .hb-ico { width: 16px; height: 16px; }
.hb-badge { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 700; }

/* останні гайди */
.hb-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(18,21,46,.05); }
.hb-card-thumb {
  position: relative; display: grid; place-items: center; height: 150px;
  background: radial-gradient(80% 90% at 30% 20%, #f8f2e8 0%, #efe3d1 45%, #dbe6f6 100%);
}
.hb-card:nth-child(3n+2) .hb-card-thumb { background: radial-gradient(80% 90% at 70% 20%, #eef3fb 0%, #dbe6f6 50%, #f6d4d5 100%); }
.hb-card:nth-child(3n) .hb-card-thumb { background: radial-gradient(80% 90% at 50% 10%, #fbf6ec 0%, #efe4d3 50%, #dfe9f7 100%); }
.hb-card-thumb img { width: 110px; height: 110px; transition: transform .2s ease; }
.hb-card:hover .hb-card-thumb img { transform: scale(1.06) rotate(-3deg); }
.hb-chip { position: absolute; left: 14px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: #d7141a; color: #12152e; font-size: 12.5px; font-weight: 700; }
.hb-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.hb-card-body h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.hb-card-body h3 a { color: #12152e; text-decoration: none; }
.hb-card-body h3 a:hover { color: var(--pp-cyan); }
.hb-card-body p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #4a5170; }
.hb-date { margin-top: auto; margin-bottom: 12px; font-size: 13px; color: #8a90ab; }
.hb-btn-outline {
  display: block; text-align: center; padding: 9px 12px; border: 1.5px solid #12152e; border-radius: 9px;
  color: #12152e; font-weight: 800; font-size: 14px; letter-spacing: .3px; text-decoration: none;
}
.hb-btn-outline:hover { background: #12152e; color: #fff; }

/* безпека */
.hb-info { display: grid; gap: 16px; }
.hb-info-card { display: flex; align-items: center; gap: 22px; padding: 18px 26px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.hb-info-img { flex: 0 0 170px; display: grid; place-items: center; height: 150px; border-radius: 12px; background: radial-gradient(70% 70% at 50% 50%, #f1e8da 0%, #faf5ec 60%, #fff 100%); }
.hb-info-img img { width: 130px; height: 130px; }
.hb-info-card h3 { margin: 0 0 6px; font-size: 20px; color: #12152e; }
.hb-info-card p { margin: 0 0 12px; color: #4a5170; line-height: 1.55; }
.hb-btn { display: inline-block; padding: 9px 16px; border-radius: 9px; background: linear-gradient(90deg, #0b4ea2, #093d80); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .3px; text-decoration: none; }
.hb-btn:hover { filter: brightness(1.06); }

/* відгуки (рендеряться тільки з реальними джерелами) */
.hb-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hb-review { margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.hb-review blockquote { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.hb-stars { color: #f5b301; letter-spacing: 2px; }
.hb-review figcaption a { color: #0b4ea2; font-size: 14px; }

/* редакція */
.hb-section--team .author-card { margin-top: 0; }
.hb-section--team .why-trust { margin-top: 18px; }

/* лінія допомоги */
.hb-help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px;
  padding: 16px 22px; border-radius: 14px; background: var(--bg-dark); color: #d7dbef;
}
.hb-help-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.hb-help-num { font-size: 24px; font-weight: 900; letter-spacing: 1px; color: #34d27b; text-decoration: none; }
.hb-help-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .hb-features, .hb-tiles, .hb-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-latest, .hb-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hb-hero { padding: 30px 0 78px; }
  .hb-search { padding-left: 16px; }
  .hb-search input { font-size: 16px; }
  .hb-search button { width: 44px; height: 44px; }
  .hb-features, .hb-latest, .hb-reviews { grid-template-columns: 1fr; }
  .hb-tiles { gap: 10px; }
  .hb-tile img { width: 64px; height: 64px; }
  .hb-tile b { font-size: 12.5px; }
  .hb-games { grid-template-columns: 1fr; }
  .hb-info-card { flex-direction: column; align-items: flex-start; padding: 16px; }
  .hb-info-img { flex-basis: auto; width: 100%; }
}

/* банери ігор: довгі назви (es/lt/lv) не наїжджають на картинку й бейдж */
.hb-game { padding-top: 42px; }
.hb-game-txt { max-width: 64%; }
.hb-game-txt b { font-size: clamp(15px, 1.4vw, 20px); letter-spacing: 0; hyphens: manual; }
.hb-game img { width: 104px; height: 104px; right: -12px; }
@media (max-width: 600px) { .hb-game-txt b { font-size: 21px; } .hb-game-txt { max-width: 62%; } }


/* ---------- діаграма «як працює наш рейтинг» (inc/extras.php) ---------- */

.rating-pie { display: flex; align-items: center; gap: 24px 48px; }
.rating-pie--home { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 38px; }
.rating-pie--page { margin: 8px 0 26px; padding: 22px 24px; background: #f7f8fc; border: 1px solid var(--line); border-radius: 14px; }
.rp-text { flex: 1 1 0; min-width: 0; }
.rp-title { margin: 0 0 10px; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.4px; color: #12152e; }
.rp-intro { margin: 0; font-size: 16px; line-height: 1.6; color: #4a5170; }
.rp-slides { position: relative; margin-top: 26px; }
.rating-pie--page .rp-slides { margin-top: 0; }
.rp-slide { animation: rp-fade .45s ease both; }
.rp-slide h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 21px; color: #12152e; }
.rp-slide h3 i {
  font-style: normal; font-weight: 900; font-size: 24px;
  background: linear-gradient(120deg, #2a6cc4 0%, #0b4ea2 45%, #0b4ea2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.rp-slide p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: #4a5170; }
@keyframes rp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.rp-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.rp-arrow {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 0; border-radius: 10px; background: #fff; color: #12152e;
  box-shadow: 0 4px 12px rgba(18,21,46,.12), 0 0 0 1px var(--line);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.rp-arrow:hover { background: #0b4ea2; color: #fff; }
.rp-arrow:active { transform: scale(.94); }
.rp-arrow:focus-visible, .rp-piece:focus-visible { outline: 3px solid rgba(11,78,162,.45); outline-offset: 2px; }
.rp-count { min-width: 56px; text-align: center; font-size: 15px; color: #5c6480; }
.rp-count strong { color: #12152e; font-size: 17px; }
.rp-cta { display: inline-block; margin-top: 18px; font-weight: 800; color: #0b4ea2; text-decoration: none; }
.rp-cta:hover { text-decoration: underline; }

.rp-chart { flex: 0 0 auto; width: min(360px, 100%); }
.rating-pie--page .rp-chart { width: min(300px, 100%); }
.rp-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rp-piece { cursor: pointer; transition: transform .32s cubic-bezier(.3,.7,.3,1.2); outline: none; }
.rp-piece.is-open { transform: translate(var(--dx), var(--dy)); }
.rp-piece .rp-top { transition: filter .2s ease; stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-linejoin: round; }
.rp-piece .rp-top.rp-hot { stroke: rgba(255,255,255,.35); }
.rp-piece:hover .rp-top { filter: brightness(1.18); }
.rp-wall { fill: #171c33; }
.rp-side { fill: #242b47; }
.rp-hot { opacity: 0; transition: opacity .3s ease; }
.rp-piece.is-open .rp-hot { opacity: 1; }
.rp-label { fill: #fff; font-weight: 800; font-size: 19px; pointer-events: none; font-family: inherit; }
.rating-pie .rp-slide h3 { min-height: 2.4em; }
.rating-pie .rp-slide h3 i:empty { display:none; }
.rating-pie .rp-slide h3 i { display:none; }
.rp-label.is-small { font-size: 14px; }

@media (max-width: 860px) {
  .rating-pie { flex-direction: column-reverse; align-items: stretch; }
  .rating-pie--home { padding: 24px 18px; }
  .rp-chart, .rating-pie--page .rp-chart { width: min(320px, 100%); margin: 0 auto; }
  .rp-nav { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-piece, .rp-hot, .rp-slide { transition: none; animation: none; }
}

/* ---------- підписка на розсилку (inc/extras.php) ---------- */

.newsletter { padding: 26px 0 30px; background: var(--page); }
.nl-card {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px;
  padding: 40px 44px; border-radius: 16px; color: #fff;
  background: radial-gradient(60% 120% at 85% 40%, rgba(11,78,162,.28), rgba(11,78,162,0) 60%),
              radial-gradient(50% 90% at 10% 110%, rgba(11,78,162,.45), rgba(11,78,162,0) 70%),
              linear-gradient(135deg, #171b44 0%, #0c1030 100%);
}
.nl-body { position: relative; z-index: 2; flex: 1 1 0; min-width: 0; max-width: 680px; }
.nl-card h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.5px; color: #fff; }
.nl-text { margin: 0 0 20px; font-size: 16.5px; color: #d6daf0; }
.nl-form { display: flex; gap: 12px; }
.nl-form input[type=email] {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: 10px;
  font: inherit; font-size: 16px; color: #12152e; background: #fff;
}
.nl-form input[type=email]:focus { outline: 3px solid rgba(11,78,162,.55); }
.nl-form button {
  flex: 0 0 auto; height: 48px; padding: 0 28px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #2a6cc4, #0b4ea2 55%, #093d80);
  box-shadow: 0 8px 20px rgba(11,78,162,.35); transition: filter .15s ease, transform .15s ease;
}
.nl-form button:hover { filter: brightness(1.07); }
.nl-form button:active { transform: translateY(1px); }
.newsletter.is-busy .nl-form button { opacity: .7; cursor: progress; }
.newsletter.is-unsub .nl-form button { background: #3a4466; box-shadow: none; }
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { margin: 12px 0 0; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 700; }
.nl-msg.is-ok { background: rgba(52,210,123,.16); color: #7ff0ad; }
.nl-msg.is-err { background: rgba(11,78,162,.16); color: #9fc0ee; }
.nl-note { margin: 12px 0 0; font-size: 13.5px; color: #aab2cf; }
.nl-toggle { padding: 0; margin-left: 4px; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nl-art { position: relative; z-index: 2; flex: 0 0 auto; width: 210px; height: 210px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); animation: nl-float 5s ease-in-out infinite; }
.nl-deco { position: absolute; z-index: 1; width: 120px; height: 120px; filter: blur(7px); opacity: .35; pointer-events: none; }
.nl-deco--1 { left: -30px; top: 18px; transform: rotate(-18deg); }
.nl-deco--2 { left: 46%; bottom: -46px; transform: rotate(14deg); }
@keyframes nl-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (max-width: 860px) {
  .nl-card { flex-direction: column-reverse; align-items: flex-start; padding: 28px 22px; }
  .nl-art { width: 120px; height: 120px; }
  .nl-form { flex-direction: column; }
  .nl-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .nl-art { animation: none; } }

.nl-art { margin-left: auto; margin-right: 12px; }
@media (max-width: 860px) { .nl-art { margin: 0; } }

/* картки розділів: іконка не стискається, довгі слова (lv/lt/nl) переносяться всередині тексту */
.hb-feature-top { align-items: center; }
.hb-feature-img { flex: 0 0 68px; width: 68px; height: 68px; display: grid; place-items: center; }
.hb-feature-img img { width: 68px; height: 68px; max-width: none; object-fit: contain; }
.hb-feature-txt { flex: 1 1 auto; min-width: 0; }
.hb-feature-txt b, .hb-feature-txt span { overflow-wrap: break-word; hyphens: auto; }
.home-brand img { object-fit: contain; }
@media (max-width: 1100px) and (min-width: 981px) {
  .hb-feature-img { flex-basis: 56px; width: 56px; height: 56px; }
  .hb-feature-img img { width: 56px; height: 56px; }
  .hb-feature-txt b { font-size: 14px; }
}

/* 981–1180px: іконка над текстом, щоб довгі слова не рвались посередині */
@media (max-width: 1180px) and (min-width: 981px) {
  .hb-feature-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hb-feature-img, .hb-feature-img img { flex-basis: auto; width: 56px; height: 56px; }
  .hb-feature-txt b { font-size: 14.5px; }
}
.hb-feature-txt b { overflow-wrap: normal; word-break: normal; }

/* ---------- логотипи партнерських програм (inc/extras.php) ---------- */

.pl { margin: 26px 0 30px; }
.pl-title { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.4px; color: #12152e; }
.pl-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pl-item {
  display: grid; place-items: center; min-height: 118px; padding: 16px; border-radius: 14px;
  background: linear-gradient(160deg, #1b2047 0%, #0f1334 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); text-decoration: none; color: #e8ebf7;
  transition: box-shadow .15s ease, transform .15s ease;
}
a.pl-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(11,78,162,.75); }
.pl-item img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.pl-item span { font-weight: 800; letter-spacing: .3px; text-align: center; }
@media (max-width: 980px) { .pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pl-item { min-height: 92px; } }

/* ---------- відгуки партнерських менеджерів (inc/extras.php) ---------- */

.pq-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pq-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.4px; color: #12152e; }
.pq-arrows { display: flex; gap: 8px; margin-left: auto; }
.pq-arrow {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
  border: 0; border-radius: 10px; background: #fff; color: #12152e;
  box-shadow: 0 4px 12px rgba(18,21,46,.12), 0 0 0 1px var(--line);
  transition: background .15s ease, color .15s ease;
}
.pq-arrow:hover { background: #0b4ea2; color: #fff; }
.pq-arrow[disabled] { opacity: .4; cursor: default; background: #fff; color: #12152e; }

/* Залишкові помаранчеві елементи → синій. */
:root{--pp-cyan:#0b4ea2}
.header-cta:hover,.rp-arrow:hover,.pq-arrow:hover{background:#2a6cc4!important}
.hb-search button,.hb-btn,.nl-form button{background:linear-gradient(90deg,#2a6cc4,#093d80)!important;box-shadow:0 8px 20px rgba(11,78,162,.28)!important}
.hb-search:focus-within{border-color:#93b5e5!important;box-shadow:0 14px 34px rgba(46,29,20,.1),0 0 0 4px rgba(11,78,162,.16)!important}
.rp-cta{color:#0b4ea2!important}.nl-card{background:linear-gradient(120deg,#093d80,#0b4ea2 55%,#2e1d14)!important}.nl-msg.is-err{background:rgba(11,78,162,.18)!important;color:#ffd9db!important}

.pq-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 14px; scrollbar-width: thin;
}
.pq-card {
  scroll-snap-align: start; flex: 0 0 340px; display: flex; flex-direction: column; align-items: center;
  padding: 26px 22px; text-align: center; border-radius: 16px; color: #e8ebf7;
  background: linear-gradient(160deg, #1b2047 0%, #0f1334 100%);
  box-shadow: 0 10px 26px rgba(12,16,48,.18), inset 0 0 0 1px rgba(255,255,255,.07);
}
.pq-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.pq-name { margin: 0 0 4px; font-size: 18px; color: #fff; }
.pq-role { margin: 0; font-size: 14.5px; color: #aab2cf; }
.pq-role a { color: #9fc0ee; text-decoration: underline; text-underline-offset: 3px; }
.pq-li {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 18px 0 16px;
  border-radius: 10px; color: #fff; background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .15s ease;
}
.pq-li:hover { background: rgba(255,255,255,.14); }
.pq-quote { font-size: 15px; line-height: 1.6; color: #d7dbef; text-align: left; }
.pq-quote p { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.pq-card.is-open .pq-quote p { -webkit-line-clamp: unset; display: block; }
.pq-more {
  width: 100%; margin-top: 12px; padding: 7px; cursor: pointer; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700;
}
.pq-more:hover { background: rgba(255,255,255,.16); }
.pq-note { margin: 10px 0 0; font-size: 12.5px; color: #8f98ba; }

@media (max-width: 600px) {
  .pq-card { flex-basis: 84%; padding: 22px 18px; }
  .pq-head h2 { font-size: 21px; }
}

/* Активні картки розділів у синьому. */
.hb-feature:not(.is-soon) .hb-feature-bar {
  background: linear-gradient(90deg, #1a5cb2, #093d80);
  color: #fff;
}

/* Editorial list treatment: square counters and check marks, without round bullets. */
.entry ul,.entry ol,.author-profile ul,.author-profile ol{margin:1.15rem 0 1.35rem;padding:0;list-style:none;counter-reset:lv-list}
.entry ul li,.entry ol li,.author-profile ul li,.author-profile ol li{position:relative;margin:.7rem 0;padding:.72rem 1rem .72rem 3rem;border:1px solid #e6dccd;border-left:4px solid #0b4ea2;border-radius:10px;background:#fdfaf5;color:#2b2a33;line-height:1.55;box-shadow:0 4px 12px rgba(46,29,20,.05)}
.entry ul li::before,.author-profile ul li::before{content:'✓';position:absolute;left:.78rem;top:.72rem;display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:5px;background:#0b4ea2;color:#fdfaf5;font-weight:900;font-size:.82rem;line-height:1}
.entry ol,.author-profile ol{counter-reset:lv-list}
.entry ol li,.author-profile ol li{counter-increment:lv-list}
.entry ol li::before,.author-profile ol li::before{content:counter(lv-list);position:absolute;left:.72rem;top:.7rem;display:grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:5px;background:#d7141a;color:#2e1d14;font-weight:900;font-size:.82rem;line-height:1}
.entry ul li strong,.entry ol li strong,.author-profile ul li strong,.author-profile ol li strong{color:#093d80}
.entry ul li a,.entry ol li a,.author-profile ul li a,.author-profile ol li a{color:#0b4ea2;font-weight:700;text-decoration:underline;text-decoration-color:#d7141a;text-underline-offset:3px}
@media(max-width:700px){.entry ul li,.entry ol li,.author-profile ul li,.author-profile ol li{padding-left:2.8rem;margin:.55rem 0}}

/* Діаграма рейтингу. */
.rating-pie--home,.rating-pie--page{background:#fdfaf5;border-color:#e6dccd}
.rp-title,.rp-slide h3,.rp-count strong{color:#2e1d14}
.rp-intro,.rp-slide p,.rp-count{color:#5a5560}
.rp-slide h3 i{background:linear-gradient(120deg,#0b4ea2,#5e8fd3);-webkit-background-clip:text;background-clip:text}
.rp-wall{fill:#2e1d14}.rp-side{fill:#123a73}
.rp-arrow{color:#0c3f86}.rp-arrow:hover{background:#0b4ea2!important;color:#fff}
.rp-arrow:focus-visible,.rp-piece:focus-visible{outline-color:rgba(11,78,162,.5)}
.rp-cta{color:#0b4ea2!important}
/* Табличные ссылки должны заметно отличаться от обычного текста. */
.entry table a,.entry table a:visited{color:#0b4ea2!important;font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.entry table a:hover{color:#0a2350!important;background:#e6effb}
.method-hero{display:flex;align-items:center;gap:14px;margin:26px 0;padding:18px 20px;border:1px solid #d9c9b2;border-left:6px solid #0b4ea2;border-radius:14px;background:linear-gradient(110deg,#f6f0e6,#fdfbf6);color:#2e1d14}.method-hero-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#0b4ea2;color:#fff;font-size:27px;font-weight:900}.method-hero strong,.method-hero span{display:block}.method-hero strong{font-size:18px}.method-hero span{margin-top:4px;color:#6b5a48;font-size:14px}.method-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}.method-steps>div{padding:16px;border-radius:12px;background:#2e1d14;color:#fff;box-shadow:0 8px 18px rgba(46,29,20,.12)}.method-steps b{display:block;color:#d7141a;font-size:13px;letter-spacing:1px}.method-steps span{display:block;margin-top:6px;font-weight:800}.method-steps small{display:block;margin-top:4px;color:#e9dccb}.method-callout{display:flex;align-items:center;gap:14px;margin:26px 0;padding:16px 18px;border-radius:12px;background:#fbefe0;border:1px solid #d7141a;color:#3a2418}.method-callout strong{white-space:nowrap}.method-callout--soft{background:#e8f0fb;border-color:#c9b79c;color:#3a2418}.method-divider{display:flex;align-items:center;gap:12px;margin:34px 0 12px;color:#0b4ea2;font-weight:900;text-transform:uppercase;letter-spacing:1px}.method-divider:after{content:"";height:2px;flex:1;background:linear-gradient(90deg,#d7141a,transparent)}
@media(max-width:700px){.method-steps{grid-template-columns:repeat(2,1fr)}.method-callout{display:block}.method-callout span{display:block;margin-top:5px}.method-hero{padding:15px}.method-hero strong{font-size:16px}}
.author-spotlight{display:flex;align-items:center;gap:20px;margin:24px 0 34px;padding:18px;border:1px solid #d9c9b2;border-radius:16px;background:linear-gradient(110deg,#f6f0e6,#fdfbf6);box-shadow:0 10px 24px rgba(46,29,20,.08)}.author-spotlight img{width:104px;height:104px;object-fit:cover;border-radius:50%;border:4px solid #d7141a}.author-spotlight strong,.author-spotlight span{display:block}.author-spotlight strong{font-size:23px;color:#2e1d14}.author-spotlight span{margin-top:4px;color:#0b4ea2;font-weight:800}.author-spotlight p{margin:10px 0 0;color:#5a5560}.author-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.author-principles>div{padding:16px;border-radius:12px;background:#2e1d14;color:#fff}.author-principles b{display:block;color:#d7141a;font-size:13px;letter-spacing:1px}.author-principles span{display:block;margin-top:7px;font-weight:800}.author-quote{margin:28px 0;padding:22px 26px;border-left:6px solid #0b4ea2;border-radius:12px;background:#fbefe0;color:#3a2418}.author-quote p{margin:0;font-size:20px;font-weight:700}.author-quote cite{display:block;margin-top:10px;font-style:normal;font-weight:800;color:#0b4ea2}@media(max-width:700px){.author-spotlight{align-items:flex-start;flex-direction:column}.author-principles{grid-template-columns:1fr}.author-spotlight img{width:88px;height:88px}}

/* ================= Словацький шар (test21 / kasinoporadca.com) =================
   Синій і червоний прапора, темне дерево й біла геометрія Чичман, льон, Татри з Криванем.
   Державний герб не використовуємо. */
:root{--sk-blue:#0b4ea2;--sk-blue-2:#2a6cc4;--sk-navy:#0a2350;--sk-red:#d7141a;--sk-wood:#2e1d14;--sk-wood-2:#3a2418;--sk-linen:#fbf8f3;
  --bg-hero:linear-gradient(160deg,#0b4ea2 0%,#093d80 55%,#0a2350 100%)}
body{color:#1d1a1f}
.site-header{background:var(--sk-wood);border-bottom-color:#4a3022}
.main-nav{position:relative;background:var(--sk-wood-2);border-top-color:#4a3022}
.main-nav::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:12px;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDM2IDEyIj48cmVjdCB3aWR0aD0iMzYiIGhlaWdodD0iMTIiIGZpbGw9IiMyZTFkMTQiLz48cGF0aCBkPSJNMCA5IDYgM2w2IDYgNi02IDYgNiA2LTYgNiA2IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMS42Ii8+PGNpcmNsZSBjeD0iNiIgY3k9IjkuNSIgcj0iMS4yIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iMTgiIGN5PSI5LjUiIHI9IjEuMiIgZmlsbD0iI2ZmZiIvPjxjaXJjbGUgY3g9IjMwIiBjeT0iOS41IiByPSIxLjIiIGZpbGw9IiNmZmYiLz48L3N2Zz4=") repeat-x 0 0/36px 12px;z-index:3}
.logo-text .l2 i{color:#ff8f94}
.mobile-nav-toggle{background:var(--sk-blue);border-color:#4a7cc4}
.site-footer{background:var(--sk-wood);color:#efe6da}

/* hero головної: льон і небо, внизу Татри */
.hb-hero{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDQwIDE3MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHBhdGggZD0iTTAgMTcwVjEyMmw5MC0zMCA1MCAxOCA4MC01MiA0MCAyNiA3MC02MCA0NSA0MCA1NS0yOCA2MCA0NCA3MC0xOCA5MC02MiAzMCAzNCA0MC0xMiA3MCA1OCA4MC0zMCA2MCAyMiAxMTAtNzRjMTggMTIgMzAgMzAgMzggNTJsNDAgMzAgNjAtMjQgOTAgNDAgNzAtMTggNTIgMjJ2MTA0eiIgZmlsbD0iI2RmZTdmMiIvPjxwYXRoIGQ9Ik0wIDE3MHYtMjZsMTIwLTIyIDExMCAxNiAxNTAtMzQgMTIwIDI2IDE0MC0zMCAxMzAgMjggMTYwLTIyIDE0MCAyMCAyNzAtMjh2NzJ6IiBmaWxsPSIjY2RkOWVhIi8+PC9zdmc+") center bottom/100% 128px no-repeat,radial-gradient(90% 120% at 50% -20%,#e3ecf8 0%,rgba(227,236,248,0) 62%),var(--sk-linen);padding-top:58px}
.hb-hero h1{color:var(--sk-navy)}

/* плаваючі елементи: розетка Чичман і народний тюльпан */
.hb-hero .wrap{position:relative}
.hb-floating{position:absolute;z-index:1;pointer-events:none;background:center/contain no-repeat}
.hb-floating > *{display:none}
.hb-floating--chip{left:3%;top:10px;width:54px;height:54px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHJlY3QgeD0iMiIgeT0iMiIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiByeD0iMTIiIGZpbGw9IiMyZTFkMTQiLz4KPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIuNiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTMyIDEwIDQ0IDIyIDMyIDM0IDIwIDIyeiIvPjxwYXRoIGQ9Ik0zMiAzMCA0NCA0MiAzMiA1NCAyMCA0MnoiLz48cGF0aCBkPSJNMTAgMzJsOC02djEyek01NCAzMmwtOC02djEyeiIvPjwvZz4KPGcgZmlsbD0iI2ZmZiI+PGNpcmNsZSBjeD0iMzIiIGN5PSIyMiIgcj0iMyIvPjxjaXJjbGUgY3g9IjMyIiBjeT0iNDIiIHI9IjMiLz48cGF0aCBkPSJtMTIgMTIgNSAxLTQgNHpNNTIgMTJsLTUgMSA0IDR6TTEyIDUybDUtMS00LTR6TTUyIDUybC01LTEgNC00eiIvPjwvZz48L3N2Zz4=");filter:drop-shadow(0 8px 12px rgba(46,29,20,.28));animation:skOrn 7s ease-in-out infinite}
.hb-floating--die{right:4%;top:4px;width:58px;height:58px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTMyIDYwVjMwIiBzdHJva2U9IiMyZjdkM2IiIHN0cm9rZS13aWR0aD0iMy41IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48cGF0aCBkPSJNMzIgNTBjLTYtMS0xMy02LTE1LTE0IDggMCAxMyA1IDE1IDE0em0wLTRjNi0xIDEzLTYgMTUtMTQtOCAwLTEzIDUtMTUgMTR6IiBmaWxsPSIjMmY3ZDNiIi8+CjxwYXRoIGQ9Ik0xOCAxMmM0IDIgOCA2IDkgMTEgMS02IDMtMTEgNS0xNSAyIDQgNCA5IDUgMTUgMS01IDUtOSA5LTExIDEgMTEtMyAyMC0xNCAyMS0xMS0xLTE1LTEwLTE0LTIxeiIgZmlsbD0iI2Q3MTQxYSIvPjxwYXRoIGQ9Ik0zMiAxMmMtMiA1LTIgMTIgMCAyMCAyLTggMi0xNSAwLTIweiIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iLjU1Ii8+PGNpcmNsZSBjeD0iMzIiIGN5PSIzMCIgcj0iMi40IiBmaWxsPSIjZmZmIi8+PC9zdmc+");filter:drop-shadow(0 8px 12px rgba(46,29,20,.2));animation:skTulip 6s ease-in-out infinite}
@keyframes skOrn{0%,100%{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(12px) rotate(8deg)}}
@keyframes skTulip{0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(12px) rotate(-8deg)}}
@media(max-width:700px){.hb-floating--chip{left:2%;top:4px;width:34px;height:34px}.hb-floating--die{right:2%;top:2px;width:36px;height:36px}}
@media (prefers-reduced-motion: reduce){.hb-floating{animation:none}}

/* картки, плитки, банери ігор: синій, червоний, дерево, смерекова зелень Татр */
.hb-feature-bar{background:linear-gradient(90deg,var(--sk-blue-2),var(--sk-blue))}
.hb-feature:not(.is-soon) .hb-feature-bar{background:linear-gradient(90deg,var(--sk-blue),var(--sk-navy))}
.hb-feature.is-soon .hb-feature-bar{background:#efe8dc;color:#6b5a48}
.hb-soon{background:#efe8dc;color:#6b5a48}
.hb-feature,.hb-tile,.hb-card,.hb-info-card,.rating-pie--home{border-color:#e7e0d4}
.hb-game{background:linear-gradient(135deg,#2a6cc4 0%,#093d80 100%)}
.hb-game--1{background:linear-gradient(135deg,#e2262c 0%,#9a0e13 100%)}
.hb-game--2{background:linear-gradient(135deg,#5a3a28 0%,#2e1d14 100%)}
.hb-game--3{background:linear-gradient(135deg,#2f7d3b 0%,#1d5426 100%)}
.hb-chip{background:var(--sk-red);color:#fff}
.hb-info-img{background:radial-gradient(70% 70% at 50% 50%,#efe5d6 0%,#f8f3ea 60%,#fff 100%)}
.hb-help{background:var(--sk-wood)}
.hb-help-num{color:#ff9da0}
.hb-go{color:var(--sk-red)}
.why-trust .wt-head{background:var(--sk-wood)}
.why-trust .wt-cta{background:var(--sk-blue)}.why-trust .wt-cta:hover{background:var(--sk-navy)}
.trust-badges{background:#f3ede3}
.trust-badges .tb-ico{color:var(--sk-blue)}

/* розсилка: синя картка, червона кнопка */
.nl-card{background:radial-gradient(60% 120% at 88% 40%,rgba(215,20,26,.22),rgba(215,20,26,0) 60%),linear-gradient(120deg,#093d80,#0b4ea2 55%,#0a2350)!important}
.nl-deco{opacity:.16}
.hb-search button,.hb-btn{background:linear-gradient(90deg,#2a6cc4,#093d80)!important;box-shadow:0 8px 20px rgba(11,78,162,.28)!important}
.nl-form button{background:linear-gradient(90deg,#e2262c,#a50f14)!important;box-shadow:0 8px 20px rgba(215,20,26,.3)!important}

/* партнери й контакти */
.pl-item,.pq-card{background:linear-gradient(160deg,#123a73 0%,#0a2350 100%)}
.pq-role a{color:#9fc0ee}

/* службові сторінки: темні блоки — дерево, номери й акценти — червона вишивка */
.method-steps>div,.author-principles>div{background:var(--sk-wood)}
.method-steps b,.author-principles b{color:#ff8f94}
.method-hero{border-left-color:var(--sk-red)}
.method-callout{background:#fbefe0;border-color:#e3c9a4;color:#3a2418}
.method-callout--soft{background:#e8f0fb;border-color:#b7cbea;color:#0d2c5f}
.method-divider{color:var(--sk-blue)}
.method-divider:after{background:linear-gradient(90deg,var(--sk-red),transparent)}
.author-spotlight img{border-color:var(--sk-red)}
.author-quote{background:#f6f0e6;color:#2b2a33;border-left-color:var(--sk-red)}
.author-quote cite{color:var(--sk-blue)}
.entry ul li,.author-profile ul li,.entry ol li,.author-profile ol li{border-left-color:var(--sk-red)}
.entry ol li::before,.author-profile ol li::before{background:var(--sk-red);color:#fff}
.entry ul li a,.entry ol li a,.author-profile ul li a,.author-profile ol li a{text-decoration-color:var(--sk-red)}
.rp-wall{fill:#0a2350}.rp-side{fill:#123a73}

/* оцінна карта нової методики (inc/extras.php wpgen_rating_scale): категорії + шкала відсотків */
.rating-scale{background:#fff;border:1px solid #e7e0d4;border-radius:14px;padding:34px 38px}
.rating-scale--page{margin:8px 0 26px;padding:22px 24px;background:#fdfaf5}
.rating-scale .rs-title{margin:0 0 10px;font-size:clamp(22px,2.3vw,30px);letter-spacing:-.4px;color:var(--sk-navy)}
.rating-scale .rs-intro{margin:0;max-width:78ch;font-size:16px;line-height:1.6;color:#5a5560}
.rs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px 44px;margin-top:26px}
.rating-scale--page .rs-grid{margin-top:0}
.rating-scale .rs-sub{margin:0 0 12px;font-size:13px;font-weight:900;letter-spacing:.9px;text-transform:uppercase;color:#6b5a48}
.rs-tabs{display:grid;gap:8px}
.rs-tab{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid #e7e0d4;border-radius:12px;background:var(--sk-linen);color:#1d1a1f;font:inherit;text-align:left;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.rs-tab:hover{border-color:#93b5e5}
.rs-tab.is-on{background:var(--sk-wood);border-color:var(--sk-wood);color:#fff}
.rs-num{font-size:12px;font-weight:900;letter-spacing:1px;color:var(--sk-red)}
.rs-tab.is-on .rs-num{color:#ff8f94}
.rs-ico{flex:0 0 auto;color:var(--sk-blue)}
.rs-tab.is-on .rs-ico{color:#fff}
.rs-tab-l{font-weight:800;font-size:15.5px;line-height:1.25}
.rs-panel{margin-top:12px;padding:14px 16px;border-left:4px solid var(--sk-red);border-radius:10px;background:#f6f0e6}
.rating-scale .rs-check{margin:0;line-height:1.55;color:#2b2a33}
.rs-check b{display:block;margin-bottom:4px;font-size:12.5px;letter-spacing:.6px;text-transform:uppercase;color:var(--sk-blue)}
.rating-scale .rs-note{margin:8px 0 0;font-size:14px;line-height:1.5;color:#5a5560;font-style:italic}
.rating-scale .rs-hint{margin:-4px 0 10px;font-size:14px;color:#6b5a48}
.rs-value{margin-bottom:12px;font-size:44px;font-weight:900;line-height:1;letter-spacing:-1px;color:var(--sk-navy)}
.rs-meter{position:relative;height:18px;border-radius:999px;background:#efe8dc;overflow:hidden}
.rs-fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#2a6cc4,#0b4ea2);transition:width .45s cubic-bezier(.3,.7,.3,1)}
.rs-meter[data-pct="60"] .rs-fill{background:linear-gradient(90deg,#93b5e5,#5e8fd3)}
.rs-meter[data-pct="40"] .rs-fill{background:linear-gradient(90deg,#f2575c,#d7141a)}
.rs-meter[data-pct="0"]{box-shadow:inset 0 0 0 2px var(--sk-red)}
.rs-meter.is-na{background:repeating-linear-gradient(45deg,#efe8dc 0 8px,#e2d6c3 8px 16px)}
.rs-tick{position:absolute;top:4px;bottom:4px;width:2px;margin-left:-1px;background:rgba(255,255,255,.8);pointer-events:none}
.rs-tick[style*="left:0%"],.rs-tick[style*="left:100%"]{display:none}
.rs-levels{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.rs-level{padding:8px 14px;border:1.5px solid #d9c9b2;border-radius:999px;background:#fff;color:var(--sk-wood);font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.rs-level:hover{border-color:var(--sk-blue)}
.rs-level.is-on{background:var(--sk-blue);border-color:var(--sk-blue);color:#fff}
.rs-level--na{border-style:dashed}
.rs-level--na.is-on{background:#6b5a48;border-color:#6b5a48}
.rs-tab:focus-visible,.rs-level:focus-visible{outline:3px solid rgba(11,78,162,.45);outline-offset:2px}
.rating-scale .rs-meaning{margin:14px 0 0;padding:12px 14px;border-radius:10px;background:#e8f0fb;color:#0d2c5f;line-height:1.55}
.rs-meaning b{margin-right:6px}
.rating-scale .rs-foot{position:relative;margin:12px 0 0;padding-left:24px;font-size:13.5px;line-height:1.5;color:#5a5560}
.rs-foot::before{content:"i";position:absolute;left:0;top:1px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--sk-blue);color:#fff;font-size:11px;font-weight:900;font-style:normal}
.rs-foot--rule::before{content:"↓";background:var(--sk-red)}
.rs-cta{display:inline-block;margin-top:22px;font-weight:800;color:var(--sk-blue);text-decoration:none}
.rs-cta:hover{text-decoration:underline}
@media(max-width:860px){.rating-scale{padding:24px 18px}.rs-grid{grid-template-columns:1fr}.rs-value{font-size:36px}}
@media (prefers-reduced-motion: reduce){.rs-fill,.rs-tab,.rs-level{transition:none}}

/* скріни в контенті (scratchpad/geo/publish_sk.py): мобільні — по центру, вужчі */
.entry figure.sk-shot{margin:28px 0}
.entry figure.sk-shot img{display:block;width:100%;height:auto;border-radius:12px}
.entry figure.sk-shot figcaption{margin-top:10px;font-size:14px;line-height:1.5;color:#5a5560;text-align:center}
.entry figure.sk-shot--mobile{max-width:340px;margin-left:auto;margin-right:auto}
.entry figure.sk-shot--mobile img{border-radius:0}
.entry p.sk-rg{margin-top:30px;padding:14px 18px;border-left:4px solid var(--sk-red);border-radius:10px;background:#f6f0e6;font-size:14.5px}
.entry p.sk-rg em{font-style:normal}

/* FAQ-акордеон (assets/faq.js, div.faq): картки з вишивковим акцентом, відкрита — червона смуга */
.entry .faq{display:grid;gap:10px;margin:18px 0 10px}
.entry .faq-item{margin:0;border:1px solid #e6dccd;border-left:4px solid var(--sk-blue);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.entry .faq-item:hover{border-color:#d9c9b2;border-left-color:var(--sk-blue-2)}
.entry .faq-item.is-open{border-left-color:var(--sk-red);background:var(--sk-linen);box-shadow:0 8px 20px rgba(46,29,20,.08)}
.entry .faq-q{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;border:0;background:transparent;color:var(--sk-navy);font:inherit;font-size:17px;font-weight:800;line-height:1.35;text-align:left;cursor:pointer}
.entry .faq-q:hover{background:#f6f0e6}
.entry .faq-item.is-open .faq-q{color:var(--sk-red)}
.entry .faq-q:focus-visible{outline:3px solid rgba(11,78,162,.4);outline-offset:-3px}
.entry .faq-icon{flex:0 0 auto;background:#e8f0fb}
.entry .faq-icon::before,.entry .faq-icon::after{background:var(--sk-blue)}
.entry .faq-item.is-open .faq-icon{background:var(--sk-red)}
.entry .faq-item.is-open .faq-icon::before,.entry .faq-item.is-open .faq-icon::after{background:#fff}
.entry .faq-a{padding:0 18px 18px 18px;color:#2b2a33;line-height:1.65}
.entry .faq-a p{margin:0 0 10px}
.entry .faq h3{color:var(--sk-navy)}
@media(max-width:600px){.entry .faq-q{font-size:16px;padding:14px}.entry .faq-a{padding:0 14px 16px}}

/* сині рамки, щоб довгий текст не був «простирадлом» (publish_sk.py enhance) */
.entry .sk-box{margin:24px 0;padding:18px 22px;border:2px solid var(--sk-blue);border-radius:14px;background:#f5f9ff;box-shadow:0 6px 16px rgba(11,78,162,.07)}
.entry .sk-box p{margin:0}
.entry .sk-box p+p{margin-top:10px}
.entry .sk-box--example{position:relative;margin-top:30px;padding-top:24px;border-style:dashed;background:#fff}
.entry .sk-box--example::before{content:"Príklad";position:absolute;top:-12px;left:18px;padding:3px 11px;border-radius:999px;background:var(--sk-blue);color:#fff;font-size:12px;font-weight:800;letter-spacing:.6px;text-transform:uppercase}
@media(max-width:600px){.entry .sk-box{padding:16px}}

/* narrow screens: keep the heading clear of the floating icons */
@media (max-width:700px){.hb-hero h1{padding-left:46px;padding-right:46px}}
