/* ============================================================
   KurzymRC — Main Stylesheet
   Fonts: Fraunces (headings) + Manrope (body)
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:          #0F2244;
  --navy-light:    #1A3460;
  --navy-xlight:   #EEF2F8;
  --orange:        #E0531A;
  --orange-hover:  #C44615;
  --blue:          #4B7BBF;
  --white:         #FFFFFF;
  --off-white:     #F4F6F8;
  --gray-100:      #E8EDF2;
  --gray-300:      #9CA3AF;
  --gray-600:      #4B5563;
  --gray-800:      #1F2937;
  --font-heading:  'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:     'Manrope', system-ui, -apple-system, sans-serif;
  --max-w:         1200px;
  --max-w-text:    720px;
  --r:             8px;
  --r-lg:          16px;
  --r-xl:          24px;
  --shadow-sm:     0 1px 4px rgba(15,34,68,.07);
  --shadow-md:     0 4px 16px rgba(15,34,68,.10);
  --shadow-lg:     0 8px 32px rgba(15,34,68,.15);
  --transition:    .2s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--orange-hover); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--r) var(--r);
  font-size: .9rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad     { padding: 5rem 0; }
.section-pad--sm { padding: 3rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.65rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform .15s ease, box-shadow .15s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(224,83,26,.25);
}
.btn--primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(224,83,26,.3);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  color: var(--white);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: rgba(255,255,255,.92);
  color: var(--orange-hover);
}

/* ── Section headings ── */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.section-head h2 { margin-bottom: .75rem; }
.section-head p {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}


/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow .3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: .25rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.nav__logo-mark {
  width: 40px; height: 40px;
  background: var(--orange);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.nav__logo-mark:hover { transform: scale(1.05); }
.nav__logo-mark svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__logo-mark--sm { width: 32px; height: 32px; }
.nav__logo-mark--sm svg { width: 18px; height: 18px; }

.nav__logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  min-width: 0;
  overflow-wrap: break-word;
}
.nav__logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .65;
  margin-top: 4px;
}
/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
}
.nav__links li a,
.nav__link {
  display: block;
  padding: .45rem .7rem;
  font-size: .87rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav__links li a:hover,
.nav__link:hover {
  color: var(--navy);
  background: var(--off-white);
}

.nav__cta { margin-left: .75rem; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--r);
  margin-left: .75rem;
  transition: background var(--transition);
}
.nav__hamburger:hover { background: var(--off-white); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s ease;
}

/* Mobile nav */
.nav__mobile {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
  border-top: 2px solid var(--orange);
  display: none;
}
.nav__mobile:not([hidden]) { display: block; }
.nav__mobile a {
  display: block;
  padding: .7rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a:hover { color: var(--orange); padding-left: .5rem; }
.nav__mobile-sub {
  padding-left: 1rem !important;
  font-size: .88rem !important;
  color: var(--gray-600) !important;
}
.nav__mobile-sub--all {
  font-weight: 600 !important;
  color: var(--orange) !important;
}

.nav__mobile-accordion {
  border-bottom: 1px solid var(--gray-100);
}
.nav__mobile-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
}
.nav__mobile-accordion summary::-webkit-details-marker { display: none; }
.nav__mobile-accordion summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform .2s ease;
}
.nav__mobile-accordion[open] summary::after { transform: rotate(45deg); }
.nav__mobile-accordion[open] summary { color: var(--orange); }
.nav__mobile-accordion-body {
  display: flex;
  flex-direction: column;
  padding-bottom: .4rem;
}
.nav__mobile-accordion-body a:last-of-type { border-bottom: none; }

.nav__mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
  border-bottom: none;
}
.nav__mobile a.btn--primary,
.nav__mobile a.btn--primary:hover {
  color: var(--white);
  padding: .72rem 1.65rem;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-mountains.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: .7;
  transform: scale(1.04);
  transition: transform 7s ease, opacity .5s ease;
}
/* Replace with an actual mountain photo from kurzymrc.sk — see assets/images/README.txt */
.hero.loaded .hero__bg { transform: scale(1); opacity: .8; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(15, 34, 68, 0.4) 0%,   /* Reduced from .93 */
    rgba(15, 34, 68, 0.3) 55%,  /* Reduced from .72 */
    rgba(15, 34, 68, 0.15) 100%  /* Reduced from .55 */
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  width: 100%;
}
.hero__inner { max-width: 660px; }

