/* ============================================================
   NYC60 Prabhupada Marathon — styles
   Everything is scoped under .nyc60-scope so it can live inside
   any WordPress theme without leaking styles in or out.
   Brand colors sampled from the Canva design.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Audiowide&display=swap');

.nyc60-scope,
.nyc60-scope *,
.nyc60-scope *::before,
.nyc60-scope *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nyc60-scope {
  --nyc60-blue: #07b6ef;      /* NYC60 / wordmark / dates blue */
  --nyc60-btn-blue: #2ea4d0;  /* button fill blue */
  --nyc60-red: #fe3f30;       /* MARATHON red / button border */
  --nyc60-pink: #ff9597;      /* button offset shadow */
  --nyc60-ink: #000;

  /* Full-bleed escape: WordPress themes wrap page content in a narrow
     centered column, which crushes this layout. These three lines break
     the block back out to the window width. They are a no-op when the
     parent is already full width (standalone page, iframe), so the same
     stylesheet works everywhere. */
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);

  overflow-x: hidden;
  background: #fff;
  color: var(--nyc60-ink);
  font-family: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.4;
}

.nyc60-scope img { border: 0; }
.nyc60-scope sup { font-size: .55em; line-height: 0; }

/* ================= CAROUSEL ================= */
.nyc60-carousel {
  position: relative;
  width: 100%;
  background: #14171b;
  overflow: hidden;
}

.nyc60-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
}
.nyc60-carousel-viewport:active { cursor: grabbing; }

.nyc60-track {
  display: flex;
  list-style: none;
  width: 100%;
  transition: transform .55s cubic-bezier(.33, .7, .25, 1);
  will-change: transform;
}

.nyc60-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: min(125vw, 580px);   /* 1 photo per view on mobile, 4:5-ish like the design */
  position: relative;
}
@media (min-width: 768px) {
  .nyc60-slide { flex-basis: 33.3334%; height: min(41.7vw, 660px); }  /* 3 per view */
}

.nyc60-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* placeholder tile shown until a photo file exists */
.nyc60-slide .nyc60-imgfb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1d222a 0%, #2a323d 100%);
  color: #7f93a8;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  user-select: none;
}

.nyc60-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.nyc60-nav:hover, .nyc60-nav:focus-visible { background: var(--nyc60-blue); }
.nyc60-prev { left: 10px; }
.nyc60-next { right: 10px; }

/* ================= SCROLLING TAGLINE ================= */
.nyc60-ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: .5rem 0 .45rem;
  background: #fff;
}
.nyc60-ticker-track {
  display: inline-flex;
  align-items: baseline;
}
/* animation only runs once JS has cloned enough copies for a seamless loop */
.nyc60-ticker-ready .nyc60-ticker-track {
  animation: nyc60-scroll linear infinite;
}
.nyc60-ticker-item {
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  font-weight: 500;
  padding-right: .55em;
}
.nyc60-tickdot { padding: 0 .12em; }
@keyframes nyc60-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.nyc60-ticker-static { text-align: center; }
.nyc60-ticker-static .nyc60-ticker-track { animation: none !important; }

/* ================= VIDEO ================= */
.nyc60-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nyc60-video-ph {
  color: #fff;
  font-weight: 300;
  letter-spacing: .35em;
  font-size: clamp(1rem, 2.6vw, 1.75rem);
  user-select: none;
}
.nyc60-video iframe,
.nyc60-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= MISSION ================= */
.nyc60-mission {
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.1rem, 4vw, 2.2rem) .4rem;
}
.nyc60-mission p {
  max-width: 1240px;
  margin: 0 auto;
  font-size: clamp(1.3rem, 2.55vw, 2.15rem);
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .nyc60-mission p { text-align: justify; }
}

