/* ============================================================================
   Design tokens (extended, backward-compatible)
   Notes: comments are in English only
============================================================================ */

/* ===== Primitives (RGB for easy alpha) ===== */
:root{
  /* Colors (RGB components) */
  --rgb-bg:   246 248 251;   /* #f6f8fb */
  --rgb-text:  28  35  48;   /* #1c2330 */
  --rgb-muted:109 120 134;   /* #6d7886 */
  --rgb-card: 255 255 255;   /* #ffffff */
  --rgb-gold: 217 182  95;   /* #d9b65f */
  --rgb-gold2:184 154  78;   /* #b89a4e */

  /* Base (kept as in your code) */
  --bg: #f6f8fb;
  --text: #1c2330;
  --muted: #6d7886;
  --gold: #d9b65f;
  --gold-2: #b89a4e;
  --card: #ffffff;

  /* Borders & shadows */
  --border: #e6ecf3;               /* subtle border */
  --border-weak: rgb(var(--rgb-text) / .06);
  --border-strong: rgb(var(--rgb-text) / .14);

  /* Shadow colors and levels */
  --shadow-color: 20 35 60;        /* for rgba */
  --shadow-sm: 0 2px 8px rgba(var(--shadow-color) / .08);
  --shadow-md: 0 6px 20px rgba(var(--shadow-color) / .12);
  --shadow-lg: 0 10px 30px rgba(var(--shadow-color) / .12);
  --shadow: var(--shadow-lg);       /* backward alias */

  /* Layout */
  --container: 1200px;
  --container-gutter: 24px;         /* horizontal page padding */

  /* Shape & controls */
  --radius: 0px;    /* global corner radius (0 = sharp) */
  --r-0: 0px;
  --r-1: 6px;
  --r-2: 12px;
  --r-pill: 999px;

  --btn-h: 42px;
  --btn-h-sm: 36px;
  --btn-h-lg: 46px;
  --btn-px: 18px;
  --pill-h: 36px;

  /* Spacing scale (8pt-ish) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --section-py: clamp(56px, 8vw, 96px); /* reuse in sections */

  /* Typography */
  --font-sans: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fs-300: 14px;
  --fs-400: 16px;
  --fs-500: 18px;
  --fs-600: 20px;
  --fs-700: 24px;
  --fs-800: 32px;

  /* Motion */
  --dur-1: .15s;
  --dur-2: .25s;
  --dur-3: .35s;
  --ease-out: cubic-bezier(.2,.65,.3,1);
  --ease-inout: cubic-bezier(.4,0,.2,1);

  /* Z-index scale */
  --z-base: 0;
  --z-header: 1000;
  --z-overlay: 2000;
  --z-modal: 3000;

  /* WP admin bar (set via JS when logged in) */
  --adminbar: 0px;

  /* Semantic aliases (optional) */
  --color-bg: var(--bg);
  --color-surface: var(--card);
  --color-text: var(--text);
  --color-muted: var(--muted);
  --color-brand: var(--gold);
  --color-brand-2: var(--gold-2);
  --color-border: var(--border);
}

/* ===== Dark theme (opt-in via [data-theme="dark"]) ===== */
:root[data-theme="dark"]{
  --bg: #0e1217;
  --text: #e6e9ef;
  --muted: #9aa5b2;
  --card: #121823;
  --border: rgba(230,233,239,.12);

  --rgb-bg:   14 18 23;
  --rgb-text: 230 233 239;
  --rgb-muted:154 165 178;
  --rgb-card: 18 24 35;

  --shadow-color: 0 0 0;
  --shadow-sm: 0 1px 6px rgba(var(--shadow-color) / .25);
  --shadow-md: 0 6px 18px rgba(var(--shadow-color) / .35);
  --shadow-lg: 0 10px 28px rgba(var(--shadow-color) / .45);
}

/* ===== Auto dark if no explicit data-theme set ===== */
@media (prefers-color-scheme: dark){
  :root:not([data-theme]){
    --bg: #0e1217;
    --text: #e6e9ef;
    --muted: #9aa5b2;
    --card: #121823;
    --border: rgba(230,233,239,.12);

    --rgb-bg:   14 18 23;
    --rgb-text: 230 233 239;
    --rgb-muted:154 165 178;
    --rgb-card: 18 24 35;

    --shadow-color: 0 0 0;
    --shadow-sm: 0 1px 6px rgba(var(--shadow-color) / .25);
    --shadow-md: 0 6px 18px rgba(var(--shadow-color) / .35);
    --shadow-lg: 0 10px 28px rgba(var(--shadow-color) / .45);
  }
}





/* ============================================================================
   Base (clean, a11y-friendly)
============================================================================ */

/* Consistent sizing model */
*,
*::before,
*::after{ box-sizing: border-box; }

/* Remove default margins */
html, body{ margin:0; padding:0; }

/* Smooth scroll but respect reduced motion */
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* Global typography + colors */
body{
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden; /* guard against accidental horizontal scroll */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body { height: 100%; }                 /* щоб min-height працював стабільно */
body{
  min-height: 100dvh;                        /* 100% висоти вікна */
  display: flex;
  flex-direction: column;
}

/* контент займає весь вільний простір між хедером і футером */
.site-main{
  flex: 1 0 auto;                            /* розтягується */
}

/* футер завжди внизу, але не fixed */
.footer{
  margin-top: auto;                           /* притискає футер до низу */
  flex: 0 0 auto;
}

/* Media defaults */
img, svg, video, canvas{ display:block; max-width:100%; }
img{ height:auto; }

/* Links: inherit color; clear underline by default, show on hover/focus */
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,196,210,.35);
  border-radius: 4px;
}

/* Form elements inherit font */
input, select, textarea, button{
  font: inherit;
  color: inherit;
}

/* Page container */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-gutter, 16px); /* fallback if token missing */
}

/* Section titles */
.sec-title{
  font-size: clamp(30px, 3.4vw, 36px);
  line-height: 1.2;
  margin: 0 0 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

.section h2:not(.visually-hidden){
  position: relative;
  padding-left: 16px;
  padding-top: clamp(18px, 2.2vw, 26px);
  padding-bottom: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid #dfe3ea;
  border-bottom: 1px solid #dfe3ea;
}

.section h2:not(.visually-hidden)::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--gold);
}

/* Visually hidden utility (for a11y, skip links, labels, etc.) */
.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;
}

/* Text selection */
::selection{
  background: rgba(217,182,95,.28); /* --gold with alpha */
  color: var(--text);
}



 /* Прибрати білий фон для контентних карток на сторінках */
 .page .card,
 .page .entry-content,
 .page .container article {
   background: transparent !important;
   box-shadow: none !important;
   border: none !important;
 }

/* Hero-style gray heading area for regular site pages */
.gambit-page-main{
  padding: 0 0 clamp(28px, 5vw, 56px);
}

.gambit-page-hero{
  margin-top: clamp(8px, 1.1vw, 14px);
  background: none;
  border: 0;
  padding: 0;
}

