/* ===== Supporters Section ===== */
.supporters {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #c61f27; /* keep your red theme */
  color: #fff;
}

.supporters__header {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto clamp(1.5rem, 2vw, 2.25rem);
}

.supporters__title {
  margin: 0 0 .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.05;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.supporters__intro {
  opacity: .92;
}

.supporters__intro p {
  margin: 0;
}

/* Responsive grid with equal “cards” */
.supporters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(1rem, 1.6vw, 1.4rem);
}

/* Card */
.supporters__card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: .6rem;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}

.supporters__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.20);
}

.supporters__card:focus-visible {
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 3px;
}

/* Logo wrapper keeps logos aligned even with different aspect ratios */
.supporters__logoWrap {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 12px;
  min-height: 110px;
}

/* Use object-fit to avoid stretching */
.supporters__logo {
  max-width: 100%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Optional name (can remove if you don’t want it visible) */
.supporters__name {
  text-align: center;
  font-weight: 700;
  color: #1b1b1b;
  line-height: 1.2;
}

/* Placeholder if no image */
.supporters__placeholder {
  width: 100%;
  height: 92px;
  border-radius: 10px;
  background: repeating-linear-gradient(
    45deg,
    #eee,
    #eee 10px,
    #f7f7f7 10px,
    #f7f7f7 20px
  );
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .supporters__card {
    transition: none;
  }
  .supporters__card:hover {
    transform: none;
  }
}

/* ===== Facts / Fun Facts ===== */
.facts {
  position: relative;
}

.facts__bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  overflow: hidden;
}

/* Dark overlay for legibility on bright photos */
.facts__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.65)),
    radial-gradient(90% 60% at 50% 20%, rgba(0,0,0,.15), rgba(0,0,0,.55));
  pointer-events: none;
}

.facts__inner {
  position: relative;
  z-index: 1;
}

.facts__header {
  text-align: center;
  max-width: 62rem;
  margin: 0 auto clamp(1.25rem, 2vw, 2rem);
  color: #fff;
}

.facts__title {
  margin: 0 0 .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.05;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.facts__intro {
  opacity: .95;
  font-size: 1.05rem;
  text-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.facts__intro p { margin: 0; }

/* Cards grid */
.facts__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.9rem, 1.5vw, 1.25rem);
  align-items: stretch;
}

/* 4-up desktop, 2-up tablet, 1-up mobile */
.facts__card {
  grid-column: span 3;
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  text-align: center;
  display: grid;
  gap: .5rem;
  align-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.55);
}

@media (max-width: 992px) {
  .facts__card { grid-column: span 6; }
}
@media (max-width: 576px) {
  .facts__card { grid-column: span 12; }
}

/* Icon */
.facts__iconWrap {
  display: grid;
  place-items: center;
  margin-bottom: .15rem;
}

.facts__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Stat typography */
.facts__figure {
  font-weight: 900;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1;
  color: #c61f27; /* your brand red */
  letter-spacing: .01em;
}

.facts__label {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  opacity: .92;
}

/* Optional: subtle hover (nice on desktop) */
@media (hover:hover) {
  .facts__card {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .facts__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 52px rgba(0,0,0,.28);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .facts__card { transition: none; }
}


/* =========================
   FACTS SECTION (matches Razor markup)
   ========================= */

/* Section background + spacing */
.facts-section{
  /* default fallback if no bg image provided */
  --facts-bg: none;
  --facts-overlay: rgba(0,0,0,.55);
  --facts-overlay-2: rgba(0,0,0,.70);
  --facts-accent: #c61f27; /* brand red */

  position: relative;
  background: var(--facts-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  overflow: hidden;
  color: #fff;
}

/* Overlay for readability on bright photos */
.facts-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--facts-overlay), var(--facts-overlay-2)),
    radial-gradient(90% 60% at 50% 15%, rgba(0,0,0,.18), rgba(0,0,0,.55));
  pointer-events: none;
  z-index: 0;
}

.facts-section__inner{
  position: relative;
  z-index: 1;
}

/* Header */
.facts-header{
  max-width: 62rem;
  margin: 0 auto clamp(1.25rem, 2vw, 2rem);
}

