/* =========================================================
   NUSCH.SK — Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { touch-action: manipulation; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
}

img { display: block; }

/* Skip navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #2B46A2;
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  font-weight: 500;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles — WCAG 2.4.7 */
:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

/* =========================================================
   HEADER
   ========================================================= */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  z-index: 10;
  animation: slideDown 1s ease-out both;
}

.header__topbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.header__tagline {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding-left: 20px;
}

.header__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding-right: 20px;
}

.header__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.header__contact-icon:hover svg {
  stroke: #D32821;
}

.header__phone {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.header__bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70px;
  border-radius: 15px;
  display: flex;
  overflow: hidden;
  position: relative;
}

.header__left {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-radius: 15px 0 0 15px;
}

.header__logo img {
  height: 50px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

.header__nav--left {
  margin-left: auto;
  padding-right: 30px;
}

.header__nav--left a {
  color: #1a1a2e;
  font-size: 16px;
}

.header__nav--right {
  padding-left: 30px;
  height: 100%;
}

.header__nav--right a {
  color: #fff;
}

/* Hamburger — hidden on desktop */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
}
.header__hamburger:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Phone icon — hidden on desktop */
.header__contact-phone {
  display: none;
}

/* Mobile icons — hidden on desktop */
.header__mobile-icons {
  display: none;
}

.header__nav a {
  transition: color 0.3s, transform 0.3s;
}

.header__nav a:hover {
  transform: translateY(-4px);
}

.header__nav--left a:hover {
  color: #D32821;
}


/* =============================================
   DROPDOWN NAVIGATION — Multi-level
   ============================================= */

/* Nav items as list */
.header__nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav-item {
  position: relative;
}

/* Chevron indicator for items with submenus */
.header__nav-item.has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.3s;
}

.header__nav-item.has-children:hover > a::after {
  transform: rotate(-135deg);
}

/* First-level dropdown */
.header__dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 100;
  text-align: left;
  list-style: none;
  padding-left: 0;
}

@media (hover: hover) {
  .header__nav-item:hover > .header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.header__nav-item:focus-within > .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown link styling */
.header__dropdown li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.header__dropdown a {
  display: block;
  width: 100%;
  font-size: 15px !important;
  color: #1a1a2e !important;
  padding: 13px 20px;
  margin: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-weight: 400;
  text-align: left;
  box-sizing: border-box;
}

.header__dropdown a:hover {
  background: #D32821;
  color: #fff !important;
  transform: none;
}
.header__dropdown a:focus-visible {
  background: #D32821;
  color: #fff !important;
  transform: none;
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
}

.header__dropdown a.active {
  background: #2B46A2;
  color: #fff !important;
}

/* Active state on top-level and parent nav items */
.header__nav--left .header__nav-item.active > a,
.header__nav--left .has-children.active > a {
  color: #D32821;
}
.header__dropdown .has-children.active > a {
  color: #D32821 !important;
  background: rgba(211,40,33,.08);
}

.header__nav--right .header__nav-item.active > a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header__dropdown a.header__nav-bold {
  font-weight: 600;
}

/* Third-level dropdown — opens to the right */
.header__dropdown .header__dropdown {
  top: 0;
  left: 100%;
  border-radius: 0 10px 10px 0;
  list-style: none;
  padding-left: 0;
}

@media (hover: hover) {
  .header__dropdown li:hover > .header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.header__dropdown li:focus-within > .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Chevron for nested sub-items — points right */
.header__dropdown .has-children > a {
  padding-right: 36px;
}

.header__dropdown .has-children > a::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  margin-left: 0;
}

/* Right nav (red section) dropdown */
.header__nav--right .header__dropdown {
  background: #fff;
  left: auto;
  right: 0;
}

.header__nav--right .header__dropdown a {
  color: #1a1a2e !important;
}

.header__nav--right .header__dropdown a:hover,
.header__nav--right .header__dropdown a:focus-visible {
  background: #D32821;
  color: #fff !important;
}

.header__nav--right .header__dropdown a.active {
  background: #2B46A2;
  color: #fff !important;
}

/* Right nav chevron colour override */
.header__nav--right .header__nav-item.has-children > a::after {
  border-color: #fff;
}

/* Prevent header overflow from clipping dropdowns */
.header__bar {
  overflow: visible;
}

.header__left,
.header__right {
  overflow: visible;
}

/* Dropdown section labels (non-clickable headings) */
.header__dropdown-label {
  font-size: 13px;
  font-weight: 600;
  color: #2B46A2;
  padding: 10px 20px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #eee;
  margin-top: 4px;
}

/* File info badge in dropdown links */
.header__file-info {
  font-size: 12px;
  color: #595959;
  font-weight: 400;
}

.header__dropdown a:hover .header__file-info,
.header__dropdown a:focus-visible .header__file-info {
  color: rgba(255, 255, 255, 0.7);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header__dropdown,
  .header__nav-item.has-children > a::after {
    transition: none;
  }
}

/* Mobile — dropdowns hidden (handled by mobile menu) */
@media (max-width: 767px) {
  .header__dropdown {
    display: none !important;
  }

  .header__nav-item.has-children > a::after {
    display: none;
  }
}

.header__right {
  width: 325px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #D6261C, #9D1810);
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 0 15px 15px 0;
}

.header__search {
  position: absolute;
  top: 50%;
  right: 325px;
  transform: translate(50%, -50%);
  width: 46px;
  height: 46px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
  font: inherit;
}

.header__search:hover {
  background: #000;
}

.header__search svg {
  width: 20px;
  height: 20px;
  stroke: #000;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.header__search:hover svg {
  stroke: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #1858A0, #13A3E9);
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -93%;
  left: -50%;
  width: 200%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  z-index: 3;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -90%;
  left: -50%;
  width: 200%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  z-index: 2;
}

.hero__wave {
  position: absolute;
  bottom: -87%;
  left: -50%;
  width: 200%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  z-index: 1;
}

.hero__content {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15% 15px 22%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero__text {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   PAGE HERO (subpages)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 506px;
  overflow: hidden;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center center;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #1858A0, #13A3E9);
  opacity: 0.6;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -78%;
  left: -17.5%;
  width: 135%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  z-index: 3;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -73%;
  left: -17.5%;
  width: 135%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  z-index: 2;
}

.page-hero__wave {
  position: absolute;
  bottom: -68%;
  left: -17.5%;
  width: 135%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  z-index: 1;
}

.page-hero__content {
  position: relative;
  min-height: 506px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7% 15px 6%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__title {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: slideUp 1s ease-out both;
}

.page-hero__breadcrumb {
  animation: slideUp 1s 0.2s ease-out both;
}

.page-hero__breadcrumb {
  color: #fff;
  font-size: 16px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 20px;
  border-radius: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.page-hero__breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

.page-hero__breadcrumb a:hover {
  color: #D32821;
}

.page-hero__category {
  display: inline-block;
  background: linear-gradient(to bottom, #D6261C, #9D1810);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 5px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-shadow: none;
  animation: slideUp 0.8s ease-out both;
}

/* Article gallery */
.article__gallery {
  margin-top: 40px;
}

.article__gallery-title {
  font-size: 28px;
  font-weight: 600;
  color: #2B46A2;
  margin: 0 0 20px;
}

.article__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
@media (max-width: 767px) {
  .article__gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.article__gallery-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.article__gallery-item:hover {
  transform: scale(1.03);
}

.article__gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Article lightbox */
.article-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.article-lightbox--active {
  opacity: 1;
}

.article-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.article-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 2;
}

.article-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.article-lightbox__close:focus-visible,
.article-lightbox__arrow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.article-lightbox__arrow:hover {
  background: rgba(255,255,255,0.3);
}

.article-lightbox__arrow--prev { left: 20px; }
.article-lightbox__arrow--next { right: 20px; }

.article-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 15px;
  background: rgba(0,0,0,0.5);
  padding: 5px 15px;
  border-radius: 20px;
}

/* =========================================================
   PAGE CONTENT (subpages)
   ========================================================= */
.section {
  position: relative;
  z-index: 4;
  padding: 60px 15px;
  margin-top: -120px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-content a:not(.btn):not(.btn--download):not(.btn--outline) {
  text-decoration: underline;
}

.page-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #2B46A2;
  margin: 40px 0 20px;
}

.page-content ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-content li {
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.page-content__img {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 30px auto;
  border-radius: 15px;
}

/* Info banners */
.info-banner {
  max-width: 700px;
  margin: 25px auto;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
}
.info-banner p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.info-banner--red {
  background: linear-gradient(135deg, #D32821 0%, #9D1810 100%);
  box-shadow: 0 4px 15px rgba(211, 40, 33, 0.3);
}
.info-banner--blue {
  background: linear-gradient(135deg, #3a5bc7 0%, #2B46A2 100%);
  box-shadow: 0 4px 15px rgba(43, 70, 162, 0.3);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn .25s ease;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp .3s ease;
}
.modal__dialog--md { max-width: 640px; }
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 2px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
.modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2B46A2;
}
.modal__close {
  background: none;
  border: none;
  font-size: 28px;
  color: #595959;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: #f5f5f5; color: #333; }
.modal__body { padding: 24px 28px; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 767px) {
  .modal__dialog--md { max-width: 100%; }
  .modal__body { padding: 16px; }
}

/* Auth section (objednavanie) */
.auth-section {
  background: #fef2f2;
  border: 3px solid #D32821;
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
}
.auth-section--active {
  background: #f0f4ff;
  border-color: #2B46A2;
}
.auth-section__title {
  margin: 0 0 24px;
  font-size: 1.25rem;
  color: #9D1810;
  text-align: center;
  font-weight: 700;
}
.auth-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.auth-section__col {
  padding: 20px;
}
.auth-section__col:first-child {
  border-right: 1px solid rgba(211,40,33,0.15);
}
.auth-section__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(43,70,162,0.15);
}
.auth-form__group {
  margin-bottom: 14px;
}
.auth-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.auth-form__group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #767676;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  box-sizing: border-box;
}
.auth-form__group input:focus {
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
  border-color: #2B46A2;
  box-shadow: 0 0 0 3px rgba(43,70,162,0.1);
}
.objednavanie-msg { font-size: 13px; min-height: 20px; margin: 6px 0; }
.objednavanie-msg--err { color: #D32821; }
.objednavanie-msg--ok { color: #16a34a; }

/* Patient form */
.patient-form__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #2B46A2;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(43,70,162,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}
.patient-form__heading:first-child { margin-top: 0; }
.patient-form__row {
  display: grid;
  gap: 16px;
  margin-bottom: 4px;
}
.patient-form__row--2 { grid-template-columns: 1fr 1fr; }
.patient-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.patient-form__group {
  margin-bottom: 14px;
}
.patient-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.patient-form__group .req { color: #D32821; }
.patient-form__group input,
.patient-form__group select,
.patient-form__group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #767676;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  box-sizing: border-box;
  background: #fff;
}
.patient-form__group input:focus,
.patient-form__group select:focus,
.patient-form__group textarea:focus {
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
  border-color: #2B46A2;
  box-shadow: 0 0 0 3px rgba(43,70,162,0.1);
}
.patient-form__group input[type="file"] {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.patient-form__group input[type="file"]::file-selector-button {
  padding: 10px 20px;
  border: 2px dashed #2B46A2;
  border-radius: 8px;
  background: #f0f4ff;
  color: #2B46A2;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  margin-right: 12px;
  transition: background .2s, border-color .2s;
}
.patient-form__group input[type="file"]::file-selector-button:hover {
  background: #2B46A2;
  color: #fff;
  border-color: #2B46A2;
}
.patient-form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.patient-form__fieldset legend {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}
.patient-form__radios {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}
.patient-form__radio {
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 16px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.patient-form__radio:hover {
  border-color: #2B46A2;
  background: #f0f4ff;
}
.patient-form__radio:has(input:checked) {
  border-color: #2B46A2;
  background: #f0f4ff;
  box-shadow: 0 0 0 3px rgba(43,70,162,0.1);
}
.patient-form__radio input {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.patient-form__group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B46A2' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.patient-form__group label.patient-form__checkbox {
  display: flex;
  align-items: stretch;
  font-weight: 400 !important;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  cursor: pointer;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 0;
  transition: border-color .2s, box-shadow .2s;
}
.patient-form__group label.patient-form__checkbox:hover {
  border-color: #b0b0b0;
}
.patient-form__group label.patient-form__checkbox:has(input:checked) {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.patient-form__group label.patient-form__checkbox:has(input:checked) .patient-form__checkbox-icon {
  background: #16a34a;
  color: #fff;
}
.patient-form__checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.patient-form__checkbox-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  background: #f3f4f6;
  color: #c0c0c0;
  font-size: 0;
  transition: background .2s, color .2s;
}
.patient-form__checkbox-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}
label.patient-form__checkbox span:last-child {
  padding: 20px 24px !important;
  flex: 1;
  min-height: 56px;
  box-sizing: border-box;
  margin: 0 !important;
}
.patient-form__submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .auth-section__grid { grid-template-columns: 1fr; }
  .auth-section__col:first-child { border-right: none; border-bottom: 1px solid rgba(211,40,33,0.15); padding-bottom: 20px; }
  .patient-form__row--2,
  .patient-form__row--3 { grid-template-columns: 1fr; }
  .auth-section { padding: 20px; }
}

/* Page video */
.page-content__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}
.page-content__list--plain {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-content__list--plain li {
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .page-content__two-col { grid-template-columns: 1fr; }
}

.page-content__video {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 30px auto;
  border-radius: 15px;
}

.page-content__video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 15px;
  overflow: hidden;
}
.page-content__video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}

/* ===== PARKING PAGE ===== */
.parking__section-title {
  text-align: center;
  color: #2B46A2;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2B46A2;
}

.parking__hero-video {
  width: 100%;
  display: block;
  border-radius: 15px;
  margin: 0 auto 32px;
}

.parking__info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 32px;
}
.parking__info-box {
  background: #f7f8fc;
  border-left: 4px solid #2B46A2;
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
}
.parking__info-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2B46A2;
  margin: 0 0 4px;
}
.parking__info-title a { color: #2B46A2; text-decoration: underline; }
.parking__info-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}
.parking__info-desc a { color: #D32821; text-decoration: underline; }

.parking__btn-wrap {
  text-align: center;
  margin: 32px 0;
}
.parking__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.parking__btn svg { flex-shrink: 0; }

.parking__transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 32px;
}
.parking__transport-label {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2B46A2;
  margin: 0 0 12px;
}
.parking__video-thumb {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}
.parking__video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.parking__video-thumb:hover .parking__video-thumb-img {
  transform: scale(1.05);
}
.parking__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(43, 70, 162, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.parking__video-thumb:hover .parking__video-play {
  background: rgba(211, 40, 33, 0.9);
}
.parking__video-play svg {
  margin-left: 4px;
}

.parking__map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 0 0 32px;
  align-items: stretch;
}
.parking__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}
.parking__map-wrap {
  border-radius: 15px;
  overflow: hidden;
  min-height: 250px;
}
.parking__map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 921px) {
  .parking__transport-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .parking__map-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.parking__lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .parking__transport-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .parking__section-title {
    font-size: 1.3rem;
  }
}

/* Price list (cenník s bodkami) */
.price-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  max-width: 100%;
}

