@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --hub-color-primary: #8B7355;
  --hub-color-secondary: #A69076;
  --hub-color-accent: #C17817;
  --hub-color-background: #FAF8F5;
  --hub-color-surface: #FFFFFF;
  --hub-color-text: #3D3428;
  --hub-color-text-light: #7A7060;
  --hub-color-border: #E5DDD0;
  --hub-hero-overlay: linear-gradient(155deg, rgba(139, 115, 85, 0.85), rgba(166, 144, 118, 0.5));
  --hub-shadow-soft: 0 20px 50px rgba(61, 52, 40, 0.08);
  --hub-shadow-card: 0 18px 35px rgba(139, 115, 85, 0.12);
  --hub-radius-blob-a: 30% 70% 70% 30% / 30% 30% 70% 70%;
  --hub-radius-blob-b: 58% 42% 35% 65% / 39% 61% 39% 61%;
  --hub-radius-blob-c: 68% 32% 55% 45% / 44% 37% 63% 56%;
  --hub-radius-card: 28px;
  --hub-radius-button: 20px 28px 18px 26px;
  --hub-radius-nav: 999px;
  --hub-max-width: 1220px;
  --hub-nav-height: 84px;
  --hub-paper-texture:
    repeating-linear-gradient(
      0deg,
      rgba(139, 115, 85, 0.025),
      rgba(139, 115, 85, 0.025) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(166, 144, 118, 0.02),
      rgba(166, 144, 118, 0.02) 1px,
      transparent 1px,
      transparent 8px
    );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--hub-color-text);
  background:
    radial-gradient(circle at top left, rgba(193, 120, 23, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(166, 144, 118, 0.08), transparent 34%),
    var(--hub-paper-texture),
    var(--hub-color-background);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--hub-color-primary);
}

p {
  margin: 0 0 1.1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-site-shell {
  position: relative;
  overflow-x: clip;
}

.hub-page {
  padding-top: calc(var(--hub-nav-height) + 1.5rem);
}

.hub-wrap {
  width: min(calc(100% - 2rem), var(--hub-max-width));
  margin: 0 auto;
}

.hub-section {
  position: relative;
  padding: 5rem 0;
}

.hub-section::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FAF8F5' d='M0,64 C220,148 455,-8 720,30 C975,69 1178,132 1440,52 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hub-section:last-child::after,
.hub-section--plain-wave::after {
  display: none;
}

.hub-surface {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hub-color-border);
  box-shadow: var(--hub-shadow-soft);
}

.hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border: 2px dashed rgba(193, 120, 23, 0.35);
  border-radius: 999px;
  color: var(--hub-color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.75);
}

.hub-text-muted,
.hub-meta,
.hub-card-copy,
.hub-news-excerpt,
.hub-story-excerpt,
.hub-testimonial-role,
.hub-post-excerpt,
.hub-contact-copy,
.hub-page-copy {
  color: var(--hub-color-text-light);
}

.hub-skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
}

.hub-skip-link:focus {
  left: 1rem;
  z-index: 1000;
}

.hub-nav-shell {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 1rem), 1240px);
  transform: translateX(-50%);
}

.hub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--hub-radius-nav);
  backdrop-filter: blur(16px);
  background: rgba(250, 248, 245, 0.14);
  box-shadow: 0 18px 35px rgba(61, 52, 40, 0.08);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hub-nav.is-solid {
  background: rgba(250, 248, 245, 0.92);
  border-color: rgba(229, 221, 208, 0.95);
  box-shadow: 0 18px 38px rgba(61, 52, 40, 0.14);
}

.hub-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hub-nav-brandmark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 2px dashed rgba(193, 120, 23, 0.32);
  border-radius: var(--hub-radius-blob-b);
  background:
    linear-gradient(145deg, rgba(193, 120, 23, 0.2), rgba(139, 115, 85, 0.16)),
    var(--hub-color-surface);
}

.hub-nav-brandtext {
  min-width: 0;
}

.hub-nav-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--hub-color-primary);
}

.hub-nav-subtitle {
  display: block;
  color: var(--hub-color-text-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.hub-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--hub-color-text);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hub-nav-link:hover,
.hub-nav-link:focus-visible {
  background: rgba(139, 115, 85, 0.1);
  color: var(--hub-color-primary);
  transform: rotate(-1deg);
}

.hub-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hub-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem;
  border: 1px solid var(--hub-color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.hub-language-toggle button,
.hub-language-option {
  border: 0;
  background: transparent;
  color: var(--hub-color-text-light);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.hub-language-toggle button[aria-pressed="true"],
.hub-language-option.is-active {
  color: var(--hub-color-surface);
  background: var(--hub-color-primary);
}

.hub-menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hub-color-border);
  border-radius: 16px 22px 14px 20px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.hub-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--hub-color-primary);
  box-shadow: 0 6px 0 var(--hub-color-primary), 0 -6px 0 var(--hub-color-primary);
}