.facts-title{
  margin: 0 0 .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.facts-subtitle{
  opacity: .95;
  font-size: 1.05rem;
  text-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.facts-subtitle p{ margin: 0; }

/* Grid */
.facts-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.9rem, 1.6vw, 1.25rem);
  align-items: stretch;
}

/* 4-up desktop, 2-up tablet, 1-up mobile */
.fact-card{
  grid-column: span 3;

  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(255,255,255,.94);
  color: #111;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);

  display: grid;
  gap: .5rem;
  align-content: center;
  text-align: center;

  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 992px){
  .fact-card{ grid-column: span 6; }
}
@media (max-width: 576px){
  .fact-card{ grid-column: span 12; }
}

/* Icon */
.fact-card__icon{
  display: grid;
  place-items: center;
  min-height: 64px;
  margin-bottom: .1rem;
}

.fact-card__icon img{
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Fallback dot when no icon */
.fact-card__icon-dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--facts-accent);
  box-shadow: 0 0 0 8px rgba(198,31,39,.18);
}

/* Figure + title */
.fact-card__figure{
  font-weight: 900;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1;
  color: var(--facts-accent);
  letter-spacing: .01em;
}

.fact-card__title{
  font-weight: 700;
  color: #222;
  opacity: .92;
}

/* Optional hover lift */
@media (hover:hover){
  .fact-card{
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .fact-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 20px 52px rgba(0,0,0,.28);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fact-card{ transition: none; }
}

/* =========================
   ABOUT / WELCOME SECTION
   ========================= */

.about{
  padding: clamp(2.25rem, 4vw, 4rem) 0;
  background: #fff;
}

/* 2-column layout + optional 3rd row item (right image) */
.about__grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}

@media (max-width: 992px){
  .about__grid{
    grid-template-columns: 1fr;
  }
}

/* Left column */
.about__left{
  display: grid;
  gap: 1.25rem;
}

.about__kicker{
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: #111;
}

/* Big stacked title (red) like screenshot */
.about__title{
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: #d7262b; /* brand red */
}

