/* ============================================
   OREL WEBSITE - STYLE SHEET
   Křesťanská sportovní organizace
   ============================================ */

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--orel-primary-dark);
  color: white;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.cookie-consent-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-link {
  color: var(--orel-secondary);
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions .btn {
    flex: 1;
  }
}

/* ============================================
   PROMĚNNÉ A ZÁKLADNÍ NASTAVENÍ
   ============================================ */

:root {
  --orel-primary: #006699;
  --orel-secondary: #ffd447;
  --orel-white: #ffffff;
  --orel-primary-dark: #004d73;
  --orel-primary-light: #0080bf;
}

/* Základní nastavení těla dokumentu */
body {
  font-family: "Inter", sans-serif;
}

/* Kontejner s max. šířkou */
.container {
  max-width: 1440px;
}

/* ============================================
   ZÁKLADNÍ STYLY KOMPONENT
   ============================================ */

/* Primární barvy */
.bg-primary {
  background-color: #006699 !important;
  border: 1px solid white !important;
}

.text-primary {
  color: #006699 !important;
}

/* Sekundární barvy (žlutá) */
.bg-secondary {
  background-color: #ffd447 !important;
  border: 1px solid #ffd447 !important;
  color: #333 !important;
}

.bg-secondary:hover {
  background-color: #d7a500 !important;
  border-color: #d7a500 !important;
  color: #333 !important;
}

.text-secondary {
  color: #ffd447 !important;
}

/* Modrý gradient pro pozadí */
.blue-gradient {
  background: linear-gradient(135deg, #003d5c 0%, #006699 50%, #004d73 100%);
  color: white;
}

/* ============================================
   TLAČÍTKA A HOVER EFEKTY
   ============================================ */

/* Všechna tlačítka bez zakulacených rohů a s přechodem */
.btn {
  border-radius: 0;
  transition: all 0.3s ease;
}

/* Primární tlačítka (modrá) s hover efektem */
.btn-primary {
  background-color: var(--orel-primary);
  border: 1px solid white;
  color: white !important;
}

/* Sekundární tlačítka (žlutá) s hover efektem */
.btn-secondary {
  background-color: #ffd447 !important;
  border: 1px solid #ffd447 !important;
  color: #333 !important;
}

.btn-secondary:hover {
  background-color: #d7a500 !important;
  border-color: #d7a500 !important;
  color: #333 !important;
}

.btn-primary:hover {
  background-color: var(--orel-primary-dark);
  border-color: white;
  color: white !important;
}

/* Sekundární tlačítka (žlutá) - inline styly s hover efektem */
.btn[style*="background-color: #FFD447"],
.btn[style*="background-color:#FFD447"] {
  transition: all 0.3s ease !important;
  border: 1px solid #ffd447 !important;
  color: #333 !important;
}

.btn[style*="background-color: #FFD447"]:hover,
.btn[style*="background-color:#FFD447"]:hover {
  background-color: #d7a500 !important;
  border-color: #d7a500 !important;
  color: #333 !important;
}

/* Primární tlačítka (modrá) - inline styly s hover efektem */
.btn[style*="background-color: #006699"],
.btn[style*="background-color:#006699"] {
  transition: all 0.3s ease !important;
  border: 1px solid white !important;
}

.btn[style*="background-color: #006699"]:hover,
.btn[style*="background-color:#006699"]:hover {
  background-color: var(--orel-primary-dark) !important;
  border-color: white !important;
}

/* Outline tlačítka s hover efektem */
.btn-outline-primary {
  color: var(--orel-primary) !important;
  border-color: var(--orel-primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--orel-primary) !important;
  border-color: var(--orel-primary) !important;
  color: white !important;
}

.btn-outline-secondary:hover {
  background-color: #ffd447;
  border-color: #ffd447;
  color: #333;
}

/* ============================================
   NAVIGACE A LOGO
   ============================================ */

/* Logo v navigaci */
a.navbar-brand img {
  height: 40px;
}

/* Blur pozadí pro navigaci */
.bg-blurred {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

/* Navigační odkazy - výchozí stav (bílý text) */
li.nav-item a.nav-link {
  color: white;
  font-weight: 400 !important;
  transition: color 0.3s ease;
}

li.nav-item a.nav-link:hover,
li.nav-item a.nav-link:focus {
  color: var(--orel-secondary) !important;
}

li.nav-item a.nav-link:active,
li.nav-item a.nav-link.active {
  color: var(--orel-secondary) !important;
}

/* Dropdown menu styly */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  color: #333;
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--orel-primary);
  color: white;
}

