/* ===============================================
   PZKO Stonava - Modern Design 2026
   =============================================== */

/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===============================================
   ROOT VARIABLES - Modern Color Palette
   =============================================== */
:root {
  --primary-color: #DC143C;
  --primary-hover: #B01030;
  --secondary-color: #8B0000;
  --accent-color: #DC143C;
  --dark: #1E293B;
  --gray-dark: #334155;
  --gray-medium: #64748B;
  --gray-light: #E2E8F0;
  --background: #F8FAFC;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================================
   GLOBAL STYLES
   =============================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background-color: var(--background);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ===============================================
   MODERN NAVBAR
   =============================================== */
.navbar {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-size: 1.25rem;
  color: var(--dark) !important;
  font-weight: 600 !important;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
}

.navbar.bg-dark {
  background-color: var(--white) !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem !important;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: transform 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-item.active .nav-link::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-dark .navbar-nav .nav-item.active .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Language switcher */
.navbar img[src*="cs.webp"],
.navbar img[src*="pl.webp"] {
  transition: var(--transition);
  border-radius: 4px;
  opacity: 0.9;
}

.navbar img[src*="cs.webp"]:hover,
.navbar img[src*="pl.webp"]:hover {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: var(--gray-light);
  color: var(--primary-color);
  padding-left: 2rem;
}

/* Mobile toggle */
.navbar-toggler {
  border: 2px solid var(--gray-light);
  padding: 0.5rem 0.75rem;
  margin-left: 0;
  margin-right: 10px;
}

.navbar-toggler.collapsed {
  margin-right: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 41, 59, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language switcher in navbar */
.navbar .d-lg-none {
  border-top: 1px solid var(--gray-light);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  text-align: right;
}

.navbar .d-lg-none .nav-link {
  display: inline-block;
  text-align: right;
  margin-left: auto;
}

/* Navbar brand responsive */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-brand span {
    font-size: 0.9rem;
  }
}

/* ===============================================
   MODERN CAROUSEL / HERO SECTION
   =============================================== */
.obrazek_top {
  top: 80px;
  width: 100%;
  max-width: 100vw;
  left: 0 !important;
  padding: 0;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.carousel {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 100%;
}

.carousel-inner {
  overflow: hidden;
  max-height: 400px;
  border-radius: 0;
  width: 100%;
}

.carousel-item {
  max-height: 400px;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
  z-index: 1;
}

.carousel-item img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  filter: brightness(0.95);
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.7;
  transition: var(--transition);
  z-index: 2;
  position: absolute;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.6;
  transition: var(--transition);
}

.carousel-indicators li.active {
  opacity: 1;
  transform: scale(1.2);
  background-color: var(--primary-color);
}

/* ===============================================
   CONTENT AREA
   =============================================== */
.telo {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
  left: 0 !important;
}

/* Titles */
.title {
  position: relative;
  margin-bottom: 3rem;
  padding-top: 0;
}

.titulek {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.titulek::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFFFFF, #DC143C);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

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

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

/* Horizontal rule */
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-light), transparent);
  margin: 2rem 0;
}

/* ===============================================
   CARDS & CONTENT BOXES
   =============================================== */
.content-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.content-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ===============================================
   AKTUALITY GRID - Modern Cards Layout
   =============================================== */
.aktuality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.aktualita-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.aktualita-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.aktualita-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}

.aktualita-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.aktualita-card:hover .aktualita-image img {
  transform: scale(1.1);
}

.aktualita-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-light), var(--background));
}

.aktualita-placeholder {
  color: var(--gray-medium);
  opacity: 0.5;
}