.gambit-page-hero__title{
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3.4vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}

.gambit-page-main .gambit-page-hero__title{
  position: relative;
  padding-top: clamp(18px, 2.2vw, 26px);
  padding-bottom: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid #dfe3ea;
  border-bottom: 1px solid #dfe3ea;
}

.gambit-page-content{
  padding-top: clamp(32px, 4.5vw, 52px);
}

.gambit-page-content.section{
  padding-top: clamp(32px, 4.5vw, 52px);
}

/* Archive tabs menu in shop-like style */
.gambit-archive-main .gambit-archive-menu{
  display:flex;
  align-items:stretch;
  flex-wrap:wrap;
  gap:0;
  width:100%;
  margin:0 0 20px;
  border:1px solid #434754;
  background:#2f3138;
}

.gambit-archive-main .gambit-archive-menu-wrap{
  background:#e7e8ed;
  border:1px solid #d9dce3;
  padding:10px;
  margin:0 0 20px;
}

.gambit-archive-main .gambit-archive-menu-wrap .gambit-archive-menu{
  margin:0;
}

.gambit-archive-main .gambit-archive-menu .btn{
  min-height:64px;
  padding:0 22px;
  border:0 !important;
  border-right:1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#f5f7fb !important;
  font-size:15px;
  line-height:1.12;
  font-weight:700;
  text-transform:none;
  box-shadow:none !important;
}

.gambit-archive-main .gambit-archive-menu .btn:last-child{
  border-right:0 !important;
}

.gambit-archive-main .gambit-archive-menu .btn:hover,
.gambit-archive-main .gambit-archive-menu .btn:focus-visible{
  text-decoration:none;
  background:rgba(255, 255, 255, 0.08) !important;
}

.gambit-archive-main .gambit-archive-menu .btn.active,
.gambit-archive-main .gambit-archive-menu .btn--gold{
  background:rgba(255, 255, 255, 0.14) !important;
  color:#ffffff !important;
}

@media (max-width: 980px){
  .gambit-archive-main .gambit-archive-menu-wrap{
    padding:6px;
    margin-bottom:16px;
  }

  .gambit-archive-main .gambit-archive-menu{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .gambit-archive-main .gambit-archive-menu .btn{
    min-height:54px;
    padding:0 14px;
    font-size:14px;
    white-space:nowrap;
    flex:0 0 auto;
  }
}

/* Camps archive tabs: keep classic button look (no dark strip). */
.post-type-archive-camp .tabs-row.camps-tabs{
  display:flex !important;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 16px;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.post-type-archive-camp .tabs-row.camps-tabs .btn{
  width:auto !important;
  flex:0 0 auto !important;
  min-height:42px;
  padding:0 22px;
  border-radius:999px !important;
  border:1px solid #d8dce4 !important;
  background:#eceff4 !important;
  color:#2b313d !important;
  font-size:16px;
  font-weight:700;
  line-height:1;
  box-shadow:0 1px 2px rgba(16, 24, 40, .06);
  transform:none !important;
}

.post-type-archive-camp .tabs-row.camps-tabs .btn.btn--gold,
.post-type-archive-camp .tabs-row.camps-tabs .btn.active{
  background:#d7b54e !important;
  border-color:#be9f46 !important;
  color:#1a1d22 !important;
  box-shadow:0 4px 10px rgba(181, 143, 35, .24);
}

.post-type-archive-camp .tabs-row.camps-tabs .btn:hover,
.post-type-archive-camp .tabs-row.camps-tabs .btn:focus-visible{
  text-decoration:none !important;
  transform:none !important;
}

/* Tournament archive tabs: same button style as camps. */
.post-type-archive-tournament .gambit-archive-menu-wrap{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:0 0 16px !important;
  box-shadow:none !important;
}

.post-type-archive-tournament .tabs.gambit-archive-menu{
  display:flex !important;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.post-type-archive-tournament .tabs.gambit-archive-menu .btn{
  width:auto !important;
  flex:0 0 auto !important;
  min-height:42px;
  padding:0 22px;
  border-radius:999px !important;
  border:1px solid #d8dce4 !important;
  border-right:1px solid #d8dce4 !important;
  background:#eceff4 !important;
  color:#2b313d !important;
  font-size:16px;
  font-weight:700;
  line-height:1;
  box-shadow:0 1px 2px rgba(16, 24, 40, .06);
  transform:none !important;
}

.post-type-archive-tournament .tabs.gambit-archive-menu .btn.btn--gold,
.post-type-archive-tournament .tabs.gambit-archive-menu .btn.active{
  background:#d7b54e !important;
  border-color:#be9f46 !important;
  color:#1a1d22 !important;
  box-shadow:0 4px 10px rgba(181, 143, 35, .24);
}

.post-type-archive-tournament .tabs.gambit-archive-menu .btn:hover,
.post-type-archive-tournament .tabs.gambit-archive-menu .btn:focus-visible{
  text-decoration:none !important;
  transform:none !important;
}

/* Front page: replace thin dividers with gray title bands. */
.home .divider{
  display:none;
}

.home .section{
  padding-block: 80px;
}

.home .site-main > section[id]{
  scroll-margin-top:calc(var(--adminbar, 0px) + 26px);
}

.home .section .sec-title{
  display:block;
  margin:0 0 24px;
}

.home .section .sec-title::before{
  content:none;
}
 




/* ============================================================================
    Buttons / Pills (clean)
============================================================================ */

/* Base button:
   - inline-flex so icon + label align nicely
   - pill shape via huge border-radius
   - smooth transitions for common properties */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* space between icon and text */
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: 999px;
  /* pill */
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  /* keep on a single line */
  user-select: none;
  cursor: pointer;
  border: 1px solid transparent;
  /* variant styles will override */
  text-decoration: none;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background-color .15s ease,
    border-color .15s ease,
    color .15s ease;
}

.btn i {
  font-size: 14px;
}

/* consistent icon size */

/* Hover / focus / active micro-interactions */
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  /* we draw a custom focus ring */
  box-shadow: 0 0 0 3px rgba(184, 196, 210, .35);
}

/* Disabled state: mute and block interaction */
.btn[disabled],
.btn.is-disabled {
  opacity: .55;
  pointer-events: none;
  transform: none;
}

/* ===== Variants ===== */

/* Outline button:
     - light surface + subtle border and shadow */
.btn--outline {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.btn--outline:hover {
  box-shadow: 0 6px 16px rgba(16, 24, 40, .10);
}

/* Primary / Gold theme (aliases share the same look) */
.btn--gold,
.btn--primary {
  background: var(--gold);
  color: #1a1d22;
  /* dark label on gold */
  border-color: var(--gold-2);
  box-shadow: 0 6px 16px rgba(212, 173, 77, .26);
}

.btn--gold:hover,
.btn--primary:hover {
  text-decoration: none;
  filter: saturate(1.05);
  /* subtle color pop on hover */
}

/* ===== Sizes & layout ===== */
.btn--lg {
  height: var(--btn-h-lg);
  padding: 0 22px;
}

.btn--block {
  width: 100%;
}

/* full-width button */

/* Hero link-style button:
     - transparent background with white outline for dark hero areas */
.btn--hero--schedule {
  color: #fff;
  background: transparent;
  border: 1px solid #fff !important;
  /* force white stroke */
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.btn--hero--schedule:hover {
  box-shadow: 0 6px 16px rgba(16, 24, 40, .10);
}

/* ===== Pills / Badges / Chips =====
     Small label elements for status/meta info */
.pill,
.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--pill-h);
  padding: 6px 12px;
  border-radius: 999px;
  /* pill */
  font-size: 12px;
  background: rgba(127, 140, 160, .10);
  border: 1px solid var(--border);
  color: inherit;
  /* follow surrounding text color */
  white-space: nowrap;
}

/* Color variants for pills/badges */
.pill--green,
.badge--green {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .28);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none !important;
    transform: none !important;
  }
}

