/*
Theme Name: Martin Krátký - Stunt Rider
Theme URI: https://martinkratky.cz
Author: Martin Krátký
Description: Profesionální WordPress šablona pro stunt ridera
Version: 3.1.0
Text Domain: martin-kratky
*/

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --gray-900: #1a1a1a;
    --gray-800: #252525;
    --gray-700: #333333;
    --gray-600: #4a4a4a;
    --gray-500: #6b6b6b;
    --gray-400: #8a8a8a;
    --gray-300: #a8a8a8;
    --gray-200: #d0d0d0;
    --white: #ffffff;
    --red: #dc2626;
    --red-dark: #b91c1c;
    --yellow: #eab308;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
    --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--gray-300); background: var(--black); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--black); }
.section-darker { background: var(--black-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; padding: 1.25rem 0; background: transparent; -webkit-transition: all var(--transition); transition: all var(--transition); }
.site-header.scrolled { background: rgba(10, 10, 10, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 0.875rem 0; }

/* ZMĚNA: Přidáno position: relative pro správné centrování loga na mobilu */
.header-inner { display: flex; align-items: center; justify-content: space-between; position: relative; }

/* STYL PRO LOGO JE NYNÍ NA KONCI SOUBORU PRO LEPŠÍ SPRÁVU */
.logo span { color: var(--red); }
.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: flex; align-items: center; gap: 2rem; } }
.nav-menu { display: flex; gap: 1.5rem; }
.nav-menu a { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-300); }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current_page_item > a { color: var(--red); }
.nav-divider { width: 1px; height: 1.25rem; background: var(--gray-700); }
.social-links { display: flex; gap: 0.75rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; color: var(--gray-400); }
.social-link:hover { color: var(--white); }
.social-link svg { width: 1.125rem; height: 1.125rem; }
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    /* ZMĚNA: Zajistí, že tlačítko bude vždy vpravo */
    margin-left: auto;
    z-index: 20;
}
.mobile-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile Menu - Fullscreen Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 999999;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { display: flex; }
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-800);
    flex-shrink: 0;
	z-index: 10000000;
}
.mobile-menu-header .logo { font-size: 1.25rem; }
.mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--white);
    background: var(--red);
    border: none;
    border-radius: 8px;
    cursor: pointer;
	z-index: 10000000;
}
.mobile-close svg { width: 24px; height: 24px; }
.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    overflow-y: auto;
}
.mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-300);
    border-bottom: 1px solid var(--gray-800);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--red); }
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-800);
    flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 0; transition: all var(--transition); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--gray-600); }
.btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--gray-700); border-radius: 50px; padding: 0.75rem 1.5rem; font-size: 0.75rem; }
.btn-ghost:hover { border-color: var(--gray-500); background: var(--gray-800); }
.btn-ghost svg { width: 0.875rem; height: 0.875rem; }
.btn-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); }
.btn-link:hover { color: var(--white); }
.btn-link svg { width: 1rem; height: 1rem; transition: transform var(--transition); }
.btn-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 0; }
.hero-bg { 
  position: absolute; 
  inset: 0; 
  background-size: cover; 
  background-position: center top; 
}

.hero-bg::after { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.6) 50%, var(--black) 100%); 
}

.hero-content { position: relative; text-align: center; max-width: 800px; padding: 0 1.5rem; }
.hero-label { display: inline-block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); padding: 0.5rem 1rem; border: 1px solid var(--red); margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.5rem, 10vw, 5rem); font-weight: 900; font-style: italic; color: var(--white); line-height: 1; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-text { font-size: 1rem; color: var(--gray-400); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--gray-500); animation: bounce 2s infinite; }
.hero-scroll svg { width: 1.5rem; height: 1.5rem; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ==========================================================================
   Page Hero
   ========================================================================== */
.page-hero { padding: 8rem 0 3rem; text-align: center; background: linear-gradient(to bottom, var(--black-light), var(--black)); }
.page-hero-title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 0.75rem; }
.page-hero-text { font-size: 1rem; color: var(--gray-400); }
.page-hero-bg { position: relative; padding: 10rem 0 4rem; background-size: cover; background-position: center; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,0.5), var(--black)); }
.page-hero-bg .container { position: relative; z-index: 1; }
.page-hero-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); padding: 0.5rem 1rem; background: rgba(220, 38, 38, 0.15); border-radius: 50px; margin-bottom: 1rem; }
.page-hero-label svg { width: 1rem; height: 1rem; }
.page-hero-icon { display: flex; justify-content: center; margin-bottom: 1rem; }
.page-hero-icon svg { width: 2.5rem; height: 2.5rem; color: var(--yellow); }

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-label { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; font-style: italic; color: var(--white); line-height: 1.1; }
.section-title-underline { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-title-underline::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--red); }

