:root{
  --bg: #ffc6d3;
  --panel: rgba(255,255,255,.78);
  --panel-solid:#ffffff;
  --text:#2a2140;
  --muted:#5d4b86;
  --purple:#6a3fc2;
  --purple-2:#b9a7ff;
  --purple-3:#e6ddff;
  --border: rgba(106,63,194,.22);
  --shadow: 0 12px 30px rgba(32, 20, 62, .10);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
}
#stickyHeader {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: none !important;
}

.headerMsg {
	color: #ff0000;
}
/* Point of Choice Image */
.point-choice-section {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.point-choice-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.point-choice-image {
  width: 50%;
  max-width: 700px;
  min-width: 280px;
  height: auto;
  display: block;
}
@media (max-width: 1024px) {
  .point-choice-image {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .point-choice-image {
    width: 92%;
  }
}

/* Page Formatting */
.h1-page {
	margin:0 0 14px; 
	color:#4b2aa8;
}
.body-format {
	width:min(1100px, calc(100% - 24px)); 
	margin: 0 auto; 
	padding: 14px 0 40px;
}

/* Utilities */
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.panel{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== MAIN HEADER (hero + script + big logo) ===== */
.main-header{
  width:100%;
  padding: 18px 0 12px;
}
.main-header .panel{
  padding: 18px;
  border-radius: 22px;
}
.main-header-inner{
  display:grid;
  grid-template-columns: 375px 1fr 375px;
  gap: 18px;
  align-items:center;
}
.main-hero{
  width:100%;
  height:auto;
  border-radius: 22px;
  display:block;
  border:1px solid var(--border);
}
.main-logo{
  width:auto;
  max-width: 300px;
  max-height: 300px;
  height:auto;
  display:block;
  margin-left:auto;
}
.main-script{
  text-align:center;
  font-family:"Playfair Display", serif;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 34px);
  line-height:1.25;
  color: #3a2a63;
  margin:0;
}
/* ===== IMGBOX CLASS FOR LISTED IMAGES ===== */
.imgbox{
  width:275px;
  max-width: 300px;
  height:350px;
  max-height: 375px;
  display:block;
  /* margin-right:auto; */
}

/* ===== STICKY MENU BAR (small photo + centered menu + small logo) ===== */
.sticky-wrap{
  width:100%;
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(247,243,251,.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.sticky-inner{
  display:grid;
  grid-template-columns: 70px 1fr 70px;
  align-items:center;
  gap: 14px;
  padding: 10px 18px;
}
.sticky-avatar, .sticky-logo{
  width:56px;
  height:56px;
  border-radius: 14px;
  display:block;
  object-fit:cover;
  border:1px solid var(--border);
  background:#fff;
}
.sticky-logo{
  border-radius: 999px;
  object-fit:contain;
}

/* Flat rectangular menu items */
.nav{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration:none;
  color: var(--text);
  background: rgba(185,167,255,.35);
  border:1px solid rgba(106,63,194,.18);
  font-weight:600;
  letter-spacing:.2px;
  line-height:1;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.nav a:hover{
  background: rgba(185,167,255,.55);
  border-color: rgba(106,63,194,.32);
  transform: translateY(-1px);
}
.nav a[aria-current="page"]{
  background: rgba(185,167,255,.80);
  border-color: rgba(106,63,194,.45);
}
/* Mobile nav */
@media (max-width: 820px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.92);
    border-radius: 14px;
  }

  .nav-links.is-open { display: flex; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(110, 70, 170, 0.25);
    background: rgba(210, 190, 255, 0.55);
    font-weight: 600;
  }
}

/* Desktop */
@media (min-width: 821px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

/* ===== PAGE BANNER ===== */
.page-banner{
  padding: 22px 0 10px;
}
.page-banner-inner{
  max-width: var(--max);
  margin: 0 auto;
  /* padding: 0 18px; */
}
.page-title{
  font-family:"Playfair Display", serif;
  letter-spacing:.08em;
  color:#3a2a63;
  margin: 10px 0 10px;
}
.page-message{
  margin:0 0 6px;
  color: var(--muted);
}

/* ===== VIDEO ROW SCROLLER ===== */
.scroller-wrap{ margin: 18px auto; max-width: var(--max); }
.scroller-wrap.panel{ padding: 14px 14px 6px; }
.scroller-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 8px 6px 0;
}
.section-title{
  font-family:"Playfair Display", serif;
  margin:0;
  font-size: 28px;
  color:#2c2150;
}
.scroller-controls{
  display:flex;
  gap:10px;
}
.scroller-btn{
  width:42px;
  height:42px;
  border-radius: 14px;
  border:1px solid rgba(106,63,194,.28);
  background: rgba(185,167,255,.40);
  color:#2c2150;
  font-size: 26px;
  line-height: 1;
  cursor:pointer;
}
.scroller-btn:hover{ background: rgba(185,167,255,.60); }

.video-row{
  display:flex;
  gap: 14px;
  overflow-x:auto;
  padding: 12px 6px 16px;
  scroll-snap-type: x mandatory;
  scroll-behavior:smooth;
}
.video-row::-webkit-scrollbar{ height: 10px; }
.video-row::-webkit-scrollbar-thumb{ background: rgba(106,63,194,.20); border-radius: 999px; }
.video-row::-webkit-scrollbar-track{ background: rgba(106,63,194,.07); border-radius: 999px; }

.video-card{
  flex: 0 0 auto;
  width: 260px; /* ~3 cards visible on desktop inside container */
  scroll-snap-align: start;
  background: var(--panel-solid);
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .15s ease;
}
.video-card:hover{ transform: translateY(-2px); }
.video-thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow:hidden;
}
.video-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.play-badge{
  position:absolute;
  left:10px;
  top:10px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight:700;
  font-size: 12px;
}
.video-meta{
  padding: 10px 12px 12px;
}
.video-title{
  margin: 0;
  font-weight:700;
  font-size: 14px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: calc(14px * 1.25 * 3);
}

/* ===== FOOTER ===== */
footer{
  text-align:center;
  color:#6a5a8a;
  font-size:.92rem;
  padding: 28px 0 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .main-header-inner{ grid-template-columns: 320px 1fr 320px; }
}
@media (max-width: 920px){
  .main-header-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .main-hero{ max-width: 420px; margin: 0 auto; }
  .main-logo{ max-width: 320px; margin: 0 auto; }
  .sticky-inner{
    grid-template-columns: 60px 1fr 60px;
  }
  .nav{ gap:8px; }
  .nav a{ padding: 9px 12px; font-size: 14px; }
  .video-card{ width: 78vw; max-width: 320px; }
  .section-title{ font-size: 24px; }
}
@media (max-width: 520px){
  .sticky-avatar, .sticky-logo{ width:50px; height:50px; }
  .sticky-inner{ padding: 10px 12px; }
  .nav a{ padding: 8px 10px; font-size: 13px; border-radius: 11px; }
}
/* Mobile nav behavior */
.nav-toggle {
  display: none;
  border: 1px solid rgba(120, 90, 200, .35);
  background: rgba(210, 190, 255, .65);
  color: #3a2a70;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }
}
/* Alternating image/text blocks */
.alt-block{
  display: grid;
  grid-template-columns: 375px 1fr;
  gap: 18px;
  align-items: start;
  margin: 18px 0;
  padding: 18px;
}

.alt-block--reverse{
  grid-template-columns: 1fr 375px;
}

.alt-block--reverse .alt-media{ order: 2; }
.alt-block--reverse .alt-copy{ order: 1; }

.alt-media img{
  width: 100%;
  max-width: 375px;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.alt-copy h3{
  margin: 0 0 .5rem;
  font-family: "Playfair Display", serif;
  color: var(--purple);
}

.alt-copy p{
  margin: 0;
  line-height: 1.7;
}

/* Mobile: stack nicely */
@media (max-width: 920px){
  .alt-block,
  .alt-block--reverse{
    grid-template-columns: 1fr;
  }
  .alt-block--reverse .alt-media,
  .alt-block--reverse .alt-copy{
    order: initial;
  }
  .alt-media img{
    max-width: 100%;
  }
}

/* ===== Past Events Image Grid ===== */
.past-events-grid{
  padding: 18px;
  margin-top: 10px;
}

.past-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.past-grid img{
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
  transition: transform 0.2s ease;
}

.past-grid img:hover{
  transform: scale(1.03);
}

/* Tablet */
@media (max-width: 900px){
  .past-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 520px){
  .past-grid{
    grid-template-columns: 1fr;
  }
}