@charset "UTF-8";
/*
|--------------------------------------------------------------------------
| Czech Dance System - Public Web Styles
| Version: 1.0.0
| Layout: Public (Web)
|--------------------------------------------------------------------------
| Tento soubor slouží jako centrální vstupní bod pro veřejnou část webu.
| Obsahuje pouze @use odkazy na jednotlivé SCSS části.
| Styly se zde nepíší přímo.
|--------------------------------------------------------------------------
*/
/* ==========================================================
   ABSTRACTS
   (variables, mixins, functions)
========================================================== */
/*
|--------------------------------------------------------------------------
| Czech Dance System - Public Web Variables
| Version: 1.2.0
|--------------------------------------------------------------------------
| Dark hero variant (sportovní night energie)
| Horní část tmavý gradient, zbytek světlý.
|--------------------------------------------------------------------------
*/
/* ==========================================================
   BRAND COLORS (z loga)
========================================================== */
/* ==========================================================
   WEB COLOR SYSTEM
========================================================== */
:root {
  /* Primary Accent */
  --web-primary: #e61c81;
  --web-primary-hover: rgb(195.6523809524, 21.5476190476, 108.6);
  /* Text (pro tmavé pozadí) */
  --web-text-color: #ffffff;
  --web-text-muted: rgba(255, 255, 255, 0.75);
  /* ===== DARK GLOBAL BACKGROUND ===== */
  --web-bg: #0f172a;
  --web-bg-light: #eef2fa;
  --web-bg-gradient: linear-gradient(
      135deg,
      #0f172a 0%,
      #1e1b4b 40%,
      #312e81 70%,
      #1e293b 100%
  );
  /* ===== DARK HERO GRADIENT ===== */
  --web-hero-gradient: linear-gradient(
      135deg,
      #0f172a 0%, /* deep navy */
      #1e1b4b 40%, /* dark indigo */
      #312e81 70%, /* subtle purple */
      #1e293b 100% /* navy fade */
  );
  /* Hero text (na tmavém pozadí) */
  --web-hero-text: #ffffff;
  --web-hero-text-muted: rgba(255, 255, 255, 0.75);
  /* ===== GLASS EFFECT ===== */
  --web-glass-bg: rgba(255, 255, 255, 0.16);
  --web-glass-border: rgba(255, 255, 255, 0.25);
  /* Glass pro světlé sekce */
  --web-glass-light-bg: rgba(255, 255, 255, 0.75);
  --web-glass-light-border: rgba(30, 41, 59, 0.08);
  /* Shadow - větší hloubka pro dark sekci */
  --web-shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ==========================================================
   BASE
   (reset, typography, base settings)
========================================================== */
/* ==========================================================
   LAYOUT
   (structure, header, footer, grid)
========================================================== */
/*
|--------------------------------------------------------------------------
| Public Web - Structure
|--------------------------------------------------------------------------
| Základní layout nastavení pro veřejnou část webu.
| Ovlivňuje pouze .web-layout a jeho potomky.
|--------------------------------------------------------------------------
*/
/* ==========================================================
   GLOBAL BOX-SIZING FIX
========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ==========================================================
   BODY LAYOUT
========================================================== */
body.web-layout {
  margin: 0;
  background: var(--web-bg-gradient);
  color: var(--web-text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================
   MAIN CONTENT WRAPPER
========================================================== */
.web-content {
  width: 100%;
  padding-top: 160px; /* prostor pro floating header */
  flex: 1;
}

/* ==========================================================
   CONTAINER
========================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================
   SECTIONS
========================================================== */
.section {
  padding: 100px 0;
  background: transparent;
}

.section--light {
  margin-top: -1px; /* odstraní případnou linku mezi sekcemi */
  position: relative;
  background: var(--web-bg-light);
  color: #1a1a1a;
  /* spacing řídí .section */
  padding-top: 40px;
  padding-bottom: 100px;
  overflow: hidden;
  z-index: 1;
}

.section--light + .section {
  margin-top: 0;
}

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

/* Reduce bottom spacing of first hero section on homepage */
.section.section--center:first-of-type {
  padding-bottom: 80px;
}

.section--compact {
  padding-top: 10px;
  padding-bottom: 60px;
}

/* ==========================================================
   GRID HELPERS
========================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}

/* ==========================================================
   PAGE TRANSITIONS
========================================================== */
#page-transition {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

body.page-loaded #page-transition {
  opacity: 1;
  transform: translateY(0);
}

body.page-leave #page-transition {
  opacity: 0;
  transform: translateY(-15px);
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1024px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .web-content {
    padding-top: 140px;
  }
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 70px 0;
  }
  .web-content {
    padding-top: 120px;
  }
}
@media (max-width: 576px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 60px 0;
  }
  .web-content {
    padding-top: 110px;
  }
}
/*
|--------------------------------------------------------------------------
| Public Web - Header (Floating Glass Navigation)
|--------------------------------------------------------------------------
| Plovoucí navigace pro veřejnou část webu.
| Oddělená od Admin layoutu.
|--------------------------------------------------------------------------
*/
/* ==========================================================
   HEADER WRAPPER
========================================================== */
.web-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none; /* aby byl klikací jen vnitřní panel */
}