/* ==========================================================================
   Homepage - About
   ========================================================================== */
.hp-about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .hp-about-grid { grid-template-columns: 400px 1fr; gap: 4rem; } }
.hp-about-image { position: relative; max-width: 350px; margin: 0 auto; }
@media (min-width: 768px) { .hp-about-image { margin: 0; } }
.hp-about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0.5rem; }
.hp-about-image::after { content: ''; position: absolute; bottom: -0.75rem; left: 0.75rem; right: -0.75rem; height: 0.375rem; background: var(--red); border-radius: 0.25rem; }
.hp-about-content { }
.hp-about-content.hp-about-full { text-align: center; max-width: 600px; margin: 0 auto; }
.hp-about-title { font-size: 1.5rem; font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 1rem; }
.hp-about-text { color: var(--gray-400); font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.7; }

/* ==========================================================================
   Homepage - Service Cards
   ========================================================================== */
.service-cards { display: grid; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; border-radius: 0.5rem; overflow: hidden; }
.service-card::before { content: ''; display: block; padding-top: 75%; }
.service-card-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gray-800); }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; transition: transform 0.5s ease; display: block; }
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; padding: 1.25rem; background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); z-index: 1; }
.service-card-title { font-size: 1rem; font-weight: 800; font-style: italic; color: var(--white); text-transform: uppercase; margin-bottom: 0.25rem; }
.service-card-subtitle { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.75rem; }

/* ==========================================================================
   Homepage - Events
   ========================================================================== */
.hp-events-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.hp-events-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .hp-events-grid { grid-template-columns: repeat(2, 1fr); } }
.event-card { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--gray-900); border-radius: 0.5rem; transition: background var(--transition); }
.event-card:hover { background: var(--gray-800); }
.event-date { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; min-width: 3.5rem; padding: 0.5rem; background: var(--gray-800); border-radius: 0.375rem; -webkit-flex-shrink: 0; flex-shrink: 0; }
.event-date-day { font-size: 1.25rem; font-weight: 800; color: var(--white); line-height: 1; }
.event-date-month { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--gray-400); }
.event-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 120px; }
.event-title { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.event-location { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--gray-400); }
.event-location svg { width: 0.875rem; height: 0.875rem; -webkit-flex-shrink: 0; flex-shrink: 0; }
.event-btn { width: 100%; }
.event-btn .btn { width: 100%; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
@media (min-width: 768px) { 
    .event-card { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
    .event-btn { width: auto; } 
    .event-btn .btn { width: auto; }
}

/* ==========================================================================
   Homepage - Results
   ========================================================================== */
.hp-results { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) { .hp-results { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; flex-direction: row; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .hp-results > * { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; } }
.hp-results-image { position: relative; border-radius: 0.5rem; overflow: hidden; }
.hp-results-image::before { content: ''; display: block; padding-top: 75%; }
.hp-results-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; display: block; }
.hp-results-badge { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; padding: 1rem; background: rgba(10, 10, 10, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 0.5rem; z-index: 2; }
.hp-results-badge-place { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.6875rem; font-weight: 700; color: var(--red); margin-bottom: 0.25rem; }
.hp-results-badge-place svg { width: 0.875rem; height: 0.875rem; }
.hp-results-badge-title { font-size: 0.9375rem; font-weight: 800; font-style: italic; color: var(--white); text-transform: uppercase; }
.hp-results-list { margin-top: 1.5rem; }
.hp-result-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--gray-800); }
.hp-result-year { font-size: 0.8125rem; font-weight: 700; color: var(--red); min-width: 3rem; }
.hp-result-title { flex: 1; font-size: 0.875rem; font-weight: 600; color: var(--white); }
.hp-result-place { font-size: 0.75rem; color: var(--gray-400); text-align: right; }
.hp-result-place.first { color: var(--red); font-weight: 600; }

/* ==========================================================================
   Homepage - Gallery
   ========================================================================== */
.hp-gallery-header { text-align: center; margin-bottom: 2rem; }
.hp-gallery-header svg { width: 2rem; height: 2rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.hp-gallery-title { font-size: 1.25rem; font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 0.5rem; }
.hp-gallery-text { font-size: 0.8125rem; color: var(--gray-400); }
.hp-gallery-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 768px) { .hp-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; border-radius: 0.5rem; overflow: hidden; cursor: pointer; width: calc(50% - 0.5rem); }
@media (min-width: 768px) { .gallery-item { width: 100%; } }
.gallery-item::before { content: ''; display: block; padding-top: 100%; }
.gallery-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; -webkit-transition: -webkit-transform 0.5s ease; transition: transform 0.5s ease; }
.gallery-item:hover img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.gallery-item-play { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; background: rgba(0,0,0,0.3); }
.gallery-item-play svg { width: 3rem; height: 3rem; color: var(--white); }
.hp-gallery-footer { text-align: center; margin-top: 2rem; }

