/* Additions on top of the cloned Webflow stylesheet (regensunite.shared.css).
   Only the new sections live here: the hero, the network feed, the partner
   marquee. Everything else on the page is the original markup and CSS. */

/* --- Hero: centered copy over a marquee of archive photos ------------------ */
.mhero { position: relative; overflow: hidden; background-color: var(--light-beige); padding: 4rem 0 0; }
.mhero-copy { position: relative; z-index: 2; text-align: center; max-width: 56rem; margin: 0 auto; padding: 1rem 1.25rem 0; display: flex; flex-direction: column; align-items: center; }
.mhero-tag { display: inline-block; margin: 0 0 1.5rem; padding: 0.45rem 1.1rem; border-radius: 999px; border: 1px solid rgba(25,82,69,0.35); background: rgba(251,255,238,0.7); font-family: Barlow, sans-serif; font-size: 1rem; font-weight: 600; color: var(--dark-green); }
.mhero-title { font-family: Barlow, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; font-size: clamp(2.4rem, 4.5vw, 4.2rem); color: var(--dark-green); margin: 0; max-width: 16ch; }
.mhero-title .accent { color: var(--bright-green); }
.mhero-title span { display: inline-block; white-space: pre; }
.mhero-desc { font-family: Barlow, sans-serif; font-size: 1.25rem; line-height: 1.5; font-weight: 500; color: var(--dark-green); max-width: 36rem; margin: 1.5rem 0 0; }
.mhero-desc strong { font-weight: 800; color: var(--dark-green); }
.mhero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.mhero-actions .textlink { font-family: Barlow, sans-serif; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dark-green); text-decoration: none; font-size: 0.95rem; }
.mhero-actions .textlink:hover { color: var(--bright-green); }
.mhero-strip { position: relative; z-index: 1; min-width: 0; width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; height: auto; padding: 0.5rem 0 0.75rem; margin-top: 2rem; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mhero-strip::-webkit-scrollbar { display: none; }
.mhero-strip.dragging { cursor: grabbing; }
.mhero-strip.dragging .mhero-card { pointer-events: none; }
.mhero-track { display: flex; gap: 1.25rem; width: max-content; padding: 1.5rem 0 0.75rem 1rem; }

.mhero-card { position: relative; display: block; flex: 0 0 auto; height: 15rem; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 36px rgba(1,57,44,0.16); text-decoration: none; color: var(--light-green); }
.mhero-card img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.mhero-card:hover img { transform: scale(1.05); }
.mhero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 0.9rem 0.85rem; display: flex; flex-direction: column; gap: 0.15rem; background: linear-gradient(180deg, rgba(1,57,44,0) 0%, rgba(1,57,44,0.85) 100%); font-family: Barlow, sans-serif; font-weight: 700; font-size: 0.85rem; line-height: 1.2; letter-spacing: 0.3px; opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.3s; }
.mhero-cap small { font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ru-mint); }
.mhero-card:hover .mhero-cap, .mhero-card:focus-visible .mhero-cap { opacity: 1; transform: none; }
a.mhero-card[target="_blank"]:after { content: none; }
.mhero-card img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
@media (max-width: 767px) {
  .mhero { padding-top: 2.5rem; }
  .mhero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .mhero-desc { font-size: 1.1rem; }
  .mhero-strip { padding-bottom: 1.5rem; }
  .mhero-card { height: 10rem; }
}

/* --- Small line under the events list --------------------------------------- */
.organizer-line { font-family: Barlow, sans-serif; font-size: 1.1rem; color: var(--dark-green); margin: 2rem 0 0; }
.organizer-line a { color: var(--salmon); font-weight: 700; text-decoration: none; margin-left: 0.35rem; }
.organizer-line a:hover { text-decoration: underline; }

/* --- Latest from the network ------------------------------------------------ */
.feed { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tile { position: relative; overflow: hidden; border-radius: 16px; background: var(--lightest-green); border: 1px solid var(--medium-beige); color: var(--dark-green); text-decoration: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; min-height: 13rem; font-family: Barlow, sans-serif; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(1,57,44,0.12); }
.tile.span-7 { grid-column: span 7; } .tile.span-5 { grid-column: span 5; } .tile.span-4 { grid-column: span 4; }
.tile.media { justify-content: flex-end; color: var(--light-green); min-height: 22rem; border: 0; }
.tile.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,57,44,0.55) 0%, rgba(1,57,44,0.25) 35%, rgba(1,57,44,0.92) 100%); }
.tile.media > * { position: relative; z-index: 1; }
.tile .kind { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--salmon); }
.tile.media .kind { color: var(--light-green); background: rgba(1,57,44,0.55); padding: 0.3rem 0.6rem; border-radius: 999px; align-self: flex-start; backdrop-filter: blur(4px); }
.tile .kind svg { width: 16px; height: 16px; }
.tile h3 { margin: 0; font-size: 1.4rem; line-height: 1.15; font-weight: 700; flex-grow: 1; color: inherit; }
.tile.media h3 { font-size: 1.7rem; max-width: 18ch; text-shadow: 0 2px 12px rgba(1,57,44,0.6); }
.tile .meta { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-green); }
.tile.media .meta { color: rgba(241,245,228,0.9); text-shadow: 0 1px 8px rgba(1,57,44,0.7); }
.tile .play { position: absolute; right: 1.5rem; top: 1.5rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--salmon); display: grid; place-items: center; z-index: 1; }
.tile .play svg { width: 16px; height: 16px; margin-left: 2px; }
.sample { display: inline-block; font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; padding: 0.15rem 0.45rem; border: 1px solid currentColor; border-radius: 999px; opacity: 0.7; margin-left: 0.4rem; }
.feed-note { font-family: Barlow, sans-serif; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-green); margin: 1.25rem 0 0; }
@media (max-width: 991px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile[class*="span-"] { grid-column: span 1; } .tile.media { grid-column: span 2; } }
@media (max-width: 560px) { .feed { grid-template-columns: 1fr; } .tile.media { grid-column: span 1; min-height: 18rem; } }