/* Legibility over the photo comes from the text shadow alone (no background panel). */
.hero h1,
.hero h1 em,
.hero__eyebrow,
.hero__sub {
  text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 1px 24px rgba(0, 0, 0, .5);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.07;
  margin-bottom: 1.25rem;
  letter-spacing: -.015em;
}
.hero h1 em {
  font-style: italic;
  color: #FFA07A;
  font-size: clamp(1.55rem, 7.2vw, 2.4rem);
  line-height: 1.2;
  display: inline-block;
  margin-top: 1rem;
}
.hero__sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.75);
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 510px;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.35);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll svg {
  width: 18px; height: 18px;
  stroke: rgba(255,255,255,.35);
  fill: none;
  stroke-width: 1.5;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--navy); }
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.trust-item span {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}


/* ============================================================
   COURSES
   ============================================================ */
.courses { background: var(--off-white); padding: 5rem 0; }
.course-category { margin-bottom: 4rem; }
.course-category:last-child { margin-bottom: 0; }

.category-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.category-head__badge {
  display: inline-block;
  padding: .3rem .95rem;
  border-radius: 20px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--mrc {
  background: rgba(224,83,26,.13);
  color: var(--orange);
}
.badge--pp {
  background: rgba(75,123,191,.13);
  color: var(--blue);
}
.divider {
  flex: 1;
  height: 1px;
  background: var(--gray-100);
  min-width: 20px;
}
.category-head__more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.category-head__more:hover { color: var(--orange); }

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.25rem;
}

/* Course card */
.course-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  color: inherit;
}
.course-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.course-card__thumb {
  position: relative;
  padding-bottom: 57%;
  overflow: hidden;
  background: var(--navy-xlight);
}
.course-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.course-card:hover .course-card__thumb img { transform: scale(1.05); }

.course-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-xlight);
  color: var(--navy);
  opacity: .25;
}
.course-card__thumb-placeholder svg {
  width: 44px; height: 44px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-card__badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .8rem;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  line-height: 1.4;
}
.course-card__badge--blue    { background: var(--blue); }
.course-card__badge--popular { background: #16A34A; }

.course-card__body {
  padding: 1.2rem 1.2rem 0;
  flex: 1;
}
.course-card__title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.22;
}
.course-card__desc {
  font-size: .86rem;
  color: var(--gray-600);
  line-height: 1.62;
  margin-bottom: .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .8rem;
}
.course-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .73rem;
  color: var(--gray-600);
  background: var(--off-white);
  padding: .22rem .6rem;
  border-radius: 5px;
  white-space: nowrap;
}
.course-meta-tag svg {
  width: 11px; height: 11px;
  flex-shrink: 0;
  stroke: var(--gray-600);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-card__footer {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
}
.course-card__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.course-card__price small {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-left: .1rem;
}
.course-card__cta {
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
  transition: gap var(--transition);
}
.course-card:hover .course-card__cta { gap: .45rem; }


/* ============================================================
   BLOG / NOVINKY (home.php, single.php)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  color: inherit;
}
.blog-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.blog-card__thumb {
  position: relative;
  padding-bottom: 56%;
  overflow: hidden;
  background: var(--navy-xlight);
}
.blog-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }

.blog-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-xlight);
  color: var(--navy);
  opacity: .25;
}
.blog-card__thumb-placeholder svg { width: 40px; height: 40px; }

.blog-card__badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .8rem;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  line-height: 1.4;
}

.blog-card__body {
  padding: 1.25rem 1.25rem 0;
  flex: 1;
}
.blog-card__date {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  margin: .4rem 0 .6rem;
  line-height: 1.28;
}
.blog-card__excerpt {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: .8rem;
}

.blog-card__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.blog-card__more {
  font-size: .84rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: gap var(--transition);
}
.blog-card:hover .blog-card__more { gap: .45rem; }

.blog-empty {
  text-align: center;
  color: var(--gray-600);
  padding: 3rem 1rem;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.blog-pagination a:hover {
  background: var(--off-white);
  border-color: var(--gray-300);
}
.blog-pagination span.current {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.blog-pagination .dots {
  border: none;
  background: none;
}

/* Single post */
.blog-post__inner { max-width: var(--max-w-text); margin: 0 auto; }
.blog-post__tags {
  max-width: var(--max-w-text);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.blog-post__tag {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  padding: .35rem .8rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.blog-post__tag:hover { background: var(--orange); color: var(--white); }
.blog-post__back { max-width: var(--max-w-text); margin: 2.5rem auto 0; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--orange);
  opacity: .12;
  pointer-events: none;
}

.stars {
  display: flex;
  gap: 1px;
  margin-bottom: .875rem;
}
.stars span {
  font-size: .9rem;
  color: #F59E0B;
  line-height: 1;
}

.testimonial-card__media {
  margin: 0 0 1.1rem;
  border-radius: var(--r);
  overflow: hidden;
  line-height: 0;
}
.testimonial-card__media-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
}
.testimonial-card__text {
  font-size: .93rem;
  line-height: 1.72;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-style: italic;
  border: none;
  padding: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.testimonial-card__role {
  font-size: .76rem;
  color: var(--gray-300);
  margin-top: .1rem;
}


/* ============================================================
   INSTRUCTORS
   ============================================================ */
.instructor-section { background: var(--navy); }

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.instructor-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition: background var(--transition), border-color var(--transition);
}
.instructor-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.instructor-card__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
/* Match the 60px avatar size on the homepage's compact cards — the base
   .instructor-card__photo rule (80px) is sized for the wider O nás cards. */
.instructor-card:not(.instructor-card--full) .instructor-card__photo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}
.instructor-card__name {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.instructor-card__role {
  font-size: .76rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}
.certs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  justify-content: center;
  margin-top: .75rem;
}
.cert-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 4px;
  background: rgba(224,83,26,.22);
  color: #FDBA8A;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--orange);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: .75rem;
}
.cta-section p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}