/* ==========================================================================
   Homepage - Sponsors
   ========================================================================== */
.hp-sponsors-title { text-align: center; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gray-500); margin-bottom: 2rem; }
.hp-sponsors-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.sponsor-item { display: flex; align-items: center; justify-content: center; padding: 1.5rem 2rem; background: var(--gray-900); border-radius: 0.5rem; transition: all var(--transition); min-height: 5rem; min-width: 180px; }
.sponsor-item:hover { background: var(--gray-800); }
.sponsor-item img { max-height: 2.5rem; max-width: 100%; filter: grayscale(100%); opacity: 0.7; transition: all var(--transition); }
.sponsor-item:hover img { filter: grayscale(0); opacity: 1; }
.sponsor-name { font-size: 1rem; font-weight: 700; font-style: italic; color: var(--gray-400); transition: color var(--transition); }
.sponsor-item:hover .sponsor-name { color: var(--white); }

/* ==========================================================================
   About Page
   ========================================================================== */
.about-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image { position: relative; }
.about-image img { border-radius: 0.5rem; width: 100%; }
.about-image::after { content: ''; position: absolute; bottom: -0.75rem; left: 0.75rem; right: -0.75rem; height: 0.375rem; background: var(--red); border-radius: 0.25rem; }
.about-content .section-header { margin-bottom: 1.5rem; }
.about-text { color: var(--gray-300); line-height: 1.8; font-size: 0.9375rem; }
.about-text p { margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-card { padding: 1.25rem; background: var(--gray-900); border-radius: 0.5rem; border-left: 3px solid var(--gray-700); }
.stat-card svg { width: 1.25rem; height: 1.25rem; color: var(--red); margin-bottom: 0.75rem; }
.stat-value { display: flex; align-items: baseline; gap: 0.25rem; }
.stat-number { font-size: 1.75rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-unit { font-size: 0.875rem; font-weight: 700; color: var(--white); }
.stat-label { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.25rem; }

/* Personal Info */
.personal-info { margin-top: 4rem; }
.personal-info-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .personal-info-grid { grid-template-columns: repeat(4, 1fr); } }
.info-card { padding: 1rem; background: var(--gray-900); border-radius: 0.5rem; }
.info-card-label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.25rem; }
.info-card-value { font-size: 0.875rem; font-weight: 600; color: var(--white); }

/* ==========================================================================
   Results Page
   ========================================================================== */
