.hero {
  padding: 100px 0px 10px 0px;
}

.hero .content {
  margin-top: 80px;
}

.hero .content .icon-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero .world-more {
  display: inline-block;
  align-self: center;
  margin-top: auto;
  padding: 8px 24px;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
  font-size: 13px;
  text-transform: uppercase;
}

.hero .world-more:hover,
.hero .world-more:focus-visible {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
  color: #fff;
}

.header .logo h1 {
  font-size: 20px;
}

.hero .welcome {
  width: 100%;
  text-align: center;
  margin-top: -100px;
  margin-bottom: 10px;
}

.hero img.nadpis-festivalu {
  position: relative;
  inset: auto;
  display: inline-block;
  width: 700px;
  max-width: 90%;
  height: auto;
  object-fit: contain;
  z-index: 3;
}

section.stats,
.worlds-intro {
  background-color: #ec1bd5;
}

.festival-countdown h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
}

.festival-countdown .countdown-date {
  margin: 0 0 24px;
  color: #21051d;
  font-weight: 600;
}

.festival-countdown .stats-item {
  margin: 0;
  padding: 14px 8px;
}

.festival-countdown .stats-item span {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.festival-countdown .countdown-started {
  margin: 0;
  color: #21051d;
  font-size: 22px;
  font-weight: 700;
}

.light-font {
  color: var(--contrast-color);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--contrast-color);
  opacity: 0.7;
}

/* Dětský svět */
.kids-world .nav-link {
  width: 100%;
  text-align: left;
}
.kids-world .activity-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}
.kids-world .nav-link:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}
@media (max-width: 992px) {
  .kids-world .nav-link.active {
    color: var(--contrast-color);
  }
  .kids-world .activity-image {
    max-width: 420px;
  }
}

/* FAQ: jedna vnitřní vrstva zachovává sbalení delších odpovědí i seznamů. */
.faq .faq-content > .faq-answer {
  overflow: hidden;
  min-height: 0;
}
.faq .faq-content .faq-answer p,
.faq .faq-content .faq-answer ul {
  margin-bottom: 1rem;
}
.faq .faq-content .faq-answer > :last-child {
  margin-bottom: 0;
}
.faq .faq-answer ul {
  padding-left: 1.25rem;
}
.faq .faq-answer li + li {
  margin-top: 0.5rem;
}

.festival-partners .section-title p {
  max-width: 760px;
  margin-inline: auto;
  color: #eee8f5;
}

.partner-card {
  height: 100%;
  padding: 32px 24px;
  border: 1px solid #e0dce3;
  background: var(--surface-color);
  text-align: center;
  overflow-wrap: anywhere;
}

