/* ============================================================
   PLATO Czech website — styles
   Edit this file to change colours, fonts, spacing and layout.

   Main top image: plato-hero.jpg
   Main colour variables are in :root below.
   ============================================================ */

:root{--navy:#003247;--navy2:#003e57;--red:#ed1b2f;--light:#f4f6f7;--ink:#101820;--muted:#59656d}
*{box-sizing:border-box} 
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:white;line-height:1.55}
.logo{
	background-color: #001219;
	height: 100px;
}
.logo img{
	height: 80px; margin:10px; 
	float: left;
}

/* --- 1 z AI --- */
.nav {
  position: sticky; 
  width: 100%;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #001924; /* Plná barva na začátku stránky */
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease; /* Plynulý přechod do průhledna */
  box-sizing: border-box;
}

/* Stav menu po sjetí dolů (přidá se automaticky přes JS) */
.nav.scrolled {
  background-color: rgba(0, 50, 71, 0.75); /* Poloprůhledná #003247 */
  backdrop-filter: blur(6px); /* Jemné rozmazání obsahu pod menu */
}

.nav ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: flex-end !important;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 40px 20px 0 0;
  gap: 20px;
  margin-left: auto;
}

.nav ul li {
  display: inline-block;
  width: auto !important;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  display: inline-block;
  width: auto !important;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
}

/* Skrytí prvků hamburgeru na velkém monitoru */
.menu-toggle,
.hamburger {
  display: none;
}

/* --- 2. NASTAVENÍ PRO MOBIL (hamburger pod 768px) --- */
@media (max-width: 768px) {
  /* Vykreslení ikony hamburgeru vpravo nahoře */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: absolute;
    top: 25px; /* Vzdálenost ikony od horního okraje */
    right: 20px; /* Vzdálenost ikony od pravého okraje */
    z-index: 1001;
  }

  /* Tři bílé čárky hamburgeru */
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Výchozí skrytí seznamu odkazů na mobilu */
  .nav ul {
    display: none !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    position: absolute;
    top: 60px; /* Kde se menu rozbalí pod ikonou */
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9); /* Tmavé pozadí pod bílým textem */
    padding: 15px 25px;
    border-radius: 8px;
    gap: 15px;
    z-index: 1000;
  }

  /* Zobrazení seznamu odkazů po kliknutí na hamburger */
  .menu-toggle:checked ~ ul {
    display: flex !important;
  }

  /* Přeměna tří čárek na křížek (X) po otevření */
  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }
}


