/* =========================================================
   JILEMNICE MÁ SMĚR
   Hlavní stylesheet
   ========================================================= */


/* =========================================================
   1. BARVY A ZÁKLADNÍ PROMĚNNÉ
   ========================================================= */

:root {
  --blue: #294a91;
  --cyan: #00a7df;
  --white: #ffffff;
  --ink: #17366f;
  --light: #f4f4f2;
}


/* =========================================================
   2. RESET A ZÁKLAD STRÁNKY
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial Narrow, Roboto Condensed, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}


/* =========================================================
   3. HLAVIČKA A NAVIGACE
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: var(--blue);
  color: #fff;

  border-bottom: 5px solid var(--cyan);
}

.nav {
  height: 76px;

  display: flex;
  align-items: center;
  gap: 35px;
}


/* Logo */

.logo {
  color: #fff;
  text-decoration: none;
  line-height: 0.9;
}

.logo b {
  font-size: 24px;
}

.logo span {
  display: block;

  color: var(--cyan);

  font-weight: 900;
  font-size: 17px;
}


/* Menu */

.nav nav {
  display: flex;
  gap: 26px;

  margin-left: auto;
}

.nav nav a {
  color: #fff;
  text-decoration: none;

  font-weight: 900;
  text-transform: uppercase;
}


/* Volební číslo v menu */

