/* ======================================================
   ROOT VARIABLES
   ====================================================== */
:root {
  --main-background: #fbfbfb;
  --accent-bg: rgba(214, 208, 197, 0.3);
  --secondary-background: #393939;
  --surface: #fffdf9;
  --accent: #5ba477;
  --secondary-accent: #037f31;
  --main-green: #408d08;
  --secondary-green: #9bc398;
  --light-green: #e6f9d5;
  --gray-background: #ebebeb;
  --yellow-btn: #b28f49;
  --green-btn: #466d42;
  --bg: #f6f2ea;
  --text: #2c2a26;
  --sidebar-width: 280px;
  --content-pad: 24px;
  --shadow: 5px 5px 24px rgba(0, 0, 0, 0.35);
}


/* ======================================================
   GLOBAL RESET / BASE STYLES
   ====================================================== */
/* #region GLOBAL - Click arrow to expand */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.space-post-featured-image {
  margin: 0 0 1.5rem;
}

.space-post-featured-image img {
  height: auto;
}

.space-post-featured-image--contained {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(220px, 40vw, 400px);
  overflow: hidden;
  background: var(--accent-bg);
}

.space-post-featured-image--contained img {
  width: min(100%, var(--space-image-width));
  height: min(100%, var(--space-image-height));
  object-fit: cover;
  object-position: var(--space-image-focus, center);
}


a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  margin: 0 0 0.5rem;
}

h1 {
  color: var(--secondary-accent);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

main {
  margin-left: 0px;
}

.section-divider {
  padding: 40px 0;
  border-bottom: 2px solid var(--green-btn);
}


/* ======================================================
   LAYOUT
   ====================================================== */
.layout {
  min-height: 100vh;
  padding-top: 150px;
}


.container-narrow {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 28px 0 20px;
}

.tan-section {
  width: 100vw;
  background-color: var(--accent-bg);
  /* padding: 10px 0; */
  margin-top: 30px;
}


/* ======================================================
   HEADER / NAVIGATION
   ====================================================== */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 999;
  gap: 24px;
  padding: 22px 30px;
  background: var(--surface);
  border-bottom: 1px solid #ece4d8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand img {
  max-width: 350px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 52px;
  font-weight: 600;
  font-size: 1rem;
  margin: auto;
}

.nav-link {
  padding: 8px 10px;
  position: relative;
}

.nav-link:hover {
  border-bottom: 2px solid rgba(3, 127, 49, 0.2);
}

.nav-link[aria-current="page"] {
  border-bottom: 2px solid rgba(3, 127, 49, 0.18);
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

/* ------------------------------------------------------
   FOOTER
   ------------------------------------------------------ */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 70px;
  padding: 32px 0 50px;
  align-items: start;
}

.footer-links h3 {
  margin: 0 0 18px;
  font-size: 2rem;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px 28px;
  padding-top: 18px;
  border-top: 2px solid #d1c8ba;
  max-width: 420px;
}

.footer-link-grid a {
  color: #44403a;
}


.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-weight: 800;
  font-size: 1.6rem;
  color: #1b4963;
}

.footer-partners {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  justify-content: center;
  margin-top: 58px;
}

.footer-partners img {
  width: 130px;
  height: auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-top: 8px;
}


/* ======================================================
   COMMON UI / BUTTONS / CARDS
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(180deg, #ddb553, var(--yellow-btn));
  color: #fff;
}

.btn-green {
  background: linear-gradient(180deg, #36834e, var(--green-btn));
  color: #fff;
  margin: 15px 0;
}

.btn-light {
  background: #f2f2f2;
  color: #2f3330;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.small {
  padding: 8px 16px;
  font-size: 0.9rem;
  width: auto;
}

.elevated {
  box-shadow: 0 12px 20px rgba(0, 0, 0, .14);
}


.card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin: 10px;
}

.card h3{
  margin-top: 25px;
}


/* ======================================================
   SHARED SECTION HEADERS / DECORATIVE LINES
   ====================================================== */