.aktualita-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aktualita-date {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aktualita-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.aktualita-title a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

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

.aktualita-excerpt {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.aktualita-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  align-self: flex-start;
}

.aktualita-link:hover {
  color: var(--primary-hover);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .aktuality-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .aktualita-image {
    height: 180px;
  }
}

/* Figure/Image container */
.figure {
  width: 50%;
  float: right;
  padding-left: 1.5rem;
  padding-right: 0;
  margin-bottom: 1rem;
}

.figure img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.figure img:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* ===============================================
   GALLERY
   =============================================== */
.photo-gallery {
  color: var(--dark);
  background-color: var(--white);
  padding: 3rem 0;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.photo-gallery h2 {
  font-weight: 700;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  color: var(--dark);
  text-align: center;
}

.photo-gallery .item {
  padding-bottom: 2rem;
  transition: var(--transition);
}

.photo-gallery .item img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  width: 100%;
  height: auto;
}

.photo-gallery .item:hover img {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

/* ===============================================
   TIMELINE
   =============================================== */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline .container {
  position: relative;
  background-color: inherit;
  width: 100%;
}

.timeline .content {
  padding: 1.5rem 2rem;
  background-color: var(--white);
  position: relative;
  border-radius: 12px;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline .content:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.timeline .left::before {
  border-color: transparent transparent transparent var(--white);
}

.timeline .right::before {
  border-color: transparent var(--white) transparent transparent;
}

/* ===============================================
   FOOTER
   =============================================== */
footer {
  background: var(--white);
  color: var(--dark);
  padding: 3rem 2rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
  border-top: 3px solid var(--gray-light);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

footer img {
  filter: none;
  opacity: 1;
  transition: var(--transition);
  margin: 0.5rem;
  max-height: 60px;
  width: auto;
}

footer img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

footer p {
  margin: 0.5rem 0;
  color: var(--gray-medium);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media screen and (max-width: 1200px) {
  .telo {
    width: 95%;
  }
}

@media screen and (max-width: 992px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    max-height: 300px;
  }

  .titulek {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .figure {
    width: 100%;
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline .right {
    left: 0%;
  }

  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    max-height: 250px;
  }
}

@media screen and (max-width: 576px) {
  .title {
    padding-top: 60px;
  }

  .obrazek_top {
    padding-top: 0;
    margin-bottom: 2rem;
  }

  .titulek {
    font-size: 1.75rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    max-height: 200px;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

/* ===============================================
   UTILITIES
   =============================================== */
.comp4 {
  display: table-cell;
  width: 100%;
}

.comp5 {
  display: none;
  width: 100%;
}

@media screen and (max-width: 800px) {
  .comp4 {
    display: none;
  }

  .comp5 {
    display: block;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: var(--primary-color);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-medium);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Loading animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Calendar iframe styling */
iframe {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===============================================
   KOMPAKTNÍ INFO BOX (Akce + Galerie)
   =============================================== */
.info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.info-box-column {
  display: flex;
  flex-direction: column;
}

.info-box-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-light);
}

.info-box-empty {
  color: var(--gray-medium);
  font-style: italic;
  font-size: 0.9rem;
  margin: 1rem 0;
}

/* Mobile: sloupce pod sebou */
@media (max-width: 992px) {
  .info-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .info-box {
    padding: 1.5rem;
  }
}

/* ===============================================
   AKCE PROUŽKY (Tenké řádky akcí)
   =============================================== */
.akce-strip-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.akce-strip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--background);
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
  transition: var(--transition);
}

.akce-strip:hover {
  background: var(--gray-light);
  transform: translateX(3px);
  border-left-color: var(--accent-color);
}

.akce-strip-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 8px;
  color: white;
  box-shadow: var(--shadow-sm);
}

.akce-strip-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.akce-strip-date .month {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.akce-strip-info {
  flex: 1;
  min-width: 0;
}

.akce-strip-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.akce-strip-meta {
  font-size: 0.85rem;
  color: var(--gray-medium);
  line-height: 1.4;
}

.akce-strip-popis {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.5;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-light);
}

/* ===============================================
   GALERIE BOX (Odkaz na fotogalerii)
   =============================================== */
.galerie-box {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--background);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--gray-light);
}

.galerie-box:hover {
  background: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.galerie-box-image {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-light);
}

.galerie-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galerie-box-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.galerie-box-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.galerie-box-link {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
}

.galerie-box:hover .galerie-box-link {
  color: var(--accent-color);
}

/* Mobile galerie box */
@media (max-width: 576px) {
  .galerie-box {
    flex-direction: column;
  }

  .galerie-box-image {
    width: 100%;
    height: 160px;
  }
}

/* ===============================================
   AKTUALITY SEKCE (Nadpis + Grid)
   =============================================== */
.aktuality-section {
  margin-bottom: 4rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

/* ===============================================
   AKTUALITY MODERNÍ GRID (Karty v mřížce)
   =============================================== */
.aktuality-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.aktualita-card-modern {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.aktualita-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.aktualita-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--gray-light);
}

.aktualita-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.aktualita-card-modern:hover .aktualita-card-image img {
  transform: scale(1.05);
}

/* Logo from perex - preserve aspect ratio with padding */
.aktualita-card-image-logo {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: visible; /* Allow badge to show outside if needed */
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.aktualita-card-image-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.aktualita-card-modern:hover .aktualita-card-image-logo img {
  transform: scale(1.02);
}

.aktualita-card-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-light), var(--background));
}

.aktualita-card-placeholder {
  color: var(--gray-medium);
  opacity: 0.5;
}

.aktualita-card-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(220, 20, 60, 0.95);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.aktualita-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aktualita-card-date-text {
  font-size: 0.85rem;
  color: var(--gray-medium);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-light);
}

.aktualita-card-body h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.aktualita-card-body h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.aktualita-card-body h3 a:hover {
  color: var(--primary-color);
}

.aktualita-card-body p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.aktualita-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.aktualita-card-link:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

/* Mobile: jedna karta na řádek */
@media (max-width: 768px) {
  .aktuality-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .aktualita-card-image {
    height: 200px;
  }
}