.hub-button,
.hub-button-secondary,
.hub-cta-chip,
.hub-event-button,
.hub-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--hub-radius-button);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hub-button,
.hub-event-button,
.hub-newsletter-button {
  color: var(--hub-color-surface);
  background: var(--hub-color-accent);
  box-shadow: 0 14px 28px rgba(193, 120, 23, 0.22);
}

.hub-button:hover,
.hub-button:focus-visible,
.hub-event-button:hover,
.hub-event-button:focus-visible,
.hub-newsletter-button:hover,
.hub-newsletter-button:focus-visible {
  background: #a76612;
  transform: translateY(-1px) rotate(-1deg);
}

.hub-button-secondary,
.hub-cta-chip {
  color: var(--hub-color-primary);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--hub-color-border);
}

.hub-button-secondary:hover,
.hub-button-secondary:focus-visible,
.hub-cta-chip:hover,
.hub-cta-chip:focus-visible {
  transform: translateY(-1px) rotate(1deg);
  background: rgba(166, 144, 118, 0.12);
}

.hub-hero {
  padding-top: 3rem;
}

.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hub-hero-media {
  position: relative;
  min-height: 610px;
}

.hub-hero-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1.1fr 0.72fr;
  gap: 1rem;
  height: 100%;
}

.hub-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  box-shadow: var(--hub-shadow-card);
}

.hub-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hub-hero-overlay);
  mix-blend-mode: multiply;
}

.hub-hero-photo img,
.hub-story-media img,
.hub-news-card img,
.hub-spotlight-photo img,
.hub-post-media img,
.hub-page-hero-photo img,
.hub-team-portrait img,
.hub-program-photo img,
.hub-contact-visual img,
.hub-about-photo img,
.hub-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-hero-photo--tall {
  grid-row: 1 / span 2;
  border-radius: var(--hub-radius-blob-a);
}

.hub-hero-photo--wide {
  border-radius: var(--hub-radius-blob-b);
}

.hub-hero-photo--small {
  border-radius: var(--hub-radius-blob-c);
}

.hub-hero-photo--accent {
  transform: translateX(-8%) translateY(-8%);
  border: 2px dashed rgba(255, 255, 255, 0.45);
  border-radius: 44% 56% 65% 35% / 39% 37% 63% 61%;
}

.hub-hero-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  max-width: 220px;
  padding: 0.85rem 1rem;
  border-radius: 18px 24px 16px 26px;
  background: rgba(250, 248, 245, 0.84);
  backdrop-filter: blur(10px);
  color: var(--hub-color-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.hub-hero-copy {
  position: relative;
  padding: 2rem;
}

.hub-hero-copy::before,
.hub-hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--hub-radius-blob-a);
}

.hub-hero-copy::before {
  top: 3%;
  right: 8%;
  width: 160px;
  height: 160px;
  background: rgba(193, 120, 23, 0.12);
}

.hub-hero-copy::after {
  bottom: 4%;
  left: -3%;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(139, 115, 85, 0.22);
}

.hub-hero-title {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  margin-bottom: 1rem;
}

.hub-hero-intro {
  max-width: 38rem;
  font-size: 1.05rem;
}

.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hub-story-card,
.hub-news-card,
.hub-program-card,
.hub-event-card,
.hub-spotlight-card,
.hub-testimonial-card,
.hub-post-card,
.hub-involved-card,
.hub-team-card,
.hub-contact-card,
.hub-program-feature,
.hub-about-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hub-color-border);
  box-shadow: var(--hub-shadow-card);
}

.hub-story-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  border-radius: 38px 56px 34px 48px;
}

.hub-story-media {
  min-height: 360px;
}

.hub-story-copy {
  padding: 2.4rem;
}

.hub-story-badge,
.hub-news-badge,
.hub-post-badge,
.hub-program-icon,
.hub-event-date,
.hub-gallery-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(193, 120, 23, 0.12);
  color: var(--hub-color-accent);
  border: 1px dashed rgba(193, 120, 23, 0.35);
}

.hub-story-badge,
.hub-news-badge,
.hub-post-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-story-title,
.hub-featured-title,
.hub-section-title {
  font-size: clamp(1.8rem, 2.2vw, 3rem);
}

