/*
  STAVŠKOLA – revizní styly
  Komponenta: Hodnoty školy
  Zdroj: standalone v3
*/

.stav-values,
.stav-values * {
  box-sizing: border-box;
}

.stav-values {
  --stav-orange: #ed5a14;
  --stav-orange-dark: #d64e0d;
  --stav-text: #333;
  --stav-muted: #666;
  --stav-border: #e2e2e2;
  --stav-card: #fff;

  width: 100%;
  color: var(--stav-text);
  line-height: 1.55;
}

.stav-values__header {
  max-width: 800px;
  margin: 0 0 32px;
}

.stav-values__kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  color: var(--stav-orange);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.stav-values__kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--stav-orange);
}

.stav-values__title {
  margin: 0 0 14px;
  color: var(--stav-text);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
}

.stav-values__intro {
  margin: 0;
  color: var(--stav-muted);
  font-size: 17px;
  line-height: 1.65;
}

.stav-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.stav-values__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 295px;
  padding: 26px;
  overflow: hidden;
  background: var(--stav-card);
  border: 1px solid var(--stav-border);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .045);
}

.stav-values__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--stav-orange);
}

.stav-values__label {
  margin: 0 0 13px;
  color: var(--stav-orange);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.stav-values__card-title {
  margin: 0 0 13px;
  color: var(--stav-text);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 700;
}

.stav-values__text {
  margin: 0 0 24px;
  color: var(--stav-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.stav-values__proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fafafa;
  color: #3c3c3c;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.stav-values__proof::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stav-orange);
}

.stav-values__proof::after {
  content: "↗";
  margin-left: 1px;
  color: var(--stav-orange);
  font-size: 14px;
  font-weight: 700;
}

.stav-values__proof:hover,
.stav-values__proof:focus {
  color: #2f2f2f;
  background: #fff;
  border-color: var(--stav-orange);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .06);
  transform: translateY(-1px);
}

.stav-values__proof:focus-visible {
  outline: 3px solid rgba(237, 90, 20, .24);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .stav-values__grid {
    grid-template-columns: 1fr;
  }

  .stav-values__card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .stav-values__title {
    font-size: 32px;
  }

  .stav-values__intro {
    font-size: 16px;
  }

  .stav-values__card {
    padding: 22px;
    border-radius: 12px;
  }

  .stav-values__card-title {
    font-size: 21px;
  }
}


/* ==========================================================
   STAVŠKOLA – revizní styly
   Komponenta: Aktuality 3 + 9
   ========================================================== */

.stav-news,
.stav-news * {
  box-sizing: border-box;
}

.stav-news {
  --stav-orange: #e95b16;
  --stav-orange-dark: #d54d0b;
  --stav-dark: #444;
  --stav-text: #2d2d2d;
  --stav-border: #ddd;
  --stav-white: #fff;
  --stav-soft: #f5f5f5;

  width: 100%;
  margin: 0;
  padding: 28px 0 36px;
  color: var(--stav-text);
  font-family: inherit;
}

.stav-news__header {
  margin: 0 0 24px;
}

.stav-news__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--stav-orange);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.stav-news__eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--stav-orange);
}

.stav-news__heading {
  margin: 0;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
}

.stav-news__card {
  min-width: 0;
  background: var(--stav-white);
  border: 1px solid var(--stav-border);
  border-top: 2px solid var(--stav-orange);
  color: var(--stav-text) !important;
  text-decoration: none !important;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.stav-news__card:hover,
.stav-news__card:focus {
  transform: translateY(-2px);
  border-color: #cfcfcf;
  border-top-color: var(--stav-orange);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .08);
  color: var(--stav-text) !important;
  text-decoration: none !important;
}

.stav-news__card:focus-visible {
  outline: 2px solid var(--stav-orange);
  outline-offset: 3px;
}

/* První 3 aktuality */

.stav-news__featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 12px;
}

.stav-news__featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.stav-news__featured-info {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  min-height: 60px;
  height: auto;
  flex: 1 1 auto;
}

.stav-news__featured-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 60px;
  padding: 8px 11px 9px;
}

.stav-news__featured-title {
  margin: 0;
  color: #333;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  transition: color .15s ease;
}

