/* EPK SECTION STYLES (override site styles) */
:root {
  --epk-accent: var(--brand, #e11d48);
}

/* Force our sections to render as cards even if the theme styles <section> globally */
.site-main .epk-section,
main .epk-section,
.epk-section {
  margin: 22px 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .04) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

/* Hover highlight (scarlet red) */
.site-main .epk-section:hover,
main .epk-section:hover,
.epk-section:hover {
  border-color: rgba(225, 29, 72, .55) !important;
  box-shadow: 0 10px 34px rgba(225, 29, 72, .12), 0 12px 44px rgba(0, 0, 0, .28) !important;
  background: linear-gradient(180deg, rgba(225, 29, 72, .10), rgba(255, 255, 255, .03)) !important;
  transform: translateY(-1px);
}

.epk-kicker {
  display: inline-block !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
  opacity: .9 !important;
}

/* ===== EPK language switch (under kicker, Scarlet-red active) ===== */
.epk-lang-under{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:12px;          /* space under kicker */
}

.epk-lang-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:30px;
  padding:0 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;

  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);

  transition: all .16s ease;
}

.epk-lang-chip:hover{
  color:#fff;
  border-color: rgba(225,6,0,.45);         /* Scarlet hover */
  background: rgba(225,6,0,.10);
}

.epk-lang-chip.is-active{
  color:#fff;
  border-color: rgba(225,6,0,.85);
  background: rgba(225,6,0,.28);
  box-shadow: 0 0 12px rgba(225,6,0,.25);
}

.epk-title {
  margin: 14px 0 10px !important;
  font-size: 34px !important;
  line-height: 1.15 !important
}

.epk-text {
  margin: 0 0 10px !important;
  opacity: .9 !important
}

.epk-list {
  margin: 10px 0 0 !important;
  padding-left: 18px !important;
  opacity: .9 !important
}

.epk-grid {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1.2fr .8fr !important;
  align-items: start !important;
}

.epk-media {
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(0, 0, 0, .18) !important;
}

.epk-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.epk-email a {
  font-weight: 800 !important;
  text-decoration: none !important
}

.epk-email a:hover {
  text-decoration: underline !important
}

.epk-quote {
  margin: 0 !important;
  font-weight: 800 !important;
  font-size: 16px !important
}

.epk-booking {
  border-color: rgba(225, 29, 72, .35) !important;
  background: linear-gradient(180deg, rgba(225, 29, 72, .20), rgba(255, 255, 255, .02)) !important;
}

@media (max-width: 820px) {
  .epk-grid {
    grid-template-columns: 1fr !important
  }

  .epk-title {
    font-size: 28px !important
  }
}

/* Hero: slightly wider, same height */
.epk-section
/* Hover zoom (desktop). Keep a fallback even if media queries fail. */

/* Only on true hover devices allow pop-out beyond the card */
@media (hover:hover) and (pointer:fine) {
  .epk-section .epk-media {
    overflow: visible !important;
  }

  .epk-section .epk-media:hover {
    z-index: 30 !important;
  }

}

/* Mobile/touch: disable zoom to avoid layout jumps */
@media (hover:none), (pointer:coarse) {
  .epk-section .epk-media {
    cursor: default;
  }

  .epk-section .epk-media img {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Small screens: reduce heights and widths */
@media (max-width: 520px) {
  .epk-section .epk-media {
    max-width: 100% !important;
    max-height: 200px !important;
  }

  .epk-section .epk-media img {
    height: 200px !important;
    max-height: 200px !important;
  }
}

/* Media: keep images fully visible (no cropping), allow desktop pop-out */
.epk-section .epk-media,
.site-main .epk-section .epk-media,
main .epk-section .epk-media {
  width: 100% !important;
  max-width: 520px !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  /* allow pop-out */
  border-radius: 16px !important;
  cursor: zoom-in;
  transition: z-index .18s ease;
}

.epk-section .epk-media img,
.site-main .epk-section .epk-media img,
main .epk-section .epk-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  /* IMPORTANT: no fixed height */
  max-width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  border-radius: 16px !important;
  transition: transform .32s ease, box-shadow .32s ease !important;
  transform-origin: center center;
  will-change: transform;
}

/* Desktop hover pop-out */
@media (hover:hover) and (pointer:fine) {
  .epk-section .epk-media:hover {
    z-index: 60 !important;
  }

  .epk-section .epk-media:hover img {
    transform: scale(1.22) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .60), 0 0 40px rgba(225, 29, 72, .35) !important;
  }
}

/* Mobile/touch: stable (no hover zoom) */
@media (hover:none), (pointer:coarse) {
  .epk-section .epk-media {
    cursor: default;
  }

  .epk-section .epk-media img {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Small screens: allow full width */
@media (max-width: 520px) {
  .epk-section .epk-media {
    max-width: 100% !important;
  }
}


/* Mobile polish: keep images smaller and fully visible without dominating the screen */
@media (max-width: 520px) {

  .epk-section .epk-media,
  .site-main .epk-section .epk-media,
  main .epk-section .epk-media {
    max-width: 100% !important;
    margin-top: 10px !important;
  }

  .epk-section .epk-media img,
  .site-main .epk-section .epk-media img,
  main .epk-section .epk-media img {
    max-height: 220px !important;
    /* reduce visual weight */
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    /* no cropping, letterbox if needed */
    background: rgba(0, 0, 0, .22) !important;
  }

  /* Slightly tighter spacing for the intro card */
  #epk-version .epk-title {
    font-size: 30px !important;
  }

  #epk-version .epk-text {
    font-size: 16px !important;
  }
}