.results-list { max-width: 900px; margin: 0 auto; }
.result-item { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 0.75rem 1.25rem; -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start; padding: 1.25rem 0; border-left: 3px solid var(--gray-800); padding-left: 1.5rem; margin-left: 0.5rem; }
.result-item:not(:last-child) { border-bottom: 1px solid var(--gray-800); }
.result-year { font-size: 1.125rem; font-weight: 700; color: var(--yellow); min-width: 3.5rem; -webkit-flex-shrink: 0; flex-shrink: 0; }
.result-info { -webkit-box-flex: 1; -webkit-flex: 1 1 150px; flex: 1 1 150px; min-width: 120px; }
.result-title { font-size: 1rem; font-weight: 700; color: var(--white); }
.result-category { font-size: 0.8125rem; color: var(--gray-400); }
.result-place { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; -webkit-flex-shrink: 0; flex-shrink: 0; }
.result-place svg { width: 0.875rem; height: 0.875rem; }
.result-place.first { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.result-place.first svg { color: #eab308; }
.result-place.second { background: rgba(192, 192, 192, 0.15); color: #c0c0c0; }
.result-place.second svg { color: #c0c0c0; }
.result-place.third { background: rgba(205, 127, 50, 0.15); color: #cd7f32; }
.result-place.third svg { color: #cd7f32; }
.result-place.other { background: rgba(220, 38, 38, 0.15); color: var(--red); }
.result-place.other svg { display: none; }
.result-link { width: 100%; margin-top: 0.25rem; }
.result-link a { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; color: var(--gray-400); border: 1px solid var(--gray-700); border-radius: 50px; white-space: nowrap; }
.result-link a:hover { color: var(--white); border-color: var(--gray-500); }
.result-link svg { width: 0.75rem; height: 0.75rem; }
@media (min-width: 768px) { 
    .result-item { -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: nowrap; flex-wrap: nowrap; }
    .result-link { width: auto; margin-top: 0; margin-left: auto; }
}

/* ==========================================================================
   Wheelie Page
   ========================================================================== */
.wheelie-content { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .wheelie-content { grid-template-columns: 1fr 1fr; } }
.wheelie-feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.wheelie-feature-icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--red); }
.wheelie-feature-icon svg { width: 100%; height: 100%; }
.wheelie-feature-title { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.wheelie-feature-text { font-size: 0.8125rem; color: var(--gray-400); }
.wheelie-image-box { position: relative; border-radius: 0.5rem; overflow: hidden; }
.wheelie-image-box img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wheelie-next { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(10px); border-radius: 0.5rem; }
.wheelie-next-icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; background: var(--red); border-radius: 0.375rem; flex-shrink: 0; }
.wheelie-next-icon svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.wheelie-next-label { font-size: 0.6875rem; font-weight: 700; color: var(--gray-400); }
.wheelie-next-date { font-size: 0.9375rem; font-weight: 700; color: var(--white); }
.wheelie-next-slots { font-size: 0.6875rem; color: var(--gray-500); margin-top: 0.125rem; }

/* Pricing */
.pricing-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
.pricing-card { padding: 2rem; background: var(--gray-900); border-radius: 0.75rem; border: 1px solid var(--gray-800); position: relative; }
.pricing-card.recommended { border-color: var(--red); }
.pricing-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); padding: 0.25rem 0.75rem; background: var(--red); color: var(--white); font-size: 0.5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 50px; }
.pricing-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--gray-400); margin-bottom: 0.75rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.375rem; margin-bottom: 1.5rem; }
.pricing-amount { font-size: 1.75rem; font-weight: 900; color: var(--white); }
.pricing-unit { font-size: 0.8125rem; color: var(--gray-500); }
.pricing-features { margin-bottom: 1.5rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.375rem 0; font-size: 0.8125rem; color: var(--gray-300); }
.pricing-feature::before { content: '•'; color: var(--gray-600); }
.pricing-btn { width: 100%; padding: 0.875rem; background: var(--gray-800); border: 1px solid var(--gray-700); color: var(--white); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 0.375rem; transition: all var(--transition); display: block; text-align: center; }
.pricing-btn:hover { background: var(--gray-700); }