/* Framed image with thick red border */
.about__figure{
  margin: 0;
  display: block;
  border: 10px solid #d7262b;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}

.about__image{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Right column text */
.about__right{
  padding-top: .25rem;
}

.about__richtext{
  color: #6f6f6f;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about__richtext p{
  margin: 0 0 1.1rem;
}

/* Optional secondary image area */
.about__extra{
  grid-column: 1 / -1;
}

.about__figure--secondary{
  max-width: 760px; /* keeps it tasteful */
}

/* Better rhythm on smaller screens */
@media (max-width: 992px){
  .about__right{ padding-top: 0; }
  .about__figure{ border-width: 8px; }
}


/* =========================
   ABOUT HERO (mockup style)
   ========================= */

.about-hero{
  padding: clamp(2.25rem, 4vw, 4.5rem) 0;
  background: #f6f1ed; /* warm off-white like mockup */
  color: #111;
}

/* 2-column layout */
.about-hero__grid{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  align-items: start;
}

@media (max-width: 992px){
  .about-hero__grid{
    grid-template-columns: 1fr;
  }
}

/* Left content */
.about-hero__content{
  max-width: 42rem;
}

.about-hero__kicker{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 2.5rem;
  color: #111;
  margin-bottom: .75rem;
}

/* Big stacked red title */
.about-hero__title{
  margin: 0 0 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.03;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  color: #d7262b;
}

/* Body text */
.about-hero__text{
  color: #5f5f5f;
  font-size: 1.50rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-hero__text p{
  margin: 0 0 1.1rem;
}

/* CTA button */
.about-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  border-radius: 10px;
  background: #d7262b;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.about-hero__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}

.about-hero__btn:focus-visible{
  outline: 3px solid rgba(215,38,43,.35);
  outline-offset: 3px;
}

/* Right media */
.about-hero__media{
  display: grid;
  align-content: start;
}

/* Rounded frame with bold red border */
.about-hero__frame{
  margin: 0;
  background: #fff;
  border: 10px solid #d7262b;
  border-radius: 28px 28px 28px 80px; /* "swoosh" corner feel */
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}

.about-hero__img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Optional secondary image row */
.about-hero__secondary{
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.about-hero__frame--secondary{
  max-width: 900px;
  border-radius: 22px;
  border-width: 8px;
}

@media (max-width: 576px){
  .about-hero__frame{
    border-width: 8px;
    border-radius: 22px 22px 22px 56px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .about-hero__btn{
    transition: none;
  }
}


/* =========================
   VOLUNTEERS
   ========================= */

.volunteers{
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  background: #f6f1ed; /* same warm off-white as your mockup section */
}

.volunteers__header{
  max-width: 62rem;
  margin: 0 auto clamp(1.25rem, 2vw, 2rem);
}

.volunteers__title{
  margin: 0 0 .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: #d7262b;
  line-height: 1.05;
}

.volunteers__intro{
  color: #6a6a6a;
  font-size: 1.15rem; /* slightly larger p text as requested earlier */
  line-height: 1.85;
}

.volunteers__intro p{ margin: 0; }

/* Responsive grid */
.volunteers__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

/* 3-up desktop, 2-up tablet, 1-up mobile */
.vol-card{
  grid-column: span 4;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
  display: grid;
  grid-template-rows: auto 1fr;
}

@media (max-width: 992px){
  .vol-card{ grid-column: span 6; }
}
@media (max-width: 576px){
  .vol-card{ grid-column: span 12; }
}

/* Image area */
.vol-card__media{
  position: relative;
  padding: 26px 18px 0;
  display: grid;
  place-items: center;
}

/* Big circular avatar */
.vol-card__img,
.vol-card__placeholder{
  width: min(240px, 78%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
  background: #f2f2f2;
  border: 10px solid #e6e6e6; /* subtle ring */
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

.vol-card__placeholder{
  background: repeating-linear-gradient(
    45deg,
    #eee,
    #eee 12px,
    #f7f7f7 12px,
    #f7f7f7 24px
  );
}

/* Body */
.vol-card__body{
  padding: 18px 18px 22px;
  text-align: center;
  display: grid;
  gap: .35rem;
}

/* Name */
.vol-card__name{
  font-weight: 900;
  font-size: 1.2rem;
  color: #111;
}

/* Role pill */
.vol-card__role{
  display: inline-flex;
  justify-self: center;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(215,38,43,.10);
  color: #d7262b;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .85rem;
}

/* Hover lift */
@media (hover:hover){
  .vol-card{
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .vol-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(0,0,0,.16);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .vol-card{ transition: none; }
}

/* =========================
   HERO / BANNER (FlexSlider)
   ========================= */

.hero{
  position: relative;
  background: #111;
}

/* Let the slider be the sizing context */
.hero__slider{
  margin: 0;
  border: 0;
  background: transparent;
}

/* Slide */
.hero__slide{
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

/* Image behaves like a hero background */
.hero__img{
  width: 100%;
  height: clamp(280px, 38vw, 520px);
  display: block;
  object-fit: cover;
}

/* Overlay for readability */
.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.00) 80%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
}

/* Content positioning */
.hero__content{
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: start;
  padding: clamp(1rem, 2.5vw, 2rem);
}

/* =========================
   UPDATED: Glassmorphism + bigger card + animated reveal
   ========================= */

/* Caption card (glass) */
.hero__card{
  max-width: min(640px, 92vw);         /* bigger */
  padding: 22px 24px 24px;             /* bigger */
  border-radius: 20px;                  /* softer */

  background: rgba(255,255,255,.22);    /* glass */
  color: #111;

  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);

  border: 1px solid rgba(255,255,255,.35);

  box-shadow:
    0 25px 60px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.35);

  /* used by reveal animation */
  transition: transform .35s ease, opacity .35s ease;
}

/* Animated reveal (FlexSlider adds flex-active-slide to active li) */
.hero__slide .hero__card{
  opacity: 0;
  transform: translateY(18px) scale(.98);
}
.hero__slide.flex-active-slide .hero__card{
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: .15s;
}

/* Top line */
.hero__kicker{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;  /* more modern */
  font-size: 2.1rem;        /* slightly larger */
  color: #ff3b3f;         /* a touch brighter */
  margin-bottom: .5rem;
}

/* Main line */
.hero__headline{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.08;
  color: #111;
  text-shadow: 0 2px 10px rgba(0,0,0,.15);
  font-size: clamp(2.1rem, 3vw, 2.4rem); /* bigger */
  margin-bottom: 1.1rem;
}

/* Button */
.hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .9rem 1.5rem;   /* bigger */
  border-radius: 14px;     /* softer */

  background: linear-gradient(135deg, #e02b2f, #c41f24);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;

  box-shadow:
    0 16px 34px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.35);

  transition: transform .2s ease, box-shadow .2s ease;
}

.hero__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0,0,0,.32);
}

.hero__btn:focus-visible{
  outline: 3px solid rgba(255,59,63,.35);
  outline-offset: 3px;
}

/* Flex nav (modern arrows) */
.hero__nav .flex-prev,
.hero__nav .flex-next{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff !important;
  display: grid !important;
  place-items: center;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease;
}

.hero__nav .flex-prev:hover,
.hero__nav .flex-next:hover{
  transform: scale(1.05);
  background: rgba(0,0,0,.60);
}

/* Ensure arrows sit nicely */
.flex-direction-nav a{
  top: 50%;
  transform: translateY(-50%);
}
.flex-direction-nav .flex-prev{ left: 14px; }
.flex-direction-nav .flex-next{ right: 14px; }

/* Mobile tweaks */
@media (max-width: 576px){
  .hero__card{
    padding: 16px 18px 18px;
    border-radius: 16px;
  }
  .hero__headline{
    font-size: 1.4rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero__btn,
  .hero__nav .flex-prev,
  .hero__nav .flex-next,
  .hero__card,
  .hero__slide .hero__card{
    transition: none;
    transform: none;
  }
  .hero__slide .hero__card{
    opacity: 1;
  }
}

.poster-qr-generator {
    max-width: 480px;
}

    .poster-qr-generator label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .poster-qr-generator select {
        width: 100%;
        padding: 10px;
        margin-bottom: 12px;
    }

    .poster-qr-generator button {
        padding: 10px 16px;
        cursor: pointer;
    }

.poster-qr-error {
    padding: 12px;
    margin-bottom: 12px;
    background: #ffe5e5;
}

.poster-qr-success {
    padding: 12px;
    margin-bottom: 12px;
    background: #e6ffe6;
}

.poster-qr-generator {
    max-width: 640px;
}

.poster-qr-field {
    margin-bottom: 18px;
}

.poster-qr-generator label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.poster-qr-generator select,
.poster-qr-generator input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.poster-qr-link-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.poster-qr-link-row input {
    flex: 1;
}

.poster-qr-button,
.poster-qr-generator button {
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

#copyMemberLink {
    background: #555;
    color: #fff;
}

#generatePosterButton {
    margin-top: 4px;
    background: #dc3545; /* red */
    color: #fff;
}

#generatePosterButton:hover:not(:disabled) {
    background: #bb2d3b; /* darker red on hover */
}

#generatePosterButton:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.poster-qr-warning,
.poster-qr-error {
    padding: 14px 16px;
    border-radius: 6px;
    background: #fff3cd;
    margin: 16px 0;
}

.poster-qr-error {
    background: #f8d7da;
}

.poster-qr-warning p {
    margin: 0 0 8px;
}

.poster-qr-warning p:last-child {
    margin-bottom: 0;
}

#flipbook {
    width: 900px;
    height: 620px;
    max-width: 95vw;

    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;

    display: flex;
    justify-content: center;
}


