.content-with-popup {
  padding-top: var(--padding-top-desktop);
  padding-bottom: var(--padding-bottom-desktop);
}

.content-with-popup-header h2.heading {
  font-size: var(--heading-size-desktop);
  line-height: 1.25;
  color: var(--heading-color);
  text-align: left;
}

.content-with-popup-header+.content-with-popup-body {
  margin-top: 33px;
}

.content-with-popup-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-with-popup-grid {
  display: flex;
  flex-wrap: wrap;
}

.image-content_grid-item {
  width: calc(50% - 0px *1/2);
}

.text-content_grid-item {
  width: calc(50% - 0px *1/2);
}

.image-content-item {
  position: relative;
  padding-top: 68.373%;
  height: 100%;
}

.image-content-item svg,
.image-content-item img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-content-item svg {
  background: #eee;
}

.text-content-item .button-wrapper a {
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  width: fit-content;
  height: 45px;
  background: #A43D03;
  border-radius: 2px;
  overflow: hidden;
  color: #fff;
  padding: 10px;
}

.text-content-item .button-wrapper a .text-wrap {
  font-size: 16px;
  line-height: 1.25;
  color: #FFFFFF;
  font-family: "GT-America-Expanded-Bold";
  text-transform: uppercase;
}

.text-content-item .button-wrapper a .svg-wrap {
  width: 22px;
  height: 22px;
  transform: rotate(-45deg);
  transition: all 0.4s ease;
}

.text-content-item .button-wrapper a .svg-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.text-content-item .button-wrapper a:hover .svg-wrap {
  transform: rotate(0deg);
  transition: all 0.4s ease;
}

.text-content_grid-item .text-content-item {
  display: flex;
  align-items: center;
  height: 100%;
  background: #fff;
}

.text-content_grid-item {
  width: calc(50% - 0px *1/2);
  padding: 20px 6.8vw 20px 7.9vw;
}

.text-content-list {
  width: 100%;
  height: 100%;
}

.text-content-item-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.text-content-item-inner span.sub-heading {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  text-transform: capitalize;
  color: #A53E04;
  font-family: 'GT America-Regular';
}

.text-content-item-inner h2.heading {
  font-size: 24px;
  line-height: 1.375;
  color: #000000;
}

.text-content-item-inner .richtext {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.563;
  color: #000000;
  font-family: 'GT America-Regular';
}

.content-with-popup-navigation {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: absolute;
  bottom: -10px;
}

.content-with-popup-navigation .navigation-arrows {
  width: 97px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.content-with-popup-navigation .swiper-button-next,
.content-with-popup-navigation .swiper-button-prev {
  position: unset;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  margin: 0;
}

.content-with-popup-navigation .swiper-button-next svg,
.content-with-popup-navigation .swiper-button-prev svg {
  color: #000000;
  width: 20px;
  height: 20px;
  display: block;
}

.content-with-popup-navigation .swiper-button-next {
  transform: rotate(180deg);
}

.content-with-popup-navigation .swiper-pagination {
  position: unset;
  background: #B5B5B5;
  height: 2px;
  width: calc(100% - 97px - 20px);
}

.content-with-popup-navigation .swiper-pagination .swiper-pagination-progressbar-fill {
  background: #000;
}

.image-content-list {
  height: 100%;
}

.content-popup-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
}

.content-popup-drawer.active {
  display: block;
}

.content-popup-empty {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 101;
}

.content-popup-main {
  position: absolute;
  width: calc(100% - 40px);
  height: calc(90dvh - 40px);
  max-width: 1400px;
  padding: 20px 20px 0;
  margin: 20px 0;
  background: #fff;
  z-index: 102;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow: hidden;
}

.content-popup-main-wrap {
  width: 100%;
  height: 100%;
  display: none;
  padding: 20px 3vw 0;
}

.content-popup-header h2.heading {
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
}

.content-popup-header h2.heading+.richtext {
  margin-top: 15px;
}

.content-popup-header .richtext {
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  font-family: 'GT America-Regular';
  max-width: 620px;
  margin: 0 auto;
}

.content-popup-header+.content-popup-body {
  margin-top: 30px;
}

.content-popup-media-list {
  width: 100%;
  height: 100%;
}

.content-popup-media-list ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  overflow: hidden;
  overflow-y: auto;
}

.content-popup-media-list ul li {
  width: calc(25% - 20px * 3/4);
}

.content-popup-media-ratio {
  position: relative;
  padding-top: 110%;
}

.content-popup-media-ratio img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-popup-body {
  width: 100%;
  height: calc(100% - 140px);
}

.content-popup-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-popup-close-btn svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media(max-width:1440px) {
  .text-content_grid-item {
    width: calc(50% - 0px *1/2);
    padding: 0 5vw;
  }

  .text-content-list {
    padding: 40px 0;
  }

  .content-with-popup-navigation {
    bottom: 0;
  }
}

@media(max-width:767px) {
  .content-with-popup {
    padding-top: var(--padding-top-mobile);
    padding-bottom: var(--padding-bottom-mobile);
  }

  .content-with-popup-header h2.heading {
    font-size: var(--heading-size-mobile);
    text-align: center;
  }

  .image-content_grid-item {
    width: 100%;
  }

  .text-content_grid-item {
    width: 100%;
    padding: 0;
  }

  .text-content-list {
    padding: 20px 0 40px;
  }

  .text-content-item-inner {
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .text-content-item-inner span.sub-heading {
    font-size: 14px;
    line-height: 1.286;
  }

  .text-content-item-inner h2.heading {
    font-size: 20px;
  }

  .text-content-item-inner .richtext {
    font-size: 14px;
    line-height: 1.382;
  }

  .text-content-item .button-wrapper a {
    height: 32px;
    min-width: 130px;
    padding: 7px 7px 5px;
  }

  .text-content-item .button-wrapper a .text-wrap {
    font-size: 14px;
  }

  .text-content-item .button-wrapper a .svg-wrap {
    width: 18px;
    height: 18px;
  }

  .content-with-popup-navigation .navigation-arrows {
    width: 64px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .content-with-popup-navigation .swiper-button-next,
  .content-with-popup-navigation .swiper-button-prev {
    position: unset;
    width: 30px;
    height: 30px;
  }

  .content-with-popup-navigation .swiper-pagination {
    width: calc(100% - 64px - 20px);
  }

  .content-with-popup-navigation .swiper-button-next svg,
  .content-with-popup-navigation .swiper-button-prev svg {
    width: 18px;
    height: 18px;
  }

  .content-with-popup .page-width {
    padding: 0 10px;
  }

  .content-with-popup-header+.content-with-popup-body {
    margin-top: 21px;
  }

  .content-popup-main-wrap {
    padding: 10px 0;
  }

  .content-popup-main {
    width: calc(100% - 20px);
    height: calc(90dvh - 20px);
    margin: 10px 0;
    padding: 10px 10px;
    border-radius: 8px;
  }

  .content-popup-header h2.heading {
    font-size: 18px;
    padding: 0 20px;
  }

  .content-popup-header h2.heading+.richtext {
    margin-top: 10px;
  }

  .content-popup-header .richtext {
    font-size: 14px;
    padding: 0 20px;
  }

  .content-popup-header+.content-popup-body {
    margin-top: 20px;
  }

  .content-popup-body {
    height: 70dvh;
  }

  .content-popup-media-list ul {
    gap: 12px;
  }

  .content-popup-media-list ul li {
    width: calc(50% - 12px * 1/2);
  }

  .content-popup-close-btn {
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
  }
}

@media(max-width:420px) {
  .content-popup-body {
    height: 78%;
  }
}