/* Dates */
.dates-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .dates-grid { grid-template-columns: repeat(4, 1fr); } }
.date-item { padding: 1rem; background: var(--gray-900); border-radius: 0.5rem; text-align: center; border: 1px solid var(--gray-800); }
.date-item.available { border-color: var(--red); cursor: pointer; }
.date-item.available:hover { background: var(--gray-800); }
.date-item-day { font-size: 0.9375rem; font-weight: 700; color: var(--white); }
.date-item-label { font-size: 0.625rem; color: var(--gray-500); margin-top: 0.25rem; }
.date-item.available .date-item-label { color: var(--red); }
.date-item.occupied { opacity: 0.5; }
.date-item.occupied .date-item-label { color: var(--gray-500); }

/* Voucher */
.voucher-section { margin-top: 4rem; padding: 3rem; background: linear-gradient(135deg, var(--gray-900), var(--gray-800)); border-radius: 1rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .voucher-section { grid-template-columns: auto 1fr; } }
.voucher-icon { width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; background: var(--red); border-radius: 1rem; }
.voucher-icon svg { width: 2rem; height: 2rem; color: var(--white); }
.voucher-title { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.voucher-text { color: var(--gray-400); font-size: 0.875rem; }

/* Wheelie Galerie */
.wheelie-gallery-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 1rem; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
@media (min-width: 768px) { .wheelie-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); } }
.wheelie-gallery-item { position: relative; border-radius: 0.5rem; overflow: hidden; cursor: pointer; width: calc(50% - 0.5rem); }
@media (min-width: 768px) { .wheelie-gallery-item { width: 100%; } }
.wheelie-gallery-item::before { content: ''; display: block; padding-top: 75%; }
.wheelie-gallery-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; -webkit-transition: -webkit-transform 0.5s ease; transition: transform 0.5s ease; }
.wheelie-gallery-item:hover img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.wheelie-gallery-item .gallery-item-play { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; background: rgba(0,0,0,0.3); }
.wheelie-gallery-item .gallery-item-play svg { width: 3rem; height: 3rem; color: var(--white); }

/* CTA */
.cta-section { text-align: center; padding: 4rem 0; }
.cta-title { font-size: 1.25rem; font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 1.5rem; }

/* ==========================================================================
   Motoshow Page
   ========================================================================== */