.partner-card img {
  width: 180px;
  height: 88px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.partner-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.partner-card a {
  color: #92157f;
  text-decoration: underline;
}

.partner-card p {
  margin: 12px 0 0;
}

/* Festivalové zóny, program a ceník podle zadání z října 2026. */
.festival-zones, .festival-program, .festival-pricing, .festival-charity {
  color: #eee8f5;
}
.festival-zones .section-title p, .festival-program .section-title p,
.festival-pricing .section-title p { color: #eee8f5; }
.festival-zones .nav-tabs { border: 0; gap: 8px; }
.festival-zones .nav-link {
  padding: 14px 18px;
  border: 1px solid #51304e;
  border-radius: 8px;
  color: #eee8f5;
  background: #150c1c;
}
.festival-zones .nav-link.active {
  color: #fff;
  background: #95118a;
  border-color: #ec1bd5;
}
.festival-zones .tab-content { padding: 10px 0 10px 24px; }
.festival-zones .tab-pane > .row > .col-md-7 {
  position: relative;
  padding-inline-start: calc(var(--bs-gutter-x) / 2 + 16px);
}
.festival-zones .tab-pane > .row > .col-md-7::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(var(--bs-gutter-x) / 2);
  width: 2px;
  border-radius: 3px;
  background: #ec1bd5;
}
.zone-art { width: 100%; max-width: 340px; max-height: 490px; object-fit: contain; border-radius: 16px; }
.worlds-intro {
  padding: 32px 16px;
  text-align: center;
}

.worlds-intro h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
}
.festival-program {
  background: radial-gradient(ellipse at 12% 20%, #28102f, transparent 50%),
              radial-gradient(ellipse at 90% 80%, #141a3f, transparent 50%),
              #100918;
}

.program-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.program-slot {
  --program-neon: #ff47ce;
  --program-glow: #701252;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 132px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(105deg, #090711 48%, var(--program-glow)) padding-box,
              linear-gradient(125deg, var(--program-neon), #593889 46%, #212035) border-box;
}

.program-slot:nth-child(even) {
  --program-neon: #6f9cff;
  --program-glow: #183478;
}

.program-slot time {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-inline-end: 14px;
  border-inline-end: 1px solid #563a71;
  color: #ffe4f9;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 0 10px var(--program-neon);
}

.program-slot h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.program-slot p {
  margin: 0;
  color: #eee8f5;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.program-slot:has(.program-portraits img, .program-portraits .bi) {
  padding-inline-end: 37%;
}

.program-portraits {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 39%;
  mask-image: linear-gradient(to right, transparent, #000 30%);
  background: radial-gradient(ellipse at 75% 65%, var(--program-glow), transparent 75%);
}

.program-portraits img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.program-portraits img.program-portrait-top {
  object-position: center top;
}

.program-portraits img.program-portrait-beam {
  object-position: center 9%;
}

.program-portraits.program-portraits--will-maxim {
  /* Z rozšířené fotky se zobrazí jen levý okraj s pozadím. */
  background: url("../img/djs/will-maxim-background.jpg") left center / 400% 100% no-repeat;
}

.program-portraits--will-maxim img {
  flex: none;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: scale-down;
  object-position: center;
  mask-image: linear-gradient(to right, transparent, #000 6px, #000 calc(100% - 6px), transparent);
}

.program-portraits::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 24%, var(--program-glow));
  opacity: .48;
}

.program-portraits .bi {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  text-shadow: 0 0 24px var(--program-neon);
}

@media (max-width: 575.98px) {
  .program-slot {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 5px;
  }

  .program-slot time {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
}

.price-table { width: 100%; min-width: 620px; color: #fff; border-collapse: collapse; }
.price-table caption { color: #dbd0e3; caption-side: bottom; padding-top: 12px; }
.price-table th, .price-table td { border: 1px solid #ec1bd5; padding: 18px; }
.price-table thead { background: #69105f; }
.price-table td { text-align: center; white-space: nowrap; }
.price-table thead th:not(:first-child) { text-align: center; }
.price-table tbody tr:nth-child(even) { background: #1c1024; }

@media (max-width: 767.98px) {
  .price-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 13px;
  }

  .price-table th,
  .price-table td {
    padding: 10px 4px;
    overflow-wrap: anywhere;
  }

  .price-table thead th:first-child {
    width: 37%;
  }

  .price-table td {
    white-space: normal;
  }
}

.festival-button { display: inline-block; padding: 12px 26px; border-radius: 24px; background: #a30c96; color: #fff; }
.tickets .tickets-link {
  padding: 10px 35px;
  border-radius: 50px;
  background-color: var(--accent-color);
}

.tickets .tickets-link:hover {
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
  color: #fff;
}

.festival-charity { background: #190c20; }
@media (min-width: 1200px) {
  .header .logo h1 { font-size: 14px; max-width: 120px; }
  .navmenu a, .navmenu a:focus { padding: 18px 8px; font-size: 13px; }
  .header .cta-btn { font-size: 12px; padding: 9px 12px; margin-left: 12px; }
}
@media (max-width: 767px) {
  .festival-zones .tab-content { padding-left: 0; }
  .zone-art { max-height: 420px; }
  .header .logo h1 { font-size: 14px; }
}