/* Datum – vždy pevně 60 × 60 px */

.stav-news__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  max-width: 60px;
  min-height: 60px;
  max-height: 60px;
  flex: 0 0 60px;
  align-self: start;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--stav-dark);
  color: #fff;
  text-align: center;
}

.stav-news__month {
  display: block;
  width: 100%;
  margin: 0 0 2px;
  overflow: hidden;
  color: #fff;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
}

.stav-news__day {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: .9;
  font-weight: 700;
}

/* Fotografie prvních tří – přilepená ke spodní hraně karty */

.stav-news__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  margin-top: auto;
  overflow: hidden;
  background: #eee;
  border-top: 1px solid var(--stav-border);
}

.stav-news__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.stav-news__featured-card:hover .stav-news__image,
.stav-news__featured-card:focus .stav-news__image {
  transform: scale(1.025);
}

/* Dalších 9 kompaktních aktualit */

.stav-news__compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.stav-news__compact-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  min-height: 60px;
  overflow: hidden;
}

.stav-news__compact-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 60px;
  padding: 8px 11px 9px;
}

.stav-news__compact-title {
  margin: 0;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  transition: color .15s ease;
}

.stav-news__featured-card:hover .stav-news__featured-title,
.stav-news__featured-card:focus .stav-news__featured-title,
.stav-news__compact-card:hover .stav-news__compact-title,
.stav-news__compact-card:focus .stav-news__compact-title {
  color: var(--stav-orange-dark);
}

.stav-news__footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.stav-news__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 11px 20px;
  border: 1px solid var(--stav-orange);
  background: var(--stav-orange);
  color: #fff !important;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    background .15s ease,
    border-color .15s ease;
}

.stav-news__all::after {
  content: "→";
  margin-left: 18px;
  font-size: 19px;
  line-height: 1;
}

.stav-news__all:hover,
.stav-news__all:focus {
  background: var(--stav-orange-dark);
  border-color: var(--stav-orange-dark);
  color: #fff !important;
}

.stav-news__loading-featured,
.stav-news__loading-compact {
  border: 1px solid var(--stav-border);
  border-top: 2px solid #eee;
  background:
    linear-gradient(
      100deg,
      #f2f2f2 30%,
      #fafafa 50%,
      #f2f2f2 70%
    );
  background-size: 300% 100%;
  animation: stavNewsLoad 1.25s infinite;
}

.stav-news__loading-featured {
  min-height: 270px;
}

.stav-news__loading-compact {
  min-height: 60px;
}

@keyframes stavNewsLoad {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: 0 0;
  }
}

.stav-news__error {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-left: 4px solid var(--stav-orange);
  background: var(--stav-soft);
}


/* ==========================================================
   STAVŠKOLA – revizní styly
   Komponenta: Archiv aktualit
   ========================================================== */

.stav-archive,
.stav-archive * {
  box-sizing: border-box;
}

.stav-archive {
  --stav-orange: #e95b16;
  --stav-orange-dark: #d54d0b;
  --stav-dark: #444;
  --stav-text: #2d2d2d;
  --stav-muted: #777;
  --stav-border: #ddd;
  --stav-soft: #f5f5f5;
  --stav-white: #fff;

  width: 100%;
  margin: 28px 0 40px;
  color: var(--stav-text);
  font-family: inherit;
}

/* Školní rok */

.stav-archive__year {
  margin: 0 0 36px;
}

.stav-archive__year-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 15px;
}

.stav-archive__year-title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 600;
}

.stav-archive__year-title::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 9px;
  margin-bottom: 5px;
  background: var(--stav-orange);
}

.stav-archive__year-line {
  flex: 1;
  height: 1px;
  background: var(--stav-border);
}

/* Mřížka */

.stav-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

/* Karta */

.stav-archive__card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  min-height: 60px;
  overflow: hidden;
  background: var(--stav-white);
  border: 1px solid var(--stav-border);
  border-top: 2px solid var(--stav-orange);
  color: var(--stav-text) !important;
  text-decoration: none !important;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.stav-archive__card:hover,