.price-list__item {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a2e;
}

.price-list__title {
  flex-shrink: 1;
  min-width: 0;
}

.price-list__dots {
  flex: 1;
  border-bottom: 2px dotted #ccc;
  margin: 0 10px;
  min-width: 30px;
  align-self: flex-end;
  margin-bottom: 4px;
}

.price-list__price {
  flex-shrink: 0;
  font-weight: 600;
  color: #2B46A2;
  white-space: nowrap;
}

/* --- Tabs component --- */
.tabs { margin: 30px 0; }
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}
.tabs__btn {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #e0e4ef;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  transition: all 0.25s;
}
.tabs__btn:hover {
  border-color: #2B46A2;
  color: #2B46A2;
  background: #f0f3fb;
}
.tabs__btn:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}
.tabs__btn.active {
  background: #2B46A2;
  color: #fff;
  border-color: #2B46A2;
}
.tabs__panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tabs__panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Media links inside tabs */
.tabs__panel p {
  margin: 0;
}
.tabs__panel > p > a,
.tabs__panel > p a[href^="http"] {
  transition: color 0.2s;
}
.tabs__panel > p > a:hover {
  color: #D32821;
}

/* Media link cards */
.media-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid #f0f2f5;
  background: #fafbfd;
  transition: all 0.2s;
  text-decoration: none;
  color: #1a1a2e;
  line-height: 1.5;
}
.media-link:hover {
  border-color: #2B46A2;
  background: #f0f3fb;
  transform: translateX(4px);
}
.media-link__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #2B46A2;
}
.media-link__title {
  font-weight: 500;
  color: #2B46A2;
}
.media-link__desc {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}
.media-link__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Video grid inside tabs */
.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}
.media-video-card {
  background: #f8f9fc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e4ef;
}
.media-video-card .page-content__video-wrap {
  margin: 0;
}
.media-video-card__title {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
}

/* Podcast card */
.media-podcast {
  background: #f8f9fc;
  border: 1px solid #e0e4ef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.media-podcast__title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.media-podcast__host {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
.media-podcast__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.media-podcast__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #e0e4ef;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #2B46A2;
  text-decoration: none;
  transition: all 0.2s;
}
.media-podcast__links a:hover {
  background: #2B46A2;
  color: #fff;
  border-color: #2B46A2;
}

/* Section header in tab panels */
.media-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e4ef;
}
.media-section-title:first-child {
  margin-top: 0;
}

/* Media link grid */
.media-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 767px) {
  .tabs__btn { padding: 8px 14px; font-size: 13px; }
  .media-video-grid { grid-template-columns: 1fr; }
  .media-link-grid { grid-template-columns: 1fr; }
}

/* Nested tabs (year tabs inside main tabs) */
.tabs--nested { margin: 10px 0; }
.tabs--nested .tabs__nav { gap: 5px; }
.tabs--nested .tabs__btn { padding: 8px 16px; font-size: 13px; }

/* =========================================================
   TABLES
   ========================================================= */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

.page-content th,
.page-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.page-content thead th {
  background: #2B46A2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.page-content tbody tr:hover {
  background: #f8f9fa;
}

.page-content tfoot td {
  border-bottom: none;
  padding-top: 20px;
}

@media (max-width: 767px) {
  .page-content table { font-size: 13px; }
  .page-content th,
  .page-content td { padding: 8px 10px; }
}

/* =========================================================
   INSTITUTE BANNER
   ========================================================= */
.institute-banner {
  text-align: center;
  margin-bottom: 30px;
}

.institute-banner__title {
  display: inline-block;
  background: linear-gradient(to bottom, #D6261C, #9D1810);
  border-radius: 8px;
  padding: 7px 15px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

/* =========================================================
   NOVINKY (News)
   ========================================================= */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: -20% auto 0;
  padding: 40px 15px;
  animation: slideUp 1.5s ease-out both;
}

.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.news__grid--listing {
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0;
}

.news__grid--listing .news__card {
  margin: 0;
}

.news__card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin: 0 2%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #FFFFFF00, #2987F2);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.news__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 0, 0, 0.5), #2987F2);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
  z-index: 1;
}