.vote {
  display: flex;
  align-items: center;
  gap: 9px;

  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.vote i,
.three {
  display: grid;
  place-items: center;

  background: var(--cyan);

  border: 5px solid #fff;
  border-radius: 50%;

  font-style: normal;
  font-weight: 900;
}

.vote i {
  width: 48px;
  height: 48px;

  font-size: 28px;
}


/* =========================================================
   4. HERO – ÚVODNÍ OBRAZOVKA
   ========================================================= */

.hero {
  height: 620px;

  display: grid;
  grid-template-columns: 48% 52%;

  background: var(--blue);

  overflow: hidden;
}


/* Levá část */

.heroText {
  padding: 90px 6vw 60px;
  z-index: 2;
}

.heroText p,
.heroText h1 {
  margin: 0;

  font-weight: 1000;
  letter-spacing: -2px;
}

.heroText .cyan {
  font-size: 64px;
  color: var(--cyan);
}

.heroText h1 {
  font-size: 83px;
  line-height: 0.95;

  color: #fff;
}

.heroText .sub {
  margin-top: 25px;

  font-size: 38px;
}


/* Pravá fotografie */

.heroImg {
  position: relative;

  overflow: hidden;

  clip-path: polygon(
    14% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

.heroImg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 67% 8%;

  transform: scale(1.1);
}


/* Modrý štítek "Máme vizi" */

.vision {
  position: absolute;

  right: 0;
  bottom: 40px;

  padding: 18px 32px;

  background: var(--blue);
  color: #fff;

  font-size: 26px;
  text-align: right;
}

.vision b {
  color: var(--cyan);
}


/* Tlačítka */

.actions {
  display: flex;
  gap: 12px;

  margin-top: 45px;
}

.actions a {
  padding: 15px 19px;

  background: var(--cyan);
  color: #fff;

  text-decoration: none;
  font-weight: 900;
}

.actions .outline {
  background: transparent;
  border: 2px solid #fff;
}


/* =========================================================
   5. HLAVNÍ CLAIM
   ========================================================= */

.claim {
  margin: -28px 0 25px;
  padding: 34px 0;

  background: var(--blue);
  color: #fff;

  text-align: center;

  transform: skewY(-2deg);
}

.claim h2 {
  margin: 0;

  font-size: 34px;

  transform: skewY(2deg);
}

.claim b {
  color: var(--cyan);
}


/* =========================================================
   6. OBECNÉ SEKCE
   ========================================================= */

.section {
  padding: 75px 0;
}


/* Nadpis sekce */

.heading p {
  margin: 0;

  color: var(--cyan);

  font-weight: 1000;
  font-size: 24px;
}

.heading h2 {
  margin: 3px 0 35px;

  color: var(--blue);

  font-size: 52px;
}


/* =========================================================
   7. PLNÍME, CO JSME SLÍBILI
   ========================================================= */

.projects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}


/* Celá karta projektu je odkaz */

.project-card {
    position: relative;
    display: block;

    height: 310px;

    overflow: hidden;

    background: var(--blue);

    text-decoration: none;
    color: #fff;
}


/* Fotografie */

.project-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


/* Modrý popisek podle grafiky letáku */

.project-label {
    position: absolute;

    right: 0;
    bottom: 0;

    min-width: 65%;

    padding: 12px 16px;

    background: var(--blue);
    color: #fff;

    text-align: right;

    transition: background 0.25s ease;
}


/* Nadpis projektu */

.project-label h3 {
    margin: 0;

    color: #fff;

    font-size: 21px;
    line-height: 1;
    font-weight: 900;
}


/* Odkaz "Více o projektu" */

.project-label span {
    display: block;

    max-height: 0;
    margin-top: 0;

    overflow: hidden;

    color: var(--cyan);

    font-size: 14px;
    font-weight: 900;

    opacity: 0;

    transition:
        opacity 0.25s ease,
        max-height 0.25s ease,
        margin 0.25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.project-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.project-card:hover .project-label {
    background: #203e7e;
}

.project-card:hover .project-label span {
    max-height: 30px;
    margin-top: 7px;

    opacity: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

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

    .project-card {
        height: 300px;
    }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 520px) {

    .projects {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-card {
        height: 260px;
    }

    .project-label {
        min-width: 60%;
    }

    /* Na mobilu není hover,
       proto zobrazíme odkaz stále */

    .project-label span {
        max-height: 30px;
        margin-top: 5px;

        opacity: 1;
    }
}

/* Modré popisky */

.projects h3 {
  position: absolute;

  right: 0;
  bottom: 0;

  margin: 0;
  padding: 10px 14px;

  background: var(--blue);
  color: #fff;

  text-align: right;
  font-size: 21px;
}


/* Další témata */

.more {
  margin-top: 25px;

  color: var(--blue);

  font-weight: 900;
  font-size: 19px;
}


/* =========================================================
   8. VIZE
   ========================================================= */

.visionSec {
  padding: 70px 0;

  background: var(--blue);
}


/* Nadpis na tmavém podkladu */

.heading.light p {
  color: #fff;
}

.heading.light h2 {
  color: var(--cyan);
}


/* Body vize */

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 22px 45px;

  color: var(--cyan);

  font-size: 27px;
  font-weight: 1000;
}

.checks span {
  color: #fff;

  font-size: 22px;
}


/* =========================================================
   9. KANDIDÁTI
   ========================================================= */

.teamPoster {
  display: block;

  width: 100%;
  max-height: 900px;

  object-fit: contain;
}

.teamNote {
  text-align: center;
  font-weight: bold;
}


/* Karty videí */

.videoGrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 35px;
}


/* Jednotlivá karta */

.video-card {
    position: relative;
    min-width: 0;

    background: #fff;
    border-top: 7px solid var(--blue);

    overflow: hidden;
}


/* Vertikální YouTube Short 9:16 */

.video-short {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;

    background: #000;
    overflow: hidden;
}

.video-short iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* Text pod videem */

.video-content {
    position: relative;
    padding: 15px 13px 17px;
}

.video-content h3 {
    margin: 0 32px 7px 0;

    color: var(--blue);

    font-size: 19px;
    line-height: 1.05;
}

.video-content p {
    margin: 0;

    color: var(--blue);

    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
}


/* Pořadové číslo */

.video-content b {
    position: absolute;
    top: 10px;
    right: 12px;

    color: var(--cyan);

    font-size: 30px;
    line-height: 1;
}


/* =========================================================
   RESPONZIVITA
   ========================================================= */

/* Menší notebook / tablet naležato – 3 videa */

@media (max-width: 1050px) {

    .videoGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Tablet – 2 videa */

@media (max-width: 700px) {

    .videoGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}


/* Mobil – 1 video */

@media (max-width: 430px) {

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

    .video-card {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
}


/* =========================================================
   10. AKTUALITY
   ========================================================= */

.news {
  padding: 70px 0;

  background: #f2f2f0;
}

.newsgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.newsgrid article {
  padding: 28px;

  background: #fff;

  border-bottom: 6px solid var(--cyan);
}

.newsgrid small {
  color: #777;
}

.newsgrid h3 {
  font-size: 25px;
}

.newsgrid a {
  color: var(--blue);

  font-weight: 900;
  text-decoration: none;
}


/* =========================================================
   11. ZÁVĚREČNÁ VOLEBNÍ SEKCE
   ========================================================= */

.final {
  padding: 45px 0 25px;

  background: var(--blue);
  color: #fff;

  border-bottom: 52px solid var(--cyan);
}

.finalin {
  display: flex;
  align-items: center;

  gap: 60px;
}

.final h2 {
  margin: 0;

  font-size: 50px;
}

.final h2 b {
  color: var(--cyan);
}

.final p {
  font-size: 21px;
}


/* ODS */

.ods {
  margin-left: auto;

  font-size: 72px;
  font-weight: 1000;

  text-align: center;
}

.ods small {
  display: block;

  font-size: 27px;
}


/* Volební číslo */

.three {
  width: 145px;
  height: 145px;

  font-size: 92px;
}


/* =========================================================
   12. PATIČKA
   ========================================================= */

footer {
  margin-top: -52px;
  padding: 14px 0;

  background: var(--cyan);
  color: #fff;

  font-weight: bold;
}

footer span {
  float: right;
}


/* =========================================================
   13. TABLET / MENŠÍ OBRAZOVKY
   ========================================================= */

@media (max-width: 800px) {

  .nav nav {
    display: none;
  }

  .nav {
    height: 65px;
  }


  /* Hero */

  .hero {
    height: auto;
    display: block;
  }

  .heroText {
    padding: 55px 25px 35px;
  }

  .heroText .cyan {
    font-size: 42px;
  }

  .heroText h1 {
    font-size: 55px;
  }

  .heroText .sub {
    font-size: 28px;
  }

  .heroImg {
    height: 320px;
    clip-path: none;
  }


  /* Claim */

  .claim {
    margin: 0;
    transform: none;
  }

  .claim h2 {
    font-size: 24px;
    transform: none;
  }


  /* Gridy */

  .projects,
  .videoGrid,
  .newsgrid {
    grid-template-columns: 1fr 1fr;
  }

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


  /* Nadpisy */

  .heading h2 {
    font-size: 40px;
  }


  /* Footer volební sekce */

  .finalin {
    gap: 20px;
  }

  .ods {
    display: none;
  }

  .three {
    width: 105px;
    height: 105px;

    font-size: 65px;
  }

  .final h2 {
    font-size: 34px;
  }
}


/* =========================================================
   14. MOBIL
   ========================================================= */

@media (max-width: 520px) {

  .wrap {
    padding: 0 18px;
  }


  /* Hlavní navigace */

  .vote {
    font-size: 0;
  }


  /* Hero */

  .heroText h1 {
    font-size: 48px;
  }

  .actions {
    display: block;
  }

  .actions a {
    display: block;

    margin: 8px 0;

    text-align: center;
  }


  /* Gridy */

  .projects,
  .videoGrid,
  .newsgrid {
    grid-template-columns: 1fr;
  }

  .projects article {
    height: 250px;
  }


  /* Kandidátní plakát */

  .teamPoster {
    width: calc(100% + 16px);
    margin-left: -8px;
  }


  /* Závěr */

  .final h2 {
    font-size: 28px;
  }

  .three {
    width: 88px;
    height: 88px;

    font-size: 54px;
  }


  /* Patička */

  footer span {
    float: none;
    display: block;

    margin-top: 5px;
  }
}

/* =========================================================
   15. PODSTRÁNKA PROJEKTU – PŘÍRODNÍ KOUPALIŠTĚ
   ========================================================= */


/* =========================================================
   15.1 ZÁKLAD PODSTRÁNKY
   ========================================================= */

.project-page {
  background: #fff;
}


/* =========================================================
   15.2 HERO PROJEKTU
   ========================================================= */

.project-hero {
  position: relative;

  min-height: 620px;

  overflow: hidden;

  background: var(--blue);
}


/* Hlavní fotografie */

.project-hero > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* Modrý překryv přes fotografii */

.project-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(23, 54, 111, 0.92) 0%,
    rgba(41, 74, 145, 0.72) 42%,
    rgba(41, 74, 145, 0.12) 72%,
    rgba(41, 74, 145, 0) 100%
  );
}


/* Obsah hero sekce */

.project-hero-content {
  position: relative;
  z-index: 2;

  min-height: 620px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  color: #fff;
}


/* Malý nadpis */

.project-kicker {
  margin: 0 0 8px;

  color: var(--cyan);

  font-size: 24px;
  font-weight: 1000;
  letter-spacing: 0.04em;
}


/* Hlavní nadpis */

.project-hero h1 {
  margin: 0;

  color: #fff;

  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.86;
  letter-spacing: -3px;
}


/* Úvodní text */

.project-lead {
  max-width: 680px;

  margin: 24px 0 0;

  font-size: 26px;
  font-weight: 800;
}


/* Štítek SPLNĚNÝ SLIB */

.project-status {
  margin-top: 30px;
  padding: 13px 17px;

  background: var(--cyan);
  color: #fff;

  font-size: 17px;
  font-weight: 1000;
}


/* =========================================================
   15.3 ODKAZ ZPĚT
   ========================================================= */

.project-back-row {
  padding-top: 22px;
}

.project-back {
  color: var(--blue);

  text-decoration: none;

  font-size: 14px;
  font-weight: 1000;
}

.project-back:hover {
  color: var(--cyan);
}


/* =========================================================
   15.4 ÚVOD – SLÍBILI JSME / UDĚLALI JSME
   ========================================================= */

.project-intro-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(320px, 0.75fr);

  gap: 65px;

  align-items: start;
}


