/* =====================================================================
   SPORTICI HK - style.css
   Faithful reproduction of sporticihk.cz original styling
   + CMS admin panel
   ===================================================================== */

/* -- Google Fonts import (Josefin Sans 300, 400, 500, 600, 700) ------- */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   1. RESET & BASE
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font: normal normal .85em Arial, sans-serif;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.3rem;
  color: #000000;
  background:
    linear-gradient(cyan, transparent),
    linear-gradient(-45deg, magenta, transparent),
    linear-gradient(45deg, yellow, transparent);
  background-blend-mode: multiply;
  min-height: 100vh;
}

@media (min-width: 780px) {
  body {
    font-size: 16px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

p {
  padding-bottom: 16px;
}

a {
  color: #bdd13f;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3 {
  font-weight: 300;
}

h1 {
  margin: 26px 0;
}

h2 {
  margin: 0;
  padding: 1.5rem 0 2rem;
  line-height: 1.3;
  font-size: 1.5rem;
}

@media (min-width: 480px) {
  h2 {
    line-height: 1.25;
  }
}

h3 {
  margin: 0;
  padding: 1.5rem 0 1rem;
}

ul, ol {
  list-style: none;
}


/* =====================================================================
   2. UTILITIES
   ===================================================================== */

/* --- Alpine.js cloak --- */
[x-cloak] {
  display: none !important;
}

/* --- Screen-reader only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Hidden utility (original .inv) --- */
.inv {
  display: none;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #bdd13f;
  color: #FFF;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  color: #FFF;
}

/* --- Text helpers --- */
.ac {
  text-align: center;
}

.white {
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}

.white img,
.white .heading-icon {
  margin-bottom: .6rem;
}
.big .heading-icon {
  margin-bottom: 6rem;
}
.heading-icon { color: inherit; }
.heading-icon svg { width: 100%; height: 100%; display: block; }

.big {
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.15;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.big img {
  margin-bottom: 4rem;
}


/* =====================================================================
   3. CONTAINERS
   ===================================================================== */
.container {
  margin: auto;
  width: 90%;
}

@media (min-width: 480px) and (max-width: 1370px) {
  .container {
    width: 94%;
  }
}

@media (min-width: 1370px) {
  .container {
    width: 1370px;
  }
}

.container-1080 {
  margin: auto;
  width: 90%;
}

@media (min-width: 1080px) {
  .container-1080 {
    width: 1080px;
    margin: auto;
  }
}

.container-630 {
  margin: auto;
  width: 90%;
}

@media (min-width: 730px) {
  .container-630 {
    width: 630px;
    margin: auto;
  }
}

/* --- Table responsive --- */
table {
  margin-bottom: 1rem;
}

table td {
  vertical-align: top;
}

@media (max-width: 780px) {
  table {
    display: block;
    text-align: center;
  }

  table tr,
  table tbody {
    width: 100%;
    display: block;
  }

  table .right {
    float: none;
  }

  table .width-50 {
    width: 90%;
  }

  table .input,
  table .textarea {
    width: 90%;
  }

  table td {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* --- Float helpers --- */
@media (min-width: 500px) {
  .fl, .obrl { float: left; }
  .fr, .obrr { float: right; }
}


/* =====================================================================
   4. BUTTON
   ===================================================================== */
.button {
  background: #bdd13f;
  color: #FFF;
  padding: .5rem 1.5rem;
  text-decoration: none;
  font-size: .85rem;
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  padding-top: .7rem;
  letter-spacing: 1.5px;
  border: 1px solid transparent;
}

.button:hover {
  background: transparent;
  border: 1px solid #bdd13f;
  color: #bdd13f;
}


/* =====================================================================
   5. NAVBAR (.c-navbar)
   ===================================================================== */
.c-navbar {
  background: #29323f;
  padding: 8px 0;
  position: relative;
}

.c-navbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 20px;
}

@media (min-width: 780px) {
  .c-navbar {
    padding: 0;
    height: 16px;
  }
  .c-navbar .container {
    min-height: 0;
    height: 16px;
  }
}

.c-navbar .button-menu {
  color: #FFF;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

@media (min-width: 780px) {
  .c-navbar .button-menu {
    display: none;
  }
}

/* --- Hamburger icon (.nav-icon) --- */
.nav-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin-right: 8px;
  display: inline-block;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 51%;
  background: #FFF;
  opacity: 1;
  transition: .25s ease-in-out;
}

.nav-icon span:nth-child(even) {
  left: 50%;
}

.nav-icon span:nth-child(odd) {
  left: 0;
}

.nav-icon span:nth-child(1),
.nav-icon span:nth-child(2) {
  top: 0;
}

.nav-icon span:nth-child(3),
.nav-icon span:nth-child(4) {
  top: 8px;
}

.nav-icon span:nth-child(5),
.nav-icon span:nth-child(6) {
  top: 16px;
}

.nav-icon.open span:nth-child(1),
.nav-icon.open span:nth-child(6) {
  transform: rotate(45deg);
}

.nav-icon.open span:nth-child(2),
.nav-icon.open span:nth-child(5) {
  transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(1) {
  left: 3px;
  top: 5px;
}

.nav-icon.open span:nth-child(2) {
  left: calc(50% - 3px);
  top: 5px;
}

.nav-icon.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

.nav-icon.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

.nav-icon.open span:nth-child(5) {
  left: 3px;
  top: 13px;
}

.nav-icon.open span:nth-child(6) {
  left: calc(50% - 3px);
  top: 13px;
}


/* =====================================================================
   6. HEADER (.c-header)
   ===================================================================== */
/* --- Exact original order from sporticihk.cz/styles.css --- */
.c-header {
  color: #FFFFFF;
  width: 100%;
  padding-bottom: 1rem;
  position: relative;
}

.c-header.open {
  background: #29323f;
  width: 100%;
  display: block;
  position: fixed;
  /* Mobile navbar = padding 8px + hamburger 20px + padding 8px = 36px. */
  top: 36px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  overflow-y: auto;
  padding: 1rem 0 2rem;
}

@media (min-width: 780px) {
  .c-header.open {
    top: 16px;
  }
}

/* V otevřeném menu jsou všechny prvky viditelné — telefon, Facebook,
   tlačítko Přihláška i menu. UX-friendly: vše po ruce. */
.c-header.open .header-info {
  display: block;
  text-align: center;
  margin: 0 0 1rem;
  padding: 0 1.5rem;
}
.c-header.open .header-info p {
  position: static;
  max-width: none;
  margin: .25rem 0;
  text-align: center;
}
.c-header.open .header-info .facebook {
  position: static;
  margin: .5rem 0;
}
.c-header.open .application {
  display: flex;
  justify-content: center;
  margin: 0 1.5rem 1.5rem;
}

.c-header.open .home {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  text-align: center;
  margin: 0 auto 1.5rem;
}

.c-header.open .home img {
  width: 6rem;
  margin: 0 auto;
  filter: none;
}

.c-header.open .menu {
  display: block;
}

@media only screen and (min-width: 1020px) {
  .c-header .header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.c-header .menu {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.c-header .facebook {
  display: inline-block;
  margin: .5rem 0 0;
}

@media only screen and (min-width: 780px) {
  .c-header .facebook {
    position: absolute;
    top: 60px;
    right: 0;
    margin: 0;
  }
}

.c-header .application {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

@media only screen and (max-width: 779px) {
  .c-header .application {
    margin-top: 1rem;
  }
  /* Default na mobile: viditelný jen hamburger v navbar + logo.
     Telefon, Facebook, tlačítko přihláška i menu se ukážou až po otevření. */
  .c-header:not(.open) .header-right {
    display: none;
  }
  .c-header {
    padding-bottom: 0;
    min-height: 2.5rem;
  }
}

/* Logo — mobile: vystředěné nahoře přes navbar, ale tak aby bylo celé vidět. */
.c-header .home {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  text-align: center;
}

.c-header .home img {
  width: 4.5rem;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

@media only screen and (min-width: 480px) {
  .c-header .home img {
    width: 5.5rem;
  }
}

@media only screen and (min-width: 780px) {
  .c-header .home {
    top: -1rem;
    padding: 0;
    z-index: 333;
  }
  .c-header .home img {
    width: 8rem;
    filter: none;
  }
}

.c-header .button {
  padding: 0 1rem 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

@media only screen and (min-width: 1020px) {
  .c-header .button {
    margin-bottom: 0;
  }
}

.c-header .button:hover {
  background: #a2b627;
  color: #FFFFFF;
}

.c-header .button .button-in {
  background: #a2b627;
  padding: .8rem .8rem .7rem 1rem;
  margin-right: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.c-header .button .button-text {
  padding-top: .2rem;
}

.c-header .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.c-header .menu a {
  padding: 1rem 1rem .3rem 1rem;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.c-header .menu a.on,
.c-header .menu a:hover {
  border-bottom: 1px solid #FFFFFF;
}

@media only screen and (min-width: 780px) and (max-width: 1220px) {
  .c-header .menu a {
    font-size: .8rem;
    padding: 1rem .6rem .3rem .6rem;
  }
}

@media only screen and (max-width: 780px) {
  .c-header .menu {
    display: none;
    padding: 1rem 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }

  .c-header .menu .menu-item {
    width: 100%;
  }

  .c-header .menu a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 6px;
    transition: background .15s ease;
  }

  .c-header .menu a:hover,
  .c-header .menu a.on {
    background: rgba(255, 255, 255, .08);
    border-bottom: 1px solid transparent;
  }

  /* Submenu na mobile — inline pod parent, vsazené */
  .c-header .menu .submenu {
    position: static;
    background: rgba(0, 0, 0, .2);
    border-radius: 6px;
    margin: .25rem 0 .5rem;
    padding: .25rem 0;
  }
  .c-header .menu .submenu a {
    font-size: .9rem;
    padding: .65rem 1rem;
  }
}

.c-header .header-right {
  -webkit-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
}

.c-header .header-info {
  padding: .7rem 0 .7em;
  margin-bottom: 30px;
}

@media only screen and (min-width: 780px) {
  .c-header .header-info {
    position: relative;
  }
}

.c-header .header-info p {
  text-align: right;
  margin: 16px 0;
}

/* Tablet (780–1000): info schované u pravého okraje pod navbarem */
@media only screen and (min-width: 780px) and (max-width: 1000px) {
  .c-header .header-info p {
    max-width: 12rem;
    position: absolute;
    top: 1.4rem;
    right: 1rem;
    margin: 0;
  }
}

/* Mobile (<780): kontaktní řádek do běžného flow, žádné absolute */
@media only screen and (max-width: 779px) {
  .c-header .header-info {
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: .75rem;
  }
  .c-header .header-info p {
    text-align: center;
    margin: .5rem 0;
    max-width: none;
    position: static;
  }
}

.c-header .header-info span {
  display: block;
}

@media only screen and (min-width: 780px) {
  .c-header .header-info {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .c-header .header-info span {
    display: inline;
  }
}


/* =====================================================================
   7. HERO SECTION (homepage) — .c-content-hp .hero
   ===================================================================== */
.c-content-hp .hero {
  background-image: url("/uploads/web/hokejista.png");
  background-repeat: no-repeat;
  background-position: 85% -1.5rem;
}

@media (max-width: 780px) {
  .c-content-hp .hero {
    background-size: 76%;
    background-position: center 8rem;
  }
}

.c-content-hp .hero-text {
  color: #FFF;
  text-align: center;
  max-width: 40rem;
  margin: auto;
  font-size: 18px;
  margin-top: 15rem;
  padding-bottom: 5rem;
}

@media (max-width: 780px) {
  .c-content-hp .hero-text {
    width: 90%;
  }
}

.c-content-hp .hero-text h1 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 4rem;
  line-height: 1.1;
}

.c-content-hp .hero-text h1 img {
  height: 90px;
  position: relative;
  top: 14px;
}

.c-content-hp .hero-text .button {
  margin: 3rem 0;
  background: transparent;
  border: 1px solid #bdd13f;
  text-transform: none;
  font-size: 1rem;
  line-height: 100%;
  letter-spacing: 1px;
}

.c-content-hp .hero-text .button:hover {
  background: #bdd13f !important;
  color: #FFF;
}


/* =====================================================================
   8. CONTENT ITEMS (.c-content-hp .item)
   ===================================================================== */
.c-content-hp .item {
  background: #FFF;
  margin-bottom: 2.65rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.c-content-hp .item .citate {
  padding-top: .5rem;
}

.c-content-hp .item p {
  margin: .5rem 0;
}

@media (min-width: 780px) {
  .c-content-hp .item {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
  }

  .c-content-hp .item--image-left .text,
  .c-content-hp .item:nth-child(even):not(.item--image-right):not(.item--image-left) .text {
    order: 2;
  }

  .c-content-hp .item--image-left .image,
  .c-content-hp .item:nth-child(even):not(.item--image-right):not(.item--image-left) .image {
    order: 1;
  }

  .c-content-hp .item--image-right .text {
    order: 1;
  }

  .c-content-hp .item--image-right .image {
    order: 2;
  }
}

@media (min-width: 480px) and (max-width: 780px) {
  .c-content-hp .item {
    width: 70%;
    margin: 2.65rem auto;
  }
}

.c-content-hp .item .button {
  margin-top: 1.6rem;
  padding-top: .9rem;
  text-transform: none;
}

.c-content-hp .item .text {
  width: 100%;
}

@media (min-width: 780px) {
  .c-content-hp .item .text {
    width: 50%;
  }
}

.c-content-hp .item .text-in {
  padding: 1.5rem 2rem;
}

@media (min-width: 780px) {
  .c-content-hp .item .text-in {
    padding: 2rem 2.5rem;
  }
}

@media (min-width: 780px) and (max-width: 1080px) {
  .c-content-hp .item .text-in {
    padding: 1.5rem;
  }
}

.c-content-hp .item .image {
  width: 100%;
  line-height: 0;
}

@media (min-width: 780px) {
  .c-content-hp .item .image {
    width: 50%;
  }
}

.c-content-hp .item .image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.c-content-hp .item h3 {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.15;
}

@media (min-width: 780px) and (max-width: 1080px) {
  .c-content-hp .item h3 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
  }
}


/* =====================================================================
   9. CITATE
   ===================================================================== */
.citate,
.text-block__quote {
  font-size: .875rem;
  font-weight: 300;
  font-style: italic;
  padding-top: 1rem;
}

@media (min-width: 780px) {
  .citate,
  .text-block__quote {
    padding-top: 2.5rem;
  }
}


/* =====================================================================
   10. PARENTS SECTION
   ===================================================================== */
.c-content-hp .parents {
  text-align: center;
  padding-bottom: 5rem;
  font-size: 18px;
}

.c-content-hp .parents h2 {
  color: #FFF;
  padding: 1rem 0;
  line-height: 1.2;
}

.c-content-hp .parents .text {
  width: 90%;
  margin: auto;
  color: #FFF;
}

@media (min-width: 780px) {
  .c-content-hp .parents .text {
    width: 60%;
  }
}

.c-content-hp .parents .button {
  text-transform: none;
  margin: 3rem 0;
  font-size: .94rem;
}


/* =====================================================================
   11. HOW LOOK (.c-how-look)
   ===================================================================== */
.c-how-look .how-look {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0 2.8rem;
}

.c-how-look h2 {
  color: #FFF;
  text-align: center;
}

.c-how-look .item {
  color: #FFF;
  border: 1px solid transparent;
  padding: 1% 2.5%;
  margin: 0 .2rem;
  cursor: pointer;
}

.c-how-look .item.on,
.c-how-look .item:hover {
  border: 1px solid #bdd13f;
}

.c-how-look .image {
  line-height: 0;
  text-align: center;
  margin-bottom: 4rem;
}

.c-how-look .image img {
  max-width: 100%;
  height: auto;
  display: none;
}

.c-how-look .image img.on {
  display: block;
}


/* =====================================================================
   12. LOGA WHITE
   ===================================================================== */
.loga-white {
  background: #FFF;
  padding: 3rem 0;
}

.loga-white .container-1080 {
  display: flex;
  justify-content: center;
}

/* On homepage, loga-white is a direct div without container-1080 inside,
   so we also style it standalone as flex center */
.loga-white {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* =====================================================================
   13. CONTACT SECTION (.contact-us)
   ===================================================================== */
.contact-us {
  width: 100%;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  background: #142b42;
  color: #FFF;
  padding-bottom: 1rem;
}

.contact-us h2 {
  font-size: 2.4rem;
  padding: 3rem 0 2rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  color: #FFF;
}

.contact-us .text {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-us .text p {
  color: #FFF;
}

/* --- Contact form --- */
.contact-form {
  margin-bottom: 3rem;
}

.contact-form .button {
  background: #7c77b7;
  border: none;
  margin: auto;
  display: block;
  padding: .8rem 3rem;
  border: 1px solid transparent;
}

.contact-form .button:hover {
  color: #7c77b7;
  background: transparent;
  border: 1px solid #7c77b7;
}

.contact-form table {
  width: 100%;
  border-collapse: collapse;
}

.contact-form table td {
  padding: .3rem;
}

/* --- Input / Textarea (for dark-bg forms) --- */
.input,
.textarea {
  border: 1px solid #FFF;
  background: transparent;
  width: calc(100% - 1rem);
  padding: .6rem .5rem;
  font-size: .9rem;
  color: #FFF;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
}

.textarea {
  width: calc(100% - 1rem);
  min-height: 100px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: #bdd13f;
}

.width-50 {
  width: calc(100% - 1rem);
}


/* =====================================================================
   14. CONTENT PAGES (.c-content)
   ===================================================================== */
.layout--content .c-content {
  background: #FFF;
}

/* Titulní stránka + PlayWisely šablona — gradient pod obsahem, takže obsahové
   text-bloky vykreslíme v bílé barvě (čitelné). */
.layout--homepage .c-content,
.layout--homepage .c-content h1,
.layout--homepage .c-content h2,
.layout--homepage .c-content h3,
.layout--homepage .c-content h4,
.layout--homepage .c-content p,
.layout--homepage .c-content li,
.layout--homepage .c-content em,
.layout--homepage .c-content strong,
.layout--homepage .c-content a,
.layout--playwisely .c-content,
.layout--playwisely .c-content h1,
.layout--playwisely .c-content h2,
.layout--playwisely .c-content h3,
.layout--playwisely .c-content h4,
.layout--playwisely .c-content p,
.layout--playwisely .c-content li,
.layout--playwisely .c-content em,
.layout--playwisely .c-content strong,
.layout--playwisely .c-content a {
  color: #fff;
}
.layout--homepage .c-content a,
.layout--playwisely .c-content a {
  text-decoration: underline;
}

/* PlayWisely šablona — odstranit bílé pozadí z .c-content (chce gradient prosvítat). */
body.layout--playwisely .c-content,
body.layout--playwisely .playwisely-banner {
  background: transparent !important;
}
/* Veškerý text v PlayWisely šabloně bílý, i v hluboce vnořených elementech. */
body.layout--playwisely .c-content,
body.layout--playwisely .c-content * {
  color: #fff;
}
body.layout--playwisely .c-content a {
  color: #fff;
  text-decoration: underline;
}

/* Content šablona — PlayWisely banner roztažený na celou šířku stránky
   (override .container-1080, který by jinak omezil na 1080 px). */
body.layout--content .playwisely-banner.container-1080 {
  width: 100%;
  max-width: none;
}

.c-content h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.c-content a {
  color: #bdd13f;
}

.c-content h2 {
  font-weight: 700;
  padding: 0 0 .4rem 0;
  margin: 0;
}

.c-content p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.c-content .contact-form .hidden {
  padding: 0;
}

.c-content img {
  max-width: 100%;
}

.c-content .kontakt-table {
  margin: auto;
  line-height: 2.2rem;
  margin-bottom: 3rem;
}

@media (min-width: 480px) {
  .c-content .kontakt-table {
    font-size: 1.875rem;
  }
}

.c-content .input,
.c-content .textarea {
  border: 1px solid #000000;
  color: #000000;
}

.p-100 {
  padding: 3rem 0;
}

@media (min-width: 780px) {
  .p-100 {
    padding: 6rem 0;
  }
}


/* =====================================================================
   15. FOOTER (.c-footer)
   ===================================================================== */
.c-footer {
  background: #142b42;
  padding: 3rem 0 4.375rem 0;
  color: #FFF;
}

.maps {
  background: #142b42;
  color: #fff;
  padding: 3rem 0;
}
.maps .white {
  margin-bottom: .5rem;
}
.maps .white .heading-icon {
  margin-bottom: .25rem;
}

/* Kontakt šablona — bílé je jen vnitřní container (c-content), kolem prosvítá body gradient. */
.layout--kontakt .maps {
  background: #fff;
  color: #142b42;
  padding: 0;
}
/* Skryjeme nadpis "Kde nás najdete?" — kontaktní info nahoře už mapy uvádí. */
.layout--kontakt .maps .white {
  display: none;
}
.layout--kontakt .maps .text-white,
.layout--kontakt .maps .text-white * {
  color: #142b42;
}
.layout--kontakt .maps .c-map--with-text {
  margin: 0 0 1.5rem;
}
.layout--kontakt .maps .c-map--with-text:last-child {
  margin-bottom: 0;
}
.layout--kontakt .maps .c-map--with-text img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}


.c-map {
  line-height: 0;
}

.c-map img {
  max-width: 100%;
}

/* Mapy poboček — full-width pod sebou, obrázek roztažený na celou šířku. */
.maps .c-map--with-text {
  margin: 0 0 2rem;
}
.maps .c-map--with-text figcaption {
  line-height: 1.4;
  margin-bottom: .5rem;
  font-size: 1rem;
  color: #fff;
}
.maps .c-map--with-text img {
  display: block;
  width: 100%;
  height: auto;
}


/* =====================================================================
   16. KONTAKT TABLE & COLUMNS
   ===================================================================== */
.kontakt-table {
  margin: auto;
  line-height: 2.2rem;
  margin-bottom: 3rem;
}

@media (min-width: 480px) {
  .kontakt-table {
    font-size: 1.875rem;
  }
}

.sloupec-vlevo,
.sloupec-vpravo {
  width: 98%;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 780px) {
  .sloupec-vlevo {
    width: 48%;
    float: left;
    text-align: left;
  }

  .sloupec-vpravo {
    width: 48%;
    float: right;
    text-align: left;
  }
}

.sloupec-dole {
  clear: both;
}


/* =====================================================================
   17. OVERLAY / MODAL
   ===================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay__content {
  background: #FFF;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.overlay__title {
  font-size: 1.25rem;
}

.overlay__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 1.25rem;
  color: #757575;
  cursor: pointer;
  transition: background 150ms ease;
}

.overlay__close:hover {
  background: #f5f5f5;
}

.overlay__body {
  padding: 1.5rem;
}

.overlay__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e0e0e0;
}


/* =====================================================================
   18. TOAST NOTIFICATIONS
   ===================================================================== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  color: #FFF;
  font-size: 0.875rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  min-width: 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: toast-in 0.3s ease;
}

.toast--success { background: #00b894; }
.toast--error   { background: #d63031; }
.toast--info    { background: #0984e3; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}


/* =====================================================================
   18a. UTILITY CLASSES (extracted from inline styles)
   ===================================================================== */

/* --- Text alignment utilities --- */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-left { text-align: left; }

/* --- Text color utilities --- */
.text-white { color: #FFFFFF; }

/* --- Map section with text (overrides .c-map line-height: 0) --- */
.c-map--with-text { line-height: 1.4; }

/* --- .ac padding modifiers for map sections --- */
.ac--pb { padding-bottom: 30px; }
.ac--ptpb { padding-top: 30px; padding-bottom: 30px; }

/* --- Admin link in footer --- */
.admin-link-wrap { text-align: center; padding: 1rem; font-size: 0.7rem; }
.admin-link { color: #bdbdbd; }
.admin-link:hover { color: #9e9e9e; }

/* --- Founder images (Náš příběh) — zmenšeno o 20 % oproti původním rozměrům --- */
.founder-img {
  width: 100%;
  max-width: 256px;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 8px;
  display: block;
}

@media (min-width: 500px) {
  .founder-img {
    width: 192px;
    margin: .25rem 1.5rem 1rem 0;
  }
}

@media (min-width: 780px) {
  .founder-img {
    width: 224px;
    margin: .25rem 1.75rem 1rem 0;
  }
}

/* --- Spacer divs --- */
.mezera { height: 30px; }
.mezera--clear { clear: both; }
.mezera--sm { height: 10px; }
.mezera--15 { height: 15px; }
.mezera--38 { height: 38px; }

/* --- Team page image (float right) --- */
.team-img-right { margin: 10px 0 0 25px; float: right; }

/* --- Team page images with zero margins --- */
.team-img { margin: 0; }
.team-img-left { margin: 10px 25px 0 0; }

/* --- Spacing utilities --- */
.mt-05 { margin-top: 0.5rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- Form table half-width td --- */
.td-half { width: 50%; }

/* --- Contact-us padded variant (přihláška) --- */
.contact-us--padded { padding: 24px; }

/* --- Application form table full width --- */
.app-form-table { width: 100%; }

/* --- Select input in přihláška --- */
.select-branch { width: 96%; }

/* --- Contact page maps white background --- */
.bg-white { background: #FFFFFF; }


/* --- HTML5 semantic wrappers - no visual impact --- */
.site-header { display: contents; }

/* =====================================================================
   HERO-PAGE OVERLAY HEADER
   When the first block on a page is a hero, we want the page background
   (.c-content-hp .hero with hokejista.png) to extend up behind the header
   — matching the original index.html structure where the <header> sits
   inside the .hero div.
   ===================================================================== */
body.is-hero-page { position: relative; }

body.is-hero-page > .c-navbar,
body.is-hero-page > .c-header {
  position: absolute;
  left: 0; right: 0;
  z-index: 50;
  background: transparent;
}
body.is-hero-page > .c-navbar { top: 0; }
body.is-hero-page > .c-header { top: 2.125rem; /* below navbar */ }

/* Open mobile menu state still gets its dark background. */
body.is-hero-page > .c-header.open { background: #29323f; }

/* Main flow now starts at the very top of the page. */
body.is-hero-page main { padding-top: 0; margin-top: 0; }

/* =====================================================================
   19. CMS DESIGN TOKENS (used only by CMS admin)
   ===================================================================== */
:root {
  /* --- Brand colours --- */
  --green:             #bdd13f;
  --green-hover:       #a2b627;
  --navbar-dark:       #29323f;
  --footer-dark:       #142b42;
  --text:              #000000;
  --white:             #ffffff;

  /* --- Semantic palette --- */
  --color-success:     #00b894;
  --color-error:       #d63031;
  --color-warning:     #fdcb6e;
  --color-info:        #0984e3;

  /* --- Grey scale --- */
  --gray-50:           #fafafa;
  --gray-100:          #f5f5f5;
  --gray-200:          #eeeeee;
  --gray-300:          #e0e0e0;
  --gray-400:          #bdbdbd;
  --gray-500:          #9e9e9e;
  --gray-600:          #757575;
  --gray-700:          #616161;
  --gray-800:          #424242;
  --gray-900:          #2d2d2d;

  /* --- Typography --- */
  --font-family:       'Josefin Sans', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal:400;
  --font-weight-semi:  600;
  --font-weight-bold:  700;

  /* --- Layout --- */
  --container-max:     1370px;
  --container-1080:    1080px;
  --container-630:     630px;

  /* --- Z-index layers --- */
  --z-dropdown:        100;
  --z-sticky:          200;
  --z-overlay:         300;
  --z-modal:           400;
  --z-toast:           500;

  /* --- Transition --- */
  --transition-fast:   150ms ease;
  --transition:        300ms ease;
  --transition-slow:   500ms ease;

  /* --- Shadows --- */
  --shadow-sm:         0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow:            0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md:         0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg:         0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl:         0 20px 60px rgba(0, 0, 0, 0.15);

  /* --- Border radius --- */
  --radius-sm:         6px;
  --radius:            12px;
  --radius-lg:         20px;
  --radius-xl:         30px;
  --radius-full:       9999px;

  /* --- Spacing scale --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}


/* =====================================================================
   20. CMS BUTTONS (btn variants, used only in CMS)
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  letter-spacing: 1.5px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-semi);
  font-size: 0.875rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  line-height: 1.5;
}

.btn:hover {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 15px rgba(189, 209, 63, 0.3);
}

.btn--primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 209, 63, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn--danger {
  background: var(--color-error);
  color: var(--white);
  border-color: var(--color-error);
}

.btn--danger:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: var(--white);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.75rem;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
}


/* =====================================================================
   21. CMS LAYOUT
   ===================================================================== */
.cms {
  display: flex;
  min-height: 100vh;
  background: var(--gray-100);
}

/* --- CMS Sidebar (240px, dark) --- */
.cms-sidebar {
  width: 240px;
  background: var(--navbar-dark);
  color: var(--white);
  padding: var(--space-4) 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-sticky);
}

.cms-sidebar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--white);
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
}

.cms-sidebar__nav {
  flex: 1;
}

.cms-sidebar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-family: inherit;
}

.cms-sidebar__item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.cms-sidebar__item--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--green);
}

.cms-sidebar__item-icon {
  width: 20px;
  text-align: center;
}

.cms-sidebar__footer {
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- CMS Main content area --- */
.cms-main {
  flex: 1;
  margin-left: 240px;
  padding: var(--space-6);
}

.cms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.cms-header__title {
  font-size: 1.5rem;
}

/* --- CMS Dashboard stat cards --- */
.cms-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.cms-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.cms-stat-card__label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.cms-stat-card__value {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  margin-top: var(--space-1);
}

/* --- CMS Table --- */
.cms-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cms-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cms-table-search {
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  width: 250px;
  outline: none;
  transition: border-color var(--transition-fast);
  font-family: var(--font-family);
}

.cms-table-search:focus {
  border-color: var(--green);
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
}

.cms-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.cms-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}

.cms-table tr:hover td {
  background: var(--gray-50);
}

.cms-table__actions {
  display: flex;
  gap: var(--space-1);
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semi);
}

.badge--published {
  background: #e6f9f0;
  color: #00b894;
}

.badge--draft {
  background: var(--gray-200);
  color: var(--gray-600);
}

/* --- CMS Editor layout --- */
.cms-editor {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
}

@media (max-width: 1220px) {
  .cms-editor {
    grid-template-columns: 1fr;
  }
}

.cms-editor__main {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.cms-editor__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cms-editor__panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.cms-editor__panel-title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
}

/* --- Content blocks --- */
.content-block {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  transition: all var(--transition-fast);
}

.content-block:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.content-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: grab;
}

.content-block__header:active {
  cursor: grabbing;
}

.content-block__type {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.content-block__body {
  padding: var(--space-3);
}

.content-block__body .form-textarea {
  border: none;
  padding: var(--space-2);
}

.block-add-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  justify-content: center;
}

.block-add-btn {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-family);
}

.block-add-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(189, 209, 63, 0.08);
}

/* --- Tag input --- */
.tag-input {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: var(--space-2);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  min-height: 40px;
  align-items: center;
}

.tag-input:focus-within {
  border-color: var(--green);
}

.tag-input__tag {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(189, 209, 63, 0.15);
  color: var(--green-hover);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semi);
}

.tag-input__remove {
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1;
}

.tag-input__remove:hover {
  color: var(--color-error);
}

.tag-input__field {
  border: none;
  outline: none;
  flex: 1;
  min-width: 80px;
  font-size: 0.875rem;
  padding: var(--space-1);
  font-family: var(--font-family);
}

.tag-autocomplete__list {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: var(--z-dropdown);
  max-height: 150px;
  overflow-y: auto;
}

.tag-autocomplete__item {
  padding: var(--space-2) var(--space-3);
  font-size: 0.875rem;
  cursor: pointer;
}

.tag-autocomplete__item:hover {
  background: rgba(189, 209, 63, 0.1);
}


/* =====================================================================
   22. CMS MEDIA MANAGER
   ===================================================================== */
.cms-media-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-4);
}

@media (max-width: 780px) {
  .cms-media-layout {
    grid-template-columns: 1fr;
  }
}

.cms-media-folders {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}

.cms-media-folders__title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  color: var(--gray-500);
  text-transform: uppercase;
}

.cms-folder-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cms-folder-item:hover {
  background: var(--gray-100);
}

.cms-folder-item--active {
  background: var(--green);
  color: var(--white);
}

.cms-media-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cms-media-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* --- Grid view --- */
.cms-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-3);
  padding: var(--space-4);
}

.cms-media-item {
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.cms-media-item:hover {
  border-color: var(--green);
}

.cms-media-item--selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(189, 209, 63, 0.3);
}

.cms-media-item__thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-media-item__name {
  padding: var(--space-2);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-media-item__check {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.cms-media-item--selected .cms-media-item__check {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* --- Upload zone --- */
.cms-upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: var(--space-8);
  text-align: center;
  margin: var(--space-4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cms-upload-zone:hover,
.cms-upload-zone--active {
  border-color: var(--green);
  background: rgba(189, 209, 63, 0.05);
}

.cms-upload-zone__text {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: var(--space-2);
}

/* --- Detail panel --- */
.cms-media-detail {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 350px;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  z-index: var(--z-modal);
  overflow-y: auto;
}

.cms-media-detail__preview {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

/* --- List view --- */
.cms-media-list {
  padding: var(--space-4);
}

.cms-media-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cms-media-list-item:hover {
  background: var(--gray-50);
}

.cms-media-list-item__info {
  flex: 1;
}

.cms-media-list-item__name {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semi);
}

.cms-media-list-item__meta {
  font-size: 0.75rem;
  color: var(--gray-500);
}


/* =====================================================================
   23. CMS CATEGORIES
   ===================================================================== */
.cms-category-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cms-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--gray-100);
  cursor: grab;
}

.cms-category-item:last-child {
  border-bottom: none;
}

.cms-category-item__color {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.cms-category-item__info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cms-category-item__name {
  font-weight: var(--font-weight-semi);
  font-size: 0.875rem;
}

.cms-category-item__slug {
  font-size: 0.75rem;
  color: var(--gray-500);
}


/* =====================================================================
   24. CMS AUTHORS
   ===================================================================== */
.cms-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.cms-author-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cms-author-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: linear-gradient(135deg, rgba(189, 209, 63, 0.15), #fff0f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green);
  flex-shrink: 0;
}

.cms-author-card__info {
  flex: 1;
}

.cms-author-card__name {
  font-weight: var(--font-weight-bold);
}

.cms-author-card__email {
  font-size: 0.875rem;
  color: var(--gray-500);
}


/* =====================================================================
   25. CMS LOGIN
   ===================================================================== */
.cms-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navbar-dark);
}

.cms-login__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10);
  width: 100%;
  max-width: 400px;
}


/* =====================================================================
   26. CMS SETTINGS
   ===================================================================== */
.cms-settings {
  max-width: 600px;
}

.cms-settings__section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.cms-settings__section-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--gray-200);
}