.stav-archive__card:focus {
  transform: translateY(-2px);
  border-color: #cfcfcf;
  border-top-color: var(--stav-orange);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .07);
  color: var(--stav-text) !important;
  text-decoration: none !important;
}

.stav-archive__card:focus-visible {
  outline: 2px solid var(--stav-orange);
  outline-offset: 3px;
}

/* Datum */

.stav-archive__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  max-width: 60px;
  min-height: 60px;
  max-height: 60px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--stav-dark);
  color: #fff;
  text-align: center;
}

.stav-archive__month {
  display: block;
  width: 100%;
  margin: 0 0 2px;
  overflow: hidden;
  color: #fff;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
}

.stav-archive__day {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: .9;
  font-weight: 700;
}

/* Titulek */

.stav-archive__card-title-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 60px;
  padding: 8px 11px 9px;
}

.stav-archive__card-title {
  margin: 0;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  transition: color .15s ease;
}

.stav-archive__card:hover .stav-archive__card-title,
.stav-archive__card:focus .stav-archive__card-title {
  color: var(--stav-orange-dark);
}

/* Stav načítání */

.stav-archive__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  margin: 10px 0;
  color: var(--stav-muted);
  font-size: 14px;
}

.stav-archive__loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--stav-orange);
  animation: stavArchivePulse 1s ease-in-out infinite;
}

@keyframes stavArchivePulse {
  0%,
  100% {
    opacity: .3;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/*
  Staré styly webu mohou přebít nativní atribut hidden,
  protože loading i footer mají vlastní display.
*/
.stav-archive__loading[hidden],
.stav-archive__footer[hidden] {
  display: none !important;
}

/* Bod, který sleduje IntersectionObserver pro infinite scroll */

.stav-archive__sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

/* Záložní tlačítko */

.stav-archive__footer {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.stav-archive__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 11px 20px;
  border: 1px solid var(--stav-orange);
  background: var(--stav-orange);
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    background .15s ease,
    border-color .15s ease;
}

.stav-archive__more::after {
  content: "↓";
  margin-left: 18px;
  font-size: 18px;
  line-height: 1;
}

.stav-archive__more:hover,
.stav-archive__more:focus {
  background: var(--stav-orange-dark);
  border-color: var(--stav-orange-dark);
}

.stav-archive__more:disabled {
  opacity: .55;
  cursor: default;
}

.stav-archive__error {
  padding: 18px 20px;
  border-left: 4px solid var(--stav-orange);
  background: var(--stav-soft);
  color: var(--stav-text);
}


/* ==========================================================
   RESPONZIVITA – Aktuality 3+9 + Archiv
   ========================================================== */

@media (max-width: 900px) {
  .stav-news__featured,
  .stav-news__compact,
  .stav-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .stav-news {
    padding-top: 22px;
  }

  .stav-news__heading {
    font-size: 27px;
  }

  .stav-news__featured,
  .stav-news__compact,
  .stav-archive__grid {
    grid-template-columns: 1fr;
  }

  .stav-news__featured {
    gap: 14px;
    margin-bottom: 10px;
  }

  .stav-news__compact,
  .stav-archive__grid {
    gap: 9px;
  }

  .stav-archive__year {
    margin-bottom: 30px;
  }

  .stav-archive__year-title {
    font-size: 18px;
  }
}


/* ==========================================================
   STAVŠKOLA – revizní styly
   Komponenta: O škole
   ========================================================== */

.stav-about,
.stav-about * {
  box-sizing: border-box;
}

.stav-about {
  --stav-orange: #ed5a14;
  --stav-orange-dark: #d64e0d;
  --stav-orange-soft: #fff3ec;
  --stav-text: #303030;
  --stav-muted: #686868;
  --stav-border: #e2e2e2;
  --stav-soft: #f6f6f6;
  --stav-card: #fff;
  --stav-shadow: 0 8px 26px rgba(0, 0, 0, .055);

  width: 100%;
  overflow: hidden;
  color: var(--stav-text);
  font-family: inherit;
  line-height: 1.55;
}

/* Společné nadpisy sekcí */

.stav-about__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  color: var(--stav-orange);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.stav-about__eyebrow::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--stav-orange);
}

.stav-about__section {
  padding: 52px 0;
}