/* ==========================================================
   NAV PANEL (GLASS)
========================================================== */
.web-nav {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  box-sizing: border-box;
}

.web-nav__inner {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  box-sizing: border-box;
  background: var(--web-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  border: 1px solid var(--web-glass-border);
  box-shadow: var(--web-shadow-soft);
}

/* ==========================================================
   LOGO
========================================================== */
.web-logo {
  display: flex;
  align-items: center;
  margin-left: 20px; /* větší odsazení od levého oblouku */
  text-decoration: none;
}

.web-logo__full {
  height: 52px; /* hlavní velikost loga */
  width: auto;
  display: block;
}

/* ==========================================================
   MENU
========================================================== */
.web-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.web-menu li {
  display: flex;
}

.web-menu a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--web-text-color);
  transition: all 0.25s ease;
}

/* Hover underline effect */
.web-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--web-primary);
  transition: width 0.25s ease;
}

.web-menu a:hover {
  color: var(--web-primary);
}

.web-menu a:hover::after {
  width: 100%;
}

/* Active state */
.web-menu a.is-active {
  color: var(--web-primary);
}

.web-menu a.is-active::after {
  width: 100%;
}

/* ==========================================================
   CTA BUTTON (Klubová administrace)
========================================================== */
.web-menu .menu-cta a {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--web-primary);
  color: #ffffff;
  transition: all 0.25s ease;
}

.web-menu .menu-cta a::after {
  display: none;
}

.web-menu .menu-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   MOBILE MENU TOGGLE
========================================================== */
.web-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.web-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--web-text-color);
  display: block;
  border-radius: 2px;
}

.web-menu-wrapper {
  display: flex;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1024px) {
  .web-nav {
    padding: 0 16px;
  }
  .web-nav__inner {
    border-radius: 24px;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .web-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .web-header {
    top: 12px;
  }
  .web-nav {
    padding: 0 12px;
  }
  .web-nav__inner {
    border-radius: 18px;
    padding: 14px 16px;
    flex-direction: row;
  }
  .web-logo {
    margin-left: 0;
  }
  .web-logo__full {
    height: 42px;
  }
  /* Hide desktop menu */
  .web-menu-wrapper {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .web-menu-wrapper.is-open {
    display: block;
    animation: mobileMenuFade 0.2s ease forwards;
  }
  .web-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  }
  .web-menu a {
    width: 100%;
    font-size: 1.05rem;
    color: #ffffff;
  }
  .web-menu .menu-cta a {
    width: 100%;
    text-align: center;
  }
  /* Show hamburger */
  .web-menu-toggle {
    display: flex;
  }
}
@keyframes mobileMenuFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 576px) {
  .web-nav {
    padding: 0 10px;
  }
  .web-nav__inner {
    border-radius: 16px;
    padding: 12px 14px;
  }
  .web-menu {
    gap: 12px;
  }
}
/*
|--------------------------------------------------------------------------
| Public Web - Footer
|--------------------------------------------------------------------------
*/
.web-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1e293b 100%);
  color: #ffffff;
  padding: 14px 0;
  width: 100%;
  box-sizing: border-box;
}

.web-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.web-footer__left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.web-footer__copyright {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.95;
}