.section-heading {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 0 26px;
}

.section-heading::before,
.section-heading::after {
  content: "";
  height: 2px;
  background: #cfc7ba;
  flex: 1;
}

.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.1;
}

.section-heading.inverse::before,
.section-heading.inverse::after {
  background: rgba(255, 255, 255, .35);
}

.section-heading.inverse h2 {
  color: #fff;
}

.hr-lines:before {
  content: " ";
  display: block;
  height: 2px;
  width: 140px;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--green-btn);
}

.hr-lines {
  position: relative;
  max-width: 500px;
  margin: 50px auto;
  text-align: center;
}

.hr-lines span {
  background: var(--bg);
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hr-lines::after {
  content: " ";
  height: 2px;
  width: 140px;
  background: var(--green-btn);
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
}


/* #endregion */
/* ======================================================
   HOME PAGE
   ====================================================== */
/* #region HOME PAGE - Click arrow to expand*/

/* ------------------------------------------------------
   HOME: HERO
   ------------------------------------------------------ */
.image-container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 920px;
  overflow: hidden;
  color: white;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.overlay-text {
  position: absolute;
  top: 60%;
  left: 7%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
  text-align: left;
}

.image-container .overlay-text .btn-container {
  display: flex;
  flex-direction: row;
}

.btn-container {
  gap: 14px;
  align-items: center;
}

#hero-heading {
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  font-size: 2rem;
  text-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

#hero-text {
  font-weight: bold;
  text-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.learn-btn,
.donate-btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  padding: 12px 20px;
  max-width: 280px;

  color: white;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  font-family: inherit;
  text-align: center;

  border-radius: 6px;
  cursor: pointer;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.35);
}

.learn-btn:hover,
.donate-btn:hover {
  transform: translateY(-2px);
}

.donate-btn {
  background-color: var(--yellow-btn);
}

.learn-btn {
  background-color: var(--green-btn);
}

/* ------------------------------------------------------
   HOME: STORY
   ------------------------------------------------------ */
.story-band {
  margin-top: 34px;
}

.story-card {
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  background: #efe8da;
  padding: 18px;
  gap: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.story-image-wrap {
  min-height: 235px;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  background: linear-gradient(180deg, #608561, var(--story-green));
  color: #fff;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-copy h2 {
  margin: 0 0 16px;
  line-height: 1.18;
  color: var(--text);
}

.story-copy p {
  margin: 0 0 24px;
  font-size: 1.12rem;
  line-height: 1.5;
  max-width: 620px;
  color: var(--text);
}

.story-copy hr {
  border: none;
  height: 1px;
  background: var(--secondary-green);
  margin: 5px 0;
}


/* ------------------------------------------------------
   HOME: PROGRAMS
   ------------------------------------------------------ */
#programs {
  color: var(--green-btn);
  text-align: center;
  font-size: 1.5em;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-cards .container {
  background: var(--surface);
  border: 1px solid #d8cfbf;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  text-align: center;
  font-size: 1.2rem;
}

.program-cards .container h5 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.explore {
  background-color: var(--green-btn);
  color: white;
  padding: 5px 30px;
  font-weight: bold;
  border-radius: 3px;
  margin: 15px 50%;
}


/* ------------------------------------------------------
   HOME: COMMUNITY GALLERY
   ------------------------------------------------------ */
#gallery-header,
#programs {
  color: var(--green-btn);
  text-align: center;
  font-size: 1.5em;
}

.view-gallery {
  background-color: var(--green-btn);
  color: white;
  padding: 5px 30px;
  font-weight: bold;
  border-radius: 3px;
  margin: 15px 50%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

#gallery-header .home-gallery-photo {
  position: relative;
  aspect-ratio: 1.35 / 1;
}

#gallery-header .home-gallery-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#gallery-header .centered-action {
  margin-bottom: 18px;
}


