@font-face {
  font-family: "big-noodle-titling";
  src: url("/wp-content/themes/cmha-national/fonts/big_noodle_titling.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

.mh-week-header {
  background: #333333;
  color: #fff;
  padding: 2px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.mh-week-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 76rem;
  gap: 0.5rem;
}

.logo-and-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-container img {
  width: 40px;
  height: 40px;
}

.header-container h1 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.mh-week-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 0;
  margin-left: 0;
}

.mh-week-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  display: block;
}

/* MHW Hero */
.mhw-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.mhw-overlay {
  position: absolute;
  inset: 0;
  background: #b2d236;
  opacity: 0.8;
}

.mhw-content-wrapper {
  width: 76rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mhw-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #000;
  text-align: center;
}

/* Top flex */
.mhw-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  gap: 1rem;
}

.event-date {
  font-weight: bold;
}

/* Title */
.mhw-hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: #1c2b00;
  line-height: 5.5rem;
  font-weight: 900;
  font-family: "big-noodle-titling", sans-serif;
}

/* Description */
.mhw-hero-content p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #2f3e00;
}

/* Buttons flex */
.mhw-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  background-color: #2f3e00;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: background-color ease 0.3s;
}

.btn:hover {
  background-color: #1c2b00;
  color: white;
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  background-color: #2f3e00;
  color: white;
  border-radius: 999px;
}

.btn.secondary:hover {
  background-color: #1c2b00;
  color: white;
  text-decoration: none;
}

.event-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #2f3e00;
}

.event-year {
  font-size: 1.5rem;
}

.find-cmha-link {
  background-color: #2f3e00;
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.find-cmha-link:hover {
  color: white;
  text-decoration: none;
  transform: scale(1.05);
}

/* MHW Description */

.mhw-description {
  margin: 4rem auto;
  padding: 0 1rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.description-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 5.5rem;
  text-align: center;
  color: black;
  margin-bottom: 0;
  font-family: "big-noodle-titling", sans-serif;
}

.description-subtitle {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: center;
  color: black;
}

.description-text {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  color: #2f3e00;
}

.description-footer {
  font-size: 1.6rem;
  color: #a6d513;
  font-weight: 900;
}

/* Cards Section */

.card-link-wrapper:hover {
  text-decoration: none;
}

.mhw-cards {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #f9f9f9; /* optional, light background for contrast */
}

/* Wrapper for all cards */
.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center cards if less than 4 */
  gap: 3.5rem; /* space between cards */
  max-width: 900px;
  margin: 0 auto;
}

/* Container for individual card + sub-description */
.card-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers sub-description below card */
}

/* Individual card */
.mhw-card {
  border-radius: 16px;
  padding: 1.5rem;
  width: 250px; /* fixed width, 4 per row approximately */
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center; /* ensure text inside card is centered */
}

/* Hover effect for card */
.mhw-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Card logo */
.card-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  display: block;
}

/* Card title */
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

/* Card description */
.card-description {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Sub-description below card */
.card-sub-description {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: left;
  max-width: 250px; /* matches card width for visual alignment */
  line-height: 1.6rem;
  color: #2f3e00;
}

/* ============================= */
/* Stories Section */
/* ============================= */

.mhw-stories {
  padding: 6rem 1rem;
  max-width: 76rem;
  margin: 0 auto;
}

/* Section title */
.stories-section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 4rem;
  color: #a6d513;
}

/* Each row */
.story-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Alternate layout */
.story-row.reverse {
  flex-direction: row-reverse;
}

/* Image */
.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  border: 2px solid #a6d513;
}

/* Content */
.story-content {
  flex: 1;
}

.story-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2f3e00;
}

.story-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Link button */
.story-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #a6d513;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.story-link:hover {
  background-color: #425801;
  text-decoration: none;
  color: white;
}

.mental-health-week-2026 .section--supporters .grid-container h2 {
  font-weight: 600;
  font-size: 40px;
  color: #a6d513;
}