.news__card:hover::before {
  opacity: 1;
}

.news__card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.news__card-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5% 5% 5%;
  position: relative;
  z-index: 1;
}

.news__card-title {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.news__category {
  background: linear-gradient(to bottom, #D6261C, #9D1810);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 5px 0;
  position: relative;
  z-index: 2;
}

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  to {
    --gradient-angle: 360deg;
  }
}

.info-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 15px;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}

.info-card {
  position: relative;
  background: transparent;
  border-radius: 15px;
  padding: 25px;
  text-decoration: none;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 0;
}

.info-card::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -2px;
  height: 15px;
  border-radius: 0 0 17px 17px;
  background: conic-gradient(from var(--gradient-angle), #2B46A2, #D32821, #2B46A2);
  animation: rotate-border 4s linear infinite;
  z-index: -2;
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: #fff;
  z-index: -1;
}

.info-card:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.info-card:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.info-card__text {
  flex: 1;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 12px 20px rgba(0, 0, 0, 0.15);
}

.info-card__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.info-card__title {
  color: #1a1a2e;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.info-card__desc {
  color: #666;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

button.info-card {
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}

/* Home modals */
.home-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.home-modal--open {
  display: flex;
}

.home-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.home-modal__content {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: homeModalIn 0.25s ease;
}

@keyframes homeModalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.home-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.home-modal__close:hover {
  background: #f0f0f0;
  color: #333;
}

.home-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #2B46A2;
  margin: 0 0 24px;
}

.home-modal__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-modal__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f5f7fb;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.home-modal__link:hover {
  background: #e8ecf5;
  transform: translateX(4px);
}

.home-modal__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: #2B46A2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news__more {
  text-align: center;
  margin-top: 30px;
}

.news__more-btn {
  display: inline-block;
  position: relative;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 15px;
  border: none;
  background: transparent;
  z-index: 0;
  transition: color 0.3s;
}

.news__more-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 17px;
  background: conic-gradient(from var(--gradient-angle), #2B46A2, #D32821, #2B46A2);
  animation: rotate-border 4s linear infinite;
  z-index: -2;
}

.news__more-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: #fff;
  z-index: -1;
  transition: background 0.3s;
}

.news__more-btn:hover {
  color: #fff;
}

.news__more-btn:hover::before {
  background: #2B46A2;
}

.news__more-btn:hover::after {
  background: #2B46A2;
}

/* =========================================================
   PROMO BANNER
   ========================================================= */
.promo-banner {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 15px;
}

.promo-banner__link {
  display: block;
  height: 150px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s;
}

.promo-banner__link:hover {
  transform: scale(1.01);
}

/* =========================================================
   BUILDINGS COVERFLOW
   ========================================================= */