/* Hlavní text */

.project-text-big {
  margin-top: 0;

  color: var(--blue);

  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
}


/* Modrý box */

.promise-box {
  background: var(--blue);
  color: #fff;

  border-bottom: 9px solid var(--cyan);
}

.promise-block {
  padding: 28px 30px;
}

.promise-block + .promise-block {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}


/* Nadpis boxu */

.promise-block span {
  display: block;

  margin-bottom: 8px;

  color: var(--cyan);

  font-size: 15px;
  font-weight: 1000;
}

.promise-block strong {
  font-size: 28px;
  line-height: 1.1;
}


/* Seznam splněného */

.promise-block ul {
  margin: 12px 0 0;
  padding: 0;

  list-style: none;
}

.promise-block li {
  position: relative;

  margin: 10px 0;
  padding-left: 24px;

  font-weight: 800;
}

.promise-block li::before {
  content: "?";

  position: absolute;
  left: 0;

  color: var(--cyan);

  font-weight: 1000;
}


/* =========================================================
   15.5 KOUPALIŠTĚ V ČÍSLECH
   ========================================================= */

.project-stats {
  padding: 48px 0;

  background: var(--blue);
}

.project-stats-grid {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 1px;

  background: rgba(255, 255, 255, 0.2);
}


/* Jednotlivé číslo */