/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--navy);
  border-top: 2px solid var(--orange);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.19,1,.22,1);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta__text {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
}
.sticky-cta__text strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070E1C;
  color: rgba(255,255,255,.5);
  padding: 4rem 0 2rem;
  transition: padding-bottom .4s cubic-bezier(.19,1,.22,1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 320px; }
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand p {
  font-size: .84rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: .65rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: rgba(255,255,255,.65);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}
.footer-social a:hover svg { stroke: var(--white); }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-col a {
  font-size: .86rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-col a:hover { color: var(--white); }

.footer-contact a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-contact a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.footer-bottom a { color: rgba(255,255,255,.28); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ============================================================
   PAGE CONTENT (generic pages)
   ============================================================ */
.page-main {
  padding-top: 120px; /* clear fixed header */
}
.page-header { margin-bottom: 2rem; }
.page-title  { font-size: clamp(1.8rem, 4vw, 3rem); }

.wp-content p,
.wp-content li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray-800);
}
.wp-content p { margin: 0 0 1.25rem; }
.wp-content h2 { margin: 2.5rem 0 1rem; }
.wp-content h3 { margin: 2rem 0 .75rem; }
.wp-content ul, .wp-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }

/* Images / galleries — keep them from butting straight up against the next paragraph */
.wp-content img,
.wp-content figure,
.wp-content .wp-block-image,
.wp-content .wp-block-gallery {
  margin-top: 0;
  margin-bottom: 1.75rem;
}
.wp-content figure img { margin-bottom: 0; }
.wp-content > :last-child { margin-bottom: 0; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 990px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 480px) {
  /* Shrink the logo (icon + text) on small phones so the full brand
     name still shows, but never crowds out the hamburger button. */
  .nav__logo { gap: .65rem; }
  .nav__logo-img { height: 34px; }
  .nav__logo-text {
    font-size: 1.02rem;
    line-height: 1.15;
    letter-spacing: -.01em;
  }
  .site-nav { padding: 0 1rem; gap: 0; }
  .nav__hamburger { margin-left: .4rem; padding: .4rem; }
}

@media (max-width: 768px) {

  .hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      140deg,
      rgba(15, 34, 68, 0.3) 0%,   /* Reduced from .93 */
      rgba(15, 34, 68, 0.35) 55%,  /* Reduced from .72 */
      rgba(15, 34, 68, 0.15) 100%  /* Reduced from .55 */
    );
  }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) { border-right: none; }

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

  .course-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { margin-top: .5rem; }

  .sticky-cta { flex-direction: column; text-align: center; gap: .65rem; }
  .sticky-cta .btn { width: 100%; justify-content: center; }

  .cta-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .instructor-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr; }

  /* Shrink further than the clamp() floor so even the longest slide's
     headline/subtitle each fit on one line (2 rows total, not 3). */
  .hero h1 { font-size: 1.95rem; line-height: 1.25; }
  .hero h1 em { font-size: 1.65rem; margin-top: 1rem; }
}