.stav-about__section + .stav-about__section {
  border-top: 1px solid #eee;
}

.stav-about__section-head {
  max-width: 830px;
  margin: 0 0 30px;
}

.stav-about__section-title {
  margin: 0 0 14px;
  color: var(--stav-text);
  font-family: inherit;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.025em;
}

.stav-about__section-intro {
  max-width: 790px;
  margin: 0;
  color: var(--stav-muted);
  font-size: 17px;
  line-height: 1.68;
}

/* Pill odkazy / důkazní tlačítka */

.stav-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fafafa;
  color: #3c3c3c !important;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.stav-pill::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stav-orange);
}

.stav-pill::after {
  content: "↗";
  margin-left: 1px;
  color: var(--stav-orange);
  font-size: 14px;
  font-weight: 700;
}

.stav-pill:hover,
.stav-pill:focus {
  color: #2f2f2f !important;
  background: #fff;
  border-color: var(--stav-orange);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .06);
  transform: translateY(-1px);
  text-decoration: none !important;
}

.stav-pill:focus-visible {
  outline: 3px solid rgba(237, 90, 20, .24);
  outline-offset: 3px;
}

.stav-pill--orange {
  background: var(--stav-orange);
  border-color: var(--stav-orange);
  color: #fff !important;
}

.stav-pill--orange::before {
  background: #fff;
}

.stav-pill--orange::after {
  color: #fff;
}

.stav-pill--orange:hover,
.stav-pill--orange:focus {
  background: var(--stav-orange-dark);
  border-color: var(--stav-orange-dark);
  color: #fff !important;
}

.stav-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

/* Hero */

.stav-about__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 36px;
  align-items: stretch;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(237, 90, 20, .10), transparent 31%),
    linear-gradient(135deg, #fff 0%, #fbfbfb 100%);
  border: 1px solid var(--stav-border);
  border-radius: 18px;
  box-shadow: var(--stav-shadow);
}

.stav-about__hero::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 220px;
  height: 220px;
  border: 36px solid rgba(237, 90, 20, .055);
  border-radius: 50%;
  pointer-events: none;
}

.stav-about__hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.stav-about__hero-title {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--stav-text);
  font-family: inherit;
  font-size: clamp(36px, 5.3vw, 58px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.035em;
}

.stav-about__hero-lead {
  max-width: 760px;
  margin: 0;
  color: var(--stav-muted);
  font-size: 19px;
  line-height: 1.65;
}

.stav-about__year {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 245px;
  padding: 26px;
  overflow: hidden;
  background: var(--stav-orange);
  border-radius: 14px;
  color: #fff;
}

.stav-about__year::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}

.stav-about__year-number {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  font-size: clamp(52px, 7vw, 78px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.055em;
}

.stav-about__year-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

/* Kdo jsme */

.stav-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stav-about__feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--stav-border);
  border-radius: 14px;
}

.stav-about__feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  border-radius: 10px;
  background: var(--stav-orange-soft);
  color: var(--stav-orange);
  font-size: 13px;
  font-weight: 800;
}

.stav-about__feature-title {
  margin: 0 0 9px;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.stav-about__feature-text {
  margin: 0;
  color: var(--stav-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Důkazy / konkrétní obsah */

.stav-about__evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stav-about__evidence {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 25px;
  background: var(--stav-soft);
  border: 1px solid #e7e7e7;
  border-radius: 14px;
}

.stav-about__evidence-tag {
  margin: 0 0 10px;
  color: var(--stav-orange);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.stav-about__evidence-title {
  margin: 0 0 10px;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.stav-about__evidence-text {
  margin: 0 0 22px;
  color: var(--stav-muted);
  font-size: 15px;
  line-height: 1.62;
}

.stav-about__evidence .stav-pill {
  margin-top: auto;
  background: #fff;
}

/* Historie */

.stav-about__timeline {
  position: relative;
  margin-top: 10px;
}

.stav-about__timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 76px;
  width: 2px;
  background: #ececec;
}

.stav-about__timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 42px;
  padding: 0 0 28px;
}

.stav-about__timeline-item:last-child {
  padding-bottom: 0;
}

.stav-about__timeline-year {
  position: relative;
  z-index: 1;
  padding-top: 2px;
  color: var(--stav-orange);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.stav-about__timeline-year::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -26px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--stav-orange);
  border-radius: 50%;
  background: #fff;
}

.stav-about__timeline-content {
  padding: 0 0 4px;
}

.stav-about__timeline-title {
  margin: 0 0 5px;
  color: var(--stav-text);
  font-family: inherit;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

.stav-about__timeline-text {
  margin: 0;
  color: var(--stav-muted);
  font-size: 15px;
  line-height: 1.62;
}

/* Spolupráce */

.stav-about__partner-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  overflow: hidden;
  background: #313131;
  border-radius: 16px;
  color: #fff;
}

.stav-about__partner-callout::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -62px;
  width: 190px;
  height: 190px;
  border: 30px solid rgba(237, 90, 20, .18);
  border-radius: 50%;
  pointer-events: none;
}

.stav-about__partner-copy {
  position: relative;
  z-index: 1;
}

.stav-about__partner-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 700;
}

