/* home hero */

.hero {
  position: relative;
  height: 760px;
}
.hero::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  position: absolute;
  z-index: 2;
}

.hero .bg-img,
.hero .hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero .hero-bg .hero-bg-img,
.hero .hero-bg .hero-bg-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-bg .hero-bg-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero .hero-bg .hero-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero .hero-bg .hero-bg-poster {
  z-index: 0;
}

.hero .hero-bg .hero-bg-video-file .hero-video-native {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero-info {
  padding-top: calc(760px * 0.43);
  position: relative;
  z-index: 3;
  font-family: "Lidl-Semibold";
}

.hero-info h1 {
  font-size: 73px;
  line-height: 78px;
  letter-spacing: 1.09px;
  margin-bottom: 11px;
  color: #fff;
}

.hero-info p {
  max-width: 860px;
  padding-right: 2rem;
  color: #fff;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: 0.54px;
  margin-bottom: 40px;
}

.hero-more {
  background-color: var(--colorPrimaryBlue);
  color: #fff;
  border: none;
  font-size: 19px;
  line-height: 21px;
  letter-spacing: 0.28px;
  padding: 10px 25px 11px 28px;
  border-radius: 22px;
  transition: all 0.3s;
}

.hero-more:hover {
  background-color: var(--colorSecBlue);
}

@media screen and (max-width: 1020px) {
  .hero-info h1 {
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0.59px;
  }

  .hero-info p {
    font-size: 30px;
    line-height: 33px;
    letter-spacing: 0.44px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 620px) {
  .hero {
    height: 390px;
  }
  .hero-info {
    padding-top: 143px;
  }
  .hero-info h1 {
    font-size: 33px;
    line-height: 35px;
    letter-spacing: 0.49px;
    margin-bottom: 6px;
  }
  .hero-info p {
    font-size: 25px;
    line-height: 27px;
    letter-spacing: 0.38px;
    margin-bottom: 21px;
  }
}
@media screen and (max-width: 380px) {
  .hero-info {
    padding-top: 123px;
  }
  .hero-info p {
    font-size: 22px;
    line-height: 25px;
    letter-spacing: 0.3px;
  }
}

/* hero bottom */

.hero-bottom {
  background-color: var(--colorSecBlue);
  padding-block: 38px;
  color: #fff;
}

.hero-bottom-wrapper {
  justify-content: space-between;
}
.hero-bottom-info {
  font-size: 18px;
  line-height: 22px;
  font-family: "Lidl-Semibold";
  color: #fff;
  gap: 10px;
}

.hero-bottom-info .info-item {
  gap: 10px;
  align-items: center;
}
.hero-bottom-info .icon {
  width: 18px;
}

.hero-bottom-card {
  margin-top: -78px;
  position: relative;
  z-index: 5;
}
.hero-bottom-card .card {
  background-color: #fff;
  padding: 21px 20px 23px 19px;
  border-radius: 7px;
  width: 429px;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 2rem;
}

.hero-bottom-card .card-image {
  flex: 0 0 123px;
  aspect-ratio: 1;
}
.hero-bottom-card .tag-list {
  position: relative;
  gap: 5px;
  left: 0;
  top: 0;
  margin-bottom: auto;
  flex-wrap: wrap;
}

.hero-bottom-card .tag {
  background-color: var(--colorPrimaryBlue);
  padding-inline: 8px;
}
.hero-bottom-card .count-down {
  position: relative;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.21px;
  min-width: 74px;
  align-items: center;
  padding-inline: 9px;
}
.hero-bottom-card .card .card-info {
  padding-inline: 0;
  justify-content: flex-end;
  flex-grow: 1;
}
.hero-bottom-card .title {
  font-size: 18px;
  line-height: 22px;
  font-family: "Lidl-Semibold";
  order: 3;
  margin-bottom: 0;
  max-width: 200px;
}
.hero-bottom-card .category {
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.18px;
  font-family: "Lidl-Semibold";
  color: var(--colorSecBlue);
}

.hero-bottom-card .event-date {
  width: 40px;
  height: 40px;
  top: 39px;
  right: 39px;
}

.hero-bottom-card .event-date .info .month {
  font-size: 9px;
  line-height: 11px;
  letter-spacing: 0.14px;
}
.hero-bottom-card .event-date .info .date {
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0.26px;
}

@media screen and (max-width: 740px) {
  .hero-bottom {
    padding-block: 25px 16px;
  }
  .hero-bottom-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .hero-bottom-card {
    margin-top: -0;
  }
}

@media screen and (max-width: 620px) {
  .hero-bottom-card .card {
    width: 100%;
  }
}
@media screen and (max-width: 430px) {
  .hero-bottom-card .card {
    padding: 12px 10px;
  }
  .hero-bottom-card .category {
    margin-top: 5px;
  }
  .hero-bottom-card .event-date {
    top: 25px;
    right: 25px;
  }
}

/* home events */

.home-events {
  padding-block: clamp(40px, 5vw, 78px) 43px;
  background-color: var(--colorPrimaryBlue);
  color: #fff;
}
.home-events .section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 56px;
}

.home-events .section-header h2 {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  color: #fff;
  margin-bottom: 23px;
}
.home-events .section-header .description {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: 0.54px;
  font-family: "Lidl-Semibold";
}

.home-events .section-header .description span {
  color: var(--colorPrimaryYellow);
  display: block;
}
.home-events .section-header .link-info {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  text-align: right;
  font-family: "Lidl-Book";
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.27px;
  max-width: 319px;
}
.home-events .section-header .section-more {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  width: fit-content;
  margin-left: auto;
  color: #fff;
  border-color: #fff;
  margin-top: 14px;
}

.home-eventsSwiper {
  padding-bottom: 53px;
}

.home-swiper .swiper-pagination-bullet {
  background-color: #fff;
}

.home-eventsSwiper :is(.swiper-button-next, .swiper-button-prev) {
  top: 240px;
}

.home-eventsSwiper .swiper-slide {
  width: max(350px, 20vw);
}

.home-events .eventCard .completed {
  left: 20px;
  top: 21px;
}
.home-events .eventCard .card-info {
  --left: 20px;
}

@media screen and (max-width: 940px) {
  .home-events .section-header {
    margin-bottom: 33px;
  }
  .home-events .section-header h2 {
    grid-column: 1 / 2;
    margin-bottom: 0;
  }
  .home-events .section-header .section-more {
    grid-row: 1 /2;
    margin-top: 0;
  }
  .home-events .section-header .description {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    margin-block: 33px 23px;
  }
  .home-events .section-header .link-info {
    grid-row: 3/ 4;
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media screen and (max-width: 840px) {
  .home-eventsSwiper .swiper-slide {
    width: max(303px, 20vw);
  }
}
@media screen and (max-width: 540px) {
  .home-events .section-header .description span {
    display: inline;
  }
}
@media screen and (max-width: 520px) {
  .home-eventsSwiper {
    padding-bottom: 0;
  }
}

/* home team */

.home-team {
  padding-block: clamp(37px, 5vw, 69px) clamp(37px, 6vw, 92px);
  background-color: var(--colorPrimaryYellow);
}
.home-team .section-header {
  margin-bottom: 27px;
}

@media screen and (max-width: 920px) {
  .home-team .grid {
    grid-gap: 21px 19px;
  }
}
@media screen and (max-width: 620px) {
  .home-team .section-header {
    margin-bottom: 25px;
  }
}

/* home recipes */

.home-recipes {
  padding-block: clamp(38px, 4.5vw, 93px) 79px;
  --columns: 3;
}

.home-recipes .section-header {
  margin-bottom: 30px;
}
.home-recipes .section-header .section-more {
  position: absolute;
  right: 0;
}
.home-recipes .secondary-header {
  margin-bottom: 36px;
  align-items: center;
  width: fit-content;
  position: relative;
}
.home-recipes .secondary-header h3 {
  font-size: 43px;
  line-height: 55px;
  letter-spacing: 0.65px;
  color: var(--colorSecBlue);
  margin-right: 12px;
}

.home-recipes .secondary-header .pill {
  font-size: 31px;
  line-height: 40px;
  letter-spacing: 0.47px;
  padding: 5px 25px 5px;
  color: var(--colorPrimaryBlue);
  position: absolute;
  left: 100%;
  font-family: "Lidl-Semibold";
}

.home-recipes .secondary-header .pill:hover {
  background-color: #fff;
}

#article-type {
  position: absolute;
  left: 100%;
  top: calc(100% + 5px);
  z-index: 1;
  font-size: 31px;
  line-height: 40px;
  letter-spacing: 0.47px;
  padding: 5px 25px 5px;
  color: var(--colorPrimaryBlue);
  background-color: #fff;
  font-family: "Lidl-Semibold";
  border: 1px solid var(--colorPrimaryBlue);
  border-radius: 25px;
}

@media screen and (max-width: 1080px) {
  .home-recipes {
    --gridGap: 16px;
  }
  .home-recipes .section-header .section-more {
    position: static;
  }
  .home-recipes .secondary-header h3 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: 0.45px;
  }
  #article-type,
  .home-recipes .secondary-header .pill {
    font-size: 25px;
    line-height: 32px;
    letter-spacing: 0.4px;
    padding: 5px 25px 5px;
  }
  .home-recipes .secondary-header .pill {
    padding: 5px 25px 5px;
  }

  .home-recipes .section-header {
    margin-bottom: 22px;
  }
}
@media screen and (max-width: 620px) {
  .home-recipes {
    --bottomSpace: 28px;
  }

  .home-recipes .secondary-header {
    margin-bottom: 25px;
  }
  .home-recipes .secondary-header h3 {
    font-size: 23px;
    line-height: 31px;
    letter-spacing: 0.36px;
  }

  .home-recipes .secondary-header .pill {
    font-size: 21px;
    line-height: 27px;
    letter-spacing: 0.32px;
    padding: 7px 25px 10px;
  }
  #article-type,
  .home-recipes .secondary-header .pill {
    padding: 7px 25px 10px;
  }

  .home-recipes .title {
    margin-bottom: 14px;
  }
}

/* home techniques */

.home-techniques {
  padding-block: 63px 55px;
  background-color: var(--colorSecBlue);
  color: var(--colorPrimaryYellow);
}

.home-techniques .section-header {
  justify-content: center;
  margin-bottom: 73px;
}
.home-techniques .section-header h2 {
  color: #fff;
}

.techniques-list {
  font-size: 56px;
  line-height: 101px;
  letter-spacing: 0.84px;
  font-family: "Lidl-Semibold";
  justify-content: space-between;
  align-items: center;
}

.techniques-list a {
  display: flex;
  gap: 16px;
  align-items: center;
  filter: blur(0);
  transition: all 0.3s;
}

.techniques-list a img {
  border-radius: 51px;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s;
  height: 101px;
}
.techniques-list a:hover img {
  width: 226px;
  opacity: 1;
}

.techniques-list:has(a:hover) a {
  filter: blur(5px);
}
.techniques-list:has(a:hover) a:hover {
  filter: blur(0);
}

.home-techniques .more-link {
  border-color: #fff;
  color: #fff;
  margin: 60px auto 0;
  display: block;
  width: fit-content;
}

@media screen and (max-width: 1620px) {
  .techniques-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 0;
  }
  .techniques-list > li {
    flex-basis: 30%;
    text-align: center;
  }
  .techniques-list a {
    justify-content: center;
  }
}
@media screen and (max-width: 1320px) {
  .techniques-list {
    font-size: 40px;
    gap: 14px 0;
  }
}
@media screen and (max-width: 1024px) {
  .techniques-list {
    gap: 14px 2rem;
    line-height: 72px;
  }
  .techniques-list:has(a:hover) a,
  .techniques-list:has(a:hover) a:hover {
    filter: blur(0);
  }
  .techniques-list > li {
    flex-basis: 45%;
  }
  .techniques-list a {
    justify-content: flex-start;
  }
  .techniques-list a img {
    width: 160px;
    height: 72px;
    opacity: 1;
    order: -1;
  }
}
@media screen and (max-width: 840px) {
  .home-techniques {
    padding-block: 69px 65px;
  }
  .techniques-list {
    font-size: 34px;
    letter-spacing: 0.51px;
    line-height: 52px;
  }
  .techniques-list a img {
    width: 117px;
    height: 52px;
  }
}
@media screen and (max-width: 660px) {
  .techniques-list {
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    margin-inline: auto;
    gap: 14px 0;
    padding-left: clamp(3rem, 12vw, 90px);
  }
  .techniques-list a {
    gap: 24px;
  }
}
@media screen and (max-width: 420px) {
  .techniques-list {
    padding-left: 0;
  }
}