.institute-banner__title--blue {
  background: linear-gradient(to bottom, #1858A0, #2B46A2);
}

.buildings {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  overflow: hidden;
  transform-style: flat;
}

.coverflow {
  margin-top: 5px;
  position: relative;
}

.coverflow__stage {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.coverflow__slide {
  position: absolute;
  width: 420px;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.6s ease;
  border: 4px solid #fff;
}

.coverflow__slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Center — straight */
.coverflow__slide--active {
  transform: translateZ(50px) rotateY(0deg);
  z-index: 3;
}

/* Left — rotated showing right edge, tucked behind center */
.coverflow__slide--prev {
  transform: translateX(-440px) translateZ(-150px) rotateY(50deg);
  z-index: 2;
}

/* Right — rotated showing left edge, tucked behind center */
.coverflow__slide--next {
  transform: translateX(440px) translateZ(-150px) rotateY(-50deg);
  z-index: 2;
}

.coverflow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.coverflow__btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.coverflow__btn--prev { left: 15px; }
.coverflow__btn--next { right: 15px; }
.coverflow__btn--pause { bottom: 10px; top: auto; left: 50%; transform: translateX(-50%); font-size: 16px; width: 36px; height: 36px; }

/* =========================================================
   BANNER SECTION
   ========================================================= */
.banner-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 15px;
}

.banner-section__img {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: background .3s, transform .2s, box-shadow .3s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #2B46A2;
  color: #fff;
}
.btn--primary:hover { background: #1e3580; color: #fff; box-shadow: 0 4px 12px rgba(43,70,162,.4); }

.btn--red {
  background: linear-gradient(180deg, #D6261C 0%, #9D1810 100%);
  color: #fff;
}
.btn--red:hover { opacity: .9; color: #fff; box-shadow: 0 4px 12px rgba(211,40,33,.4); }

.btn--outline {
  background: transparent;
  border: 2px solid #2B46A2;
  color: #2B46A2;
}
.btn--outline:hover { background: #2B46A2; color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 13px; }

.btn--white {
  background: #fff;
  color: #2B46A2;
}
.btn--white:hover { background: #f0f0f0; color: #2B46A2; }

/* =========================================================
   ARTICLE DETAIL
   ========================================================= */
.article__featured-image {
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.article__featured-image img {
  width: 100%;
}

.article__content h2 { font-size: 24px; margin: 28px 0 12px; }
.article__content h3 { font-size: 20px; margin: 24px 0 10px; }
.article__content p { margin-bottom: 16px; line-height: 1.8; }
.article__content ul { margin: 12px 0 20px 20px; list-style: disc; }
.article__content li { margin-bottom: 6px; }
.article__content img { border-radius: 10px; margin: 20px 0; }

.article__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer__top {
  position: relative;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, #fff 50%, #fff 100%);
}

.footer__top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(90deg, #D6261C, #9D1810, #D6261C, #9D1810);
  background-size: 300% 100%;
  animation: redBarShift 6s ease infinite;
  z-index: 0;
}

.footer__top-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.footer__top-left {
  width: 50%;
}

.footer__top-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.footer__photo {
  width: 100%;
  aspect-ratio: 1920 / 600;
  object-fit: cover;
  border-radius: 15px;
}

.footer__red-bar {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__tradition {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 45px;
  font-weight: 500;
}

.footer__tradition-number {
  font-size: 65px;
  font-weight: 700;
}

.footer__white-bar {
  height: 120px;
  background: #fff;
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
  justify-content: center;
  overflow: hidden;
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer__logo {
  max-height: 80px;
  width: auto;
  max-width: 45%;
}

@keyframes redBarShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer__nav {
  padding: 120px 15px 50px;
}

.footer__nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.footer__nav-title {
  display: block;
  border-radius: 8px;
  padding: 7px 15px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.footer__nav-title--blue {
  background: linear-gradient(to bottom, #1858A0, #2B46A2);
}

.footer__nav-title--red {
  background: linear-gradient(to bottom, #D6261C, #9D1810);
}

.footer__nav-col p,
.footer__nav-col a {
  font-size: 15px;
  color: #1a1a2e;
  line-height: 2;
}

.footer__nav-col a:hover {
  color: #D32821;
}

.footer__nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-links li {
  line-height: 2;
}

/* Footer dropdown (opens upward) */
.footer__nav-links .has-children {
  position: relative;
}

.footer__nav-links .has-children > a {
  cursor: pointer;
}

.footer__nav-links .has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.25s;
}

.footer__nav-links .has-children.open > a::after {
  transform: rotate(135deg);
}

.footer__dropdown {
  display: none;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.footer__nav-links .has-children.open .footer__dropdown {
  display: flex;
  flex-direction: column;
}

.footer__dropdown li {
  line-height: 1;
}

.footer__dropdown a {
  display: block;
  font-size: 14px;
  color: #1a1a2e !important;
  padding: 10px 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}


@media (hover: hover) {
  .footer__dropdown a:hover {
    background: #D32821;
    color: #fff !important;
  }
}
.footer__dropdown a:focus-visible {
  background: #D32821;
  color: #fff !important;
}

.footer__nav-col p,
.footer__nav-links {
  margin-top: 15px;
  padding-left: 15px;
}

.footer__nav-col p + p {
  margin-top: 0;
}

.footer__banner-pause {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer__banner-pause:hover {
  background: rgba(0, 0, 0, 0.7);
}

.footer__nav-banner {
  grid-column: 4 / 6;
  grid-row: 2;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 800 / 550;
  margin-top: -80px;
  width: 80%;
}

.footer__banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.footer__banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.footer__banner-slide--active {
  opacity: 1;
}

.footer__banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.footer__nav-col:nth-child(3) {
  grid-row: 1 / 3;
}

.footer__nav-map {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: end;
  height: 180px;
}

.footer__nav-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}

/* Secondary footer (subpages) — banner as 3rd column, no map */
.footer__nav--secondary .footer__nav-banner {
  grid-column: 3;
  grid-row: 1;
  margin-top: 0;
  width: 100%;
  align-self: center;
}

.footer__nav--secondary .footer__nav-map {
  display: none;
}

.footer__bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 33% 50% 17%;
  height: 80px;
  align-items: center;
  padding: 0 15px;
}

.footer__bottom-col p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.footer__certs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.footer__cert {
  height: 50px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s;
}

.footer__cert:hover {
  transform: scale(1.1);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: grab;
  overflow: hidden;
}

.lightbox--open,
.lightbox--active {
  display: flex;
}

.lightbox__img {
  max-width: 60%;
  max-height: 70%;
  border-radius: 15px;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.3s ease;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
  padding: 10px;
}

.lightbox__close:focus-visible,
.lightbox__arrow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--next { right: 20px; }

/* ---- Page Gallery ---- */
.page-gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.page-gallery__item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}
.page-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.page-gallery__item:hover img {
  transform: scale(1.05);
}
@media (max-width: 921px) {
  .page-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .page-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

.footer__bottom-col--copy p {
  text-align: right;
  font-weight: 700;
}

.footer__credits {
  text-align: center;
  padding: 30px 15px 20px;
}

.footer__credits-link {
  display: block;
  font-size: 14px;
  color: #666;
}

.footer__credits-link + .footer__credits-link {
  margin-top: 30px;
}

.footer__heart-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
}

.footer__credits-link a {
  color: #666;
}

a.footer__credits-link:hover,
.footer__credits-link a:hover {
  color: #D32821;
}

.footer__divider:first-of-type {
  margin-top: 50px;
}

.footer__divider {
  margin-top: 0;
  height: 5px;
  background: linear-gradient(to right, #D6261C, #9D1810);
}

.footer__nav-photo {
  width: 70%;
  border-radius: 15px;
  object-fit: cover;
  margin-top: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer__nav-highlight {
  font-weight: 700;
  color: #D32821 !important;
}

@keyframes footerLogoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   BACK TO TOP + ACCESSIBILITY TOGGLE
   ========================================================= */
@keyframes btnShine {
  0%, 85% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Forms */
.nusch-form__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.nusch-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 30px;
}

.nusch-form legend {
  font-size: 20px;
  font-weight: 700;
  color: #2B46A2;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf5;
  width: 100%;
}

.nusch-form__field {
  margin-bottom: 16px;
}

.nusch-form__field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.nusch-form__req {
  color: #D32821;
}

.nusch-form__required-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.nusch-form__field input,
.nusch-form__field textarea,
.nusch-form__field select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #767676;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.nusch-form__field input:focus,
.nusch-form__field textarea:focus,
.nusch-form__field select:focus {
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
  border-color: #2B46A2;
  box-shadow: 0 0 0 3px rgba(43, 70, 162, 0.15);
}

.nusch-form__field input.nusch-form--error,
.nusch-form__field textarea.nusch-form--error {
  border-color: #D32821;
  box-shadow: 0 0 0 3px rgba(211, 40, 33, 0.1);
}

.nusch-form__field textarea {
  resize: vertical;
}

.nusch-form__submit {
  text-align: center;
  margin-top: 24px;
}

.nusch-form__status {
  text-align: center;
  margin-top: 12px;
  font-size: 15px;
}

.nusch-form__status--success {
  color: #2e7d32;
  font-weight: 500;
}

.nusch-form__status--error {
  color: #D32821;
  font-weight: 500;
}

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

.back-to-top {
  position: fixed;
  z-index: 99;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(110deg, #2B46A2 0%, #2B46A2 35%, #5a7ae6 50%, #2B46A2 65%, #2B46A2 100%);
  background-size: 200% 100%;
  animation: btnShine 4s ease-in-out infinite;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
  transform: scale(1.1);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.back-to-top {
  right: 20px;
  bottom: 20px;
  opacity: 0;
  pointer-events: none;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
}



/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__content {
    animation: none;
  }

  .header {
    animation: none;
  }

  .news {
    animation: none;
  }
}

/* =========================================================
   MOBILE (max 767px)
   ========================================================= */
@media (max-width: 767px) {
  /* Header mobile */
  .header {
    position: fixed;
    top: 10px;
    padding: 0 3%;
    animation: none;
  }

  .header__topbar {
    justify-content: center;
    padding: 6px 15px;
    max-width: 100%;
  }

  .header__tagline {
    width: auto;
    font-size: 11px;
    text-align: center;
    padding-left: 0;
  }

  .header__contact {
    display: none;
  }

  .header__bar {
    min-height: 55px;
  }

  .header__left {
    width: auto;
    flex: 1;
    gap: 15px;
    padding: 0 10px;
  }

  .header__nav--left {
    display: none;
  }

  .header__nav--right {
    display: none;
  }

  .header__search {
    display: none;
  }

  .header__logo img {
    height: 38px;
  }

  .header__mobile-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  .header__mobile-icons .header__contact-icon svg {
    stroke: #333;
  }

  .header__right {
    flex: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__hamburger {
    display: flex;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    min-height: 560px;
  }

  .hero__text {
    font-size: 26px;
  }

  .hero::after {
    height: 50%;
    bottom: -43%;
  }

  .hero::before {
    height: 50%;
    bottom: -41%;
  }

  .hero__wave {
    height: 50%;
    bottom: -39%;
  }

  /* Page hero mobile */
  .page-hero {
    min-height: 354px;
  }

  .page-hero__content {
    min-height: 354px;
  }

  .page-hero__title {
    font-size: 26px;
  }

  .page-hero__breadcrumb {
    font-size: 13px;
  }

  .section {
    margin-top: -80px;
    padding-top: 45px;
  }

  .page-hero::after {
    height: 50%;
    bottom: -33%;
    left: -17.5%;
    width: 135%;
  }

  .page-hero::before {
    height: 50%;
    bottom: -29%;
    left: -17.5%;
    width: 135%;
  }

  .page-hero__wave {
    height: 50%;
    bottom: -25%;
    left: -17.5%;
    width: 135%;
  }

  .news {
    margin-top: -53%;
  }

  .institute-banner__title {
    font-size: 15px;
  }

  .news__card {
    min-height: 194px;
    max-height: 220px;
  }

  .news__card-title {
    font-size: 18px;
  }

  .news__category {
    font-size: 14px;
  }

  .news__grid:not(.news__grid--listing) {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr 1fr;
  }

  .info-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 15px;
  }

  .info-card__icon {
    order: -1;
    margin-bottom: 0;
  }

  .info-card__title {
    font-size: 16px;
  }

  .info-card__desc {
    font-size: 13px;
  }

  .price-list__item {
    font-size: 14px;
    gap: 4px;
  }

  .price-list__dots {
    min-width: 10px;
    margin: 0 4px;
  }

  .buildings {
    padding: 60px 15px;
  }

  .coverflow__stage {
    height: 250px;
  }

  .coverflow__slide {
    width: 250px;
  }

  .coverflow__slide img {
    height: 220px;
  }

  .coverflow__slide--prev {
    transform: translateX(-140px) translateZ(-100px) rotateY(50deg);
  }

  .coverflow__slide--next {
    transform: translateX(140px) translateZ(-100px) rotateY(-50deg);
  }

  .banner-section {
    padding-top: 96px;
  }

  .banner-section__img {
    width: 90%;
  }

  /* Footer top mobile */
  .footer__top-content {
    flex-direction: column;
  }

  .footer__top-left {
    width: 100%;
    display: contents;
  }

  .footer__top-right {
    width: 100%;
    margin-top: -25%;
    position: relative;
    z-index: 1;
    order: 2;
  }

  .footer__red-bar {
    height: 160px;
    align-items: flex-start;
    padding-top: 15px;
    order: 1;
  }

  .footer__tradition {
    font-size: 28px;
  }

  .footer__tradition-number {
    font-size: 42px;
  }

  .footer__photo {
    border-radius: 15px;
  }

  .footer__top::before {
    height: 160px;
  }

  .footer__white-bar {
    height: auto;
    padding: 20px 0;
    order: 3;
    background: #fff;
    width: 90%;
    margin: -7% auto 0;
    position: relative;
    z-index: 0;
    border-radius: 15px;
  }

  .footer__logos {
    width: 100%;
    justify-content: center;
  }

  .footer__logo {
    max-height: 50px;
  }

  .footer__white-bar .footer__logo {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

  .footer__white-bar .footer__logo.reveal--visible {
    opacity: 1;
    transform: translateY(0);
  }

  .footer__white-bar .footer__logo:first-child {
    transition-delay: 0.6s !important;
  }

  .footer__white-bar .footer__logo:last-child {
    transition-delay: 1.2s !important;
  }

  /* Footer nav mobile - 2 column grid */
  .footer__nav {
    padding: 60px 15px 30px;
  }

  .footer__nav-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .footer__nav-col:nth-child(1) { order: 1; }
  .footer__nav-col:nth-child(2) { order: 2; }
  .footer__nav-col:nth-child(3) {
    order: 4;
    grid-column: 1 / 3;
    grid-row: auto;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0;
  }

  .footer__nav-col:nth-child(3) .footer__nav-title {
    grid-column: 1 / 3;
  }

  .footer__nav-col:nth-child(3) p {
    grid-column: 1;
    margin-top: 5px;
  }

  .footer__nav-col:nth-child(3) .footer__nav-photo {
    grid-column: 2;
    grid-row: 2 / 6;
    width: 70%;
    margin: 15px auto 0;
    align-self: start;
  }

  .footer__nav-col:nth-child(4) { order: 5; }
  .footer__nav-col:nth-child(5) { order: 6; }

  .footer__nav-map {
    grid-column: 1 / 3;
    grid-row: auto;
    order: 3;
    height: 200px;
  }

  .footer__nav-banner {
    grid-column: 1 / 3;
    grid-row: auto;
    order: 7;
    width: 100%;
    margin-top: 15px;
    aspect-ratio: 800 / 550;
  }

  .footer__nav-title {
    font-size: 14px;
  }

  .footer__dropdown {
    position: static;
    min-width: 0;
    border-radius: 8px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 4px;
  }

  .footer__dropdown a {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Secondary footer mobile */
  .footer__nav--secondary .footer__nav-banner {
    grid-column: 1 / 3;
    order: 3;
    aspect-ratio: 800 / 550;
  }

  .footer__nav--secondary .footer__nav-col:nth-child(4) { order: 4; }
  .footer__nav--secondary .footer__nav-col:nth-child(5) { order: 5; }

  /* Footer bottom mobile */
  .footer__bottom-content {
    grid-template-columns: 1fr;
    height: auto;
    padding: 15px;
    gap: 15px;
  }

  .footer__certs {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__cert {
    height: 40px;
  }

  .footer__bottom-col--iso p {
    text-align: center;
  }

  .footer__bottom-col--copy p {
    text-align: center;
  }
}

/* =========================================================
   Department Cards — Grid listing
   ========================================================= */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.dept-grid:has(.dept-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 30px auto;
}

.dept-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 7/4;
}

.dept-card:hover,
.dept-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 6px 6px 18px rgba(0,0,0,0.2);
}

.dept-card:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.dept-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e8ecf4;
}

.dept-card__img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ecf4 0%, #d0d8e8 100%);
}

.dept-card__placeholder {
  width: 48px;
  height: 48px;
  fill: #b0b8c8;
}

.dept-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Default overlay — gradient like news cards */
.dept-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #FFFFFF00, #2987F2);
  z-index: 1;
  pointer-events: none;
  border-radius: 15px;
}

/* Hover overlay — red-to-blue like news cards */
.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 0, 0, 0.5), #2987F2);
  border-radius: 15px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
  z-index: 1;
}

.dept-card:hover::before {
  opacity: 1;
}

.dept-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  border-radius: 0 0 15px 15px;
}

.dept-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.3);
}

.dept-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.dept-card__badge--dkc {
  background: #D32821;
  color: #fff;
}

.dept-card__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 4px 0 0;
  line-height: 1.4;
}

.dept-card__meta--phone {
  color: #fff;
  font-weight: 500;
}

.dept-loading {
  text-align: center;
  color: #767676;
  padding: 40px 0;
}

/* =========================================================
   Jobs Listing (volne-pracovne-pozicie)
   ========================================================= */
.jobs-listing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.jobs-listing__card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.jobs-listing__card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 16px rgba(0,0,0,0.12);
}

.jobs-listing__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.jobs-listing__img {
  width: 100%;
  height: auto;
  display: block;
}

.jobs-listing__title {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  color: #2B46A2;
}

.jobs-contact {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.jobs-contact p {
  margin-bottom: 12px;
}

.page-content .jobs-contact__dept {
  font-weight: 700;
  color: #9D1810;
  font-size: 18px;
  margin-top: 20px;
}

/* =========================================================
   Department / News Modal — Shared overlay + structure
   ========================================================= */
.dept-modal-overlay,
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dept-modal-overlay--active,
.news-modal-overlay--active {
  opacity: 1;
  visibility: visible;
}

.dept-modal,
.news-modal {
  background: #fff;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: deptModalIn 0.3s ease-out;
}

@keyframes deptModalIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.dept-modal__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.dept-modal__close:hover,
.dept-modal__close:focus-visible {
  background: #D32821;
}

.dept-modal__close:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

/* Modal Header — 2-column: photo + info */
.dept-modal__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 260px;
}

.dept-modal__header-photo {
  overflow: hidden;
  border-radius: 15px 0 0 0;
}

.dept-modal__header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dept-modal__header-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 35px;
  background: #f8f9fc;
  border-radius: 0 15px 0 0;
}

.dept-modal__belongs {
  font-size: 13px;
  font-weight: 500;
  color: #2B46A2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.dept-modal__belongs--dkc {
  color: #D32821;
}

.dept-modal__title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.dept-modal__content,
.news-modal__content {
  padding: 30px 40px 40px;
}

.dept-modal__notice {
  background: #FFF3CD;
  border-left: 4px solid #FFC107;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-size: 15px;
  color: #856404;
}

.dept-modal__hr {
  border: none;
  border-top: 2px solid #f0f2f5;
  margin: 20px 0;
}

.dept-modal__section-body {
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a2e;
}

.dept-modal__section-body p,
.dept-modal__section-body div {
  margin: 0 0 8px;
  font-size: inherit;
  font-weight: inherit;
}

.dept-modal__section-body b,
.dept-modal__section-body strong {
  color: #2B46A2;
  font-weight: 600;
}

.dept-modal__section-body .p1,
.dept-modal__section-body .p2,
.dept-modal__section-body [style] {
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Personalities — centered */
.dept-modal__personalities {
  text-align: center;
}

/* Modal 2-column: hours + contact */
.dept-modal__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Modal Gallery — 4:5 aspect ratio */
.dept-modal__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.dept-modal__gallery-item {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dept-modal__gallery-item:hover {
  opacity: 0.8;
}

.dept-modal__gallery-item:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.dept-modal__gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal Lightbox */
.dept-modal__lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dept-modal__lightbox--active {
  opacity: 1;
  visibility: visible;
}

.dept-modal__lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
}

.dept-modal__lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.dept-modal__lightbox-prev,
.dept-modal__lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 60px;
  cursor: pointer;
  padding: 20px;
}

.dept-modal__lightbox-prev { left: 10px; }
.dept-modal__lightbox-next { right: 10px; }

.dept-modal__lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 15px;
}

/* =========================================================
   News Listing — Full page grid
   ========================================================= */
.news-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.news-listing__card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-listing__card:hover,
.news-listing__card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 6px 6px 18px rgba(0,0,0,0.15);
}

.news-listing__card:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.news-listing__card-img-wrap {
  height: 200px;
  overflow: hidden;
  background: #f0f2f5;
}

.news-listing__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-listing__card-body {
  padding: 18px 20px;
}

.news-listing__card-date {
  font-size: 13px;
  color: #767676;
  display: block;
  margin-bottom: 6px;
}

.news-listing__card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.3;
}