.programme-floating-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    width: 210px;
    height: 210px;
    display: block;
    transition: transform 0.2s ease;
}

.programme-floating-button:hover {
    transform: scale(1.08);
}

.programme-floating-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 600px) {
    .programme-floating-button {
        width: 75px;
        height: 75px;
        right: 12px;
        bottom: 12px;
    }
}

/* ==========================================================
   HCG STALL & PROCESSION APPLICATION PORTAL
   ========================================================== */

.hcg-portal {
    --hcg-red: #d20d15;
    --hcg-red-dark: #b60a11;
    --hcg-red-soft: #fff0f1;

    --hcg-bg: #f2f2f3;
    --hcg-card: #ffffff;

    --hcg-heading: #202024;
    --hcg-text: #6d6d73;
    --hcg-border: #e5e0e1;

    background: var(--hcg-bg);
    min-height: calc(100vh - 70px);
}

.hcg-portal *,
.hcg-portal *::before,
.hcg-portal *::after {
    box-sizing: border-box;
}


/* ==========================================================
   HERO
   ========================================================== */

.hcg-portal__hero {
    position: relative;

    min-height: 380px;

    display: flex;
    align-items: center;

    padding: 58px 24px 120px;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(35, 0, 3, .78) 0%,
            rgba(40, 4, 7, .62) 42%,
            rgba(20, 20, 20, .18) 100%
        ),
        url('/media/mxlhwnpf/portalloginbackground.png');

    background-size: cover;
    background-position: center;
}

