/* ==========================================================================
   SUNSET CASTLE — INNER PAGES (redesign 2026, "Plakat" direction)
   Loads after hero.css + home.css and restyles the existing markup of the
   event archives, artist/people profiles, the Party Rijeka guide and 404.
   ========================================================================== */

/* ---- Sea You theme: same poster, marine palette ------------------------- */
.theme-sea {
  --night: #03121f;
  --plum: #04263f;
  --plum-2: #0a3a5c;
  --magenta: #0d6a9e;
  --color-castle-magenta: #0d6a9e;
  --color-castle-shadow: #063a5c;
  --color-poster-dark: #04263f;
}

.theme-sea .hero-fullscreen:hover .castle-path--keep {
  fill: #052e49;
}

.hero-poster-date--word {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-event .hero-poster-date {
  align-items: flex-end;
}

/* Static bar on pages without a hero */
.page-sub {
  padding-top: var(--bar-h);
}

.page-sub .scroll-container,
.page-sub main {
  position: relative;
}

/* ==========================================================================
   SHARED PAGE HEADER (pages without a hero)
   ========================================================================== */
.sc-pagetop {
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sc-pagetop .sc-waves {
  height: 80px;
}

.sc-pagetop__sun {
  position: absolute;
  right: -110px;
  top: 70px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(255, 124, 59, 0.8);
  box-shadow: 0 0 90px rgba(255, 124, 59, 0.5), inset 0 0 40px rgba(255, 124, 59, 0.35);
  background: radial-gradient(circle, rgba(255, 124, 59, 0.22), transparent 70%);
}

.sc-pagetop__sun::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 186, 140, 0.4);
  animation: slow-rotate 140s linear infinite;
}

.sc-pagehead {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 1.5rem;
  text-align: left;
}

.sc-pagehead .section-title,
.sc-pagehead h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 13vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--color-pure-white);
  max-width: 12ch;
  margin-bottom: 1.5rem;
  text-align: left;
}

.sc-pagehead .section-subtitle {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 36rem;
  margin: 0;
  text-align: left;
}

.sc-grouphead {
  margin: 4.5rem 0 0;
}

@media (min-width: 900px) {
  .sc-pagetop__sun {
    right: 6%;
    top: 90px;
    width: 380px;
  }

  .sc-pagehead {
    padding: 9rem 0 2.5rem;
  }
}

/* ==========================================================================
   EVENT PAGES — sections after the hero
   ========================================================================== */
.page-event .scroll-container {
  counter-reset: sec;
}

:where(.page-event .scroll-container>section:not(.hero-fullscreen)) {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4.5rem 1.25rem;
  text-align: left;
  color: var(--text);
  background: var(--night);
}

:where(.page-event .scroll-container>section:not(.hero-fullscreen))>* {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

/* section headings: numbered kicker + stacked poster headline */
.page-event section>.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--color-pure-white);
  text-align: left;
  margin-bottom: 1.4rem;
}

.page-event section>.section-title::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--sun-light);
  margin-bottom: 1rem;
}

.page-event section>.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  text-align: left;
  margin-bottom: 2.5rem;
}

.page-event section>.section-subtitle {
  max-width: 40rem;
  margin-left: max(0px, calc((100% - var(--wrap)) / 2));
}

.page-event .details-section,
.page-event .location-section {
  background: var(--plum);
}

.page-event .gallery-section {
  background: linear-gradient(180deg, var(--night) 0%, #1c0312 100%);
}

.theme-sea .gallery-section {
  background: linear-gradient(180deg, var(--night) 0%, #062037 100%);
}

/* ---- Status band (Rosbeh) and off-season band (Sea You) ----------------- */
.sc-band,
.page-event .countdown-container {
  position: relative;
  overflow: hidden;
  color: var(--plum);
  background: radial-gradient(circle at 80% 20%, var(--sun-light) 0%, var(--sun) 45%, var(--sun-deep) 100%) !important;
}

.sc-band::before,
.page-event .countdown-container::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  right: -200px;
  top: -160px;
  border-radius: 50%;
  border: 2px solid rgba(42, 4, 27, 0.2);
  pointer-events: none;
}

.sc-band {
  padding: 3rem 0;
}

.sc-band__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.sc-band__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 6.5vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  max-width: 22ch;
}