.news-listing__card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.news-pagination__btn {
  width: 40px;
  height: 40px;
  border: 2px solid #2B46A2;
  background: #fff;
  color: #2B46A2;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.news-pagination__btn:hover {
  background: #2B46A2;
  color: #fff;
}

.news-pagination__btn--active {
  background: #2B46A2;
  color: #fff;
}

.news-pagination__btn:focus-visible {
  outline: 3px solid #D32821;
  outline-offset: 2px;
}

/* News modal content */
.news-modal__loading {
  text-align: center;
  padding: 60px;
  color: #767676;
}

.news-modal__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.news-modal__date {
  font-size: 14px;
  color: #767676;
}

.news-modal__category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  background: #D32821;
  color: #fff;
}

.news-modal__body {
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a2e;
}

.news-modal__body p {
  margin: 0 0 16px;
}

.news-modal__body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* =========================================================
   Responsive — Departments + News
   ========================================================= */
@media (max-width: 921px) {
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__grid--listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .dept-card__title { font-size: 24px; }
  .dept-card__body { padding: 15px; }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons__btn {
    justify-content: center;
  }

  .news__grid--listing {
    grid-template-columns: 1fr;
  }

  .jobs-listing {
    grid-template-columns: 1fr;
  }

  .dept-modal-overlay,
  .news-modal-overlay {
    padding: 10px;
    align-items: flex-start;
  }

  .dept-modal,
  .news-modal {
    max-height: calc(100vh - 20px);
    border-radius: 10px;
  }

  .dept-modal__content,
  .news-modal__content {
    padding: 20px;
  }

  .dept-modal__header {
    grid-template-columns: 1fr;
  }

  .dept-modal__header-photo {
    height: 200px;
    border-radius: 10px 10px 0 0;
  }

  .dept-modal__header-info {
    padding: 20px;
    border-radius: 0;
  }

  .dept-modal__title {
    font-size: 22px;
  }

  .dept-modal__two-col {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .dept-modal__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (prefers-reduced-motion: reduce) {
  .dept-modal,
  .news-modal {
    animation: none;
  }
}

/* =========================================================
   DOCUMENT GRID — zmluvy, výročné správy, publikácie
   ========================================================= */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.doc-grid--2col { grid-template-columns: repeat(2, 1fr); }
.doc-grid--3col { grid-template-columns: repeat(3, 1fr); }
.doc-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* Financial documents 3-column layout */
.financial-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.financial-cols__item {
  min-width: 0;
}
.financial-cols__title,
.page-content .financial-cols__title {
  font-size: 22px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  margin: 0 0 20px;
  text-align: center;
}
.financial-cols__title--blue {
  background: linear-gradient(135deg, #1858A0, #2B46A2);
}
.financial-cols__title--red {
  background: linear-gradient(135deg, #D6261C, #9D1810);
}
.financial-cols__item .btn--download {
  display: flex;
  width: 100%;
  font-size: 13px;
  padding: 8px 14px;
}
.financial-cols__item .doc-grid--2col {
  grid-template-columns: 1fr 1fr;
}
.financial-cols__item .file-list__month {
  font-size: 14px;
  margin: 10px 0 6px;
  color: #666;
}
.financial-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  transition: box-shadow .3s;
}
.financial-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.financial-card__year {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1858A0, #2B46A2);
  border-radius: 8px;
  padding: 7px 15px;
  margin: 0 0 12px;
  text-align: center;
}
.financial-files {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 921px) {
  .financial-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .financial-cols__item .doc-grid--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a2e;
  transition: transform .2s, box-shadow .2s;
  font-size: 14px;
  line-height: 1.5;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  color: #2B46A2;
}

.doc-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.doc-card__icon--pdf { color: #D32821; }
.doc-card__icon--xls { color: #217346; }
.doc-card__icon--doc { color: #2B46A2; }

.doc-card__title {
  font-weight: 500;
  font-size: 14px;
}

.doc-card__meta {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* File download button with icon */
.btn--download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  color: #1a1a2e;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s;
  margin: 5px 0;
}

.btn--download:hover {
  border-color: #2B46A2;
  color: #2B46A2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43,70,162,.15);
}

.btn--download svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn--download--pdf svg { color: #D32821; }
.btn--download--xls svg { color: #217346; }
.btn--download .doc-card__meta,
.btn--download .btn--download__info {
  font-size: 0.8em;
  opacity: 0.65;
  font-weight: 400;
}

.doc-grid .btn--download {
  display: flex;
  text-align: center;
  justify-content: center;
  margin: 0;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

/* Gallery thumbnail grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 25px 0;
}

.gallery-grid__item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform .2s;
}

.gallery-grid__item:hover {
  transform: scale(1.03);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abbreviation grid — 3 columns */
.abbr-grid {
  column-count: 3;
  column-gap: 30px;
  margin: 20px 0 30px;
}
.abbr-grid__item {
  break-inside: avoid;
  padding: 4px 0;
  line-height: 1.5;
  font-size: 14px;
  border-bottom: 1px solid #f0f2f5;
}
.abbr-grid__abbr {
  font-weight: 700;
  color: #2B46A2;
  margin-right: 6px;
}
.abbr-grid__desc {
  color: #1a1a2e;
}
@media (max-width: 921px) {
  .abbr-grid { column-count: 2; }
}
@media (max-width: 767px) {
  .abbr-grid { column-count: 1; }
}

/* Survey/info card */
.survey-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.survey-card__logo {
  max-width: 200px;
  margin: 0 auto 20px;
}

.survey-card__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

/* Divider */
.page-content__divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 40px 0;
}

/* File download list (monthly documents) */
.file-list {
  margin: 15px 0;
}

.file-list__month {
  font-weight: 600;
  font-size: 16px;
  color: #1a1a2e;
  margin-top: 15px;
  margin-bottom: 8px;
}

.file-list__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Contact Hero (centered logo + title + buttons) */
.contact-hero {
  text-align: center;
  margin-bottom: 30px;
}

.contact-hero__img {
  width: 20%;
  height: auto;
  margin: 0 auto 15px;
  display: block;
  border-radius: 15px;
}

.contact-hero h2 {
  text-align: center;
}

@media (max-width: 767px) {
  .contact-hero__img {
    width: 60%;
  }
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
  justify-content: center;
}

.contact-buttons__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #2B46A2;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.contact-buttons__btn:hover {
  background: #1e3380;
  color: #fff;
}

.contact-buttons__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Contact Form Wrap (centered) */
.contact-form-wrap {
  text-align: center;
  margin-top: 40px;
}

.contact-form-wrap .contact-form {
  margin: 0 auto;
  text-align: left;
}

/* Contact Listing Grid */
.dept-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.dept-contact-grid--single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 30px auto;
}

.dept-contact-grid:has(.dept-contact-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 30px auto;
}

.dept-contact-card {
  text-align: center;
  padding: 20px 15px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s;
}

.dept-contact-card:hover {
  background: #f8f9fc;
}

.dept-contact-card:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.dept-contact-card__name {
  font-size: 16px;
  font-weight: 800;
  color: #A02121;
  margin: 0 0 8px;
  line-height: 1.3;
}
.dept-contact-card__dkc {
  font-size: 12px;
  font-weight: 500;
  color: #D32821;
  letter-spacing: 0.3px;
}

.dept-contact-card__info,
.dept-contact-card__info p,
.dept-contact-card__info div,
.dept-contact-card__info span,
.dept-contact-card__info strong,
.dept-contact-card__info b {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1a1a2e !important;
  line-height: 1.6;
  margin: 0;
}

.dept-contact-card__info a {
  color: #2B46A2 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none;
}

.dept-contact-card__info a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .dept-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dept-contact-card {
    padding: 12px 8px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .dept-contact-card__name {
    font-size: 14px;
  }
  .dept-contact-card__info,
  .dept-contact-card__info p,
  .dept-contact-card__info div,
  .dept-contact-card__info span {
    font-size: 13px !important;
  }
  .dept-contact-card__info a {
    word-break: break-all;
  }
}

/* Full detail department cards */
.dept-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0;
}
@media (max-width: 767px) {
  .dept-full-grid {
    grid-template-columns: 1fr;
  }
}

.dept-full-card {
  border: 1px solid #e8ecf5;
  border-radius: 15px;
  overflow: hidden;
}

.dept-full-card__header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.dept-full-card__belongs {
  font-size: 12px;
  font-weight: 600;
  color: #2B46A2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dept-full-card__belongs--dkc {
  color: #D32821;
}

.dept-full-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 4px 0 0;
}

.dept-full-card__body {
  padding: 16px 24px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.dept-full-card__body p {
  margin: 0 0 8px;
}

.dept-full-card__section {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.dept-full-card__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 12px;
}

.dept-full-card__col a {
  color: #2B46A2;
  text-decoration: none;
}

.dept-full-card__col a:hover {
  text-decoration: underline;
}

.dept-full-card__gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.dept-full-card__gallery-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.dept-full-card__gallery-img:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .dept-full-card__two-col {
    grid-template-columns: 1fr;
  }
  .dept-full-card__body {
    padding: 12px 16px 16px;
  }
  .dept-full-card__header {
    padding: 16px;
  }
}

/* Department Page (inline modal-like content) */
.dept-page__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 220px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 25px;
}
.dept-page__header-photo {
  overflow: hidden;
}
.dept-page__header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dept-page__header-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 35px;
  background: #f8f9fc;
}
.dept-page__title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}
.dept-page__section {
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a2e;
}
.dept-page__section p,
.dept-page__section div {
  margin: 0 0 8px;
}
.dept-page__section b,
.dept-page__section strong {
  color: #2B46A2;
  font-weight: 600;
}
.dept-page__section video {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.dept-page__hr {
  border: none;
  border-top: 2px solid #f0f2f5;
  margin: 20px 0;
}
.dept-page__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  font-size: 15px;
  line-height: 1.7;
}
.dept-page__col b,
.dept-page__col strong {
  color: #2B46A2;
  font-weight: 600;
}
.dept-page__col p {
  margin: 0 0 8px;
}
.dept-page__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.dept-page__gallery-item {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.dept-page__gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.dept-page__gallery-item:hover .dept-page__gallery-img {
  transform: scale(1.05);
}
@media (max-width: 921px) {
  .dept-page__header { grid-template-columns: 1fr; min-height: auto; }
  .dept-page__header-photo { max-height: 200px; }
  .dept-page__two-col { grid-template-columns: 1fr; gap: 15px; }
  .dept-page__gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .dept-page__gallery { grid-template-columns: repeat(2, 1fr); }
  .dept-page__header-info { padding: 20px; }
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 30px 0;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #767676;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #2B46A2;
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
}

.contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Contact info card */
.contact-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
}

.contact-card__name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.contact-card__role {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.contact-card__detail {
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.8;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid--3col,
  .doc-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 25px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .doc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   NuschLETTERs GRID
   ========================================================= */
.nl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.nl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaf0;
  transition: transform .2s, box-shadow .2s;
}

.nl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.nl-card__date {
  display: block;
  padding: 14px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2B46A2;
  text-transform: capitalize;
}

.nl-card__cover {
  padding: 0 16px;
}

.nl-card__cover img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.nl-card__desc {
  padding: 10px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  flex: 1;
}

.nl-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 10px 18px;
  background: #D32821;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.nl-card__btn:hover {
  background: #9D1810;
  color: #fff;
}

.nl-card__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nl-archive__title {
  margin: 40px 0 16px;
  font-size: 20px;
  color: #1a1a2e;
}

.nl-card__btn-info {
  font-weight: 400;
  font-size: 11px;
  opacity: .8;
}

.nl-archive {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 921px) {
  .nl-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .nl-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* =========================================================
   SEMINAR CARDS
   ========================================================= */
.seminar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.seminar-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #e8eaf0;
  transition: transform .2s, box-shadow .2s;
}

.seminar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.seminar-card__header {
  background: linear-gradient(135deg, #2B46A2, #1a1a2e);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.seminar-card__cat {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
}

.seminar-card__type {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.seminar-card__body {
  padding: 20px;
}

.seminar-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.3;
}

.seminar-card__content {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.seminar-card__content ul {
  padding-left: 18px;
}

.seminar-card__content li {
  margin-bottom: 6px;
}

.seminar-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #f0f2f5;
}

.seminar-card__date,
.seminar-card__time,
.seminar-card__location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.seminar-card__date {
  font-weight: 600;
  color: #2B46A2;
}

.seminar-card__date svg,
.seminar-card__time svg,
.seminar-card__location svg {
  flex-shrink: 0;
  color: #2B46A2;
}

.seminar-empty {
  text-align: center;
  padding: 40px 20px;
  color: #595959;
  font-size: 16px;
}

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

/* =========================================================
   FLIPBOOK VIEWER
   ========================================================= */
.flipbook {
  margin-top: 10px;
}

.flipbook__viewer {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.flipbook__page {
  flex: 1;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.flipbook__img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.flipbook__arrow {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #2B46A2;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  line-height: 1;
}

.flipbook__arrow:hover:not(:disabled) {
  background: #1a1a2e;
  transform: scale(1.1);
}

.flipbook__arrow:disabled {
  background: #ccc;
  cursor: default;
}

.flipbook__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 18px 0 12px;
}

.flipbook__counter {
  font-size: 16px;
  font-weight: 600;
  color: #2B46A2;
  min-width: 80px;
  text-align: center;
}

.flipbook__btn {
  width: 36px;
  height: 36px;
  border: 2px solid #2B46A2;
  border-radius: 8px;
  background: #fff;
  color: #2B46A2;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  line-height: 1;
}

.flipbook__btn:hover {
  background: #2B46A2;
  color: #fff;
}

.flipbook__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.flipbook__thumbs::-webkit-scrollbar {
  height: 6px;
}

.flipbook__thumbs::-webkit-scrollbar-track {
  background: #f0f2f5;
  border-radius: 3px;
}

.flipbook__thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.flipbook__thumb {
  flex-shrink: 0;
  width: 60px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #f8f9fa;
  cursor: pointer;
  padding: 3px;
  transition: border-color .2s;
  text-align: center;
}

.flipbook__thumb img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.flipbook__thumb span {
  font-size: 10px;
  color: #595959;
  margin-top: 2px;
  display: block;
}

.flipbook__thumb--active {
  border-color: #2B46A2;
}

.flipbook__thumb:hover {
  border-color: #D32821;
}

@media (max-width: 767px) {
  .flipbook__arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .flipbook__viewer { gap: 6px; }
  .flipbook__page { min-height: 250px; }
  .flipbook__thumb { width: 48px; }
}

/* =========================================================
   PERSON CARDS — predstavitelia, námestníci
   ========================================================= */
.person-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 25px 0 40px;
}

.person-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
  padding-bottom: 20px;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.person-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.person-card__body {
  padding: 15px 18px 0;
}

.person-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.person-card__role {
  font-size: 13px;
  font-weight: 600;
  color: #2B46A2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.person-card__detail {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.person-card__detail strong {
  color: #1a1a2e;
}

.person-grid--4col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
  .person-grid,
  .person-grid--4col { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .person-card__name { font-size: 14px; }
  .person-card__role { font-size: 11px; }
}

@media (max-width: 480px) {
  .person-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* =========================================================
   DKC Orientačný plán — page-specific layout
   ========================================================= */
.dkc-plan__images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 0 40px;
}
.dkc-plan__images img {
  border-radius: 15px;
  object-fit: cover;
}
.dkc-plan__images img:nth-child(1),
.dkc-plan__images img:nth-child(3) {
  width: 38%;
  max-height: 280px;
}
.dkc-plan__images img:nth-child(2) {
  width: 12%;
  max-height: 160px;
  border-radius: 0;
}

.dkc-plan__info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
.dkc-plan__info-box {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 24px 28px;
  border-left: 4px solid #2B46A2;
}
.dkc-plan__info-box h3 {
  color: #2B46A2;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.dkc-plan__info-box p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.dkc-plan__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.dkc-plan__contact-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 20px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dkc-plan__contact-card:hover {
  border-color: #2B46A2;
  box-shadow: 0 4px 16px rgba(43,70,162,0.1);
}
.dkc-plan__contact-card h3 {
  color: #2B46A2;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.dkc-plan__contact-card h3 a {
  color: inherit;
  text-decoration: none;
}
.dkc-plan__contact-card h3 a:hover {
  text-decoration: underline;
}
.dkc-plan__contact-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}
.dkc-plan__contact-card p a {
  color: #D32821;
  font-weight: 500;
  text-decoration: none;
}
.dkc-plan__contact-card p a:hover {
  text-decoration: underline;
}

.dkc-plan__departments {
  background: #2B46A2;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
}
.dkc-plan__departments h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}
.dkc-plan__dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.dkc-plan__dept-card {
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}
.dkc-plan__dept-card:hover {
  background: rgba(255,255,255,0.2);
}
.dkc-plan__dept-card h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.dkc-plan__dept-card h3 a {
  color: #fff;
  text-decoration: none;
}
.dkc-plan__dept-card h3 a:hover {
  text-decoration: underline;
}
.dkc-plan__dept-card p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.6;
}
.dkc-plan__dept-card p a {
  color: #ffd;
  text-decoration: none;
  font-weight: 500;
}
.dkc-plan__dept-card p a:hover {
  text-decoration: underline;
}