/* hover effects only on hover-capable devices */
@media (hover:hover){
  .btn:hover{ transform: translateY(-1px); }
}

/* prevent hover jump on touch */
@media (hover:none){
  .btn:hover{ transform:none; }
}

/* unify focus/active/disabled */
.btn:active{ transform: translateY(0); }
.btn[disabled],
.btn.is-disabled,
.btn[aria-disabled="true"]{
  opacity:.55; pointer-events:none; transform:none;
}

/* small size (знадобиться для тісних місць) */
.btn--sm{ height: var(--btn-h-sm); padding: 0 14px; gap: 8px; }
.btn--sm i{ font-size: 13px; }

/* button groups */
.btn-group{ display:flex; gap:8px; flex-wrap:wrap; }
.btn-group .btn--block{ flex:1 1 auto; }

/* high-contrast users (більш помітна рамка) */
@media (prefers-contrast: more){
  .btn:focus-visible{ box-shadow: 0 0 0 3px rgba(184,196,210,.55); }
}

/* hero link button: стабільний контраст і на світлому герої */
.btn--hero--schedule{
  color:#fff;
  background: transparent;
  border:1px solid #fff !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
:root[data-theme="light"] .btn--hero--schedule{
  /* якщо хероїв кілька і є світлий — підстрахуємося */
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* pills: додаткові стани (за потреби) */
.pill--red,
.badge--red{ background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.28); }
.pill--blue,
.badge--blue{ background: rgba(37,99,235,.12); border-color: rgba(37,99,235,.22); }





/* ============================================================================
     GAMBIT × Contact Form 7 — form skin
 ------------------------------------------------------------===================
     Usage:
     - Add wrapper class to your CF7 form container or shortcode:
         [contact-form-7 ... html_class="gmbt-form"]
     - Styles target CF7’s default markup (.wpcf7-form, inputs, etc.)
     - Tweak spacing/colors via variables below.
 ============================================================================ */
 
 .gmbt-form {
  /* Layout spacing between form rows (grid gap) */
  --gap: 10px;

  /* Space between <label> and its field */
  --label-mb: 4px;

  /* Inner padding of fields */
  --field-py: 10px;
  /* vertical */
  --field-px: 12px;
  /* horizontal */

  /* Field visuals */
  --field-radius: 0px;
  --field-bg: #ffffff;
  --field-border: #E5E7EB;
  --field-text: #111827;
  --placeholder: #9CA3AF;

  /* Focus ring + border color */
  --focus: #d6b05d;
  /* your gold */
  --focus-ring-alpha: 0.25;
  /* ring transparency (0–1) */

  /* Validation colors */
  --error: #ef4444;
  --error-ring-alpha: 0.12;

  /* Response box colors */
  --resp-bg: #F3F4F6;
  --resp-text: #111827;
  --resp-radius: 10px;

  /* Success response override */
  --success-bg: #ECFDF5;
  --success-text: #065F46;

  /* Minimum textarea height */
  --textarea-min-h: 160px;

  /* FX */
  --shadow-subtle: 0 1px 0 rgba(16, 24, 40, .02);
}

/* Optional compact variant
     (add .is-compact to the same wrapper if needed) */
.gmbt-form.is-compact {
  --gap: 6px;
  --label-mb: 2px;
  --field-py: 8px;
  --textarea-min-h: 120px;
}

/* ========== Layout (grid) ========== */
.gmbt-form .wpcf7-form {
  display: grid;
  gap: var(--gap);
}

/* CF7 wraps fields in <p> tags — remove default margins to avoid big gaps */
.gmbt-form .wpcf7-form p {
  margin: 0;
}

/* ========== Labels ========== */
.gmbt-form .wpcf7-form label {
  display: block;
  font-weight: 700;
  color: var(--field-text);
  margin-bottom: var(--label-mb);
}

/* ========== Fields (inputs, selects, textarea) ========== */
.gmbt-form input[type="text"],
.gmbt-form input[type="email"],
.gmbt-form input[type="tel"],
.gmbt-form input[type="url"],
.gmbt-form select,
.gmbt-form textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  padding: var(--field-py) var(--field-px);
  font-size: 16px;
  line-height: 1.4;
  color: var(--field-text);
  outline: none;
  /* we'll draw our own focus ring */
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-subtle);
}

/* Placeholder color */
.gmbt-form ::placeholder {
  color: var(--placeholder);
}

/* Textarea baseline height + allow user to resize vertically */
.gmbt-form textarea {
  min-height: var(--textarea-min-h);
  resize: vertical;
}

/* Focus state: colored border + soft focus ring */
.gmbt-form input:focus,
.gmbt-form select:focus,
.gmbt-form textarea:focus {
  border-color: var(--focus);
  /* Use color-mix when available for smooth ring; fallback added below */
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--focus) calc(var(--focus-ring-alpha) * 100%), transparent),
    var(--shadow-subtle);
}

/* Fallback for browsers without color-mix() (optional) */
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {

  .gmbt-form input:focus,
  .gmbt-form select:focus,
  .gmbt-form textarea:focus {
    box-shadow:
      0 0 0 3px rgba(214, 176, 93, var(--focus-ring-alpha)),
      var(--shadow-subtle);
  }
}

/* ========== Validation (error) ========== */
.gmbt-form .wpcf7-not-valid {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, var(--error-ring-alpha)) !important;
}

/* Small helper text under an invalid field */
.gmbt-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b91c1c;
}

/* ========== Global response box (CF7 message) ========== */
.gmbt-form .wpcf7-response-output {
  margin: 8px 0 0;
  border: 0;
  background: var(--resp-bg);
  color: var(--resp-text);
  border-radius: var(--resp-radius);
  padding: 10px 12px;
}

/* Success state override for the response box */
.gmbt-form .wpcf7-mail-sent-ok.wpcf7-response-output {
  background: var(--success-bg);
  color: var(--success-text);
}