.project-stats-grid > div {
  min-height: 145px;

  padding: 24px 18px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--blue);

  text-align: center;
}

.project-stats-grid strong {
  color: var(--cyan);

  font-size: 34px;
  line-height: 1;
}

.project-stats-grid span {
  margin-top: 10px;

  color: #fff;

  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
}


/* =========================================================
   15.6 ČASOVÁ OSA
   ========================================================= */

.timeline {
  position: relative;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;
}


/* Spojovací čára */

.timeline::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 33px;

  height: 6px;

  background: #d9e0ef;
}


/* Jednotlivý bod */

.timeline-item {
  position: relative;

  padding: 0 24px 0 0;
}

.timeline-item::before {
  content: "";

  position: relative;
  z-index: 2;

  display: block;

  width: 22px;
  height: 22px;

  margin: 23px 0 20px;

  border: 6px solid #fff;
  border-radius: 50%;

  background: var(--cyan);

  box-shadow: 0 0 0 4px var(--blue);
}


/* Rok */

.timeline-item .year {
  color: var(--cyan);

  font-size: 22px;
  font-weight: 1000;
}

.timeline-item h3 {
  margin: 8px 0 7px;

  color: var(--blue);

  font-size: 20px;
}

.timeline-item p {
  margin: 0;

  line-height: 1.45;
}