.dkc-plan__video-section {
  text-align: center;
  margin-bottom: 30px;
}
.dkc-plan__video-section h2 {
  color: #2B46A2;
  margin-bottom: 24px;
}

@media (max-width: 921px) {
  .dkc-plan__dept-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .dkc-plan__images {
    flex-direction: column;
    gap: 16px;
  }
  .dkc-plan__images img:nth-child(1),
  .dkc-plan__images img:nth-child(2),
  .dkc-plan__images img:nth-child(3) {
    width: 100%;
    max-height: none;
  }
  .dkc-plan__info-row,
  .dkc-plan__contacts { grid-template-columns: 1fr; }
  .dkc-plan__dept-grid { grid-template-columns: 1fr; }
  .dkc-plan__departments { padding: 24px 16px; }
}

/* ========== Work page (Ako sa u nás pracuje) ========== */
.work-page__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.work-page__col h2 {
  font-size: 20px;
  color: #2B46A2;
  margin-bottom: 14px;
}
.work-page__col h3 {
  font-size: 17px;
  color: #2B46A2;
  margin: 18px 0 8px;
}
.work-page__col p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}
.work-page__col ul,
.work-page__col ol {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  padding-left: 20px;
  margin-bottom: 10px;
}
.work-page__col--videos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-page__col--videos .page-content__video-wrap {
  margin: 0;
}
.work-page__vertical-video {
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  background: #000;
}
.work-page__two-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.work-page__two-videos .page-content__video-wrap {
  margin: 0;
}
.work-page__heading,
.page-content .work-page__heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  margin: 40px 0 24px;
}
.work-page__heading--blue {
  background: linear-gradient(135deg, #1858A0, #2B46A2);
}
.work-page__heading--red {
  background: linear-gradient(135deg, #D6261C, #9D1810);
}
.work-page__qr-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 20px 0 10px;
}
.work-page__qr-item {
  text-align: center;
  max-width: 220px;
}
.work-page__qr-item img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 auto 12px;
}
.work-page__qr-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #2B46A2;
  text-decoration: none;
  padding: 8px 24px;
  border: 2px solid #2B46A2;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.work-page__qr-label:hover {
  background: #2B46A2;
  color: #fff;
}
@media (max-width: 921px) {
  .work-page__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .work-page__two-videos {
    grid-template-columns: 1fr;
  }
}