/* ============================================================
   PAGE HERO (MRC hub, PP hub, etc.)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 3.5rem;
  position: relative;
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: .35rem;
  column-gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a,
.page-hero .breadcrumb span[aria-hidden] {
  white-space: nowrap;
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}
.page-hero__intro {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.72;
}
.page-hero__intro p { color: rgba(255,255,255,.7); }


/* ============================================================
   COURSE HERO (single-kurz.php)
   ============================================================ */
.course-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}
.course-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
}
.course-hero__bg--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 1;
}
.course-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,34,68,.95) 0%,
    rgba(15,34,68,.55) 60%,
    rgba(15,34,68,.25) 100%
  );
}
.course-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 3rem;
}
.course-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: .35rem;
  column-gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.course-hero .breadcrumb a,
.course-hero .breadcrumb span[aria-hidden] {
  white-space: nowrap;
}
.course-hero .breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}
.course-hero .breadcrumb a:hover { color: var(--white); }
.course-hero__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 20px;
  margin-bottom: .85rem;
}
.course-hero__title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: .75rem;
}
.course-hero__sub {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.course-meta-tag--light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
}
.course-meta-tag--light svg { stroke: rgba(255,255,255,.7); }
.course-meta-tag--accent {
  background: rgba(224,83,26,.3);
  color: #FDBA8A;
  border-color: rgba(224,83,26,.4);
}
.course-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   COURSE LAYOUT (single-kurz: main + sidebar)
   ============================================================ */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}
.course-main { min-width: 0; }

.course-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-100);
}
.course-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.course-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 1.25rem;
}

/* Mixed prose inside course sections (intro / lead-in paragraphs) */
.course-prose {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0 0 1rem;
}
.course-prose--lead {
  font-weight: 700;
  color: var(--navy);
  margin: 1.25rem 0 .75rem;
}
.course-prose + .checklist,
.course-prose + .gear-list { margin-top: .25rem; }
.checklist + .course-prose,
.gear-list + .course-prose { margin-top: 1.25rem; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: .65rem; }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .97rem;
  color: var(--gray-800);
  line-height: 1.55;
}
.checklist__item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: #16A34A;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: .15rem;
}

/* Gear list */
.gear-list { display: flex; flex-direction: column; gap: .6rem; }
.gear-list__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.gear-list__item svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: .18rem;
}

/* Rental callout */
.rental-callout {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  background: var(--navy-xlight);
  border-radius: var(--r);
  font-size: .9rem;
  color: var(--navy);
  border-left: 3px solid var(--blue);
}
.rental-callout svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
}
.rental-callout a { color: var(--orange); font-weight: 600; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-item__q {
  padding: 1rem 1.25rem;
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
}
details[open] .faq-item__q { background: var(--off-white); }
details[open] .faq-item__q::after { content: '−'; }
.faq-item__a {
  padding: .9rem 1.25rem 1.1rem;
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Course reviews header + rating */
.course-reviews-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: 1.25rem;
}
.course-reviews-head h2 { margin: 0; }
.course-rating {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
}
.course-rating .stars { display: inline-flex; }
.course-rating__num { font-weight: 700; color: var(--navy); }
.course-rating__count { color: var(--gray-400); }
.course-reviews-cta { margin-top: 1.75rem; }

/* Sidebar */
.course-sidebar { position: sticky; top: 100px; }
.course-sidebar__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}
.course-sidebar__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: 1.25rem;
}
.price-big {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-per {
  font-size: .85rem;
  color: var(--gray-300);
}
.price-note {
  width: 100%;
  font-size: .78rem;
  color: var(--gray-300);
  margin-top: .15rem;
}
.btn--full { width: 100%; justify-content: center; }

.sidebar-meta-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.sidebar-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.sidebar-meta-list li:last-child { border-bottom: none; }
.sidebar-meta-list svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: .12rem;
}
.sidebar-meta-list span {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  color: var(--gray-600);
}
.sidebar-meta-list strong {
  display: block;
  color: var(--navy);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

/* Related courses */
.related-courses { background: var(--off-white); }

/* ============================================================
   COURSE GRID HUB (page-mrc-hub)
   ============================================================ */
.course-grid--hub {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ============================================================
   RESPONSIVE — inner pages
   ============================================================ */
@media (max-width: 960px) {
  .course-layout {
    grid-template-columns: 1fr;
  }
  .course-sidebar {
    position: static;
    order: -1; /* sidebar moves above content on mobile */
  }
}
@media (max-width: 768px) {
  .page-hero { padding: 6rem 0 2.5rem; }
  .course-hero { min-height: 380px; }
  .course-hero__ctas { flex-direction: column; }
  .course-hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   PP HUB — Segment cards (/kurzy-pp/)
   ============================================================ */
.pp-segments { background: var(--white); }

.pp-segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pp-segment-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pp-segment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
  color: inherit;
}

.pp-segment-card__icon {
  background: var(--navy);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-segment-card__icon svg {
  width: 48px; height: 48px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pp-segment-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}
.pp-segment-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(224,83,26,.1);
  padding: .25rem .75rem;
  border-radius: 20px;
  width: fit-content;
}
.pp-segment-card__body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.pp-segment-card__body p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}
.pp-segment-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 0;
  margin: 0;
}
.pp-segment-card__list li {
  font-size: .87rem;
  color: var(--gray-600);
  padding-left: 1.2rem;
  position: relative;
}
.pp-segment-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 700;
  font-size: .8rem;
}
.pp-segment-card__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* PP Why section — reuse trust-bar on white bg */
.pp-why .trust-bar__inner {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  padding: 0;
}
.pp-why .trust-item {
  border-right: 1px solid var(--gray-100);
  color: var(--navy);
}
.pp-why .trust-item:last-child { border-right: none; }
.pp-why .trust-item strong { color: var(--navy); }
.pp-why .trust-item span   { color: var(--gray-600); }