.motoshow-section { max-width: 800px; margin: 0 auto; }
.motoshow-section-title { font-size: 1.25rem; font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 1rem; text-align: center; }
.motoshow-section-text { color: var(--gray-400); line-height: 1.8; text-align: center; margin-bottom: 2rem; }
.motoshow-features { display: grid; gap: 1.5rem; margin: 3rem 0; }
@media (min-width: 768px) { .motoshow-features { grid-template-columns: repeat(3, 1fr); } }
.motoshow-feature { padding: 2rem; background: var(--gray-900); border-radius: 0.75rem; text-align: center; }
.motoshow-feature-icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: var(--gray-800); border-radius: 50%; }
.motoshow-feature-icon svg { width: 1.5rem; height: 1.5rem; color: var(--red); }
.motoshow-feature-title { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.motoshow-feature-text { font-size: 0.8125rem; color: var(--gray-400); }
.motoshow-gallery { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 1rem; margin: 3rem 0; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
@media (min-width: 768px) { .motoshow-gallery { display: grid; grid-template-columns: repeat(4, 1fr); } }
.motoshow-gallery-item { position: relative; cursor: pointer; border-radius: 0.5rem; overflow: hidden; width: calc(50% - 0.5rem); }
@media (min-width: 768px) { .motoshow-gallery-item { width: 100%; } }
.motoshow-gallery-item::before { content: ''; display: block; padding-top: 133.33%; }
.motoshow-gallery-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; -webkit-transition: -webkit-transform 0.5s ease; transition: transform 0.5s ease; }
.motoshow-gallery-item:hover img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.motoshow-gallery-item .gallery-item-play { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; background: rgba(0,0,0,0.3); }
.motoshow-gallery-item .gallery-item-play svg { width: 3rem; height: 3rem; color: var(--white); }
.motoshow-cta { padding: 3rem 2rem; background: var(--gray-900); border-radius: 1rem; text-align: center; margin-top: 3rem; }
.motoshow-cta-title { font-size: 1.25rem; font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 0.75rem; }
.motoshow-cta-text { max-width: 500px; margin: 0 auto 1.5rem; color: var(--gray-400); font-size: 0.875rem; }
/* Motoshow - WordPress obsah stránky */
.motoshow-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.motoshow-content p {
    color: var(--gray-400);
    line-height: 1.8;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.motoshow-content h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 900;
    font-style: italic;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.motoshow-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    font-style: italic;
    color: var(--white);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.motoshow-content ul,
.motoshow-content ol {
    list-style: none;
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.motoshow-content ul li::before {
    content: '—';
    color: var(--red);
    margin-right: 0.5rem;
}

.motoshow-content a {
    color: var(--red);
}

.motoshow-content a:hover {
    color: var(--white);
}
/* ==========================================================================
   Events Page
   ========================================================================== */
.events-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.events-list { }
.events-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; background: var(--gray-900); border-radius: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.events-date { display: flex; flex-direction: column; align-items: center; min-width: 4.5rem; padding: 0.75rem; background: var(--gray-800); border-radius: 0.5rem; }
.events-date-day { font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.events-date-month { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--gray-400); }
.events-info { flex: 1; min-width: 200px; }
.events-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.375rem; }
.events-location { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--gray-400); }
.events-location svg { width: 0.875rem; height: 0.875rem; }
.events-action { margin-left: auto; }.events-item-past:hover { opacity: 1; }

/* ==========================================================================
   Gallery Page
   ========================================================================== */
.gallery-filters { display: flex; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.gallery-filter { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.625rem 1.25rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--gray-400); background: var(--gray-900); border: 1px solid var(--gray-800); border-radius: 50px; cursor: pointer; transition: all var(--transition); line-height: 1; }
.gallery-filter svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.gallery-filter:hover, .gallery-filter.active { color: var(--white); border-color: var(--red); background: rgba(220, 38, 38, 0.1); }
.gallery-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid-item { position: relative; border-radius: 0.5rem; overflow: hidden; cursor: pointer; width: calc(50% - 0.5rem); }
@media (min-width: 768px) { .gallery-grid-item { width: 100%; } }
.gallery-grid-item::before { content: ''; display: block; padding-top: 100%; }
.gallery-grid-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; -o-object-fit: cover; -webkit-transition: -webkit-transform 0.5s ease; transition: transform 0.5s ease; }
.gallery-grid-item:hover img { -webkit-transform: scale(1.05); transform: scale(1.05); }
.gallery-grid-item-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; opacity: 0; -webkit-transition: opacity var(--transition); transition: opacity var(--transition); }
.gallery-grid-item:hover .gallery-grid-item-overlay { opacity: 1; }
.gallery-grid-item-overlay svg { width: 3rem; height: 3rem; color: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem; color: var(--white); background: var(--gray-800); border-radius: 50%; }
.lightbox-close svg { width: 1.5rem; height: 1.5rem; }
.lightbox-content { max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.lightbox-content iframe { width: 80vw; height: 45vw; max-height: 80vh; }

/* ==========================================================================
   Sponsors Page
   ========================================================================== */
.sponsors-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 1.5rem; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.sponsors-item { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; padding: 2rem; background: var(--gray-900); border-radius: 0.75rem; border: 1px solid var(--gray-800); -webkit-transition: all var(--transition); transition: all var(--transition); min-height: 7rem; min-width: 200px; max-width: 280px; }
.sponsors-item:hover { border-color: var(--gray-700); background: var(--gray-800); }
.sponsors-item img { max-height: 3rem; max-width: 100%; -webkit-filter: grayscale(100%); filter: grayscale(100%); opacity: 0.7; -webkit-transition: all var(--transition); transition: all var(--transition); }
.sponsors-item:hover img { -webkit-filter: grayscale(0); filter: grayscale(0); opacity: 1; }
.sponsors-item-name { font-size: 1.25rem; font-weight: 700; font-style: italic; color: var(--gray-400); -webkit-transition: color var(--transition); transition: color var(--transition); }
.sponsors-item:hover .sponsors-item-name { color: var(--white); }
.sponsors-cta { max-width: 600px; margin: 4rem auto 0; padding: 3rem; text-align: center; }
.sponsors-cta-title { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.sponsors-cta-text { color: var(--gray-400); margin-bottom: 1.5rem; font-size: 0.875rem; }
.sponsors-cta .btn-outline { border-color: var(--red); color: var(--red); }
.sponsors-cta .btn-outline:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }
.contact-text { color: var(--gray-400); margin-bottom: 2rem; font-size: 0.9375rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; background: var(--gray-800); border-radius: 0.5rem; flex-shrink: 0; }
.contact-icon svg { width: 1.125rem; height: 1.125rem; color: var(--red); }
.contact-label { font-size: 0.8125rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.contact-value { font-size: 0.8125rem; color: var(--gray-400); }
.contact-value a:hover { color: var(--red); }
.contact-subvalue { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.125rem; }

/* Contact Form */
.contact-form-wrapper { background: var(--gray-900); padding: 2rem; border-radius: 0.75rem; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.875rem 1rem; font-size: 0.9375rem; font-family: inherit; color: var(--white); background: var(--gray-800); border: 1px solid var(--gray-700); border-radius: 0.375rem; transition: border-color var(--transition); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--red); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-500); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; cursor: pointer; }
.form-textarea { min-height: 150px; resize: vertical; }
.form-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; background: var(--red); color: var(--white); border: none; border-radius: 0.375rem; cursor: pointer; transition: background var(--transition); }
.form-submit:hover { background: var(--red-dark); }
.form-submit svg { width: 1.125rem; height: 1.125rem; }