/* ------------------------------------------------------
   HOME: NEWS & EVENTS
   ------------------------------------------------------ */
#news {
  color: var(--green-btn);
  text-align: center;
  font-size: 1.5em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-grid {
  grid-template-columns: 1fr 1fr;
}

.news-card {
  background: var(--surface);
  border: 1px solid #d8cfbf;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  text-align: center;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  line-height: 1.18;


}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.news-card {
  text-align: left;
}

.news-title {
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px !important;
}

.bilingual .news-title {
  color: #2c5e6b;
}

.centered-action {
  text-align: center;
  margin-top: 18px;
}

/* #region NEWS & EVENTS PAGE */

.news-events-intro,
.program-intro,
.gallery-intro {
  text-align: center;
}

.news-events-intro p,
.program-intro p,
.gallery-intro p {
  max-width: 720px;
  margin: 0 auto;
}

.latest-news-section h2,
.announcements-section h2,
.news-list-section h2,
.highlight-programs-section h2 {
  font-size: 2em;
  margin-bottom: 24px;
}

.latest-news-grid,
.highlight-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.preview-card {
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.preview-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.preview-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  margin-top: 25px;
}

.preview-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.announcement-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.announcement-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.announcement-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
}

.slider-dot.active {
  background: var(--green-btn);
}

.news-list-grid,
.program-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.news-list-card h3 {
  margin-bottom: 6px;
}

/* #endregion */


/* ------------------------------------------------------
   HOME: IMPACT
   ------------------------------------------------------ */
.impact-band {
  margin: 26px 0 0 0;
  padding: 34px 0 42px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .08)),
    linear-gradient(180deg, #4f915f, #3a7c4a);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.impact-item {
  text-align: center;
  padding: 12px 20px;
  position: relative;
}

.impact-item+.impact-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, .24);
}

.impact-item strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  margin-bottom: 10px;
}

.impact-item span {
  font-size: 1.1rem;
}


/* #endregion */


/* ======================================================
   ABOUT PAGE
   ====================================================== */
/* #region ABOUT PAGE - Click arrow to expand*/
h1 {
  text-align: center;
}

.mission-vision {
  margin-top: 20px;
  display: block;
}

.mission-vision h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.mission-vision h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

.mission-vision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-vision-text p {
  font-size: 1.05rem;
  line-height: 1.5;
}

.mission-vision-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ------OUR STORY--------- */

.our-story-section h2 {
  font-size: 2.5em;
  margin-bottom: 24px;
}

.story-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}