.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--orel-primary-dark);
  color: white;
}

/* Dropdown toggle šipka */
.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Navigace tlačítka */
.navbar .btn-link {
  color: white;
  transition: color 0.3s ease;
}

.navbar .btn-link:hover,
.navbar .btn-link:focus {
  color: var(--orel-secondary) !important;
}

/* Navbar ve scrolled stavu - modré pozadí, bílý text */
#mainNavbar {
  background: var(--orel-primary) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mobilní header - modrý pro no-hero stránky */
@media (max-width: 991.98px) {
  .no-hero #mainNavbar {
    background: var(--orel-primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  }

  .no-hero #mainNavbar .navbar-logo-white {
    display: block !important;
  }

  .no-hero #mainNavbar .navbar-logo-dark {
    display: none !important;
  }

  .no-hero #mainNavbar .btn-link {
    color: white !important;
  }

  .no-hero #mainNavbar .btn-link:hover {
    color: var(--orel-secondary) !important;
  }

  /* Mobilní header - has-hero stránky (index) - průhledný na začátku */
  .has-hero #mainNavbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
  }

  .has-hero #mainNavbar .navbar-logo-white {
    display: block !important;
  }

  .has-hero #mainNavbar .navbar-logo-dark {
    display: none !important;
  }

  .has-hero #mainNavbar .btn-link {
    color: white !important;
  }

  .has-hero #mainNavbar .btn-link:hover {
    color: var(--orel-secondary) !important;
  }

  /* Mobilní header - has-hero stránky po scrollu */
  .has-hero #mainNavbar.scrolled {
    background: var(--orel-primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  }

  .has-hero #mainNavbar.scrolled .navbar-logo-white {
    display: block !important;
  }

  .has-hero #mainNavbar.scrolled .navbar-logo-dark {
    display: none !important;
  }
}

#mainNavbar.scrolled li.nav-item a.nav-link,
#mainNavbar.scrolled li.nav-item a.nav-link:visited {
  color: white !important;
}

#mainNavbar.scrolled li.nav-item a.nav-link:hover,
#mainNavbar.scrolled li.nav-item a.nav-link:focus {
  color: var(--orel-secondary) !important;
}

#mainNavbar.scrolled li.nav-item a.nav-link:active,
#mainNavbar.scrolled li.nav-item a.nav-link.active {
  color: var(--orel-secondary) !important;
  font-weight: 600 !important;
}

#mainNavbar.scrolled .btn-link {
  color: white !important;
}

#mainNavbar.scrolled .btn-link:hover,
#mainNavbar.scrolled .btn-link:focus {
  color: var(--orel-secondary) !important;
}

#mainNavbar.scrolled .dropdown-menu {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#mainNavbar.scrolled .dropdown-item {
  color: #333;
}

#mainNavbar.scrolled .dropdown-item:hover,
#mainNavbar.scrolled .dropdown-item:focus {
  background-color: var(--orel-primary);
  color: white;
}

#mainNavbar.scrolled .dropdown-item:active,
#mainNavbar.scrolled .dropdown-item.active {
  background-color: var(--orel-primary-dark);
  color: white;
}

/* Logo přepínání */
.navbar-logo-white {
  transition: opacity 0.3s ease;
}

.navbar-logo-dark {
  transition: opacity 0.3s ease;
}

/* Po scrollu zůstává bílé logo (modrý background) */
#mainNavbar.scrolled .navbar-logo-white {
  display: block !important;
}

#mainNavbar.scrolled .navbar-logo-dark {
  display: none !important;
}