/* Contact Form 7 */
.wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.wpcf7-form p { margin: 0; }
.wpcf7-form label { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin-bottom: 0.5rem; }
.wpcf7-form-control:not(.wpcf7-submit) { width: 100%; padding: 0.875rem 1rem; font-size: 0.9375rem; color: var(--white); background: var(--gray-800); border: 1px solid var(--gray-700); border-radius: 0.375rem; }
.wpcf7-form-control:focus { outline: none; border-color: var(--red); }
.wpcf7-submit { width: 100%; padding: 1rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; background: var(--red); color: var(--white); border: none; border-radius: 0.375rem; cursor: pointer; }
.wpcf7-submit:hover { background: var(--red-dark); }
.wpcf7 .wpcf7-response-output { margin: 1rem 0 0; padding: 1rem; border-radius: 0.375rem; border: none; font-size: 0.875rem; }
.wpcf7 .wpcf7-mail-sent-ok { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.wpcf7 .wpcf7-validation-errors, .wpcf7 .wpcf7-mail-sent-ng { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--gray-900); border-radius: 0.75rem; overflow: hidden; transition: transform var(--transition); }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-content { padding: 1.5rem; }
.blog-card-date { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; color: var(--gray-500); margin-bottom: 0.5rem; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card-title:hover { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--gray-800); }
.footer-content { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-content { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copyright { font-size: 0.75rem; color: var(--gray-500); }

/* ==========================================================================
   Utilities & Responsive
   ========================================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media print { .site-header, .site-footer, .mobile-menu { display: none; } body { background: white; color: black; } }

/* ==========================================================================
   Inteligentní LOGO (Desktop & Mobil)
   ========================================================================== */

/* 1. Obal loga - nastavíme maximální šířku, aby logo nevytlačilo menu */
.logo {
    display: flex;
    align-items: center;
    max-width: 100px; /* Maximální prostor, který logo může zabrat na šířku */
    height: auto;
    text-decoration: none;
    line-height: 1;
}

/* 2. Samotný obrázek loga */
.logo img,
.custom-logo-link img {
    width: auto;            /* Zachová poměr stran šířky */
    height: auto;           /* Zachová poměr stran výšky */
    max-height: 100px;       /* ZÁKLADNÍ VÝŠKA pro desktop */
    max-width: 100%;        /* Obrázek nikdy nepřeteče svůj obal */
    object-fit: contain;    /* Zajistí, že se logo nedeformuje */
    display: block;
    transition: all 0.3s ease; /* Plynulé zmenšení při scrollování */
}

/* 3. Stav při scrollování (Header je menší, logo se musí zmenšit) */
.site-header.scrolled .logo img,
.site-header.scrolled .custom-logo-link img {
    max-height: 80px; /* Zmenšená výška při scrollování */
}

/* 4. Mobilní zobrazení (Do šířky 1023px) */
@media (max-width: 1023px) {
    /* ZDE JE ZMĚNA PRO PŘESNÝ STŘED */
    .logo {
        position: absolute; /* Vytrhneme logo z toku stránky */
        left: 50%;          /* Posuneme ho do poloviny rodiče */
        top: 50%;
        transform: translate(-50%, -50%); /* Vrátíme ho o polovinu jeho vlastní šířky zpět -> SKUTEČNÝ STŘED */
        max-width: 60%;     /* Omezíme šířku, aby nelezlo do tlačítka */
        margin: 0;
        z-index: 10;
    }
    
    .logo img,
    .custom-logo-link img {
        max-height: 80px; /* Ideální výška pro mobilní telefony */
    }
    
    .site-header.scrolled .logo img,
    .site-header.scrolled .custom-logo-link img {
        max-height: 80px;
    }
}

/* ==========================================================================
   FAQ accordion (Wheelie kurz, Motoshow)
   ========================================================================== */
.mk-faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.mk-faq-item { background: var(--gray-900); border: 1px solid var(--gray-800); border-radius: 0.5rem; overflow: hidden; transition: border-color var(--transition); }
.mk-faq-item[open] { border-color: var(--red); }
.mk-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--white); list-style: none; transition: background var(--transition); }
.mk-faq-q::-webkit-details-marker { display: none; }
.mk-faq-q::marker { display: none; content: ''; }
.mk-faq-q:hover { background: var(--gray-800); }
.mk-faq-q svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform var(--transition); color: var(--gray-400); }
.mk-faq-item[open] .mk-faq-q svg { transform: rotate(180deg); color: var(--red); }
.mk-faq-a { padding: 0 1.25rem 1.25rem; color: var(--gray-300); line-height: 1.7; }

