/* Informace pro uchazeče — visual language aligned with index (home) */

.uch {
  --green-900: #1e3626;
  --green-800: #274733;
  --green-700: #315a41;
  --green-600: #3d6b4c;
  --green-500: #4f8161;
  --green-300: #8aa889;
  --green-100: #dbe6d6;
  --green-50: #eef3ea;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --ink-soft: #55524a;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 16px 44px rgba(30, 54, 38, 0.12);
  --shadow-sm: 0 4px 16px rgba(30, 54, 38, 0.08);
  --maxw: 1000px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;

  font-family: var(--font-body);
  color: #2c2a24;
  background: var(--cream);
  line-height: 1.7;
}

.uch *,
.uch *::before,
.uch *::after { box-sizing: border-box; }

.uch img { max-width: 100%; display: block; }

.uch .wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

.uch .leaf { width: 18px; height: 18px; flex: none; fill: var(--green-500); }

.uch-section {
  scroll-margin-top: 100px;
  padding: clamp(48px, 7vw, 88px) 0;
}

.uch-section:nth-of-type(even) { background: var(--paper); }
.uch-section:nth-of-type(odd) { background: var(--cream); }

.uch-section--intro {
  padding-top: clamp(40px, 6vw, 64px);
}

/* Hero */
.uch-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 9vh, 96px) 0 clamp(120px, 16vw, 200px);
  background: linear-gradient(180deg, #fcfbf6 0%, var(--cream) 48%, #f2ede1 100%);
}

.uch-hero::before {
  content: "";
  position: absolute;
  top: clamp(20px, 6vh, 60px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 168, 137, 0.32), transparent 62%);
  z-index: 0;
  pointer-events: none;
}

.uch-hero .wrap { position: relative; z-index: 2; }

.uch-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 20px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(61, 107, 76, 0.2);
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
}

.uch-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--green-900);
  margin: 0 0 16px;
}

.uch-hero .hero-lead {
  max-width: 58ch;
  margin: 0 auto 24px;
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: var(--ink-soft);
}

.uch-hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.uch-hero-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1.5px solid rgba(61, 107, 76, 0.35);
  background: rgba(255, 255, 255, 0.65);
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.uch-hero-nav a:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--green-600);
  color: var(--green-800);
}

.uch-hero .hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(80px, 12vw, 140px);
  z-index: 1;
}

/* Section headings */
.uch-head {
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 52ch;
}

.uch-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green-900);
  margin: 0 0 12px;
}

.uch-head p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.uch-head--spaced {
  margin-top: clamp(48px, 7vw, 72px);
}

.uch-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--green-800);
  margin: clamp(28px, 4vw, 36px) 0 12px;
}

.uch-subhead:first-child { margin-top: 0; }

/* Prose */
.uch-prose {
  max-width: 72ch;
  margin: 0 auto;
}

.uch-prose p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3832;
}

.uch-prose p:last-child { margin-bottom: 0; }

.uch-prose a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.uch-prose a:hover { color: var(--green-800); }

.uch-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.75;
}

.uch-prose li { margin: 0.35rem 0; }

.uch-prose strong { color: var(--green-900); font-weight: 700; }

.uch-prose--center {
  text-align: center;
  margin-bottom: 28px;
}

/* Quiz card */
.uch-quiz-card {
  max-width: 640px;
  margin: clamp(32px, 5vw, 48px) auto 0;
  padding: clamp(24px, 4vw, 32px);
  background: var(--green-50);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-600);
  box-shadow: var(--shadow-sm);
}

.uch-quiz-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 0 0 12px;
}

.uch-quiz-card p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Buttons */
.uch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--pill);
  border: none;
  background: var(--green-800);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 24px rgba(30, 54, 38, 0.2);
}

.uch-btn:hover {
  transform: translateY(-2px);
  background: var(--green-900);
  color: #fff;
}

.uch-btn-wrap {
  text-align: center;
  margin-top: 28px;
}

/* Image blocks */
.uch-figure {
  margin: clamp(24px, 4vw, 36px) auto;
  text-align: center;
}

.uch-figure a {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  text-decoration: none;
}

.uch-figure img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.uch-figure a:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  opacity: 0.92;
}

.uch-figure--stack img + img {
  margin-top: 24px;
}

/* Content panel with floated image */
.uch-panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(61, 107, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.uch-panel::after {
  content: "";
  display: table;
  clear: both;
}

.uch-panel img.uch-float {
  float: right;
  width: min(300px, 42%);
  margin: 0 0 20px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Scoring table */
.uch-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--green-100);
}

.uch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
}

.uch-table th,
.uch-table td {
  border: 1px solid var(--green-100);
  padding: 12px 16px;
  text-align: left;
}

.uch-table thead th {
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 700;
}

.uch-table tfoot td {
  text-align: center;
  font-weight: 700;
  color: var(--green-800);
  background: var(--cream);
}

/* Logo closing section */
.uch-logo-end {
  text-align: center;
  padding: clamp(48px, 7vw, 72px) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--green-50) 100%);
}

.uch-logo-end img {
  max-width: min(420px, 80vw);
  margin: 0 auto;
  opacity: 0.95;
}

@media (max-width: 767px) {
  .uch-panel img.uch-float {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  .uch-hero-nav {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .uch-btn {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 0.78rem;
  }
}
