.home_story {
  padding: 100px 60px;
  background: #ffffff;
}

.home_story_inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.home_story_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 540px;
  overflow: hidden;
  border-radius: 20px;
}

.home_story_card.home_story_card_no_media {
  grid-template-columns: minmax(0, 1fr);
}

.home_story_card.home_story_card_no_media .home_story_content {
  grid-column: 1;
  grid-row: 1;
}

.home_story_card > * + * {
  margin-top: 0;
}

.home_story_media {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
}

.home_story_media img {
  position: absolute;
  display: block;
  max-width: none;
}

.home_story_card_image_first .home_story_media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home_story_card_content_first .home_story_media {
  grid-column: 2;
  grid-row: 1;
}

.home_story_card_content_first .home_story_media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.home_story_content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-width: 0;
  padding: 80px 60px;
  overflow: hidden;
  background: #f6efd9;
  text-align: center;
}

.home_story_card_content_first .home_story_content {
  grid-column: 1;
  grid-row: 1;
  background: #dce4e5;
}

.home_story_mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 744px;
  height: 750px;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
}

.home_story_content h2 {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  color: #000000;
  font-family: "Roboto Flex", Arial, sans-serif;
  font-size: 60px;
  font-weight: 600;
  font-variation-settings: "GRAD" -55, "XOPQ" 80, "XTRA" 421, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 50, "opsz" 60;
  line-height: 1;
  text-transform: uppercase;
}

.home_story_text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  color: rgba(0, 0, 0, 0.5);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
}

.home_story_text p {
  margin: 0;
}

@media (max-width: 1100px) {
  .home_story {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home_story_content {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home_story_content h2 {
    font-size: 50px;
  }
}

@media (max-width: 800px) {
  .home_story {
    padding: 60px 20px;
  }

  .home_story_card {
    grid-template-columns: 1fr;
  }

  .home_story_content,
  .home_story_card_content_first .home_story_content {
    grid-column: 1;
    grid-row: 1;
    gap: 30px;
    padding: 60px 20px;
  }

  .home_story_media,
  .home_story_card_content_first .home_story_media {
    grid-column: 1;
    grid-row: 2;
    min-height: 400px;
  }

  .home_story_card_image_first .home_story_media img,
  .home_story_card_content_first .home_story_media img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home_story_card_content_first .home_story_media img {
    object-position: center bottom;
  }

  .home_story_mark {
    left: 50%;
    width: 660px;
    height: 665px;
    transform: translate(-50%, -50%);
  }

  .home_story_content h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .home_story_text {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .home_story_content h2 {
    font-size: 40px;
  }
}

/*
 * Camp page section rhythm. Use outer margins for both neighbouring cards so
 * their vertical spacing stays equal and does not add up between sections.
 */
body.single-camp .leader_section,
body.single-camp .camp_additional_block {
  margin-top: 80px;
  margin-bottom: 80px;
  padding-top: 0;
  padding-bottom: 0;
}

body.single-camp .leader_section + .camp_additional_block {
  margin-top: 0;
}

@media (max-width: 900px) {
  body.single-camp .leader_section,
  body.single-camp .camp_additional_block {
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.single-camp .leader_section + .camp_additional_block {
    margin-top: 0;
  }
}