/* Responsive */
@media (max-width: 900px) {
  .pp-segment-grid { grid-template-columns: 1fr; }
  .pp-segment-card { flex-direction: row; }
  .pp-segment-card__icon {
    width: 120px;
    flex-shrink: 0;
    padding: 1.5rem;
  }
  .pp-segment-card__icon svg { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
  .pp-segment-card { flex-direction: column; }
  .pp-segment-card__icon { width: 100%; padding: 1.5rem; }
}

/* ============================================================
   CENNÍK (/cennik/)
   ============================================================ */
.cennik-section { background: var(--off-white); }

.page-hero__sub {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: .75rem;
  line-height: 1.7;
}

.cennik-group { margin-bottom: 3rem; }
.cennik-group:last-child { margin-bottom: 0; }

.cennik-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.cennik-group__more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.cennik-group__more:hover { color: var(--orange); }

/* Table */
.cennik-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  font-size: .92rem;
}
.cennik-table thead {
  background: var(--navy);
}
.cennik-table thead th {
  color: rgba(255,255,255,.6);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 1.25rem;
  text-align: left;
  white-space: nowrap;
}
.cennik-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.cennik-table tbody tr:last-child { border-bottom: none; }
.cennik-table tbody tr:hover { background: var(--off-white); }
.cennik-table td {
  padding: 1rem 1.25rem;
  color: var(--gray-600);
  vertical-align: middle;
}
.cennik-table td:first-child { color: var(--gray-800); }

.cennik-table__name {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
.cennik-table__name:hover { color: var(--orange); }

.cennik-table__price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.cennik-badge {
  display: inline-block;
  margin-left: .5rem;
  padding: .18rem .65rem;
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(224,83,26,.12);
  color: var(--orange);
  vertical-align: middle;
  white-space: nowrap;
}
.cennik-badge--blue {
  background: rgba(75,123,191,.12);
  color: var(--blue);
}

/* Čo je v cene */
.cennik-includes {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.cennik-includes h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.checklist--horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem 1.5rem;
}

/* Utility */
.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;
}
.btn--sm {
  padding: .45rem 1rem;
  font-size: .8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .cennik-table { font-size: .82rem; }
  .cennik-table thead th,
  .cennik-table td { padding: .75rem .9rem; }

  /* Hide less important columns on mobile */
  .cennik-table th:nth-child(3),
  .cennik-table td:nth-child(3),
  .cennik-table th:nth-child(4),
  .cennik-table td:nth-child(4) { display: none; }

  .checklist--horizontal { grid-template-columns: 1fr; }
  .cennik-includes { padding: 1.5rem; }
}
@media (max-width: 480px) {
  /* On very small screens also hide duration column */
  .cennik-table th:nth-child(2),
  .cennik-table td:nth-child(2) { display: none; }
}

/* ============================================================
   KONTAKT (/kontakt/)
   ============================================================ */

/* Light variant of page-hero (white text still works on navy) */
.page-hero--light { background: var(--navy); }

/* Two-column layout: info left, form right */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── Contact info cards ── */
.kontakt-info h2 { margin-bottom: 1.75rem; }

.kontakt-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kontakt-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: box-shadow var(--transition);
}
.kontakt-card:hover { box-shadow: var(--shadow-sm); }