/* ================= CTA BUTTONS ================= */
.nyc60-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 6vw, 4.5rem);
  padding: clamp(1.8rem, 4.5vw, 3.2rem) 1rem .9rem;
}
.nyc60-btn {
  display: inline-block;
  background: var(--nyc60-btn-blue);
  color: #fff !important;              /* !important guards against WP theme link styles */
  text-decoration: none !important;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: .04em;
  padding: .52em clamp(.95em, 3vw, 1.65em);
  border: 3px solid var(--nyc60-red);
  box-shadow: 8px 8px 0 0 var(--nyc60-pink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.nyc60-btn:hover, .nyc60-btn:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 0 var(--nyc60-pink);
  background: var(--nyc60-blue);
}
.nyc60-btn:active {
  transform: translate(6px, 6px);
  box-shadow: 1px 1px 0 0 var(--nyc60-pink);
}

.nyc60-magic {
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500;
  padding: clamp(.9rem, 2.5vw, 1.6rem) 1rem 0;
}

/* ================= WORDMARK ================= */
.nyc60-wordmark {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.8rem) .75rem 0;
}
.nyc60-wm-img { width: min(1000px, 94%); height: auto; display: inline-block; }
.nyc60-dates-img { width: min(770px, 74%); height: auto; margin-top: clamp(.7rem, 2vw, 1.3rem); }

/* text fallbacks (used only if the wordmark images are missing) */
.nyc60-wm-text {
  font-family: 'Audiowide', 'Oswald', sans-serif;
  line-height: .97;
}
.nyc60-wm-text span { display: block; }
.nyc60-wm-blue { color: var(--nyc60-blue); font-size: clamp(2.4rem, 8.6vw, 6.2rem); }
.nyc60-wm-red  { color: var(--nyc60-red);  font-size: clamp(2.4rem, 9vw, 6.6rem); }
.nyc60-dates-text {
  font-family: 'Audiowide', 'Oswald', sans-serif;
  color: var(--nyc60-blue);
  font-size: clamp(1.4rem, 4.6vw, 3.1rem);
  margin-top: 1rem;
}

/* ================= PARTNER LOGOS ================= */
.nyc60-logos {
  text-align: center;
  padding: clamp(2rem, 4.5vw, 3.2rem) 1rem 0;
}
.nyc60-logos img { width: min(1160px, 96%); height: auto; }
.nyc60-logos-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* ================= FOOTER ================= */
.nyc60-footer {
  text-align: center;
  padding: clamp(1.8rem, 4vw, 2.8rem) 1rem clamp(2.2rem, 5vw, 3.2rem);
}
.nyc60-footer p { font-size: clamp(1rem, 2vw, 1.4rem); }
.nyc60-founder { font-weight: 700; }
.nyc60-email { margin-top: 1.15em; }
.nyc60-footer a { color: inherit; text-decoration: none; }
.nyc60-footer a:hover { color: var(--nyc60-blue); }

/* ================= BHAGAVATAM PAGE ================= */
.nyc60-b-logo {
  text-align: center;
  padding: clamp(1.2rem, 3vw, 2.2rem) 1rem 0;
}
.nyc60-b-logo img { width: min(1140px, 96%); height: auto; }
.nyc60-b-logo-text {
  font-family: 'Audiowide', 'Oswald', sans-serif;
  color: var(--nyc60-blue);
  font-size: clamp(3.2rem, 13vw, 8.5rem);
  line-height: 1;
}
.nyc60-b-heading {
  text-align: center;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500;
  padding: clamp(1.1rem, 3vw, 2rem) 1rem clamp(1.1rem, 3vw, 1.8rem);
}
.nyc60-b-collage img { width: 100%; height: auto; display: block; }
.nyc60-b-collage .nyc60-imgfb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1366 / 1136;
  background: linear-gradient(160deg, #1d222a 0%, #2a323d 100%);
  color: #7f93a8;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nyc60-b-text {
  padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1.1rem, 4vw, 2.2rem);
}
.nyc60-b-text p {
  max-width: 1240px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.55;
  text-align: justify;
}
.nyc60-b-note {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1.1rem, 4vw, 2.2rem) 0;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 500;
}
.nyc60-b-lotus { text-align: center; padding: clamp(.8rem, 2vw, 1.4rem) 0 0; }
.nyc60-b-lotus img { width: clamp(150px, 20vw, 215px); height: auto; }
.nyc60-b-lotus-text { color: var(--nyc60-red); font-size: 1.3rem; font-weight: 600; }

/* generic image-fallback text node — hidden until JS reveals it */
.nyc60-fbnode[hidden] { display: none; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  .nyc60-track { transition: none !important; }
  .nyc60-ticker-track { animation: none !important; }
  .nyc60-btn { transition: none; }
}
