
/* ══ NEWS TICKER BAR ══ */
p {
  font-size: 19px;
}

.onas a, .aktuality a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline;
}


.galerie-tabs { border-bottom:2px solid #ffe082; gap:.25rem; flex-wrap:wrap; }
.galerie-tabs .nav-link {
  color:#795548; font-weight:600; font-size:1rem; border-radius:10px 10px 0 0;
  border:1px solid transparent; padding:.55rem 1.1rem;
  transition:background .15s, color .15s;
}
.galerie-tabs .nav-link:hover { background:#fff8e1; color:#f5a623; }
.galerie-tabs .nav-link.active {
  background:#fff; color:#f5a623;
  border-color:#ffe082 #ffe082 #fff;
  border-bottom:4px solid #fff;
  margin-bottom:-2px;
}
@media(max-width:480px){
  .galerie-tabs .nav-link { font-size:.82rem; padding:.45rem .7rem; }
}

.dok-card {
  border-radius:14px; overflow:hidden; border:none;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  transition:transform .2s, box-shadow .2s;
  background:#fff; height:100%;
  display:flex; flex-direction:column; justify-content:center;
}
.dok-card:hover { transform:translateY(-4px); box-shadow:0 6px 24px rgba(0,0,0,.14); }
.dok-card-inner { display:flex; align-items:flex-start; gap:1rem; padding:1rem 1.1rem; }
.dok-icon { font-size:2.4rem; flex-shrink:0; line-height:1; }
.dok-meta { flex-grow:1; overflow:hidden; }
.dok-meta .dok-title { font-weight:700; font-size:.95rem; color:#2d2d2d; line-height:1.3; }
.dok-meta .dok-popis { font-size:.78rem; color:#777; margin-top:.15rem; }
.dok-meta .dok-size  { font-size:.7rem; color:#aaa; margin-top:.1rem; }
.dok-dl { font-size:1.2rem; color:#bbb; flex-shrink:0; align-self:center; }
.dok-card:hover .dok-dl { color:#f5a623; }

.dok-cat-heading {
  display:flex; align-items:center; gap:.6rem;
  font-size:1.25rem; font-weight:700; color:#3e2723;
  border-left:4px solid #f5a623; padding-left:.75rem;
  margin-bottom:1rem;
}

.dok-placeholder { border-radius:14px; background:#fafaf7; border:1px dashed #e0d5c5; padding:1.5rem; height:100%; }
.dok-placeholder .ph-icon {
  width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:.75rem;
}


.news-ticker-bar {
  background: #fff8e8;
  border-bottom: 2px solid #f5a623;
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
}
.ntb-tag {
  background: #f5a623;
  color: #333;
  font-weight: 800;
  font-size: .78rem;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ntb-track {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.ntb-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1rem;
  text-decoration: none;
  color: #333;
  font-size: 21px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  white-space: nowrap;
  overflow: hidden;
}
.ntb-item.ntb-active {
  opacity: 1;
  pointer-events: auto;
}
.ntb-item:hover { color: var(--primary); }
.ntb-date {
  font-weight: 700;
  color: #b85000;
  font-size: 20px;
  flex-shrink: 0;
  /*! background: #ffe8c0; */
  padding: 2px 7px;
  border-radius: 20px;
}
.ntb-title {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.ntb-arrow { color: #f5a623; flex-shrink: 0; font-size: 1rem; }
.ntb-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 0 .4rem;
  border-left: 1px solid #e8d8a0;
}
.ntb-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  transition: background .15s, color .15s;
  padding: 0;
}
.ntb-btn:hover { background: #f5a623; color: #fff; }
.ntb-all {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 1rem;
  border-left: 1px solid #e8d8a0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: background .15s;
}
.ntb-all:hover { background: rgba(90,173,94,.1); color: var(--primary); }
@media (max-width: 576px) {
  .ntb-all { display: none; }
  .ntb-tag { padding: 0 .6rem; font-size: .7rem; display: none;}
}

/* ══ UŽITEČNÉ ODKAZY – nový design ══ */
.ul-section-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.ul-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ul-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #1a1a2e;
}
.ul-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.ul-link-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: #fff;
  border: 1.5px solid #e8ecf0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #222;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.ul-link-card:hover {
  border-color: #5aad5e;
  box-shadow: 0 4px 18px rgba(90,173,94,.13);
  transform: translateY(-2px);
  color: #222;
}
.ul-link-card--blue:hover { border-color: #4ea8d8; box-shadow: 0 4px 18px rgba(78,168,216,.13); }
.ul-link-card--plain { cursor: default; }
.ul-link-card--plain:hover { transform: none; box-shadow: none; border-color: #e8ecf0; }
.ul-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f0faf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #5aad5e;
  flex-shrink: 0;
}
.ul-link-card--blue .ul-link-icon { background: #e8f4fd; color: #4ea8d8; }
.ul-link-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}
.ul-link-name {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  color: #1a1a2e;
}
.ul-link-desc {
  font-size: .78rem;
  color: #666;
  line-height: 1.4;
}
.ul-link-ext {
  color: #aaa;
  font-size: .9rem;
  margin-top: .1rem;
  flex-shrink: 0;
  transition: color .2s;
}
.ul-link-card:hover .ul-link-ext { color: #5aad5e; }
.ul-link-card--blue:hover .ul-link-ext { color: #4ea8d8; }

@media (max-width: 480px) {
  .ul-cards-grid { grid-template-columns: 1fr; }
}

/* ══ KALENDÁŘ – responzivní wrapper ══ */
.cal-grid-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cal-grid {
  min-width: 420px;
}
.cal-grid-responsive .cal-grid {
  min-width: 420px;
}


/* ══ TOP BAR ══ */
.top-bar {
  background: #fffdf0; color: #1a1a1a;
   padding: .32rem 0;
  /*! border-bottom: 2px solid #e6c800; */
  font-size: 16px;
}
.table > :not(caption) > * > * {
  background: none !important;
}
.why-icon-img {
  width: 170px;       /* Nastavte šířku podle potřeby */
  height: 170px;      /* Nastavte výšku podle potřeby */
  object-fit: contain;
  margin-bottom: 15px; /* Mezera mezi obrázkem a nadpisem H3 */
}
a.btn-sun {
  color: black !important;
}
.top-bar a { color: #1a1a1a; font-weight: 700; transition: color .2s; }
.top-bar a:hover { color: #fff; }
.tb-div { color: rgba(0,0,0,.25); padding: 0 .4rem; }
.tb-hours { color: rgba(0,0,0,.65); font-weight: 600; }
.tb-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 35px; border-radius: 50%;
  background: rgba(0,0,0,.1); font-size: 25px;
  color: #1a1a1a; transition: background .2s, color .2s;
}
.tb-social:hover { background: #1a1a1a; color: var(--yellow); }
@media (max-width: 768px) {
  .top-bar .desktop-only { display: none !important; }
  .top-bar { /*! font-size: 15px; */ /*! text-align: center; */}
  .tb-social { width: 24px; height: 24px; font-size: .7rem; }
}

/* ══ SEARCH OVERLAY ══ */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.92); z-index: 9999;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); padding: 2rem;
}
.search-overlay.open { display: flex; }
.search-box { max-width: 680px; width: 100%; position: relative; }
.search-box input {
  width: 100%; padding: 1.1rem 1.8rem 1.1rem 3rem;
  font-size: 1.5rem; border: none; border-radius: 60px;
  background: #fff; font-family: 'Nunito', sans-serif;
  font-weight: 600; outline: none; color: #2d2d2d;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.search-box input::placeholder { color: #aaa; font-weight: 400; }
.search-icon-inner {
  position: absolute; left: 1.2rem; top: 31%;
  transform: translateY(-50%); font-size: 1.4rem; color: #e67e00;
}
.search-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; padding: .2rem .7rem; line-height: 1;
}
.search-close:hover { color: #FFD700; }
.search-hint {
  color: rgba(255,255,255,.4); text-align: center;
  margin-top: .8rem; font-size: .8rem; letter-spacing: .04em;
}
@media (max-width: 576px) {
  .search-box input { font-size: 1.1rem; padding: .9rem 1.4rem .9rem 2.4rem; }
  .search-icon-inner { font-size: 1.1rem; left: .9rem; }
  .search-close { font-size: 1.8rem; top: 1rem; right: 1rem; }
}

/* ══ NAV ACTIONS (burger only on mobile; search is in nav) ══ */
.nav-actions { display: flex; align-items: center; gap: .1rem; flex-shrink: 0; padding-right: .4rem; }
.search-toggle {
  background: transparent; border: none; font-size: 1.1rem;
  padding: .3rem .65rem; color: #1a1a1a; cursor: pointer; line-height: 1;
  transition: background .2s, color .2s;
  display: flex; align-items: center; align-self: stretch;
  border-left: 1px solid rgba(0,0,0,.1);
}
.search-toggle:hover { background: rgba(0,0,0,.08); color: var(--primary); }
/* hide search-toggle from nav-actions on desktop (it's inside color-nav) */
@media (min-width: 1101px) {
  .nav-actions .search-toggle { display: none; }
}
/* on mobile move search-toggle back into nav-actions */
@media (max-width: 1100px) {
  .cn-search-slot { display: none !important; }
}

:root {
  --primary:   #e67e00;
  --primary-d: #c56a00;
  --yellow:    #FFD700;
  --yellow-bg: #FFF9E6;
  --orange:    #ff9800;
  --text:      #3a3a3a;
  --text2:     #6e6e6e;
  --light:     #fff;
  --zajic:     #C19A6B;
  --kotata:    #FFF8E7;
  --kurata:    #F08080;
  --tucnak:    #89CFF0;
  --zaba:      #98FB98;
}

* { box-sizing: border-box; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
  font-size: 19px;
}

a { text-decoration: none; color: inherit; }

/* ══ HEADER ══ */
.site-header {
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  z-index: 1050;
  position: relative;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  padding: .5rem 1.4rem .5rem 1rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-bottom: -50px;
  /*! padding-bottom: 60px; */
  align-self: flex-start;
  position: relative;
  z-index: 20;
  border-bottom-right-radius: 18px;
  box-shadow: 3px 5px 16px rgba(0,0,0,.10);
  margin-right: -6px;
}
.logo-img  { width: 100px; /*! height: 100px; */ object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub  { font-size: .68rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .07em; }
.logo-name { font-size: 1.3rem; font-weight: 900; color: var(--text); }

/* ══ COLOR NAV ══ */
.color-nav { flex: 1; display: flex; align-items: stretch; }
.cn-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: stretch; width: 100%;
}
.cn-item { flex: 1; position: relative; display: flex; }
.cn-link {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: .3rem; color: #fff !important; font-weight: 800;
  font-size: 1.18rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: .75rem .3rem;
  background: var(--item-color, #5aad5e);
  transition: filter .2s; white-space: nowrap;
  border: none;
}
.cn-link:hover { filter: brightness(1.12); }
.cn-arrow { font-size: .6rem; }

.cn-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
  list-style: none; margin: 0; padding: .5rem 0; z-index: 3000;
  border-top: 3px solid var(--item-color, #5aad5e);
}
.cn-item:hover .cn-dropdown,
.cn-item:focus-within .cn-dropdown { display: block; }
.cn-dropdown li a {
  display: block; padding: .6rem 1.3rem;
  font-size: 1.18rem; font-weight: 600; color: var(--text);
  transition: background .15s, color .15s;
}
.cn-dropdown li a:hover { background: var(--yellow-bg); color: var(--primary); }

.cn-toggle {
  display: none; background: none; border: none;
  font-size: 2rem; padding: .3rem .9rem;
  color: var(--text); cursor: pointer; line-height: 1;
}
.nav-close-btn { display: none; }

/* Mobile nav */
@media (max-width: 1100px) {
  .site-header { flex-wrap: nowrap; align-items: center; padding: .2rem 0; position: relative; z-index: 1051; }
  .logo-block  { margin-bottom: 0; padding-bottom: .5rem; flex: 1; box-shadow: none; z-index: auto; }
  .cn-toggle   { display: flex; align-items: center; z-index: 1052; }

  .color-nav {
    display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0);
    z-index: 1050; max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    padding-top: 0;
  }
  .color-nav.open { max-height: 100vh; overflow-y: auto; }

  .nav-close-btn {
    display: none; position: absolute; top: 14px; right: 18px;
    background: none; border: none; color: #fff;
    font-size: 1.8rem; cursor: pointer; z-index: 1060; padding: .4rem .8rem; line-height: 1;
  }
  .nav-close-btn:hover { color: #FFD700; }
  .color-nav.open .nav-close-btn { display: block; }

  .cn-list { flex-direction: column; padding-top: 70px; }
  .cn-item { flex: none; display: block; }
  .cn-link {
    justify-content: space-between; padding: .9rem 1.4rem;
    font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.07);
    background: transparent !important;
    text-transform: none !important; letter-spacing: 0 !important;
  }
  .cn-link i:first-child { color: #FFD700; width: 24px; }
  .cn-dropdown {
    position: static; box-shadow: none; border-radius: 0;
    display: none; padding: .3rem 0;
    border-top: none; border-left: 3px solid #FFD700;
    margin-left: 1rem;
    background: rgba(255,255,255,.04);
  }
  .cn-item.open > .cn-dropdown { display: block; }
  .cn-dropdown li a { color: #ddd !important; padding: .55rem 1.5rem; font-size: .9rem; }
  .cn-dropdown li a:hover { background: rgba(255,215,0,.08) !important; color: #FFD700 !important; }
}

/* ══ SLIDER ══ */
#mainSlider { max-height: 520px; position: relative; z-index: 1; }
#mainSlider .carousel-item { position: relative; }
#mainSlider .carousel-item img {
  width: 100%; height: 520px; object-fit: cover; object-position: center;
}
.slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 20%, transparent 100%);
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%; max-width: 740px;
  padding: 0;
  bottom: auto; right: auto;
}
.carousel-caption h2 { font-size: 2.4rem; font-weight: 900; margin-bottom: .6rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.carousel-caption p  { font-size: 1.1rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.slider-btns { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.btn-sun {
  background: var(--yellow); border: none; color: #333;
  font-weight: 800; padding: .7rem 1.5rem; border-radius: 30px;
  text-transform: uppercase; /*! font-size: .85rem; */ letter-spacing: .05em;
  transition: background .2s; display: inline-block;
}
.btn-sun:hover { background: var(--orange); color: #fff; }

/* ══ UPCOMING EVENTS BAR ══ */
.upcoming-bar {
  background: var(--yellow); padding: .65rem 0;
  border-bottom: 3px solid var(--orange);
  display: none;
}
.upcoming-bar .container { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.upcoming-label { font-weight: 800; font-size: .88rem; color: #333; margin-right: .5rem; white-space: nowrap; }
.upcoming-item {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.55); border-radius: 30px;
  padding: .25rem .9rem; font-size: .82rem; color: #333; font-weight: 600;
  transition: background .2s;
}
.upcoming-item:hover { background: rgba(255,255,255,.85); }
.upcoming-date { font-weight: 800; color: #b85000; }
.upcoming-title { color: #333; }

/* ══ QUICK LINKS ══ */
.quick-links-section { padding: 2rem 0 1rem; background: var(--yellow-bg); }
.quick-links-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.quick-link-card {
  display: flex; align-items: center; gap: 1rem;
  border-radius: 18px; padding: 1.4rem 1.6rem;
  text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  font-size: 1rem;
}
.quick-link-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.12); color: var(--text); }
.ql-zapis     { background: #fff; border-left: 5px solid #f5a623; }
.ql-jidelnicek{ background: #fff0f0; border-left: 5px solid #e05252; }
.ql-dokumenty { background: #f0f8ff; border-left: 5px solid #4ea8d8; }
.ql-icon   { font-size: 2rem; flex-shrink: 0; width: 48px; height: 48px; display:flex; align-items:center; justify-content:center; border-radius: 12px; background: rgba(255,255,255,.7); }
.ql-text   { flex: 1; }
.ql-text strong { display: block; font-size: 30px; font-weight: 900; }
.ql-text span   { font-size: 20px; color: var(--text2); }
.ql-arrow  { font-size: 1.5rem; color: #ccc; flex-shrink: 0; }
@media (max-width: 767px) {
  .quick-links-grid { grid-template-columns: 1fr; }
}

/* ══ SECTION HEADINGS ══ */
.section-heading {
  font-size: 2.2rem; font-weight: 900; text-align: center;
  margin-bottom: .5rem; color: var(--text);
}
.section-subheading {
  text-align: center; color: var(--text2); font-size: 20px; margin-bottom: 2.5rem;
}

/* ══ CLASSES ══ */
.classes-section { background: #fff; padding: 3.5rem 0; }
.classes-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
}
.class-card {
  border-radius: 20px; padding: 2rem 1.3rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; transition: transform .3s, box-shadow .3s;
  border: none; box-shadow: 0 4px 15px rgba(0,0,0,.04); text-decoration: none;
}
.class-card:hover { transform: translateY(-8px); box-shadow: 0 14px 30px rgba(0,0,0,.09); }
.class-card .emoji-big {
  font-size: 3.5rem; margin-bottom: 1rem; background: rgba(255,255,255,.6);
  width: 90px; height: 90px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform .3s;
}
.class-card:hover .emoji-big { transform: scale(1.1) rotate(-5deg); }
.card-zajic  { background: var(--zajic); }
.card-zajic h3, .card-zajic p  { color: #fff; }
.card-zajic .btn-class { background: #a38259; color: #fff; border: none; }
.card-kotata { background: var(--kotata); }
.card-kotata h3, .card-kotata p { color: #5d4037; text-shadow: 2px 1px 2px #fff !important;}
.card-kotata .btn-class { background: #d1b6a1; color: #fff; border: none; }
.card-kurata { background: var(--kurata); }
.card-kurata h3, .card-kurata p { color: #fff; }
.card-kurata .btn-class { background: #d86d6d; color: #fff; border: none; }
.card-tucnak { background: var(--tucnak); }
.card-tucnak h3, .card-tucnak p { color: #fff; }
.card-tucnak .btn-class { background: #79c0e2; color: #fff; border: none; }
.card-zaba   { background: var(--zaba); }
.card-zaba h3, .card-zaba p { color: #2d6a2d; text-shadow: 2px 1px 2px #fff !important;}
.card-zaba .btn-class { background: #7dcb7d; color: #fff; border: none; }
.class-card h3 { font-size: 28px; font-weight: 800; margin-bottom: .5rem; text-shadow: 2px 1px 2px #000;}
.class-card p  { font-size: .88rem; flex: 1; line-height: 1.5; margin-bottom: 1.2rem; }
.btn-class {
  /*! font-size: .82rem; */ font-weight: 700; padding: .45rem 1.2rem;
  border-radius: 30px; transition: opacity .2s, transform .2s; display: inline-block;
}
.btn-class:hover { opacity: .85; transform: scale(1.03); }

@media (max-width: 991px) {
  .classes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .classes-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .section-heading { font-size: 1.8rem; }
}

/* ══ STATS ══ */
.stats-section { background: var(--yellow-bg); padding: 2rem 0; border-bottom: 2px solid rgba(230,126,0,.1); }
.stat-num { font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-weight: 700; color: var(--text2); font-size: .88rem; margin-top: .2rem; }

/* ══ WHY US ══ */
.why-section { background: #fff; padding: 3.5rem 0; }
.why-card {
  background: #fff; border-radius: 18px; padding: 1.8rem 1.4rem; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s;
  height: 100%; border: 1px solid rgba(0,0,0,.03);
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 14px 36px rgba(0,0,0,.10); }
.why-icon { font-size: 2.8rem; margin-bottom: .8rem; display: block; }
.why-card h3 { /*! font-size: 1.05rem; */ font-weight: 900; margin-bottom: .4rem; }
.why-card p  { color: var(--text2); /*! font-size: .88rem; */ line-height: 1.6; margin: 0; }

/* ══ TESTIMONIALS ══ */
.testimonials-section { background: var(--yellow-bg); padding: 3.5rem 0; }
.testimonial-card {
  background: #fff; border-radius: 18px; padding: 1.8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s;
  height: 100%; border-left: 4px solid var(--primary);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }
.testimonial-text { /*! font-size: .95rem; */ line-height: 1.7; font-style: italic; color: var(--text); margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; flex-shrink: 0;
}
.testimonial-name { font-weight: 800; /*! font-size: .92rem; */ }
.testimonial-role { /*! font-size: .75rem; */ color: var(--text2); }

/* ══ HP NEWS CARDS ══ */
.news-section { padding: 3.5rem 0; background: var(--yellow-bg); }
.hp-news-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s;
  height: 100%; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.hp-news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(0,0,0,.12); text-decoration: none; color: inherit; }
.hp-news-img-wrap { display: block; overflow: hidden; flex-shrink: 0; }
.hp-news-img-wrap img { width: 100%;  object-fit: cover; transition: transform .4s; display: block; }
.hp-news-card:hover .hp-news-img-wrap img { transform: scale(1.04); }
.hp-news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hp-news-date { display: block; font-size: 20px; font-weight: 800; color: var(--primary); text-transform: uppercase; /*! letter-spacing: .06em; */ margin-bottom: .3rem; }
.hp-news-title { display: block; font-weight: 900; /*! font-size: 1.05rem; */ line-height: 1.35; margin-bottom: .5rem; flex: 1; color: var(--text); transition: color .2s; }
.hp-news-card:hover .hp-news-title { color: var(--primary); }
.hp-news-excerpt { display: block; /*! font-size: .85rem; */ color: var(--text2); line-height: 1.6; margin-bottom: .8rem; }
.hp-news-more { /*! font-size: .82rem; */ font-weight: 800; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s; }
.hp-news-card:hover .hp-news-more { gap: .5rem; }

/* ══ HP GALLERY ══ */
.hp-gallery-section { padding: 3.5rem 0; background: var(--yellow-bg); }
.hp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.hp-gallery-item { display: block; border-radius: 16px; overflow: hidden; }
.hp-gallery-item img {
  width: 100%; height: 180px; object-fit: cover;
  display: block; transition: transform .35s, opacity .25s;
}
.hp-gallery-item:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 768px) {
  .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-gallery-item img { height: 120px; }
}

/* ══ FAB (WhatsApp + Email) ══ */
.fab-container {
  position: fixed; bottom: 5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: .6rem; z-index: 998;
}
.fab {
  width: 50px; height: 50px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,0,0,.25); color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-email    { background: var(--primary); }
@media (max-width: 576px) {
  .fab-container { bottom: 4.5rem; right: 1rem; }
  .fab { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ══ NEWS + GALLERY ══ */
.news-section { padding: 3.5rem 0; background: #fff; }
.col-heading {
  font-size: 1.15rem; font-weight: 900; letter-spacing: .05em;
  text-transform: uppercase; border-bottom: 3px solid var(--primary);
  padding-bottom: .5rem; margin-bottom: 1.3rem; color: var(--text);
}
.news-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.news-img  { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.news-date { font-size: .75rem; color: #999; }
.news-title { font-size: .92rem; font-weight: 800; line-height: 1.3; }
.news-title a:hover { color: var(--primary); }
.news-perex { font-size: .8rem; color: #888; margin-top: .2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.gallery-grid img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; transition: opacity .2s; }
.gallery-grid img:hover { opacity: .85; }

/* ══ FOOTER ══ */
.site-footer {
  background: #1f1f1f;
  color: #eaeaea;
  padding: 2.5rem 0 1rem;
  font-size: .9rem;
  border-top: 4px solid #fffdf0;
}
.site-footer h5 { color: #fff; font-weight: 900; margin-bottom: 1rem; font-size: 23px; }
.site-footer a { color: #ccc; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-logo img { width: 170px; filter: brightness(1.1); }
.footer-logo span { color: #fff; font-size: 23px; line-height: 1.3; }
.footer-desc { color: #aaa; font-size: 18px; line-height: 1.6; }
.footer-social { display: flex; gap: .4rem; margin-top: .6rem; }
.footer-nav { line-height: 2; }
.footer-nav a { color: #bbb; font-weight: 600; font-size: 17px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-contact { line-height: 2; font-size: 16px; color: #bbb; }
.footer-contact i { color: #fff; margin-right: .4rem; }
.footer-contact a { color: #bbb; }
.footer-contact a:hover { color: var(--yellow); }

/* Visitor counter */
.visitor-counter {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem;
  background: rgba(255,255,255,.06); border-radius: 40px;
  padding: .35rem .9rem;
  font-size: .8rem; font-weight: 600; color: #bbb;
  border: 1px solid rgba(255,255,255,.08);
}
.vc-num  { font-weight: 900; color: var(--yellow); }
.vc-sep  { color: rgba(255,255,255,.2); }
.vc-stat { font-size: 18px; letter-spacing: 0px !important;}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 1.5rem;
  padding-top: 1rem; text-align: center; color: rgba(255,255,255,.4); font-size: 13px;
}

/* ══ PAGE HEADER ══ */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #5cb3e8 10%, #a8d8f0 60%, #d6eef9 75%, #eef7fd 100%);
  color: #1a3a52; padding: 3rem 0 2.5rem; margin-bottom: 2.5rem;
  text-align: center;
}

/* Sluníčko PNG vpravo, vertikálně vycentrované */
.page-header::before {
  content: '';
  position: absolute;
  top: 50%; right: 40px;
  transform: translateY(-50%);
  width: 170px; height: 170px;
  background: url('/images/slunicko.png') center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 767px) {
  .page-header::before { display: none; }
}

/* Animované mraky */
.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 180px 55px at 15% 55%, rgba(255,255,255,.82), transparent),
    radial-gradient(ellipse 120px 38px at 22% 42%, rgba(255,255,255,.65), transparent),
    radial-gradient(ellipse 220px 65px at 62% 65%, rgba(255,255,255,.75), transparent),
    radial-gradient(ellipse 140px 42px at 70% 50%, rgba(255,255,255,.58), transparent),
    radial-gradient(ellipse 200px 58px at 35% 70%, rgba(255,255,255,.45), transparent);
  animation: phCloud1 32s linear infinite;
  z-index: 0;
}

@keyframes phCloud1 {
  0%   { transform: translateX(-60px); }
  100% { transform: translateX(80px); }
}

/* Obsah musí být nad pseudo-vrstvami */
.page-header > * { position: relative; z-index: 1; }

.page-header h1 { font-size: 2rem; font-weight: 900; margin: 0; color: #1a3a52; }
.page-header .breadcrumb { justify-content: center; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: #fff; }
.page-header .breadcrumb-item.active { color: #fff; font-weight: 700; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #eee; }

/* ══ BTN OUTLINE DARK – hover na světlém pozadí ══ */
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: rgba(255,255,255,.95) !important;
  color: #444 !important;
  border-color: #444 !important;
}

/* ══ AKTUALITY stránka ══ */
.news-card { border-radius: 14px; overflow: hidden; border: none; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s; background: #fff; display: block; text-decoration: none; color: inherit; }
.news-card:hover { transform: translateY(-4px); text-decoration: none; color: inherit; }
.news-card img { /*! height: 200px; */ object-fit: cover; width: 100%; }
.news-card .card-body { padding: 1.2rem; }
.news-card .card-title { font-weight: 800; font-size: 25px; }
.badge-datum {  color: var(--primary); /*! border-radius: 20px; */ /*! font-size: .75rem; */ /*! padding: .25rem .7rem; */ font-weight: bold;}

/* ══ FOTOGALERIE ══ */
.album-card { border-radius: 14px; overflow: hidden; border: none; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s; background: #fff; }
.album-card:hover { transform: translateY(-4px); }
.album-card img { height: 200px; object-fit: cover; width: 100%; }
.lightbox-img { cursor: pointer; border-radius: 8px; transition: opacity .2s; }
.lightbox-img:hover { opacity: .85; }

/* ══ KONTAKT ══ */
.contact-box { background: var(--yellow-bg); border-radius: 16px; padding: 2rem; border: 2px solid rgba(230,126,0,.15); }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-right: .7rem; flex-shrink: 0; }
.contact-row  { display: flex; align-items: center; margin-bottom: 1rem; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(230,126,0,.2); }
.btn-green { background: var(--primary); border: none; color: #fff !important; font-weight: 800 !important; padding: .6rem 2rem; border-radius: 30px; font-size: 18px !important;text-transform: uppercase;text-decoration: none !important;}
.btn-green:hover { background: var(--primary-d); color: #fff; }

/* ══ TIMELINE ══ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: .6rem; top: 0; bottom: 0; width: 3px; background: var(--primary); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 1.1rem; margin-top: -10px;}
.timeline-item::before { content: ''; position: absolute; left: -1.8rem; top: 14px; width: 14px; height: 14px; background: var(--primary); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline-year { font-weight: 900; color: var(--primary); font-size: 28px; }

/* ══ SLIDER LOGO ══ */
#mainSlider .slider-logo {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 4;
  width: 400px;
  opacity: 0.88;
  pointer-events: none;
}
@media (max-width: 767px) {
  #mainSlider .slider-logo { width: 252px; bottom: .5rem; right: .5rem; top: 10px;}
}
@media (max-width: 480px) {
  #mainSlider .slider-logo { width: 40px; }
}

/* ══ SCROLL TOP ══ */
#scrollTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--yellow); color: #000;
  border: none; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
  transition: background .2s;
}
#scrollTop:hover { background: var(--primary-d); }
#scrollTop.show  { display: flex; }

/* ══ RESPONSIVE SLIDER ══ */
@media (max-width: 991px) {
  #mainSlider .carousel-item img { height: 380px; }
  #mainSlider { max-height: 380px; }
  .carousel-caption h2 { font-size: 1.7rem; }
  .carousel-caption p  { font-size: .95rem; }
}
@media (max-width: 767px) {
  #mainSlider .carousel-item img { height: 280px; }
  #mainSlider { max-height: 280px; }
  .carousel-caption h2 { font-size: 1.15rem; margin-bottom: .3rem; }
  .carousel-caption p  { font-size: .82rem; margin-bottom: .7rem; }
  .slider-btns .btn-sun, .slider-btns .btn-outline-sun { padding: .4rem .9rem; font-size: .78rem; }
}
@media (max-width: 480px) {
  #mainSlider .carousel-item img { height: 220px; }
  #mainSlider { max-height: 220px; }
  .carousel-caption h2 { font-size: 1rem; }
  .carousel-caption p  { display: none; }
  .slider-btns { gap: .4rem; }
}

/* ══ PAGE HEADER popis ══ */
.page-header p { color: #2a5a7a; margin: .5rem 0 0; font-size: 1rem; }

/* ══ CONTENT BLOCKS (DB stránky – editovatelný obsah) ══ */
.content-block { line-height: 1.8; }
.content-block h2,
.content-block h3 { color: var(--primary); font-weight: 800; margin-top: 1.8rem; }
.content-block table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.content-block table th { background: var(--yellow-bg); padding: 8px 12px; border: 1px solid #ffe082; font-weight: 700; }
.content-block table td { padding: 8px 12px; border: 1px solid #eee; }
.content-block table tr:nth-child(even) td { background: #fffdf0; }
.content-block img { max-width: 100%; height: auto; border-radius: 8px; margin: .5rem 0; }
.content-block ul { padding-left: 1.4rem; }
.content-block ul li { margin-bottom: .4rem; }

/* ══ JÍDELNÍČEK tabulka ══ */
.jidelnicek-content table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.jidelnicek-content table th { background: #ffeaa7; padding: 8px 12px; font-size: .9rem; text-align: left; border: 1px solid #ffe082; font-weight: 800; }
.jidelnicek-content table td { padding: 8px 12px; font-size: .88rem; border: 1px solid #eee; vertical-align: top; }
.jidelnicek-content table tr:nth-child(even) td { background: #fffdf0; }
.jidelnicek-content p { margin-bottom: .5rem; }

/* Visitor counter fix */
.visitor-counter { margin: 0; }

/* ══ HP KONTAKT SEKCE ══ */
.hp-kontakt-section {
  padding: 4rem 0;
  /*! background: var(--yellow-bg); */
}
.hp-kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
@media (max-width: 767px) {
  .hp-kontakt-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hp-kontakt-mapa { min-height: 260px; }
}
.hp-kontakt-info {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border: 2px solid rgba(230,126,0,.12);
}
.hp-kontakt-info h4 {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 23px;
}
.hp-kontakt-info p {
  margin-bottom: .75rem;
  line-height: 1.6;
  color: #333;
}
.hp-kontakt-info a {
  color: var(--primary);
}
.hp-kontakt-info a:hover { color: var(--primary-d); }

/* ══ TAB NAVIGACE GALERIE ══ */
.galerie-tabs { border-bottom: 2px solid #ffe082; gap: .25rem; flex-wrap: wrap; }
.galerie-tabs .nav-link {
  color: #795548; font-weight: 600; border-radius: 10px 10px 0 0;
  border: 1px solid transparent; padding: .55rem 1.1rem;
  transition: background .15s, color .15s; white-space: nowrap;
  font-size: 25px;
}
.galerie-tabs .nav-link:hover { background: #fff8e1; color: #f5a623; }
.galerie-tabs .nav-link.active {
  background: #fff; color: #f5a623;
  border-color: #ffe082 #ffe082 #fff; border-bottom: 2px solid #fff; margin-bottom: -2px;
}
@media (max-width: 480px) {
  .galerie-tabs .nav-link { font-size: .8rem; padding: .4rem .65rem; }
  .galerie-tabs .nav-link .badge { display: none; }
}
.hp-kontakt-icon {
  display: inline-block;
  width: 1.6rem;
}
.hp-kontakt-note {
  margin-top: 1.2rem !important;
  font-size: .9rem;
  color: #666 !important;
}
.hp-kontakt-mapa {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  min-height: 320px;
}
.hp-kontakt-mapa iframe {
  display: block;
  height: 100%;
  min-height: 320px;
}
@media (max-width: 767px) {
  .hp-kontakt-grid { grid-template-columns: 1fr; }
  .hp-kontakt-mapa { min-height: 260px; }
  .hp-kontakt-mapa iframe { min-height: 260px; }
}

/* ══ BTN OUTLINE SUN ══ */
.btn-outline-sun {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 800;
  padding: 0.6rem 2rem;
  border-radius: 40px;
  text-transform: uppercase;
  /*! font-size: 0.8rem; */
  letter-spacing: 0.06em;
  transition: 0.2s;
  display: inline-block;
  cursor: pointer;
}
.btn-outline-sun:hover { background: #fff; color: var(--primary); }
.btn-outline-sun:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ══ KALENDÁŘ AKCÍ ══ */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: #dee2e6;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}
.cal-header-cell {
  background: #5aad5e;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 10px 4px;
  font-size: .9rem;
}
.cal-weekend-h { background: #3d8b41; }
.cal-day {
  background: #fff;
  min-height: 100px;
  padding: 6px;
  font-size: .82rem;
}
.cal-day.cal-empty   { background: #f8f9fa; min-height: 100px; }
.cal-day.cal-weekend { background: #f8f9fa; }
.cal-day.cal-today   { background: #e8f5e9; outline: 2px solid #5aad5e; }
.cal-day.cal-has-events { background: #fffde7; }
.cal-day-num { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: #333; }
.cal-today .cal-day-num { color: #5aad5e; }
.cal-events-wrap { display: flex; flex-direction: column; gap: 3px; }
.cal-event {
  padding: 3px 5px;
  border-radius: 3px;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  cursor: default;
}
.event-item { transition: transform .2s, box-shadow .2s; }
.event-item:hover { transform: translateX(4px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }

@media (max-width: 767px) {
  .cal-day { min-height: 72px; padding: 4px; }
  .cal-day-num { font-size: .85rem; }
  .cal-event { font-size: .68rem; padding: 2px 4px; }
  .cal-header-cell { padding: 7px 2px; font-size: .78rem; }
}
@media (max-width: 480px) {
  .cal-day { min-height: 52px; padding: 2px 3px; }
  .cal-day-num { font-size: .75rem; margin-bottom: 2px; }
  .cal-event { font-size: .6rem; padding: 1px 3px; }
  .cal-header-cell { padding: 5px 1px; font-size: .68rem; }
}

/* ══ UŽITEČNÉ ODKAZY ══ */
.ul-bg-green { background-color: #5aad5e; }
.ul-bg-blue  { background-color: #3a8fcc; }
.ul-bg-green { --bs-card-cap-bg: #5aad5e; color: #fff; }
.ul-bg-blue  { --bs-card-cap-bg: #4ea8d8; color: #fff; }
.useful-links-card-body ul li a { font-weight: bold !important; text-decoration: underline !important; color: var(--primary) !important; }

.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.useful-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.07);
  background: #fafafa;
  text-decoration: none;
  color: var(--text);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.useful-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  background: #fff;
  color: var(--text);
}
.useful-link-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.useful-link-body { flex: 1; min-width: 0; }
.useful-link-title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: .15rem;
}
.useful-link-desc {
  font-size: .82rem;
  color: var(--text2);
  margin-bottom: .1rem;
}
.useful-link-url {
  font-size: .78rem;
  color: #5aad5e;
  font-weight: 600;
}
.useful-link-arrow {
  color: #ccc;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color .2s;
}


.osoby-sekce { margin-bottom:2.5rem; }
.osoby-sekce-title {
  display:flex; align-items:center; gap:.7rem;
  font-size:26px; font-weight:800; color:#3e2723;
  border-left:5px solid #f5a623; padding-left:.85rem;
  margin-bottom:1.25rem;
}
.osoby-card {
  border-radius:14px; border:none;
  box-shadow:0 2px 12px rgba(0,0,0,.07);
  background:#fff; overflow:hidden;
  transition:transform .2s, box-shadow .2s; height:100%;
}
.osoby-card:hover { transform:translateY(-3px); box-shadow:0 6px 22px rgba(0,0,0,.12); }
.osoby-card-head {
  padding:.65rem 1rem;
  font-size:18px; font-weight:700;
  text-transform:uppercase; 
  display:flex; align-items:center; gap:.5rem;
}
.osoby-card-body { padding:.9rem 1rem; }
.osoba-row {
  display:flex; align-items:flex-start; gap:.6rem;
  padding:.4rem 0; border-bottom:1px solid #f5f0e8;
}
.osoba-row:last-child { border-bottom:none; }
.osoba-avatar {
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:.9rem; flex-shrink:0;
}
.osoba-info { flex-grow:1; min-width:0; }
.osoba-jmeno { font-weight:600; font-size:20px; color:#2d2d2d; line-height:1.3; }
.osoba-funkce { font-size:17px; color:#888; }
.osoba-kontakt { font-size:.75rem; color:#666; margin-top:.2rem; }
.osoba-kontakt a { color:#4ea8d8; text-decoration:none; }
.osoba-kontakt a:hover { text-decoration:underline; }
.asistent-badge {
  display:inline-block; font-size:15px; font-weight:600;
  background:#fff3e0; color:#e65100;
  border:1px solid #ffe082; border-radius:20px;
  padding:.1rem .5rem; margin-top:.15rem;
}
.poznamka-text { font-size:.75rem; color:#999; font-style:italic; margin-top:.15rem; }



.useful-link-card:hover .useful-link-arrow { color: var(--primary); }

/* Zvýraznění odkazů v content-block uvnitř karet s užitečnými odkazy */
.useful-links-card-body .content-block a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.useful-links-card-body .content-block a:hover { color: var(--primary-d); }
.useful-links-card-body .content-block ul { padding-left: 0; list-style: none; }
.useful-links-card-body .content-block ul li {
  padding: .6rem .8rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  /*! font-size: 1rem; */
  line-height: 1.5;
}
.useful-links-card-body .content-block ul li:last-child { border-bottom: none; }
.useful-links-card-body .content-block ul li::before {
  content: '→';
  color: var(--primary);
  font-weight: 900;
  margin-right: .5rem;
}

@media (max-width: 767px) {
  .useful-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .site-footer { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 768px) {
  .ntb-controls {
    display: none !important;
  }
}
.img-fluid.rounded-3.shadow-sm {
  min-width: 100%;
}
.onas-content p {
  font-size: 20px;
}