.kontakt-card__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15,34,68,.18);
}
.kontakt-card__icon svg {
  width: 21px; height: 21px;
  fill: var(--white);
  stroke: none;
}
/* Brand-coded icon tiles */
.kontakt-card__icon--phone    { background: var(--navy); }
.kontakt-card__icon--whatsapp { background: #25D366; box-shadow: 0 4px 10px rgba(37,211,102,.32); }
.kontakt-card__icon--mail     { background: var(--orange); box-shadow: 0 4px 10px rgba(234,88,12,.28); }
.kontakt-card__icon--map      { background: #2563eb; box-shadow: 0 4px 10px rgba(37,99,235,.28); }
.kontakt-card__icon--doc      { background: #64748b; box-shadow: 0 4px 10px rgba(100,116,139,.25); }

.kontakt-card strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: .2rem;
}
.kontakt-card a,
.kontakt-card span,
.kontakt-card address {
  font-size: .95rem;
  color: var(--gray-800);
  line-height: 1.65;
}
.kontakt-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.kontakt-card a:hover { color: var(--orange); }

/* ── Social links ── */
.kontakt-social {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.kontakt-social__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.kontakt-social__link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.kontakt-social__link svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Contact form ── */
.kontakt-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.kontakt-form-wrap h2 { margin-bottom: .4rem; }

.kontakt-form,
.rental-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(224,83,26,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-300);
}

/* Success / error states */
.form-success {
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
}
.form-success strong {
  display: block;
  font-size: 1.1rem;
  color: #065F46;
  margin-bottom: .35rem;
}
.form-success p { color: #047857; margin: 0; }

.form-error {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  font-size: .9rem;
  color: #B91C1C;
}

/* ── Map ── */
.kontakt-mapa iframe {
  display: block;
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .kontakt-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .kontakt-form-wrap {
    position: static;
  }
}
@media (max-width: 560px) {
  .kontakt-form-wrap { padding: 1.5rem; }
}

/* ============================================================
   KurzymRC — Doplnkový stylesheet (main-additions.css)
   Pridaj tento súbor ZA main.css (alebo vlož obsah na koniec main.css)
   Pokrýva všetky triedy z PHP šablón, ktoré v main.css chýbajú.
   ============================================================ */


/* ============================================================
   O NÁS — príbeh layout (.o-nas-story / .o-nas-layout)
   page-o-nas.php
   ============================================================ */

.o-nas-story { background: var(--white); }

.o-nas-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.o-nas-main .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.o-nas-main h2 { margin-bottom: 1.25rem; }

/* ── Stat cards ── */
.o-nas-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: start;
}

.stat-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }

.stat-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-card__label {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 960px) {
  .o-nas-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .o-nas-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .o-nas-stats { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   METODIKA — grid s ikonami
   page-o-nas.php (.metodika-grid / .metodika-item)
   ============================================================ */

.metodika-section { background: #f8fafc; }

.metodika-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.metodika-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.25rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.metodika-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.metodika-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(224,83,26,.1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metodika-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metodika-item p {
  font-size: .93rem;
  color: var(--gray-800);
  line-height: 1.6;
  margin: 0;
  padding-top: .35rem;
}


/* ============================================================
   CERTIFIKÁTY — .certs-list / .cert-item
   page-o-nas.php
   ============================================================ */

.certs-section { background: var(--white); }

.certs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  transition: box-shadow var(--transition);
}
.cert-item:hover { box-shadow: var(--shadow-sm); }
.cert-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   INŠTRUKTORI — full variant (o-nas stránka)
   .instructor-grid--full / .instructor-card--full
   ============================================================ */

/* Full grid: wider cards, 3-col na desktop */
.instructor-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Full card: rozšírená verzia základnej .instructor-card */
.instructor-card--full {
  padding: 2rem 1.5rem;
  text-align: center;
}

.instructor-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid rgba(255,255,255,.15);
}
.instructor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Avatar pre full card — trochu väčší ako základný */
.instructor-card--full .instructor-card__avatar {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
}

.instructor-card__bio {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: .5rem 0 .75rem;
  font-style: italic;
}

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


/* ============================================================
   TESTIMONIALS — large variant (.testimonials-grid--large)
   page-referencie.php / page-o-nas.php
   ============================================================ */

/* --large: trochu väčší padding a väčší text citátu */
.testimonials-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.testimonial-card--large {
  padding: 2rem;
}

.testimonial-card--large .testimonial-card__text {
  font-size: 1rem;
  line-height: 1.78;
}

/* --compact: pre použitie na detail stránke kurzu (2 karty vedľa seba) */
.testimonials-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .testimonials-grid--large { grid-template-columns: 1fr; }
}


/* ============================================================
   STEPS LIST — postup / návod v 3 krokoch
   page-template-pp.php, page-prihlaska.php sidebar
   .steps-list / .steps-list--sm / .step-item / .step-item__num / .step-item__body
   ============================================================ */

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-item__num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-item__body {
  padding-top: .3rem;
}
.step-item__body strong {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.step-item__body p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* --sm variant: pre sidebar (menšie číslo, kompaktnejšie) */
.steps-list--sm { gap: 1rem; }

.steps-list--sm .step-item__num {
  width: 28px;
  height: 28px;
  font-size: .82rem;
}
.steps-list--sm .step-item__body strong { font-size: .9rem; }
.steps-list--sm .step-item__body p     { font-size: .82rem; }

/* Verzia na tmavom pozadí (sidebar prihlaska v light teme — stránka) */
.prihlaska-sidebar .step-item__body strong { color: var(--navy); }
.prihlaska-sidebar .step-item__body p      { color: var(--gray-600); }


/* ============================================================
   PRIHLÁŠKA — layout, formulár, sidebar
   page-prihlaska.php
   ============================================================ */

.prihlaska-section { background: var(--off-white); }

.prihlaska-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ── Form wrap ── */
.prihlaska-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

/* ── Form steps (fieldset groups) ── */
.prihlaska-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-step {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}
.form-step:last-child { margin-bottom: 0; }

.form-step__legend {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-step__num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Two-col row inside form ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

/* ── Select field (extends existing .form-field input rules) ── */
.form-field select {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--off-white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
}
.form-field select:focus {
  border-color: var(--orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(224,83,26,.12);
}

/* ── Checkbox field ── */
.form-field--checkbox { margin-bottom: .75rem; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.checkbox-label a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-label a:hover { color: var(--orange); }
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--orange);
  cursor: pointer;
}

/* ── Required star ── */
.required {
  color: var(--orange);
  font-weight: 700;
  margin-left: .1rem;
}

/* ── Field hint (nepovinné label) ── */
.form-field__hint {
  font-size: .78rem;
  font-weight: 400;
  color: var(--gray-300);
  margin-left: .3rem;
}

/* ── Form note (bottom of form) ── */
.form-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--gray-300);
  margin-top: .75rem;
  line-height: 1.5;
}
.form-note svg {
  flex-shrink: 0;
  stroke: var(--gray-300);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Success icon ── */
.form-success__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.form-success__icon svg {
  width: 52px;
  height: 52px;
}

/* ── Sidebar ── */
.prihlaska-sidebar {
  position: sticky;
  top: 100px;
}

.prihlaska-sidebar__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}
.prihlaska-sidebar__card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--navy);
}
.prihlaska-sidebar__card p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.prihlaska-sidebar__card .btn + .btn {
  margin-top: .5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .prihlaska-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .prihlaska-sidebar { position: static; }
}
@media (max-width: 640px) {
  .prihlaska-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   SKIMO RENTAL — layout
   page-skimo-rental.php
   ============================================================ */

.rental-section { background: var(--off-white); }

.rental-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.rental-main { min-width: 0; }

.rental-sidebar {
  position: sticky;
  top: 100px;
}

/* ── rental-callout--info variant ── */
/* Base .rental-callout is already defined in main.css.
   --info is identical in structure but uses orange instead of blue accent. */
.rental-callout--info {
  border-left-color: var(--orange);
}
.rental-callout--info svg {
  stroke: var(--orange);
}

@media (max-width: 900px) {
  .rental-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rental-sidebar { position: static; }
}


/* ============================================================
   SIDEBAR TRUST — dôvernostné pečiatky v sidebari
   page-template-pp.php, page-skimo-rental.php
   .sidebar-trust / .sidebar-trust__item
   ============================================================ */

.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.sidebar-trust__item {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.4;
}


/* ============================================================
   PP HERO VARIANTS
   page-template-pp.php
   .course-hero--pp / .course-hero__bg--pp-placeholder
   .course-hero__badge--blue / .course-hero__law
   ============================================================ */

/* PP hero: uses the same base .course-hero, but without a mountain photo
   the placeholder gets a professional navy→blue gradient */
.course-hero__bg--pp-placeholder {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #1e4080 50%,
    var(--blue) 100%
  );
  opacity: 1;
}