.sc-btn--plum {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--cream);
}

.sc-btn--plum:hover {
  background: #000;
  border-color: #000;
  color: var(--color-pure-white);
}

.page-event .countdown-container {
  text-align: left;
  padding: 3.5rem 1.25rem !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-event .countdown-label span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(4, 38, 63, 0.75);
  margin-bottom: 0.75rem;
}

.page-event .countdown-offseason-message {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 11vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0;
}

@media (min-width: 900px) {
  .sc-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- Details: three numbered poster columns ----------------------------- */
.info-cards-grid {
  display: grid;
  gap: 2rem;
  counter-reset: info;
}

.info-card {
  counter-increment: info;
  border-top: 2px solid var(--sun-light);
  padding-top: 1.2rem;
  background: none;
  text-align: left;
}

.info-card-icon {
  display: none;
}

.info-card::before {
  content: counter(info, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sun-light);
  margin-bottom: 0.6rem;
}

.info-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin-bottom: 0.75rem;
}

.info-card p {
  line-height: 1.65;
}

@media (min-width: 900px) {
  .info-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* ---- Video -------------------------------------------------------------- */
.video-link-overlay {
  display: block;
  text-decoration: none;
}

.autoplay-video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hair);
  box-shadow: 0 0 80px rgba(255, 124, 59, 0.25);
  transition: box-shadow 0.4s ease;
}

.autoplay-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.2);
  border: 0;
}

.video-link-overlay:hover .autoplay-video-container {
  box-shadow: 0 0 110px rgba(255, 124, 59, 0.5);
}

/* ---- Lineup: headliner + rings ------------------------------------------ */
.headline-dj-showcase {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.dj-photo-container {
  width: min(320px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 124, 59, 0.85);
  box-shadow: 0 0 90px rgba(255, 124, 59, 0.5);
}

.dj-photo-container img {
  border-radius: 50% !important;
}

.headline-dj-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--color-espresso-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.headline-dj-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 16vw, 7rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin: 1rem 0 0.75rem;
}

.headline-dj-sub {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.headline-dj-bio {
  line-height: 1.7;
  max-width: 36rem;
}

.dj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1rem;
  margin-top: 1rem;
}

.dj-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: none;
  border: 0;
}

.dj-card-photo {
  width: min(140px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(255, 124, 59, 0.75);
  box-shadow: 0 0 40px rgba(255, 124, 59, 0.35);
  margin-bottom: 1rem;
}

.dj-card-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--color-pure-white);
}

.dj-card-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun-light);
  margin-top: 0.35rem;
}

.dj-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.lineup-section .action-button-outline {
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .headline-dj-showcase {
    grid-template-columns: auto 1fr;
    gap: 4rem;
  }

  .dj-photo-container {
    width: 360px;
  }

  .dj-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .theme-sea .dj-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* buttons used across the old markup */
.action-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.action-button-outline svg path {
  stroke: currentColor;
}

.action-button-outline:hover {
  background: var(--color-pure-white);
  color: var(--plum);
}

/* ---- Location: map under the castle's crenellated edge ------------------ */
.map-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  -webkit-mask:
    linear-gradient(#000 0 0) 0 22px / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 56px) 0 0 / 100% 23px no-repeat;
  mask:
    linear-gradient(#000 0 0) 0 22px / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 56px) 0 0 / 100% 23px no-repeat;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) contrast(0.95);
}

@media (min-width: 900px) {
  .map-wrapper {
    aspect-ratio: 21 / 9;
  }
}

/* ---- Gallery (tiles built by gallery.js) -------------------------------- */
.gallery-section[hidden] {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 0.5rem;
}

.gallery-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--plum);
}

.gallery-item:nth-child(5n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-note {
  margin-top: 1.5rem !important;
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .gallery-item:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 1, 8, 0.96);
}

