/*
Theme Name: Domee.app (Safe)
Description: Moderní WordPress theme pro Domee.app - Safe verze bez produkčních funkcí
Author: Domee Team
Version: 1.2.57
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domee

================================================================================
CSS ARCHITECTURE - BEM METHODOLOGY
================================================================================

BLOCK: Component (e.g., .site-header, .glass-card, .btn)
ELEMENT: Part of block (e.g., .site-header__logo, .glass-card__title)
MODIFIER: Variant of block/element (e.g., .btn--primary, .glass-card--dark)

NAMING CONVENTION:
- Block: .block-name
- Element: .block-name__element-name
- Modifier: .block-name--modifier-name OR .block-name__element-name--modifier-name

EXAMPLES:
- .site-header (block)
- .site-header__logo (element)
- .btn (block)
- .btn--primary (modifier)
- .glass-card (block)
- .glass-card--dark (modifier)

================================================================================
PERFORMANCE OPTIMIZATIONS
================================================================================

1. CSS Custom Properties for consistent theming
2. Critical CSS inlined in <head>
3. Lazy loading for non-critical styles
4. Optimized glass morphism effects
5. Reduced motion support
6. High contrast mode support

================================================================================
ACCESSIBILITY FEATURES
================================================================================

1. WCAG 2.1 AA compliance
2. Keyboard navigation support
3. Screen reader compatibility
4. High contrast mode
5. Reduced motion support
6. Focus indicators
7. Skip to content link

================================================================================
RESPONSIVE BREAKPOINTS
================================================================================

- Mobile: 0-768px
- Tablet: 769px-1024px
- Desktop: 1025px+

================================================================================
*/