/* Stránky bez hero obrázku - vždy modrý navbar */
.no-hero #mainNavbar {
  background: var(--orel-primary) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.no-hero #mainNavbar li.nav-item a.nav-link,
.no-hero #mainNavbar li.nav-item a.nav-link:visited {
  color: white !important;
}

.no-hero #mainNavbar li.nav-item a.nav-link:hover,
.no-hero #mainNavbar li.nav-item a.nav-link:focus {
  color: var(--orel-secondary) !important;
}

.no-hero #mainNavbar li.nav-item a.nav-link:active,
.no-hero #mainNavbar li.nav-item a.nav-link.active {
  color: var(--orel-secondary) !important;
  font-weight: 600 !important;
}

/* Na stránkách no-hero zobrazit bílé logo (modrý background) */
.no-hero #mainNavbar .navbar-logo-white {
  display: block !important;
}

.no-hero #mainNavbar .navbar-logo-dark {
  display: none !important;
}

.no-hero #mainNavbar .btn-link {
  color: white !important;
}

.no-hero #mainNavbar .btn-link:hover,
.no-hero #mainNavbar .btn-link:focus {
  color: var(--orel-secondary) !important;
}

.no-hero #mainNavbar .dropdown-menu {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.no-hero #mainNavbar .dropdown-item {
  color: #333;
}

.no-hero #mainNavbar .dropdown-item:hover,
.no-hero #mainNavbar .dropdown-item:focus {
  background-color: var(--orel-primary);
  color: white;
}

.no-hero #mainNavbar .dropdown-item:active,
.no-hero #mainNavbar .dropdown-item.active {
  background-color: var(--orel-primary-dark);
  color: white;
}

/* Offcanvas navigace */
.offcanvas li.nav-item a.nav-link,
.offcanvas li.nav-item a.nav-link:visited,
.offcanvas li.nav-item a.nav-link:hover,
.offcanvas li.nav-item a.nav-link:focus,
.offcanvas li.nav-item a.nav-link:active {
  color: #333 !important;
  text-decoration: none !important;
}

.offcanvas .collapse li.nav-item a.nav-link,
.offcanvas .collapse li.nav-item a.nav-link:visited,
.offcanvas .collapse li.nav-item a.nav-link:hover,
.offcanvas .collapse li.nav-item a.nav-link:focus,
.offcanvas .collapse li.nav-item a.nav-link:active {
  color: #333 !important;
  text-decoration: none !important;
}

/* ============================================
   HERO SEKCE A KARTY
   ============================================ */

/* Hero sekce */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 30%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.pt-big {
  padding-top: 8rem !important;
}

/* Hero hlavní obrázek */
.hero-main-image {
  height: 100vh;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 992px) {
  .hero-main-image {
    height: 67vh;
  }
}

.hero-overlay {
  /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);*/
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-overlay {
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%, transparent 100%);*/
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2;
  }
}

.hero-content {
  width: 100%;
  max-width: 900px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 3;
}

.hero-content a {
    text-shadow: none;
}

/* Hero image karty */
.hero-image-card {
  position: relative;
  overflow: hidden;
  height: 400px;
  display: block;
  z-index: 1;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0) brightness(0.8);
  transition: filter 0.4s ease;
}

/* Základní gradient overlay */
.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Hover gradient overlay */
.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(10, 25, 54, 0.7), rgba(6, 29, 45, 0.5), rgba(0, 150, 255, 0) 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hero-image-card .card-img-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-image-card .card-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 2px;
  transform: translateY(120px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}

.hero-image-card .card-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  margin-top: 1rem;
}

.hero-image-card .card-description p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero karty hover efekty */
.hero-image-card:hover img {
  filter: grayscale(0) brightness(1);
}

.hero-image-card:hover::after {
  opacity: 1;
}