.hcg-portal__hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.03) 0%,
            rgba(0,0,0,.16) 100%
        );

    pointer-events: none;
}

.hcg-portal__hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

.hcg-portal__hero-content {
    max-width: 780px;
}


/* ==========================================================
   HERO IDENTITY
   ========================================================== */

.hcg-portal__identity {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    text-align: left;
}

.hcg-portal__identity-mark {
    display: flex;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--hcg-red);

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .5px;

    box-shadow:
        0 8px 24px rgba(210,13,21,.30);
}

.hcg-portal__identity-text {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.hcg-portal__identity-text strong {
    color: #fff;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.2;
}

.hcg-portal__identity-text span {
    color: #ffc3c6;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* ==========================================================
   HERO TEXT
   ========================================================== */

.hcg-portal__hero h1 {
    margin: 0 0 15px !important;

    color: #fff !important;

    font-family: inherit !important;

    font-size: 50px !important;
    font-weight: 750 !important;

    letter-spacing: -.7px;

    line-height: 1.08 !important;

    text-shadow:
        0 3px 18px rgba(0,0,0,.28);
}

.hcg-portal__hero p {
    max-width: 720px;

    margin: 0 0 6px !important;

    color: rgba(255,255,255,.92) !important;

    font-size: 17px !important;
    line-height: 1.6 !important;
}

.hcg-portal__hero-subtext {
    color: rgba(255,255,255,.77) !important;

    font-size: 14px !important;
}


/* ==========================================================
   HERO TAGS
   ========================================================== */

.hcg-portal__hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 24px;
}

.hcg-portal__hero-tags span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;

    background: rgba(255,255,255,.15);

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    backdrop-filter: blur(5px);
}

.hcg-portal__hero-tags svg {
    width: 15px;
    height: 15px;

    fill: #ffb5ba;
}


/* ==========================================================
   MAIN OVERLAP AREA
   ========================================================== */

.hcg-portal__main {
    position: relative;
    z-index: 5;

    width: calc(100% - 48px);
    max-width: 1180px;

    margin: -88px auto 0;

    padding-bottom: 65px;
}


/* ==========================================================
   GRID
   ========================================================== */

.hcg-portal__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


/* ==========================================================
   CARDS
   ========================================================== */

.hcg-card {
    position: relative;

    padding: 32px;

    overflow: hidden;

    border: 1px solid rgba(0,0,0,.05) !important;
    border-radius: 16px !important;

    background: #fff !important;

    box-shadow:
        0 20px 50px rgba(38,20,23,.13) !important;
}

.hcg-card--single {
    max-width: 650px;
    margin: 0 auto;
}


/* ==========================================================
   CARD HEADING
   ========================================================== */

.hcg-card__heading {
    display: flex;

    align-items: center;

    gap: 16px;

    min-height: 68px;

    margin-bottom: 26px;
}

.hcg-card__heading > div:last-child {
    min-width: 0;
}