/* EPK OUTER PADDING (breathing space from browser edges) */
body.epk-page main,
body.epk-page .site-main,
body.epk-page .site-content,
main.epk-main {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.epk-page {
  background: #000;
}

@media (min-width: 1200px) {

  body.epk-page main,
  body.epk-page .site-main,
  body.epk-page .site-content,
  main.epk-main {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}


/* EPK WRAPPER PADDING (guaranteed spacing from viewport edges) */
.epk-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1200px) {
  .epk-wrapper {
    padding-left: 60px;
    padding-right: 60px;
  }
}




/* Booking CTA buttons (match site feel) */
.epk-actions-col {
  height: 100%;

  align-self: stretch;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 260px;
}

.epk-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.epk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.epk-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(225, 29, 72, .55);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.epk-btn--primary {
  transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
}

.epk-btn--primary:hover {
  background: var(--brandHover, #ff2a5a);
  box-shadow: 0 18px 46px rgba(225, 29, 72, .30);
  transform: translateY(-2px);
}

.epk-btn--primary:focus-visible {
  outline: 2px solid var(--brandHover, #ff2a5a);
  outline-offset: 3px;
}

.epk-btn--ghost {
  background: rgba(0, 0, 0, .22);
}

/* On mobile, make actions sit under copy and align left */
@media (max-width: 820px) {
  .epk-actions-col {
    align-self: stretch;

    justify-content: flex-start;
    min-width: 0;
  }

  .epk-actions {
    justify-content: flex-start;
  }

  .epk-btn {
    width: auto;
  }
}


/* Final tuning: justified copy + motto highlight + closer emphasis */
.epk-text,
.epk-copy p,
.epk-copy li,
.epk-copy .epk-lead {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.epk-motto {
  display: inline-block !important;
  margin: 0 .18em !important;
  padding: .10em .55em !important;
  border-radius: 999px !important;
  background: rgba(225, 29, 72, .22) !important;
  border: 1px solid rgba(225, 29, 72, .62) !important;
  color: rgba(255, 255, 255, .99) !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  box-shadow: 0 12px 30px rgba(225, 29, 72, .18) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25) !important;
}

/* Ensure links look consistent on dark background */
.epk-copy a.epk-song-link {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  border-bottom: 1px solid rgba(225, 29, 72, .35);
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}

.epk-copy a.epk-song-link:hover {
  color: #fff;
  border-bottom-color: rgba(225, 29, 72, .75);
}

.epk-closer {
  text-align: center !important;
  font-weight: 900;
  letter-spacing: .02em;
  font-size: clamp(18px, 2.2vw, 26px);
  padding: 18px 18px;
  margin-top: 4px;
  border-radius: 18px;
  border: 1px solid rgba(225, 29, 72, .45);
  background: radial-gradient(120% 180% at 20% 10%, rgba(225, 29, 72, .22), rgba(0, 0, 0, .25));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* On very small screens, justification can create rivers; keep it but reduce gaps */
@media (max-width: 520px) {

  .epk-text,
  .epk-copy p,
  .epk-copy li,
  .epk-copy .epk-lead {
    word-spacing: -0.02em;
  }
}


/* Song list: title + direct platform links */
.epk-song-title {
  font-weight: 800;
}

.epk-song-links {
  margin-left: .35em;
  opacity: .95;
  white-space: nowrap;
}

.epk-song-links a {
  border-bottom: 1px solid rgba(225, 29, 72, .40);
  padding-bottom: 1px;
}


.epk-tagline{
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 18px 0 26px 0;
  line-height: 1.2;
  opacity: 0.95;
}

/* Mobile cleanup for EPK pages */
@media (max-width: 600px) {
  .epk-wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }

  .epk-section {
    margin: 14px 0 !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .epk-kicker-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .epk-lang-under {
    margin-top: 0;
  }

  .epk-title {
    font-size: clamp(2rem, 8.5vw, 2.35rem) !important;
    line-height: 1.12 !important;
    margin-top: 8px !important;
  }

  .epk-tagline {
    font-size: clamp(1.1rem, 5.3vw, 1.35rem);
    line-height: 1.3;
    margin: 10px 0 16px 0;
  }

  .epk-text,
  .epk-copy p,
  .epk-copy li,
  .epk-copy .epk-lead {
    text-align: left;
    text-justify: auto;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-spacing: normal;
  }

  .epk-list {
    padding-left: 1.1rem !important;
  }

  .epk-actions {
    width: 100%;
    gap: 10px;
  }

  .epk-btn {
    width: 100%;
    justify-content: center;
  }

  body.epk-page .social-network {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 0.75rem;
    gap: 0.65rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  body.epk-page .social-network::-webkit-scrollbar {
    display: none;
  }

  body.epk-page .social-network a {
    flex: 0 0 auto;
  }

  .epk-closer {
    text-align: center !important;
    text-align-last: center !important;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    word-spacing: normal;
  }

  .epk-closer .epk-closer-lead {
    display: block;
    white-space: nowrap;
    margin-bottom: 0.1em;
  }
}