/* Hotový projekt */

.timeline-item.completed h3 {
  color: var(--cyan);
}


/* =========================================================
   15.7 JAK FUNGUJE ČIŠTĚNÍ VODY
   ========================================================= */

.water-section {
  position: relative;

  padding: 100px 0;

  background:
    linear-gradient(
      rgba(23, 54, 111, 0.88),
      rgba(23, 54, 111, 0.88)
    ),
    url("images/hotovo-koupak.jpg")
    center / cover no-repeat;

  color: #fff;
}

.water-copy {
  max-width: 980px;
}

.water-copy h2 {
  margin: 0 0 20px;

  color: #fff;

  font-size: 52px;
}

.water-copy > p:not(.project-kicker) {
  max-width: 850px;

  font-size: 20px;
  line-height: 1.55;
}


/* Schéma procesu */

.process-line {
  margin-top: 38px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;
}

.process-line span {
  padding: 11px 14px;

  background: #fff;
  color: var(--blue);

  font-size: 13px;
  font-weight: 1000;
}

.process-line i {
  color: var(--cyan);

  font-style: normal;
  font-size: 28px;
  font-weight: 1000;
}


/* =========================================================
   15.8 FINANCE
   ========================================================= */

.finance-grid {
  display: grid;

  grid-template-columns: 1.3fr 0.7fr;

  gap: 60px;

  align-items: center;
}


/* Cena */

.price-box {
  padding: 36px;

  background: var(--blue);
  color: #fff;

  border-bottom: 9px solid var(--cyan);

  text-align: center;
}

.price-box span,
.price-box small {
  display: block;
}

.price-box span {
  color: var(--cyan);

  font-size: 14px;
  font-weight: 1000;
}

.price-box strong {
  display: block;

  margin: 10px 0 8px;

  font-size: 48px;
  line-height: 1;
}

.price-box small {
  opacity: 0.85;
}


/* =========================================================
   15.9 GALERIE
   ========================================================= */

.project-gallery-section {
  padding: 75px 0;

  background: var(--blue);
}

.project-gallery {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);

  gap: 12px;
}


/* Hlavní fotografie */

.project-gallery a {
  grid-row: 1 / 3;

  overflow: hidden;
}

.project-gallery img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.3s ease;
}

.project-gallery a:hover img {
  transform: scale(1.03);
}


/* Dočasná místa pro fotografie */

.gallery-placeholder {
  display: grid;
  place-items: center;

  padding: 20px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: rgba(255, 255, 255, 0.6);

  font-size: 13px;
  font-weight: 1000;
  text-align: center;
}


/* =========================================================
   15.10 DALŠÍ SPLNĚNÝ SLIB
   ========================================================= */

.project-next {
  padding: 48px 0;

  background: #eef2f8;
}

.project-next-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 40px;
}

.project-next p {
  margin: 0;

  color: var(--cyan);

  font-size: 20px;
  font-weight: 1000;
}

.project-next h2 {
  margin: 0;

  color: var(--blue);

  font-size: 44px;
}


