/* Responsive — Charity's Landing Retreat Center */

@media (max-width: 1579px) {
}

@media (min-width: 1440px) {
  :root {
    --title-separator-width-lg: 25.75rem; /* 412px */
  }
  /* About page */

  .ctm-leaves-position .site-leaves__item--top-left {
    top: 20%;
    left: -220px;
    width: 40%;
  }

  /* Retreats page */
  .retreats-page.ctm-leaves-position .site-leaves__item--top-left {
    /* top: 22%; */
    top: 580px;
    left: -240px;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--bottom-left {
    top: 58%;
  }
}

@media (min-width: 1580px) {
  .ctm-leaves-position .site-leaves__item--top-left {
    top: 16%;
    left: -240px;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--top-left {
    /* top: 18%; */
    top: 480px;
    left: -200px;
    width: 35%;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--bottom-left {
    top: 58%;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
}

@media (min-width: 1280px) {
}

@media (min-width: 1365px) and (max-width: 1439px) {
  .retreats-page.ctm-leaves-position .site-leaves__item--bottom-left {
    top: 58%;
  }
}

@media (max-width: 1440px) {
  .site-footer__bg {
    padding-inline: 20px;
    padding-bottom: 80px;
  }
  .site-footer__bg img {
    height: 100%;
  }
}

@media (max-width: 1379px) {
  :root {
    --footer-content-gap: 1.5rem;
    --footer-logo-max-width: 300px;
  }
  .site-footer__content {
    grid-template-columns: 1fr 1fr 1fr 1.15fr;
  }
}

@media (max-width: 1365px) {
  .retreats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1279px) {
  :root {
    --hero-bottom-bar-offset: -3.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
}

@media (max-width: 1279px) and (min-width: 1025px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1199px) {
  :root {
    --footer-content-padding-bottom: 16rem;
    --body-padding-bottom: 100px;
    --header-top-padding-block: 1rem;
  }
  .site-header__social--desktop {
    display: none;
  }

  .site-header__top {
    grid-template-columns: 1fr;
  }

  .site-header__logo {
    grid-column: 1;
  }

  .site-header__nav {
    --header-nav-font-size: 1rem;
    --header-nav-padding-block: 0.5rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--header-social-gap);
    min-height: 3.25rem;
    padding-inline: var(--container-lg-padding);
  }

  .site-header__social--mobile {
    display: flex;
    --header-social-size: 2rem;
  }

  .site-header__menu-toggle {
    display: flex;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-inline-start: auto;
  }

  .site-header__nav-panel {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 110;
    width: min(20rem, 85vw);
    max-width: 100%;
    padding: 5rem 1.5rem 2rem;
    background-color: var(--color-header-background);
    box-shadow: var(--header-nav-shadow);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .site-header--menu-open .site-header__nav-panel {
    transform: translateX(0);
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-inline: 0;
  }

  .site-header__nav-list > li {
    gap: 0;
  }

  .site-header__nav-list > li + li::before {
    display: none;
  }

  .site-header__menu-close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    inset-inline-end: 1.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header__menu-close span {
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: var(--color-primary);
  }

  .site-header__menu-close span:first-child {
    transform: translateY(1px) rotate(45deg);
  }

  .site-header__menu-close span:last-child {
    transform: translateY(-1px) rotate(-45deg);
  }

  .site-header__menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 105;
    background-color: rgba(52, 59, 49, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .site-header--menu-open .site-header__menu-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .site-header:not(.site-header--menu-open) .site-header__menu-backdrop {
    pointer-events: none;
  }

  body.site-header-menu-open {
    overflow: hidden;
  }
  .feature-card__media.card-1::after {
    bottom: -20px;
    right: -40px;
  }

  /* Site Leaves */
  .site-leaves__item--bottom-left {
    top: 62%;
  }

  .site-footer__bg {
    padding-bottom: 20px;
  }

  .site-footer__content {
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: var(--footer-content-padding-bottom);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }
  .ctm-leaves-position .site-leaves__item--middle-left {
    top: 40.6%;
    left: -60px;
  }
}

@media (max-width: 1150px) and (min-width: 1025px) {
}

@media (max-width: 1024px) {
}

@media (max-width: 991px) {
  :root {
    --footer-content-padding-top: 14rem;
    --footer-content-padding-bottom: 10rem;
    --footer-logo-max-width: 250px;
    --hero-content-max-width: 100%;
    --hero-bottom-bar-offset: -2.5rem;
    /* Tuck leaves off the left/right edges (~half+) */
    --site-leaves-edge-shift: 55%;
  }

  .feature-cards__inner {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }

  .about-intro__layout {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }

  .about-intro__content {
    max-width: none;
    text-align: center;
  }

  .about-family__layout {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }

  .about-family__content {
    max-width: none;
    text-align: center;
  }

  .retreats__grid {
    grid-template-columns: 1fr;
    max-width: 40rem;
    margin-inline: auto;
    padding-block: 8rem;
    padding-inline: 4rem;
  }

  .hero__inner {
    padding-block: 2.5rem;
  }

  .hero__title br,
  .hero__text br {
    display: none;
  }

  .feature-card__media {
    margin-bottom: 2.5rem;
  }

  /* Site Leaves */
  .site-leaves__item--top-left {
    left: -100px;
    /* top: 16%; */
    top: 510px;
    width: 350px;
  }
  .site-leaves__item--top-right {
    right: -70px;
    /* top: 18%; */
    top: 630px;
    width: 320px;
  }
  .site-leaves__item--middle-left {
    top: 47%;
    width: 320px;
    left: -60px;
  }
  .site-leaves__item--middle-right {
    width: 320px;
    top: 48%;
    right: -90px;
  }
  .site-leaves__item--bottom-left {
    top: 58%;
    width: 450px;
    left: -150px;
  }
  .ctm-leaves-position .site-leaves__item--top-left {
    /* top: 13%; */
    top: 570px;
  }
  .ctm-leaves-position .site-leaves__item--bottom-left {
    top: 62%;
  }

  /* About Page */
  .about-intro {
    padding-top: 6rem;
  }
  .about-intro__header {
    padding-inline: 20px;
  }
  .ctm-leaves-position .site-leaves__item--middle-left {
    top: 38.6%;
  }
  .about-family__inner {
    padding-block: 6rem;
  }
  .about-family {
    margin-bottom: -4rem;
  }
  /* Retreats Page */
  .retreat-card__date-inner,
  .retreat-card__location {
    text-align: left;
  }

  .site-footer__bg-img--desktop {
    display: none;
  }

  .site-footer__bg-img--mobile {
    display: block;
  }

  .site-footer__links {
    padding-inline-start: 0;
  }
  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: var(--footer-content-padding-top);
    padding-bottom: var(--footer-content-padding-bottom);
  }

  .site-footer__col,
  .site-footer__heading {
    padding-inline-start: 0;
  }

  .site-footer__col::before {
    display: none;
  }

  .site-footer__brand,
  .site-footer__col {
    align-items: center;
    text-align: center;
  }

  .site-footer__brand {
    display: flex;
  }

  .site-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__contact li {
    justify-content: center;
    text-align: center;
  }

  .site-footer__trees {
    padding-bottom: 1rem;
  }
}

@media (min-width: 575px) and (max-width: 991px) {
}

@media (max-width: 991px) and (min-width: 641px) {
}

@media (max-width: 768px) {
}

@media (min-width: 769px) {
}

@media (max-width: 767px) {
  :root {
    --header-logo-max-width: 300px;
    --footer-content-padding-bottom: 8rem;
    --body-padding-bottom: 80px;
    --hero-min-height: 26rem;
    --hero-bottom-bar-offset: -2rem;
    --site-leaves-edge-shift: 65%;
  }

  .hero__inner {
    align-items: flex-end;
    padding-block: 2rem 3.5rem;
  }

  /* Site Leaves */
  .site-leaves__item--top-left {
    /* top: 12%; */
    top: 535px;
  }
  .site-leaves__item--top-right {
    /* top: 14%; */
    top: 630px;
  }
  .site-leaves__item--middle-left,
  .site-leaves__item--middle-right {
    top: 38%;
  }
  .site-leaves__item--bottom-left {
    top: 66%;
    width: 400px;
    left: -100px;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--top-left {
    top: 500px;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--top-right {
    top: 600px;
  }

  .retreats__title br {
    display: block;
  }

  .accommodations__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }

  .site-footer__trees {
    padding-bottom: 2rem;
  }
}

@media (max-width: 767px) and (min-width: 641px) {
}

@media (max-width: 640px) {
  :root {
    --header-logo-max-width: 200px;
    --footer-content-padding-bottom: 8rem;
    --footer-copyright-font-size: 0.875rem;
    --footer-logo-max-width: 200px;
    --footer-social-size: 2rem;
    --hero-bottom-bar-offset: -1.5rem;
    --footer-content-padding-top: 10rem;
  }

  .hero__inner {
    padding-block: 1.75rem 3rem;
  }

  /* Site Leaves */
  .site-leaves__item--top-left {
    width: 300px;
  }
  .site-leaves__item--top-right {
    width: 250px;
  }
  .site-leaves__item--middle-left {
    width: 220px;
    left: -100px;
    top: 40%;
  }
  .site-leaves__item--middle-right {
    width: 220px;
    right: -100px;
    top: 40%;
  }
  .site-leaves__item--bottom-left {
    width: 250px;
    top: 68%;
  }
  .ctm-leaves-position .site-leaves__item--bottom-left {
    top: 64%;
  }
  .retreats-page.ctm-leaves-position .site-leaves__item--top-right {
    top: 550px;
  }

  /* Retreats Page */
  .retreats__grid {
    padding-inline: 1.25rem;
  }

  .site-footer {
    margin-top: 0;
  }
  .site-footer__bg {
    padding-inline: 10px;
  }
  .site-footer__trees {
    padding-bottom: 3rem;
  }
}

@media (max-width: 575px) {
  .feature-card__media.card-1::after {
    bottom: -10px;
    right: -20px;
  }
  /* Site Leaves */
  .site-leaves__item--top-left {
    top: 650px;
    width: 250px;
  }
  .site-leaves__item--top-right {
    width: 220px;
    top: 660px;
  }
  .site-leaves__item--bottom-left {
    top: 66%;
  }
  .ctm-leaves-position .site-leaves__item--top-left {
    top: 520px;
  }
  .photo-frame {
    padding-block: 20px;
    padding-inline: 15px;
  }
}

@media (max-width: 425px) {
  :root {
    --footer-content-padding-bottom: 6rem;
    --hero-bottom-bar-offset: -1rem;
  }
  .site-leaves__item--bottom-left {
    top: 65%;
    left: -120px;
  }
  .site-leaves__item--bottom-left {
    width: 320px;
  }
  .ctm-leaves-position .site-leaves__item--top-left {
    /* top: 14%; */
    top: 560px;
  }

  .site-footer__trees {
    padding-bottom: 4rem;
  }
  .about-intro {
    padding-top: 4rem;
  }
  .about-family__inner {
    padding-block: 5rem;
  }
}

@media (max-width: 400px) {
  .ctm-leaves-position .site-leaves__item--top-left {
    /* top: 16%; */
    top: 640px;
  }
  .ctm-leaves-position .site-leaves__item--top-right {
    top: 17%;
  }
  .ctm-leaves-position .site-leaves__item--bottom-left {
    top: 65%;
  }
}
