/* Homepage revision brief, 30 November 2026. Scoped to the Homepage plus one Get Involved photo crop. */

/* 1. Hero slideshow: one fixed 3:2 frame, photographs cross-fade inside it. Hero copy never moves. */
.master-stage.homepage .hero .hero-media { position: relative; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: #f1ece3; isolation: isolate; }
.master-stage.homepage .hero .hero-media .hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.master-stage.homepage .hero .hero-media .hero-slide[hidden] { display: block; }
.master-stage.homepage .hero .hero-media:not(.is-enhanced) .hero-slide:first-of-type,
.master-stage.homepage .hero .hero-media .hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.master-stage.homepage .hero .hero-media .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 50% 50%; }
/* Framing (no stretching): each photograph is cropped to the same 3:2 frame. */
.master-stage.homepage .hero-slide--contact-team .hero-photo { object-position: 50% 38%; }
.master-stage.homepage .hero-slide--kids-volunteering .hero-photo { object-position: 50% 24%; }
.master-stage.homepage .hero-slide--team-marquee .hero-photo { object-position: 50% 12%; }
.master-stage.homepage .hero-slide--oleg-and-yosya .hero-photo { object-position: 50% 45%; }
/* Volunteer at Work: crop the upper part so the chair above the man's head is removed. */
.master-stage.homepage .hero .hero-media .hero-slide--volunteers-at-work .hero-photo,
.master-stage.get-involved-page #volunteer-section .volunteer-hero-photo--chair-crop img {
  position: absolute; inset: auto; left: 0; top: -16.8%; width: 103.5%; height: auto; max-width: none; aspect-ratio: auto; object-fit: fill; transform: none;
}
.master-stage.get-involved-page #volunteer-section .volunteer-hero-photo--chair-crop { position: relative; width: 100%; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 20px; }
.master-stage.get-involved-page #volunteer-section .volunteer-hero-photo--chair-crop img { width: 124.6%; border-radius: 0; }
@media (max-width: 760px) {
  .master-stage.get-involved-page #volunteer-section .volunteer-hero-photo--chair-crop { aspect-ratio: 4 / 3; }
  .master-stage.get-involved-page #volunteer-section .volunteer-hero-photo--chair-crop img { width: 116.8%; }
}
.master-stage.homepage .hero .slideshow-controls { position: absolute; inset: 0; z-index: 3; margin: 0; display: block; pointer-events: none; }
.master-stage.homepage .hero .slideshow-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #414042; font: 400 1.9rem/1 Golos, sans-serif; cursor: pointer; pointer-events: auto; box-shadow: none; }
.master-stage.homepage .hero .slideshow-arrow span { display: block; margin-top: -.12em; }
.master-stage.homepage .hero .slideshow-prev { left: .75rem; }
.master-stage.homepage .hero .slideshow-next { right: .75rem; }
.master-stage.homepage .hero .slideshow-arrow:hover { background: #fff; }
.master-stage.homepage .hero .slideshow-arrow:focus-visible, .master-stage.homepage .hero .slideshow-dot:focus-visible { outline: 3px solid #414042; outline-offset: 2px; }
.master-stage.homepage .hero .slideshow-dots { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); display: flex; gap: .15rem; pointer-events: auto; background: rgba(255,255,255,.72); border-radius: 999px; padding: .05rem .4rem; }
.master-stage.homepage .hero .slideshow-dot { position: relative; width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.master-stage.homepage .hero .slideshow-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 1.5px solid #414042; }
.master-stage.homepage .hero .slideshow-dot[aria-current="true"]::before { background: #e48177; border-color: #414042; }
.master-stage.homepage .hero .slideshow-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .master-stage.homepage .hero .hero-media .hero-slide { transition: none; }
}

/* 3. Testimonial: brand mustard across the whole section (charcoal text, 8:1 contrast). */
.master-stage.homepage .inline-quote.quote-sky.quote-mustard { background: #f4cd73; color: #414042; }
.master-stage.homepage .inline-quote.quote-mustard :is(p, cite, .participant-privacy) { color: #414042; }

/* 5. Make a Souper difference: one white card, soft corners, no inner borders or shadows. */
.master-stage.homepage section.involved .involved-card { background: #fff; border-radius: 20px; border: 0; box-shadow: none; padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.master-stage.homepage section.involved .involved-card .involvement-lead { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.master-stage.homepage section.involved .involved-card .involved-intro { margin-bottom: 0; }
.master-stage.homepage section.involved .involved-card .involvement-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.master-stage.homepage section.involved .involved-card .involvement-grid { align-items: stretch; }

/* 6. Souper Circle: image left, copy right on desktop, closer together. */
@media (min-width: 901px) {
  .master-stage.homepage .souper-circle { grid-template-columns: minmax(0, 340px) minmax(0, 36rem); justify-content: center; align-items: center; gap: clamp(1.75rem, 3.5vw, 3rem); }
  .master-stage.homepage .souper-circle .circle-card { order: 1; justify-self: end; }
  .master-stage.homepage .souper-circle .donation-copy { order: 2; }
}

/* 7. Proudly supported by: white band with light-grey separators and evenly spaced logos. */
.master-stage.homepage main > section.supporters { background: #fff; border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
.master-stage.homepage .supporters .supporter-grid { max-width: 1180px; margin-inline: auto; column-gap: 1.5rem; row-gap: .5rem; align-items: center; justify-content: center; }
.master-stage.homepage .supporters .supporter-grid > :is(a, span) { min-height: 96px; padding: .5rem; display: flex; align-items: center; justify-content: center; }
/* Balance prominence: lift the smallest marks, keep original colours and aspect ratios. */
.master-stage.homepage .supporters .supporter-grid img[src*="city-of-port-phillip"],
.master-stage.homepage .supporters .supporter-grid img[src*="lions-sandringham"] { width: auto; height: 82px; max-height: 82px; max-width: 150px; }
.master-stage.homepage .supporters .supporter-grid img[src*="supporter-ppcg"] { max-width: 185px; max-height: 80px; }
.master-stage.homepage .supporters .supporter-grid img[src*="supporter-josh"] { max-height: 82px; width: auto; height: 82px; max-width: 130px; }
.master-stage.homepage .supporters .supporter-cta { margin-top: 1.25rem; }
/* 8. Newsletter: unchanged design; clean transition from the supporters band. */
.master-stage.homepage main > section.newsletter { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