/* --- Partner marquee --------------------------------------------------------- */
.marquee { display: flex; overflow: hidden; margin: 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 1.75rem; padding: 0.75rem 0.9rem 1rem; flex-shrink: 0; animation: marquee 70s linear infinite reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 72px; width: auto; max-width: 240px; object-fit: contain; filter: grayscale(1); opacity: 0.75; border: 1px solid rgba(25,82,69,0.25); border-radius: 12px; padding: 6px; background: var(--lightest-green); transition: filter 0.2s, opacity 0.2s, border-color 0.2s; }
.marquee-track img:hover { filter: none; opacity: 1; border-color: var(--dark-green); }
.marquee-track img:nth-child(odd) { transform: rotate(-3deg); }
.marquee-track img:nth-child(even) { transform: rotate(3deg) translateY(6px); }
.marquee-track img:nth-child(3n) { transform: rotate(-1.5deg) translateY(-4px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

/* --- Logo strip under the hero ---------------------------------------------- */
.logo-strip { padding: 0 0 2.5rem; margin-top: -0.5rem; }
.logo-strip .strip-label { font-family: Barlow, sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-green); text-align: center; margin: 1rem 0 0; }
.logo-strip .strip-label a { color: var(--salmon); text-decoration: none; margin-left: 0.5rem; }
.logo-strip .strip-label a:hover { text-decoration: underline; }

/* --- Upcoming sample note ---------------------------------------------------- */
.sample-note { font-family: Barlow, sans-serif; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-green); margin: 1rem 0 0; }

/* --- Past events: show 10, fade, load more --------------------------------- */
#past-events { position: relative; }
#past-events.past-collapsed .w-dyn-item.extra { display: none; }
#past-events.past-collapsed .faq3_list:not(.w-dyn-items) { display: none; }
#past-events.past-collapsed .faq3_list.w-dyn-items { position: relative; }
#past-events.past-collapsed .faq3_list.w-dyn-items::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5.5rem; pointer-events: none; background: linear-gradient(180deg, rgba(245,239,228,0) 0%, var(--light-beige) 100%); }
.load-more-wrap { display: flex; justify-content: center; padding: 0.25rem 0 3.5rem; position: relative; z-index: 2; }
.load-more-wrap .w-button { background-color: transparent; border: 1px solid rgba(25,82,69,0.3); color: var(--grey-green); font-size: 0.85rem; letter-spacing: 1.5px; padding: 0.45rem 1.25rem; }
.load-more-wrap .w-button:hover { border-color: var(--dark-green); color: var(--dark-green); }
#past-events:not(.past-collapsed) { padding-bottom: 3.5rem; }
.video-section { padding-top: 1rem; }
#past-events:not(.past-collapsed) .load-more-wrap { display: none; }

/* --- Work with us CTA band ----------------------------------------------------- */
.cta-band { background-color: var(--dark-green); color: var(--light-green); }
.cta-band .cta-inner { max-width: 60rem; margin: 0 auto; padding: 4.5rem 1.25rem; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2.5rem; align-items: center; }
.cta-band .kicker { font-family: Barlow, sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ru-mint); margin: 0 0 0.75rem; }
.cta-band h3 { font-family: Barlow, sans-serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; color: var(--light-green); margin: 0 0 0.75rem; }
.cta-band p { font-family: Barlow, sans-serif; font-size: 1.15rem; line-height: 1.5; color: rgba(241,245,228,0.85); margin: 0; max-width: 34rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.cta-band .button-secondary { border-color: var(--light-green); color: var(--light-green); }
.cta-band .button-secondary:hover { background-color: var(--light-green); color: var(--dark-green); }
@media (max-width: 767px) { .cta-band .cta-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem; } }

/* --- Nav dropdown: upcoming events + see all past ---------------------------- */
.nav-see-all { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(25,82,69,0.15); }
.nav-see-all .navbar1_dropdown-link { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