.hero-image-card:hover .card-title {
  color: #fff;
  text-transform: none;
  transform: translateY(0);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-image-card:hover .card-description {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   AKTUALITY A KARTY
   ============================================ */

/* News karty */
.news-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card .card-img-top {
  height: 200px !important;
  overflow: hidden;
  position: relative;
}

.news-card img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover img {
  transform: scale(1.05);
  overflow: hidden;
  height: 200px;
}

/* News Grid Cards - nový design pro aktuality */
.news-grid-card {
  background: white;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-grid-card:hover {
  border-color: var(--orel-primary);
  background-color: #f8f9fa;
}

.news-grid-card.no-hover:hover {
  border-color: #dee2e6;
  background-color: white;
}

.news-grid-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  background-color: #f8f9fa;
}

.news-grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge varianty - obecné */
.badge.badge-duchovno {
  background-color: var(--orel-secondary) !important;
  color: #333 !important;
}

.badge.badge-kultura {
  background-color: var(--orel-primary-dark) !important;
  color: white !important;
}

.badge.badge-vzdelani {
  background-color: #28a745 !important;
  color: white !important;
}

.news-grid-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--orel-primary);
  color: white;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  z-index: 2;
}

.news-grid-badge.badge-duchovno {
  background-color: var(--orel-secondary);
  color: #333;
}

.news-grid-badge.badge-kultura {
  background-color: var(--orel-primary-dark);
}

.news-grid-badge.badge-vzdelani {
  background-color: #28a745;
}

.news-grid-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-grid-date {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.news-grid-title {
  color: #212529;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid-excerpt {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .news-grid-image-wrapper {
    height: 200px;
  }

  .news-grid-content {
    padding: 1rem;
  }
}

/* Event/News item styly */
.event-item {
  transition: all 0.3s ease;
  border-left: 4px solid #dee2e6 !important;
  background-color: #fff;
  text-decoration: none !important;
}

.event-item:hover {
  border-left-color: var(--orel-primary, #006699) !important;
  background-color: #f8f9fa !important;
}

/* Date box */
.date-box {
  width: 60px;
}

.date-box .day {
  line-height: 1;
}

/* News thumbnail */
.news-thumb {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
}

.news-thumb.placeholder {
  background-color: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #6c757d;
}

.news-excerpt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* News card image pro malé obrázky */
.news-card-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
}

.news-card-excerpt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .news-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  .news-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ============================================
   SWIPER A POSTER STYLY
   ============================================ */

.posterSwiper {
  padding-bottom: 50px;
}

.posterSwiper .swiper-pagination-bullet-active {
  background: var(--orel-secondary);
}

.poster-card {
  cursor: pointer;
}

/* ============================================
   PARTNEŘI A LOGA
   ============================================ */

.partner-logo img,
.partner-logo-main img,
.partner-logo-small img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo:hover img,
.partner-logo-main:hover img,
.partner-logo-small:hover img {
  opacity: 1;
}