/* home videos */

.home-videos {
  height: 847px;
  position: relative;
}

.home-videos .section-header {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 60px;
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}
.home-videos .section-header h2 {
  color: var(--colorPrimaryYellow);
  margin: 0;
}
.home-videos .section-header .section-more.pill {
  color: #fff;
  border-color: #fff;
  background: transparent;
  flex-shrink: 0;
}
.home-videos .section-header .section-more.pill:hover {
  background-color: #fff;
  color: var(--colorSecBlue);
  border-color: #fff;
}
.home-videos .videoSwiper {
  position: absolute;
  inset: 0;
}

.home-videos .videoSwiper .swiper-slide {
  position: relative;
}
.home-videos .videoSwiper .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.home-videos .videoSwiper .swiper-slide .card {
  width: 100%;
  height: 100%;
}

.home-videos .videoSwiper .swiper-slide .card-image {
  border-radius: 0;
  margin-bottom: 0;
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
  position: relative;
}
.home-videos .videoSwiper .swiper-slide .card-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.home-videos .videoSwiper .swiper-slide .card-info {
  position: absolute;
  top: 50%;
  left: var(--leftPadding);
  z-index: 10;
  transform: translateY(-50%);
  box-sizing: border-box;
}
.home-videos .videoSwiper .swiper-slide .title {
  font-size: 43px;
  line-height: 50px;
  letter-spacing: 0.65px;
  color: #fff;
  margin-bottom: 27px;
  width: 100%;
  max-width: 951px;
}
.home-videos .videoSwiper .swiper-slide .card-info .view-btn {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.home-videos .videoSwiper .swiper-slide .card-info .view-btn img {
  display: block;
  width: clamp(80px, 10vw, 129px);
  height: auto;
}
.home-videos .videoSwiper .swiper-slide .card-info .view-btn:hover img {
  opacity: 0.9;
}
.video-thumbs {
  position: absolute;
  right: var(--leftPadding);
  top: 50%;
  transform: translateY(-50%);
  max-width: 450px;
  width: 100%;
  z-index: 20;
}

.video-thumbs .thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.thumb .progress {
  height: 10px;
  width: 100%;
  position: absolute;
  overflow: hidden;
  left: 0;
  bottom: 0;
  opacity: 0;
  border-radius: 0 0 10px 10px;
  background-color: rgba(255, 255, 255, 0.52);
}
.swiper-slide-thumb-active .thumb .progress {
  opacity: 1;
}

.thumb .progress::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform-origin: left;
  background-color: var(--colorPrimaryYellow);
  transform: scaleX(var(--time));
}