.stav-about__partner-text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.65;
}

.stav-about__partner-callout .stav-pill {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: #fff;
  border-color: #fff;
}

/* Rozcestník */

.stav-about__nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stav-about__nav-card {
  position: relative;
  display: block;
  min-height: 138px;
  padding: 23px 54px 23px 23px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stav-border);
  border-radius: 14px;
  color: var(--stav-text) !important;
  text-decoration: none !important;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.stav-about__nav-card::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--stav-orange);
  font-size: 24px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform .16s ease;
}

.stav-about__nav-card:hover,
.stav-about__nav-card:focus {
  border-color: rgba(237, 90, 20, .6);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .055);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.stav-about__nav-card:hover::after,
.stav-about__nav-card:focus::after {
  transform: translate(3px, -50%);
}

.stav-about__nav-card:focus-visible {
  outline: 3px solid rgba(237, 90, 20, .24);
  outline-offset: 3px;
}

.stav-about__nav-label {
  display: block;
  margin-bottom: 7px;
  color: var(--stav-orange);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stav-about__nav-title {
  display: block;
  margin-bottom: 5px;
  color: var(--stav-text);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
}

.stav-about__nav-text {
  display: block;
  color: var(--stav-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Závěr */

.stav-about__closing {
  padding: 32px;
  background: var(--stav-orange-soft);
  border: 1px solid #f6d7c7;
  border-radius: 16px;
  text-align: center;
}

.stav-about__closing-text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--stav-text);
  font-size: clamp(21px, 2.8vw, 28px);
  line-height: 1.4;
  font-weight: 700;
}


/* ==========================================================
   RESPONZIVITA – O škole
   ========================================================== */

@media (max-width: 900px) {
  .stav-about__hero {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .stav-about__year {
    min-height: 180px;
  }

  .stav-about__feature-grid,
  .stav-about__evidence-grid {
    grid-template-columns: 1fr;
  }

  .stav-about__partner-callout {
    grid-template-columns: 1fr;
  }

  .stav-about__partner-callout .stav-pill {
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .stav-about__section {
    padding: 38px 0;
  }

  .stav-about__hero {
    gap: 24px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .stav-about__hero-title {
    font-size: 36px;
  }

  .stav-about__hero-lead {
    font-size: 17px;
  }

  .stav-about__year {
    min-height: 150px;
    padding: 22px;
  }

  .stav-about__section-title {
    font-size: 30px;
  }

  .stav-about__section-intro {
    font-size: 16px;
  }

  .stav-about__feature,
  .stav-about__evidence {
    padding: 21px;
    border-radius: 12px;
  }

  .stav-about__timeline::before {
    left: 65px;
  }

  .stav-about__timeline-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 34px;
  }

  .stav-about__timeline-year::after {
    right: -23px;
  }

  .stav-about__partner-callout {
    padding: 24px 21px;
    border-radius: 13px;
  }

  .stav-about__nav-grid {
    grid-template-columns: 1fr;
  }

  .stav-about__nav-card {
    min-height: 0;
  }

  .stav-about__closing {
    padding: 26px 20px;
    border-radius: 13px;
  }
}