/* Blue badge variant (used on PP pages for "Akreditácia MZ SR") */
.course-hero__badge--blue {
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* Law reference line below subtitle */
.course-hero__law {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.course-hero__law svg {
  flex-shrink: 0;
  stroke: rgba(255,255,255,.45);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   MRC HUB hero variant
   page-mrc-hub.php — .page-hero--mrc
   (identical styling to base .page-hero; modifier kept for future
   background-image override via ACF)
   ============================================================ */
.page-hero--mrc {
  /* Inherits all .page-hero styles.
     Override here if MRC hub ever needs a hero image background. */
}


/* ============================================================
   FORM ERROR — svg icon alignment
   (extends the already-defined .form-error in main.css)
   ============================================================ */
.form-error {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.form-error svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #B91C1C;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   404.PHP — Stránka nenájdená
   ============================================================ */
.error-404__search {
  display: flex;
  gap: .75rem;
  margin-bottom: 2rem;
}
.error-404__search input[type="search"] {
  flex: 1;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  font-size: 1rem;
}
.error-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.error-404__home {
  text-align: center;
}

/* ============================================================
   PAGE.PHP / INDEX.PHP — generic WP page/post content
   .page-content / .entry / .entry-content
   ============================================================ */

.page-content {
  padding-bottom: 4rem;
}

.entry {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.entry-content p,
.entry-content li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray-800);
}
.entry-content h2 { margin: 2.5rem 0 1rem; }
.entry-content h3 { margin: 2rem 0 .75rem; }
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img {
  border-radius: var(--r-lg);
  margin: 1.5rem 0;
}
/* ── Registration form: section label + PSČ narrow field ── */
/* Standalone fields lack the .form-row bottom margin, so consecutive
   fields sat flush together — give them matching breathing room. */
.form-step > .form-field:not(.form-field--section-label):not(.form-field--checkbox) {
  margin-bottom: 1.1rem;
}
.form-field--section-label {
  margin: 1.25rem 0 .25rem;
}
.form-field--section-label span {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  border-bottom: 2px solid var(--navy-xlight);
  display: block;
  padding-bottom: .4rem;
}
/* Certificate fields section — title + subtitle, divider under the whole block */
.form-field--cert-label {
  border-bottom: 2px solid var(--navy-xlight);
  padding-bottom: .5rem;
}
.form-field--cert-label span {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: .15rem;
}
.form-field--cert-label small {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-600);
}

.form-field--psc { max-width: 160px; }
@media (max-width: 640px) {
  .form-field--psc { max-width: 100%; }
}


/* ============================================================
   PAGE HERO — Featured image background + configurable overlay
   Activated by data-hero-bg attribute (set via PHP when the page
   has a featured image). Overlay color/opacity come from CSS
   custom properties set inline (--hero-oc, --hero-oo).
   ============================================================ */
.page-hero[data-hero-bg] {
  background-size:     cover;
  background-position: center center;
  background-repeat:   no-repeat;
  /* background-image set inline by PHP */
}
.page-hero[data-hero-bg]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-oc, #0F2244);
  opacity: var(--hero-oo, 0.6);
  pointer-events: none;
}
.page-hero[data-hero-bg] > .container {
  position: relative;
  z-index: 1;
}


/* ============================================================
   CONTENT IMAGE LIGHTBOX (post/page content — see main.js)
   ============================================================ */
.kmrc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 26, .92);
  padding: 2rem;
}
.kmrc-lightbox.is-open { display: flex; }

.kmrc-lightbox__figure {
  margin: 0;
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kmrc-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.kmrc-lightbox__counter {
  margin-top: .9rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  letter-spacing: .03em;
}

.kmrc-lightbox__close,
.kmrc-lightbox__nav {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.kmrc-lightbox__close:hover,
.kmrc-lightbox__nav:hover { background: rgba(255,255,255,.22); }

.kmrc-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px; height: 44px;
  font-size: 1.1rem;
}
.kmrc-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 1.8rem;
  line-height: 1;
}
.kmrc-lightbox__prev { left: 1rem; }
.kmrc-lightbox__next { right: 1rem; }
.kmrc-lightbox__nav[hidden] { display: none; }

/* Content images become clickable previews */
.wp-content img {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .kmrc-lightbox { padding: 1rem; }
  .kmrc-lightbox__nav { width: 42px; height: 42px; font-size: 1.4rem; }
  .kmrc-lightbox__close { width: 38px; height: 38px; top: .75rem; right: .75rem; }
  .kmrc-lightbox__prev { left: .5rem; }
  .kmrc-lightbox__next { right: .5rem; }
}
