/* Compact homepage festival timeline: clickable dates, headliners and supporting acts. */
.home-program { background:var(--teal-50,#eaf3f3); }
.home-program .hp-mini-controls { display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px; }
.home-program .hp-mini-controls > span { color:var(--muted,#6a8088);font-size:.82rem; }
.home-program .hp-mini-arrows { display:flex;gap:7px; }
.home-program .hp-mini-arrows button { display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line,#ccdcdf);border-radius:50%;background:transparent;color:var(--ink,#19323d);cursor:pointer;transition:background .2s,color .2s; }
.home-program .hp-mini-arrows button:hover:not(:disabled),.home-program .hp-mini-arrows button:focus-visible { background:var(--teal,#13808b);color:#fff; }
.home-program .hp-mini-arrows button:disabled { opacity:.32;cursor:default; }
.home-program .hp-mini-scroll { overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scroll-padding:2px;padding:4px 0 8px; }
.home-program .hp-mini-line { position:relative;display:grid;grid-template-columns:repeat(var(--hp-count),minmax(225px,1fr));width:max-content;min-width:100%; }
.home-program .hp-mini-line::before { content:"";position:absolute;top:9px;height:3px;background:#bfd5d8;left:calc(50% / var(--hp-count));right:calc(50% / var(--hp-count));border-radius:4px; }
.home-program .hp-mini-day { position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:0 12px 10px;scroll-snap-align:start; }
.home-program .hp-mini-dot { display:block;z-index:1;position:relative;width:20px;height:20px;border:5px solid #547987;box-sizing:border-box;border-radius:50%;background:#183640;margin:0 0 5px; }
.home-program .hp-mini-day.is-now .hp-mini-dot { border-color:#74d2d1;box-shadow:0 0 0 4px rgba(54,173,173,.2); }
.home-program .hp-mini-day.is-past .hp-mini-dot { background:var(--teal,#13808b);border-color:var(--teal,#13808b); }
.home-program .hp-mini-date { display:block;font-size:.9rem;font-weight:800;line-height:1.3;color:var(--ink,#19323d);text-decoration:none; }
.home-program .hp-mini-headliner { display:block;font-size:1.13rem;font-weight:850;line-height:1.3;text-decoration:none;color:var(--ink,#19323d);overflow-wrap:anywhere; }
.home-program .hp-mini-date:hover,.home-program .hp-mini-date:focus-visible,.home-program .hp-mini-headliner:hover,.home-program .hp-mini-headliner:focus-visible { color:var(--teal-600,#13808b);text-decoration:underline;text-underline-offset:4px; }
.home-program .hp-mini-time { font-size:.8rem;font-weight:800;color:var(--teal-600,#13808b); }
.home-program .hp-mini-support { list-style:none;padding:0;margin:1px 0 0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 8px;color:var(--muted,#687e85);font-size:.8rem;line-height:1.45; }
.home-program .hp-mini-support li { display:inline; }
.home-program .hp-mini-support li + li:before { content:"·";margin-right:7px;color:var(--muted,#829da3); }
.home-program .hp-mini-support time { margin-right:4px;color:var(--teal-600,#13808b);font-weight:800;font-variant-numeric:tabular-nums; }
.home-program .hp-mini-support a { color:inherit;text-decoration:none; }
.home-program .hp-mini-support a:hover,.home-program .hp-mini-support a:focus-visible { color:var(--teal-600,#13808b);text-decoration:underline;text-underline-offset:3px; }
html[data-theme="dark"] .home-program { background:#102f38; }
html[data-theme="dark"] .home-program .hp-mini-line::before { background:#9abac0; }
html[data-theme="dark"] .home-program .hp-mini-dot { background:#102f38;border-color:#31515f; }
html[data-theme="dark"] .home-program .hp-mini-day.is-now .hp-mini-dot { border-color:#81d3d5; }
html[data-theme="dark"] .home-program .hp-mini-date,html[data-theme="dark"] .home-program .hp-mini-headliner { color:#e7f1f4; }
html[data-theme="dark"] .home-program .hp-mini-date:hover,html[data-theme="dark"] .home-program .hp-mini-headliner:hover,html[data-theme="dark"] .home-program .hp-mini-support a:hover { color:#75d1d8; }
html[data-theme="dark"] .home-program .hp-mini-time,html[data-theme="dark"] .home-program .hp-mini-support time { color:#74d0d5; }
html[data-theme="dark"] .home-program .hp-mini-support,html[data-theme="dark"] .home-program .hp-mini-controls>span { color:#b3cbd0; }
html[data-theme="dark"] .home-program .hp-mini-arrows button { color:#e7f1f4;border-color:#33525d; }
@media(max-width:700px) {
 .home-program .hp-mini-line { grid-template-columns:repeat(var(--hp-count),minmax(178px,1fr));width:max-content;min-width:100%; }
 .home-program .hp-mini-day { padding-inline:9px; }
 .home-program .hp-mini-date { font-size:.81rem; }
 .home-program .hp-mini-headliner { font-size:1rem; }
 .home-program .hp-mini-controls>span { font-size:.74rem; }
}
@media(prefers-reduced-motion:reduce) { .home-program .hp-mini-arrows button { transition:none; } }

/* Winter Park / Winterfest — visual language adapted from the supplied poster:
   midnight blue triangles, cyan / violet ribbons, rose-pink lights and stars.
   The actual performer names remain real accessible text and links. */
.home-program.home-program--winter-art {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#091B40;
  background-image:
    linear-gradient(90deg,rgba(5,16,40,.91) 0%,rgba(7,22,50,.76) 33%,rgba(5,20,48,.39) 70%,rgba(7,20,48,.20) 100%),
    url('../img/winter-festival-home.svg');
  background-position:center,center 52%;
  background-size:cover,cover;
  background-repeat:no-repeat;
  color:#EAF7FC;
}
.home-program.home-program--winter-art > .wrap { position:relative;z-index:1; }
.home-program.home-program--winter-art .section-head { position:relative; }
.home-program.home-program--winter-art .section-head h2 {
  color:#F8FAFF;
  text-shadow:0 2px 15px rgba(0,0,0,.18);
}
.home-program.home-program--winter-art .section-head p,
.home-program.home-program--winter-art .hp-mini-controls > span {
  color:#C0D8ED;
  opacity:1;
}
.home-program.home-program--winter-art .section-head .link-arrow {
  color:#7DE7F3;
  font-weight:800;
}
.home-program.home-program--winter-art .section-head .link-arrow:hover,
.home-program.home-program--winter-art .section-head .link-arrow:focus-visible { color:#FFF2FD; }
.home-program.home-program--winter-art .hp-mini-line::before {
  background:linear-gradient(90deg,rgba(116,223,246,.20),#76DFF3 48%,rgba(234,83,185,.7));
  height:3px;
  box-shadow:0 0 10px rgba(86,195,228,.28);
}
.home-program.home-program--winter-art .hp-mini-dot {
  border-color:#60C8E5;
  background:#102950;
  box-shadow:0 0 0 3px rgba(89,221,238,.10);
}
.home-program.home-program--winter-art .hp-mini-day.is-now .hp-mini-dot {
  border-color:#F979C6;
  box-shadow:0 0 0 4px rgba(247,81,179,.22);
}
.home-program.home-program--winter-art .hp-mini-day.is-past .hp-mini-dot {
  border-color:#4AA5C7;
  background:#4AA5C7;
}
.home-program.home-program--winter-art .hp-mini-date { color:#D4E9F4; }
.home-program.home-program--winter-art .hp-mini-headliner {
  color:#FFFFFF;
  text-shadow:0 2px 14px rgba(0,0,0,.22);
}
.home-program.home-program--winter-art .hp-mini-time { color:#8EEAF4; }
.home-program.home-program--winter-art .hp-mini-headliner:hover,
.home-program.home-program--winter-art .hp-mini-headliner:focus-visible,
.home-program.home-program--winter-art .hp-mini-date:hover,
.home-program.home-program--winter-art .hp-mini-date:focus-visible { color:#FFACDF; }
.home-program.home-program--winter-art .hp-mini-arrows button {
  background:rgba(12,40,70,.68);
  border-color:rgba(161,221,243,.38);
  color:#DAF4FF;
}
.home-program.home-program--winter-art .hp-mini-arrows button:hover:not(:disabled),
.home-program.home-program--winter-art .hp-mini-arrows button:focus-visible {
  color:#0B214B;
  background:#7CE7F0;
  border-color:#7CE7F0;
}
.home-program.home-program--winter-art .hp-mini-arrows button:disabled { opacity:.4; }
.home-program.home-program--winterfest {
  background-position:center,right 36%;
}
html[data-theme="dark"] .home-program.home-program--winter-art,
html[data-theme="light"] .home-program.home-program--winter-art {
  background-color:#091B40;
}
/* Keep the official graphic readable on the narrow mobile rail. */
@media (max-width:700px) {
  .home-program.home-program--winter-art {
    background-image:
      linear-gradient(90deg,rgba(5,16,40,.83) 0%,rgba(7,22,50,.69) 60%,rgba(7,21,50,.34) 100%),
      url('../img/winter-festival-home.svg');
    background-position:center,69% center;
    background-size:cover,auto 100%;
  }
  .home-program.home-program--winter-art .section-head h2 { font-size:clamp(1.55rem,6.2vw,2.1rem); }
  .home-program.home-program--winter-art .section-head .link-arrow { font-size:.85rem; }
}

/* Make the supplied festival poster visible without obscuring interactive text. */
.home-program.home-program--winter-art .hp-winter-poster {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:70% 42%;
  opacity:.62;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.13) 40%,#000 83%);
  mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.13) 40%,#000 83%);
}
.home-program.home-program--winter-art .hp-mini-scroll {
  position:relative;
  background:rgba(4,14,35,.40);
  box-shadow:inset 0 1px 0 rgba(184,237,255,.12),0 12px 32px rgba(0,0,0,.09);
  border-radius:14px;
  padding:15px 2px 12px;
}
.home-program.home-program--winter-art .hp-mini-headliner,
.home-program.home-program--winter-art .hp-mini-date {
  text-shadow:0 2px 8px rgba(1,10,26,.67);
}
@media (max-width:700px) {
  .home-program.home-program--winter-art .hp-winter-poster {
    object-position:73% center;
    opacity:.40;
    -webkit-mask-image:linear-gradient(90deg,transparent 3%,rgba(0,0,0,.30) 35%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 3%,rgba(0,0,0,.30) 35%,#000 100%);
  }
  .home-program.home-program--winter-art .hp-mini-scroll { padding-top:13px;padding-bottom:9px; }
}

/* Custom event homepage artwork: the cover for the event itself stays separate. */
.home-program.home-program--with-backdrop:not(.home-program--winter-art) {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#102d43;
  color:#f0f8fb;
}
.home-program.home-program--with-backdrop .hp-winter-poster {
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:.82;
  pointer-events:none;
  -webkit-mask-image:none;
  mask-image:none;
}
.home-program.home-program--with-backdrop::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(90deg,rgba(4,15,36,.83),rgba(6,24,44,.62) 55%,rgba(7,27,48,.40));
  pointer-events:none;
}
.home-program.home-program--with-backdrop > .wrap {position:relative;z-index:2;}
.home-program.home-program--with-backdrop .section-head h2,
.home-program.home-program--with-backdrop .hp-mini-headliner,
.home-program.home-program--with-backdrop .hp-mini-date {color:#effaff;}
.home-program.home-program--with-backdrop .hp-mini-controls > span,
.home-program.home-program--with-backdrop .section-head p {color:#c5e0e7;}
.home-program.home-program--with-backdrop .hp-mini-time {color:#96ebef;}
.home-program.home-program--with-backdrop .hp-mini-scroll {
  position:relative;
  background:rgba(5,17,37,.32);
  border-radius:12px;
}
.home-program.home-program--with-backdrop .hp-mini-line::before {background:#a7d7e5;}
.home-program.home-program--with-backdrop .hp-mini-dot {background:#10394c;border-color:#72d0df;}
.home-program.home-program--with-backdrop .hp-mini-arrows button {background:rgba(4,22,42,.55);color:#e5f8ff;border-color:#85b8c9;}
.home-program.home-program--with-backdrop .hp-mini-arrows button:hover:not(:disabled) {background:#2b8a96;color:#fff;}
.home-program.home-program--with-backdrop .hp-mini-headliner:hover,
.home-program.home-program--with-backdrop .hp-mini-date:hover {color:#9af1f2;}
@media(max-width:700px) {
  .home-program.home-program--with-backdrop .hp-winter-poster {object-position:center;opacity:.69;}
  .home-program.home-program--with-backdrop::before {background:linear-gradient(90deg,rgba(4,15,36,.87),rgba(6,24,44,.57));}
}

/* The festival name is a real link to the event; the full-programme link still opens #program. */
.home-program .section-head h2 .section-heading-event-link {
  color:inherit;
  text-decoration:none;
  border-radius:3px;
  transition:color .16s ease, text-decoration-color .16s ease;
}
.home-program .section-head h2 .section-heading-event-link:hover {
  color:#7edee9;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}
.home-program .section-head h2 .section-heading-event-link:focus-visible {
  outline:3px solid #8bdeec;
  outline-offset:5px;
}
@media(prefers-reduced-motion:reduce) {
  .home-program .section-head h2 .section-heading-event-link {transition:none;}
}
/* Datum iznad linije, izvođač ispod */
.home-program .hp-mini-date { order:-1;height:24px;line-height:24px;white-space:nowrap; }
.home-program .hp-mini-line::before { top:40px; }
.home-program .hp-mini-dot { margin:0 0 3px; }
.home-program .hp-mini-arrows { margin-left:auto; }
/* Naslov programa: „Cijeli program” i strelice u ravnini s naslovom */
.home-program .hp-head { align-items:flex-start; }
.home-program .hp-head-tools { display:flex;align-items:center;gap:14px;flex:none;min-height:2.6rem; }
.home-program .hp-head-tools .link-arrow { background:none;padding:0;white-space:nowrap; }
.home-program .hp-head-tools .hp-mini-arrows { margin:0; }
@media (max-width:640px){ .home-program .hp-head { flex-wrap:wrap; } .home-program .hp-head-tools { width:100%;justify-content:space-between;min-height:0; } }
/* Winter Park: logo s pozadinske slike (≈64% širine, 37% visine) centriran u traci */
.home-program.home-program--winter-art .hp-winter-poster.hp-winter-poster {
  object-position:center 28%;
  transform:translateX(-19.6%) scale(1.4);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 22%,#000 45%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 22%,#000 45%);
}
.home-program.home-program--winter-art { overflow:hidden; }
@media (max-width:700px) {
  .home-program.home-program--winter-art .hp-winter-poster.hp-winter-poster { object-position:75% center;transform:none; }
}