/* CSS Custom Properties */
:root {
    --color-primary: #F39C12;
    --color-secondary: #27AE60;
    --color-dark: #2C3639;
    --color-light: #F5F5F5;
    --color-gray: #6C757D;
    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Mléčné sklo (hlavička, rozbalovací menu, mobilní panel). Jemný blur s umírněnou
       sytostí + světlý okraj + zrno: blur 100px se saturate 180% dělal z pozadí barevnou
       šmouhu. Zrno je SVG šum na 4 % - bez něj sklo působí jako plastová fólie. */
    --milk-bg: rgba(255, 253, 249, 0.66);
    --milk-bg-strong: rgba(255, 253, 249, 0.86);
    --milk-blur: blur(22px) saturate(140%);
    --milk-border: rgba(255, 255, 255, 0.75);
    --milk-shadow: 0 0 0 1px rgba(44, 54, 57, 0.05), 0 12px 32px -12px rgba(44, 54, 57, 0.22), 0 2px 6px -2px rgba(44, 54, 57, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* Tokeny vzhledu (6. 10. 2026, maketa design/components/ikony-tokeny-navrhy.html):
       tři stupně zaoblení, dva stíny, jemný obrys místo šedých rámečků, tlačítka. */
    --radius-xs: 6px;    /* drobnosti: fajfky, malé štítky, náhledy */
    --radius-s: 10px;    /* ovládací prvky: tlačítka, vstupy, odkazy, ikonové čtverečky */
    --radius-m: 16px;    /* karty, boxy, formuláře */
    --radius-l: 24px;    /* velké panely: hero, sekce, lišta, tabulky */
    --radius-pill: 999px;
    --shadow-1: 0 1px 2px rgba(44, 54, 57, 0.06), 0 4px 16px -6px rgba(44, 54, 57, 0.12);
    --shadow-2: 0 2px 4px rgba(44, 54, 57, 0.06), 0 14px 32px -12px rgba(44, 54, 57, 0.22);
    --ring: 0 0 0 1px rgba(44, 54, 57, 0.06);
    /* Recept karty - jediné místo, kde se mění vzhled všech karet a panelů v blocích
       (pravidla pro nové bloky: CLAUDE.md, „Karty a panely"). Jeden stín pro všechny karty,
       obrys je prstenec ve stínu (karty nemají rámeček). Bez skla a šikmých přechodů. */
    --karta-bg: #fff;
    --karta-stin: 0 1px 2px rgba(44, 54, 57, 0.06), 0 10px 28px -12px rgba(44, 54, 57, 0.2), var(--ring);
    --karta-stin-hover: var(--shadow-2), var(--ring);
    --karta-linka: rgba(44, 54, 57, 0.12); /* vnořené boxy uvnitř karty (bez stínu) */
    --karta-okraj-mobil: 20px; /* okraj karet od kraje obsahu na mobilu */
    --pole-linka: rgba(44, 54, 57, 0.15); /* linka formulářových polí (input, textarea, pole odběru) */
    --btn-primary-bg: linear-gradient(180deg, #F5A524 0%, #EE9410 100%);
    --btn-primary-bg-hover: linear-gradient(180deg, #F29A16 0%, #E2870A 100%);
    --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(180, 95, 0, 0.25), 0 6px 14px -6px rgba(243, 156, 18, 0.55);
    --btn-primary-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 4px rgba(180, 95, 0, 0.25), 0 10px 20px -8px rgba(243, 156, 18, 0.6);
    --btn-secondary-shadow: 0 0 0 1px rgba(44, 54, 57, 0.12), 0 1px 2px rgba(44, 54, 57, 0.08);
    --btn-secondary-shadow-hover: 0 0 0 1px rgba(44, 54, 57, 0.2), 0 4px 10px -4px rgba(44, 54, 57, 0.18);
    --milk-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.21 0 0 0 0 0.22 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    /* Zrno pro tmavé povrchy (patička) - bílé tečky s nízkou průhledností, „matný materiál" */
    --zrno-tmave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --glass-blur: blur(15px);
    --glass-border: rgba(255, 255, 255, 0.5);
    --header-bg: rgba(255, 255, 255, 0.75);
    --header-blur: blur(20px);
    --header-border: rgba(255, 255, 255, 0.2);
    --section-padding: 60px 0;
    --container-padding: 0 20px;
    --grid-gap: 32px;
    /* Shared radii, shadows and transitions (were previously outside :root) */
    --border-radius: var(--radius-s);
    --border-radius-lg: var(--radius-m);
    /* Starší tokeny stínů - přesměrované na recept karty, ať všechna místa, která je ještě
       používají (šablony, starší bloky), vypadají stejně. Nové CSS: --karta-stin*. */
    --shadow-sm: var(--karta-stin);
    --shadow-md: var(--karta-stin);
    --shadow-lg: var(--karta-stin-hover);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Performance optimizations */
    --glass-performance: will-change transform;
    --glass-transform: translateZ(0);
    /* Modern gradient colors using brand colors (inspired by OpenAI style) */
    --gradient-orange: #F39C12;
    --gradient-orange-dark: #E67E22;
    --gradient-green: #27AE60;
    --gradient-green-light: #2ECC71;
    --gradient-orange-soft: rgba(243, 156, 18, 0.2);
    --gradient-green-soft: rgba(39, 174, 96, 0.15);
    /* Modern gradient combinations with brand colors */
    --gradient-modern: linear-gradient(90deg, #F39C12 0%, #E67E22 30%, #27AE60 70%, #2ECC71 100%);
    --gradient-modern-soft: linear-gradient(90deg, rgba(243, 156, 18, 0.2) 0%, rgba(230, 126, 34, 0.15) 30%, rgba(39, 174, 96, 0.15) 70%, rgba(46, 204, 113, 0.2) 100%);
    --gradient-modern-diagonal: linear-gradient(135deg, #F39C12 0%, #E67E22 30%, #27AE60 70%, #2ECC71 100%);
    --gradient-brand-smooth: linear-gradient(90deg, #F39C12 0%, #E67E22 50%, #27AE60 100%);
}

/* Mobile CSS Variables - UNIFIED STANDARDS */
@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
        --section-padding: 40px 0;
        --grid-gap: 20px;
        --block-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        --block-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
        --block-border-radius: 16px;
    }
}

/* Mobile-optimized glass properties */
@media (max-width: 768px) {
    :root {
        --glass-blur: blur(10px);
        --header-blur: blur(15px);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    :root {
        --glass-blur: blur(5px);
        --header-blur: blur(8px);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    color: var(--color-dark);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
}

/* Jemné radiální přechody (sjednoceno s Domee Akademie) na pevné vrstvě velikosti okna.
   Dřív byly přímo na body: přechod 3-4 % roztažený přes celou výšku stránky (5000+ px)
   prohlížeč kreslil po dlaždicích a v něm vznikaly viditelné obdélníky a fleky (i pod
   kartami a formuláři). Na vrstvě velikosti okna vypadá stejně a čistě. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(at 20% 20%, rgba(243, 156, 18, 0.04) 0px, transparent 50%),
        radial-gradient(at 80% 15%, rgba(243, 156, 18, 0.03) 0px, transparent 50%),
        radial-gradient(at 15% 70%, rgba(243, 156, 18, 0.025) 0px, transparent 50%),
        radial-gradient(at 85% 80%, rgba(243, 156, 18, 0.035) 0px, transparent 50%);
}

/* Typography - Unified Standards */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

/* H1 only in hero sections - 42px */
h1 {
    font-size: 42px;
}

/* H2 for all other blocks - unified 36px */
h2 {
    font-size: 36px;
}

/* H3 - unified 32px */
h3 {
    font-size: 32px;
}

/* H4 - 20px */
h4 {
    font-size: 20px;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Paragraph - unified 16px */
p {
    margin-bottom: 1rem;
    color: var(--color-gray);
    font-size: 16px;
    line-height: 1.6;
}


a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #E67E22;
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Article Container - FULL WIDTH */
.article-container {
    max-width: 100%;
    width: 100%;
}


/* Mobile Responsive */


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Pagination - FIXED STYLING */
.blog-pagination {
    margin: 60px 0 40px 0;
    text-align: center;
}

.blog-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-s);
    background: var(--glass-bg);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    min-width: auto;
    padding: 0 16px;
}

.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    color: white;
}

/* Mobile pagination */
@media (max-width: 768px) {
    .blog-pagination .pagination {
        gap: 6px;
    }

    .blog-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .blog-pagination .page-numbers.prev,
    .blog-pagination .page-numbers.next {
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Features Section & Feature Item - MOBILE CENTERED LAYOUT */


/* EXTRA WIDE MOBILE OPTIMIZATION - MAXIMUM WIDTH */
@media (max-width: 768px) {

    /* CSS Variables - BALANCED PADDING for better spacing */
    :root {
        --container-padding: 0 30px;
        --section-padding: 30px 0;
        --grid-gap: 16px;
    }

    /* Main containers - maximum width */
    .site-main {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0 4px;
    }

    .article-container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Content - full width */
    .entry-content,
    .post-content,
    .page-content,
    .wp-block-post-content {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }


}

/* Header */
.site-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 12px 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    border-radius: var(--radius-l);
}

/* Sklo lišty je na pseudo-vrstvě, NE na .header-content. Prvek s backdrop-filter
   (stejně jako s transform) se stává „backdrop root" i obalem pro position: fixed -
   rozbalovací menu a mobilní panel uvnitř pak rozmazávaly jen obsah lišty, ne stránku,
   a sklo v nich nešlo udělat (proto byly neprůhledné). */
.header-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--milk-noise), var(--milk-bg);
    backdrop-filter: var(--milk-blur);
    -webkit-backdrop-filter: var(--milk-blur);
    border: 1px solid var(--milk-border);
    box-shadow: var(--milk-shadow);
    pointer-events: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    flex: 1;
    justify-content: flex-end;
}

/* Hide secondary CTA on mobile when only one button */
@media (max-width: 1155px) {

    .header-right .cta-login,
    .header-right .cta-primary,
    .header-right .header-login-link {
        display: none;
    }
}

.main-navigation {
    background: transparent;
    margin-right: 10px;
}

.mobile-cta-wrapper {
    display: none !important;
}

.nav-menu {
    background: transparent;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-dark);
    transition: var(--transition);
    font-weight: 700;
    outline: none;
}

.logo:focus {
    outline: none;
    /* Remove focus outline */
}

/* Custom Logo Styles - High Resolution Support */
.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    outline: none;
    /* Remove focus outline */
}

.custom-logo-link:hover {
    transform: scale(1.02);
}

.custom-logo-link:focus {
    outline: none;
    /* Remove focus outline */
}

.custom-logo-link img {
    max-width: 160px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Ensure logo maintains aspect ratio and quality */
.custom-logo-link img {
    display: block;
    border: none;
    outline: none;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .custom-logo-link img {
        max-width: 160px;
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .custom-logo-link img {
        max-width: 140px;
        max-height: 35px;
    }
}

.logo:hover {
    transform: scale(1.02);
}

.logo-container {
    position: relative;
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.logo-back,
.logo-left,
.logo-right {
    position: absolute;
    transition: var(--transition);
}

.logo-back {
    width: 20px;
    height: 20px;
    background: var(--color-dark);
    top: 8px;
    left: 0;
    border-radius: 3px;
}

.logo-left {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    top: 8px;
    left: 8px;
    z-index: 2;
    border-radius: 3px;
}

.logo-right {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 16px solid var(--color-secondary);
    top: 0;
    left: 4px;
    z-index: 3;
}

.logo:hover .logo-back {
    transform: scale(1.05);
}

.logo:hover .logo-left {
    transform: scale(1.05);
}

.logo:hover .logo-right {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
}

.logo-text .app-part {
    color: var(--color-primary);
}

/* GLOBAL MENU STYLING - FORCE ROUNDED EVERYWHERE */
.nav-menu a,
.nav-menu .current-menu-item>a,
.nav-menu .current_page_item>a,
.nav-menu .current-menu-ancestor>a,
.nav-menu .active-menu-item,
.nav-menu li.active-menu-item>a,
.cta-button {
    border-radius: var(--border-radius) !important;
}

/* Navigation - Modern veed.io inspired */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(44, 54, 57, 0.85);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: var(--radius-s);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(44, 54, 57, 0.05);
    color: rgba(44, 54, 57, 1);
    box-shadow: none;
}

/* Úzký desktop (1156-1320 px): položky se do lišty nevešly (až o 111 px při 1160 px)
   a ikona přihlášení vyjížděla ze skla. Menší mezery a vnitřní okraje to srovnají. */
@media (min-width: 1156px) and (max-width: 1320px) {
    .header-content {
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-navigation {
        margin-right: 0;
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-menu a {
        padding: 10px 12px;
    }

    .header-right .cta-button {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Nadtitulek nad nadpisem sekce - pole „Nadtitulek" v blocích Hero, USPs, FAQ
   a styl odstavce „Nadtitulek" (core/paragraph) pro běžné nadpisy. Bez čárky. */
.domee-nadtitulek.domee-nadtitulek,
p.is-style-domee-nadtitulek.is-style-domee-nadtitulek {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #C47A07;
}

/* Animace při scrollu (assets/js/animace.js) - třídy přidává jen JS */
@media (prefers-reduced-motion: no-preference) {
    .domee-anim {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
    }

    .domee-anim.je-videt {
        opacity: 1;
        transform: none;
    }
}

/* Čárové ikony šablony (inc/icons.php, domee_ikona) - velikost podle písma okolí */
.domee-ikona {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.125em;
}

/* Zúžená lišta po odscrollování (desktop). Třídu .scrolled dává main.js (handleScroll)
   od 100 px. Méně zakrývá obsah. --domee-hlavicka-dole = spodní hrana lišty, podle ní
   se lepí sticky prvky pod lištou (např. hlavička srovnání v ceníku). */
:root {
    --domee-hlavicka-dole: 88px;
}

@media (min-width: 1156px) {
    .site-header {
        transition: padding 0.25s ease;
    }

    .header-content {
        transition: padding 0.25s ease, max-width 0.25s ease, border-radius 0.25s ease;
    }

    .custom-logo-link img,
    .nav-menu > li > a,
    .header-right .cta-button {
        transition: padding 0.25s ease, max-height 0.25s ease, font-size 0.25s ease, background-color 0.2s ease, color 0.2s ease;
    }

    body:has(.site-header.scrolled) {
        --domee-hlavicka-dole: 67px;
    }

    .site-header.scrolled {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-header.scrolled .header-content {
        max-width: 1180px;
        padding: 8px 10px 8px 22px;
        border-radius: var(--radius-l);
    }

    .site-header.scrolled .custom-logo-link img {
        max-height: 34px;
    }

    .site-header.scrolled .nav-menu > li > a {
        padding: 8px 13px;
        font-size: 14.5px;
    }

    .site-header.scrolled .header-right .cta-button {
        padding: 10px 18px;
        font-size: 14.5px;
    }
}

/* AKTIVNÍ POLOŽKA - decentní brand podbarvení, bez stínu.
   Bílá výplň se stínem se na světlém pozadí hlavičky tvářila jako
   vystouplé tlačítko a přebíjela CTA. */
.nav-menu .current-menu-item>a,
.nav-menu .current_page_item>a,
.nav-menu .current-menu-ancestor>a,
.nav-menu .active-menu-item,
.nav-menu li.active-menu-item>a {
    background: rgba(243, 156, 18, 0.12);
    color: var(--color-dark);
    font-weight: 600;
    box-shadow: none;
    border-radius: var(--radius-s);
}

.nav-menu .current-menu-ancestor:not(.current-menu-item)>a {
    background: rgba(243, 156, 18, 0.07);
    color: rgba(44, 54, 57, 0.9);
    font-weight: 500;
    box-shadow: none;
    border-radius: var(--radius-s);
}

/* Ikonka odkazu mimo web - třídu "menu-item-externi" má položka menu, kde je
   v administraci zapnuté "Odkaz otevřít mimo web", ale nikdy k ní nebyla
   ikona domalovaná (třída se nastavuje už od 30. 8. 2026, sama nic nekreslí).
   Stejná šipka jako u externích karet v domee/link-cards, kvůli konzistenci. */
li.menu-item-externi>a::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236C757D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5 10.5 5.5'/%3E%3Cpath d='M6 5.5h4.5V10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    width: 44px;
    height: 44px;
}

.menu-toggle:hover {
    background: rgba(243, 156, 18, 0.1);
}

.hamburger-line {
    display: block;
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
}

.menu-toggle .hamburger-line:nth-child(1) {
    top: 14px;
}

.menu-toggle .hamburger-line:nth-child(2) {
    top: 21px;
}

.menu-toggle .hamburger-line:nth-child(3) {
    top: 28px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle.active {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* CTA Buttons - Modern veed.io inspired */
.cta-button {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
    border: none;
}

/* Secondary button - outlined green style (Prohlédnout demo) */
.cta-login {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary) !important;
    border: 2px solid var(--color-secondary);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
}

.cta-login:hover {
    background: var(--color-secondary);
    color: white !important;
    border-color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.25);
    transform: translateY(-2px);
}

/* Primary button - orange gradient style (Spustit test) */
.cta-primary {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
    color: white !important;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
    border: none;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
}

.cta-primary:active,
.cta-login:active {
    transform: translateY(0);
}


/* Compact header login link (icon above text, very lightweight) */
.header-login-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    padding: 0 0 0 14px;
    border: none;
    background: transparent;
    white-space: nowrap;
    border-left: 1px solid rgba(108, 117, 125, 0.25);
    /* subtle vertical divider */
    outline: none;
    /* remove gold focus rectangle */
}

.header-login-link:hover,
.header-login-link:focus {
    color: var(--color-secondary);
    outline: none;
}

.header-login-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(108, 117, 125, 0.35);
    /* light gray outline */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background: transparent;
}

.header-login-svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Hover efekt pro login ikonu */
.header-login-link:hover .header-login-icon {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: var(--color-secondary);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.25);
}

/* ================================================
   SVJ INFO SECTION STYLES
   ================================================ */


/* Mobile Responsive for SVJ Info Section */


/* SVJ Contact Form */
.svj-contact-form {
    margin: 30px 0;
}


.svj-contact-form .form-field {
    display: flex;
    flex-direction: column;
}

.svj-contact-form .form-field label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-size: 15px;
}

.svj-contact-form .form-field input {
    padding: 14px 18px;
    border: 2px solid rgba(44, 54, 57, 0.15);
    border-radius: var(--radius-s);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-family: inherit;
}

.svj-contact-form .form-field input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
    background: rgba(255, 255, 255, 1);
}

.svj-contact-form .form-field input::placeholder {
    color: rgba(44, 54, 57, 0.5);
}

.svj-contact-form .cta-button {
    background: linear-gradient(135deg, var(--color-primary) 0%, #E67E22 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-s);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    min-width: 200px;
}

.svj-contact-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
    background: linear-gradient(135deg, #E67E22 0%, var(--color-primary) 100%);
}

.svj-contact-form .cta-button:active {
    transform: translateY(0);
}


/* Success Message */
.svj-success-message {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius-m);
    padding: 15px 20px;
    margin-bottom: 20px;
    color: var(--color-secondary);
    text-align: center;
    font-weight: 500;
}

/* Error Message */
.form-error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: var(--radius-m);
    padding: 12px 20px;
    margin: 15px 0;
    color: #e74c3c;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

/* Error Field Styling */
.svj-contact-form .form-field input.field-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {


    .svj-contact-form .cta-button {
        width: 100%;
        padding: 18px;
        min-width: auto;
    }

}


/* SVJ Info Section - END */

/* Footer */
.site-footer {
    /* Matná patička se světlem značky (maketa design/components/paticka-navrhy.html, var. B,
       6. 10. 2026): zrno + měkká oranžová záře vlevo nahoře a zelená vpravo dole. Dřív plochý
       přechod s backdrop-filter, který na patičce nebyl vidět (pod ní nic neprojíždí). */
    background:
        var(--zrno-tmave),
        radial-gradient(60% 80% at 8% 0%, rgba(243, 156, 18, 0.16) 0%, transparent 60%),
        radial-gradient(55% 70% at 100% 100%, rgba(39, 174, 96, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, #2E383B 0%, #252D30 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: white;
    padding: 80px 0 40px 0;
    margin-top: 100px;
    border-top: none;
    border-radius: 60px 60px 0 0; /* záměrný velký oblouk patičky, ne token */
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.55), transparent);
}

/* Na mobilu je logo vlevo nahoře přímo v oranžové záři - záři posunout od loga ke středu,
   aby oranžový čtverec loga nesplýval s pozadím. */
@media (max-width: 768px) {
    .site-footer {
        background:
            var(--zrno-tmave),
            radial-gradient(90% 45% at 55% 0%, rgba(243, 156, 18, 0.14) 0%, transparent 65%),
            radial-gradient(80% 45% at 100% 100%, rgba(39, 174, 96, 0.12) 0%, transparent 60%),
            linear-gradient(180deg, #2E383B 0%, #252D30 100%);
    }
}

/* Mobile footer optimization */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 30px 0;
        margin-top: 60px;
        border-radius: 40px 40px 0 0;
    }

    .footer-content {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .footer-bottom-content {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo:hover {
    transform: scale(1.02);
    color: var(--color-primary);
}

.footer-logo.custom-logo-link img {
    max-width: 180px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo-img {
    max-width: 180px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo:hover.custom-logo-link img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(5deg);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.02);
}

/* Footer custom logo (separate from menu logo) - HIGHER SPECIFICITY */
.footer-logo.footer-custom-logo .footer-logo-img {
    filter: none !important;
    /* Remove any filters for custom footer logo */
}

.footer-logo.footer-custom-logo:hover .footer-logo-img {
    filter: none !important;
    /* Remove any filters for custom footer logo on hover */
    transform: scale(1.02);
}

/* Ensure custom footer logo is always visible - HIGHEST SPECIFICITY */
.footer-logo.footer-custom-logo img {
    filter: none !important;
}

/* Override any other logo styles for footer custom logo */
.footer-custom-logo img,
.footer-custom-logo .footer-logo-img {
    filter: none !important;
}

/* ULTIMATE OVERRIDE - nejvyšší specificita pro custom footer logo */
footer .footer-logo.footer-custom-logo img,
footer .footer-logo.footer-custom-logo .footer-logo-img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
}

/* Force white logo in footer */
footer .footer-custom-logo img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
}

/* NUCLEAR OPTION - přepíše všechno */
.footer-logo.footer-custom-logo img,
.footer-logo.footer-custom-logo .footer-logo-img,
.footer-custom-logo img,
.footer-custom-logo .footer-logo-img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
}

/* Override any existing filter rules */
.footer-logo img[style*="filter"] {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
}

/* SAMOSTATNÉ FOOTER LOGO - nejvyšší priorita */
.footer-branding .footer-logo.footer-custom-logo img,
.footer-branding .footer-logo.footer-custom-logo .footer-logo-img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
    max-width: 180px !important;
    max-height: 45px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Zajistíme, že footer logo není ovlivněno žádnými jinými pravidly */
.footer-branding .footer-custom-logo img {
    filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
}

.footer-description {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 20px 0 0 0;
    font-size: 15px;
    max-width: 380px;
}

/* Footer Language Selector (Dropdown) */
.footer-lang-selector {
    position: relative;
    display: inline-block;
    margin-top: 25px;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.lang-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.lang-flag {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
}

.lang-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.footer-lang-selector:hover .lang-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.lang-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    min-width: 160px;
    background: rgba(44, 54, 57, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-m);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

/* Trojúhelníček pod menu */
.lang-dropdown-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(44, 54, 57, 0.95) transparent transparent transparent;
}

.footer-lang-selector:hover .lang-dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-dropdown-menu li a:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--color-primary);
    padding-left: 24px;
}