.partner-logo {
  max-height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

/* ============================================
   MAPA A PLACEHOLDER
   ============================================ */

.map-placeholder {
  position: relative;
  overflow: hidden;
  height: calc(100% - 7px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  position: relative;
}

footer .social-links a {
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .social-links a:hover {
  background-color: white !important;
  border-color: white !important;
  color: var(--orel-primary) !important;
}

footer .hover-link {
  transition: color 0.3s ease;
}

footer .hover-link:hover {
  color: var(--orel-secondary) !important;
}

/* ============================================
   FIXNÍ PANEL PRO POMOC
   ============================================ */

.fixed-help-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.help-panel-content {
  background: linear-gradient(135deg, #003d5c 0%, #006699 50%, #004d73 100%);
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
}

.help-panel-content:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.help-image img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .fixed-help-panel {
    bottom: 15px;
    right: 15px;
  }

  .help-panel-content {
    padding: 0.4rem 0.6rem;
  }

  .help-image img {
    width: 25px;
    height: 25px;
  }

  .help-info span {
    font-size: 0.7rem !important;
  }

  .help-info small {
    font-size: 0.6rem !important;
  }
}

/* ============================================
   FORMULÁŘE A VSTUPY
   ============================================ */

.form-control:focus,
.form-select:focus {
  border-color: var(--orel-primary);
  box-shadow: none;
}

/* ============================================
   SEKCE A OBECNÉ STYLY
   ============================================ */

section {
  scroll-margin-top: 70px;
}

.stat-box {
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.stat-box:hover {
  background-color: #f8f9fa;
}

/* ============================================
   DIVIDERS A ROZDĚLOVAČE
   ============================================ */

@media (min-width: 768px) {
  .divider {
    position: relative;
  }

  .divider:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background-color: #dee2e6;
  }

  .row:not(:last-child) .divider::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 0;
    height: 1px;
    background-color: #dee2e6;
  }

  .stats-divider {
    position: relative;
  }

  .stats-divider:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    width: 1px;
    background-color: #dee2e6;
  }
}

/* ============================================
   FULLCALENDAR STYLY
   ============================================ */

.calendar-container {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.events-container {
  background: rgb(248, 249, 250);
  padding: 1.5rem;
}

.fc {
  font-family: "Inter", sans-serif;
}

.fc-theme-standard .fc-scrollgrid {
  border: 1px solid #dee2e6;
}

.fc .fc-button-primary {
  background-color: var(--orel-primary);
  border-color: var(--orel-primary);
  font-weight: 500;
}

.fc .fc-button-primary:hover {
  background-color: var(--orel-primary-dark);
  border-color: var(--orel-primary-dark);
}

.fc .fc-button-primary:not(:disabled):active {
  background-color: var(--orel-primary-dark);
  border-color: var(--orel-primary-dark);
}

.fc-daygrid-event {
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.fc-event-1 {
  background-color: var(--orel-primary);
  border-color: var(--orel-primary);
}

.fc-event-2 {
  background-color: var(--orel-primary-dark);
  border-color: var(--orel-primary-dark);
}

.fc-event-3 {
  background-color: var(--orel-secondary);
  border-color: var(--orel-secondary);
  color: #000 !important;
}

.fc-event-3 .fc-event-main {
  color: black !important;
}

.fc-event-10 {
  background-color: #28a745;
  border-color: #28a745;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(0, 102, 153, 0.1);
}

.fc .fc-day-selected {
  background-color: rgba(0, 102, 153, 0.2);
}

.fc .fc-daygrid-day:hover {
  background-color: rgba(0, 102, 153, 0.05);
  cursor: pointer;
}

/* Tooltip styly */
.fc-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 9999;
  pointer-events: none;
  transform: translateX(-50%) translateY(-100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 250px;
  word-wrap: break-word;
}

.fc-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.tooltip-content strong {
  color: var(--orel-secondary);
}

.tooltip-content small {
  opacity: 0.9;
}

.tooltip-event {
  margin-bottom: 8px;
}

.tooltip-event:last-child {
  margin-bottom: 0;
}

.tooltip-event + .tooltip-event {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 8px;
}

@media (max-width: 991px) {
  .calendar-container {
    margin-top: 2rem;
  }

  .fc-toolbar {
    flex-direction: column;
    gap: 1rem;
  }

  .fc .fc-toolbar-chunk {
    justify-content: center;
  }

  .fc-tooltip {
    font-size: 0.8rem;
    padding: 6px 10px;
    max-width: 200px;
  }
}

/* ============================================
   OFFCANVAS MENU
   ============================================ */

/* Animace šipky v offcanvas menu */
.offcanvas .nav-link[data-bs-toggle="collapse"] .bi-chevron-down {
  transition: transform 0.3s ease;
}

.offcanvas .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

/* ============================================
   TEXT STRÁNKY (PROFIL ORLA)
   ============================================ */

#telo_obsah a {
  color: var(--orel-primary);
  font-weight: 600;
}

#telo_obsah h1,
#telo_obsah h2,
#telo_obsah h3,
#telo_obsah h4,
#telo_obsah h5,
#telo_obsah h6 {
  margin-top: 1em;
  font-weight: 600;
}

#telo_obsah h1 {
  text-align: center;
  margin-bottom: 3rem !important;
  font-weight: 700;
}

#telo_obsah img {
  float: left !important;
  margin: 0 1.2rem 1rem 0;
  max-width: 100%;
  height: auto;
}

#telo_obsah .clear {
  clear: both;
}

#telo_obsah::after {
  content: "";
  display: block;
  clear: both;
}

#telo_obsah p {
  line-height: 1.6;
}