.hub-news-grid,
.hub-post-grid,
.hub-event-grid,
.hub-involved-grid {
  display: grid;
  gap: 1.5rem;
}

.hub-news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-news-card,
.hub-post-card {
  border-radius: 30px 44px 26px 38px;
}

.hub-news-media,
.hub-post-media {
  height: 240px;
}

.hub-news-copy,
.hub-post-copy,
.hub-involved-copy {
  padding: 1.5rem;
}

.hub-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hub-program-card {
  padding: 1.7rem;
  border-radius: 34px 48px 28px 42px;
}

.hub-program-card:hover,
.hub-event-card:hover,
.hub-testimonial-card:hover,
.hub-involved-card:hover,
.hub-post-card:hover,
.hub-news-card:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.hub-program-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.2rem;
  border-radius: var(--hub-radius-blob-b);
  font-size: 1.7rem;
}

.hub-event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-event-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 34px 52px 32px 42px;
}

.hub-event-topline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hub-event-date {
  width: 88px;
  min-width: 88px;
  padding: 0.85rem 0.5rem;
  border-radius: 26px 34px 24px 30px;
  flex-direction: column;
  line-height: 1;
}

.hub-event-day {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
}

.hub-event-month {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-event-location,
.hub-event-meta {
  color: var(--hub-color-text-light);
}

.hub-spotlight-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  border-radius: 42px 58px 40px 44px;
}

.hub-spotlight-photo {
  min-height: 340px;
}

.hub-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem;
}

.hub-spotlight-quote {
  font-size: 1.2rem;
  color: var(--hub-color-primary);
}

.hub-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-testimonial-card {
  padding: 1.6rem;
  border-radius: 26px 36px 24px 34px;
  background:
    linear-gradient(180deg, rgba(193, 120, 23, 0.06), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.95);
}

.hub-testimonial-card blockquote {
  margin: 0 0 1rem;
  color: var(--hub-color-text);
}

.hub-partners-wrap {
  padding: 2rem;
  border-radius: 36px 52px 34px 46px;
}

.hub-partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.hub-partner-logo {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 1rem;
  border: 2px dashed var(--hub-color-border);
  border-radius: 24px 32px 20px 28px;
  background: rgba(250, 248, 245, 0.92);
  color: var(--hub-color-text-light);
  text-align: center;
  font-weight: 700;
}

.hub-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 1rem;
}

.hub-gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 34px 24px 38px 20px;
  box-shadow: var(--hub-shadow-card);
}

.hub-gallery-tile:nth-child(3n + 1) {
  grid-row: span 2;
}

.hub-gallery-tile:nth-child(4n + 2) {
  grid-column: span 2;
}

.hub-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(61, 52, 40, 0.38));
}

.hub-gallery-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 18px 24px 16px 22px;
  font-weight: 700;
}

.hub-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-involved-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-involved-card {
  padding: 1.6rem;
  border-radius: 30px 42px 28px 38px;
  background:
    radial-gradient(circle at top right, rgba(193, 120, 23, 0.08), transparent 35%),
    rgba(255, 255, 255, 0.92);
}

.hub-newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem;
  border-radius: 42px 58px 36px 50px;
  background:
    linear-gradient(135deg, rgba(139, 115, 85, 0.08), rgba(193, 120, 23, 0.06)),
    rgba(255, 255, 255, 0.94);
  border: 1px solid var(--hub-color-border);
  box-shadow: var(--hub-shadow-card);
}

.hub-newsletter-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid var(--hub-color-border);
  border-radius: 999px;
  background: var(--hub-color-surface);
}

.hub-newsletter-input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0.8rem 1rem;
  color: var(--hub-color-text);
  background: transparent;
}

.hub-newsletter-input:focus {
  outline: none;
}

.hub-page-hero,
.hub-about-grid,
.hub-contact-grid,
.hub-program-feature,
.hub-team-grid {
  display: grid;
  gap: 1.5rem;
}