/* Mobil: patička celá zarovnaná vlevo (dřív značka a spodní lišta na středu, odkazy vlevo),
   značka přes celou šířku, skupiny odkazů ve dvou sloupcích - kratší a čitelnější. */
@media (max-width: 768px) {
    .footer-content > .footer-section:first-child {
        grid-column: 1 / -1;
    }
}


.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        padding: 0 20px;
    }
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 16px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
    font-size: 15px;
    line-height: 1.5;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-menu a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-menu a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    padding-top: 30px;
}

.footer-bottom-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 1024px) {
    .footer-bottom-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
    }

    .footer-bottom-content {
        padding: 0 20px;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-s);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(243, 156, 18, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.25);
    border-color: var(--color-primary);
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: inherit;
    position: relative;
    z-index: 1;
}

.social-link:hover .social-icon {
    transform: scale(1.15);
    color: white;
}

/* Back to Top Button */
.back-to-top {
    --scroll-fill: 0%;
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(to top, var(--color-primary) var(--scroll-fill), #ffffff var(--scroll-fill));
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-m);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.25);
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(243, 156, 18, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.98);
}

.back-to-top-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    background: linear-gradient(to top, #ffffff var(--scroll-fill), var(--color-primary) var(--scroll-fill));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 52px;
        height: 52px;
    }
}