.web-footer__version {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.web-footer__version-number {
  font-weight: 600;
  opacity: 1;
}

.web-footer__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.web-footer__developed {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

.web-footer__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.web-footer__brand-logo {
  height: 32px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.web-footer__brand:hover .web-footer__brand-logo {
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .web-footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .web-footer__right {
    justify-content: center;
  }
}
/*
|--------------------------------------------------------------------------
| Responsive Layout Overrides
|--------------------------------------------------------------------------
| Tento soubor obsahuje POUZE breakpoint override.
| Desktop styly zůstávají nedotčené.
| Backend zůstává source of truth.
|--------------------------------------------------------------------------
*/
/* =========================================================
   <= 1200px (menší desktop / malé notebooky)
========================================================= */
/* =========================================================
   <= 992px (tablet landscape)
========================================================= */
/* =========================================================
   <= 768px (tablet portrait)
========================================================= */
/* =========================================================
   <= 576px (mobil)
========================================================= */
/* ==========================================================
   COMPONENTS
   (buttons, cards, glass, forms, etc.)
========================================================== */
/*
|--------------------------------------------------------------------------
| Public Web - Buttons
|--------------------------------------------------------------------------
| Tlačítka pro veřejnou část webu.
| Navázáno na CSS custom properties z abstracts/_variables.scss
|--------------------------------------------------------------------------
*/
/* ==========================================================
   BASE BUTTON
========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

/* ==========================================================
   PRIMARY BUTTON
========================================================== */
.btn-primary {
  background: var(--web-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: var(--web-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   SECONDARY BUTTON
========================================================== */
.btn-secondary {
  background: transparent;
  color: var(--web-primary);
  border: 2px solid var(--web-primary);
}

.btn-secondary:hover {
  background: var(--web-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   BUTTON SIZES (do budoucna)
========================================================== */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ==========================================================
   DOCUMENT BUTTONS (Competitions)
========================================================== */
/* Default document button (grey) */
.web-btn--doc {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.web-btn--doc:hover {
  background: #e5e7eb;
  color: #111827;
  transform: translateY(-2px);
}

/* Propositions - Green */
.web-btn--doc-propositions {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

.web-btn--doc-propositions:hover {
  background: #c3e6cb;
  color: #155724;
  transform: translateY(-2px);
}

/* Start list - Blue */
.web-btn--doc-startlist {
  background: #e7f0ff;
  color: #1d4ed8;
  border: 1px solid #cfe2ff;
}

.web-btn--doc-startlist:hover {
  background: #cfe2ff;
  color: #1e3a8a;
  transform: translateY(-2px);
}

/* Rehearsal - Purple */
.web-btn--doc-rehearsal {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.web-btn--doc-rehearsal:hover {
  background: #e9d5ff;
  color: #5b21b6;
  transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Public Web - Glass Component
|--------------------------------------------------------------------------
| Glass morphism efekt pro veřejnou část webu.
| Navázáno na CSS custom properties z abstracts/_variables.scss
|--------------------------------------------------------------------------
*/
/* ==========================================================
   BASE GLASS
========================================================== */
.glass {
  background: var(--web-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid var(--web-glass-border);
  box-shadow: var(--web-shadow-soft);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section--light .glass {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14), 0 10px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section--light .glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 45px 100px rgba(15, 23, 42, 0.2), 0 15px 30px rgba(15, 23, 42, 0.1);
}

/* ==========================================================
   GLASS VARIANTS (do budoucna)
========================================================== */
.glass--strong {
  background: rgba(230, 28, 129, 0.12);
  border: 1px solid rgba(230, 28, 129, 0.25);
}

.glass--light {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================
   Responsive Safety
========================================================== */
@media (max-width: 768px) {
  .glass {
    border-radius: 18px;
  }
}
@media (max-width: 576px) {
  .glass {
    border-radius: 16px;
  }
}
/* ==========================================================
   PAGES
   (home, competitions, guide, etc.)
========================================================== */
/*
|--------------------------------------------------------------------------
| Homepage Styles
|--------------------------------------------------------------------------
| Styly přesunuté z inline definic v home.php
|--------------------------------------------------------------------------
*/
.hero-description {
  margin-top: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-card {
  padding: 40px;
  text-align: center;
}

.home-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.feature-text {
  margin-top: 16px;
}

/* =========================================================
   Responsive - Homepage
========================================================= */
@media (max-width: 768px) {
  .hero-description {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
  }
  .feature-card {
    padding: 28px 18px;
  }
  .home-section-title {
    margin-bottom: 40px;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}
@media (max-width: 576px) {
  .feature-card {
    padding: 20px;
  }
}
/* =========================================================
   Overflow fix - Homepage cards
========================================================= */
.feature-card {
  overflow: hidden;
}

.feature-card h3,
.feature-card p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   Force mobile card width (diagnostic)
========================================================= */
@media (max-width: 768px) {
  .feature-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}
/* Remove bottom spacing from light section only on homepage */
.section--light {
  padding-bottom: 60px;
}

/* =========================================================
   CTA DARK SECTION (connected to light section)
========================================================= */
.section--cta-dark {
  background: #111827;
  color: #ffffff;
  text-align: center;
  /* Pull CTA closer to previous light section */
  padding-top: 0;
  padding-bottom: 90px;
}

.home-cta {
  padding-top: 70px;
}

.home-cta-title {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.home-cta-text {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .section--cta-dark {
    padding-top: 0;
    padding-bottom: 70px;
  }
  .home-cta {
    padding-top: 50px;
  }
  .home-cta-title {
    font-size: 1.6rem;
  }
  .home-cta-text {
    font-size: 1rem;
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* =========================================================
   PARTNERS SECTION
========================================================= */
.section--partners {
  background: var(--web-bg-gradient);
  color: #ffffff;
  text-align: center;
  padding-top: 0;
  padding-bottom: 40px;
}

.partners-inner {
  padding-top: 25px;
}

.partners-inner .partners-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo img {
  max-width: 220px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.06);
  opacity: 1;
}

.section--partners .home-section-title {
  color: #ffffff;
}

@media (max-width: 992px) {
  .partners-inner .partners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .section--partners {
    padding-top: 0;
    padding-bottom: 30px;
  }
  .partners-inner {
    padding-top: 20px;
  }
  .partners-inner .partners-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .partner-logo {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}
.web-competition-card {
  background: #ffffff;
  color: #111827;
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.web-competition-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.web-competition-status {
  position: absolute;
  top: 16px;
  right: 16px;
}

.web-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.web-status-badge--registration_open {
  background: #dcfce7;
  color: #166534;
}

.web-status-badge--registration_closed {
  background: #fee2e2;
  color: #991b1b;
}

.web-status-badge--active {
  background: #dbeafe;
  color: #1e3a8a;
}

.web-status-badge--published {
  background: #f3f4f6;
  color: #374151;
}

.web-competition-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.web-competition-meta p,
.web-competition-registration p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.web-competition-notice {
  background: #f5f7fa;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #111827;
}

.web-competition-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.web-competition-links-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.web-competition-links-right {
  display: flex;
}

.web-competition-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
}

.web-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.web-btn--primary {
  background: #16a34a;
  color: #ffffff;
}

.web-btn--primary:hover {
  background: #15803d;
}

.web-btn--secondary {
  background: #e5e7eb;
  color: #111827;
}

.web-btn--secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.web-btn--link {
  background: transparent;
  color: #111827;
  padding: 0;
}

.web-btn--link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .web-competition-actions {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
}
/* Reduce top spacing under header specifically for competitions page */
.section:first-of-type {
  padding-top: 20px;
}

/* Reduce spacing between competition sections */
.web-section-heading {
  margin-top: 12px;
  margin-bottom: 6px;
}

.section + .section {
  padding-top: 0px;
}

@media (max-width: 576px) {
  .web-competition-status {
    position: static;
    margin-bottom: 4px;
  }
  .web-competition-card {
    padding-top: 20px;
  }
  .web-competition-links {
    flex-direction: column;
    align-items: stretch;
  }
  .web-competition-links-left,
  .web-competition-links-right {
    width: 100%;
    flex-direction: column;
  }
  .web-competition-links-left {
    gap: 8px;
  }
  .web-competition-links-right {
    margin-top: 8px;
  }
  .web-competition-links .web-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================
   NÁVOD NA PŘIHLAŠOVÁNÍ – HERO LANDING VERZE
   ========================================== */
/* =========================
   HERO SEKCE (obsahuje i kroky)
   ========================= */
.section--center.navod-hero {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 120px;
}
.section--center.navod-hero h1 {
  margin-bottom: 18px;
}
.section--center.navod-hero .section__lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0.9;
}
.section--center.navod-hero .navod-steps--hero {
  margin-top: 80px;
}
.section--center.navod-hero .navod-hero__cta--bottom {
  margin-top: 70px;
}

/* =========================
   GRID KROKŮ V HERO
   ========================= */
.navod-steps--hero .grid-3 {
  gap: 40px;
}

/* Moderní karta kroku (na tmavém gradientu) */
.navod-step {
  position: relative;
  overflow: hidden;
  padding: 44px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* jemné zvýraznění glass efektu na tmavém pozadí */
  backdrop-filter: blur(14px);
}
.navod-step h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  font-size: 20px;
}
.navod-step p {
  position: relative;
  z-index: 2;
  line-height: 1.6;
  opacity: 0.9;
}
.navod-step:hover {
  transform: translateY(-8px);
}

/* Velké moderní číslo v pozadí */
.navod-step__number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 80px;
  font-weight: 700;
  opacity: 0.05;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* =========================
   CTA DARK SEKCE
   ========================= */
.section--cta-dark.navod-cta {
  text-align: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.section--cta-dark.navod-cta h2 {
  margin-bottom: 18px;
}
.section--cta-dark.navod-cta p {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
}
.section--cta-dark.navod-cta .navod-cta__btn {
  margin-top: 36px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px) {
  .section--center.navod-hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .navod-steps--hero {
    margin-top: 60px;
  }
  .navod-step {
    padding: 36px;
  }
  .navod-step__number {
    font-size: 64px;
  }
}
@media (max-width: 576px) {
  .section--center.navod-hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .navod-steps--hero {
    margin-top: 40px;
  }
  .navod-step {
    padding: 28px;
  }
  .navod-step__number {
    font-size: 52px;
    top: 18px;
    right: 18px;
  }
  .section--cta-dark.navod-cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}