.lightbox[hidden] {
  display: none;
}

.lb-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(255, 124, 59, 0.25);
}

.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 124, 59, 0.8);
  background: rgba(18, 2, 11, 0.6);
  color: var(--color-pure-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lb-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--color-espresso-dark);
}

.lb-close {
  top: 1rem;
  right: 1rem;
}

.lb-prev {
  left: 1rem;
}

.lb-next {
  right: 1rem;
}

.lb-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
}

/* ==========================================================================
   PROFILE PAGES — artists (Izvođači) and crew (O nama)
   ========================================================================== */
.djs-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.artist-detail-card {
  display: grid;
  gap: 1.75rem;
  padding: 3rem 0;
  border-top: 1px solid var(--hair);
  background: none;
  box-shadow: none;
  border-radius: 0;
  scroll-margin-top: calc(var(--bar-h) + 1rem);
}

.sc-pagehead+.artist-detail-card,
.sc-grouphead+.artist-detail-card {
  border-top: 0;
}

.artist-photo-frame {
  width: min(260px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 124, 59, 0.85);
  box-shadow: 0 0 70px rgba(255, 124, 59, 0.45);
}

.artist-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 12vw, 4.8rem);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin-bottom: 1rem;
}

.artist-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.artist-meta-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: none;
}

.artist-meta-badge:first-child {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--color-espresso-dark);
}

.artist-bio-text {
  line-height: 1.75;
  color: var(--text);
  max-width: 40rem;
}

.artist-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 124, 59, 0.7);
  color: var(--color-pure-white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icon-btn svg {
  fill: currentColor;
}

.social-icon-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--color-espresso-dark);
}

.placeholder-artist-card {
  margin-top: 1rem;
  padding: 2rem 1.5rem;
  border: 1.5px dashed rgba(255, 124, 59, 0.6);
  color: var(--text);
  line-height: 1.7;
}

.placeholder-artist-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin-bottom: 0.75rem;
}

.placeholder-artist-card a {
  color: var(--gold) !important;
}

@media (min-width: 900px) {
  .artist-detail-card {
    grid-template-columns: 320px 1fr;
    gap: 4.5rem;
    align-items: center;
    padding: 4.5rem 0;
  }

  .artist-photo-frame {
    width: 320px;
  }

  /* alternate sides, like a printed programme */
  .artist-detail-card:nth-of-type(even) {
    grid-template-columns: 1fr 320px;
  }

  .artist-detail-card:nth-of-type(even) .artist-photo-frame {
    order: 2;
  }
}

/* ==========================================================================
   GUIDE — Party Rijeka article
   ========================================================================== */
.sc-guide {
  display: block;
}

.sc-guide article {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  color: var(--text);
}

.sc-guide .kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sun-light);
  margin-bottom: 1.25rem;
}

.sc-guide .sc-pagehead h1 {
  font-size: clamp(2.3rem, 9.5vw, 4.4rem);
  line-height: 0.95;
  max-width: none;
}

.sc-guide h1 .accent {
  color: var(--sun-light);
}

.sc-guide article>p {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.sc-guide strong {
  color: var(--color-pure-white);
}

.sc-guide article a {
  color: var(--gold);
}

.sc-guide h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin: 3.5rem 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--sun-light);
}

.sc-guide ul {
  list-style: none;
  margin: 0 0 1rem;
}

.sc-guide li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2.2rem;
  border-bottom: 1px solid var(--hair);
  line-height: 1.55;
}

.sc-guide li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun-light), var(--sun-deep));
  box-shadow: 0 0 14px rgba(255, 124, 59, 0.7);
}

.sc-guide .cta-box {
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  padding: 2rem 1.5rem;
  color: var(--plum);
  background: radial-gradient(circle at 85% 15%, var(--sun-light) 0%, var(--sun) 45%, var(--sun-deep) 100%);
}

.sc-guide .cta-box p {
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.sc-guide .cta-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.4rem;
}

.sc-guide .cta-button {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream) !important;
  background: var(--plum);
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
}