@media (max-width: 640px) {
  #telo_obsah img {
    float: none !important;
    display: block;
    margin: 0 auto 1rem;
    width: 100% !important;
  }
}

/* ============================================
   KALENDÁŘ STRÁNKA A KASLENDÁŘ VŠEOBECNĚ
   ============================================ */

.event-card {
  background: white;
  border: 1px solid #dee2e6;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: var(--orel-primary);
  background-color: #f8f9fa;
}

.month-section h3 {
  color: #212529;
}

.month-section .bi-calendar3 {
  font-size: 1.2rem;
}

.fc .fc-daygrid-day-number {
  text-decoration: none;
  font-weight: 600;
}

a.fc-col-header-cell-cushion {
  text-decoration: none;
  color: var(--bs-black);
}

/* ============================================
   MODERNÍ KALENDÁŘ DESIGN (experimentální)
   Smazat tuto sekci pro návrat k původnímu designu
   ============================================ */

/* Odstranění borderů z kalendáře */
.fc-theme-standard .fc-scrollgrid {
  border: none !important;
}

.fc-theme-standard td,
.fc-theme-standard th {
  border: none !important;
}

/* Přidání mezer mezi dláždicemi */
.fc .fc-daygrid-body {
  border-spacing: 1px;
  border-collapse: separate;
}

.fc-theme-standard .fc-scrollgrid table {
  border-collapse: separate;
  border-spacing: 1px;
}

/* Světle šedé pozadí pro všechny dny */
.fc .fc-daygrid-day {
  background-color: #f8f9fa !important;
  border-radius: 0px;
  transition: all 0.2s ease;
}

/* Padding uvnitř dlaždic */
.fc .fc-daygrid-day-frame {
  padding: 2px;
}

/* Číslo dne */
.fc .fc-daygrid-day-number {
  padding: 4px 8px;
  text-align: center;
  margin: 0 auto;
  color: var(--bs-black);
}

/* Dnešní den - jemné zvýraznění */
.fc .fc-daygrid-day.fc-day-today {
  background-color: #e3f2fd !important;
  box-shadow: 0 2px 8px rgba(0, 102, 153, 0.15);
}

/* Vybraný den - výraznější */
.fc .fc-day-selected {
  background-color: #bbdefb !important;
  box-shadow: 0 4px 12px rgba(0, 102, 153, 0.25);
  transform: scale(1.02);
}