/* ========== Hiring steps (pohovor) ========== */
.hiring-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.hiring-steps__item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f4f6fb;
  border-radius: 15px;
  padding: 20px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hiring-steps__item:hover {
  box-shadow: 0 4px 16px rgba(43,70,162,0.12);
  transform: translateY(-2px);
}
.hiring-steps__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #2B9EBF;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.hiring-steps__icon svg {
  width: 28px;
  height: 28px;
  stroke: #2B46A2;
}
.hiring-steps__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hiring-steps__text strong {
  font-size: 16px;
  font-weight: 700;
  color: #D32821;
}
.hiring-steps__text span {
  font-size: 14px;
  color: #555;
}
@media (max-width: 767px) {
  .hiring-steps {
    grid-template-columns: 1fr;
  }
}

/* ========== Stipendium table ========== */
.stipend-table-wrap {
  overflow-x: auto;
  margin-bottom: 36px;
}
.stipend-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.stipend-table th,
.stipend-table td {
  border: 1px solid #dde3f0;
  padding: 14px 18px;
  text-align: center;
  vertical-align: middle;
}
.stipend-table thead th {
  background: #2B46A2;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.stipend-table tbody td {
  background: #f8f9fc;
  color: #1a1a2e;
  line-height: 1.5;
}
.stipend-table tbody td:first-child {
  text-align: left;
}
@media (max-width: 767px) {
  .stipend-table th,
  .stipend-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ========== Benefits grid (Čo Ti ponúkame) ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.benefits-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: #f4f6fb;
  border-radius: 15px;
  padding: 24px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefits-grid__item:hover {
  box-shadow: 0 4px 16px rgba(43,70,162,0.12);
  transform: translateY(-2px);
}
.benefits-grid__item strong {
  font-size: 15px;
  font-weight: 700;
  color: #D32821;
  line-height: 1.3;
}
.benefits-grid__item span {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
@media (max-width: 921px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .benefits-grid__item { padding: 16px 10px; }
  .benefits-grid__item strong { font-size: 13px; }
  .benefits-grid__item span { font-size: 12px; }
}

/* ========== NUSCH orientation plan ========== */
.nusch-plan__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 40px;
}
.nusch-plan__images img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  max-height: 300px;
}

.nusch-plan__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.nusch-plan__info-box {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 24px 28px;
  border-left: 4px solid #2B46A2;
}
.nusch-plan__info-box h3 {
  color: #2B46A2;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.nusch-plan__info-box p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.nusch-plan__contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.nusch-plan__contact-card {
  background: #2B46A2;
  border-radius: 15px;
  padding: 22px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nusch-plan__contact-card:hover {
  box-shadow: 0 6px 20px rgba(43,70,162,0.25);
  transform: translateY(-2px);
}
.nusch-plan__contact-card h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.nusch-plan__contact-card h3 a {
  color: #fff;
  text-decoration: none;
}
.nusch-plan__contact-card h3 a:hover {
  text-decoration: underline;
}
.nusch-plan__contact-card p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
}
.nusch-plan__contact-card p a {
  color: #ffd;
  font-weight: 500;
  text-decoration: none;
}
.nusch-plan__contact-card p a:hover {
  text-decoration: underline;
}

