:root {
  --poly-blue: #009FE3;
  --poly-magenta: #E50051;
  --poly-gold: #FCBF00;
  --poly-purple: #340C46;
  --poly-white: #FFFFFF;
  --text: #222;
}

body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}
.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--poly-purple), var(--poly-blue));
  color: #fff;
}

.hero-image {
  display: block;
  margin: 40px auto;   
  width: 80%;        
  max-width: 900px;    
  height: auto;        
  border-radius: 12px; 
}

.polyfest-image {
  display: block;
  margin: 40px auto;
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
}

body {
  background-color: #FFF9F2;
  color: #2B004D;  /* Poly purple for main text */
}



/* Merch gallery grid */
.merch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin: 40px auto;
  max-width: 900px;
  padding: 0 20px;
}

.merch-item {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Merch gallery grid */
.merch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: start;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

/* Individual merch items */
.merch-item {
  text-align: center;
  color: #222;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

.merch-item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Captions */
.merch-item figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
}

.merch-item figcaption br {
  display: none; /* show line-breaks only on small screens */
}

@media (max-width: 600px) {
  .merch-item figcaption {
    font-size: 0.85rem;
  }
  .merch-item figcaption br {
    display: inline;
  }
}

/* --- Mini Calendar --- */
.mini-cal__wrap{
  --event-orange:#FF7A00;
  border:1px solid #eee; border-radius:12px; background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  padding:12px; max-width:640px;
}
.mini-cal__header{ font-weight:800; color:#2B004D; text-align:center; margin-bottom:6px; }
.mini-cal__dow{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; font-size:12px; color:#777; text-align:center; }
.mini-cal__grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-top:6px; }
.mini-cal__cell{
  min-height:56px; background:#F8F5FF; border-radius:10px; padding:6px;
  display:flex; align-items:flex-start; justify-content:flex-start; position:relative; font-size:14px;
}
.mini-cal__cell--muted{ background:#F2F3F7; color:#999; }
.mini-cal__day{ font-weight:700; font-size:13px; opacity:.9; }
.mini-cal__cell--event::after{
  content:""; position:absolute; left:8px; right:8px; bottom:6px; height:4px;
  background:var(--event-orange); border-radius:2px;
}
.mini-cal__legend{ margin-top:8px; font-size:13px; color:#444; display:flex; align-items:center; gap:8px; }
.mini-cal__dot{ width:10px; height:10px; border-radius:50%; background:var(--event-orange); display:inline-block; }



.faq-section details {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.faq-section summary {
  font-weight: 700;
  cursor: pointer;
}

.text-sm {
  font-size: 0.875rem;
}
.hero .btn {
  margin-top: 1.5rem;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-details li {
  margin: 0.5rem 0;
  padding: 0.5rem;
}

.form-group {
  margin: 1rem 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 1rem 0;
}

.checkbox {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox input {
  margin-right: 0.5rem;
}

#subscribe-success {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0fff4;
  border: 1px solid #38a169;
  color: #38a169;
  border-radius: 4px;
}
.about-section {
  max-width: 750px;
  margin: 3rem auto;
  text-align: center;
}

.preparation details {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}
.preparation summary {
  font-weight: 700;
}
.preparation ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.calendar ul {
  padding-left: 1.5rem;
}
.calendar li {
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  padding: .8rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--poly-magenta);
  color: #fff;
}

.btn-gold {
  background: var(--poly-gold);
  color: #000;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

img.placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #eaeaea;
  border: 2px dashed #ccc;
  object-fit: cover;
}

/* Row that holds both buttons */
.buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

/* Instagram button (new color) */
.btn-ig {
  background: #833AB4;      /* Instagram purple */
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Instagram icon */
.ig-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Make text not wrap weirdly */
.soldout-btn {
  white-space: nowrap;
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
  .buttons-row {
    flex-direction: column;
    align-items: stretch;
  }
}


details summary {
  cursor: pointer;
  font-weight: 700;
  margin: .5rem 0;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
}

// merch 

.add-to-cart {
  background: var(--poly-magenta, #E50051);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}
.add-to-cart:hover {
  background: var(--poly-blue, #0077ff);
}

.btn-primary {
  background: var(--poly-blue, #0077ff);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

#cart-count {
  color: var(--poly-magenta, #E50051);
  font-weight: 700;
  margin-left: 4px;
}


// image enlarged
/* --- Lightbox (image enlarger) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  cursor: zoom-out;
}

.merch-item img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.merch-item img:hover {
  transform: scale(1.03);
}

.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; visibility: hidden; opacity: 0; transition: opacity .3s ease;
}
.lightbox-overlay.active { visibility: visible; opacity: 1; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 90vh; border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5); cursor: zoom-out;
}
.merch-item img { cursor: zoom-in; transition: transform .2s ease; }
.merch-item img:hover { transform: scale(1.03); }

.linklike {
  background: transparent; border: 0; color: #E50051; cursor: pointer; font-weight: 700;
}


/* Calendar container */
.nov-cal { 
  --event: #FF7A00;           /* orange for Poly Fest */
  --ink: #2B004D;             /* deep poly purple text */
  --grid-bg: #F8F5FF;         /* soft lilac cells */
  --muted: #F2F3F7;           /* blanks */
  max-width: 700px; margin: 1rem 0 2rem; 
    margin: 2rem auto;     /* centers horizontally */
  text-align: center;    /* centers the text like the month title */
  
}
.nov-cal h2 { 
  margin: 0 0 .5rem; 
  font-weight: 800; 
  color: var(--ink);
}

/* Grid base */
.cal-grid {
  display: grid; 
  grid-template-columns: repeat(7, minmax(40px, 1fr)); 
  gap: 6px;
}

/* Day-of-week header */
.cal-head > div {
  text-align: center; 
  font-size: .85rem; 
  color: #777; 
  font-weight: 600;
}

/* Month body */
.cal-body .day, .cal-body .blank {
  min-height: 72px; 
  border-radius: 12px; 
  background: var(--grid-bg); 
  padding: 8px; 
  position: relative; 
  display: flex; 
  align-items: flex-start; 
  justify-content: flex-start;
}
.cal-body .blank { background: var(--muted); }

/* Day number */
.cal-body .day > span {
  font-weight: 800; 
  font-size: .95rem; 
  opacity: .9;
}

/* Event highlight: colored bar + label */
.cal-body .day.event { cursor: pointer; }
.cal-body .day.event::after {
  content: ""; 
  position: absolute; 
  left: 10px; right: 10px; bottom: 8px; height: 5px; 
  background: var(--event); 
  border-radius: 3px;
}
.cal-body .day.event i {
  position: absolute; 
  left: 8px; right: 8px; bottom: 14px;
  font-size: .75rem; 
  color: #333; 
  opacity: .9; 
  font-style: normal;
}

/* Legend */
.cal-legend { 
  display: flex; align-items: center; gap: 8px; 
  font-size: .9rem; color: #444; margin-top: .5rem;
}
.cal-legend .dot { 
  width: 10px; height: 10px; border-radius: 50%; background: var(--event); display: inline-block;
}

/* Responsive tweak */
@media (max-width: 480px) {
  .cal-body .day, .cal-body .blank { min-height: 56px; }
}


/* Workshops layout */
.workshops-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Sidebar */
.workshops-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.workshops-sidebar h2 {
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
}

.ws-item + .ws-item { margin-top: .25rem; }
.ws-link {
  display: grid;
  grid-template-rows: auto auto;
  gap: 2px;
  text-decoration: none;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: .6rem .7rem;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
}
.ws-link:hover { background: #fff; border-color: #e8e8e8; transform: translateY(-1px); }
.ws-title { font-weight: 600; color: #222; line-height: 1.2; }
.ws-meta-mini { font-size: .85rem; color: #666; }
.ws-empty { padding: .5rem; color: #777; }
.ws-tip { margin-top: .6rem; font-size: .85rem; color: #888; }

/* Detail panel */
.ws-detail {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.ws-detail-inner { max-width: 820px; }
.ws-detail-header {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}
.ws-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f3f3;
}
.ws-meta { color: #666; margin-top: .25rem; }
.ws-presenter, .ws-description { margin-top: 1rem; }
.ws-presenter h4, .ws-description h4 { margin: 0 0 .35rem 0; }
.ws-presenter-bio { color: #444; }

/* Responsive */
@media (max-width: 980px) {
  .workshops-wrap { grid-template-columns: 1fr; }
  .workshops-sidebar { position: static; }
  .ws-list { max-height: none; }
  .ws-detail-header { grid-template-columns: 1fr; }
  .ws-image { height: 200px; }
}

/* Responsive schedule image */
.polyfest-image {
  display: block;
  width: 100%;
  height: auto;               /* keeps aspect ratio */
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Click-to-zoom affordance */
.img-zoom-link img { cursor: zoom-in; }

/* Optional: tweak max height on very small screens */
@media (max-width: 480px) {
  .polyfest-image { border-radius: 10px; }
}

/* CSS-only lightbox using :target */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

/* When the hash matches the id, show it */
.lightbox:target { display: flex; }

/* Fullscreen image constraints */
.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
  cursor: zoom-out;
}

/* Click anywhere outside the image to close (the overlay is a link) */
.lightbox-close {
  position: fixed;
  inset: 0;
  content: "";
  display: block;
}

/* ---------------------------
   WORKSHOP IMAGES (global)
----------------------------*/
/* ---------------------------
   WORKSHOP IMAGES (global)
----------------------------*/

/* All workshop images scale responsively */
.ws-image,
.workshop-example img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* keeps proportions and fills box */
  border-radius: 12px;
  display: block;
  background-color: #f3f3f3; /* fallback if image not loaded */
}

/* Container adjustments for consistent height */
.ws-detail-header,
.workshop-example {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* If you want a cap for big headers, keep this; otherwise remove */
.ws-detail-header .ws-image,
.workshop-example img {
  max-height: 320px;          /* good for desktop */
}

/* Presenter portrait – tiny + text wrap */
.ws-presenter .ws-presenter-img {
  float: left;                 /* wrap text around */
  width: 55px;                 /* tiny size */
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 .5rem .25rem 0;    /* gap to text */
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  opacity: 0.95;
}

/* Clear the float at the end of the presenter block */
.ws-presenter::after {
  content: "";
  display: block;
  clear: both;
}

/* Mobile tweak: slightly larger and centered if you prefer */
@media (max-width: 520px) {
  .ws-presenter .ws-presenter-img {
    float: none;
    display: block;
    margin: 0 auto .4rem;
    width: 45px;
    height: 45px;
  }
}

/* ===== Poly Fest – Schedule (namespaced) ===== */
.pf-schedule {
  --poly-blue: #0057B7;   /* flag blue */
  --poly-red:  #D52B1E;   /* flag red */
  --poly-black:#111111;   /* flag black */
  --poly-gold: #F5C542;   /* accent */
  --ink: #1f1f1f;
  --muted: #f7f7f9;
  --row-alt: #fff;
  --row-lunch: #fffce6;
  --row-chill: #f3f8ff;
  --row-coffee: #fff6f2;

  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  background: #fff;
}

/* Header band (rooms) */
.pf-schedule__heading {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr; /* Time + 3 rooms */
  align-items: stretch;
  color: #fff;
  text-transform: none;
  font-weight: 800;
}
.pf-schedule__heading > div {
  padding: .9rem .8rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.22);
}
.pf-schedule__heading > div:last-child { border-right: 0; }
.pf-schedule__heading--time { background: var(--poly-black); }
.pf-schedule__heading--room1 { background: var(--poly-red); }
.pf-schedule__heading--room2 { background: var(--poly-blue); }
.pf-schedule__heading--room3 { background: linear-gradient(90deg, var(--poly-blue) 0%, var(--poly-red) 100%); }

/* Body rows */
.pf-schedule__row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  border-top: 1px solid #eee;
}
.pf-schedule__time {
  font-weight: 700;
  padding: .8rem;
  background: #fff;
  border-right: 1px solid #eee;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
}
.pf-schedule__cell {
  padding: .85rem .9rem;
  min-height: 56px;
  display:flex; align-items:center;
  border-right: 1px solid #eee;
  background: var(--row-alt);
}
.pf-schedule__cell:last-child { border-right: 0; }

/* Labels / tags inside cells */
.pf-tag {
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  padding: .2rem .5rem;
  border-radius: .5rem;
  margin-right: .5rem;
  color: #fff;
}
.pf-tag--chill  { background: var(--poly-blue); }
.pf-tag--entry  { background: var(--poly-black); }
.pf-tag--coffee { background: var(--poly-red); }
.pf-tag--talk   { background: var(--poly-gold); color:#1d1600; }

/* Special row backgrounds */
.pf-row--lunch  .pf-schedule__cell,
.pf-row--lunch  .pf-schedule__time { background: var(--row-lunch); }
.pf-row--chill  .pf-schedule__cell { background: var(--row-chill); }
.pf-row--coffee .pf-schedule__cell { background: var(--row-coffee); }

/* Titles & meta inside cells */
.pf-title { font-weight: 700; }
.pf-meta  { color:#555; font-size:.92rem; }

.poly-party-text {
  font-weight: 400 !important;   /* makes normal text NOT bold */
}

/* keep section titles bold */
.poly-party-text b {
  font-weight: 700 !important;
}


/* Responsive: stack as cards on small screens */
@media (max-width: 900px) {
  .pf-schedule__heading { display: none; }
  .pf-schedule__row {
    grid-template-columns: 1fr;
    border: 1px solid #eee;
    border-radius: 12px;
    margin: .75rem 1px;
    overflow: hidden;
  }
  .pf-schedule__time {
    justify-content:flex-start;
    background: var(--poly-black);
    color:#fff; border-right: 0;
  }
  .pf-schedule__cell { border-right: 0; border-top: 1px solid #eee; }
  .pf-schedule__cell::before {
    content: attr(data-room);
    display: inline-block;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .02em;
    color: #333;
    background: #f2f2f6;
    padding: .18rem .5rem;
    border-radius: .4rem;
    margin-right: .6rem;
  }
}

/* Small helper for spaced lines in a cell */
.pf-lines > div + div { margin-top: .25rem; }

/* ===== LUNCH special styling ===== */
.pf-row--lunch .pf-title {
  display: inline-block;
  background: #5A189A;      /* rich purple */
  color: #fff;               /* white font */
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;     /* pill/bubble */
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Center the bubble nicely */
.pf-row--lunch .pf-schedule__cell {
  justify-content: center;
}

/* ===== Opening speech special style ===== */
/* ===== Opening speech special style ===== */
.pf-opening {
  text-align: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff8dc;                 /* warm yellow-white */
  text-shadow: 0 0 6px #ffea00, 0 0 12px #ffd000, 0 0 18px #ffc800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #4B0082, #6a1b9a);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* ===== Responsive Poly Fest banner ===== */
.polyfest-image-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px;        /* desktop cap */
  margin: 0 auto 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .polyfest-image-banner {
    max-width: 95%;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .polyfest-image-banner {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}


@media (max-width: 480px) {
  .polyfest-image-banner {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}

/* Make lunch row text visible on light background */
.pf-row--lunch .pf-schedule__time,
.pf-row--lunch .pf-schedule__cell {
  color: #2B004D; /* deep poly purple, readable on light yellow */
  font-weight: 700;
}

.schedule-note {
  font-style: italic;
  font-weight: bold;
  color: orange;
  text-align: right;
  display: block;
  margin-top: 2%; /* reduce space — adjust as needed */
}

.ws-presenter-images {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.ws-presenter-img {
  width: 150px !important;
  min-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* ===== PolyFest Info Table ===== */

.pf-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.pf-info-table th {
  background: linear-gradient(90deg, #0057B7, #D52B1E);
  color: #fff;
  padding: 1rem;
  font-size: 1.1rem;
  text-align: left;
  font-weight: 800;
}

.pf-info-table td {
  padding: 1rem 1.2rem;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.pf-info-table tr:last-child td {
  border-bottom: none;
}

.pf-info-img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
   cursor: zoom-in;
}

.pf-info-table p {
  margin: 0 0 .5rem;
}

/* Tag style reused from schedule */
.pf-tag--chill {
  background: #009FE3;
  color: #fff;
  font-size: .8rem;
  padding: .25rem .6rem;
  border-radius: .5rem;
}

/* Responsive — stack cells */
@media (max-width: 700px) {
  .pf-info-table th,
  .pf-info-table td {
    display: block;
    width: 100%;
  }
  .pf-info-img {
    margin-top: .5rem;
  }
}

.pf-info-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.about-link {
  font-weight: 600;
  text-decoration: underline;
  color: #2B004D; /* purple theme colour */
  cursor: pointer;
}

.about-link:hover {
  color: var(--poly-magenta);
}

.about-list li {
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 0.35rem;
  color: #2B004D; /* poly purple */
}

.about-list li:hover {
  color: var(--poly-magenta);
}

#entry-note {
  text-align: left !important;
  display: block; /* ensures alignment works fully */
}

/* Only the middle cell in the lunch row (Registrations / Entry point 2) */
.pf-row--lunch .pf-schedule__cell:nth-child(3) {
  justify-content: flex-start;
}

.party-description {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.party-flag {
  width: 180px;
  max-width: 40%;
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

/* Mobile: place flag above text */
@media (max-width: 700px) {
  .party-description {
    flex-direction: column;
    align-items: center;
  }

  .party-flag {
    width: 60%;
    margin-bottom: 1rem;
  }
}


/* Parking info box */
.pf-parking-box {
  margin: 2rem auto;
  padding: 1.3rem 1.6rem;
  background: #f2f0ff; /* soft lilac */
  border-left: 6px solid #d52b1e; /* poly red accent */
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.pf-parking-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.pf-parking-text {
  font-size: 1rem;
  color: #222;
  line-height: 1.45;
}

.pf-parking-text strong {
  color: #0057B7; /* poly blue */
}

/* Mobile layout */
@media (max-width: 600px) {
  .pf-parking-box {
    flex-direction: row;
    padding: 1rem;
  }

  .pf-parking-icon {
    font-size: 2rem;
  }
}

.party-description {
  margin: 2rem 0;
  position: relative;
  padding-left: 120px;
  min-height: 80px;
}

.party-flag {
  width: 90px;
  position: absolute;
  left: 0;
  top: 10px;
}

.party-section {
  margin-bottom: 1.7rem;
}

.party-heading {
  font-weight: 800;           /* only headings are bold */
  color: #d52b1e;             /* poly red accent */
  font-size: 1.2rem;
  margin: 0 0 0.3rem 0;
}

.party-section p {
  margin: 0;
  font-weight: 400;           /* normal weight for body text */
  line-height: 1.45;
  color: #222;
}

.btn-conduct {
  background: #A6D8FF;
  color: #002B4E;
  font-weight: 700;
}

.btn-conduct:hover {
  background: #8CCBFF;
}

/* 3-button layout */
.triple-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

/* Reuse your existing .btn */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

/* --- Special Button Styles --- */

/* Telegram button */
.btn-telegram {
  background: #229ED9;
  color: white;
}

/* Telegram icon */
.icon-telegram {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* Code of Conduct button (light blue) */
.btn-conduct {
  background: #A6D8FF;      /* soft poly blue */
  color: #002B4E;           /* dark blue for readability */
}

.btn-conduct:hover {
  background: #8CCBFF;
}

/* Responsive */
@media (max-width: 600px) {
  .triple-buttons {
    flex-direction: column;
  }
}

/* =======================
   PolyFest Subscribe Form
======================= */

.pf-subscribe {
  margin: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

.pf-subscribe-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 2px solid rgba(0, 159, 227, 0.18);           /* soft poly blue */
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.2rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

/* subtle top ribbon in poly colors */
.pf-subscribe-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0; height:6px;
  background: linear-gradient(90deg,
      var(--poly-blue),
      var(--poly-magenta),
      var(--poly-gold),
      var(--poly-purple)
  );
}

.pf-subscribe-card h2{
  margin-top: .4rem;
  margin-bottom: .3rem;
  font-size: 1.6rem;
  color: var(--poly-purple);
  font-weight: 900;
  letter-spacing: .2px;
}

.pf-subscribe-sub{
  color:#4a4a4a;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.pf-form{
  display: grid;
  gap: .9rem;
}

.pf-form-row label{
  display:block;
  font-weight:800;
  color:#2B004D;
  margin: 0 0 .35rem 0;
}

.pf-form-row input[type="text"],
.pf-form-row input[type="email"]{
  width:100%;
  padding:.75rem .9rem;
  border-radius:12px;
  border:1.5px solid #e6e6ea;
  background:#fafafc;
  font-size:1rem;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.pf-form-row input:focus{
  outline:none;
  border-color: var(--poly-blue);
  box-shadow: 0 0 0 3px rgba(0,159,227,.12);
  background:#fff;
}

/* fieldset */
.pf-fieldset{
  border:1.5px dashed rgba(52,12,70,0.25);
  padding:.9rem;
  border-radius:12px;
  background:#fcfbff;
}
.pf-fieldset legend{
  font-weight:900;
  color: var(--poly-purple);
  padding:0 .4rem;
}

/* checkbox style */
.pf-checkbox{
  display:flex;
  align-items:center;
  gap:.55rem;
  margin:.45rem 0;
  font-size: .98rem;
  color:#222;
}
.pf-checkbox input{
  width: 18px;
  height: 18px;
  accent-color: var(--poly-magenta);
}

.pf-consent{
  margin-top:.2rem;
  padding-top:.6rem;
  border-top:1px solid #eee;
  font-size:.95rem;
}

/* actions */
.pf-form-actions{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-top:.2rem;
}

.pf-subscribe-btn{
  background: var(--poly-magenta);
  color:#fff;
  font-weight:900;
}

.pf-subscribe-status{
  font-size:.95rem;
  font-weight:700;
  color:#2B004D;
}

/* mobile */
@media (max-width: 600px){
  .pf-subscribe-card{
    padding: 1.2rem;
    border-radius: 14px;
  }
  .pf-subscribe-card h2{
    font-size: 1.4rem;
  }
  .pf-form-actions{
    flex-direction: column;
    align-items: stretch;
  }
}


/* =======================
   PolyFest Gallery
======================= */

.pf-gallery {
  margin: 2.5rem 0;
}

.pf-gallery-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--poly-purple);
  margin: 0 0 1rem;
  text-align: center;
}

/* Responsive masonry-ish grid */
.pf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 10px;              /* base row height for masonry */
  grid-auto-flow: dense;
  gap: 12px;
}

/* Each tile */
.pf-gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: zoom-in;
}

/* Image itself */
.pf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.25s ease;
}

/* Hover zoom */
.pf-gallery-item:hover img {
  transform: scale(1.03);
}

/* Lightbox overlay */
.pf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;                    /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.pf-lightbox.open {
  display: flex;
}

.pf-lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  cursor: zoom-out;
}

.pf-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  font-weight: 900;
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .pf-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
}

/* ===========================
   PolyFest Subscribe Box
=========================== */

.subscribe-box {
  max-width: 650px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f8f2ff;               /* soft poly-lavender background */
  border-radius: 18px;
  border: 3px solid var(--poly-gold);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.subscribe-box h2 {
  margin-top: 0;
  text-align: center;
}

.subscribe-box p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4a2c82;
  font-size: 1.05rem;
  font-weight: 500;
}

.subscribe-box .form-group {
  margin-bottom: 1rem;
}

.subscribe-box label {
  display: block;
  font-weight: 700;
  margin-bottom: .3rem;
}

.subscribe-box input[type="text"],
.subscribe-box input[type="email"] {
  width: 100%;
  padding: .6rem .8rem;
  border-radius: 10px;
  border: 2px solid #c7b8e6;
  background: #fff;
  font-size: 1rem;
}

.subscribe-box input[type="text"]:focus,
.subscribe-box input[type="email"]:focus {
  border-color: var(--poly-magenta);
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.subscribe-box button {
  margin-top: 1rem;
  width: 100%;
  font-size: 1.1rem;
  padding: 0.9rem;
  border-radius: 12px;
}

/* Better swipe/zoom experience */
.pf-lightbox-img {
  touch-action: pan-y; /* allow vertical scroll but keep horizontal swipe */
}