/* Hover efekt */
.fc .fc-daygrid-day:hover {
  background-color: #e9ecef !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Aby hover nefungoval na dnešním a vybraném dni */
.fc .fc-daygrid-day.fc-day-today:hover,
.fc .fc-day-selected:hover {
  transform: scale(1.02);
}

/* Zaoblené rohy pro události */
.fc-daygrid-event {
  border-radius: 0px !important;
  margin: 2px 0;
}

/* Header kalendáře - bez borderů */
.fc .fc-col-header-cell {
  border: none !important;
  padding: 8px 4px;
  background-color: transparent;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
  .fc .fc-daygrid-body,
  .fc-theme-standard .fc-scrollgrid table {
    border-spacing: 4px;
  }

  .fc .fc-daygrid-day-frame {
  }
}

.fc .fc-button-group button {
  border-radius: 0px;
}

.fc .fc-button-primary {
  border-radius: 0px !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: none !important;
}

/* ============================================
   ORELSKÁ MODLITBA - Prayer section
   ============================================ */

.prayer-section {
  padding: 2rem 1rem;
}

.prayer-content {
  position: relative;
  padding: 2rem;
  padding-left: 2.5rem;
  background: white;
}

/*
.prayer-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orel-primary);
  margin-left: -1rem;
}
  */

.prayer-content p {
  color: #333;
  font-style: italic;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.prayer-quote-start,
.prayer-quote-end {
  font-size: 4rem;
  color: var(--orel-secondary);
  opacity: 0.3;
  position: absolute;
  font-style: normal;
  line-height: 0;
}

.prayer-quote-start {
  top: 1rem;
  left: 1rem;
}

.prayer-quote-end {
  bottom: 1rem;
  right: 1rem;
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .prayer-content {
    padding: 1.5rem 1rem;
  }

  .prayer-quote-start,
  .prayer-quote-end {
    font-size: 3rem;
  }
}

/* ============================================
   ČASOPIS - Magazine section
   ============================================ */

.magazine-feature-card {
  background: white;
  border: 1px solid #dee2e6;
}

/* Náhled obálky */
.magazine-feature-cover {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.magazine-feature-cover-inner {
  position: relative;
  max-width: 280px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.magazine-feature-cover-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.magazine-feature-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
}

/* Obsah vpravo */
.magazine-feature-content {
  padding: 2.5rem;
}

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

/* Responzivní úpravy */
@media (max-width: 767px) {
  .magazine-feature-cover {
    padding: 2rem 1rem;
  }

  .magazine-feature-cover-inner {
    max-width: 200px;
  }

  .magazine-feature-content {
    padding: 2rem 1.5rem;
  }

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

  .magazine-feature-badge {
    top: 0;
    right: 0;
  }
}

/* ============================================
   SIDEBAR - Sticky sidebar pro podstránky
   ============================================ */

/* Sidebar widget styling */
.sidebar-widget {
  background: white;
}

/* Sidebar menu - aktivní položka */
.sidebar-widget .list-group-item.active {
  background-color: var(--orel-primary);
  border-color: var(--orel-primary);
  color: white;
}

.sidebar-widget .list-group-item.active:hover {
  background-color: var(--orel-primary-dark);
  border-color: var(--orel-primary-dark);
  color: white;
}

/* Sidebar menu - hover efekt */
.sidebar-widget .list-group-item:hover {
  background-color: rgba(0, 102, 153, 0.05);
  color: var(--orel-primary);
}

@media (min-width: 992px) {
  .sidebar-sticky {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  /* Stylování scrollbaru */
  .sidebar-sticky::-webkit-scrollbar {
    width: 6px;
  }

  .sidebar-sticky::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .sidebar-sticky::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }

  .sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

/* ============================================
   PAGE HERO - Hero sekce pro podstránky
   ============================================ */

/*
  Použití - Varianta A (s obrázkem):
  <section class="page-hero">
    <img src="images/hero-kids.jpg" alt="" class="page-hero-image" />
    <div class="page-hero-overlay"></div>
    <div class="page-hero-content">
      <h1>Název stránky</h1>
    </div>
  </section>

  Použití - Varianta B (bez obrázku, jen gradient):
  <section class="page-hero" style="background: linear-gradient(135deg, #003d5c, #006699);">
    <div class="page-hero-content">
      <h1>Název stránky</h1>
    </div>
  </section>

  Body tag: použijte class="has-page-hero"
*/

.page-hero {
  position: relative;
  overflow: hidden;
  height: 40vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  width: 100%;
  max-width: 1200px;
}

.page-hero-content h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* Responzivní úpravy */
@media (max-width: 991px) {
  .page-hero {
    height: 50vh;
    margin-top: 72px;
  }

  .page-hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

  .page-hero-content {
    padding: 0 1.5rem;
  }
}

/* Navbar pro stránky s page-hero */
.has-page-hero #mainNavbar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.has-page-hero #mainNavbar .navbar-logo-white {
  display: block !important;
}

.has-page-hero #mainNavbar .navbar-logo-dark {
  display: none !important;
}

.has-page-hero #mainNavbar li.nav-item a.nav-link {
  color: white !important;
}

.has-page-hero #mainNavbar li.nav-item a.nav-link:hover {
  color: var(--orel-secondary) !important;
}

.has-page-hero #mainNavbar.scrolled {
  background: var(--orel-primary) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MICROSITE STYLY
   ============================================ */

/* Microsite header */
.microsite-header {
  z-index: 1030;
}

.microsite-logo {
  height: 50px;
  width: auto;
}

.microsite-title {
  color: var(--orel-primary);
  font-size: 1.1rem;
  font-weight: 600;
}


/* Microsite breadcrumb */
.microsite-breadcrumb {
  font-size: 0.95rem;
}

.microsite-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