/* ========== Submit button ==========
     We rely on button classes from the site’s design system.
     The rule below only adds a subtle depth effect. */
.gmbt-form .wpcf7-submit.btn.btn--gold.btn--pill {
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(214, 176, 93, .45);
  /* If you need spacing above the button: */
  margin-top: 8px;
}

/* Spinner alignment (CF7 ajax loader) */
.gmbt-form .wpcf7 .ajax-loader {
  margin-left: 8px;
}





/* ============================================================================
     Popup universal form style
 -------------------------------------------------------------------------------
     Scope: Popup Maker (.pum)
     Targets: CF7 (.wpcf7), WPForms (.wpforms-form), Formidable (.frm_forms),
              Ninja Forms (.nf-form-content), and raw forms.
     Uses theme tokens from :root (gold, border, card, etc.)
 ============================================================================ */
 
 /* Popup shell */
 .pum .pum-container {
  max-width: 520px;
  /* unified width for all popups */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--card);
}

.pum .pum-content {
  padding: 26px 28px;
}

/* Title (if present) */
.pum .pum-title,
.pum .popmake-title {
  display: block;
  width: 100%;
  margin: 0 0 16px !important;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
}

/* Generic grid for any form plugin */
.pum form,
.pum .wpcf7 form,
.pum .wpforms-form,
.pum .frm_forms form,
.pum .nf-form-content {
  display: grid;
  gap: 10px;
}

/* Labels */
.pum form label {
  display: block;
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--text);
}

/* Inputs baseline */
.pum input[type="text"],
.pum input[type="email"],
.pum input[type="tel"],
.pum input[type="url"],
.pum input[type="search"],
.pum input[type="number"],
.pum input[type="password"],
.pum input[type="date"],
.pum input[type="time"],
.pum select,
.pum textarea {
  width: 100%;
  height: 44px;
  /* textarea overridden below */
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .06s ease;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
  margin-bottom: 5px;
}

/* Textarea */
.pum textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}

/* Placeholder */
.pum ::placeholder {
  color: var(--muted);
}

/* Focus state */
.pum input:focus,
.pum select:focus,
.pum textarea:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}

/* Readonly highlight */
.pum input[readonly],
.pum textarea[readonly] {
  background: #f7f8fb;
  font-weight: 600;
}

/* Select caret (pure CSS, no image) */
.pum select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* Checkboxes & radios */
.pum input[type="checkbox"],
.pum input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  transform: translateY(2px);
}

.pum .option,
.pum .wpforms-field-checkbox li,
.pum .wpforms-field-radio li,
.pum .nf-field-element li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* File input */
.pum input[type="file"] {
  border: 1px dashed var(--border);
  padding: 12px;
  height: auto;
  cursor: pointer;
}

/* Button (unified look; keeps your theme gold) */
.pum .btn,
.pum button[type="submit"],
.pum input[type="submit"],
.pum .wpcf7-submit,
.pum .wpforms-submit,
.pum .frm_button_submit,
.pum .nf-form-content .nf-element[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: 999px;
  border: 1px solid var(--gold-2);
  background: var(--gold);
  color: #1a1d22;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(212, 173, 77, .26);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  margin-top: 30px;
}

.pum input[type="submit"]:hover,
.pum button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

/* Inline loader alignment (CF7/WPForms/NF) */
.pum .ajax-loader,
.pum .wpforms-submit-spinner,
.pum .nf-form-loader {
  margin-left: 8px;
  vertical-align: middle;
}

/* Error states (per plugin) */
.pum .wpcf7-not-valid {
  /* CF7 invalid field */
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
}

.pum .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b91c1c;
}

.pum .wpcf7-response-output {
  margin: 8px 0 0;
  border: 0;
  background: #F3F4F6;
  color: #111827;
  padding: 10px 12px;
  border-radius: 10px;
}

.pum .wpcf7-mail-sent-ok.wpcf7-response-output {
  background: #ECFDF5;
  color: #065F46;
}

/* WPForms errors/success */
.pum .wpforms-error {
  border-color: #ef4444 !important;
}

.pum .wpforms-error-container,
.pum .wpforms-confirmation-container-full {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
}

.pum .wpforms-error-container {
  background: #FEF2F2;
  color: #991B1B;
}

.pum .wpforms-confirmation-container-full {
  background: #ECFDF5;
  color: #065F46;
}

/* Formidable messages */
.pum .frm_error_style {
  background: #FEF2F2;
  color: #991B1B;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
}