@media screen and (max-width: 1420px) {
  .video-thumbs {
    top: unset;
    bottom: 60px;
    transform: translateY(0);
  }
}

@media screen and (max-width: 980px) {
  .video-thumbs {
    right: 50%;
    transform: translateX(50%);
  }
  .home-videos .videoSwiper .swiper-slide .title {
    text-align: center;
  }
  .home-videos .videoSwiper .swiper-slide .card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    padding-inline: var(--padding);
  }
}

@media screen and (max-width: 720px) {
  .home-videos {
    height: 731px;
  }
  .home-videos .videoSwiper .swiper-slide .title {
    font-size: 35px;
    line-height: 40px;
    letter-spacing: 0.53px;
    color: #fff;
    margin-bottom: 34px;
  }
  .home-videos .section-header {
    padding-top: 47px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .home-videos .section-header h2 {
    text-align: center;
  }
  .home-videos .section-header .section-more.pill {
    align-self: flex-end;
  }
}

@media screen and (max-width: 520px) {
  .video-thumbs {
    padding-inline: var(--padding);
  }
}
@media screen and (max-width: 420px) {
  .video-thumbs {
    bottom: 2rem;
  }
}

/* archive blog / food blog page style (banner, featured block, section) */

.archive-blog-banner {
  background-color: var(--colorPrimaryBlue);
  padding-block: clamp(50px, 5vw, 100px);
  text-align: center;
}

.archive-blog-banner-title {
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  font-family: "Lidl-Semibold", sans-serif;
}

/* section below: blue title, outline pill */
.archive-blog .section-header h2 {
  color: var(--colorPrimaryBlue);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.21px;
  text-transform: uppercase;
}

.archive-blog .section-header .section-more.pill {
  background: transparent;
  border: 2px solid var(--colorPrimaryBlue);
  color: var(--colorPrimaryBlue);
}

.archive-blog .section-header .section-more.pill:hover {
  background: var(--colorPrimaryBlue);
  color: #fff;
  border-color: var(--colorPrimaryBlue);
}

/* home blog (same layout used in category.php for post category archives) */

.home-blog,
.archive-blog {
  padding-block: clamp(39px, 4vw, 60px) clamp(32px, 6vw, 114px);
  --gridGapRow: 77px;
}

@media screen and (max-width: 1020px) {
  .home-blog,
  .archive-blog {
    --gridGapRow: 44px;
  }
}
@media screen and (max-width: 620px) {
  .home-blog .grid,
  .archive-blog .grid {
    --gridGap: 32px;
  }
}

/* home wellness */

.home-wellness {
  padding-block: clamp(40px, 6vw, 93px) clamp(36px, 6.5vw, 106px);
  background-color: var(--colorPrimaryBlue);
  position: relative;
  height: 1242px;
}

.home-wellness .section-header,
.home-wellness .wellness-title,
.home-wellness .more-link,
.home-wellness .wellness-article-list > article {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.home-wellness.is-inview .section-header,
.home-wellness.is-inview .wellness-title,
.home-wellness.is-inview .more-link,
.home-wellness.is-inview .wellness-article-list > article {
  opacity: 1;
  transform: none;
}

.home-wellness.is-inview .section-header {
  transition-delay: 0.03s;
}
.home-wellness.is-inview .wellness-title {
  transition-delay: 0.12s;
}
.home-wellness.is-inview .more-link {
  transition-delay: 0.2s;
}
.home-wellness.is-inview .wellness-article-list > article:nth-of-type(1) {
  transition-delay: 0.28s;
}
.home-wellness.is-inview .wellness-article-list > article:nth-of-type(2) {
  transition-delay: 0.38s;
}
.home-wellness.is-inview .wellness-article-list > article:nth-of-type(3) {
  transition-delay: 0.48s;
}
.home-wellness.is-inview .wellness-article-list > article:nth-of-type(4) {
  transition-delay: 0.58s;
}

@media (prefers-reduced-motion: reduce) {
  .home-wellness .section-header,
  .home-wellness .wellness-title,
  .home-wellness .more-link,
  .home-wellness .wellness-article-list > article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-wellness .section-header {
  justify-content: center;
  margin-bottom: 212px;
}
.home-wellness .section-header h2 {
  color: #fff;
}

.wellness-title {
  font-size: 61px;
  line-height: 64px;
  letter-spacing: 0.92px;
  text-align: center;
  max-width: 494px;
  color: #fff;
  margin-inline: auto;
  font-family: "Lidl-Semibold";
}
.wellness-title span {
  display: block;
  color: var(--colorPrimaryYellow);
}
.wellness-title + .more-link {
  color: #fff;
  width: fit-content;
  margin: 59px auto 0;
  border-color: #fff;
  display: block;
}

.wellness-article-list .card .title {
  color: #fff;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.36px;
  font-family: "Lidl";
  text-wrap: balance;

  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff calc(100% - 28px),
    var(--colorPrimaryYellow) calc(100% - 28px)
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wellness-article-list .card .title::first-line {
  color: #fff !important;
}

.wellness-article-list .card .card-image {
  margin-bottom: 19px;
}

.wellness-article-list > article {
  position: absolute;
}
.wellness-article-list > article:nth-of-type(1) {
  width: 471px;
  left: var(--leftPadding);
  top: 226px;
}
.wellness-article-list > article:nth-of-type(1) .card-image {
  aspect-ratio: 0.976;
}
.wellness-article-list > article:nth-of-type(2) {
  width: 374px;
  right: var(--leftPadding);
  top: 175px;
}
.wellness-article-list > article:nth-of-type(2) .card-image {
  aspect-ratio: 1.472;
}
.wellness-article-list > article:nth-of-type(3) {
  width: 272px;
  bottom: 106px;
  left: calc(var(--leftPadding) + min(17vw, 350px));
}
.wellness-article-list > article:nth-of-type(3) .card-image {
  aspect-ratio: 1.47;
}
.wellness-article-list > article:nth-of-type(4) {
  width: 447px;
  bottom: 160px;
  right: calc(var(--leftPadding) + min(157px, 10vw));
}
.wellness-article-list > article:nth-of-type(4) .card-image {
  aspect-ratio: 1.334;
}

@media screen and (max-width: 1580px) {
  .home-wellness {
    height: 1516px;
  }
  .home-wellness .section-header {
    margin-bottom: 100px;
  }
  .wellness-article-list > article:nth-of-type(1) {
    top: 500px;
  }
  .wellness-article-list > article:nth-of-type(2) {
    top: 350px;
  }
}
@media screen and (max-width: 1340px) {
  .home-wellness {
    height: 1516px;
  }
  .home-wellness .section-header {
    margin-bottom: 50px;
  }
  .wellness-article-list > article:nth-of-type(2) {
    top: 380px;
  }
  .wellness-article-list > article:nth-of-type(4) {
    bottom: 250px;
    right: 50px;
  }
}

@media screen and (max-width: 1080px) {
  .home-wellness {
    height: auto;
  }
  .wellness-article-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-top: 41px;
  }
  .wellness-article-list > article {
    position: relative;
  }
  .wellness-article-list > article:nth-of-type(1),
  .wellness-article-list > article:nth-of-type(2),
  .wellness-article-list > article:nth-of-type(3),
  .wellness-article-list > article:nth-of-type(4) {
    width: 100%;
    top: unset;
    left: unset;
    bottom: unset;
    right: unset;
  }
  .wellness-article-list > article:nth-of-type(1) .card-image,
  .wellness-article-list > article:nth-of-type(2) .card-image,
  .wellness-article-list > article:nth-of-type(3) .card-image,
  .wellness-article-list > article:nth-of-type(4) .card-image {
    aspect-ratio: 1.475;
  }
}
@media screen and (max-width: 820px) {
  .wellness-title {
    font-size: 45px;
    line-height: 47px;
    letter-spacing: 0.68px;
    width: 100%;
  }
  .wellness-title + .more-link {
    margin-top: 39px;
  }
}
@media screen and (max-width: 620px) {
  .wellness-article-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .home-wellness .section-header {
    margin-bottom: 41px;
  }
}

/* home hacks */

.home-hacks {
  padding-block: clamp(41px, 5vw, 67px) 48px;
}

.home-hacks .section-header {
  margin-bottom: 42px;
}

.hackSwiper .swiper-slide {
  width: 26vw;
}

.home-hacks .card .card-info {
  padding: 9px 23px;
}
.home-hacks .card .category {
  order: -1;
  color: var(--colorSecBlue);
}
.home-hacks .card .title {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.27px;
  margin-block: 5px 0;
}

@media screen and (max-width: 1320px) {
  .hackSwiper .swiper-slide {
    width: 40vw;
  }
}
@media screen and (max-width: 980px) {
  .hackSwiper .swiper-slide {
    width: 60vw;
  }
}
@media screen and (max-width: 720px) {
  .home-hacks .section-header {
    margin-bottom: 38px;
  }
}
@media screen and (max-width: 680px) {
  .hackSwiper .swiper-slide {
    width: 80vw;
  }
}
@media screen and (max-width: 520px) {
  .hackSwiper {
    padding-left: 0;
  }
  .hackSwiper :is(.swiper-button-next, .swiper-button-prev),
  .hackSwiper .swiper-pagination {
    display: none;
  }
  .hackSwiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .hackSwiper .swiper-slide {
    width: 100%;
  }
  .hackSwiper .swiper-wrapper > div:not(:last-of-type) {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--colorPrimaryBlue);
  }
  .home-hacks .card .card-info {
    padding: 17px 16px 10px 20px;
  }
}