.hcg-card__eyebrow {
    margin-bottom: 3px;

    color: var(--hcg-red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.hcg-card__heading h2 {
    margin: 0 0 4px !important;

    color: var(--hcg-heading) !important;

    font-family: inherit !important;

    font-size: 28px !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;
}

.hcg-card__heading p {
    margin: 0 !important;

    color: var(--hcg-text) !important;

    font-size: 13px !important;

    line-height: 1.45 !important;
}


/* ==========================================================
   CARD ICON
   ========================================================== */

.hcg-card__icon {
    display: flex;

    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--hcg-red-soft);

    color: var(--hcg-red);
}

.hcg-card__icon svg {
    width: 23px;
    height: 23px;

    fill: currentColor;
}


/* ==========================================================
   FORM FIELDS
   ========================================================== */

.hcg-field {
    margin-bottom: 17px;
}

.hcg-field label {
    display: block;

    margin: 0 0 7px !important;

    color: #353539 !important;

    font-size: 13px !important;
    font-weight: 600 !important;
}

.hcg-field input,
.hcg-field input.form-control {
    display: block;

    width: 100% !important;
    height: 49px !important;

    margin: 0 !important;

    padding: 11px 14px !important;

    border: 1px solid #d5d5db !important;
    border-radius: 10px !important;

    outline: none !important;

    background: #fff !important;

    color: #333338 !important;

    font-size: 14px !important;

    box-shadow: none !important;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.hcg-field input:hover {
    border-color: #bdbdc4 !important;
}

.hcg-field input:focus {
    border-color: var(--hcg-red) !important;

    box-shadow:
        0 0 0 4px rgba(210,13,21,.07) !important;
}

.hcg-field input::placeholder {
    color: #aaaab1 !important;
}

.hcg-field input:-webkit-autofill,
.hcg-field input:-webkit-autofill:hover,
.hcg-field input:-webkit-autofill:focus {
    -webkit-box-shadow:
        0 0 0 1000px #fff inset !important;

    -webkit-text-fill-color:
        #333338 !important;
}


/* ==========================================================
   REMEMBER ME
   ========================================================== */

.hcg-check {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 3px 0 20px;

    color: #66666c;

    font-size: 13px;
}

.hcg-check input {
    width: 17px !important;
    height: 17px !important;

    margin: 0 !important;

    accent-color: var(--hcg-red);
}

.hcg-check label {
    margin: 0 !important;

    font-size: 13px !important;
    font-weight: 500 !important;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.hcg-button,
button.hcg-button {
    display: block;

    width: 100%;
    min-height: 49px;

    padding: 12px 20px !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: var(--hcg-red) !important;

    color: #fff !important;

    font-family: inherit;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-align: center;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(210,13,21,.18) !important;

    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.hcg-button:hover {
    transform: translateY(-1px);

    background: var(--hcg-red-dark) !important;

    box-shadow:
        0 10px 22px rgba(210,13,21,.23) !important;
}

.hcg-button--outline {
    margin-top: 10px !important;

    border: 1px solid var(--hcg-red) !important;

    background: #fff !important;

    color: var(--hcg-red) !important;

    box-shadow: none !important;
}

.hcg-button--outline:hover {
    background: var(--hcg-red) !important;

    color: #fff !important;
}


/* ==========================================================
   VALIDATION
   ========================================================== */

.hcg-validation {
    display: block;

    margin-top: 5px;

    color: var(--hcg-red) !important;

    font-size: 12px !important;
}

.hcg-validation:empty {
    display: none !important;
}

.hcg-validation-summary.validation-summary-valid,
.hcg-validation-summary:empty,
.hcg-validation-summary ul:empty {
    display: none !important;
}

.hcg-alert.validation-summary-errors {
    margin-bottom: 18px;

    padding: 12px 14px;

    border: 1px solid #f0c4c6 !important;
    border-radius: 9px !important;

    background: #fff2f3 !important;

    color: #a90d13 !important;

    font-size: 13px !important;
}

.hcg-alert ul {
    margin: 0 !important;
    padding-left: 18px !important;
}


/* ==========================================================
   SUCCESS
   ========================================================== */

.hcg-success {
    padding: 20px;

    border: 1px solid #cde5d1;
    border-radius: 10px;

    background: #f2faf4;
}

.hcg-success h3 {
    margin: 0 0 5px !important;

    color: #34773e !important;

    font-size: 20px !important;
    font-weight: 700 !important;
}


/* ==========================================================
   FEATURES
   ========================================================== */

.hcg-portal__features {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 20px;
}

.hcg-feature {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border: 1px solid var(--hcg-border);
    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 8px 24px rgba(55,35,39,.055);
}

.hcg-feature__icon {
    display: flex;

    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--hcg-red);

    color: #fff;

    box-shadow:
        0 8px 18px rgba(210,13,21,.16);
}

.hcg-feature__icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;
}

.hcg-feature__eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--hcg-red);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.25px;

    text-transform: uppercase;
}

