/* AEROTEAM – výchozí základ pro Joomla šablonu */

:root {
  --blue: #168bc3;
  --dark-blue: #12365b;
  --red: #d71920;
  --text: #26384b;
  --muted: #607285;
  --light-blue: #eef8fd;
  --border: #d9e7ef;
  --site-width: 960px;
  --content-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); }

.site-container {
  width: min(calc(100% - 36px), var(--site-width));
  margin-inline: auto;
}

.content-container {
  width: min(calc(100% - 36px), var(--content-width));
  margin-inline: auto;
}

/* HLAVIČKA */

.site-header {
  background: #fff;
  border-top: 5px solid var(--blue);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link { display: inline-block; }

.logo-link img {
  width: 285px;
  height: auto;
}

/* HERO
   Samostatná fotografie bez textové vrstvy.
   V Joomla lze obrázek jednoduše nahradit jinou fotografií.
*/

.hero {
  position: relative;
  width: min(calc(100% - 36px), var(--site-width));
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
  background: #dceef7;
}

.hero p {
    margin:0;
    padding:0;  
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* HLAVNÍ OBSAH */

.announcement {
  padding: 58px 0 64px;
}

.announcement h1 {
  margin: 0;
  color: var(--dark-blue);
  text-align: center;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}

.accent-line {
  width: 140px;
  height: 4px;
  margin: 18px auto 36px;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%);
}

.announcement p {
  margin: 0 0 20px;
  font-size: 17px;
}

.announcement p a {
  font-weight: 700;
  text-decoration: none;
}

/* PDF */

.download-box {
  margin: 36px 0 40px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--light-blue);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.pdf-icon {
  width: 64px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 3px solid var(--red);
  border-radius: 5px;
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
}

.download-copy h2 {
  margin: 0 0 3px;
  color: var(--dark-blue);
  font-size: 25px;
  line-height: 1.25;
}

.download-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.button {
  min-width: 225px;
  min-height: 62px;
  padding: 10px 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: background .15s ease, transform .15s ease;
}

.button span {
  font-size: 12px;
  font-weight: 400;
  opacity: .9;
}

.button:hover,
.button:focus-visible {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

/* PATIČKA */

.site-footer {
  padding: 38px 0 24px;
  background: var(--dark-blue);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 40px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand { font-size: 16px; }

.footer-brand strong { font-size: 23px; }

.footer-brand span {
  margin-top: 4px;
  color: #c9d8e5;
  font-size: 14px;
}

.footer-column {
  font-size: 16px;
}

.footer-column h2 {
  margin: 0 0 9px;
  font-size: 18px;
}

.footer-column address,
.footer-column p {
  margin: 0 0 11px;
  color: #d8e3ec;
  font-size: 16px;
  line-height: 1.55;
  font-style: normal;
}

.footer-column a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible { text-decoration: underline; }

.legal-register {
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #c9d8e5;
  font-size: 12px;
  line-height: 1.5;
}

.copyright {
  margin-top: 12px;
  color: #aebfce;
  font-size: 12px;
}

/* MOBIL */

@media (max-width: 700px) {
  .site-container,
  .content-container,
  .hero {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .header-inner {
    min-height: 88px;
    justify-content: center;
  }

  .logo-link img { width: 235px; }

  .hero { height: 240px; }

  .announcement { padding: 42px 0 48px; }
  .announcement p { font-size: 16px; }

  .download-box {
    grid-template-columns: 58px 1fr;
    gap: 17px;
    padding: 21px;
  }

  .pdf-icon {
    width: 55px;
    height: 66px;
    font-size: 14px;
  }

  .download-copy h2 { font-size: 22px; }
  .download-copy p { font-size: 14px; }

  .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