.hub-page-hero {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hub-page-hero-photo {
  min-height: 420px;
  overflow: hidden;
  border-radius: 42px 62px 38px 56px;
  box-shadow: var(--hub-shadow-card);
}

.hub-about-grid,
.hub-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-about-photo {
  min-height: 280px;
  overflow: hidden;
  border-radius: 32px 48px 30px 44px;
}

.hub-about-panel {
  padding: 1.8rem;
  border-radius: 32px 46px 28px 42px;
}

.hub-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-team-card {
  border-radius: 32px 42px 28px 38px;
}

.hub-team-portrait {
  height: 280px;
  overflow: hidden;
}

.hub-team-copy {
  padding: 1.25rem;
}

.hub-program-feature {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 1.4rem;
  border-radius: 38px 52px 34px 48px;
}

.hub-program-photo {
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px 42px 24px 36px;
}

.hub-contact-card {
  padding: 1.8rem;
  border-radius: 32px 44px 30px 40px;
}

.hub-contact-stack {
  display: grid;
  gap: 1.5rem;
}

.hub-contact-form {
  display: grid;
  gap: 1rem;
}

.hub-form-row {
  display: grid;
  gap: 0.6rem;
}

.hub-form-label {
  font-weight: 700;
  color: var(--hub-color-primary);
}

.hub-form-input,
.hub-form-textarea {
  width: 100%;
  border: 1px solid var(--hub-color-border);
  border-radius: 22px 30px 20px 28px;
  padding: 0.95rem 1rem;
  color: var(--hub-color-text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hub-form-input:focus,
.hub-form-textarea:focus {
  outline: 2px solid rgba(193, 120, 23, 0.24);
  outline-offset: 2px;
  border-color: rgba(193, 120, 23, 0.45);
}

.hub-form-textarea {
  min-height: 180px;
  resize: vertical;
}

.hub-contact-list {
  display: grid;
  gap: 1rem;
}

.hub-contact-item {
  padding: 1.15rem 1.2rem;
  border: 1px dashed var(--hub-color-border);
  border-radius: 24px 32px 22px 30px;
  background: rgba(250, 248, 245, 0.86);
}

.hub-contact-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--hub-color-primary);
}

.hub-contact-visual {
  min-height: 100%;
  overflow: hidden;
  border-radius: 42px 56px 36px 48px;
}

.hub-address-block,
.hub-registration-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--hub-color-border);
}

.hub-address-block strong,
.hub-registration-block strong {
  color: var(--hub-color-primary);
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-hub-lang] {
  display: none;
}

html[data-language="native"] [data-hub-lang="native"],
html[data-language="en"] [data-hub-lang="en"] {
  display: initial;
}

html[data-language="native"] [data-hub-lang-block="native"],
html[data-language="en"] [data-hub-lang-block="en"] {
  display: block;
}

html[data-language="native"] [data-hub-lang-flex="native"],
html[data-language="en"] [data-hub-lang-flex="en"] {
  display: flex;
}

html[data-language="native"] [data-hub-lang-grid="native"],
html[data-language="en"] [data-hub-lang-grid="en"] {
  display: grid;
}

@media (max-width: 1120px) {
  .hub-hero-grid,
  .hub-story-card,
  .hub-spotlight-card,
  .hub-page-hero,
  .hub-program-feature,
  .hub-newsletter-panel {
    grid-template-columns: 1fr;
  }

  .hub-program-grid,
  .hub-testimonial-grid,
  .hub-partner-grid,
  .hub-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hub-involved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-nav {
    padding-inline: 0.85rem;
  }

  .hub-nav-links {
    gap: 0.1rem;
  }
}

@media (max-width: 900px) {
  .hub-page {
    padding-top: 7.25rem;
  }

  .hub-nav {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .hub-menu-toggle {
    display: grid;
  }

  .hub-nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.6rem;
  }

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

  .hub-nav-link {
    padding: 0.85rem 1rem;
    border-radius: 18px;
  }

  .hub-nav-actions {
    margin-left: auto;
  }

  .hub-news-grid,
  .hub-event-grid,
  .hub-post-grid,
  .hub-about-grid,
  .hub-contact-grid {
    grid-template-columns: 1fr;
  }

  .hub-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hub-section {
    padding: 4rem 0;
  }

  .hub-wrap {
    width: min(calc(100% - 1.25rem), var(--hub-max-width));
  }

  .hub-hero {
    padding-top: 1.5rem;
  }

  .hub-hero-media {
    min-height: auto;
  }

  .hub-hero-collage {
    grid-template-columns: 1fr 0.8fr;
    grid-template-rows: auto auto;
  }

  .hub-hero-copy,
  .hub-story-copy,
  .hub-spotlight-copy {
    padding: 1.5rem;
  }

  .hub-program-grid,
  .hub-testimonial-grid,
  .hub-team-grid,
  .hub-partner-grid,
  .hub-involved-grid {
    grid-template-columns: 1fr;
  }

  .hub-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .hub-gallery-tile,
  .hub-gallery-tile:nth-child(3n + 1),
  .hub-gallery-tile:nth-child(4n + 2) {
    grid-column: auto;
    grid-row: auto;
  }

  .hub-newsletter-form {
    flex-direction: column;
    border-radius: 28px;
  }

  .hub-newsletter-button {
    width: 100%;
  }

  .hub-contact-item {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