/* --- View toggle (grid / list) --- */
.view-toggle {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.view-toggle__btn {
  padding: var(--space-1) var(--space-3);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--gray-600);
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.view-toggle__btn--active {
  background: var(--green);
  color: var(--white);
}


/* =====================================================================
   27. CMS FORM ELEMENTS (used in CMS admin only)
   ===================================================================== */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-2);
  color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
  outline: none;
  background: var(--white);
  font-family: var(--font-family);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}


/* =====================================================================
   28. CMS RESPONSIVE
   ===================================================================== */
@media (max-width: 780px) {
  .cms-sidebar {
    width: 60px;
  }

  .cms-sidebar__item span {
    display: none;
  }

  .cms-sidebar__logo span {
    display: none;
  }

  .cms-main {
    margin-left: 60px;
    padding: var(--space-3);
  }

  .cms-editor {
    grid-template-columns: 1fr;
  }

  .cms-media-layout {
    grid-template-columns: 1fr;
  }

  .cms-media-detail {
    width: 100%;
  }
}


/* =====================================================================
   29. PRINT STYLES
   ===================================================================== */
@media print {
  .c-navbar,
  .c-header,
  .c-footer,
  .cms,
  .cms-sidebar,
  .skip-link,
  .overlay,
  .toast-container {
    display: none !important;
  }

  body {
    background: white !important;
    color: black;
    font-size: 12pt;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .c-content-hp .hero {
    background: none !important;
  }
}

/* =====================================================================
   A11Y & FORM HELPERS (added)
   ===================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.contact-form .form-row,
.app-form-table .form-row {
  display: flex;
  gap: .6rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}

/* Pole s viditelným popiskem (formuláře) */
.field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  width: 100%;
}
.field__label {
  font-size: .9rem;
  font-weight: 500;
  color: inherit;
  display: block;
  text-align: left;
}
.field__required {
  color: #dc2626;
  margin-left: .15rem;
}
/* Uvnitř .field má input/textarea/select vždy plnou šířku wrapperu */
.field .input,
.field .textarea {
  width: 100%;
  margin: 0;
}

