/* Community pages and the original event flyer on the homepage hero. */
.community-page { background: #f6f9fc; }
.community-wrap { max-width: 1240px; margin: 0 auto; }
.community-page h1, .community-page h2, .community-page h3 { text-transform: none; }
.community-page h2 { border: 0; padding: 0; display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; }
.community-page h3 { font-size: 1.25rem; color: #173f73; margin-bottom: 10px; }
.community-eyebrow { color: #41688b; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.community-hero { padding: 60px 32px; background: linear-gradient(115deg, #102b4c, #173f73 65%, #2e5d88); color: #fff; }
.community-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.1; max-width: 700px; margin: 0 0 22px; }
.community-hero .community-eyebrow { color: #c1d9ef; }
.community-intro { font-size: 1.125rem; line-height: 1.7; max-width: 690px; margin: 0; }
.community-section { padding: 56px 32px; }
.community-tint { background: #eaf2f9; border-top: 1px solid #d1e0ed; }
.partner-feature { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border: 1px solid #cbddea; border-radius: 16px; background: #fff; }
.partner-logo { display: flex; align-items: center; justify-content: center; padding: 44px; background: #fff; border-right: 1px solid #d5e3ee; }
.partner-logo img { width: 100%; max-width: 330px; height: auto; border-radius: 0; }
.partner-copy { padding: 44px; background: #f8fbfe; }
.partner-copy > p { font-size: 1.0625rem; }
.partner-copy > .community-eyebrow { font-size: .875rem; }
.partner-address { color: #53697a; padding-top: 10px; }
.community-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.community-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 7px; border: 1px solid #173f73; background: #173f73; color: #fff; font-size: 1rem; line-height: 1.4; font-weight: 700; text-align: center; }
.community-button:hover { background: #102b4c; border-color: #102b4c; color: #fff; }
.community-button-light { color: #173f73; border-color: #adc7dc; background: #eaf2f9; }
.community-button-light:hover { background: #dceaf5; color: #102b4c; border-color: #8aaac5; }
.community-button-white { background: #edf5fc; border-color: #edf5fc; color: #173f73; }
.community-button-white:hover { background: #fff; color: #102b4c; border-color: #fff; }
.community-button-outline { border-color: #aec8dc; background: transparent; color: #fff; }
.community-button-outline:hover { border-color: #fff; background: #ffffff15; }
.community-text-link { display: inline-block; font-weight: 700; color: #173f73; margin-top: 20px; text-decoration: underline; text-underline-offset: 4px; }
.partner-event { display: grid; grid-template-columns: 170px 1fr; gap: 44px; align-items: center; }
.partner-event > div { max-width: 760px; }
.partner-event-flyer { padding: 6px; background: #fff; transform: rotate(-3deg); box-shadow: 0 8px 20px #102b4c22; }
.partner-event-flyer img { border-radius: 0; }
.event-hero { padding: 54px 32px; }
.event-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 70px; align-items: center; }
.event-edition { margin: -6px 0 22px; color: #b9d3e9; font-size: 1.0625rem; }
.event-details { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 20px 24px; margin-top: 26px; padding: 22px 24px; border: 1px solid #9dbfd35c; border-radius: 12px; background: #ffffff0d; }
.event-detail { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.event-detail-label { color: #c1d9ef; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-detail strong { color: #fff; font-size: 1.2rem; line-height: 1.5; }
.event-detail-zone { color: #dceaf5; font-size: 1rem; }
.event-detail-location { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #9dbfd35c; }
.event-detail address { color: #eef5fb; font-style: normal; font-size: 1.0625rem; line-height: 1.65; }
.event-full-flyer { display: block; max-width: 440px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 3px; color: #173f73; box-shadow: 0 16px 35px #061a3240; }
.event-full-flyer img { width: 100%; height: auto; border-radius: 0; }
.event-full-flyer > span { display: block; text-align: center; padding: 12px 8px 3px; font-size: .875rem; font-weight: 700; }
.event-full-flyer:hover { box-shadow: 0 16px 40px #061a3270; }
.event-activities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.event-activity { padding: 26px; background: #fff; border: 1px solid #d1e0ed; border-top: 4px solid #2e5d88; border-radius: 10px; }
.event-activity p { color: #53697a; margin: 0; font-size: 1rem; }
.event-host { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: center; }
.event-host > a { display: block; padding: 20px; background: #fff; border-radius: 12px; }
.event-host img { width: 100%; height: auto; border-radius: 0; }
.event-host > div { max-width: 800px; }
.event-source-note { margin: 20px 0 0; color: #53697a; font-size: .875rem; }
.community-page main a:focus-visible { outline: 3px solid #75a6cf; outline-offset: 5px; }
/* The flyer sits over the van, with paper edges and two pieces of tape. */
.hero-event-scene { min-width: 0; position: relative; display: grid; place-items: center; padding: 22px 25px 20px; }
.hero-event-scene .hero-van { position: absolute; width: 106%; left: -7%; bottom: 26%; padding: 0; opacity: .8; }
.hero-pasted-flyer { position: relative; z-index: 1; width: min(85%,360px); display: block; padding: 7px; background: #fff; transform: rotate(4deg); box-shadow: 5px 18px 30px #05111f75; color: #173f73; }
.hero-pasted-flyer::before, .hero-pasted-flyer::after { content: ''; position: absolute; width: 88px; height: 28px; background: #dbe8f5c9; border: 1px solid #ffffff60; box-shadow: 0 2px 3px #102b4c15; pointer-events: none; z-index: 2; }
.hero-pasted-flyer::before { top: -8px; left: -17px; transform: rotate(-24deg); }
.hero-pasted-flyer::after { right: -17px; bottom: -6px; transform: rotate(-25deg); }
.hero-pasted-flyer > img { width: 100%; height: auto; border-radius: 0; }
.hero-pasted-flyer > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 5px 6px; font-size: .875rem; text-align: center; line-height: 1.4; }
.hero-pasted-flyer > span > span { color: #53697a; }
.hero-pasted-flyer:hover { transform: rotate(2deg); color: #173f73; }
.hero-pasted-flyer:focus-visible { outline: 4px solid #c4e4ff; outline-offset: 8px; }
@media (max-width: 1100px) {
  .event-hero-grid { gap: 32px; }
  .partner-copy { padding: 32px; }
  .partner-logo { padding: 30px; }
  .hero-event-scene { padding: 20px; }
  .hero-pasted-flyer { width: min(86%,340px); }
}
@media (max-width: 900px) {
  .hero-event-scene { order: -1; width: min(100%,560px); }
  .hero-event-scene .hero-van { width: 100%; left: 0; bottom: 24%; }
  .hero-pasted-flyer { width: min(82%,320px); }
}
@media (max-width: 760px) {
  .community-hero, .community-section { padding: 38px 24px; }
  .partner-feature, .event-hero-grid { grid-template-columns: 1fr; }
  .partner-logo { padding: 30px; border-right: 0; border-bottom: 1px solid #d5e3ee; }
  .partner-logo img { max-width: 230px; }
  .partner-copy { padding: 28px; }
  .event-activities { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .event-host { grid-template-columns: 150px 1fr; gap: 24px; }
  .partner-event { grid-template-columns: 135px 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .community-hero, .community-section { padding: 32px 20px; }
  .community-hero h1 { font-size: 2.25rem; }
  .community-actions { flex-direction: column; align-items: stretch; }
  .community-button { width: 100%; }
  .partner-copy { padding: 24px; }
  .event-activities, .event-host, .partner-event { grid-template-columns: 1fr; }
  .partner-event-flyer { width: 160px; margin: 0 auto 12px; }
  .event-host > a { width: 185px; margin: 0 auto; }
  .event-activity { padding: 22px; }
  .event-details { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .event-detail + .event-detail { padding-top: 16px; border-top: 1px solid #9dbfd35c; }
  .hero-event-scene { padding: 15px 12px 22px; }
  .hero-pasted-flyer { width: min(84%,300px); transform: rotate(3deg); }
  .hero-pasted-flyer::before, .hero-pasted-flyer::after { width: 65px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pasted-flyer { transition: none; }
  .hero-pasted-flyer:hover { transform: rotate(4deg); }
}