.nusch-plan__video-section h2 {
  color: #2B46A2;
  text-align: center;
  margin-bottom: 28px;
}
.nusch-plan__video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.nusch-plan__video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.nusch-plan__video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.nusch-plan__video-card:hover img {
  opacity: 0.75;
}
.nusch-plan__video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(211,40,33,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s, transform 0.2s;
}
.nusch-plan__video-card:hover .nusch-plan__video-card__play {
  background: rgba(211,40,33,1);
  transform: translate(-50%, -50%) scale(1.1);
}
.nusch-plan__video-card__play svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  margin-left: 3px;
}
.nusch-plan__video-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* NUSCH plan video modal */
.nusch-plan__video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.nusch-plan__video-modal--active {
  display: flex;
}
.nusch-plan__video-modal video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
}
.nusch-plan__video-modal__close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}
.nusch-plan__video-modal__close:hover {
  color: #D32821;
}

@media (max-width: 921px) {
  .nusch-plan__contacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .nusch-plan__images { grid-template-columns: 1fr; }
  .nusch-plan__info-grid { grid-template-columns: 1fr; }
  .nusch-plan__contacts { grid-template-columns: 1fr; }
  .nusch-plan__video-grid { grid-template-columns: 1fr; }
  .nusch-plan__video-modal { padding: 16px; }
}

/* =========================================================
   Mobile Menu Overlay
   ========================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 0;
}

.mobile-menu--open {
  transform: translateX(0);
}

body.mobile-menu-active {
  overflow: hidden;
}

/* Close button */
.mobile-menu__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: #D32821;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close:hover {
  background: #9D1810;
}

/* Header area */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu__logo {
  height: 44px;
}

/* Tagline */
.mobile-menu__tagline {
  padding: 8px 20px;
  font-size: 13px;
  color: #2B46A2;
  font-weight: 500;
  text-align: center;
}

/* Search */
.mobile-menu__search {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px 12px;
  gap: 0;
  position: relative;
}

.mobile-menu__search input {
  flex: 1;
  border: 2px solid #767676;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
}

.mobile-menu__search input:focus {
  border-color: #2B46A2;
  outline: 2px solid #2B46A2;
  outline-offset: -1px;
}

.mobile-menu__search button {
  background: #2B46A2;
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mobile-menu__search button svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

/* Divider */
.mobile-menu__divider {
  height: 3px;
  margin: 0 20px;
  background: linear-gradient(90deg, #D6261C, #9D1810);
  border-radius: 2px;
}

/* Pill buttons (Pre pacientov + Pre zdravotníkov) */
.mobile-menu__red-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  justify-content: center;
  position: relative;
}

.mobile-menu__pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
}

.mobile-menu__pill-btn--blue {
  background: linear-gradient(135deg, #1858A0, #2B46A2);
}

.mobile-menu__pill-btn--blue:hover,
.mobile-menu__pill-btn--blue.open {
  background: linear-gradient(135deg, #2B46A2, #1a3580);
}

.mobile-menu__pill-btn--red {
  background: linear-gradient(135deg, #D6261C, #9D1810);
}

.mobile-menu__pill-btn--red:hover,
.mobile-menu__pill-btn--red.open {
  background: linear-gradient(135deg, #9D1810, #7a1410);
}
.mobile-menu__pill-btn:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: 2px;
}

.mobile-menu__pill-btn .mobile-menu__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 10px;
}

.mobile-menu__pill-btn.open .mobile-menu__arrow {
  transform: rotate(180deg);
}

/* Pill button submenu (overlay) */
.mobile-menu__red-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 10;
  max-height: 50vh;
  overflow-y: auto;
  padding: 6px 0;
}

.mobile-menu__red-sub.open {
  display: block;
}

.mobile-menu__red-sub a {
  display: block;
  padding: 10px 20px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-menu__red-sub a:last-child {
  border-bottom: none;
}

.mobile-menu__red-sub a:hover {
  background: #f0f4ff;
  color: #2B46A2;
}

/* Nav items */
.mobile-menu__nav {
  padding: 4px 0;
}

.mobile-menu__item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

a.mobile-menu__item-btn {
  display: block;
}

.mobile-menu__item-btn:hover {
  color: #D32821;
}
.mobile-menu__item-btn:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: -2px;
}

.mobile-menu__item-btn .mobile-menu__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 10px;
  color: #767676;
}

.mobile-menu__item.open > .mobile-menu__item-btn .mobile-menu__arrow {
  transform: rotate(180deg);
  color: #D32821;
}

/* Submenu (level 2) */
.mobile-menu__sub {
  display: none;
  padding: 0 0 8px 20px;
}

.mobile-menu__item.open > .mobile-menu__sub {
  display: block;
}

.mobile-menu__sub a {
  display: block;
  padding: 8px 20px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 14px;
}

.mobile-menu__sub a:hover {
  color: #D32821;
}

/* Level 3 — nested sub-items */
.mobile-menu__sub-item {
  position: relative;
}

.mobile-menu__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  font-family: 'Roboto', sans-serif;
}
.mobile-menu__sub-toggle:focus-visible {
  outline: 3px solid #2B46A2;
  outline-offset: -2px;
  cursor: pointer;
  text-align: left;
}

.mobile-menu__sub-toggle:hover {
  color: #D32821;
}

.mobile-menu__sub-toggle .mobile-menu__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 9px;
  color: #767676;
}

.mobile-menu__sub-item.open > .mobile-menu__sub-toggle .mobile-menu__arrow {
  transform: rotate(180deg);
  color: #D32821;
}

.mobile-menu__sub-sub {
  display: none;
  padding-left: 16px;
}

.mobile-menu__sub-item.open > .mobile-menu__sub-sub {
  display: block;
}

.mobile-menu__sub-sub a {
  font-size: 13px;
  padding: 6px 20px;
  color: #666;
}

/* Label (non-clickable category) */
.mobile-menu__label {
  display: block;
  padding: 8px 20px 2px;
  font-size: 11px;
  font-weight: 600;
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* File info */
.mobile-menu .header__file-info {
  font-size: 12px;
  color: #767676;
}

/* Direct links (no dropdown) */
.mobile-menu__links {
  padding: 8px 0;
}

.mobile-menu__links a {
  display: block;
  padding: 12px 20px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__links a:hover {
  color: #D32821;
}

/* Footer area */
.mobile-menu__footer {
  padding: 12px 20px 30px;
  text-align: center;
}

.mobile-menu__hours {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  padding-bottom: 12px;
  text-align: center;
}

.mobile-menu__socials {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #1a1a2e;
}

.mobile-menu__socials a:hover {
  color: #D32821;
}

.mobile-menu__socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

/* Active link in mobile menu */
.mobile-menu__active {
  color: #2B46A2 !important;
  font-weight: 600;
  position: relative;
}

.mobile-menu__active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: #2B46A2;
  border-radius: 2px;
}

.mobile-menu__red-sub .mobile-menu__active::before {
  left: -8px;
}

button.mobile-menu__active {
  color: #2B46A2 !important;
}

button.mobile-menu__active .mobile-menu__arrow {
  color: #2B46A2 !important;
}

/* Autocomplete suggest */
.mobile-menu__suggest {
  display: none;
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #767676;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}

.mobile-menu__suggest-item {
  display: block;
  padding: 10px 16px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__suggest-item:last-child {
  border-bottom: none;
}

.mobile-menu__suggest-item:hover,
.mobile-menu__suggest-item.active {
  background: #f0f4ff;
  color: #2B46A2;
}

/* =========================================================
   Touch devices — eliminate 300ms tap delay + double-tap
   ========================================================= */
a,
button,
input,
select,
textarea,
[role="button"],
.header__hamburger,
.footer__cert,
.info-card,
.news__card,
/* Lightbox images need custom touch handling for drag/swipe */
.lightbox__img,
.article-lightbox__img,
.dept-modal__lightbox-img {
  touch-action: pan-y pinch-zoom;
}

/* === Search Modal === */
.search-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search-modal--open { opacity: 1; visibility: visible; }
.search-modal__box {
  width: 90%; max-width: 600px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}
.search-modal--open .search-modal__box { transform: translateY(0); }
.search-modal__header {
  display: flex; align-items: center;
  border-bottom: 1px solid #e8eaf0;
  padding: 4px;
}
.search-modal__input {
  flex: 1; border: none; outline: none;
  padding: 16px 20px; font-size: 17px;
  font-family: inherit; color: #1a1a2e;
  background: transparent;
}
.search-modal__input::placeholder { color: #999; }
.search-modal__close {
  width: 44px; height: 44px; border: none; background: none;
  font-size: 24px; color: #666; cursor: pointer;
  border-radius: 10px; margin-right: 4px;
}
.search-modal__close:hover { background: #f0f2f5; color: #1a1a2e; }
.search-modal__results {
  max-height: 50vh; overflow-y: auto;
  padding: 0;
}
.search-modal__empty {
  padding: 24px; text-align: center;
  color: #888; font-size: 15px;
}
.search-modal__group { padding: 8px 0; }
.search-modal__group-label {
  padding: 6px 20px; font-size: 11px;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: #2B46A2;
}
.search-modal__item {
  display: block; padding: 10px 20px;
  text-decoration: none; color: #1a1a2e;
  transition: background 0.15s;
}
.search-modal__item:hover,
.search-modal__item:focus-visible {
  background: #f0f4ff;
}
.search-modal__item-title {
  display: block; font-size: 15px; font-weight: 500;
}
.search-modal__item-excerpt {
  display: block; font-size: 13px; color: #666;
  margin-top: 2px;
}
@media (max-width: 767px) {
  .search-modal { padding-top: 5vh; }
  .search-modal__box { width: 95%; }
}