/* Utility Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    /* Performance optimization */
    will-change: transform;
    transform: translateZ(0);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    z-index: -1;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Related Articles Block REMOVED */


.btn {
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #F39C12, #E67E22);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.25);
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: white !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(39, 174, 96, 0.3);
    color: #2C3639;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #27AE60;
    color: #27AE60;
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.15);
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Accessibility Improvements */
/* Rámeček jen při ovládání klávesnicí (Tab) — klik myší ho nevyvolá */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--radius-xs);
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .glass-card {
        border: 2px solid #000;
        background: #fff;
    }

    .btn,
    .cta-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Desktop CTA Button */
@media (min-width: 769px) {
    .cta-button.desktop-only {
        display: inline-flex !important;
    }

    .mobile-cta {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 1155px) {
    .site-header {
        padding: 12px 20px;
    }

    .header-content {
        padding: 12px 24px;
        gap: 16px;
        border-radius: var(--radius-l);
    }

    .header-left {
        flex-shrink: 0;
        gap: 0;
    }

    .header-right {
        display: flex;
        flex: 1;
        flex-direction: row-reverse;
        gap: 12px;
        justify-content: flex-start;
    }

    /* Mobilní panel menu a jeho položky: assets/css/mega-menu.css (sekce „Mobilní menu"). */

    .custom-logo-link {
        flex-shrink: 0;
    }

    .cta-login {
        display: none;
    }

    /* Hamburger: průhledné tlačítko splývající se skleněnou lištou (dřív bílý čtverec
       se stínem), dvě linky - spodní kratší, zarovnaná doprava. Po otevření křížek. */
    .menu-toggle {
        display: block;
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: var(--radius-s);
        box-shadow: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s ease;
    }

    .menu-toggle:hover,
    .menu-toggle.active {
        background: rgba(44, 54, 57, 0.06);
        box-shadow: none;
        transform: none;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

    .menu-toggle .hamburger-line {
        position: absolute;
        right: 11px;
        left: auto;
        margin: 0;
        display: block;
        width: 22px;
        height: 2px;
        background: var(--color-dark);
        border-radius: 2px;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s ease, top 0.25s ease, opacity 0.15s ease;
    }

    .menu-toggle .hamburger-line:nth-child(1) {
        top: 17px;
    }

    .menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle .hamburger-line:nth-child(3) {
        top: 25px;
        width: 14px;
    }

    .menu-toggle.active .hamburger-line:nth-child(1),
    .menu-toggle.active .hamburger-line:nth-child(3) {
        top: 21px;
        width: 22px;
    }

    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Mobile CTA buttons in menu */
    .main-navigation .mobile-cta-wrapper {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(44, 54, 57, 0.1);
    }

    /* Hide mobile CTA wrapper if no buttons inside */
    .main-navigation .mobile-cta-wrapper:empty {
        display: none !important;
        margin: 0;
        padding: 0;
        border: none;
    }

    .main-navigation .mobile-cta-wrapper .cta-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
    }

    .main-navigation .mobile-cta-wrapper .cta-login {
        display: flex !important;
        background: rgba(255, 255, 255, 0.9);
        color: var(--color-secondary) !important;
        border: 2px solid var(--color-secondary);
        box-shadow: 0 2px 8px rgba(39, 174, 96, 0.1);
    }

    .main-navigation .mobile-cta-wrapper .cta-login:hover {
        background: var(--color-secondary);
        color: white !important;
        border-color: var(--color-secondary);
        box-shadow: 0 4px 16px rgba(39, 174, 96, 0.25);
        transform: translateY(-2px);
    }

    .main-navigation .mobile-cta-wrapper .cta-primary {
        background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
        color: white !important;
        box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
        border: none;
    }

    .main-navigation .mobile-cta-wrapper .cta-primary:hover {
        background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
        transform: translateY(-2px);
    }

    /* Header také nad cookies když je menu otevřené */
    .site-header {
        z-index: 2147483646 !important;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    h1 {
        font-size: 32px;
    }

    /* hero sections on mobile */
    h2 {
        font-size: 28px;
    }

    /* other blocks on mobile */
    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
    }

    h6 {
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-content {
        gap: 30px;
    }

    .nav-menu {
        gap: 12px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .glass-card {
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .back-to-top {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .glass-card {
        background: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive for Hero Section */


/* Mobile Responsive */


/* Tablet Responsive */


/* Removed background gradients - clean background */


/* Mobile Responsive for Features Section */


/* Tablet Responsive for Features Section */


.cta-buttons-container {
    display: flex;
    gap: 24px !important;
    flex-wrap: wrap;
    align-items: center;
    /* justify-content is set via inline styles from JavaScript */
}


/* Mobile Responsive for CTA Buttons */
@media (max-width: 768px) {


    .cta-buttons-container {
        flex-direction: column;
        gap: 20px !important;
    }


    /* Mobile alignment is handled via inline styles from JavaScript */
}

/* Tablet Responsive for CTA Buttons */


/* Mobile Responsive for CTA Section */


/* Tablet Responsive for CTA Section */


/* Responsive Grid for USPs */


/* Focus states for all form fields */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
    transition: all 0.3s ease;
}

/* Hover effects for form fields */
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: rgba(44, 54, 57, 0.25);
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
}

/* Placeholder styles for all form fields */
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(44, 54, 57, 0.4);
    transition: color 0.3s ease;
}

.form-field input:focus::placeholder,
.form-field textarea:focus::placeholder {
    color: rgba(44, 54, 57, 0.2);
}

/* Select field styling for all forms */
.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%23F39C12' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M7 10l5 5 5-5'/%3e%3c/svg%3e");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 24px;
    padding-right: 55px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Active field highlighting */
.form-field input:not(:placeholder-shown),
.form-field select:not([value=""]),
.form-field textarea:not(:placeholder-shown) {
    border-color: rgba(44, 54, 57, 0.3);
    background: rgba(255, 255, 255, 0.95);
}


/* Mobile Responsive for Form */


/* Mobile Responsive for Submit Buttons */
@media (max-width: 768px) {
    .submit-button {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 100%;
        width: 100%;
    }

    .submit-button .button-icon {
        font-size: 16px;
    }

    .submit-button .button-text {
        font-size: 14px;
    }

    /* Mobile responsive for select fields */
    .form-field select {
        padding-right: 35px;
        background-size: 14px;
    }

    /* Mobile responsive for form fields */
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Tablet Responsive for Submit Buttons */
@media (min-width: 769px) and (max-width: 1024px) {
    .submit-button {
        padding: 15px 28px;
        font-size: 15px;
        min-width: 180px;
    }

    .submit-button .button-icon {
        font-size: 17px;
    }

    .submit-button .button-text {
        font-size: 15px;
    }

    /* Tablet responsive for select fields */
    .form-field select {
        padding-right: 38px;
        background-size: 15px;
    }

    /* Tablet responsive for form fields */
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 15px 17px;
        font-size: 15px;
    }
}

/* Desktop Responsive for Submit Buttons */
@media (min-width: 1025px) {
    .submit-button {
        padding: 16px 32px;
        font-size: 16px;
        min-width: 200px;
    }

    .submit-button .button-icon {
        font-size: 18px;
    }

    .submit-button .button-text {
        font-size: 16px;
    }

    /* Desktop responsive for select fields */
    .form-field select {
        padding-right: 40px;
        background-size: 16px;
    }

    /* Desktop responsive for form fields */
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 16px 18px;
        font-size: 16px;
    }
}

/* Mobile Responsive for Form Contact */


/* ================================================================================
   ACADEMY SECTION BLOCK
   ================================================================================ */


/* Mobile Responsive */


/* ================================================================================
   FORM SUBMIT BUTTONS - UNIFIED STYLING
   ================================================================================ */

/* Submit Button - Universal Styling for All Forms */
.submit-button {
    background: linear-gradient(135deg, var(--color-primary) 0%, #E67E22 100%);
    color: white;
    border: none;
    border-radius: var(--radius-s);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #E67E22 0%, var(--color-primary) 100%);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
}

/* ================================================================================
   BLOG LAYOUT STYLES
   ================================================================================ */

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Mobile Blog Container - FULL WIDTH */
@media (max-width: 768px) {
    .blog-container {
        max-width: 100%;
        padding: 20px 16px;
    }
}

/* Hide author on single posts */
.article-author {
    display: none !important;
}


.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.blog-description {
    font-size: 1.2rem;
    color: rgba(44, 54, 57, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}


/* Post Thumbnail */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Post Content */
.post-content {
    padding: 24px;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(44, 54, 57, 0.7);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    font-size: 0.8rem;
}

/* Post Title */
.post-title {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--color-primary);
}

/* Post Excerpt */
.post-excerpt {
    margin-bottom: 20px;
    color: rgba(44, 54, 57, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Post Categories */
.post-categories {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: #E67E22;
    transform: translateY(-1px);
}

/* Read More Button */
.post-read-more {
    text-align: right;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C2410C;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #9A3412;
    transform: translateX(4px);
}

/* Blog Pagination */
/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: rgba(44, 54, 57, 0.7);
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--color-dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-container {
        max-width: 100%;
        padding: 20px 16px;
    }

    /* Post cards full width on mobile */
    .post-card {
        width: 100%;
        max-width: 100%;
    }


    .blog-title {
        font-size: 2.2rem;
    }

    .blog-description {
        font-size: 1rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .post-content {
        padding: 20px;
    }

    .post-title {
        font-size: 1.2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
}

.submit-button .button-icon {
    font-size: 18px;
    display: inline-block;
}

.submit-button .button-text {
    font-weight: 600;
}

/* Loading State */
.submit-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-button.loading .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.submit-button.loading .button-text {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Form Field States */
.form-field.error input,
.form-field.error select,
.form-field.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-field.success input,
.form-field.success select,
.form-field.success textarea {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}


/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeInError 0.3s ease;
}

.error-message::before {
    content: '⚠️';
    font-size: 14px;
}

/* Success Messages */
.success-message {
    color: var(--color-secondary);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeInSuccess 0.3s ease;
}

.success-message::before {
    content: '✅';
    font-size: 14px;
}

/* Error and Success message animations */
@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================================================================================
   PRICING TABLE - BILLING TOGGLE STYLES
   ================================================================================ */


/* Discount note removed - using only badge */

@keyframes fadeInBadge {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */


/* ================================================================================
   TESTIMONIALS SECTION STYLES
   ================================================================================ */


/* ===== NOVÝ CAROUSEL DESIGN ===== */


/* Duplicitní definice - sloučeno výše */


/* Carousel Navigation - šipky jsou nyní přímo v carousel containeru */


/* Duplicitní definice odstraněna */

/* Duplicitní hover definice odstraněna */


/* Mobile Responsive */


/* Mobile Responsive */


/* Animation for scroll reveal */
@media (prefers-reduced-motion: no-preference) {


    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* Mobile Responsive for Contact Form */


/* Tablet Responsive for Contact Form */


/* Desktop Responsive for Contact Form */


/* Mobile Responsive for App Download Section */


/* Tablet Responsive for App Download Section */


/* Mobile Responsive for Pricing Table */


/* Tablet Responsive for Pricing Table */


/* Mobile Responsive for Latest Posts */


/* Tablet Responsive for Latest Posts */


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.quote-text {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
    margin: 0;
    padding-left: 0;
}


/* FAQ Section Mobile Responsive */


.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}


/* Mobile responsive for new blocks */
@media (max-width: 768px) {


    .author-avatar {
        width: 60px;
        height: 60px;
    }


}

/* General Content Styles for Articles */
.entry-content,
.post-content,
.page-content,
.wp-block-post-content {
    line-height: 1.6;
    color: var(--color-dark);
}

/* Mobile typography optimization - SIMPLE */
@media (max-width: 768px) {

    .entry-content,
    .post-content,
    .page-content,
    .wp-block-post-content {
        font-size: 16px;
        line-height: 1.7;
        padding: 0;
    }

    .entry-content h1,
    .post-content h1,
    .page-content h1,
    .wp-block-post-content h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .entry-content h2,
    .post-content h2,
    .page-content h2,
    .wp-block-post-content h2 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .entry-content h3,
    .post-content h3,
    .page-content h3,
    .wp-block-post-content h3 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .entry-content p,
    .post-content p,
    .page-content p,
    .wp-block-post-content p {
        margin-bottom: 16px;
    }

    /* Mobile image optimization */
    .entry-content img,
    .post-content img,
    .page-content img,
    .wp-block-post-content img {
        max-width: 100%;
        height: auto;
        margin: 20px 0;
        border-radius: var(--radius-xs);
    }

    /* Mobile block spacing */
    .entry-content>*,
    .post-content>*,
    .page-content>*,
    .wp-block-post-content>* {
        margin-left: 0;
        margin-right: 0;
    }
}

/* List Styles - Proper Vertical Alignment */
.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
article ul,
article ol,
.wp-block ul,
.wp-block ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li,
.post-content li,
.page-content li,
.wp-block-post-content li,
article li,
.wp-block li {
    margin-bottom: 0.5em;
    line-height: 1.6;
    position: relative;
}

/* Custom List Markers - Proper Alignment */
.entry-content ul li,
.post-content ul li,
.page-content ul li,
.wp-block-post-content ul li,
article ul li,
.wp-block ul li {
    list-style: none;
    padding-left: 1.5em;
}

.entry-content ul li::before,
.post-content ul li::before,
.page-content ul li::before,
.wp-block-post-content ul li::before,
article ul li::before,
.wp-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    /* Vertikálně vycentrované s první řádkou textu */
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    transform: none;
    /* Odstranit transform */
}

/* Numbered Lists - Proper Alignment */
.entry-content ol,
.post-content ol,
.page-content ol,
.wp-block-post-content ol,
article ol,
.wp-block ol {
    counter-reset: list-counter;
}

.entry-content ol li,
.post-content ol li,
.page-content ol li,
.wp-block-post-content ol li,
article ol li,
.wp-block ol li {
    list-style: none;
    padding-left: 2.5em;
    position: relative;
}

.entry-content ol li::before,
.post-content ol li::before,
.page-content ol li::before,
.wp-block-post-content ol li::before,
article ol li::before,
.wp-block ol li::before {
    counter-increment: list-counter;
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    /* Vertikálně vycentrované s první řádkou textu */
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1em;
    line-height: 1.6;
}

/* Core seznamy na stránkách — stejný vizuál jako blog (.article-content) */
.entry-content ul.wp-block-list li {
    padding-left: 36px;
    margin-bottom: 12px;
}

.entry-content ul.wp-block-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #F39C12, #E67E22);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    transform: none;
}

.entry-content ol.wp-block-list {
    counter-reset: item;
}

.entry-content ol.wp-block-list li {
    padding-left: 40px;
    margin-bottom: 12px;
    counter-increment: item;
}

.entry-content ol.wp-block-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #27AE60, #229954);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

/* Nested Lists */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul,
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul,
.page-content ul ul,
.page-content ol ol,
.page-content ul ol,
.page-content ol ul,
.wp-block-post-content ul ul,
.wp-block-post-content ol ol,
.wp-block-post-content ul ol,
.wp-block-post-content ol ul {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

/* List Items with Custom Icons (like checkmarks) */
.entry-content ul li:has(span:first-child),
.post-content ul li:has(span:first-child),
.page-content ul li:has(span:first-child),
.wp-block-post-content ul li:has(span:first-child) {
    display: flex;
    align-items: flex-start;
    /* Back to flex-start */
    gap: 0.75em;
    padding-left: 0;
}

.entry-content ul li:has(span:first-child)::before,
.post-content ul li:has(span:first-child)::before,
.page-content ul li:has(span:first-child)::before,
.wp-block-post-content ul li:has(span:first-child)::before {
    display: none;
}

.entry-content ul li span:first-child,
.post-content ul li span:first-child,
.page-content ul li span:first-child,
.wp-block-post-content ul li span:first-child {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-top: 0;
    /* Reset margin */
    align-self: flex-start;
    position: relative;
    top: 0.2em;
    /* Zarovnání s první řádkou textu */
}

/* Responsive adjustments for lists */
@media (max-width: 768px) {

    .entry-content ul,
    .entry-content ol,
    .post-content ul,
    .post-content ol,
    .page-content ul,
    .page-content ol,
    .wp-block-post-content ul,
    .wp-block-post-content ol {
        padding-left: 1.5em;
    }

    .entry-content ul li,
    .post-content ul li,
    .page-content ul li,
    .wp-block-post-content ul li {
        padding-left: 1.2em;
    }

    .entry-content ol li,
    .post-content ol li,
    .page-content ol li,
    .wp-block-post-content ol li {
        padding-left: 2em;
    }
}

/* Lazy loading styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-interactions */
.btn,
.cta-button,
.menu-toggle,
.nav-menu a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active,
.cta-button:active,
.menu-toggle:active {
    transform: scale(0.98);
}

/* Hover animations */
.glass-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Focus animations */
input:focus,
textarea:focus,
select:focus {
    transform: scale(1.01);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Success animations */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.form-field.success {
    animation: successPulse 0.6s ease-out;
}

/* Form Validation States */
.form-field.error input,
.form-field.error textarea,
.form-field.error select {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-field.success input,
.form-field.success textarea,
.form-field.success select {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.error-message::before {
    content: '⚠️';
    font-size: 12px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: white;
    border-radius: var(--radius-m);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.notification-message {
    font-size: 14px;
    line-height: 1.4;
    color: #2C3639;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6C757D;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2C3639;
}

.notification-success {
    border-left: 4px solid #27ae60;
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

/* Enhanced Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Button loading states */
.btn.loading,
.cta-button.loading {
    color: transparent !important;
}

.btn.loading::after,
.cta-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Touch targets for mobile */
@media (max-width: 768px) {

    .btn,
    .menu-toggle,
    .nav-menu a,
    .cta-button,
    .notification-close {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }

    /* Improved mobile form fields */
    .form-field input,
    .form-field textarea,
    .form-field select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 16px 20px;
        min-height: 48px;
    }

    /* Better mobile spacing */
    .glass-card {
        margin: 20px 0;
        padding: 24px;
    }

    /* Improved mobile navigation */
    .nav-menu li {
        margin: 8px 0;
    }

    .nav-menu a {
        padding: 16px 24px;
        font-size: 18px;
    }

    /* CTA Button Logic - CLEAN VERSION */
    .cta-button.desktop-only {
        display: none !important;
    }

    .mobile-cta {
        display: none !important;
    }

    /* Mobile menu CTA styling */
    .nav-menu.active .mobile-cta {
        display: inline-flex !important;
        margin: 20px 0;
        text-align: center;
        width: 100%;
        justify-content: center;
        /* Inherit all CTA button styles */
        background: linear-gradient(135deg, var(--color-primary), #E67E22) !important;
        color: white !important;
        text-decoration: none;
        padding: 12px 24px;
        border-radius: var(--radius-s) !important;
        font-weight: 600;
        transition: var(--transition);
        align-items: center;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 0 8px rgba(243, 156, 18, 0.15);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    /* Mobile CTA shimmer effect */
    .nav-menu.active .mobile-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    /* Mobile CTA hover - same as primary buttons */
    .nav-menu.active .mobile-cta:hover {
        background: linear-gradient(135deg, #E67E22, #D35400) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        color: white !important;
    }

    .nav-menu.active .mobile-cta:hover::before {
        left: 100%;
    }

    /* Mobile menu separators */
    .nav-menu.active::after,
    .nav-menu.active::before {
        content: '';
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 20px 0;
    }
}


/* Mobile Responsive */


/* Tablet Responsive */


/* Enhanced Select Arrow Styles */
.form-field select:hover {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%23E67E22' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M7 10l5 5 5-5'/%3e%3c/svg%3e");
}

.form-field select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3e%3cpath stroke='%23E67E22' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M7 10l5 5 5-5'/%3e%3c/svg%3e");
}

/* ============================================================================
   Features Showcase Block - Frontend Styles
   ============================================================================ */


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Desktop Large */


/* Laptop/Desktop */


/* Tablet */


/* Mobile */


/* Small Mobile */


/* Reduced Motion */


/* High Contrast Mode */


/* ============================================================
   CONTACT PAGE BLOCKS - FRONTEND STYLES
   ============================================================ */


/* ============================================================
   MOBILE RESPONSIVE - CONTACT PAGE BLOCKS
   ============================================================ */


/* ============================================================
   TABLET RESPONSIVE - CONTACT PAGE BLOCKS
   ============================================================ */


/* ============================================================
   ACCESSIBILITY - CONTACT PAGE BLOCKS
   ============================================================ */


/* Mobile Adjustments */


/* ============================================================
   CONTACT PAGE BLOCKS - UPDATED STYLES
   ============================================================ */


/* ============================================================
   CONTACT CTA - EXACT MATCH TO CTA BUTTONS
   ============================================================ */


/* ============================================================
   COMPANY INFO - LARGER FONT SIZES
   ============================================================ */


/* ============================================================
   BASIC HERO BLOCK - FRONTEND STYLES
   ============================================================ */


/* Mobile Responsive */


/* Tablet Responsive */

/* Pravidla mega menu (desktop i mobil) jsou jen v assets/css/mega-menu.css.
   Dřívější vrstva s !important tady přebíjela sklo i prodlevu zavření (CHANGELOG 6. 10. 2026). */


/* =====================================================================
   Tlačítka - jednotný vzhled (tokeny --btn-*, --radius-s)
   ---------------------------------------------------------------------
   Dřív měl skoro každý blok vlastní tlačítko (~50 variant: zaoblení 8-50 px,
   zářivé oranžové halo, zelené rámečky). Tady se sjednocují tři typy:
   primární (oranžové), sekundární (bílé s obrysem), zelené (přihlášení).
   Specificita přes `html body` + :is() (blokové CSS se tiskne před style.css,
   ale některé bloky mají selektory 0,2,0 - tímhle vyhrajeme bez !important).
   Nové tlačítko v bloku = přidat jeho třídu do seznamu. Záložky (blocks/tabs) sem
   nepatří - jsou to přepínač s tvarem kapsle podle svého rámu, ne tlačítko.
   ===================================================================== */
html body :is(
    .btn-primary, .cta-button.cta-primary, .domee-roi-cta, .domee-founding-cta, .detail-button,
    .lp-header-cta, .dw-cta, .domee-partner-copy-btn, .domee-et-copy-btn, .domee-pdf-btn,
    .domee-modal-cta, .domee-demo-submit, .academy-button, .card-button.cta-button, .submit-button,
    .cookies-btn-primary, .pricing-tiers__cta--hero,
    .main-navigation .mobile-cta-wrapper .cta-primary
) {
    background: var(--btn-primary-bg);
    color: #fff;
    border: 0;
    border-radius: var(--radius-s);
    box-shadow: var(--btn-primary-shadow);
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

html body :is(
    .btn-primary, .cta-button.cta-primary, .domee-roi-cta, .domee-founding-cta, .detail-button,
    .lp-header-cta, .dw-cta, .domee-partner-copy-btn, .domee-et-copy-btn, .domee-pdf-btn,
    .domee-modal-cta, .domee-demo-submit, .academy-button, .card-button.cta-button, .submit-button,
    .cookies-btn-primary, .pricing-tiers__cta--hero, .main-navigation .mobile-cta-wrapper .cta-primary
):hover {
    background: var(--btn-primary-bg-hover);
    color: #fff;
    box-shadow: var(--btn-primary-shadow-hover);
    transform: translateY(-1px);
}

html body :is(
    .btn-secondary, .card-button:not(.cta-button), .cookies-btn-secondary, .pricing-tiers__cta:not(.pricing-tiers__cta--hero):not(.pricing-tiers__cta--muted)
) {
    background: #fff;
    color: var(--color-dark);
    border: 0;
    border-radius: var(--radius-s);
    box-shadow: var(--btn-secondary-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

html body :is(
    .btn-secondary, .card-button:not(.cta-button), .cookies-btn-secondary, .pricing-tiers__cta:not(.pricing-tiers__cta--hero):not(.pricing-tiers__cta--muted)
):hover {
    background: #fff;
    color: var(--color-dark);
    border: 0;
    box-shadow: var(--btn-secondary-shadow-hover);
    transform: translateY(-1px);
}

/* Upozaděné tlačítko (FREE tarif v ceníku) - jen zaoblení */
html body .pricing-tiers__cta--muted {
    border-radius: var(--radius-s);
}

/* Zelené „Přihlásit se" - jemný zelený podklad místo zeleného rámečku */
html body :is(.header-right .cta-login, .main-navigation .mobile-cta-wrapper .cta-login) {
    background: rgba(39, 174, 96, 0.1);
    color: #1E8A4C !important; /* style.css: .cta-login má color !important ze starší vrstvy */
    border: 0;
    border-radius: var(--radius-s);
    box-shadow: none;
}

html body :is(.header-right .cta-login, .main-navigation .mobile-cta-wrapper .cta-login):hover {
    background: rgba(39, 174, 96, 0.16);
    color: #1E8A4C !important;
    box-shadow: none;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html body :is(.btn-primary, .btn-secondary, .cta-button, .card-button, .cookies-btn):hover {
        transform: none;
    }
}


/* =====================================================================
   Hlavičky sekcí - jednotný vzhled (6. 10. 2026)
   ---------------------------------------------------------------------
   Nadtitulek (.domee-nadtitulek, výš) + nadpis + popis. Dřív ~25 variant (třídy
   bloků, ručně skládané core/heading + odstavec). Tady jedno pravidlo pro všechny:
   blok „Hlavička sekce" a nadpisy sekcí v blocích. Nový blok s nadpisem sekce =
   přidat jeho třídy do seznamu (a blok do domee_bloky_s_nadtitulkem v inc/vzhled.php).
   Barvu nadpisu/popisu bloky na tmavém podkladu (app-download, cta, newsletter) si drží.
   ===================================================================== */
:root {
    --nadpis-sekce: 38px;
    --nadpis-sekce-mobil: 28px;
    --popis-sekce: 18px;
}

html body :is(
    .domee-hlavicka-sekce__nadpis, .section-title, .faq-header__title, .form-title, .domee-roi-title,
    .showcase-title, .steps-section-title, .pricing-tiers__title, .media-articles__nadpis, .domee-demo-title,
    .academy-title, .main-title, .svj-title, .domee-partner-list-section-title, .domee-carousel-logos-title,
    .latest-posts-title, .app-download-heading, .cta-heading, .newsletter-heading
) {
    font-size: var(--nadpis-sekce);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 14px;
}

html body :is(
    .domee-hlavicka-sekce__popis, .section-description, .faq-header__subtitle, .form-subtitle,
    .showcase-description, .steps-section-description, .pricing-tiers__description, .media-articles__popis,
    .academy-subtitle, .svj-description, .latest-posts-description
) {
    font-size: var(--popis-sekce);
    line-height: 1.6;
    color: rgba(44, 54, 57, 0.75);
}

html body :is(.app-download-description, .cta-description, .newsletter-description) {
    font-size: var(--popis-sekce);
    line-height: 1.6;
}

/* Nadtitulek na tmavém podkladu */
html body :is(.wp-block-domee-cta-section, .wp-block-domee-newsletter-box) .domee-nadtitulek {
    color: #F7B544;
}

/* App download má oranžový podklad - zlatý nadtitulek na něm nebyl vidět */
html body .wp-block-domee-app-download-section .domee-nadtitulek {
    color: #fff;
}

/* Blok „Hlavička sekce" */
.domee-hlavicka-sekce {
    max-width: 760px;
    margin: 0 auto 40px;
}

.domee-hlavicka-sekce--center {
    text-align: center;
}

.domee-hlavicka-sekce--left {
    max-width: none;
    text-align: left;
}

.domee-hlavicka-sekce .domee-hlavicka-sekce__nadpis {
    color: var(--color-dark);
}

.domee-hlavicka-sekce .domee-hlavicka-sekce__popis {
    margin: 0;
}

.domee-hlavicka-sekce h3.domee-hlavicka-sekce__nadpis {
    font-size: 28px;
}

/* Nadtitulek nad blokem, jehož hlavička je na střed */
.domee-nadtitulek:has(+ :is(h2, h3)[style*="center"], + .has-text-align-center) {
    text-align: center;
}

@media (max-width: 768px) {
    :root {
        --nadpis-sekce: var(--nadpis-sekce-mobil);
        --popis-sekce: 16px;
    }

    .domee-hlavicka-sekce {
        margin-bottom: 28px;
    }
}



/* =====================================================================
   Video (MP4) - společná komponenta bloků Hero, Krok postupu a Feature (21. 10. 2026)
   ---------------------------------------------------------------------
   Markup z domee_video_mp4_html() (inc/video-mp4.php). Kontejner má poměr stran
   souboru (--domee-video-pomer z metadat), šířku omezenou výškou
   (--domee-video-max-h, nastavuje blok) a průhledné pozadí - žádné černé pruhy ani stín.
   Bloky velikost přebíjí vyšší specificitou ve svém index.css.
   ===================================================================== */
.domee-video {
    --domee-video-max-h: 560px;
    position: relative;
    width: min(100%, calc(var(--domee-video-max-h) * var(--domee-video-pomer, 0.5625)));
    aspect-ratio: var(--domee-video-pomer, auto);
    margin-inline: auto;
    cursor: pointer;
}

.domee-video .domee-video__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* iOS v úsporném režimu jinak přes video kreslí velké tlačítko přehrát */
.domee-video .domee-video__video::-webkit-media-controls-start-playback-button {
    display: none;
}

.domee-video:focus-visible {
    outline: 2px solid var(--color-primary, #F39C12);
    outline-offset: 4px;
    border-radius: var(--radius-s);
}