/* Form feedback messages */
.form-msg {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 6px;
  font-size: .95rem;
  border: 1px solid transparent;
}
.form-msg--ok {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}
.form-msg--err {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.input--error {
  border-color: #dc2626 !important;
  background: #fef2f2;
}

.contact-form .form-row > *,
.app-form-table .form-row > * {
  flex: 1 1 200px;
  min-width: 0;
}

.contact-form .form-row--single > *,
.app-form-table .form-row--single > * {
  flex: 1 1 100%;
}

.form-consent {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: .6rem 0 1rem;
  font-size: .8rem;
  line-height: 1.4;
}

.form-consent input[type="checkbox"] {
  margin: .2rem 0 0;
  flex: 0 0 auto;
}

.form-consent a {
  color: inherit;
  text-decoration: underline;
}

a.phone-link {
  color: inherit;
  text-decoration: none;
}

a.phone-link:hover,
a.phone-link:focus {
  text-decoration: underline;
}

/* Tabs — make focusable tabs visible */
.c-how-look button.item[role="tab"] {
  background: transparent;
  font: inherit;
  color: #fff;
  cursor: pointer;
}

.c-how-look .item[role="tab"]:focus-visible {
  outline: 2px solid #bdd13f;
  outline-offset: 2px;
}

/* Team grid — dva sloupce, výškově zarovnané přes CSS grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 779px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Team cards */
.team-card {
  margin: 0;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card--empty {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 779px) {
  .team-card--empty { display: none; }
}

/* Prázdné místo, když Pavla je „sama na řádku". V grid layoutu drží sloupec; na mobile se skryje. */
.team-card--placeholder {
  background: transparent;
  box-shadow: none;
  padding: 0;
  visibility: hidden;
}
@media (max-width: 779px) {
  .team-card--placeholder { display: none; }
}

/* Chybějící fotka — prázdný šedý box ve stejném poměru jako reálná fotka */
.team-card__photo--missing {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
}

.team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.team-card__name {
  margin-top: .6rem;
  font-size: 1rem;
  line-height: 1.35;
}

.team-card__name strong {
  display: inline-block;
  font-size: 1.1rem;
}

/* Reviews */
.reviews-list {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.review {
  border-left: 3px solid #bdd13f;
  padding: .5rem 0 .5rem 1rem;
}

.review blockquote {
  margin: 0 0 .5rem;
  font-style: italic;
}

.review blockquote p {
  margin: 0 0 .5rem;
}

.review footer {
  font-size: .9rem;
  opacity: .8;
}

.review cite {
  font-style: normal;
  font-weight: 600;
}

/* Gallery grid */
.gallery-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-grid a {
  display: block;
  text-align: center;
  text-decoration: none;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.gallery-grid span {
  display: block;
  margin-top: .5rem;
}

/* Square variant — fills 1:1 with cover, click for lightbox */
.gallery-grid--square .gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
  background: #f3f4f6;
}

/* Obsahová šablona — bílé pozadí jen na obsahových sekcích (gradient body prosvítá kolem) */
.layout--content .container-630.p-100,
.layout--content .gallery-section {
  background: #fff;
}

/* Popup bannery */
.popup-host { position: fixed; inset: 0; pointer-events: none; z-index: 9000; }
.popup {
  position: fixed; pointer-events: auto;
  box-shadow: 0 14px 50px rgba(0,0,0,.25);
  border-radius: 8px;
  overflow: hidden;
}
.popup__overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); pointer-events: auto; }
.popup__inner { position: relative; padding: 1.5rem 1.75rem; max-width: 32rem; }
.popup__close {
  position: absolute; top: .35rem; right: .5rem;
  width: 32px; height: 32px; border: 0; background: transparent;
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: currentColor;
  opacity: .6; transition: opacity .15s;
  z-index: 2;
}
.popup__close:hover { opacity: 1; }
/* Obrázek vyplňuje šířku banneru až k okrajům (banner má overflow:hidden), bez vlastních rohů. */
.popup__image {
  display: block; width: 100%; height: auto;
  margin: -1.5rem -1.75rem 1rem;
  width: calc(100% + 3.5rem);
  border-radius: 0;
}
.popup__title { margin: 0 0 .5rem; font-size: 1.4rem; }
.popup__content { font-size: .95rem; line-height: 1.5; }
.popup__content p { margin: 0 0 .75rem; }
.popup__cta {
  display: inline-block; margin-top: 1rem;
  padding: .65rem 1.25rem; background: #bdd13f; color: #fff;
  border-radius: 6px; text-decoration: none; font-weight: 600;
}
.popup__cta:hover { filter: brightness(.95); color: #fff; }

/* Pozice modal — uprostřed viewportu s overlayem */
.popup--modal { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(94vw, 32rem); z-index: 9100; }
.popup--modal .popup__overlay { z-index: -1; }

/* Pozice corner — toast vpravo dole */
.popup--corner { bottom: 1.5rem; right: 1.5rem; width: min(94vw, 22rem); }
.popup--corner .popup__overlay { display: none; }
.popup--corner .popup__inner { padding: 1rem 1.25rem; }
.popup--corner .popup__title { font-size: 1.1rem; }
.popup--corner .popup__content { font-size: .85rem; }
.popup--corner .popup__image { margin: -1rem -1.25rem .75rem; width: calc(100% + 2.5rem); }

/* Pozice topbar — celá šířka nahoře */
.popup--topbar { top: 0; left: 0; right: 0; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.popup--topbar .popup__overlay { display: none; }
.popup--topbar .popup__inner { max-width: 1080px; margin: 0 auto; padding: .85rem 3rem .85rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.popup--topbar .popup__image { display: none; }
.popup--topbar .popup__title { font-size: 1rem; margin: 0; }
.popup--topbar .popup__content { font-size: .9rem; flex: 1 1 200px; }
.popup--topbar .popup__content p { margin: 0; }
.popup--topbar .popup__cta { margin-top: 0; padding: .4rem .9rem; font-size: .9rem; }
.popup--topbar .popup__close { top: 50%; right: 1rem; transform: translateY(-50%); }

/* Mobile drawer pro modal */
@media (max-width: 600px) {
  .popup--modal { top: auto; left: 0; right: 0; bottom: 0; transform: none; width: 100%; border-radius: 12px 12px 0 0; }
  .popup--corner { left: 1rem; right: 1rem; width: auto; }
}

/* PlayWisely banner — bílý kontejner (c-content container-1080), max 1080 px. */
.playwisely-banner {
  padding: 3rem 0;
  text-align: center;
  background: #fff;
}
.playwisely-banner__logo {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* Spacer block — vertikální mezera mezi bloky, různá pro mobile/tablet/desktop.
   Wrapper má strukturu .c-content > .container-630, takže přebírá stejnou
   šířku i bílé pozadí v obsahové šabloně jako ostatní sekce. */
.bb-spacer {
  width: 100%;
  height: var(--bb-spacer-mobile, 20px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-spacer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bb-spacer__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
@media (min-width: 600px) {
  .bb-spacer { height: var(--bb-spacer-tablet, 40px); }
}
@media (min-width: 1024px) {
  .bb-spacer { height: var(--bb-spacer-desktop, 60px); }
}

/* Když jdou dvě .c-content sekce za sebou (např. úvodní text + zakladatelé na Náš příběh),
   zruš dvojnásobný vertikální padding mezi nimi. */
.c-content + .c-content > .container-630.p-100 {
  padding-top: 0;
}
.c-content:has(+ .c-content) > .container-630.p-100 {
  padding-bottom: 0;
}

/* Pokud má galerie navazující .c-content sekci, vyhoď i bottom margin .gallery-gridu,
   aby mezi dvěma galeriemi (nebo galerií + dalším obsahem) nezůstávala žádná mezera. */
.gallery-section:has(+ .c-content) .gallery-grid {
  margin-bottom: 0;
}
.gallery-grid--square .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .25s ease;
}
.gallery-grid--square .gallery-item:hover img { transform: scale(1.04); }
.gallery-grid--square .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .5rem .6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent);
  color: #fff;
  font-size: .85rem;
  text-align: left;
  margin-top: 0;
  pointer-events: none;
}

/* Lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
  animation: lightbox-in .15s ease;
}
.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255, 255, 255, .15); color: #fff;
  border: 0; width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .12s;
  z-index: 2;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .3); }

.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .15); color: #fff;
  border: 0; width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 2.4rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .12s;
  z-index: 2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .35); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__figure { margin: 0; max-width: 95vw; max-height: 95vh; display: flex; flex-direction: column; align-items: center; cursor: default; }
.lightbox__caption {
  margin-top: .75rem; padding: .35rem .75rem;
  color: #fff; font-size: .9rem; line-height: 1.4;
  background: rgba(0, 0, 0, .55);
  border-radius: 4px;
  max-width: 80vw;
  text-align: center;
}
.lightbox__counter {
  position: absolute; top: 1rem; left: 1rem;
  padding: .35rem .65rem;
  background: rgba(255, 255, 255, .15); color: #fff;
  border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .03em;
}

@keyframes lightbox-in { from { opacity: 0 } to { opacity: 1 } }

@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
}

[x-cloak] { display: none !important; }

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  color: #222;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 1rem 1.25rem;
  z-index: 9999;
  font-size: .9rem;
  line-height: 1.5;
}

.cookie-consent__text {
  margin: 0 0 .75rem;
}

.cookie-consent__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__btn {
  border: 1px solid #7c77b7;
  background: #7c77b7;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: #7c77b7;
}

.cookie-consent__btn:hover,
.cookie-consent__btn:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.cookie-consent a {
  color: #7c77b7;
}

/* =====================================================================
   Hierarchické menu — podnabídky
   ===================================================================== */
.c-header .menu {
  gap: 0;
  flex-wrap: wrap;
}
.c-header .menu .menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
}
.c-header .menu .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.menu-caret {
  font-size: .7em;
  opacity: .7;
  transition: transform .2s;
  line-height: 1;
}
.c-header .menu .menu-item.has-children:hover > a > .menu-caret,
.c-header .menu .menu-item.has-children:focus-within > a > .menu-caret {
  transform: rotate(-180deg);
}
.c-header .menu .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  background: #29323f;
  padding: .5rem 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.c-header .menu .menu-item.has-children:hover > .submenu,
.c-header .menu .menu-item.has-children:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.c-header .menu .submenu a {
  padding: .55rem 1rem;
  font-size: .9rem;
  border-bottom: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.c-header .menu .submenu a:hover,
.c-header .menu .submenu a.on {
  background: rgba(255, 255, 255, .08);
  border-bottom: none;
}
/* Submenu of submenu — flyout to the right */
.c-header .menu .submenu .menu-item { flex-direction: row; }
.c-header .menu .submenu .submenu {
  top: 0;
  left: 100%;
  transform: translate(-6px, 0);
  margin-left: .25rem;
}
.c-header .menu .submenu .menu-item.has-children:hover > .submenu,
.c-header .menu .submenu .menu-item.has-children:focus-within > .submenu {
  transform: translate(0, 0);
}

@media only screen and (max-width: 780px) {
  .c-header .menu { flex-direction: column; }
  .c-header .menu .menu-item { width: 100%; align-items: center; }
  .c-header .menu .menu-item > a { justify-content: center; }
  .c-header .menu .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
  }
  .c-header .menu .submenu a { text-align: center; }
  .c-header .menu .submenu .submenu { margin-left: 0; }
}