/* Tlačítko */

.project-next a {
  padding: 15px 18px;

  background: var(--blue);
  color: #fff;

  text-decoration: none;
  font-weight: 1000;
}

.project-next a:hover {
  background: var(--cyan);
}


/* =========================================================
   15.11 RESPONZIVITA – MENŠÍ NOTEBOOK
   ========================================================= */

@media (max-width: 1050px) {

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

}


/* =========================================================
   15.12 RESPONZIVITA – TABLET
   ========================================================= */

@media (max-width: 800px) {

  /* Hero */

  .project-hero,
  .project-hero-content {
    min-height: 520px;
  }

  .project-hero-overlay {
    background: rgba(23, 54, 111, 0.72);
  }


  /* Úvod + finance */

  .project-intro-grid,
  .finance-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  /* Časová osa */

  .timeline {
    grid-template-columns: 1fr 1fr;

    gap: 35px 20px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item::before {
    margin-top: 0;
  }


  /* Galerie */

  .project-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows:
      320px
      180px
      180px;
  }

  .project-gallery a {
    grid-column: 1 / 3;
    grid-row: 1;
  }


  /* Další projekt */

  .project-next-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   15.13 RESPONZIVITA – MOBIL
   ========================================================= */

@media (max-width: 520px) {

  /* Hero */

  .project-hero,
  .project-hero-content {
    min-height: 470px;
  }

  .project-hero h1 {
    font-size: 56px;
  }

  .project-lead {
    font-size: 20px;
  }


  /* Statistiky */

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

  .project-stats-grid > div {
    min-height: 125px;
  }

  .project-stats-grid strong {
    font-size: 28px;
  }


  /* Časová osa */

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


  /* Voda */

  .water-copy h2 {
    font-size: 38px;
  }

  .process-line {
    align-items: stretch;
    flex-direction: column;
  }

  .process-line i {
    align-self: center;

    transform: rotate(90deg);
  }


  /* Cena */

  .price-box strong {
    font-size: 38px;
  }


  /* Galerie */

  .project-gallery {
    grid-template-columns: 1fr;

    grid-template-rows:
      270px
      150px
      150px
      150px;
  }

  .project-gallery a {
    grid-column: 1;
    grid-row: 1;
  }


  /* Další projekt */

  .project-next h2 {
    font-size: 34px;
  }

}
/* =========================================================
   19. AKTUALITY – DYNAMICKÝ VÝPIS A ARCHIV
   ========================================================= */

/* Datum příspěvku */
.news-date {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

/* Karta aktuality */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.news-card p {
  line-height: 1.45;
}

.news-card > a {
  margin-top: auto;
  padding-top: 15px;
}

/* Odkaz na kompletní archiv */
.news-more {
  margin-top: 35px;
  text-align: center;
}

.news-more a {
  display: inline-block;
  padding: 15px 25px;
  background: var(--blue);
  color: #fff;
  border-bottom: 5px solid var(--cyan);
  text-decoration: none;
  font-size: 15px;
  font-weight: 1000;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-more a:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

/* Archiv aktualit */
.news-archive {
  min-height: 70vh;
  background: #f2f2f0;
}

.archive-title {
  margin: 3px 0 40px;
  color: var(--blue);
  font-size: 58px;
}

.archive-grid {
  row-gap: 28px;
}

.archive-back {
  margin-bottom: 35px;
}

.archive-back a {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 1000;
}

.archive-back a:hover {
  color: var(--cyan);
}

.news-empty {
  grid-column: 1 / -1;
  padding: 28px;
  background: #fff;
  border-bottom: 6px solid var(--cyan);
  font-weight: 800;
}

@media (max-width: 520px) {
  .archive-title {
    font-size: 42px;
  }
}

/* Detail článku */
.news-detail {
  max-width: 850px;
}

.news-detail-lead {
  color: var(--blue);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

.news-detail > p:not(.news-detail-lead) {
  font-size: 18px;
  line-height: 1.65;
}