.hcg-feature h3 {
    margin: 0 0 4px !important;

    color: var(--hcg-heading) !important;

    font-size: 15px !important;
    font-weight: 700 !important;
}

.hcg-feature p {
    margin: 0 !important;

    color: var(--hcg-text) !important;

    font-size: 12px !important;

    line-height: 1.45 !important;
}


/* ==========================================================
   MEMBERSHIP CTA
   ========================================================== */

.hcg-membership-cta {
    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 18px;

    margin-top: 20px;

    padding: 20px 22px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #262326 0%,
            #161416 100%
        );

    box-shadow:
        0 12px 30px rgba(30,20,22,.13);
}

.hcg-membership-cta__icon {
    display: flex;

    width: 50px;
    height: 50px;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--hcg-red);

    color: #fff;
}

.hcg-membership-cta__icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;
}

.hcg-membership-cta__content {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hcg-membership-cta__content strong {
    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.hcg-membership-cta__content span {
    color: rgba(255,255,255,.67);

    font-size: 12px;
    line-height: 1.45;
}

.hcg-membership-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    border-radius: 9px;

    background: #fff;

    color: #202024 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}

.hcg-membership-cta__button:hover {
    background: var(--hcg-red);

    color: #fff !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 850px) {

    .hcg-portal__hero {
        min-height: 360px;

        padding:
            46px 20px 110px;
    }

    .hcg-portal__hero h1 {
        font-size: 39px !important;
    }

    .hcg-portal__main {
        width: calc(100% - 30px);

        margin-top: -74px;
    }

    .hcg-portal__grid {
        grid-template-columns: 1fr;
    }

    .hcg-portal__features {
        grid-template-columns: 1fr;
    }

    .hcg-membership-cta {
        grid-template-columns: auto 1fr;
    }

    .hcg-membership-cta__button {
        grid-column: 1 / -1;

        width: 100%;
    }
}

@media (max-width: 500px) {

    .hcg-portal__hero {
        min-height: 390px;

        padding:
            35px 16px 105px;

        background-position: 62% center;
    }

    .hcg-portal__hero h1 {
        font-size: 31px !important;
    }

    .hcg-portal__hero p {
        font-size: 15px !important;
    }

    .hcg-portal__hero-tags {
        gap: 6px;
    }

    .hcg-portal__hero-tags span {
        padding: 7px 10px;

        font-size: 11px;
    }

    .hcg-portal__main {
        width: calc(100% - 22px);

        margin-top: -62px;

        padding-bottom: 45px;
    }

    .hcg-card {
        padding: 23px 18px 25px;

        border-radius: 15px !important;
    }

    .hcg-card__heading {
        align-items: flex-start;
    }

    .hcg-card__heading h2 {
        font-size: 23px !important;
    }

    .hcg-membership-cta {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hcg-membership-cta__icon {
        margin: 0 auto;
    }
}
/* Portal registration type selector */
.hcg-registration-type{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.hcg-registration-choice{display:flex!important;gap:10px;align-items:flex-start;padding:13px;border:1px solid #ddd;border-radius:12px;cursor:pointer;background:#fff}.hcg-registration-choice.is-selected{border-color:#d20d15;background:#fff5f5;box-shadow:0 0 0 3px rgba(210,13,21,.06)}.hcg-registration-choice input{margin-top:3px;accent-color:#d20d15}.hcg-registration-choice strong,.hcg-registration-choice small{display:block}.hcg-registration-choice small{margin-top:3px;color:#777;line-height:1.35}.hcg-register-message{margin-bottom:18px;padding:13px 15px;border-radius:10px;font-size:13px}.hcg-register-message.is-error{background:#fff2f3;color:#a90d13;border:1px solid #f0c4c6}.hcg-register-message.is-success{background:#f2faf4;color:#34773e;border:1px solid #cde5d1}@media(max-width:500px){.hcg-registration-type{grid-template-columns:1fr}}
