/* ==========================================================================
   YOGA & ART — shared front-end styles
   Mirrors design/source/Yogart Web.dc.html (mobile) + Yogart Web Desktop.dc.html
   Mobile-first; desktop overrides at (min-width: 900px)
   ========================================================================== */

:root{
  --yg-bg: #F5EDDD;
  --yg-cream-1: #EFE3CC;
  --yg-cream-2: #F2E7D2;
  --yg-cream-3: #EADFC9;
  --yg-card: #FBF6EC;
  --yg-box-1: #EFE7D6;
  --yg-box-2: #F1E9D8;
  --yg-ink: #33271F;
  --yg-text: #6A5647;
  --yg-text-dark: #57453A;
  --yg-text-darker: #4A3B30;
  --yg-muted: #9A8064;
  --yg-accent: #855C67;
  --yg-accent-dark: #6E4A54;
  --yg-sage: #7E8763;
  --yg-cta: #5F6A47;
  --yg-terracotta: #BE7E54;
  --yg-botanic: #8E9B6C;
  --yg-border: rgba(51,39,31,.10);
  --yg-footer-bg: #33271F;
  --yg-footer-text: #D8C9B3;
  --yg-footer-muted: #8C7C67;
  --yg-font-serif: 'Newsreader', Georgia, serif;
  --yg-font-sans: 'Mulish', -apple-system, sans-serif;
}

/* <body> itself was left at the browser default white (#fff) -- only
   .yg-page (below) got the cream background, applied per-wrapper/section.
   That's invisible on most pages because .yg-page's own box fully covers
   the viewport, but Elementor's native "boxed" Listing Grid containers
   (content_width:'boxed', see yg-builder.php) can leave the raw <body>
   showing through in the gaps around/below the grid -- confirmed via
   getComputedStyle(document.body).backgroundColor === "rgb(255,255,255)"
   on Tvorenie/Ostatné akcie/Všetky kurzy. Fixed at the <body> level so it
   can't recur on any future page regardless of container nesting.
   !important added 2026-07-06 (Maroš re-check found the first attempt
   still wasn't live): confirmed via document.styleSheets iteration +
   getComputedStyle that this rule WAS loading correctly (fresh, not
   cached) but was still losing -- Hello Elementor's own
   wp-content/themes/hello-elementor/assets/css/reset.css has its OWN
   plain "body{background-color:#fff;color:#333;font-family:...}" rule,
   loading AFTER this plugin's main.css in the page's <head> (confirmed by
   stylesheet index: main.css at index 13, reset.css at index 14). Both
   selectors are the bare "body" tag -- identical (0,1,0) specificity, pure
   source-order tie -- and the theme's stylesheet physically comes later,
   so it always won regardless of how many times this file was edited.
   !important is the correct fix here (not an enqueue-dependency reorder)
   since reset.css also sets color/font-family/line-height on body that we
   don't want to fight wholesale, just this one property. */
body{ background: var(--yg-bg) !important; }