.sc-guide .cta-button:hover {
  background: #000;
}

/* FAQ uses the homepage accordion look */
.sc-guide .faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-guide .faq details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sc-guide .faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--color-pure-white);
}

.sc-guide .faq summary::-webkit-details-marker {
  display: none;
}

.sc-guide .faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 124, 59, 0.7);
  color: var(--sun-light);
  font-family: var(--font-body);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.sc-guide .faq details[open] summary::after {
  transform: rotate(45deg);
}

.sc-guide .faq p {
  padding: 0 2.5rem 1.4rem 0;
  line-height: 1.65;
}

/* ==========================================================================
   404
   ========================================================================== */
.sc-404 {
  min-height: calc(100svh - var(--bar-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--text);
}

.sc-404__poster {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 75vw);
  aspect-ratio: 1;
}

.sc-404__sun {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 124, 59, 0.85);
  box-shadow: 0 0 100px rgba(255, 124, 59, 0.55), inset 0 0 40px rgba(255, 124, 59, 0.4);
  background: radial-gradient(circle, rgba(255, 124, 59, 0.25), transparent 70%);
}

.sc-404__sun::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 186, 140, 0.4);
  animation: slow-rotate 140s linear infinite;
}

.sc-404__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 26vw, 8.5rem);
  line-height: 1;
  color: var(--color-pure-white);
}

.sc-404__text {
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {

  .sc-pagetop__sun::after,
  .sc-404__sun::after {
    animation: none;
  }
}

/* ---- fixes after first review ------------------------------------------- */
/* bands keep plum text (the generic event-section rule sets cream) */
.page-event .scroll-container>section.sc-band:not(.hero-fullscreen),
.page-event .scroll-container>section.countdown-container:not(.hero-fullscreen) {
  color: var(--plum);
}

/* home.css zeroes side padding on scroll-container children */
.page-sub .scroll-container>.djs-container {
  padding: 0 1.25rem 5rem;
}

/* current page in the bar */
.sc-bar__nav a[aria-current="page"] {
  color: var(--sun-light);
}

@media (min-width: 960px) {
  .sc-bar__nav a[aria-current="page"] {
    color: var(--color-pure-white);
    box-shadow: 0 2px 0 var(--lime);
  }
}

/* sub headings inside event sections stay on the content grid */
.page-event section>.sc-subhead {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

/* side padding for event sections (home.css zeroes it for scroll-container children) */
.page-event .scroll-container>section:not(.hero-fullscreen) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.page-event .scroll-container>section.sc-band:not(.hero-fullscreen) {
  padding-left: 0;
  padding-right: 0;
}

/* hero.css carries an old mobile margin for the countdown card */
.page-event .countdown-container {
  margin: 0 !important;
  max-width: none !important;
}

/* footer base strip in the sea palette */
.theme-sea .sc-footer__castle .sc-waves,
.theme-sea .sc-footer__legal {
  background: #062037;
}

/* ---- Venue page (Trsatska Gradina / Trsat Castle) ------------------------ */
.sc-guide .sc-venue__photo {
  margin: 2.5rem 0 3.5rem;
}

.sc-guide .sc-facts {
  margin-bottom: 1rem;
}

.sc-minigallery {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.75rem 0 1.25rem;
}

.sc-guide .sc-minigallery li {
  padding: 0;
  border: 0;
}

.sc-guide .sc-minigallery li::before {
  display: none;
}

.sc-minigallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.sc-minigallery a {
  display: block;
  overflow: hidden;
}

.sc-minigallery a:hover img {
  transform: scale(1.05);
}

.sc-guide .map-wrapper {
  margin: 1.5rem 0;
}

.sc-guide .sc-btn {
  color: var(--color-pure-white);
}

.sc-guide .sc-btn:hover {
  color: var(--plum);
}

/* <button class="sc-btn"> (privacy page: reopen the cookie banner) */
button.sc-btn {
  background: transparent;
  cursor: pointer;
}

.sc-venue-more {
  margin-top: 1.75rem !important;
}