.mental-health-week-2026 .section--supporters {
  padding-bottom: 0;
}

/* ============================= */
/* Callouts Section */
/* ============================= */

/* .mental-health-week-2026 .wp-block-heading {
  margin-top: 3.5rem;
} */

.mental-health-week-2026 h2:nth-child(2),
.mhw-top-margin {
  margin-top: 3.5rem !important; /* adjust as needed */
}

.mhw-callouts {
  padding: 3rem 0rem;
}

.mhw-callouts a:hover {
  text-decoration: none;
}

/* Wrapper */
.callouts-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* center if less than 4 */
  gap: 2rem;
  max-width: 76rem;
  margin: 0 auto;
  align-items: stretch; /* 👈 IMPORTANT */
}

/* Card */
.callout-card {
  width: 276px; /* ensures max 4 per row */
  background: #f5f5f7;
  background-color: #ffffff;
  border: 1px solid lightgray;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;

  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* 👈 key */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover */
.callout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.callout-card-link {
  display: flex;
}

/* Image */
.mhw-callout-image {
  margin-bottom: 1rem;
  border-radius: 16px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Title */
.callout-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  line-height: 1.5rem;
}

/* Description */
.callout-description {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: dimgray;
}

.connector-dots-image img {
  margin-top: 3rem;
}

.mental-health-week-2026 .legacy-future-of-hope {
  background: #b2d236 !important;
}

.mental-health-week-2026 .legacy-future-of-hope__title,
.mental-health-week-2026 .legacy-future-of-hope__description p {
  color: black !important;
}

.mental-health-week-2026 .legacy-future-of-hope__btn {
  background-color: black !important;
  color: #b2d236 !important;
}

.mental-health-week-2026 .legacy-future-of-hope__btn svg {
  display: none !important;
}

/* Mobile styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    width: 100%;
    padding: 0 1rem;
  }

  .header-container h1 {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .mh-week-nav {
    position: absolute;
    top: 52px;
    right: 0;
    background: #333;
    width: 100%;
    display: none;
    z-index: 999;
  }

  .mh-week-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .mh-week-nav ul li {
    margin: 10px 0;
  }

  .mh-week-nav.active {
    display: block;
  }

  .find-cmha-link {
    padding: 0.875rem 1.5rem;
    gap: 0.5rem;
    font-size: 0.875rem;
  }

  .mhw-hero-content {
    position: unset;
    z-index: 2;
    max-width: unset;
    width: 100%;
    margin-right: unset;
    color: #000;
    padding: 1rem;
  }

  .mhw-hero-content h1 {
    font-size: 5rem;
  }

  .story-row {
    flex-direction: column;
    text-align: center;
  }

  .story-row.reverse {
    flex-direction: column; /* reset reverse on mobile */
  }

  .story-image,
  .story-content {
    width: 100%;
  }

  .story-content {
    margin-top: 1rem;
  }

  .description-title {
    font-size: 4rem;
    padding: 4rem 1rem 0rem 1rem;
  }

  .description-footer {
    text-align: center;
  }

  .mhw-description {
    height: unset;
  }

  .description-text {
    padding: 0rem 1rem;
  }

  .description-footer {
    padding: 0rem 1rem 4rem 1rem;
  }

  .stories-section-title {
    margin-top: 4rem;
    font-size: 2rem;
  }

  .story-content h3 {
    font-size: 1.5rem;
  }

  .stories-section-title,
  .stories-wrapper {
    padding: 1rem;
  }

  .story-row {
    gap: 1rem;
  }

  .callouts-wrapper {
    justify-content: center;
    padding: 0 1rem;
    flex-direction: column;
  }

  .callout-card {
    width: 100%;
  }

  .callout-card-link {
    display: flex;
    width: 100%;
  }

  .inner-wrapper {
    padding: 0 1rem;
  }

  .description-subtitle {
    font-size: 2.5rem;
  }

  .mhw-buttons {
    flex-direction: column;
  }
}