/* Reset scoped to our pages (Elementor Canvas template) */
.yg-page, .yg-page *{ box-sizing: border-box; }
.yg-page{
  background: var(--yg-bg);
  color: var(--yg-text);
  font-family: var(--yg-font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.yg-page ::selection{ background: var(--yg-accent); color: #fff; }
.yg-page img{ max-width: 100%; display: block; }
.yg-page a{ text-decoration: none; }
/* Neutralize Hello Elementor's reset.css default button style
   ([type=button],[type=submit],button{border:1px solid #c36; display:inline-block; ...})
   so our own component classes (.yg-burger, .yg-faq-q, .yg-mobile-close, etc.)
   are the only thing controlling appearance. */
.yg-page :where(button){
  font-family: inherit; background: none; border: none; border-radius: 0;
  color: inherit; padding: 0; text-align: inherit; display: inline-flex;
  transition: none; -webkit-user-select: auto; user-select: auto;
  white-space: normal; font-size: inherit; font-weight: inherit;
}

.yg-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 900px){
  .yg-container{ padding: 0 40px; }
}

/* ---------------- Header ---------------- */
/* Undo the ".yg-page{overflow-x:hidden}" horizontal-scroll guard specifically
   for the header (2026-07-06, "Kurzy" dropdown bug): per the CSS overflow
   spec, setting overflow-x to a non-visible value while overflow-y is left
   at its default "visible" forces the BROWSER to compute overflow-y as
   "auto" instead (can't have one axis visible and the other not) — so
   ".yg-page{overflow-x:hidden}" was silently also clipping vertical
   overflow. Harmless for normal page content (nothing intentionally
   overflows a page section vertically), but it clipped the "Kurzy"
   dropdown panel, which is deliberately positioned outside the header's own
   box. Found via elementsFromPoint() returning content BEHIND the dropdown
   at its own reported coordinates, then walking ancestors' computed
   "overflow" until finding "hidden auto" on ".yg-header.yg-page" AND the
   separate wrapping "<div class=yg-page>" yg_html_container() adds around
   it (both carry the class, both were clipping). ":has()" targets the
   wrapper div (whose direct child is the header) without touching the
   guard for any other ".yg-page" section on the site. */
.yg-header.yg-page,
.yg-page:has(> .yg-header){ overflow: visible; }

/* NOTE: intentionally NOT sticky (2026-07-06 change) — header scrolls away
   with the page content on all 7 pages. Domov additionally makes the
   background transparent (no cream/blur) via body.page-domov below; the
   other 6 pages keep the cream+blur background defined here.
   "position: relative" (2026-07-06, "Kurzy" dropdown bug, 2nd root cause
   after the overflow fix above): "backdrop-filter" establishes a NEW
   stacking context on .yg-header — so the "Kurzy" dropdown (z-index:70,
   absolutely positioned, overflowing below the header's own box) was
   trapped INSIDE that context. z-index:60 on the header itself was
   supposed to lift the whole header (and everything painted within its
   stacking context) above later page content, but z-index has NO EFFECT
   on a "position:static" element (the default) — confirmed via
   getComputedStyle (position:"static", backdropFilter:"blur(12px)") and
   elementsFromPoint() returning page content instead of the open dropdown
   at its own reported coordinates, then a real coordinate-click on a
   dropdown link failing to navigate. Adding "position:relative" activates
   the already-declared z-index:60, so the header's whole stacking context
   (dropdown included) now correctly paints above later in-flow page
   content. Domov's absolute-positioning override (below) is unaffected —
   position:absolute is equally "positioned" for this purpose. */
/* 2026-07-19: was ".yg-header", retargeted to Elementor's own generated
   ".elementor-location-header" wrapper class -- Maroš cleared the "yg-header"
   custom CSS class off the header's root Flexbox element while doing the
   native-settings nav-menu styling pass, which silently broke this whole
   block (base translucent bar + Domov transparent-overlay). Confirmed via
   Elementor's own Custom-CSS-per-element panel that writing this back as
   scoped custom CSS on that element doesn't persist either -- Publish
   reports success but the DB's "custom_css" stays null (same silent-drop
   family as other Atomic/e-flexbox settings failures this session) -- so
   this stays here in main.css. ".elementor-location-header" is Elementor's
   own wrapper, present on every page and never regenerates (unlike the
   atomic local class/element ID, which die if the element is recreated). */
.elementor-location-header{
  position: relative;
  z-index: 60;
  background: rgba(245,237,221,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51,39,31,.08);
}
/* Domov only: transparent overlay header so the hero photo shows through
   from y=0 (no cream/blur strip above it). Absolute positioning removes the
   header from flow so the hero section (100dvh, see below) starts at the
   very top instead of being pushed down by the header's own height. */
body.yg-page-domov .elementor-location-header{
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none;
}
.yg-header-inner{
  max-width: 1180px; margin: 0 auto;
  padding: 15px 20px;
  /* Mobile: logo left, burger far right (no desktop nav to fill the middle). */
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 900px){
  .yg-header-inner{
    padding: 15px 40px;
    /* Desktop: nav moved closer to the logo instead of hugging the right
       edge (was justify-content:space-between, pushed nav all the way
       right). flex-start + explicit margin-left on .yg-nav-desktop below
       gives a deliberate gap rather than nav glued to the logo. */
    justify-content: flex-start;
  }
}
.yg-logo{ display: flex; align-items: center; gap: 11px; background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
.yg-logo-mark{ font-family: var(--yg-font-serif); font-size: 22px; letter-spacing: 1px; color: var(--yg-accent); white-space: nowrap; }
@media (min-width: 900px){ .yg-logo-mark{ font-size: 24px; } }
.yg-logo-text{ display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.yg-logo-word{ font-family: var(--yg-font-sans); font-weight: 800; font-size: 13px; letter-spacing: .22em; color: var(--yg-ink); }
@media (min-width: 900px){ .yg-logo-word{ font-size: 14px; } }
.yg-logo-sub{ font-family: var(--yg-font-serif); font-style: italic; font-size: 12px; color: var(--yg-muted); margin-top: 3px; }
@media (min-width: 900px){ .yg-logo-sub{ font-size: 12.5px; } }

/* ---------------- Native header rebuild (v0.9.7) ----------------
   2026-07-15, Maroš: header/menu/logo must be native Elementor Container +
   WordPress Menu + Heading/Icon widgets, not one raw HTML widget. Rebuilt
   post 25 that way; this block fixes two cascade fights that appeared once
   the markup became native (same root-cause family already documented
   throughout this file: Elementor's OWN default CSS for ".e-con" containers
   and for the Nav Menu widget's ".elementor-item" links is scoped to a
   per-element class (".elementor-element-<id>") or a 2-class selector,
   which ties or beats our plain 1-class rules above -- confirmed via
   getComputedStyle showing flex-direction:column/padding/color falling
   back to Elementor's defaults instead of ours. !important below is
   deliberate and scoped only to the properties that were actually losing. */

/* Elementor Containers default to flex-direction:column PLUS their own
   default padding (10px) and gap (kit "space between widgets", ~20px)
   unless overridden -- reset both everywhere below, then re-apply only the
   spacing the design actually wants. */
/* z-index:60 from the base ".yg-header" rule below wasn't winning (Container
   widgets ship their own z-index handling) -- confirmed via elementsFromPoint
   that ".yg-hero-scrim" (later in source order, same computed z-index:auto)
   was painting over the logo though not over the nav (nav-menu widget gets
   its own implicit stacking elevation from Elementor). Force it here. */
.elementor-location-header{ position: relative !important; z-index: 60 !important; padding: 0 !important; }
body.yg-page-domov .elementor-location-header{ position: absolute !important; z-index: 60 !important; }
.yg-header-inner{ display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 24px !important; padding: 15px 20px !important; max-width: 1180px; margin: 0 auto !important; }
@media (min-width: 900px){ .yg-header-inner{ justify-content: flex-start !important; padding: 15px 40px !important; } }
/* Elementor's own ".e-con{width:var(--width,100%)}" base rule makes every
   Container default to 100% of its flex parent's width -- fine for the
   row-spanning containers (header-inner, mobile-menu-top, etc.) but wrong
   for these small content-hugging ones, which then combine with our
   "flex:none" below to visually consume the whole row (confirmed via
   getComputedStyle: .yg-logo was rendering 1100px wide instead of ~260px). */
.yg-logo, .yg-logo-text{ width: auto !important; }
.yg-logo{ display: flex !important; flex-direction: row !important; align-items: center !important; gap: 11px !important; padding: 0 !important; }
.yg-logo-text{ display: flex !important; flex-direction: column !important; gap: 0 !important; padding: 0 !important; }
.yg-logo-word{ padding: 0 !important; }
.yg-logo-sub{ padding: 0 !important; }
/* Logo text pieces: the "yg-logo-mark/word/sub" classes now sit on the
   Heading widget's OUTER wrapper (Elementor renders the actual text in a
   nested ".elementor-heading-title"), so re-assert color/font there
   explicitly instead of relying on inheritance beating Elementor's own
   heading-widget default typography (global "Roboto" applies otherwise,
   same symptom as the nav-link font-family fight below). */
.yg-logo-mark, .yg-logo-mark .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-size: 22px !important; letter-spacing: 1px; color: var(--yg-accent) !important; white-space: nowrap; line-height: 1; }
@media (min-width: 900px){ .yg-logo-mark, .yg-logo-mark .elementor-heading-title{ font-size: 24px !important; } }
.yg-logo-word, .yg-logo-word .elementor-heading-title{ font-family: var(--yg-font-sans) !important; font-weight: 800 !important; font-size: 13px !important; letter-spacing: .22em; color: var(--yg-ink) !important; white-space: nowrap; line-height: 1; }
@media (min-width: 900px){ .yg-logo-word, .yg-logo-word .elementor-heading-title{ font-size: 14px !important; } }
.yg-logo-sub, .yg-logo-sub .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-style: italic; font-size: 12px !important; color: var(--yg-muted) !important; margin-top: 3px; white-space: nowrap; line-height: 1; }
@media (min-width: 900px){ .yg-logo-sub, .yg-logo-sub .elementor-heading-title{ font-size: 12.5px !important; } }

.yg-logo{ flex: none !important; }

/* Back-to-top (Icon widget, fa-arrow-up) replacing the old inline-SVG
   button -- same position/size/behavior, documented deviation (icon glyph
   vs custom stroke SVG) same family as the burger icon above. */
.yg-page .yg-back-to-top{
  position: fixed !important; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--yg-accent) !important; box-shadow: 0 12px 26px -10px rgba(51,39,31,.55);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background .2s ease;
  display: flex !important; align-items: center; justify-content: center;
}
.yg-page .yg-back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.yg-page .yg-back-to-top:hover, .yg-page .yg-back-to-top:focus, .yg-page .yg-back-to-top:active{ background: var(--yg-accent-dark) !important; outline: none; }
.yg-back-to-top .elementor-icon{ color: #fff !important; }
.yg-back-to-top .elementor-icon svg{ fill: #fff !important; }
.yg-back-to-top i{ font-size: 18px !important; }
.yg-back-to-top .elementor-icon svg{ width: 18px !important; height: 18px !important; }
@media (min-width: 900px){ .yg-page .yg-back-to-top{ right: 32px; bottom: 32px; width: 50px; height: 50px; } }

/* ---------------- Buttons ---------------- */
/* flex-direction/border-radius !important -- as a native Container
   (2026-07-16 audit), .yg-btn fights Elementor's own column default
   (a Container with no explicit "direction" setting defaults to COLUMN,
   not row -- confirmed via Group_Control_Flex_Container::init_fields()
   "_is_column" condition includes the empty-string default) and its
   border-radius:var(--border-radius) default of 0. Harmless on
   single-line-text buttons (a lone flex child looks the same in either
   direction) but breaks any icon+text button (e.g. the WhatsApp CTAs)
   outright, so fixed universally here rather than per call site. */
/* padding !important (2026-07-17, Maroš screenshot: "Chcem YogArt" button
   rendering as a near-invisible thin strip, padding:0/height:18px) -- same
   root cause family as everywhere else in this file: yg_button_link() ->
   yg_div() is a native Elementor Container, and every yg_div() call
   explicitly sets the Container's own Padding control to 0 (see yg-
   builder.php's yg_div() docblock) as its default. That per-element
   Elementor rule is emitted as a single-class selector (0,1,0) in
   Elementor's post-CSS, which loads AFTER main.css -- tying (not losing
   to) this plain ".yg-btn"/".yg-btn-cream" class rule, so without
   !important the per-element padding:0 silently won on EVERY button that
   isn't also covered by a MORE SPECIFIC compound override. Confirmed via
   getComputedStyle width-sweep (320-1920px): "Chcem YogArt" (.yg-btn-
   cream, no compound override anywhere) had padding:0 at literally every
   width; "Chcem jogu"/"Chcem tvoriť" only looked correct at >=900px
   because ".yg-hero-home .yg-hero-ctas .yg-btn" (0,3,0 specificity) is
   the ONE place that already explicitly sets its own padding -- outside
   that compound selector's reach (mobile hero, and any other .yg-btn use
   sitewide) the exact same padding:0 bug was silently present too, just
   not yet reported. Fixed at the base (".yg-btn"/".yg-btn-cream") rather
   than a one-off "Chcem YogArt" patch so it can't recur elsewhere; the
   hero's own compound override (below) also needed !important added so
   it keeps winning via specificity within the same "important" tier
   (importance beats specificity across tiers -- an unqualified !important
   base rule would otherwise flatten the intentional larger desktop hero
   padding back down to the generic 16px/22px). */
.yg-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 22px !important; border-radius: 14px !important; font-family: var(--yg-font-sans); font-weight: 700;
  font-size: 16px; border: none; cursor: pointer; text-decoration: none; line-height: 1.2;
  flex-direction: row !important;
  /* width:auto !important -- as a Container, a bare ".yg-btn.yg-btn-accent"
     (0,2,0) ties with Elementor's ".e-con.e-flex{ --width:100% }" (0,2,0)
     at equal specificity, and Elementor's own stylesheet loads after ours
     -- so it silently won the source-order tiebreak (confirmed: a Joga
     subhero CTA rendered 579px wide, full column width, instead of a
     shrink-to-fit pill). More specific contexts that genuinely want a
     different width (e.g. ".yg-hero-home .yg-hero-ctas .yg-btn") already
     out-specificity this rule even both being !important -- see those
     rules for their own !important (needed for the SAME reason, not
     because of this one). */
  width: auto !important;
  /* align-self:flex-start -- the actual fix for the column-context
     stretch (width:auto alone did NOT stop it: confirmed via
     getComputedStyle that a button rendered 578px, its parent's exact
     width, with "align-items:normal" on that column-direction parent --
     "normal" computes to flex "stretch" behavior, and a flex item's own
     explicit "width" does not override a parent's stretch on the cross
     axis the way it does for a definite (non-auto) main-axis size;
     "align-self" is the property that actually opts an item out of
     stretch, and DOES win here). Contexts that genuinely want a full-
     width button (e.g. ".yg-hero-home .yg-hero-ctas .yg-btn" on mobile)
     override this back with their own "align-self:stretch" alongside
     their existing "width:100%". */
  align-self: flex-start !important;
}
/* Companion ".elementor-heading-title" COLOR-ONLY selectors on
   .yg-btn-accent/-ghost/-cream below -- discovered 2026-07-16 as part of
   the same fidelity re-check that found the H1/H2/H3 bug (CHANGELOG
   [0.9.19]): every button built via yg_button_link() renders its visible
   label through a nested Heading widget ("yg_heading($label, 'span')"),
   so these Container-level color rules (already !important from an
   earlier session) only ever colored the outer <a> tag -- the label span
   inside INHERITS that color, and an inherited value always loses to
   Default Kit's ".elementor-widget-heading .elementor-heading-title{
   color:var(--e-global-color-primary) }" rule that targets the span
   directly, no matter how many !important flags sit on the ancestor.
   Confirmed via getComputedStyle: ".yg-btn-cream span" read Elementor's
   default blue (#6EC1E4) instead of var(--yg-ink) before this fix.
   IMPORTANT: only "color" goes on the companion selector, never
   background/padding/border/box-shadow/border-radius -- those must stay
   on the outer <a> only, or the inner span grows its own nested
   background/pill (confirmed by a first attempt that DID copy the whole
   declaration block onto the span too: it rendered a visible smaller
   white pill nested inside the button, caught via screenshot before
   shipping). */
.yg-btn-accent{ background: var(--yg-accent); color: #fff !important; box-shadow: 0 14px 30px -14px rgba(110,74,84,.8); }
.yg-btn-accent .elementor-heading-title{ color: #fff !important; }
.yg-btn-accent:hover{ background: var(--yg-accent-dark); }
.yg-hero-home .yg-hero-ctas .yg-btn-accent{ background: #4a3b30; }
.yg-hero-home .yg-hero-ctas .yg-btn-accent:hover{ background: #3d3027; }
.yg-btn-ghost{ background: rgba(251,246,236,.85); color: var(--yg-text-darker) !important; border: 1.5px solid rgba(110,74,84,.45); }
.yg-btn-ghost .elementor-heading-title{ color: var(--yg-text-darker) !important; }
.yg-btn-cream{ background: var(--yg-card); color: var(--yg-ink) !important; padding: 14px 24px !important; border-radius: 14px !important; font-size: 15px; }
.yg-btn-cream .elementor-heading-title{ color: var(--yg-ink) !important; }
/* flex-direction/border-radius/width !important -- same native-Container
   fight family as .yg-btn (see above); .yg-btn-wa is also used unmodified
   inside the CourseCard PHP shortcode (a plain <a>, not a Container) --
   !important there is harmless/redundant, not a regression. */
.yg-btn-wa{
  display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 9px; width: 100% !important;
  padding: 14px !important; border-radius: 13px !important; background: var(--yg-cta); color: #fff !important;
  font-family: var(--yg-font-sans); font-weight: 700; font-size: 15px;
}
.yg-btn-wa:hover{ background: #4d5639; }
/* color:#fff !important companion -- same wrapper-vs-content leak as
   .yg-btn-accent/-ghost/-cream above, for the native (yg_button_link-
   based) use of this class on YogArt's price-box CTA (build-page-
   yogart.php); harmless no-op inside the CourseCard shortcode's plain
   <a>, which has no nested ".elementor-heading-title" to match. */
.yg-btn-wa .elementor-heading-title{ color: #fff !important; }
.yg-btn-wa svg{ flex: none; }
/* !important -- Icon widget default size fight (see .yg-squiggle above);
   only needed where the WhatsApp icon is an Icon widget (native page
   CTAs) rather than raw inline SVG (still true inside the CourseCard PHP
   shortcode output, unaffected either way). */
.yg-wa-svg{ width: 18px !important; height: 18px !important; flex: none !important; }
.yg-btn-wa .elementor-widget-icon{ flex: none !important; }
/* color:inherit fix for the Icon-widget-default-blue bug is handled
   generically below (see ".yg-page .elementor-widget-icon..."). */
.yg-btn-outline-link{ background: none; border: none; padding: 0; color: var(--yg-accent); font-family: var(--yg-font-sans); font-weight: 700; font-size: 14px; cursor: pointer; }
.yg-max-w-280{ max-width: 280px !important; }
.yg-scroll-mt-90{ scroll-margin-top: 90px; }

/* ---------------- Home hero ---------------- */
/* 2026-07-06: header is absolutely-positioned/transparent on Domov only (see
   ".yg-page-domov .yg-header" override above the header block), which takes
   it out of normal flow — so the hero, as the very first element after it,
   now needs to fill the FULL viewport itself (100dvh) rather than a fixed
   660px, otherwise there'd be a gap where the header used to reserve space.
   This is also how "photo visible from the very top, no cream bar above it"
   is achieved: the photo starts at y=0 and the transparent header floats
   on top of it instead of sitting in a separate cream strip above. */
/* min-height: !important -- as a native Elementor Container (2026-07-16
   audit) this fights ".e-con{ min-height: var(--min-height) }" (default
   --min-height:initial) at the same (0,1,0) specificity; without
   !important the section collapsed to auto height and the hero photo
   never got room to render at all (confirmed via getComputedStyle:
   minHeight computed to "auto", 0 visible height for both hero <img>s).
   Same root cause family as the .yg-prekoho-icon/.yg-reason-dot width
   fixes above. */
/* display/flex-direction/justify-content/align-items/padding all !important
   below (2026-07-16, loop-task root-cause fix): since the 0.9.18 native-
   container rebuild, ".yg-hero-home" is a real Elementor Container widget,
   and Elementor emits its OWN per-element rule for this exact element
   (".elementor-element-xxxx{ padding:...; align-items:...; ... }") at the
   same (0,1,0)-equivalent specificity as this class selector -- a tie
   resolved by source order, and Elementor's per-post CSS loads after this
   stylesheet, so it silently won every one of these properties (confirmed
   via getComputedStyle: align-items/justify-content read back "normal" --
   the CSS-initial value Elementor's Container writes for its own default
   "Align Items: initial" control state -- and padding read back the 0
   this same session's yg_div()/yg_wrap_page() padding:0 fix now explicitly
   sets, instead of this rule's intended 112px top clearance). Net visible
   effect: hero content collapsed to the top of the hero photo and the
   header nav overlapped/rendered on top of the H1 -- exactly the
   "text overlapping header" bug Maroš reported. Same root-cause family as
   every other Container-default-vs-tie fix already documented in this
   file (Heading/Text-Editor font-family, Icon color, etc), now confirmed
   to also apply to Container widgets' own layout properties, not just
   Widget wrapper color/font. */
.yg-hero-home{
  position: relative; overflow: hidden;
  min-height: 100vh !important; min-height: 100dvh !important;
  display: flex !important; flex-direction: column !important;
  /* justify-content + padding-top changed 2026-07-06 (v3, Maroš re-check):
     content was bottom-anchored (flex-end), but klientka's reference
     ("hero mobil s textom.png") shows the text block starting high --
     measured directly via pixel analysis of the reference PNG (dark-ink
     row detection): logo band at 7.2-10.4% of image height, H1 at
     16.3-29.6%, lead paragraph at 33.7-42.2%, buttons+note ending by
     ~78.8% -- i.e. content starts just below the header and ends well
     before the bottom, NOT anchored to the bottom edge. Switched to
     flex-start + a fixed top padding sized to clear the real (non-
     admin-bar) header height (72px, measured via getBoundingClientRect)
     plus a gap comparable to the reference's logo-to-H1 spacing. */
  justify-content: flex-start !important;
  /* CENTERED 2026-07-17 (Maroš mobile bug report, "vystrediť"): supersedes
     the 2026-07-06 left-align decision below. That decision was based on an
     ad-hoc client screenshot ("hero mobil s textom.png"), NOT the canonical
     design handoff. Re-checked the actual source of truth per AGENTS.md --
     `design/Yogart-mobil.html` (puppeteer-core screenshot + getComputedStyle
     at 390px) -- and it unambiguously shows the mobile hero H1/lead/CTAs/
     note all text-align:center, with the CTAs box (measured 300px wide)
     horizontally centered within the 342px content column, not flush left.
     Reverting to that canonical reference. (Old left-aligned comment kept
     below for history/context, no longer the active decision.)
     left-aligned 2026-07-06 per klientka's "hero mobil s textom.png"
     reference -- content sits flush left over the photo's plain wall
     area, not centered. */
  align-items: center !important; text-align: center !important; padding: 112px 24px 40px !important;
  /* gap:0 !important -- 2026-07-17 (Maroš/koordinátor site-wide boxed-
     width audit): ".yg-hero-home" has 2 IN-FLOW flex children -- the
     currently-visible hero <img>'s widget wrapper (forced back to
     "position:static" by the ".yg-hero-img-mobile/-desktop" fix above, so
     it participates in flex layout even though it renders 0-width/height
     since its only child, the actual <img>, is itself position:absolute)
     and ".yg-hero-content". Same "e-con default gap" family documented
     repeatedly elsewhere in this file (".yg-footer"/".yg-footer-brand"
     etc): this Container never declared its own "gap", so Elementor's
     20px default applied BETWEEN the 0-width image wrapper and
     ".yg-hero-content", shifting the whole 1180px-boxed hero content
     block 20px off center -- confirmed via getComputedStyle +
     getBoundingClientRect at 1440px: ".yg-hero-content" computed
     margin-left/margin-right BOTH 120px (correctly symmetric per the
     auto-margin math) yet its rendered box sat at x:140/right:120 (not
     130/130 like every other boxed section and like new.yogart.sk) --
     the missing 20px was the phantom gap consumed before the auto-margin
     centering even started. Zeroing gap here restores the same 130/130
     centering as every other section. */
  gap: 0 !important;
}
/* !important on width/height/object-fit below: these single-class "cover
   image" selectors are (0,1,1) specificity, exactly tied with Elementor's
   own ".elementor img{height:auto}" reset (elementor-frontend.css) — same
   root cause as the .yg-nav-cta fix above, confirmed via computed-style +
   matched-rules inspection (Chrome MCP) on the O mne bio photo, which
   rendered at native aspect ratio instead of filling its 560px box. */
.yg-hero-home img{ position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center bottom; }
/* Mobile hero image swap (2026-07-06, v2): hero-mobil.png (purpose-shot
   vertical 1407x2500, media id 100) on mobile, studio-wide.png (landscape)
   on desktop — via <picture><source min-width:900> in build-page-domov.php.
   Inspected the raw source directly: the top ~25% of the frame is blank
   wall/curtain, and everything meaningful (easel+portrait, stool, floor
   mat/block/strap, cushions) sits in the bottom ~75%. At the mobile hero
   box's aspect ratio, object-fit:cover only has room to show ~76% of the
   source height — so "center bottom" (not the coordinator's initial
   suggestion of "top") is the crop that keeps the actual subject in frame
   and only trims the empty wall/curtain at the very top. Verified visually
   via Chrome MCP at 514px width. Nothing to do here; object-position above
   applies to whichever <img> is currently rendered (desktop override
   below is unaffected). */
/* Overlay removed 2026-07-06 (v2) per klientka's "hero mobil s textom.png"
   reference: mobile should show the clean photo with no gradient at all,
   same treatment as the desktop hero (line ~386) -- hero-mobil.png's own
   composition already has a light, plain wall/curtain area at the top
   where the text sits, so no artificial contrast boost is needed there.
   (Previously this had a gradient darkening toward the bottom, back when
   content was centered with no particular regard for what part of the
   photo sat behind it -- see CHANGELOG for that history if ever needed.) */
.yg-hero-home .yg-hero-scrim{ position: absolute; inset: 0; background: none; }
.yg-hero-home .yg-hero-content{ position: relative; z-index: 2; max-width: 360px; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* align-items:center !important on ".yg-hero-content-inner" below (2026-07-17,
   same centering fix as ".yg-hero-content"/".yg-hero-home" above): this is a
   SEPARATE nested Elementor Container between ".yg-hero-content" and the H1/
   lead/CTAs/note widgets -- discovered via DOM-chain inspection (puppeteer
   getComputedStyle walk) after the ".yg-hero-content" align-items:center edit
   alone did NOT visually center the CTAs box (still flush left, x:24 not the
   expected centered x:45 at 390px). Root cause: ".yg-hero-content-inner" is
   itself a flex container (Elementor Container widget) with its OWN
   align-items, computed "normal" (~stretch) by default with no CSS override
   here for mobile -- so it, not its ancestors, was the one governing how its
   direct children (h1/p.yg-hero-lead/.yg-hero-ctas/p.yg-hero-note) sit on the
   cross axis, and stretch/normal anchors width-capped children (CTAs
   max-width:300 within a 342px box) at flex-start (left), same family as
   every other "Elementor Container emits its own default, wins the tie"
   bug documented throughout this file. !important included defensively per
   that same pattern even though no competing per-element rule was confirmed
   this time. Desktop (min-width:900 below) explicitly resets to flex-start
   to preserve the existing left-aligned desktop hero -- unaffected. */
.yg-hero-home .yg-hero-content-inner{ align-items: center !important; }
/* h1 size bumped 36px -> 44px 2026-07-06 (v3) to match the reference's
   proportionally larger headline (its line break falls after "kde", not
   after "môžete" like our smaller size allowed -- a direct sign the
   reference uses a bigger font relative to viewport width). Margins
   nudged up slightly to match the reference's measured gaps between
   blocks (see .yg-hero-home comment above for the pixel analysis). */
.yg-hero-home h1{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 37px; line-height: 1.05; color: var(--yg-ink) !important; margin: 0 0 18px; letter-spacing: -.01em; }
.yg-hero-home p.yg-hero-lead{ font-size: 15.5px; line-height: 1.5; color: var(--yg-text-darker); margin: 0 0 24px; max-width: 320px; }
/* Mobile: half-width CTAs left-aligned (klientka 2026-08-04). Previously
   align-items/align-self:center after the 50% width shrink (0.9.50) — client
   wants them flush left under the centered hero copy, not mid-column.
   align-self:flex-start on the CTAs box itself is required because the parent
   ".yg-hero-content-inner" still centers its children (H1/lead stay centered).
   Desktop (@media min-width:900) resets flex-direction:row + width:auto. */
.yg-hero-home .yg-hero-ctas{ display: flex; flex-direction: column !important; gap: 10px; width: 100%; max-width: 300px; align-items: flex-start; align-self: flex-start; }
.yg-hero-home .yg-hero-ctas .yg-btn{ width: 50% !important; align-self: flex-start !important; }
.yg-hero-home p.yg-hero-note{ font-size: 13px; line-height: 1.45; color: #6E5A4B; margin: 14px 0 0; }

@media (min-width: 900px){
  /* min-height 640->760 + object-position Y 60%->80% (2026-07-06, client
     request via Maroš): the yoga mat + wooden block at the very bottom of
     studio-wide.png (natural 2500x1407) were only marginally visible — with
     a full-viewport-width box, object-fit:cover scales to cover WIDTH, so
     the effective vertical crop grows with viewport width; at 640px height
     and Y=60% most of the crop landed at the bottom, right where the mat
     is. Taller box = less total crop; higher Y = more of what crop remains
     comes off the TOP instead of the bottom. Verified at 1400px viewport
     (Chrome MCP) — mat + block now comfortably visible with margin, not
     flush against the very bottom edge. Not re-verified at very wide
     (2560px+) viewports — flag as a known limitation if the mat still
     crops out on very wide desktop monitors (the math suggests it holds
     there too: crop scales with viewport width, but Y=80% keeps ~80% of
     whatever crop remains away from the bottom, not just at 1400px). */
  .yg-hero-home{ min-height: 760px !important; flex-direction: row !important; justify-content: flex-start !important; align-items: center !important; text-align: left !important; padding: 0 !important; }
  .yg-hero-home img{ object-position: center 80%; }
  /* Removed 2026-07-06 per Maroš/klientka: desktop hero photo should show
     clean, no overlay -- the composition already has an intentional empty
     wall area on the left sized for the text, no gradient needed to fake
     contrast there. Mobile scrim (line ~317) is untouched -- not part of
     this complaint. */
  .yg-hero-home .yg-hero-scrim{ background: none; }
  .yg-hero-home .yg-hero-content{ align-items: flex-start; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 40px; }
  .yg-hero-home .yg-hero-content-inner{ max-width: 580px; align-items: flex-start !important; }
  .yg-hero-home h1{ font-size: 58px; margin-bottom: 22px; }
  .yg-hero-home p.yg-hero-lead{ font-size: 20px; max-width: 470px; margin-bottom: 34px; }
  .yg-hero-home .yg-hero-ctas{ flex-direction: row !important; max-width: none; margin-bottom: 24px; gap: 14px; }
  .yg-hero-home .yg-hero-ctas .yg-btn{ width: auto !important; padding: 17px 36px !important; }
}

/* ---------------- Section / heading helpers ---------------- */
/* !important on padding/margin below (2026-07-16, loop kolo 2): Elementor's
   own frontend.min.css sets logical margin-inline-start/end and
   padding-inline-start/end from CSS custom properties (defaulting to 0,
   or explicitly zeroed per-element when the Container's own Padding
   control is left at 0 -- see yg_div()'s padding:0 default in
   yg-builder.php). Those ".e-con" rules load AFTER this stylesheet
   (main.css is enqueued before elementor-frontend-css/post CSS -- see the
   ".yg-prekoho-head" comment above) at equal specificity (single class),
   so without !important they silently win and zero out BOTH this padding
   and the "margin:0 auto" centering below at every viewport width -- not
   just a breakpoint-specific bug. Confirmed via getComputedStyle: this
   section family (.yg-section, .yg-cards-wrap, .yg-teaser-wrap) was
   rendering with padding:0 and margin-left/right:0 (flush against the
   left viewport edge instead of centered) despite this CSS existing
   unmodified. Same root-cause family as the documented ".yg-prekoho-head"
   text-align fight below and the header/footer !important precedent
   (.yg-header-inner/.yg-footer-inner) -- just never applied to the body
   section classes until now. */
.yg-section{ padding: 44px 24px 8px !important; }
.yg-eyebrow{ font-family: var(--yg-font-sans); font-weight: 700; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--yg-accent); margin: 0 0 10px; }
/* Companion ".elementor-heading-title" selector (not just ".yg-h2" alone)
   -- yg_heading()'s $css_class goes through the widget's "_css_classes"
   setting, which Elementor renders on the ".elementor-widget-container"
   wrapper DIV, one level ABOVE the actual <h2 class="elementor-heading-
   title">. A single ".yg-h2{color:...}" rule therefore only ever colors
   that wrapper div -- the h2 inside merely INHERITS it, and an inherited
   value always loses to Default Kit's rule that targets ".elementor-
   heading-title" directly (see the !important comment block above), no
   matter the !important on the wrapper rule. Confirmed via a visual re-
   check 2026-07-16 (CHANGELOG [0.9.19]): adding !important to ".yg-h2"
   alone did NOT fix it, exactly this reason. Style both selectors, same
   shape as the pre-existing ".yg-logo-mark, .yg-logo-mark .elementor-
   heading-title" pattern. */
.yg-h2, .yg-h2 .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 30px; line-height: 1.1; color: var(--yg-ink) !important; margin: 0 0 24px; }
@media (min-width: 900px){
  .yg-section{ max-width: 1180px; margin: 0 auto !important; padding: 70px 40px 30px !important; }
  .yg-eyebrow{ font-size: 12px; }
  .yg-h2, .yg-h2 .elementor-heading-title{ font-size: 42px; }
}

/* Pre koho grid — redesigned 2026-07-06 (client reference:
   design/images/prekoho-redesign.jpeg, "Pre koho je YogArt" section only)
   from numbered "chlievik" cards to centered circular icon + label + text. */
/* text-align !important -- same native-Container tie-break family as the
   width/flex-direction/align-items/etc. fights documented throughout this
   file: Elementor's own ".e-con-full, .e-con>.e-con-inner{ text-align:var(
   --text-align) }" (--text-align defaults to "initial" on ".e-con") is
   also a plain single-class-equivalent rule at (0,1,0), tying our bare
   ".yg-prekoho-head" (0,1,0) -- and it loads AFTER main.css (elementor/
   assets/css/frontend.min.css is enqueued later), so it won every tie.
   Confirmed via a parent-chain getComputedStyle walk 2026-07-16 (fidelity
   re-check, CHANGELOG [0.9.19]): text-align read "start" at every level
   from .yg-prekoho-head down to the h2, not "center" as intended. */
/* margin-bottom !important (2026-07-17, Maroš screenshot: icon row
   "stuck" right under the heading/squiggle with no normal gap) -- a dense
   93-point width-sweep (300-3000px) found the icon SIZE/centering
   themselves correct at every tested width (60px/70px, always centered,
   0 anomalies), but getComputedStyle on ".yg-prekoho-head" showed
   marginBottom computing to "0px" at every width, not the 24px/50px
   declared below. Root cause: ".yg-prekoho-head" and ".yg-prekoho-grid"
   are siblings inside ".yg-section" (a native Container, always
   flex-direction:column) -- Elementor's Default Kit ships an unconditional
   default "gap" between a Container's flex children (computed 20px here),
   and a sibling's own margin-bottom does NOT add on top of a flex gap
   the way it would in normal block flow (the flex gap and the margin
   fight over the same visual space; without !important the margin lost
   outright, per the same "Elementor default beats non-!important
   declaration" family documented throughout this file -- just manifesting
   as a flex-gap interaction here instead of a direct CSS override). Net
   effect: the head-to-grid gap was a flat 20px at every width instead of
   the intended 24px (mobile, minor) / 50px (desktop, a 60% reduction --
   the more noticeable "nalepené" complaint on wider viewports). */
.yg-prekoho-head{ margin-bottom: 24px !important; text-align: center !important; }
@media (min-width: 900px){ .yg-prekoho-head{ margin-bottom: 50px !important; } }
/* width/height !important -- now an Icon widget (see build-page-domov.php),
   so it fights Elementor's own default ".elementor-icon{ font-size:50px }"
   + ".elementor-icon svg{ width:1em; height:1em }" (0,1,1 specificity,
   beats a bare single-class ".yg-squiggle" selector at 0,1,0 outright,
   independent of source order) -- the original bare <svg width="56"
   height="10"> attribute (no wrapping Icon widget) never had to fight
   this. Confirmed via computed style: rendered at 50x50 instead of
   56x10 before adding !important here. */
.yg-squiggle{ display: block !important; width: 56px !important; height: 10px !important; margin: 10px auto 0; opacity: .55; }
.yg-prekoho-intro{ margin: 18px auto 0; max-width: 560px; font-size: 14.5px; line-height: 1.6; color: var(--yg-text); }
@media (min-width: 900px){ .yg-prekoho-intro{ margin-top: 22px; font-size: 16px; } }
.yg-prekoho-grid{ display: grid !important; grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
@media (min-width: 900px){ .yg-prekoho-grid{ grid-template-columns: repeat(5,1fr); gap: 20px; } }
/* 5 cards on a 2-col mobile grid leaves the odd 5th card alone in row 3,
   left-aligned under column 1 -- span both columns so its own
   flex/align-items:center (.yg-prekoho-card) centers it instead. Reset to
   auto at the 900px+ breakpoint where the grid is already 5 real columns. */
.yg-prekoho-grid > *:nth-child(5):last-child{ grid-column: 1 / -1; }
@media (min-width: 900px){ .yg-prekoho-grid > *:nth-child(5):last-child{ grid-column: auto; } }
.yg-prekoho-card{ display: flex; flex-direction: column; align-items: center !important; text-align: center !important; }
/* !important on width/height: as a native Elementor Container (see
   2026-07-16 audit), this carries Elementor's own default per-element
   compiled rule ".elementor-element.elementor-element-{id}{ width:
   var(--width) }" at (0,2,0) specificity with --width defaulting to 100%
   -- beats our plain (0,1,0) class rule outright (same root cause + same
   fix already established for ".yg-logo" in the 0.9.7 header rebuild,
   see the "getComputedStyle: .yg-logo was rendering 1100px" comment
   above). Confirmed via getComputedStyle after the Domov icon conversion
   (rendered 310x70px full-card-width bar instead of a 60x60 circle). */
.yg-prekoho-icon{ width: 60px !important; height: 60px !important; flex: none !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 14px; }
@media (min-width: 900px){ .yg-prekoho-icon{ width: 70px !important; height: 70px !important; margin-bottom: 18px; } }
.yg-prekoho-icon svg{ width: 30px !important; height: 30px !important; }
@media (min-width: 900px){ .yg-prekoho-icon svg{ width: 36px !important; height: 36px !important; } }
.yg-prekoho-icon.c-mint{ background: rgba(126,135,99,.18); color: var(--yg-sage); }
.yg-prekoho-icon.c-peach{ background: rgba(190,126,84,.18); color: var(--yg-terracotta); }
.yg-prekoho-icon.c-lavender{ background: rgba(133,92,103,.16); color: var(--yg-accent); }
.yg-prekoho-icon.c-leaf{ background: rgba(142,155,108,.20); color: var(--yg-botanic); }
.yg-prekoho-icon.c-cta{ background: rgba(95,106,71,.18); color: var(--yg-cta); }
.yg-prekoho-card h3{ font-family: var(--yg-font-sans) !important; font-weight: 700 !important; font-size: 14.5px; color: var(--yg-ink) !important; margin: 0 0 6px; line-height: 1.3; }
@media (min-width: 900px){ .yg-prekoho-card h3{ font-size: 16px; } }
.yg-prekoho-card p{ font-size: 12.5px; line-height: 1.5; color: var(--yg-text); margin: 0; max-width: 180px; }
@media (min-width: 900px){ .yg-prekoho-card p{ font-size: 13.5px; } }

/* Preco so mnou */
/* overflow:hidden !important -- 2026-07-17 (Maroš side-by-side vs
   new.yogart.sk): same "Elementor .e-con default beats our non-!important
   Container declaration" fight as the margin/padding family documented
   throughout this file, but on "overflow" this time. Elementor's own
   Default Kit CSS carries an UNCONDITIONAL ".e-con{ overflow:var(--overflow) }"
   rule (frontend.min.css, loads after main.css, same 0,1,0 specificity,
   "--overflow" defaults to "visible" since our yg_div() forces the
   Container's own Overflow control to unset) -- confirmed via
   getComputedStyle + a matching-CSSRule scan: ".yg-reasons-img" computed
   "overflow:visible" despite this line saying "hidden", so the
   border-radius (which WAS applying, confirmed 22px/26px) never actually
   clipped the photo -- the image just rendered square, overflowing its
   own rounded box. margin-bottom needs the same treatment (a separate,
   unconditional ".e-con{ margin-block-end:var(--margin-block-end) }" rule
   zeroes it the same way). */
/* position:relative + absolute/inset img (2026-07-17, Maroš screenshot:
   bottom corners of the photo looking un-rounded/cropped) -- NOT a
   specificity fight this time (a getMatchedCSSRules scan confirmed
   ".yg-reasons-img img{ height:100% !important }" below WAS the winning
   rule, uncontested). Real cause: percentage heights only resolve against
   an ancestor with a DEFINITE height, resolved against the element's
   direct containing block -- and the img's actual parent is Elementor's
   own ".elementor-widget-image" wrapper div, which has no explicit height
   (auto), not this ".yg-reasons-img" Container two levels up (which DOES
   have an explicit height). Per spec, "height:100%" against an indefinite
   containing block computes as "auto" -- so the img was rendering at its
   own intrinsic aspect ratio scaled to 100% width, completely ignoring
   this box's 220px/480px height. Confirmed via width-sweep: rendered img
   height tracked (boxWidth / naturalAspectRatio) exactly, not the box's
   height, at every tested width 320-1920px -- short of the box at
   mobile/narrow widths (visible gap below the photo inside the rounded
   corners) and only "accidentally" full via overflow at ~520-880px.
   Fix: same position:absolute+inset:0 technique already proven for
   ".yg-teaser img" below (a positioned descendant's percentage/inset
   sizing resolves against the nearest POSITIONED ancestor's box directly,
   skipping the intermediate non-positioned wrapper's own auto height
   entirely) -- ".elementor-widget-image" also needs position:static
   !important so it doesn't accidentally become its own containing block
   (mirrors the ".yg-teaser > .elementor-widget-image" rule below). */
.yg-reasons-img{ position: relative; border-radius: 22px !important; overflow: hidden !important; margin-bottom: 24px !important; height: 220px !important; }
.yg-reasons-img > .elementor-widget-image{ position: static !important; }
.yg-reasons-img img{ position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 35%; }
.yg-reasons-list{ display: flex !important; flex-direction: column !important; gap: 20px; }
.yg-reason-item{ display: flex !important; flex-direction: row !important; gap: 15px; align-items: flex-start !important; }
/* !important -- same native-Container width:100%-by-default fight as
   .yg-prekoho-icon above. */
/* Now an inline SVG (Icon widget), not a Container -- see build-page-
   domov.php comment above the yg_icon_from_svg('reason-dot-...') call for
   why. "color" (not "background") drives the fill via the SVG's own
   fill="currentColor". flex:none on the wrapping Icon widget itself
   keeps it from stretching in the row; the SVG's width/height attributes
   (10x10) plus this class handle the 900px bump. */
.yg-reason-item .elementor-widget-icon{ flex: none; align-self: flex-start; margin-top: 7px; color: var(--yg-accent); }
.yg-reason-dot{ display: block !important; width: 10px !important; height: 10px !important; }
.yg-reason-item h3{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 20px; color: var(--yg-ink) !important; margin: 0 0 5px; }
.yg-reason-item p{ font-size: 14.5px; line-height: 1.55; color: var(--yg-text); margin: 0; }
@media (min-width: 900px){
  /* display:grid !important -- native Elementor Containers are always
     flex internally (".e-con{ display:flex }", unconditional, not tied
     to content_width) which otherwise silently wins over a plain
     "display:grid" class rule at the same specificity. */
  .yg-reasons-grid{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .yg-reasons-img{ height: 480px !important; border-radius: 26px !important; margin-bottom: 0 !important; }
  .yg-reasons-list{ gap: 24px; }
  .yg-reason-dot{ width: 11px !important; height: 11px !important; }
  .yg-reason-item .elementor-widget-icon{ margin-top: 8px; }
  .yg-reason-item h3{ font-size: 22px; margin-bottom: 6px; }
  .yg-reason-item p{ font-size: 15px; }
}

/* Teaser band (YogArt on home) */
/* !important: same Elementor ".e-con" logical-property override fight as
   ".yg-section" above (2026-07-16, loop kolo 2). */
.yg-teaser-wrap{ padding: 44px 24px !important; }
@media (min-width: 900px){ .yg-teaser-wrap{ max-width: 1180px; margin: 0 auto !important; padding: 70px 40px 90px !important; } }
/* min-height !important: same native-Container fight as .yg-hero-home
   above (".e-con{ min-height: var(--min-height) }" default "initial"). */
/* overflow:hidden !important -- same ".e-con{overflow:var(--overflow)}"
   fight as .yg-reasons-img above; the teaser band's photo was rendering
   full-square (no rounded corners) for the identical reason. */
.yg-teaser{ position: relative; border-radius: 24px !important; overflow: hidden !important; padding: 30px 24px !important; min-height: 300px !important; display: flex !important; flex-direction: column !important; justify-content: flex-end !important; }
/* position:static !important on the Image widget's own wrapper -- same
   containing-block fix as .yg-hero-img-desktop/-mobile above (the
   background photo here is also a plain Image widget with no extra
   custom class, so targeted generically via ".elementor-widget-image"
   instead of a dedicated class). */
.yg-teaser > .elementor-widget-image{ position: static !important; }
.yg-teaser img{ position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.yg-teaser .yg-teaser-scrim{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51,39,31,.05) 0%, rgba(51,39,31,.55) 100%); }
.yg-teaser .yg-teaser-content{ position: relative; z-index: 2; }
.yg-teaser .yg-eyebrow{ color: #EAD9C4; }
.yg-teaser h2{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 30px; line-height: 1.1; color: var(--yg-card) !important; margin: 0 0 12px; }
.yg-teaser p{ font-size: 14.5px; line-height: 1.55; color: #F0E6D6; margin: 0 0 20px; max-width: 320px; }
@media (min-width: 900px){
  /* justify-content:flex-end is inherited from the mobile base rule above,
     where it pushes the single .yg-teaser-content child to the BOTTOM of a
     column-direction box. This media query flips flex-direction to "row"
     but never resets justify-content -- so the same flex-end now pushes
     the content to the RIGHT edge of the row instead (confirmed via
     getComputedStyle: text+button were flush against the right side,
     overlapping the visible/bright part of the photo). Reset explicitly. */
  .yg-teaser{ min-height: 380px !important; align-items: center !important; justify-content: flex-start !important; display: flex !important; flex-direction: row !important; border-radius: 28px !important; }
  /* Lightened + tightened 2026-07-06 (Maroš bug report): the source photo
     (studio-mat.jpg) is bright/warm, not dark -- the old 72%/42%/10% stops
     put full opacity too deep across the box and only cleared up right at
     the very edge, since .yg-teaser-content's own text column (max-width
     620px + 56px padding = 732px) already covers ~62% of a 1180px-wide
     band, leaving only a thin strip for the photo to read as "clear".
     New stops end the dark zone near 65% (roughly where the text column
     ends) instead of 100%, so the photo itself is fully visible for the
     remaining third, matching the mockup's "photo clearly visible, text
     over darker/emptier wall area" intent without a full layout rebuild. */
  .yg-teaser .yg-teaser-scrim{ background: linear-gradient(90deg, rgba(51,39,31,.58) 0%, rgba(51,39,31,.28) 40%, rgba(51,39,31,.04) 65%, rgba(51,39,31,0) 100%); }
  .yg-teaser .yg-teaser-content{ padding: 56px !important; max-width: 620px; }
  .yg-teaser h2{ font-size: 44px; line-height: 1.05; margin-bottom: 16px; }
  .yg-teaser p{ font-size: 17px; max-width: 440px; margin-bottom: 28px; }
}

/* ---------------- Subpage hero (Joga/Tvorenie/YogArt) ---------------- */
.yg-subhero{ position: relative; overflow: hidden !important; padding: 34px 24px 4px !important; background: linear-gradient(180deg, var(--yg-cream-2) 0%, var(--yg-bg) 100%); }
/* !important -- Icon widget default (".elementor-icon{ font-size:50px }"
   + ".elementor-icon svg{ width:1em; height:1em }") overrides a bare
   ".yg-subhero-branch" class selector on the svg itself, same family as
   .yg-squiggle/.yg-reason-dot above. */
.yg-subhero-branch{ position: absolute !important; top: -12px; right: -20px; width: 128px !important; height: 256px !important; transform: scaleX(-1); }
.yg-subhero-inner{ position: relative; z-index: 2; }
.yg-subhero h1{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 46px; color: var(--yg-ink) !important; margin: 0; }
.yg-hero-terminy-box{ margin-top: 22px; background: rgba(251,246,236,.65); border: 1px solid var(--yg-border); border-radius: 20px !important; padding: 20px 20px 16px !important; }
.yg-hero-terminy-box p.yg-htb-title{ font-family: var(--yg-font-serif); font-weight: 500; font-size: 19px; color: var(--yg-ink); margin: 0 0 4px; }
.yg-htb-row{ display: flex !important; gap: 11px; align-items: flex-start !important; padding: 12px 0 !important; border-top: 1px solid rgba(51,39,31,.14); }
.yg-htb-row svg{ margin-top: 2px; flex: none; }
.yg-htb-when{ font-size: 12.5px; color: var(--yg-muted); font-weight: 700; margin-bottom: 2px; }
.yg-htb-title2{ font-size: 15px; color: var(--yg-ink); font-weight: 600; }
@media (min-width: 900px){
  .yg-subhero-branch{ top: -6px; left: -34px; right: auto; width: 160px !important; height: 320px !important; transform: none; }
  .yg-subhero-inner{ max-width: 1180px; margin: 0 auto !important; padding: 64px 40px 60px !important; display: grid !important; grid-template-columns: 1.05fr .95fr; gap: 48px !important; align-items: center !important; }
  .yg-subhero h1{ font-size: 68px; line-height: 1; margin-bottom: 18px; }
  .yg-hero-terminy-box{ margin-top: 0; padding: 28px 30px 24px !important; }
}

.yg-intro{ padding: 34px 24px 6px !important; }
.yg-intro p.lead{ font-size: 16px; line-height: 1.6; color: var(--yg-text-dark); margin: 0 0 16px; }
.yg-intro p.sub{ font-size: 15px; line-height: 1.6; color: var(--yg-text); margin: 0; }
@media (min-width: 900px){
  .yg-intro{ max-width: 1180px; margin: 0 auto !important; padding: 56px 40px 6px !important; }
  .yg-intro-grid{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 60px !important; }
  .yg-intro p.lead{ font-size: 18px; }
  .yg-intro p.sub{ font-size: 15.5px; }
}

/* Ako prebieha hodina (Joga) — numbered rows box */
.yg-flow-wrap{ padding: 34px 24px 6px !important; }
@media (min-width: 900px){ .yg-flow-wrap{ max-width: 1180px; margin: 0 auto !important; padding: 40px 40px 6px !important; } }
.yg-flow-box{ background: var(--yg-box-1); border-radius: 22px !important; padding: 26px 22px !important; }
@media (min-width: 900px){ .yg-flow-box{ padding: 40px 46px !important; } }
.yg-flow-box h2{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 26px; color: var(--yg-ink) !important; margin: 0 0 18px; }
.yg-flow-row{ display: flex !important; gap: 14px; align-items: baseline !important; padding: 11px 0 !important; border-bottom: 1px solid rgba(51,39,31,.14); }
.yg-flow-row:last-of-type{ border-bottom: none; }
.yg-flow-row .i{ flex: none; font-family: var(--yg-font-serif); font-style: italic; font-size: 15px; color: var(--yg-accent); width: 22px; }
.yg-flow-row .t{ font-size: 15px; line-height: 1.45; color: var(--yg-text-darker); }
.yg-flow-note{ font-size: 13.5px; line-height: 1.55; color: #7A6553; margin: 16px 0 0; font-style: italic; font-family: var(--yg-font-serif); }
@media (min-width: 900px){
  .yg-flow-list{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 40px; }
}

/* Typy lekcii / course grid */
/* !important: same Elementor ".e-con" logical-property override fight as
   ".yg-section" above (2026-07-16, loop kolo 2). */
.yg-cards-wrap{ padding: 40px 24px 8px !important; }
@media (min-width: 900px){ .yg-cards-wrap{ max-width: 1180px; margin: 0 auto !important; padding: 60px 40px 8px !important; } }

/* JetEngine Listing Grid wrapper — side padding ONLY (Joga/Tvorenie/
   Termíny/Ostatné akcie/Domov "Aktuálne"). Boxing/centering to 1180px is now
   handled natively by Elementor itself via content_width:"boxed" +
   boxed_width (see yg_widget_container($type, $settings, $css_class, 1180)
   in yg-builder.php) — NOT by this class. Two earlier CSS-specificity-fight
   attempts here (a plain max-width class, then the same class with
   !important) are recorded in yg_widget_container()'s docblock; both were
   fighting Elementor's own frontend.css from outside instead of using its
   native boxed mechanism, and the !important round still centered wrong
   (flush-left) because of a SEPARATE explicit margin:0 setting. Padding
   values match .yg-container's responsive pattern for edge breathing room
   on viewports between "full width" and the 1180px cap (e.g. tablet). */
/* !important below (Maroš bug report 2026-07-06, mobile side-padding was
   0px): traced via post-NN.css -- Elementor's boxed_width container
   settings (yg-builder.php) intentionally set padding:0, which Elementor
   compiles into per-element custom properties (--padding-left/-right:0)
   consumed by its OWN frontend.min.css rule
   ".e-con{padding-inline-end:var(--padding-inline-end);
   padding-inline-start:var(--padding-inline-start)}" -- a LOGICAL property
   applied directly to the outer .e-con (our .yg-listing-wrap), at the same
   (0,1,0) specificity as this plain class's physical padding-left/-right
   (from the padding shorthand). Physical vs. logical longhands for the
   same box don't have an inherent priority over each other -- at equal
   specificity, whichever stylesheet's rule is later in the cascade wins,
   which isn't reliably "ours" (Elementor's own core CSS vs. this plugin's
   file). !important forces our value to win regardless of load order --
   same category of fix as the earlier max-width/margin battles in this
   file, but those were solved by switching to Elementor's OWN mechanism;
   here we deliberately keep container padding:0 in PHP (so there's no
   conflicting non-zero value to also cancel out) and let this rule be the
   single source of truth for visual padding instead. */
.yg-listing-wrap{ padding: 0 24px !important; }
@media (min-width: 900px){ .yg-listing-wrap{ padding: 0 40px !important; } }
.yg-cards-grid{ display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px){ .yg-cards-grid{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px; } }
.yg-cards-grid.cols-3{ }
@media (min-width: 900px){ .yg-cards-grid.cols-3{ grid-template-columns: repeat(3,1fr); } }

/* Equal-height cards across a Listing Grid row (Maroš bug report 2026-07-06):
   JetEngine's own row wrapper (.jet-listing-grid__item) correctly flex-
   stretches to the tallest card in its row (confirmed via getComputedStyle:
   497.5px when a sibling card's meta row wraps to 2 lines) -- but every
   nested Elementor wrapper below it (.elementor > [.elementor-element
   container] > .elementor-widget-shortcode > .elementor-shortcode) is a
   plain block/flex box with an intrinsic content-based height, breaking the
   stretch chain before it ever reaches .yg-course-card (measured: all of
   them sat at the card's own 449.25px content height, not the row's
   497.5px). Percentage heights don't inherit through intermediate
   auto-height blocks -- each link needs its own explicit height rule.

   2026-07-16 (Maroš bug report -- title clipped/invisible on Domov +
   "Všetky kurzy"): this chain used height:100% (a HARD cap), which turned
   out to be actively DESTRUCTIVE, not just occasionally insufficient.
   Reproduced with plain getComputedStyle on the *unmodified* "Všetky kurzy"
   page, no cache/timing trickery needed: at 390-428px width, 3 of 6 cards
   (the ones whose meta row happens to stay on one line, e.g. "Maľba"/
   "Kresba"/"YogArt — joga + tvorba") measured .yg-course-card
   clientHeight=529-534px while their own scrollHeight was 541-579px --
   title/meta silently clipped by .yg-course-card's overflow:hidden, even
   though NOTHING was stretching them to match a taller row sibling (each
   row holds exactly 1 item at this width, flex-basis:100%; confirmed via
   getBoundingClientRect on every .jet-listing-grid__item -- no cross-card
   stretch is even happening). Root cause: .jet-listing-grid__item's own
   height is "auto" (shrink-to-fit its content), but that content is
   *itself* this height:100% chain -- a circular percentage-height
   reference. Chrome resolves the circularity by computing the item's
   auto/shrink-to-fit size from an earlier layout pass than the one that
   finally renders the card's actual (taller) content, so the item freezes
   at a value that's too small and never gets reconciled -- a known Blink
   flexbox instability with nested height:100% + overflow:hidden + a
   min-height:0 flex child (.yg-cc-body below). It reproduced consistently
   (not intermittently) across every width in the 390-428px band tested,
   confirmed both with and without extra injected content, so it is NOT a
   "photos not loaded yet" transient (see AGENTS.md) -- do not re-dismiss
   this as such without the same clientHeight-vs-scrollHeight measurement.

   Fix: height:100% -> min-height:100% on the whole chain. This keeps the
   "stretch short cards up to match a tall row sibling" behavior (still a
   floor), but removes the hard cap that caused the circular-reference
   freeze -- a card can now always grow to fit its own real content even if
   the shrink-to-fit calculation above it under-measures. Combined with
   moving the corner-rounding clip off .yg-course-card onto .yg-cc-media
   only (below) as a second, independent safety net: even in some future
   still-undiscovered variant of this Blink quirk, there is no longer any
   overflow:hidden box around the text that could hide it -- worst case is
   a card growing a few px taller than its row siblings, never invisible
   text. Do not revert to a bare height:100%+overflow:hidden card without
   re-testing this exact 390-428px/6-card "Všetky kurzy" scenario. */
.jet-listing-grid__item .elementor,
.jet-listing-grid__item .elementor-element,
.jet-listing-grid__item .elementor-widget-shortcode,
.jet-listing-grid__item .elementor-shortcode{
  min-height: 100%;
}
/* 2026-07-16 (0.9.15 audit follow-up -- Maroš bug report, card visually
   overflows its row/next card at ~600-767px width, i.e. JetEngine's own
   single-column band (--columns:1 at <=767px, confirmed via generated
   post-NN.css) -- the min-height:100% chain above was NOT the cause
   (verified empirically: gating it to >=768px and even zeroing it out
   entirely below that did not change the bug by a single pixel -- ruled
   out before landing on the real cause below, do not re-attempt that
   gating as "the fix"). Real root cause, isolated by bisecting each level
   of .jet-listing-grid__item's descendant chain with getBoundingClientRect
   on live, unmodified content: the Listing Item template's own root
   Elementor Container (class ".e-con.e-flex", flex-direction:column,
   Elementor's own default for any Container widget -- NOT something this
   plugin's CSS sets) wraps a SINGLE child (the Shortcode widget rendering
   .yg-course-card). As a flex item of that column-direction container,
   the widget's flex-basis:auto is resolved via Blink's flex "intrinsic
   sizing" pass, which measures the item's own max-content height BEFORE
   the aspect-ratio media box inside .yg-cc-media has a final resolved
   width to compute its height from -- a known CLASS of Chromium flexbox
   intrinsic-sizing bugs with aspect-ratio content inside a flex-basis:auto
   item (not citing a specific bug number -- not independently verified,
   the empirical evidence below is what this fix actually rests on).
   Confirmed empirically: the widget's OWN box (not just the card inside
   it) measured 645px while its real content measured 823px, IDENTICAL on
   every fresh page load (deterministic, not a timing/cache artifact --
   ruled out via repeated fresh loads, page.reload(), forced synchronous
   reflow via display:none toggle, and explicit flex-shrink:0 override,
   NONE of which changed the frozen 645px). Replacing the aspect-ratio
   media with a fixed (non-width-derived) height made it disappear,
   confirming the aspect-ratio-during-intrinsic-sizing mechanism -- but
   changing .yg-cc-media's aspect ratio is a VISUAL design change (there is
   already an open, deliberately-deferred question about this exact box in
   STATUS.md/CHANGELOG [0.9.13] re: square vs. design-source's fixed-height
   strip) and out of scope for a bug fix. The fix actually landed instead:
   this Container has exactly ONE child in every Listing Item template on
   this site (it's a Shortcode-widget wrapper, see AGENTS.md "Kurzy Single
   template" decision) and gets ZERO layout benefit from being flex at all
   -- switching it to plain block layout removes it from Blink's flex
   intrinsic-sizing algorithm entirely, so there is no aspect-ratio-vs-
   flex-basis timing dependency left to freeze. Verified this restores
   itemH === cardH (+padding) consistently at every width in 600-767px
   with zero visual change (a single block child behaves identically to a
   single stretched flex child at width:100%). Scoped to inside
   .jet-listing-grid__item only, so no other page's Elementor Containers
   are touched. If a future Listing Item template gets a SECOND sibling
   widget inside this Container, this override would need re-evaluating
   (block layout stacks siblings vertically same as column-flex would, so
   likely still fine, but verify). */
.jet-listing-grid__item .e-con.e-flex{
  display: block;
}
.yg-course-card{ background: var(--yg-card); border: 1px solid var(--yg-border); border-radius: 22px; box-shadow: 0 14px 34px -22px rgba(51,39,31,.4); display: flex; flex-direction: column; min-height: 100%; }
/* .yg-cc-media is an <a> (links to the CPT single page — see
   yg_render_course_card() in course-card.php) — needs display:block for
   aspect-ratio to apply (anchors are inline by default) and a color reset
   so it doesn't inherit link-blue/underline defaults. Owns the top corner
   rounding + overflow:hidden itself (border-radius matches .yg-course-card)
   now that the card no longer clips (see comment above) -- keeps the photo
   crop tidy without risking text clipping anywhere else in the card. */
.yg-course-card .yg-cc-media{ position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px 22px 0 0; flex: none; display: block; color: inherit; text-decoration: none; }
.yg-course-card .yg-cc-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yg-cc-tag{ position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--yg-text-darker); background: rgba(245,237,221,.92); border-radius: 999px; padding: 6px 13px; }
.yg-cc-tag.colored{ font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 5px 12px; }
/* flex column + min-height:0 so the CTA button (.yg-btn-wa, margin-top:auto
   below) sinks to the bottom regardless of how many lines the meta row
   wraps to -- this is what actually fixes "buttons at different heights",
   not just the equal-card-height chain above. */
.yg-course-card .yg-cc-body{ padding: 20px; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.yg-course-card .yg-cc-body .yg-btn-wa{ margin-top: auto; }
.yg-course-card h3{ font-family: var(--yg-font-serif); font-weight: 500; font-size: 23px; color: var(--yg-ink); margin: 0 0 8px; }
.yg-course-card h3 a{ color: inherit; text-decoration: none; }
.yg-course-card h3 a:hover{ color: var(--yg-accent); }
.yg-course-card .yg-cc-when{ font-size: 12.5px; font-weight: 700; color: var(--yg-muted); margin: 0 0 5px; }
.yg-course-card p.yg-cc-desc{ font-size: 14.5px; line-height: 1.55; color: var(--yg-text); margin: 0 0 4px; }
.yg-cc-meta{ display: flex; align-items: center; flex-wrap: wrap; gap: 6px 11px; padding: 14px 0 18px; margin-top: 14px; border-top: 1px solid rgba(51,39,31,.1); }
.yg-cc-meta span.item{ display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--yg-text); }
.yg-cc-meta span.price{ color: var(--yg-text-darker); font-weight: 700; }
.yg-cc-meta span.dot{ color: rgba(51,39,31,.22); }
.yg-cc-footnote{ font-size: 12.5px; line-height: 1.5; color: var(--yg-muted); margin: 10px 0 0; text-align: center; }
.yg-cc-footnote b{ color: var(--yg-accent); font-weight: 700; }

/* Tvorba card tags */
.yg-tags-label{ font-family: var(--yg-font-sans); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yg-sage); margin: 0 0 10px; }
.yg-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.yg-tags span{ font-size: 13px; color: var(--yg-text-darker); background: var(--yg-box-1); border-radius: 999px; padding: 7px 14px; }

@media (min-width: 900px){
  .yg-course-card .yg-cc-body{ padding: 26px; }
  .yg-course-card h3{ font-size: 25px; }
}

/* YogArt flow steps (icon boxes) */
.yg-steps{ display: flex !important; flex-direction: column !important; gap: 14px; }
.yg-step{ display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 16px; align-items: flex-start !important; }
.yg-step-body{ flex: 1 1 0% !important; min-width: 0 !important; }
.yg-step-num{ flex: none !important; width: 38px !important; height: 38px !important; border-radius: 12px !important; background: rgba(133,92,103,.12); color: var(--yg-accent); display: flex !important; align-items: center !important; justify-content: center !important; font-family: var(--yg-font-serif); font-size: 18px; }
/* color/font-family companion -- same wrapper-vs-content leak as above:
   the "1"/"2"/"3"/"4" digit is rendered via yg_heading($n, 'span'), a
   nested Heading widget, so it needs its own direct override rather than
   inheriting from ".yg-step-num". */
.yg-step-num .elementor-heading-title{ color: var(--yg-accent) !important; font-family: var(--yg-font-serif) !important; }
.yg-step-body{ padding-top: 3px; }
.yg-step-body h3{ font-family: var(--yg-font-sans) !important; font-weight: 700 !important; font-size: 15.5px; color: var(--yg-ink) !important; margin: 0 0 4px; }
.yg-step-body p{ font-size: 14px; line-height: 1.5; color: var(--yg-text); margin: 0; }
@media (min-width: 900px){ .yg-steps{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px 40px; } }

/* Price box (YogArt) */
.yg-price-box{ background: var(--yg-box-1); border-radius: 22px !important; padding: 24px 22px !important; }
.yg-price-row{ display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: baseline !important; margin-bottom: 4px; }
.yg-price-row .label{ font-family: var(--yg-font-serif); font-size: 22px; color: var(--yg-ink); }
.yg-price-row .amount{ font-family: var(--yg-font-serif); font-size: 22px; color: var(--yg-accent); }
.yg-price-box p.note{ font-size: 13.5px; line-height: 1.55; color: #7A6553; margin: 0 0 18px; }

/* Quote box (O mne) */
.yg-quote-box{ background: var(--yg-box-1); border-radius: 22px !important; padding: 26px 22px !important; }
.yg-quote-box .quote{ font-family: var(--yg-font-serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--yg-text-darker); margin: 0 0 14px; }
.yg-quote-box .lead-word{ font-family: var(--yg-font-serif); font-size: 26px; color: var(--yg-accent); margin: 0 0 4px; }
.yg-quote-box .sub{ font-family: var(--yg-font-serif); font-size: 26px; color: var(--yg-accent); margin: 0; }
@media (min-width: 900px){ .yg-quote-box{ padding: 44px 50px !important; } .yg-quote-box .quote{ font-size: 28px; max-width: 720px; } }

/* CTA band */
/* overflow:hidden !important -- same ".e-con{overflow:var(--overflow)}"
   fight as .yg-reasons-img (Domov), applied preventatively here too
   (2026-07-17 audit) since this is the identical Container-class pattern
   on O mne's CTA band. */
.yg-cta-band{ border-radius: 22px !important; overflow: hidden !important; padding: 28px 24px !important; display: flex !important; flex-direction: column !important; background: var(--yg-accent); }
.yg-cta-band.sage{ background: var(--yg-sage); }
.yg-cta-band h2{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 26px; line-height: 1.15; color: var(--yg-card) !important; margin: 0 0 10px; }
.yg-cta-band p{ font-size: 14.5px; line-height: 1.55; color: #F0E1E5; margin: 0 0 20px; }
.yg-cta-band.sage p{ color: #EEF0E4; }
@media (min-width: 900px){
  /* align-items/justify-content !important -- same native-Container fight
     as flex-direction above: Elementor's own ".elementor-element{
     align-items:var(--align-items) }" (var default "initial"/"normal")
     is a plain single-class rule tying our own on specificity, and won
     the tie (confirmed via getComputedStyle: alignItems/justifyContent
     both read "normal" instead of "center"/"space-between", stacking the
     CTA button awkwardly instead of aligning it on the right). */
  .yg-cta-band{ padding: 50px 60px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 40px; }
  .yg-cta-band-text{ max-width: 640px; }
  .yg-cta-band h2{ font-size: 32px; margin-bottom: 12px; }
  .yg-cta-band p{ margin-bottom: 0; font-size: 16px; }
  /* align-self:center !important -- overrides .yg-btn's own
     "align-self:flex-start !important" (needed there to stop buttons
     STRETCHING in column-direction contexts, see that rule's comment) --
     in THIS row-direction context flex-start instead pinned the button
     to the top of the row instead of vertically centering it with the
     heading/paragraph text next to it. */
  .yg-cta-band .yg-btn-cream{ flex: none !important; white-space: nowrap; align-self: center !important; }
}

/* Bio (O mne) */
/* overflow:hidden/margin-bottom !important -- same family, O mne bio photo
   (2026-07-17 preventative pass).
   2026-07-23 (v0.9.46): box was a FIXED-height (340/560px) object-fit:cover crop frame,
   tuned for the original placeholder photo's aspect ratio. Real photo (radka-vyrezana2.png,
   full-body forward bend, natural ratio ~683:1024) got its feet cropped off inside that fixed
   box (Maroš screenshot report). Fixed by dropping the fixed height + absolute/cover crop and
   letting the box auto-size to the image's natural aspect ratio instead (height:auto, static
   flow) -- shows the ENTIRE photo head-to-toe, no crop, rounded corners still clip via
   overflow:hidden on the (now exactly-image-sized) box. */
.yg-bio-img{ position: relative; border-radius: 22px !important; overflow: hidden !important; margin-bottom: 26px !important; }
.yg-bio-img > .elementor-widget-image{ position: static !important; }
.yg-bio-img img{ position: static !important; display: block !important; width: 100% !important; height: auto !important; object-fit: contain; }
.yg-bio p{ font-size: 15px; line-height: 1.62; color: var(--yg-text); margin: 0 0 15px; }
.yg-bio p.first{ font-size: 15.5px; color: var(--yg-text-dark); }
@media (min-width: 900px){
  .yg-bio-grid{ display: grid !important; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
  .yg-bio-img{ margin-bottom: 0 !important; }
}

/* Chips (methods) */
/* Rendered as ONE Text Editor widget holding all the <span> chips (a
   single rich-text block, not one Container per chip -- see build-page-
   omne.php) -- so spacing between chips comes from margin on the spans
   themselves (normal inline text wrap) rather than flex "gap" on a
   multi-child flex container, which would need every chip to be its own
   flex item/Container. Visually equivalent wrapped-pill layout either
   way. */
.yg-chips{ display: block !important; }
.yg-chips span{ display: inline-block; font-size: 13px; color: var(--yg-text-darker); background: var(--yg-card); border: 1px solid var(--yg-border); border-radius: 999px; padding: 8px 15px; margin: 0 8px 8px 0; }

/* Kontakt page */
.yg-wa-primary{ display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; padding: 18px 20px !important; border-radius: 18px !important; background: var(--yg-cta); color: #fff !important; margin-bottom: 12px; width: auto !important; align-self: flex-start !important; }
.yg-wa-primary svg{ flex: none !important; width: 26px !important; height: 26px !important; }
/* color:#fff !important directly on the spans (not just the anchor) --
   Hello Elementor's reset.css has a blanket "*, ::after, ::before{ color:
   rgb(0,0,0) !important }" that applies to EVERY element directly (not
   via inheritance), so setting color only on ".yg-wa-primary" itself
   doesn't reach its child <span> text nodes; confirmed via
   getComputedStyle the t1/t2 spans rendered a washed-out gray instead of
   white. A class selector on the spans themselves outranks the universal
   "*" selector's (0,0,0) specificity even though both are !important. */
.yg-wa-primary .t1, .yg-wa-primary .t2{ color: #fff !important; }
.yg-wa-primary .t1{ font-family: var(--yg-font-sans); font-weight: 800; font-size: 16px; display:block; }
.yg-wa-primary .t2{ font-size: 13px; opacity: .9; display:block; }
.yg-contact-row{ display: flex !important; flex-direction: column !important; gap: 10px; }
.yg-contact-item{ display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; padding: 16px 20px !important; border-radius: 16px !important; background: var(--yg-card); border: 1px solid var(--yg-border); }
.yg-contact-item .icon{ width: 40px !important; height: 40px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 18px; flex: none !important; }
.yg-contact-item .icon.mail{ background: rgba(133,92,103,.12); }
.yg-contact-item .icon.pin{ background: rgba(126,135,99,.16); }
.yg-contact-item .icon.phone{ background: rgba(190,126,84,.16); }
.yg-contact-item .label{ font-size: 12px; letter-spacing: .04em; color: var(--yg-muted); text-transform: uppercase; font-weight: 700; display:block; }
.yg-contact-item .value{ font-family: var(--yg-font-sans); font-weight: 700; font-size: 15px; color: var(--yg-ink); display:block; }
/* Sociálne siete card (2026-07-21) -- 2 icon links side by side inside one
   non-link .yg-contact-item (unlike mail/pin, where the whole card is one
   <a>). ".icon.fb"/".icon.ig" reuse the base 40px circle from
   ".yg-contact-item .icon" above via the same descendant selector, just add
   their own background tint (same rgba-tint convention as .icon.mail/.pin). */
.yg-social-links{ display: flex !important; flex-direction: row !important; gap: 8px; flex: none !important; width: auto !important; }
.yg-contact-item .icon.fb{ background: rgba(133,92,103,.12); }
.yg-contact-item .icon.ig{ background: rgba(126,135,99,.16); }
/* Mobile spacing fix (Maroš bug report 2026-07-06): .yg-contact-block only
   had a "gap" declared inside the desktop grid rule below -- on mobile it
   was a plain stacked block with no gap at all, so the "Časté otázky" H2
   landed flush against the previous column's last contact-item with zero
   breathing room. Original design source (Yogart Web.dc.html) has the H2's
   own margin at "0 0 16px" (no top value) on both breakpoints, so the fix
   belongs on the parent gap, not a magic-number margin on the heading
   itself (which would also shift it out of alignment with column 1 inside
   the desktop grid). Reset to 0 inside the desktop rule below, where the
   grid's own "gap:40px" already provides consistent column spacing. */
.yg-contact-block > div + div{ margin-top: 40px; }
@media (min-width: 900px){
  .yg-contact-block{ display: grid !important; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
  .yg-contact-block > div + div{ margin-top: 0; }
}

/* FAQ accordion */
.yg-faq{ display: flex !important; flex-direction: column !important; gap: 10px; }
/* overflow:hidden !important -- same family, Kontakt FAQ card
   (2026-07-17 preventative pass). */
.yg-faq-item{ background: var(--yg-card); border: 1px solid var(--yg-border); border-radius: 16px !important; overflow: hidden !important; }
.yg-page .yg-faq-q{ width: 100% !important; text-align: left; background: none; border: none; padding: 16px 18px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 12px; cursor: pointer; }
/* This one has no explicit type="button" attribute, so Hello's reset.css
   only reaches it via the lower-specificity "button:hover"/"button:focus"
   variant (already beaten by the (0,2,0) rule above) -- added anyway for
   consistency with every other <button> in the audit, in case the markup
   ever gains a type attribute. */
/* Visible feedback restored 2026-07-06 -- see .yg-burger note above.
   ".yg-faq-item" (the ancestor card) already clips to its own 16px rounded
   corners via overflow:hidden, so this doesn't need its own border-radius. */
.yg-page .yg-faq-q:hover,
.yg-page .yg-faq-q:focus,
.yg-page .yg-faq-q:active{ background: rgba(51,39,31,.14); outline: none; }
.yg-faq-q span.txt{ font-family: var(--yg-font-sans); font-weight: 700; font-size: 14.5px; color: var(--yg-ink); }
.yg-faq-q span.sign{ flex: none; font-size: 20px; color: var(--yg-accent); line-height: 1; }
.yg-faq-a{ font-size: 14px; line-height: 1.55; color: var(--yg-text); margin: 0; padding: 0 18px 18px; display: none; }
.yg-faq-item.is-open .yg-faq-a{ display: block; }

/* ---------------- Footer ---------------- */
/* Rebuilt 2026-07-16 (site-wide raw-HTML-widget audit) as native
   Container/Heading/Text Editor elements -- see build-footer.php.
   !important added throughout on display/flex-direction/align-items/
   justify-content/width/border-radius, applied PROACTIVELY (not
   discovered one-by-one via screenshot this time) based on the pattern
   established across every other page in this audit: a native Elementor
   Container always ties or loses to Elementor's own generic
   ".elementor-element{ ... }"/".e-con{ ... }" default rules for exactly
   these properties when our selector is a single class at (0,1,0)
   specificity, regardless of which one is more "correct" -- see
   yg-builder.php's top-of-file docblock and the .yg-prekoho-icon/.yg-
   hero-home/.yg-cta-band comments earlier in this file for the full
   empirical history of this fight. */
/* gap:0 !important -- 2026-07-17, third and last footer-height component
   (after the padding/margin-bottom fixes above): ".yg-footer" is a flex
   Container (display:flex, column) with exactly 2 children (".yg-footer-
   inner" and ".yg-footer-bottom"); yg_div() never sets an explicit "Gap"
   control (only "Padding", see yg-builder.php), so Elementor's own
   Container default filled it in as 20px -- confirmed via getComputedStyle
   (rowGap:20px locally vs "normal"/0 on new.yogart.sk). That 20px STACKED
   on top of ".yg-footer-bottom{ margin-top:30px }" (also intentional,
   design spacing), producing 50px of total gap between the nav and the
   copyright bar instead of the intended 30px -- the last ~24-27px of the
   "footer looks squished... er, TALLER than reference" measurement chain
   traced back to this (after fixing padding/margin/gap individually the
   height still overshot until this was found). Design relies on the
   margin-top alone for that spacing, so the Container's own flex gap must
   be zero. */
.yg-footer{ background: var(--yg-footer-bg); gap: 0 !important; }
/* padding/margin-bottom !important -- 2026-07-17 (Maroš side-by-side vs
   new.yogart.sk: footer measured 187px tall locally vs 263px on
   reference). Same root-cause FAMILY as the ".yg-section" margin/padding
   fix in CHANGELOG [0.9.21], but two different Elementor Default Kit
   rules doing it: an unconditional ".e-con-full, .e-con > .e-con-inner{
   padding-block-start/-end:var(...) }" (zeroes vertical padding) and an
   unconditional ".e-con{ margin-block-end:var(--margin-block-end) }"
   (zeroes margin-bottom) -- both logical-property rules in
   frontend.min.css, loaded after main.css, same specificity as our plain
   class rules, so on TIE the physical/logical property resolves to
   whichever was declared last in source order (Elementor's). Confirmed
   via getComputedStyle + a matching-CSSRule scan on ".yg-footer-inner"/
   ".yg-footer-logo" before this fix: computed padding/margin-bottom were
   both 0 despite these lines. !important forces ours to win regardless. */
.yg-footer-inner{ max-width: 1180px; margin: 0 auto !important; padding: 34px 24px 40px !important; }
.yg-footer-logo{ display: flex; flex-direction: row !important; align-items: center !important; gap: 11px !important; margin-bottom: 18px !important; }
/* gap:0 !important -- same "e-con default gap" family as ".yg-footer"
   above: this Container (logo + tagline stacked) never had its own "gap"
   rule at all, so it silently inherited Elementor's 20px default and
   stacked on top of ".yg-footer-logo{ margin-bottom:16px }", producing a
   36px gap above the tagline instead of 16px. */
.yg-footer-brand{ gap: 0 !important; }
/* Companion ".elementor-heading-title" selectors -- Heading widgets put
   "_css_classes" on the *.elementor-widget-container* wrapper, one level
   above the actual <span> text (same pattern as the header's
   ".yg-logo-mark, .yg-logo-mark .elementor-heading-title" fix from the
   0.9.7 rebuild); non-inherited props (display, margin-top) only reach
   the real text node via the second selector. */
.yg-footer-logo .mark, .yg-footer-logo .mark .elementor-heading-title{ font-family: var(--yg-font-serif); font-size: 24px; color: #C9A2AC; letter-spacing: 1px; white-space: nowrap; }
.yg-footer-logo .mark{ width: auto !important; flex: none !important; }
.yg-footer-logo .word, .yg-footer-logo .word .elementor-heading-title{ font-family: var(--yg-font-sans); font-weight: 800; font-size: 13px; letter-spacing: .22em; color: var(--yg-bg); display:block; }
.yg-footer-logo .sub, .yg-footer-logo .sub .elementor-heading-title{ font-family: var(--yg-font-serif); font-style: italic; font-size: 12px; color: #B7A68F; margin-top: 3px; display:block; }
.yg-footer-tagline{ display: none; }
/* Social icons (2026-07-21) -- own row below logo/tagline, always visible
   (unlike .yg-footer-tagline, shown on mobile too). Circle size/tint matches
   the Kontakt page's ".yg-contact-item .icon" convention, just recolored for
   the footer's dark background (light icon on a subtle translucent circle
   instead of a light card with a tinted circle). */
.yg-footer-social{ display: flex !important; flex-direction: row !important; gap: 10px; margin-top: 14px !important; }
.yg-footer-social-link{ width: 34px !important; height: 34px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; flex: none !important; background: rgba(255,255,255,.08); transition: background .2s ease; }
.yg-footer-social-link:hover{ background: rgba(255,255,255,.16); }
.yg-footer-nav{ display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 14px 20px !important; margin-bottom: 22px !important; }
.yg-footer-nav-col{ display: contents !important; }
/* width:auto/flex:none !important -- each nav link is its own Container
   (see build-footer.php's yg_footer_nav_link()); at mobile,
   ".yg-footer-nav-col{ display:contents }" makes each link a direct flex
   item of ".yg-footer-nav{ flex-wrap:wrap }", but a Container's own
   default width:100% (the same "e-con-full" fight documented throughout
   this file) made each link stack as a full-width block instead of
   wrapping several per row like the design's tag-style link list.
   ".yg-footer-nav a" (tag selector, reaches the real <a> regardless of
   nesting) covers both this and the original color/font rule. */
.yg-footer-nav a{ color: var(--yg-footer-text); font-family: var(--yg-font-sans); font-size: 14px; width: auto !important; flex: none !important; }
/* color companion -- same wrapper-vs-content leak as the .yg-btn-* fixes
   above: yg_footer_nav_link() renders each link's visible label through a
   nested Heading widget ("yg_heading($label, 'span')"), so ".yg-footer-
   nav a{ color:... }" alone only colors the outer <a> -- the actual
   visible text (a child span with its own ".elementor-heading-title"
   class) inherits that color and loses to Default Kit's rule. Confirmed
   via getComputedStyle: the <a> read the correct tan #D8C9B3, but the
   text INSIDE it (what actually renders) read Elementor's default blue
   -- a trap this file's own earlier ".yg-footer-nav a" companion-selector
   comment (just above, describing a different fix) did not close. */
.yg-footer-nav a .elementor-heading-title{ color: var(--yg-footer-text) !important; }
.yg-footer-nav a:hover, .yg-footer-nav a:hover .elementor-heading-title{ color: #fff; }
.yg-footer p.addr{ font-size: 12.5px; color: var(--yg-footer-muted); margin: 0; line-height: 1.5; }
.yg-footer-bottom{ display: none !important; }
@media (min-width: 900px){
  .yg-footer-inner{ padding: 50px 40px 0 !important; display: flex; flex-direction: row !important; align-items: flex-start !important; justify-content: space-between !important; gap: 40px !important; flex-wrap: wrap; }
  .yg-footer-brand{ max-width: 320px !important; }
  .yg-footer-logo{ margin-bottom: 16px !important; }
  .yg-footer-tagline{ display: block; font-size: 13.5px; color: var(--yg-footer-muted); margin: 0; line-height: 1.6; }
  /* width:auto/flex:none !important -- same "e-con-full{width:100%}"
     default fight as the mobile ".yg-footer-nav a" comment above (own
     class list confirms "e-con-full" is present on this Container),
     just one level up: without this, ".yg-footer-nav" itself claimed
     100% width of ".yg-footer-inner"'s content box before shrinking,
     measured 740px instead of hugging its own link content -- since
     ".yg-footer-inner" uses "justify-content:space-between" between 2
     items (brand/nav), an oversized nav item ate most of the free space
     instead of letting space-between push a content-sized nav block to
     the far right (confirmed via getComputedStyle: nav's "left" sat at
     641px locally vs 1159px on new.yogart.sk at an identical viewport). */
  .yg-footer-nav{ display: flex !important; gap: 44px !important; margin-bottom: 0 !important; width: auto !important; flex: none !important; }
  /* gap:12px !important -- same ".e-con" logical-property-default family
     as the padding/margin fixes above, this time on "gap" (Elementor's
     own Container default gap resolves to 20px here) -- confirmed via
     getComputedStyle: this column measured gap:20px instead of 12px,
     inflating the whole footer nav column (and so the whole footer) by
     24px (3 gaps x 8px) versus new.yogart.sk. */
  /* flex:none !important -- last piece of the nav-column fix above: once
     ".yg-footer-nav" stopped claiming "e-con-full" 100% width, its 2
     "-nav-col" children (default flex-shrink:1) shrank BELOW their own
     content's natural width to fit whatever leftover space "space-between"
     left for them -- "Ostatné akcie" (the longest label) wrapped to 2
     lines as a result (confirmed via getComputedStyle: column measured
     86px, exactly its shrunk <a>'s width, vs a single-line "Ostatné
     akcie" needing more). flex:none (0 0 auto) makes each column keep its
     natural max-content width instead of shrinking. */
  /* width:auto !important -- 2026-07-17 (Maroš/koordinátor site-wide boxed-
     width audit, full-page pass triggered by the pätička nav overflow
     report): this rule set "flex:none" but never "width", so Elementor's
     own ".e-con{ --width:100%; width:var(--width) }" default (completely
     unconditional, not even a tie -- we simply never contested "width" on
     this selector at all) won outright and forced EACH ".yg-footer-nav-
     col" to compute width:100% of its own (indeterminate) containing
     block. Confirmed via getComputedStyle + getBoundingClientRect: BOTH
     columns measured an identical, bogus 216px (should differ -- col 1
     has 4 links incl. "Ostatné akcie", col 2 has 3 shorter links) with
     col 2 (`Všetky kurzy`/`O mne`/`Kontakt`) starting past ".yg-footer-
     nav"'s own (also-collapsed) box edge, overflowing ~90px past the
     1180px boxed container and past the 1440px viewport itself -- the
     literal bug Maroš screenshotted. Same root cause FAMILY as the ".yg-
     footer-nav a{ width:auto !important }" fix two rules up (nav links
     inside each column already had this fix; the column wrapping them did
     not), just one level higher in the tree. With width:auto !important,
     flex:0 0 auto correctly resolves each column's flex-basis from its
     OWN content (max-content of its longest link) instead of 100% of an
     indeterminate parent -- columns now measure ~90-125px (matching
     new.yogart.sk) instead of 216px each, and ".yg-footer-nav" itself
     (also width:auto, also flex:none, one level up) in turn now correctly
     sizes to the sum of both real column widths + its 44px gap instead of
     collapsing to match only the first column. */
  .yg-footer-nav-col{ display: flex !important; flex-direction: column !important; gap: 12px !important; flex: none !important; width: auto !important; }
  .yg-footer-nav-col a{ font-size: 14.5px; }
  .yg-footer-simple{ display: none; }
  /* :has() -- 2026-07-17 (last piece of the footer-layout audit): hiding
     the inner "<p class="addr yg-footer-simple">" (via the rule directly
     above) does NOT remove its OUTER Elementor Text Editor widget from
     ".yg-footer-inner"'s flex layout -- build-footer.php's
     "yg_text('<p class=\"addr yg-footer-simple\">...')" call puts the
     class on the inner <p> only, the widget wrapper around it keeps
     "display:block" and stays a THIRD flex child alongside
     ".yg-footer-brand"/".yg-footer-nav". With 3 items,
     "justify-content:space-between" distributes space for 3, not 2 --
     confirmed via getComputedStyle + a children-array dump: the hidden
     widget still measured as a (0-width) flex participant sitting flush
     at the container's right edge, which pushed ".yg-footer-nav" into the
     MIDDLE slot instead of flush-right (measured left:641 vs
     new.yogart.sk's 1159 at an identical 1676px viewport/1180px
     container). Fully removing the wrapper from flex flow (not just its
     content) restores 2-item space-between (brand left / nav right). */
  .yg-footer-inner > *:has(.yg-footer-simple){ display: none !important; }
  .yg-footer-bottom{ display: block !important; border-top: 1px solid rgba(245,237,221,.1); margin-top: 30px !important; }
  .yg-footer-bottom-inner{ max-width: 1180px; margin: 0 auto !important; padding: 20px 40px !important; display: flex; flex-direction: row !important; justify-content: space-between !important; gap: 20px !important; flex-wrap: wrap; }
  .yg-footer-bottom-inner p{ font-size: 12.5px; color: var(--yg-footer-muted); margin: 0; }
}

/* Anchors: small breathing room above in-page jump targets (#joga-lekcie
   etc). Header stopped being sticky 2026-07-06 so this is no longer
   compensating for header overlap, just a comfortable offset. */
.yg-page [id]{ scroll-margin-top: 24px; }

/* ---------------- Back to top ---------------- */
/* Same ".yg-page" ancestor-prefix trick as .yg-burger (see note above it):
   Hello Elementor's reset.css "[type=button],[type=submit],button{...}" is
   (0,1,0), tying with a plain ".yg-back-to-top" and winning by source order
   (loads after main.css) — confirmed via the identical border/color bleed-
   through (pink outline button) seen on first render. Prefixing with
   ".yg-page" reaches (0,2,0) and reliably wins. */
.yg-page .yg-back-to-top{
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--yg-accent); color: #fff; box-shadow: 0 12px 26px -10px rgba(51,39,31,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.yg-page .yg-back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.yg-page .yg-back-to-top:hover,
.yg-page .yg-back-to-top:focus,
.yg-page .yg-back-to-top:active{ background: var(--yg-accent-dark); outline: none; }

/* ---------------- Single kurz (detail) ---------------- */
/* Elementor Pro Theme Builder "Single" template for the "kurzy" CPT, shared
   across all categories (joga/tvorenie/yogart/tabor/workshop/pobyt) — see
   .build-scripts/build-single-kurzy.php and the yg_course_single shortcode
   in wp-content/plugins/yogart-extras/includes/course-card.php. Reuses
   .yg-cc-tag, .yg-eyebrow, .yg-btn-wa, .yg-btn-outline-link, .yg-tags(-label)
   from elsewhere in this file rather than redefining them. */
/* Boxed hero: previously .yg-single-hero was flush against the viewport
   edges (edge-to-edge/full-bleed). Maroš (2026-07-15) asked for a "boxed"
   hero matching the rest of the site's container (max-width 1180px,
   padding 24px mobile / 40px desktop — same tokens as .yg-container). The
   -wrap element carries the max-width/padding/centering; .yg-single-hero
   itself keeps its own box (aspect-ratio + overflow:hidden) so the
   absolutely-positioned <img> still fills it edge-to-edge within the
   rounded box. */
.yg-single-hero-wrap{ max-width: 1180px; margin: 0 auto; padding: 24px 24px 0; }
@media (min-width: 900px){ .yg-single-hero-wrap{ padding: 40px 40px 0; } }
/* overflow:hidden/border-radius !important -- same family, Kurzy single
   hero photo (2026-07-17 preventative pass). */
.yg-single-hero{ position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden !important; background: var(--yg-cream-3); border-radius: 22px !important; }
.yg-single-hero img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yg-single-hero .yg-cc-tag{ top: 16px; left: 16px; }
/* Desktop: show the WHOLE photo at its own aspect ratio (landscape or portrait) — no crop, no side bars.
   The hero box shrink-wraps the image (rounded corners clip the image itself; the category tag stays top-left on it).
   Height is capped so a portrait photo doesn't push the page content far down. Higher specificity than Elementor's
   `.elementor img{height:auto;max-width:100%}` (loaded later). Mobile keeps the 4:3 cover crop. */
@media (min-width: 900px){
  .yg-single-hero-wrap .yg-single-hero{ aspect-ratio: auto; max-height: none; width: fit-content; max-width: 100%; margin: 0 auto; background: transparent; border-radius: 26px !important; }
  .yg-single-hero-wrap .yg-single-hero img{ position: static; display: block; width: auto; height: auto; max-width: 100%; max-height: min(720px, 85vh); object-fit: contain; }
}

.yg-single-body{ max-width: 720px; margin: 0 auto; padding: 28px 24px 60px; }
@media (min-width: 900px){ .yg-single-body{ padding: 56px 40px 90px; } }

.yg-single-body .yg-eyebrow{ margin-bottom: 8px; }
.yg-single-title{ font-family: var(--yg-font-serif); font-weight: 500; font-size: 32px; line-height: 1.08; color: var(--yg-ink); margin: 0 0 20px; letter-spacing: -.01em; }
@media (min-width: 900px){ .yg-single-title{ font-size: 46px; margin-bottom: 24px; } }

.yg-single-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 0; margin: 0 0 24px; border-top: 1px solid var(--yg-border); border-bottom: 1px solid var(--yg-border); }
.yg-single-meta span.item{ display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--yg-text); }
.yg-single-meta span.price{ color: var(--yg-text-darker); font-weight: 700; }
.yg-single-meta span.dot{ color: rgba(51,39,31,.22); }

.yg-single-cta{ margin-bottom: 30px; }
@media (min-width: 900px){ .yg-single-cta{ width: auto; display: inline-flex; padding: 16px 34px; font-size: 16px; } }

.yg-single-desc{ font-size: 16px; line-height: 1.65; color: var(--yg-text); }
.yg-single-desc p{ margin: 0 0 16px; }
.yg-single-desc p:last-child{ margin-bottom: 0; }

.yg-single-body .yg-tags-label{ margin-top: 28px; }

.yg-single-divider{ height: 1px; background: var(--yg-border); margin: 36px 0; }

.yg-single-extra{ font-size: 16px; line-height: 1.7; color: var(--yg-text); }
.yg-single-extra p{ margin: 0 0 16px; }
/* !important below: the "extra_content" WYSIWYG field is frequently
   populated by pasting content copied out of Elementor (see CHANGELOG) —
   the pasted markup keeps Elementor's own widget classes (e.g.
   `<h2 class="elementor-heading-title elementor-size-default">` inside a
   `.elementor-widget-heading` wrapper div). Elementor's site Kit CSS
   (wp-content/uploads/elementor/css/post-25.css) ships a same-page rule
   `.elementor-widget-heading .elementor-heading-title{ color: var(
   --e-global-color-primary ) }` (Elementor's default blue, #6EC1E4) at
   specificity 0,2,0 — higher than our plain `.yg-single-extra h2` (0,1,1),
   so it was winning and showing blue headings instead of the theme ink
   color. !important forces our color regardless of what markup/classes a
   future paste brings in. Also cover h1/h5/h6 defensively even though the
   current field only uses h2-h4. */
.yg-single-extra h1, .yg-single-extra h2, .yg-single-extra h3, .yg-single-extra h4, .yg-single-extra h5, .yg-single-extra h6{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; color: var(--yg-ink) !important; margin: 30px 0 14px; line-height: 1.15; }
.yg-single-extra h1{ font-size: 30px; }
.yg-single-extra h2{ font-size: 26px; }
.yg-single-extra h3{ font-size: 21px; }
.yg-single-extra h4{ font-size: 18px; }
.yg-single-extra h5, .yg-single-extra h6{ font-size: 16px; }
.yg-single-extra ul, .yg-single-extra ol{ margin: 0 0 16px; padding-left: 22px; color: var(--yg-text); }
.yg-single-extra li{ margin-bottom: 6px; }
.yg-single-extra strong, .yg-single-extra b{ color: var(--yg-text-darker); }
.yg-single-extra a{ color: var(--yg-accent) !important; text-decoration: underline; }
.yg-single-extra img{ max-width: 100%; height: auto; border-radius: 18px; margin: 8px 0 20px; display: block; }
.yg-single-extra .wp-embed-aspect-16-9{ position: relative; aspect-ratio: 16 / 9; height: auto; margin: 8px 0 20px; }
.yg-single-extra .wp-embed-aspect-16-9 iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 18px; border: none; }
.yg-single-extra .gallery{ display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 10px 0 24px; }
.yg-single-extra .gallery img{ width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; margin: 0; }

.yg-single-back{ margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 900px){ .yg-page .yg-back-to-top{ right: 32px; bottom: 32px; width: 50px; height: 50px; } }

/* ==========================================================================
   Native-widget conversion support (2026-07-16 site-wide raw-HTML-widget
   audit, see STATUS.md/CHANGELOG). Small additions needed only because a
   widget's own "_css_classes" control lands on the *.elementor-widget-
   container* wrapper one level above the real tag (see yg-builder.php
   docblock above yg_heading()/yg_text()/yg_icon_from_svg()) -- everything
   else reuses the ORIGINAL selectors unchanged because Container elements
   put classes directly on their real tag, and descendant selectors (the
   overwhelming majority in this file) reach straight through any extra
   .elementor-widget-container/.elementor-icon-wrapper layers regardless
   of nesting depth.
   ========================================================================== */

/* Art-directed hero picture (Domov): a native Image widget can't express
   <picture><source media="..."> art-direction (different crops, not just
   different sizes) with one widget, so it's built as two stacked absolute
   Image widgets, toggled by the same 900px breakpoint the original
   <source media="(min-width:900px)"> used. Flagged for Maroš per AGENTS.md
   rule 6 -- functionally identical output, but worth knowing this is a
   widget-count trade rather than a single Image control doing it. */
/* position:static !important -- Elementor gives every widget's own outer
   ".elementor-widget" wrapper "position:relative" by default. That
   wrapper sits directly between the real <img> and ".yg-hero-home", so
   it (not ".yg-hero-home" two levels up) became the CSS containing block
   for the img's "position:absolute;inset:0" -- and since the wrapper
   itself has no in-flow content (its only child is now out-of-flow) it
   collapsed to 0 height, so "height:100%" on the img resolved to 100% of
   0 = nothing (confirmed via getComputedStyle + a parent-chain walk: the
   wrapper measured position:relative/height:0, one level above that
   ".yg-hero-home" correctly measured 760px). Forcing the wrapper back to
   static removes it from the containing-block search, so the img's
   percentage sizing resolves against ".yg-hero-home" again, same as the
   original plain <img> (no intervening wrapper) did. */
.yg-hero-img-mobile{ display: block; position: static !important; }
.yg-hero-img-desktop{ display: none; position: static !important; }
@media (min-width: 900px){
  .yg-hero-img-mobile{ display: none; }
  .yg-hero-img-desktop{ display: block; }
}

/* Icon widget wrapper wrangling: Elementor's Icon widget nests the real
   <svg> three levels deep (.elementor-widget-container >
   .elementor-icon-wrapper > .elementor-icon > svg). Our chip classes
   (.yg-prekoho-icon, sizing/background/centering) sit on a plain
   Container we wrap around the Icon widget (Container classes land on
   the real tag, no wrapper) -- these rules make sure that Container's
   flex-centering reaches through Elementor's own wrapper divs to the
   actual icon, instead of just centering the (block, full-width) wrapper
   div itself. */
.yg-prekoho-icon .elementor-widget-container,
.yg-prekoho-icon .elementor-icon-wrapper{ display: flex; align-items: center; justify-content: center; }
.yg-prekoho-icon .elementor-icon{ display: flex; }

/* color:inherit !important -- Elementor's Default Kit compiles a PER-POST
   rule ".elementor-widget-icon.elementor-view-default .elementor-icon{
   color:var(--e-global-color-primary) }" (its own blue accent, #6EC1E4)
   for every Icon widget on the page, (0,3,0) specificity -- which starts
   winning over any of our custom icon coloring the moment an SVG relies
   on "currentColor" (all our hand-authored icons that aren't a literal
   hex/CSS-var stroke value do). Confirmed via getComputedStyle: all 4
   "Pre koho" chip icons AND the WhatsApp button icon rendered the exact
   same Elementor blue instead of their intended per-variant/context
   color. Scoped to ".yg-page" so it only touches our own hand-placed
   icons, not any future unrelated Icon widget a future editor might add
   deliberately wanting Elementor's own default color. */
.yg-page .elementor-widget-icon.elementor-view-default .elementor-icon,
.yg-page .elementor-widget-icon.elementor-view-framed .elementor-icon{ color: inherit !important; }

/* fill:none !important -- 2026-07-17 (Maroš screenshot: "Pre koho je
   YogArt" circle icons look different vs new.yogart.sk). Sibling bug to
   the color:inherit fix directly above, but on a DIFFERENT Elementor
   Default Kit selector that the color fix doesn't reach: ".elementor-
   widget-icon.elementor-view-framed .elementor-icon, .elementor-widget-
   icon.elementor-view-default .elementor-icon svg{ fill:var(--e-global-
   color-primary) }" -- note the second part of that selector list targets
   the <svg> itself (not ".elementor-icon"), setting "fill" directly.
   Confirmed via getComputedStyle: all 4 "Pre koho" icons' <svg> computed
   fill:rgb(110,193,228) (Elementor's default blue) despite each one's own
   markup declaring fill="none" on its root <svg> (a presentation
   attribute, which any CSS rule -- even with lower specificity --
   overrides). The icons are plain line-art (stroke-only, fill="none" by
   design, no filled areas), so the blue fill rendered as a filled blob
   behind/around the stroke lines instead of a clean outline. Scoped
   narrowly to ".yg-prekoho-icon"/".yg-squiggle" (NOT the broader ".yg-page
   .elementor-widget-icon..." selector the color fix uses) on purpose --
   ".yg-burger-icon"/".yg-back-to-top" already have their OWN correct
   ".elementor-icon svg{ fill:... !important }" overrides a few lines up
   (0.9.7-era) that set fill to a SPECIFIC color, not none; a broadly
   scoped "fill:none" rule with enough classes to out-specificity those
   would have silently made the hamburger/back-to-top icons invisible. */
.yg-prekoho-icon svg{ fill: none !important; }
.yg-squiggle{ fill: none !important; }
/* fill:none !important -- 2026-07-20 (Maroš screenshot: floral/branch subhero
   decoration on Joga/Tvorenie/YogArt rendered filled blue instead of thin
   sage-green line art). Same root cause as the "Pre koho" fix above:
   Elementor Default Kit's ".elementor-widget-icon.elementor-view-default
   .elementor-icon svg{ fill:var(--e-global-color-primary) }" (blue,
   rgb(110,193,228)) inherits down into this SVG's un-filled stroke-only
   <path> elements (the branch/stem line art, root <svg fill="none">, no
   per-path fill override) -- confirmed via getComputedStyle: 5 stroke-only
   paths computed fill:rgb(110,193,228) instead of "none", while the 4
   small filled leaf shapes (their own explicit fill="#8E9B6C" attribute)
   were unaffected. Targeted directly at the SVG's own baked-in class
   (".yg-subhero-branch", from the source file) rather than adding a new
   wrapper class -- shared across all 3 pages that use this icon. */
.yg-subhero-branch{ fill: none !important; }

/* font-family:var(--yg-font-sans) !important -- FOURTH widget type hit by
   the same Default Kit family of bugs (Icon above, Heading below, this is
   Text Editor), found via a follow-up probe after the Heading/button
   fixes 2026-07-16 (CHANGELOG [0.9.19]). Default Kit compiles
   ".elementor-widget-text-editor{ font-family:var(--e-global-typography-
   text-font-family), Sans-serif; font-weight:...; color:var(--e-global-
   color-text) }" on the WIDGET WRAPPER. Most of this file's paragraph
   rules (e.g. ".yg-hero-home p.yg-hero-lead", ".yg-intro p.lead",
   ".yg-prekoho-card p") set "color" directly on the <p> itself (so color
   is safe -- a direct rule always beats an ancestor's inherited value,
   specificity aside) but do NOT set "font-family" on the <p> at all,
   because the intent was always "just use the page's base sans font, no
   override needed". Without a rule matching the <p> directly for
   font-family, the browser inherits it from the NEAREST ancestor that has
   an explicit value for that property -- which is ".elementor-widget-
   text-editor" (Default Kit's rule), not ".yg-page" two levels further
   up. Confirmed via getComputedStyle: hero lead paragraph, intro lead
   paragraphs, and "Pre koho" card body copy all read "Roboto, sans-serif"
   instead of the intended Newsreader/Mulish stack -- essentially all
   Text-Editor-widget body copy sitewide. Scoped to ".yg-page" (not global)
   so a future editor's own deliberately-non-default Text Editor widget
   elsewhere isn't hijacked. A handful of paragraphs that DO want a
   different font set it directly on their own class with equal-or-higher
   specificity (e.g. ".yg-quote-box .quote{font-family:var(--yg-font-
   serif)}" targets the <p class="quote"> tag itself, not the wrapper) --
   those are unaffected by this ancestor-level default. */
.yg-page .elementor-widget-text-editor{ font-family: var(--yg-font-sans) !important; }

/* !important added to color/font-family/font-weight on every ".yg-* h1/h2/
   h3" heading rule below and above (.yg-hero-home h1, .yg-h2, .yg-subhero
   h1, .yg-page-h1, .yg-prekoho-card h3, .yg-reason-item h3, .yg-teaser h2,
   .yg-flow-box h2, .yg-step-body h3, .yg-cta-band h2) 2026-07-16, found by
   a post-hoc old-vs-new visual fidelity re-check (restoring the pre-
   rebuild _elementor_data for Domov and comparing screenshots side by
   side -- see CHANGELOG [0.9.19]). EXACT SAME root cause as the Icon fix
   directly above, just for Heading widgets: Elementor's Default Kit
   compiles a PER-POST rule ".elementor-widget-heading .elementor-heading-
   title{ font-family:var(--e-global-typography-primary-font-family),
   Sans-serif; font-weight:var(--e-global-typography-primary-font-weight);
   color:var(--e-global-color-primary) }" at (0,2,0) specificity, which
   beats every plain ".yg-xxx h1/h2/h3" descendant-selector rule (0,1,1) or
   single-class rule (0,1,0) in this file. Console-error sweeps and casual
   screenshot review never caught this because the layout/copy is
   otherwise correct -- only font-family (silently became "Roboto,
   Sans-serif" instead of the intended Newsreader serif) and color
   (silently became Elementor's default blue #6EC1E4 instead of the ink/
   card colors below) were wrong, on literally every native Heading widget
   on every rebuilt page. Confirmed fixed via the same visual re-check. */

/* Small alignment/spacing utilities standing in for one-off inline
   style="..." attributes the original HTML widgets used (Elementor
   Container has no free-form "style" control) -- kept intentionally tiny
   and generic rather than one bespoke class per page. */
/* !important -- same ".e-con-full{ text-align:var(--text-align) }" tie
   documented above (.yg-prekoho-head comment): this utility is applied
   directly as a Container's own css_classes on several pages (e.g.
   "yg-cards-wrap yg-tac" for the Domov/Joga/Tvorenie cards-section
   heading), so it needs the same !important to reliably win. */
.yg-tac{ text-align: center !important; }
.yg-mb-0{ margin-bottom: 0 !important; }
.yg-narrow-900{ max-width: 900px !important; margin: 0 auto !important; }
/* Shared H1 look for the simpler content pages (O mne/Termíny/Ostatné
   akcie/Kontakt) -- the original HTML repeated this exact inline style
   on each page's H1 (font/weight/size/line-height/color always
   identical, only margin-bottom varied slightly) rather than a shared
   class; consolidated here + a couple of margin utilities instead of
   4x the same inline style block. */
/* Companion ".elementor-heading-title" selector -- same wrapper-vs-content
   reason as the ".yg-h2" comment above (yg_page-h1 is also a Heading
   widget's own "_css_classes", landing on the wrapper div, not the h1). */
.yg-page-h1, .yg-page-h1 .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 40px; line-height: 1.05; color: var(--yg-ink) !important; margin: 0; }
.yg-mb-6{ margin-bottom: 6px !important; }
.yg-mb-10{ margin-bottom: 10px !important; }
.yg-mb-16{ margin-bottom: 16px !important; }
.yg-mb-30{ margin-bottom: 30px !important; }
.yg-pb-48{ padding-bottom: 48px !important; }
.yg-mt-24{ margin-top: 24px !important; }
/* "Časté otázky" (Kontakt) -- matches the exact inline style the original
   raw HTML used for this one heading (also identical to ".yg-flow-box h2"/
   ".yg-cta-band h2" font treatment, just not previously broken out into
   its own reusable class since only one page needed it standalone). */
.yg-h2-sm, .yg-h2-sm .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; font-size: 26px !important; color: var(--yg-ink) !important; }

/* Listing Grid empty state ("not found" message of JetEngine grids, rendered by [yg_empty_state]).
   The wrapper keeps JetEngine's .jet-listing-grid__items class (grid) -> force block + center. */
.jet-listing-not-found.jet-listing-grid__items{ display: block !important; max-width: 560px; margin: 8px auto 64px !important; padding: 38px 28px 32px !important; text-align: center; background: rgba(251,246,236,.65); border: 1px solid var(--yg-border); border-radius: 22px; }
.jet-listing-not-found .yg-empty::before{ content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--yg-cream-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%237E8763' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") center / 26px 26px no-repeat; }
.jet-listing-not-found .yg-empty-title{ font-family: var(--yg-font-serif); font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--yg-ink); margin: 0 0 8px; }
.jet-listing-not-found .yg-empty-text{ font-family: var(--yg-font-sans); font-size: 15px; line-height: 1.55; color: var(--yg-text); margin: 0 0 16px; }
.jet-listing-not-found .yg-empty-text:last-child{ margin-bottom: 0; }

/* Kontakt: Radka's photo above the WhatsApp button (same rounded-photo treatment as O mne's .yg-bio-img). */
.yg-contact-photo{ position: relative; border-radius: 22px !important; overflow: hidden !important; margin: 0 0 22px !important; }
.yg-contact-photo > .elementor-widget-image{ position: static !important; }
.yg-contact-photo img{ position: static !important; display: block !important; width: 100% !important; height: auto !important; }
/* Contact photo (0.9.74): shown WHOLE (no crop). Portrait photos are capped in height and the rounded box shrinks to the
   image width (otherwise the rounded corners would sit on an empty box wider than the photo). */
.yg-contact-photo{ width: fit-content !important; max-width: 100% !important; }
.yg-contact-photo .elementor-widget-image{ width: auto !important; }
.yg-contact-photo img{ width: auto !important; max-width: 100% !important; height: auto !important; max-height: 380px !important; object-fit: contain !important; }

/* ===== Kurzy Single template — native widgets (v0.9.62, replaces the [yg_course_single] shortcode markup) =====
   Same .yg-single-* classes as before. Dynamic Field widgets with "hide if empty" leave an EMPTY .elementor-widget wrapper
   in the DOM, hence the :has() rules that remove empty items (and their separators). */
.yg-single-hero .elementor-widget-image{ position: static; width: 100%; }
.yg-single-hero .yg-cc-tag.elementor-widget{ position: absolute !important; top: 16px; left: 16px; width: auto; z-index: 2; margin: 0; }
.yg-single-hero .yg-cc-tag .jet-listing-dynamic-field__content{ color: #fff; }
@media (max-width: 899.98px){
  /* mobile keeps the 4:3 cover crop; the old rule lost to Elementor's `img{height:auto}`, so the photo was taller than the box */
  .yg-single-hero .elementor-widget-image{ position: absolute; inset: 0; }
  .yg-single-hero-wrap .yg-single-hero img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
.yg-single-body > .yg-eyebrow{ margin-bottom: 8px; }
.yg-single-title .elementor-heading-title{ font-family: var(--yg-font-serif); font-weight: 500; font-size: 32px; line-height: 1.08; color: var(--yg-ink); margin: 0 0 20px; letter-spacing: -.01em; }
@media (min-width: 900px){ .yg-single-title .elementor-heading-title{ font-size: 46px; margin-bottom: 24px; } }
.yg-single-meta{ flex-wrap: wrap; border-top: 1px solid var(--yg-border); border-bottom: 1px solid var(--yg-border); margin: 0 0 24px; }
.yg-single-meta .elementor-widget:not(:has(.jet-listing-dynamic-field__content)){ display: none; }
.yg-single-meta .yg-meta-item{ width: auto; font-size: 14.5px; color: var(--yg-text); }
.yg-single-meta .yg-meta-item .jet-listing-dynamic-field__inline-wrap{ display: inline-flex; align-items: center; gap: 7px; }
.yg-single-meta .yg-meta-item:has(.jet-listing-dynamic-field__content) ~ .yg-meta-item:has(.jet-listing-dynamic-field__content)::before{ content: "\00b7"; color: rgba(51,39,31,.22); margin-right: 14px; }
.yg-single-meta .yg-meta-item:has(.jet-listing-dynamic-field__content) ~ .yg-meta-item:has(.jet-listing-dynamic-field__content){ display: inline-flex; align-items: center; }
.yg-meta-place .jet-listing-dynamic-field__inline-wrap::before, .yg-meta-time .jet-listing-dynamic-field__inline-wrap::before{ content: ""; width: 14px; height: 14px; flex: none; background: #9A8064; -webkit-mask: var(--yg-meta-icon) center / contain no-repeat; mask: var(--yg-meta-icon) center / contain no-repeat; }
.yg-meta-place{ --yg-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.yg-meta-time{ --yg-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.yg-single-meta .yg-meta-price{ color: var(--yg-text-darker); font-weight: 700; }
.yg-single-desc .jet-listing-dynamic-field__content{ font-size: 16px; line-height: 1.65; color: var(--yg-text); }
.yg-single-tags .jet-listing-dynamic-field__content, .yg-single-extra-wrap .jet-listing-dynamic-field__content{ display: block; }
/* vertical rhythm of the native Single body (Elementor's own widget/container margins win over our plain class rules, hence the longer selectors) */
.yg-single-body > .yg-eyebrow.elementor-widget{ margin-bottom: 8px !important; }
.yg-single-body > .yg-single-title.elementor-widget{ margin-bottom: 20px !important; }
.yg-single-body > .yg-single-meta{ margin-bottom: 24px; }
.yg-single-body > .yg-single-cta{ margin-bottom: 30px; }
.yg-single-body > .yg-single-back{ margin-top: 8px; }
.yg-single-title .elementor-heading-title{ margin: 0; }
.yg-single-meta .yg-meta-item{ line-height: 24px; }
@media (min-width: 900px){ .yg-single-body > .yg-single-title.elementor-widget{ margin-bottom: 24px !important; } }
/* centering is done natively (container align-items:center); children keep full width up to their max-width */
.yg-single-course > .yg-single-hero-wrap, .yg-single-course > .yg-single-body{ width: 100%; }
/* Heading inside the widget: Kit's `.elementor-widget-heading .elementor-heading-title` (blue, Roboto) is loaded after main.css */
.yg-single-body .yg-single-title .elementor-heading-title{ font-family: var(--yg-font-serif) !important; font-weight: 500 !important; color: var(--yg-ink) !important; line-height: 1.08; letter-spacing: -.01em; }
.yg-single-body > .yg-single-back{ width: auto; align-self: flex-start; }
.yg-single-desc .jet-listing-dynamic-field__inline-wrap, .yg-single-tags .jet-listing-dynamic-field__inline-wrap, .yg-single-extra-wrap .jet-listing-dynamic-field__inline-wrap{ display: block; }
.yg-single-desc .jet-listing, .yg-single-tags .jet-listing, .yg-single-extra-wrap .jet-listing{ display: block; }
/* narrow screens: items wrap onto their own lines, so a leading "·" would dangle at the start of a line -> no separators */
@media (max-width: 599.98px){ .yg-single-meta .yg-meta-item::before{ content: none !important; } }
/* WhatsApp icon (native Icon widget) in the Single CTA: white 18px, like the inline-SVG version on the course cards (Elementor's icon defaults are blue/50px) */
.yg-single-cta .elementor-icon{ color: #fff !important; font-size: 18px !important; line-height: 1; }
.yg-single-cta .elementor-icon svg{ fill: #fff !important; width: 18px !important; height: 18px !important; }
.yg-single-back .elementor-heading-title{ color: var(--yg-accent) !important; font-family: var(--yg-font-sans) !important; font-weight: 700 !important; font-size: 14px !important; line-height: 1.5; }

/* YogArt: two whole portrait photos side by side between the intro and the price box (0.9.75). Same rounded-photo treatment
   as .yg-contact-photo / .yg-bio-img; each photo shrinks to its own width, height capped so the pair stays compact. */
.yg-photo-pair{ max-width: 1180px; margin: 0 auto !important; padding: 36px 24px 0 !important; }
.yg-photo-item{ position: relative; width: fit-content !important; max-width: 100% !important; flex: none !important; border-radius: 22px !important; overflow: hidden !important; }
.yg-photo-item .elementor-widget-image{ width: auto !important; }
.yg-photo-item img{ display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; max-height: 440px !important; }
@media (max-width: 640px){
  .yg-photo-pair{ flex-direction: column !important; align-items: center !important; padding-top: 28px !important; }
  .yg-photo-item img{ max-height: 380px !important; }
}

/* Keyboard focus ring (0.9.76): Hello Elementor's reset draws a black 2px outline + white 4px ring on every a/button
   :focus-visible (e.g. the Kontakt phone card, which is a link). Replace it with a brand-coloured ring that follows the
   element's rounded corners. Kept (not removed) so keyboard users still see where the focus is. Specificity (0,1,2) beats the
   reset's (0,1,1). */
body a:focus-visible, body button:focus-visible, body [tabindex]:not([tabindex="-1"]):focus-visible{ box-shadow: none; outline: 2px solid var(--yg-accent); outline-offset: 3px; }