.pum .frm_message {
  background: #ECFDF5;
  color: #065F46;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Ninja Forms messages */
.pum .nf-error-msg {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 6px;
}

.pum .nf-response-msg {
  margin-top: 8px;
  border-radius: 10px;
  padding: 10px 12px;
}

.pum .nf-error {
  background: #FEF2F2;
  color: #991B1B;
}

.pum .nf-success {
  background: #ECFDF5;
  color: #065F46;
}

/* Compact spacing for <p> wrappers many plugins inject */
.pum .wpcf7 p,
.pum .wpforms-field,
.pum .frm_form_field,
.pum .nf-field {
  margin: 0;
}

/* Small screen tweaks */
@media (max-width:480px) {
  .pum .pum-content {
    padding: 20px;
  }

  .pum .pum-container {
    max-width: 92vw;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce) {
  .pum * {
    transition: none !important;
  }
}






/* ============================================================================
   Brand (clean, responsive)
============================================================================ */

/* tokens for brand */
:root{
  --brand-size: 60px;   /* badge size */
  --brand-gap: 10px;    /* space between badge and wordmark */
}

/* container: badge + wordmark on one line */
.brand{
  display: inline-flex;            /* so it can live inside <a> */
  align-items: center;
  gap: var(--brand-gap);
  font-weight: 900;                /* strong wordmark */
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;           /* safe if it's a link */
  line-height: 1;
  font-size: 1.3em;
}

/* allow using <a class="brand">…</a> or <div class="brand"><a>… */
.brand a{
  display: inline-flex;
  align-items: center;
  gap: var(--brand-gap);
  color: inherit;
  text-decoration: none;
}

/* square badge: supports glyph, <img>, or inline <svg> */
.logo-badge{
  width: var(--brand-size);
  height: var(--brand-size);
  display: grid;
  place-items: center;
  border-radius: var(--radius);     /* sharp if --radius:0 */
  color: #1c2330;                   /* glyph color if used */
  font-size: 18px;                  /* for letter/icon inside */
  line-height: 1;
  overflow: hidden;                 /* clips oversized images */
}

/* images inside badge */
.logo-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* SVG inherits currentColor and scales crisply */
.logo-badge svg{
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

/* wordmark text */
.brand__text{
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
}

/* subtle hover (desktop only) */
@media (hover:hover){
  .brand:hover{ 
    color: var(--text);
    text-decoration: none !important;
  }
  
}

/* compact variants */
.brand--compact{ --brand-size: 48px; }
.brand--badge-only .brand__text{ display: none; }

/* optional: shrink logo when header is “condensed” */
.site-nav.shrunk .brand{ --brand-size: 50px; }

/* mobile tweak */
@media (max-width:960px){
  .brand{ --brand-size: 52px; }
}





/* ============================================================================
   Header / Nav (final, no-gold, underline handled globally)
============================================================================ */

/* Bars */
.header-static,
.sticky-bar{
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.header-static{
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.sticky-bar{
  position: fixed;
  top: var(--adminbar, 0px);
  left: 0; right: 0;
  height: 68px;
  box-shadow: 0 6px 20px rgba(18,28,45,.06);
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 999;
}
.sticky-bar.visible{ transform: translateY(0); }

/* Bar content */
.navbar{
  height: 68px;
  display: flex;
  align-items: center;
  gap: 100px;

}
.primary-nav{ flex: 1; }

/* Burger (aria-expanded toggles icons) */
.hamburger{
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}
.hamburger .icon--open{ display:inline-block; }
.hamburger .icon--close{ display:none; }
.hamburger[aria-expanded="true"] .icon--open{ display:none; }
.hamburger[aria-expanded="true"] .icon--close{ display:inline-block; }

/* Menu base */
.nav-links,
.nav-links ul{ list-style:none; margin:0; padding:0; }
.nav-links{ display:flex; align-items:center; gap:1px; flex-wrap:nowrap;}
.nav-links > li{ position:relative; }
.nav-links a{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  white-space:nowrap;
  color: var(--text);
  text-decoration:none;             /* підкреслення тепер глобальне */
  transition: color .15s ease;
  
}

/* Re-enable global underline animation inside the menu (CTA excluded) */
.nav-links a{
  /* inherit global effect but make it robust */
  --link-ul-gap: -5px;            /* відступ від тексту */
  --link-ul-h: 2px;              /* товщина лінії */

  /* дублюємо ключові властивості, щоб нічого не перебилось іншими правилами */
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 50% calc(100% - var(--link-ul-gap));
  background-size: 0% var(--link-ul-h);
  background-origin: content-box;        /* щоб лінія була під самим текстом, а не під падінгами */
  transition: background-size .22s cubic-bezier(.2,.65,.3,1);
}

/* ховер/фокус — розкриваємо лінію з центру */
@media (hover:hover){
  .nav-links a:hover,
  .nav-links a:focus-visible{
    background-size: 100% var(--link-ul-h);
    outline: none;
  }
}

/* CTA — без підкреслення */
.nav-links > li.is-cta > a{
  background-image: none !important;
}

/* Submenu (desktop hover) */
.nav-links .sub-menu{
  position:absolute; top:100%; left:0;
  min-width:220px; padding:8px;
  background:var(--card);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  display:none; z-index:2200;
}
@media (hover:hover){
  .nav-links li:hover > .sub-menu{ display:block; }
}

/* Caret */
.menu-item-has-children > a::after{
  content:"\f078"; /* FA chevron-down */
  font-family:"Font Awesome 6 Free"; font-weight:900;
  font-size:12px; opacity:.7; margin-left:6px;
  transition: transform .2s ease;
}
.menu-item-has-children.open > a::after{ transform: rotate(180deg); }

/* CTA (neutral, no gold) */
.nav-links > li.is-cta{ margin-left:auto; }
.nav-links > li.is-cta > a{
  display:inline-flex; align-items:center; gap:8px;
  height:42px; padding:0 18px;
  border-radius:999px; font-weight:700;
  background: var(--text); color:#fff; border:1px solid var(--text);
  box-shadow: 0 4px 12px rgba(20,35,60,.18);
  transition: transform .15s ease, filter .15s ease;
}
/* не підкреслюємо CTA глобальним правилом */
.nav-links > li.is-cta > a{ background-image:none !important; }
.nav-links > li.is-cta > a:hover{ transform: translateY(-1px); }

/* ================== Mobile ================== */
@media (max-width:960px){
  .navbar{ justify-content: space-between; gap:16px; }
  .hamburger{ display:block; margin-left:auto; }

  /* офканвас-панель */
  .nav-links{
    position: fixed;
    top: calc(var(--adminbar,0px) + 68px);
    left: 0; right: 0; z-index: 2050;
    background: var(--card);
    flex-direction: column; gap:10px;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-8px) scale(.98);
    opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.open{ transform:none; opacity:1; pointer-events:auto; }

  /* центрування пунктів */
  .nav-links a{ width:100%; justify-content:center; text-align:center; }

  /* акордеон підменю */
  .nav-links .sub-menu{
    position: static; border:0; box-shadow:none; padding:0;
    max-height:0; overflow:hidden; display:block;
    transition: max-height .25s ease;
  }
  .nav-links .menu-item-has-children > a{
    position: relative; padding-right:28px;
  }
  .nav-links .menu-item-has-children > a::after{
    position:absolute; right:10px; top:50%;
    transform:translateY(-50%); margin:0;
  }
  .nav-links .menu-item-has-children.open > a::after{
    transform: translateY(-50%) rotate(180deg);
  }
  .nav-links .menu-item-has-children.open > .sub-menu{
    max-height:400px; margin:6px 0 2px; padding:6px 0;
    background: rgba(16,24,40,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  /* CTA full width */
  .nav-links > li.is-cta{ margin-left:0; align-self:stretch; }
  .nav-links > li.is-cta > a{ justify-content:center; width:100%; }
}

/* Touch: don’t rely on hover color */
@media (hover:none){
  .nav-links a:hover{ color: var(--text); }
}

/* Motion reduce */
@media (prefers-reduced-motion:reduce){
  .nav-links{ transition: none !important; }
}

/* Block body scroll when menu open (optional) */
body.menu-open{ overflow: hidden; }

/* не підкреслювати "кнопкові" пункти меню, коли класи на <li> */
.nav-links li[class*="btn"] > a,
.menu-item.no-underline > a,
.menu-item.is-cta > a { 
  background-image: none !important;
}
@media (hover:hover){
  .nav-links li[class*="btn"] > a:hover,
  .menu-item.no-underline > a:hover,
  .menu-item.is-cta > a:hover{
    background-size: 0 0 !important; /* на всяк випадок */
  }
}





/* ============================================================================
    Hero (clean & deduped)
============================================================================ */

.hero{
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding-bottom: 120px;
  z-index: 0;

  /* reuse instead of repeating background-image */
  --hero-grad: linear-gradient(180deg,
                rgba(10,14,19,.55) 0%,
                rgba(10,14,19,.60) 55%,
                rgba(10,14,19,.85) 100%);
  --hero-img: url("../img/hero-1920.jpg"); /* default */
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-grad), var(--hero-img);
  background-size: 100% 100%, cover;
  background-position: center, 50% 96%;
  background-repeat: no-repeat, no-repeat;
  filter: contrast(1.02) saturate(1.02);
  z-index: -1;
  pointer-events: none;
}

/* swap only the image variable per breakpoint */
@media (max-width:768px){
  .hero{ --hero-img: url("../img/hero-768.jpg"); }
}
@media (min-width:769px) and (max-width:1280px){
  .hero{ --hero-img: url("../img/hero-1280.jpg"); }
}
/* 1281–1920 uses default 1920 */
@media (min-width:1921px){
  .hero{ --hero-img: url("../img/hero-2560.jpg"); }
}

/* content container */
.hero .inner{
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* titles */
.h1{
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1.1;
  margin: 6px 0 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #e8ebef;
}
.h1 .accent{
  display: block;
  color: var(--gold);
  font-size: clamp(60px, 8vw, 84px);
  line-height: .95;
  font-weight: 900;
}

/* accent brush */
.brush{
  width: 240px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  margin: 14px 0 22px;
  filter: saturate(110%);
}

/* lead paragraph + CTA */
.lead{ color: #e8ebef; max-width: 680px; }
.cta{
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}





/* ============================================================================
    Sections / Divider (clean)
============================================================================ */

.section{
  padding: 80px 0;
}

.divider{
  height: 1px;
  background: linear-gradient(10deg, transparent, var(--border), transparent);
  margin-block: clamp(0px, 1vw, 12px);
  opacity: .9;
}





/* ============================================================================
    Features / Cards 
============================================================================ */

.features{
  position: relative;
  z-index: 1;
  /* було: -70px на десктопі і -48px на мобілці → роблю clamp */
  margin-top: clamp(-70px, -6vw, -48px);
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card{ overflow: hidden; }

/* Grid: без медіа-запитів, сам переходить 3→2→1 колонки */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.feature{
  padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 28px);
  text-align: center;
}

.feature p{
  color: var(--muted);
  margin: 0;
}



/* ===== Features ===== */
.features .feature-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  justify-items: center;   /* центрує блок .feature у колонці */
  align-items: start;
}

.features .feature{
  display: flex;
  flex-direction: column;
  align-items: center;     /* центрує всередині блок .feature */
  text-align: center;
  gap: 10px;
}

.features .feature img{
  display: block;
  margin: 0 auto;          /* дублююче центрування на випадок зміни лейаута */
  width: clamp(72px, 9vw, 110px);
  height: auto;
}

/* Адаптив: менше колонок на вузьких екранах */
@media (max-width: 960px){
  .features .feature-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .features .feature-grid{
    grid-template-columns: 1fr;
  }
}





/* ============================================================================
   Section: Why (clean)
============================================================================ */

.why-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr; /* легкий пріоритет тексту */
  gap: 48px;
  align-items: center;
}

.why-title{
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
}

/* список переваг */
.why-list{
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.why-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block: 12px;                 /* короткий запис top/bottom */
  font-size: 18px;
}
.why-list i{
  color: var(--gold);
  margin-top: 4px;
  flex: 0 0 auto;                     /* іконка не стискається */
}

/* медіаблок з легкою сіточкою */
.why-media{
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(28,35,48,.10) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

/* відео-картка */
.media-wrap{
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;                   /* чорний бек, щоб не мигтів */
  box-shadow: var(--shadow);
}
.media-wrap iframe{
  display: block;
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* responsive */
@media (max-width: 960px){
  .why-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}





/* ============================================================================
   Section: Coaches (clean)
============================================================================ */

.coaches .sec-title{
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
  font-size: clamp(30px, 3.4vw, 36px);
}

@media (max-width: 960px){
  .section{
    padding: 56px 0;
  }

  .home .section{
    padding-block: 56px;
  }
}

/* Grid */
.coach-grid{
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: stretch;
}
@media (max-width:1100px){
  .coach-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:720px){
  .coach-grid{ grid-template-columns: 1fr; }
}

/* Card */
.coach-card{
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;                    /* щоб медіа не вилізали за радіус */
}

/* Media */
.coach-card .coach-media{
  aspect-ratio: 3 / 4;                 /* портретне співвідношення для фото тренерів */
  overflow: hidden;
}
.coach-card .coach-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;                    /* масштабує без спотворення */
}

/* Body */
.coach-body{
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;                              /* тягне картку до однакової висоти */
}

/* Head */
.coach-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.coach-head h3{
  margin: 0;
  font-size: clamp(18px, 2vw, 20px);
}

/* Subtitle */
.subtitle{
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Tags */
.tags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}

.coach-card .tags{
  margin-top:auto;
  margin-bottom:10px;
}

/* Actions */
.coach-actions{
  margin-top: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================================
   Single Coach (scoped) — все працює тільки під .coach-single-page
============================================================================ */
.coach-single-page .coach-article{
  padding: 0;
  /* прибрав обмеження ширини тексту, щоб не «різало» параграфи */

}

.coach-single-page .coach-grid{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;

}

.coach-single-page .coach-media{ position: relative; }

.coach-single-page .coach-photo{
  position: sticky; 
  top: calc(var(--adminbar, 0px) + 90px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);

  padding-left: 8px;

  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.coach-single-page .coach-photo::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #f3d07a, #d4ad4d);
}
.coach-single-page .coach-photo img{
  display:block; width:100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.coach-single-page .coach-body{ padding: 8px 0; }

.coach-single-page .coach-head{
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  margin-bottom: 8px;
}
.coach-single-page .coach-title{ margin:0 0 6px; font-size: 32px; font-weight: 800; }

.coach-single-page .coach-badges{
  list-style:none; margin: 6px 0 0; padding: 0;
  display:flex; gap:8px; flex-wrap:wrap;
}

.coach-single-page .coach-actions{
  margin-top: 18px;
  display:flex; gap:10px; flex-wrap:wrap;
}

/* Декоративна вертикальна смужка зліва (як у таборах) */
.coach-single-page .coach-article{ position:relative; }
.coach-single-page .coach-article::before{ display:none; }

/* Адаптив */
@media (max-width: 960px){
  .coach-single-page .coach-grid{ grid-template-columns: 1fr; }
  .coach-single-page .coach-photo{ position: relative; top: 0; }
}

/* прозорий фон для сторінки одного тренера */
.coach-single-page .coach-article,
.coach-single-page .coach-article.card,
.coach-single-page .coach-article[class*="card"]{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}







/* ============================================================================
   Section: Schedule (clean)
============================================================================ */

/* Filters */
.gmbt-filters{
  background: transparent;
  padding: 16px 0;
  margin: 0 0 18px;
}
.gmbt-filters .gf-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)) auto auto; /* 3 селекти + 2 кнопки */
  gap: 14px;
  align-items: end;
}
.gmbt-filters label{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}
.gmbt-filters label::before{ content: attr(data-label); display: none; }

/* Selects */
.gmbt-filters select{
  appearance: none;
  width: 100%;
  padding: 10px 36px 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background:
    var(--card)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%236d7886"><path d="M4 6l4 4 4-4"/></svg>')
    no-repeat right 10px center/16px; /* chevron */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gmbt-filters select:focus{
  border-color: #b8c4d2;
  box-shadow: 0 0 0 3px rgba(184,196,210,.25);
}

/* Buttons (base for filter buttons + apply) */
:is(.gmbt-filters .gf-btn, .gmbt-filters .gf-reset, .btn-apply){
  height: var(--btn-h);
  padding: 0 var(--btn-px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  background-image: none;            /* вимикаємо глобальне підкреслення */
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
:is(.gmbt-filters .gf-btn, .gmbt-filters .gf-reset, .btn-apply):hover{
  transform: translateY(-1px);
}
:is(.gmbt-filters .gf-btn, .gmbt-filters .gf-reset, .btn-apply):focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(184,196,210,.35);
}

/* Primary & secondary in filters */
.gmbt-filters .gf-btn{
  background: #1c2330; color:#fff; border-color:#141b26;
  box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.gmbt-filters .gf-btn:hover{ box-shadow: 0 6px 16px rgba(16,24,40,.12); }

.gmbt-filters .gf-reset{
  background: var(--card); color: var(--text); border-color: var(--border);
}
.gmbt-filters .gf-reset:hover{ box-shadow: 0 6px 16px rgba(16,24,40,.10); }

/* Cards grid */
.gmbt-grid-cards{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width:1100px){ .gmbt-grid-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:720px){  .gmbt-grid-cards{ grid-template-columns: 1fr; } }

/* Card */
.class-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

/* Card head + title */
.cc-head{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.class-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
}

/* Pills */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--pill-h);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(127,140,160,.10);
  color: inherit;
  white-space: nowrap;
}
.pill-online{ background: rgba(16,185,129,.14); border-color: rgba(16,185,129,.28); }
/* залишаю обидва написання для сумісності */
.pill-offline, .pill-ofлайн{ background:#edf2f7; border-color:#e5e7eb; }

/* Tags */
.cc-tags{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2px 0 8px;
}
.tag{
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* Time badge */
.cc-time{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  color: var(--text);
}
.cc-time .dashicons{ width:16px; height:16px; font-size:16px; }

/* Meta list */
.cc-meta{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}
.cc-meta li{ display:flex; align-items:center; gap:8px; }
.cc-meta .dashicons{ width:16px; height:16px; font-size:16px; opacity:.8; }
.cc-location-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.cc-location-link:hover,
.cc-location-link:focus-visible{
  color: var(--text);
  filter: brightness(0.95);
}

/* Actions */
.cc-actions{ margin-top: auto; }
.btn-apply{
  background: var(--gold);
  color: #1a1d22;
  border: 1px solid var(--gold-2);
  box-shadow: 0 6px 16px rgba(212,173,77,.26);
}
.btn-apply:hover{ filter: saturate(1.05); }

/* Responsive filters */
@media (max-width:960px){
  .gmbt-filters .gf-row{ grid-template-columns: 1fr 1fr; }
  /* опційно: зробити кнопки повної ширини
     .gmbt-filters .gf-btn, .gmbt-filters .gf-reset{ width:100%; } */
}

/* Minor cleanup */
.gmbt-grid-cards .dashicons{ line-height: 1; }





/* ============================================================================
   Section: Tournaments (clean)
============================================================================ */

/* Grid */
.tour-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width:1100px){ .tour-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:720px){  .tour-grid{ grid-template-columns: 1fr; } }

/* Card */
.tour-card{
  display: grid;
  grid-template-columns: 96px 1fr;   /* дата-бейдж + контент */
  gap: 18px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Badge (date) */
.date-badge{
  inline-size: 96px;
  block-size: 100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1a1d22;
  border: 1px solid var(--gold-2);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
}
.db-day{
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .5px;
}
.db-month{
  text-transform: uppercase;
  font-weight: 700;
  opacity: .95;
}

/* Body */
.t-body{
  display: flex;
  flex-direction: column;
  min-width: 0; /* дозволяє еліпсисам працювати */
}

/* Head */
.t-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.t-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
}

/* Meta */
.t-meta{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.t-meta i{
  width: 16px;
  height: 16px;
  font-size: 16px;
  opacity: .8;
  margin-right: 6px;
}

/* Actions */
.t-actions{
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  /* якщо використовуєш .btn – глобальне правило вже вимикає підкреслення для кнопок */
}

/* Mobile tweaks: вузькі екрани — бейдж притискаємо по висоті контенту */
@media (max-width:480px){
  .date-badge{ align-self: start; block-size: auto; padding: 10px 0; }
}





/* ============================================================================
   Section: Camps (clean)
============================================================================ */

/* Layout: список + сайдбар */
.camps-grid{
  display: grid;
  grid-template-columns: 2fr 1.05fr;
  gap: 24px;
  align-items: start;
}
@media (max-width:960px){
  .camps-grid{ grid-template-columns: 1fr; }
}

/* Картка табору з акцентною смужкою */
.camp-card{
  position: relative;
  padding: 16px 16px 14px 28px;          /* місце під смужку */
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.camp-card::before{
  content:"";
  position:absolute;
  left: 12px; top:12px; bottom:12px;
  width: 8px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
}

/* Хедер картки */
.camp-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.camp-title{
  margin:0;
  font-size:18px;
  line-height:1.35;
  font-weight:800;
  color: var(--text);
}

/* Мета-рядок */
.camp-meta{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  color: var(--muted);
  font-size:14px;
  margin-top:6px;
}

/* Дії */
.camp-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Нотатка */
.camp-note{
  margin:0 0 8px;
  color: var(--muted);
}

/* Інпути (правий сайдбар / форма) */
.inp input{
  width:100%;
  height: var(--btn-h);
  padding:10px 12px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  outline:0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.inp input:focus{
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212,173,77,.25);
}

/* Утиліта */
.muted{ color: var(--muted); }







/* ============================================================================
   Section: Projects (clean)
============================================================================ */

/* Grid */
.projects-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Card */
.project-card{
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas:
    "pict content"
    "actions actions";
  align-items: start;
  gap: 0; /* контент має власні відступи */
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Icon badge */
.project-card .pict{
  grid-area: pict;
  inline-size: 56px;
  block-size: 56px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border: 1px solid var(--gold-2);
  color: #1a1d22; /* контрастна іконка */
}
.project-card .pict i{ font-size: 22px; line-height: 1; }

/* Body */
.project-card .content{
  grid-area: content;
  padding-left: 14px;
  display: grid;
  gap: 6px;
  min-width: 0; /* дозволяє еліпсисам працювати */
}
.project-card .content h3{
  margin: 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
}
.project-card .content p{
  margin: 0;
  color: var(--muted);
}

/* Actions */
.project-card .actions{
  grid-area: actions;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
/* кнопки – без глобального підкреслення, адекватна ширина */
.project-card .actions .btn{
  width: min(100%, 260px);
  background-image: none !important;
}





/* ============================================================================
   Section: Contacts (clean)
============================================================================ */

/* Layout */
.contacts-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1.05fr 1fr; /* форма + мапа/екстра */
  align-items: start;
}
@media (max-width:960px){
  .contacts-grid{ grid-template-columns: 1fr; }
}

/* Card */
.contact-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Inputs */
.contact-card .inp input,
.contact-card .inp textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: inherit;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.contact-card .inp input{ height: var(--btn-h); }
.contact-card .inp textarea{ min-height: 120px; }

.contact-card .inp input:focus,
.contact-card .inp textarea:focus{
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212,173,77,.25);
}

/* Note */
.camp-note,
.contact-card .note{ margin: 0 0 8px; color: var(--muted); }

/* Social */
.social{
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.social a{
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: inherit;
  background-image: none !important; /* вимикаємо глобальне підкреслення */
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.social a:hover{
  background: var(--gold);
  border-color: var(--gold-2);
  color: #1a1d22;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16,24,40,.10);
}

/* Map (responsive wrapper) */
.map-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-embed iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}
@media (max-width:640px){
  .map-embed{ aspect-ratio: 4 / 3; }
}

/* (якщо десь уже стоїть старий клас .map-box — зробимо його синонімом) */
.map-box{ border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-box iframe{ display:block; width:100%; height:360px; border:0; }

.map-modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17,24,39,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: var(--z-modal, 3000);
}
.map-modal.is-open{
  opacity: 1;
  pointer-events: auto;
}
.map-modal__dialog{
  position: relative;
  width: min(920px, 95vw);
  max-height: 90vh;
  background: #fff;
  color: var(--text);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
}
.map-modal__header{
  padding: 14px 18px 6px;
  border-bottom: 1px solid var(--border);
}
.map-modal__label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.map-modal__title{
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 18px;
}
.map-modal__frame{
  flex: 1;
  min-height: 360px;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}
.map-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f9fafb;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #111827;
  transition: transform .12s ease, box-shadow .12s ease;
}
.map-modal__close:hover,
.map-modal__close:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}
.map-modal__backdrop{
  position: absolute;
  inset: 0;
}
.has-modal-open{
  overflow: hidden;
}






/* ============================================================================
   Section: CTA banner (clean)
============================================================================ */

.trial-banner{
  padding-block: clamp(20px, 3vw, 28px);
}

/* Бар з текстом і кнопкою */
.trial-banner__inner{
  --cta-bg: #161b22;                         /* можна перевизначити темою */
  background: var(--cta-bg);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(20px, 3.2vw, 32px);
  box-shadow: 0 28px 60px rgba(16,24,40,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Текст */
.trial-banner__text h3{
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
}
.trial-banner__text p{
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.82);
}

/* Кнопка (використовує глобальний .btn) */
.trial-banner__btn{
  background-image: none !important;          /* вимикаємо глобальне підкреслення */
  box-shadow: 0 8px 22px rgba(212,173,77,.45);/* золоте свічення */
}

/* Якщо треба саме «золота» кнопка тут — підсилюємо токенами */
.btn.btn--gold{
  background: var(--gold);
  color: #1a1d22;
  border: 1px solid var(--gold-2);
}

/* Пілл-форма (якщо не задано глобально) */
.btn.btn--pill{
  border-radius: 9999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Респонсив: стек і фул-від кнопки */
@media (max-width:720px){
  .trial-banner__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .trial-banner__btn{
    width: 100%;
    justify-content: center;
  }
}

/* Поважаємо reduce motion */
@media (prefers-reduced-motion:reduce){
  .trial-banner__inner,
  .trial-banner__btn{ transition: none !important; }
}





/* ============================================================================
   Footer (clean)
============================================================================ */

.footer{
  padding: 36px 0 22px;
  background: var(--card);
  color: var(--text);
  border-top: 1px solid var(--border);
}

/* Grid: ширша бренд-колонка + 3 звичайні */
.foot-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr repeat(3, minmax(0,1fr));
}
@media (max-width:1100px){
  .foot-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:680px){
  .foot-grid{ grid-template-columns: 1fr; }
}

/* Brand */
.foot-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
}

/* Titles */
.foot-title{
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.2;
}
.foot-title .gold{ color: var(--gold); }

/* Links list */
.foot-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot-links a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  transition: color .18s ease, transform .18s ease;
  /* глобальне підкреслення працює; нічого не ламаємо */
}
.foot-links a i{
  font-size: 12px;
  opacity: .55;
  line-height: 1;
}
@media (hover:hover){
  .foot-links a:hover{
    color: var(--gold);
    transform: translateX(2px);
  }
}

/* Contacts */
.foot-contact .label{
  margin: .6em 0 .25em;
  font-weight: 700;
}
.contact-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  transition: color .18s ease, transform .18s ease;
}
@media (hover:hover){
  .contact-link:hover{ color: var(--gold); transform: translateX(2px); }
}

/* Address */
.addr{
  margin: .25em 0 0;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Divider */
.foot-sep{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 22px 0 14px;
}

/* Bottom bar */
.foot-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.copy{ color: var(--muted); }
@media (max-width:680px){
  .foot-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


.foot-links a {
  position: relative;
  padding-left: 18px;
}
.foot-links a::before{
  content:"\f105"; /* FA angle-right */
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  left:0; top:50%; transform:translateY(-50%);
  font-size:12px; opacity:.55;
}










/* Reveal baseline (решта стилів з теми не чіпаємо) */
.reveal { opacity: 0; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1 !important; }
}

body.gambit-disable-reveal-slides .reveal{
  opacity: 1 !important;
  transform: none !important;
  will-change: auto;
}

body.gambit-disable-reveal-slides .wpb_animate_when_almost_visible,
body.gambit-disable-reveal-slides .wpb_start_animation,
body.gambit-disable-reveal-slides .animated{
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}







/* FooGallery index */
.fg-card .fg-actions{
  display: flex;
  justify-content: center;  /* по центру горизонтально */
  margin-top: 12px;
  gap: 8px;                 /* якщо колись буде 2 кнопки */
}
.fg-card .fg-actions .btn{
  display: inline-flex;     /* красиво вирівнює іконку+текст */
  align-items: center;
}

.fg-backwrap{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;  /* ← центр */
  margin: 12px 0 24px !important;
}

.fg-backwrap .fg-back{
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  text-decoration: none !important;
}










.map-wrap{ position: relative; }
.map-wrap iframe{
  width: 100%;
  height: 480px;        /* adjust if needed */
  border: 0;
  pointer-events: none; /* block scroll/zoom by default */
}

/* Overlay */
.map-guard{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent; /* keep map visible */
}
.map-guard-label{
  padding: .5rem .75rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 999px;
  font-size: .9rem;
}

/* Active state: enable map interaction, hide overlay */
.map-wrap.is-active iframe{ pointer-events: auto; }
.map-wrap.is-active .map-guard{ display: none; }






.social-row .wpb_wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-row .wpb_single_image {
  margin: 0 !important;
  width: auto !important;
}




.social-row img {
  transition: transform 0.2s ease;
}

.social-row img:hover {
  transform: scale(1.1);
}