.microsite-breadcrumb .breadcrumb-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.microsite-breadcrumb .breadcrumb-item a:hover {
  color: var(--orel-secondary);
  text-decoration: underline;
}

.microsite-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

/* Info cards - základní informace */
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.info-card:hover {
  border-color: var(--orel-primary);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 102, 153, 0.1);
  color: var(--orel-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}

.info-label-small {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value-big {
  font-size: 1.2rem;
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}

.info-value a {
  color: var(--orel-primary);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* Leadership cards - předsednictvo */
.leadership-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  transition: border-color 0.3s ease;
  height: 100%;
}

.leadership-card:hover {
  border-color: var(--orel-primary);
}

.leadership-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--orel-primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 50%;
}

.leadership-avatar-photo {
  background: none;
  overflow: hidden;
  padding: 0;
}

.leadership-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leadership-avatar-secondary {
  background: rgba(0, 102, 153, 0.7);
}

.leadership-avatar-tertiary {
  background: rgba(0, 102, 153, 0.5);
}

.leadership-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leadership-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.leadership-role {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.leadership-date {
  font-size: 0.8rem;
  color: #6c757d;
}

/* Table styling pro microsite */
.table-primary {
  background-color: var(--orel-primary) !important;
  color: white !important;
}

.table-primary th {
  border-color: rgba(255, 255, 255, 0.2) !important;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .microsite-logo {
    height: 40px;
  }

  .microsite-title {
    font-size: 0.85rem;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .info-icon {
    margin: 0 auto;
  }

  .leadership-card {
    flex-direction: column;
    text-align: center;
  }

  .leadership-avatar {
    margin: 0 auto;
  }

}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  border-radius: 0 !important;
  border-left-width: 4px !important;
  font-size: 0.95rem;
}

.alert-primary {
  background-color: rgba(0, 102, 153, 0.1) !important;
  border-color: var(--orel-primary) !important;
  color: var(--orel-primary-dark) !important;
}

.alert-success {
  background-color: rgba(25, 135, 84, 0.1) !important;
  border-color: #198754 !important;
  color: #0f5132 !important;
}

.alert-warning {
  background-color: rgba(255, 212, 71, 0.2) !important;
  border-color: var(--orel-secondary) !important;
  color: #856404 !important;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1) !important;
  border-color: #dc3545 !important;
  color: #721c24 !important;
}

.alert .btn-close {
  border-radius: 0;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-item {
  border-radius: 0 !important;
  border: 1px solid #e0e0e0;
  margin-bottom: 0.5rem;
}

.accordion-button {
  background-color: #f8f9fa;
  color: #212529;
  font-weight: 600;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--orel-primary) !important;
  color: white !important;
  border-color: var(--orel-primary);
}

.accordion-button:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--orel-primary);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem;
}

/* ============================================
   MODAL
   ============================================ */

.modal-content {
  border-radius: 0 !important;
  border: 1px solid #dee2e6;
}

.modal-header {
  background-color: white;
  color: #212529;
  border-radius: 0 !important;
  border-bottom: 1px solid #dee2e6;
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-header .btn-close {
  border-radius: 0;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
  padding: 1.25rem 1.5rem;
  border-radius: 0 !important;
}

/* ============================================
   FORM INPUTS - VYLEPŠENÍ
   ============================================ */

/* Checkboxy a Radio */
.form-check-input {
  border-radius: 0 !important;
  width: 1.25em;
  height: 1.25em;
}

.form-check-input:checked {
  background-color: var(--orel-primary) !important;
  border-color: var(--orel-primary) !important;
}

.form-check-input:focus {
  border-color: var(--orel-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 102, 153, 0.25);
}

.form-check-input[type="radio"] {
  border-radius: 50% !important;
}

/* Switch */
.form-switch .form-check-input {
  border-radius: 2em !important;
  width: 2.5em;
}

.form-switch .form-check-input:checked {
  background-color: var(--orel-primary) !important;
  border-color: var(--orel-primary) !important;
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: #E9E9E9 !important;
}

/* ============================================
   KONEC SOUBORU
   ============================================ */