.story-feature-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-feature-text h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.story-feature-text p {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ------TIMELINE--------- */

.story-timeline {
  position: relative;
  padding-top: 24px;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 4px;
  background: #d9d9d9;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #c9c9c9;
  margin-bottom: 18px;
  cursor: pointer;
}

.timeline-item.active .timeline-dot {
  background: var(--green-btn);
}

.timeline-item h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ------OUR TEAM--------- */

.team-section h2 {
  font-size: 2.5em;
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-weight: 600;
  margin-bottom: 6px;
}

.team-card .bio {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------OUR PARTNERS-------- */

.partners-section h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.partners-intro {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.partners-grid img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

/* #endregion */

/* ======================================================
   NEWS AND EVENTS PAGE
   ====================================================== */

.news-list-card h3{
  margin-top: 20px;
}
.announcement-feature {
  overflow: hidden;
}

.announcement-img img,
.announcement-content {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.announcement-feature.is-sliding .announcement-img img,
.announcement-feature.is-sliding .announcement-content {
  opacity: 0;
  transform: translateX(-24px);
}

.announcement-img img {
  display: block;
}


/* ======================================================
   GALLERY PAGE
   ====================================================== */
/* #region GALLERY PAGE - Click arrow to expand */
.gallery-intro {
  text-align: center;
}

.gallery-intro p {
  max-width: 720px;
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  gap: 8px;
  margin-top: 50px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.gallery-filters a {
  font-weight: 600;
}

.gallery-grid {
  /* column-gap: 0px; */
  row-gap: 35px;
}


/* #endregion */
/* ======================================================
   CONTACT PAGE
   ====================================================== */
/* #region CONTACT PAGE */

.contact-intro {
  text-align: center;
}

.contact-intro p {
  max-width: 720px;
  margin: 0 auto;
}

.contact-section {
  padding-top: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-form-wrap h2,
.contact-info-wrap h2 {
  font-size: 1.8em;
  margin-bottom: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfcfcf;
  background: #fff;
  font: inherit;
  border-radius: 10px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  margin-top: 10px;
  align-self: flex-start;
}

.contact-info-wrap>p {
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-info-list {
  display: grid;
  gap: 22px;
}

.contact-info-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-item p {
  margin: 0;
  line-height: 1.5;
}

.contact-info-item a {
  color: inherit;
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-map {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 12px;
}

.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

/* #endregion */

/* ======================================================
   RESPONSIVE STYLES
   ====================================================== */
/* #region RESPONSIVE STYLES */

@media (max-width: 1100px) {

  .story-card,
  .mission-vision-layout,
  .story-feature,
  .announcement-feature,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .program-cards,
  .gallery-grid,
  .impact-grid,
  .news-grid,
  .latest-news-grid,
  .highlight-program-grid,
  .news-list-grid,
  .program-list-grid,
  .team-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    gap: 40px;
  }

  .footer-partners {
    justify-content: start;
  }
}

@media (max-width: 760px) {

  header {
    position: static;
    flex-direction: column;
    gap: 18px;
    padding: 24px 18px;
  }

  .brand {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .brand img {
    max-width: 320px;
    width: 85%;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
  }

  .nav-link {
    padding: 6px 0;
  }

  .donate .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .program-cards,
  .gallery-grid,
  .impact-grid,
  .news-grid,
  .latest-news-grid,
  .highlight-program-grid,
  .news-list-grid,
  .program-list-grid,
  .team-grid,
  .partners-grid,
  .timeline-items {
    grid-template-columns: 1fr;
  }

  .image-container {
    width: 100%;
    height: auto;
    min-height: 720px;
    margin-left: 0;
    margin-right: 0;
  }

  .overlay-text {
    top: 50%;
    left: 24px;
    right: 24px;
    max-width: none;
    transform: translateY(-50%);
  }

  #hero-heading {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 1.18;
  }

  #hero-text {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .btn-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
  }

  .donate-btn,
  .learn-btn {
    flex: 1;
    max-width: none;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.25;
  }

  .footer-right {
    align-items: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 1250px) {
  .nav { gap: 18px; }
  .brand { min-width: 180px; }
  .brand img { max-width: 220px; }
}

/* Collapsible navigation */
.menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  header { position: static; }
  .layout { padding-top: 32px; }
  .brand { min-width: 0; }
  .nav.has-menu-toggle .menu-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--green-btn);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
  }

  .nav.has-menu-toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .nav.has-menu-toggle:not(.is-open) > .nav-link,
  .nav.has-menu-toggle:not(.is-open) > .nav-donate {
    display: none;
  }

  .nav.has-menu-toggle.is-open > .nav-link,
  .nav.has-menu-toggle.is-open > .nav-donate {
    grid-column: 1 / -1;
  }

  .nav-link {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(3, 127, 49, 0.15);
  }
}

/* #endregion */

.space-news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.space-news-filters .btn {
  width: auto;
}

.space-announcement {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--secondary-green);
  border-radius: 7px;
  background: var(--surface);
}

.space-announcement summary {
  cursor: pointer;
  color: var(--green-btn);
  font-weight: 700;
}

.space-announcement[open] summary {
  margin-bottom: 12px;
}