a{color:inherit}
.top{background:#fff;border-bottom:1px solid #ddd;position:sticky;top:0;z-index:5}
.topin{max-width:1180px;margin:auto;padding:15px 24px;display:flex;align-items:center;gap:24px}
.esa{font-size:32px;font-weight:800;letter-spacing:-2px;color:var(--navy)}
.crumb{font-size:14px;color:#4b5960}
.hero{min-height:520px;background:linear-gradient(90deg,rgba(0,34,49,.92) 0%,rgba(0,34,49,.62) 45%,rgba(0,34,49,.05) 75%),url('plato-hero.jpg') center/cover no-repeat;color:#fff;display:flex;align-items:flex-end}
.hero .inner{max-width:1180px;width:100%;margin:auto;padding:70px 24px}
.hero h1{font-size:76px;line-height:.95;margin:0 0 14px;font-weight:800}
.hero p{font-size:25px;margin:0}.wrap{max-width:1180px;margin:auto;padding:65px 24px}
.twocol{display:grid;grid-template-columns:1.25fr .75fr;gap:80px}
.section-title{font-size:44px;line-height:1.05;margin:0 0 25px}
.lead{font-size:20px}
.launch dl{margin:0}
.launch dt{font-weight:700;margin-top:16px}
.launch dd{margin:2px 0 0}
.break{
	 background: #597a87;

}
.break p{
	margin: 0 0 0 0px;
	padding: 0;
	color: #fff;
	max-width:1180px;width:100%;margin:auto;padding:10px 24px;
	font-size: 20px;
	font-weight: 700;
}
.facts{background:var(--navy);color:#fff;padding:70px 24px}
.factsin{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.fact{text-align:center}
.circle{width:150px;height:150px;border-radius:50%;background:var(--red);margin:0 auto 18px;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:800}
.fact p{font-size:20px;margin:0}
@media (max-width: 768px) {
  .facts {
    padding: 40px 10px;
  }

  .factsin {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .circle {
    width: 85px;
    height: 85px;
    font-size: 14px; /* Menší písmo, aby se vešlo "200 000+" */
    margin-bottom: 10px;
  }

  .fact p {
    font-size: 14px;
  }
}
.latest{background:#f2f4f5}
.latest-card{display:grid;grid-template-columns:1.15fr .85fr;background:#fff;box-shadow:0 2px 10px #0001}
.latest-card img{width:100%;height:100%;min-height:420px;object-fit:cover}
.latest-copy{padding:42px}
.eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:700;color:#6a757b}
.latest-copy h3{font-size:34px;line-height:1.08;margin:10px 0 20px}
.latest-copy p{font-size:17px}
.note{max-width:1180px;margin:0 auto 45px;padding:0 24px;color:#66737a;font-size:13px}
.source{margin-top:25px;font-size:13px;color:#66737a}
.source a{color:#164e67}
footer{background:#092d3c;color:#dce7eb;padding:32px 24px;text-align:center;font-size:13px}
@media(max-width:800px){.hero{min-height:400px}.hero h1{font-size:54px}.twocol,.latest-card{grid-template-columns:1fr;gap:40px}.factsin,.latest-card img{min-height:260px}.section-title{font-size:36px}}


/* ============================================================
   OVERVIEW ACCORDION — easy to edit for desktop and mobile.
   Each article is shown immediately below its own heading.
   ============================================================ */
.overview-accordion{max-width:960px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.overview-item{border-radius:5px;overflow:hidden;border:1px solid #d8e0e5}
.ov{display:block;width:100%;text-align:left;border:0;border-left:7px solid var(--red);background:var(--navy);color:#fff;padding:22px 26px;cursor:pointer;font:inherit;transition:background .15s}
.ov:hover,.ov:focus-visible,.overview-item.active .ov{background:var(--navy2)}
.ov:focus-visible,.panel .close:focus-visible{outline:3px solid #eaa600;outline-offset:-3px}
.ov h3{font-size:24px;line-height:1.2;margin:0 0 5px}
.ov p{margin:0;color:#d9e5ea;font-size:15px}
.ov .openhint{margin-top:10px;font-size:14px;font-weight:700;color:#fff}
.panel{background:#f4f6f7;padding:30px 36px;border-top:2px solid #d8e0e5}
.panel[hidden]{display:none!important}
.panel h3{font-size:30px;line-height:1.15;margin:0 0 18px}
.panel h4{font-size:20px;margin:26px 0 8px}
.panel p{font-size:17px;margin:0 0 14px}
.panel ul{font-size:17px}
.panel .close{border:0;border-radius:3px;background:var(--navy);color:#fff;padding:12px 18px;font-weight:700;cursor:pointer;margin-top:12px;font-size:15px}
@media(max-width:800px){
  .wrap{padding:38px 18px}
  .overview-accordion{gap:10px}
  .ov{padding:18px 17px}
  .ov h3{font-size:21px}
  .panel{padding:22px 18px}
  .panel h3{font-size:25px}
  .panel p,.panel ul{font-size:16px;line-height:1.65}
  .hero{min-height:320px}
  .hero .inner{padding:45px 18px}
  .hero h1{font-size:50px}
  .hero p{font-size:21px}
  .circle{width:125px;height:125px;font-size:34px}
  .facts{padding:42px 18px}
  .latest-copy{padding:24px}
  .latest-copy h3{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.ov{transition:none}}