/* ==========================================================================
   Wheelie – alternující text + foto sekce (wk-pair)
   ========================================================================== */
.wk-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.wk-intro__title { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 900; font-style: italic; color: var(--white); margin-bottom: 1.25rem; }
.wk-intro__body p { color: var(--gray-300); line-height: 1.8; font-size: 0.9375rem; margin-bottom: 1rem; }

.wk-pair { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .wk-pair { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (min-width: 900px) { .wk-pair--flip .wk-pair__media { order: -1; } }

.wk-pair__eyebrow { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.wk-pair__title { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 900; font-style: italic; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.wk-pair__body p { color: var(--gray-300); line-height: 1.8; font-size: 0.9375rem; margin-bottom: 0.75rem; }
.wk-pair__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 0.75rem; }
.wk-pair__placeholder { aspect-ratio: 4/3; background: var(--gray-900); border: 2px dashed var(--gray-700); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; }
.wk-pair__placeholder svg { width: 3rem; height: 3rem; color: var(--gray-700); }

.wk-features { display: flex; flex-direction: column; gap: 1.125rem; list-style: none; padding: 0; margin-top: 0.25rem; }
.wk-feature { display: flex; gap: 0.875rem; align-items: flex-start; }
.wk-feature__icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--red); margin-top: 0.125rem; }
.wk-feature__icon svg { width: 100%; height: 100%; }
.wk-feature__title { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.wk-feature__text { font-size: 0.8125rem; color: var(--gray-400); line-height: 1.6; }