/* Homepage benefits */
.in-index .benefitBanner.position--benefitHomepage {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: stretch !important;
  margin: 20px 0 !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f0f7f7 !important;
  box-shadow: none;
}
.in-index .position--benefitHomepage::before,
.in-index .position--benefitHomepage::after { content: none; }
.in-index .position--benefitHomepage > .benefitBanner__item {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: start !important;
  align-content: start !important;
  gap: 12px !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 4px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: left;
}
.in-index .position--benefitHomepage > .benefitBanner__item + .benefitBanner__item { border-left: 1px solid #d5e5e6 !important; }
.in-index .position--benefitHomepage .benefitBanner__picture {
  width: 44px !important; height: 44px !important; margin: 0 !important; padding: 0 !important;
}
.in-index .position--benefitHomepage .benefitBanner__img {
  width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain;
}
.in-index .position--benefitHomepage .benefitBanner__content { min-width: 0; width: auto !important; margin: 0 !important; padding: 0 !important; }
.in-index .position--benefitHomepage .benefitBanner__title {
  display: block !important; margin: 0 0 4px !important; color: #263034; font-size: 16px !important; font-weight: 650; line-height: 1.25 !important;
}
.in-index .position--benefitHomepage .benefitBanner__data { color: #46575a; font-size: 14px !important; line-height: 1.42 !important; }
.in-index .position--benefitHomepage .benefitBanner__data p { margin: 0 !important; }
@media (max-width: 1099px) {
  .in-index .benefitBanner.position--benefitHomepage { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 0 !important; }
  .in-index .position--benefitHomepage > .benefitBanner__item:nth-child(odd) { border-left: 0 !important; }
}
@media (max-width: 639px) {
  .in-index .benefitBanner.position--benefitHomepage { grid-template-columns: 1fr !important; gap: 0 !important; margin: 12px 0 20px !important; padding: 2px 14px !important; }
  .in-index .position--benefitHomepage > .benefitBanner__item { grid-template-columns: 36px minmax(0, 1fr) !important; gap: 12px !important; padding: 12px 0 !important; }
  .in-index .position--benefitHomepage > .benefitBanner__item + .benefitBanner__item { border-left: 0 !important; border-top: 1px solid #d5e5e6 !important; }
  .in-index .position--benefitHomepage .benefitBanner__picture { width: 36px !important; height: 36px !important; }
  .in-index .position--benefitHomepage .benefitBanner__title { font-size: 15px !important; }
}

/* Homepage articles on phones */
@media (max-width:767px) {
  .in-index .homepage-blog-wrapper.row {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 12px;
    margin-inline:0 !important;
    width:auto;
  }
  .in-index .homepage-blog-wrapper.row::before,
  .in-index .homepage-blog-wrapper.row::after {content:none}
  .in-index .homepage-blog-wrapper > .homepage-group-title {grid-column:1/-1;margin-bottom:0}
  .in-index .homepage-blog-wrapper > .news-item {
    width:auto !important;min-width:0;max-width:none;float:none;
    padding:0 !important;margin:0 !important;
  }
  .in-index .homepage-blog-wrapper > .news-item:nth-child(n+5 of .news-item) {display:none !important}
  .in-index .homepage-blog-wrapper .news-item .title {font-size:17px;line-height:1.28;overflow-wrap:anywhere}
  .in-index .homepage-blog-wrapper .news-item .image img {width:100%;height:auto}
}
/* Homepage welcome: photo and text */
.in-index .homepage-box:has(.ds-welcome-photo) {background:#fff}
.in-index .homepage-box .welcome:has(.ds-welcome-photo) {
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  grid-template-areas:"photo title" "photo copy";
  gap:0 clamp(24px,5vw,72px);align-items:center;
  box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto;
  padding:clamp(24px,4vw,60px);text-align:left;background:#fff;
}
.in-index .welcome:has(.ds-welcome-photo) > div:has(> .ds-welcome-photo) {display:contents!important}
.in-index .welcome:has(.ds-welcome-photo) > .h1 {
  grid-area:title;align-self:end;width:auto;max-width:none;margin:0 0 18px;padding:0;
  color:#263035;font-size:26px!important;line-height:1.16;font-weight:700!important;text-align:left;
}
.in-index .welcome .ds-welcome-photo {grid-area:photo;width:100%;max-width:none;margin:0;padding:0}
.in-index .welcome .ds-welcome-photo img {display:block;width:100%;height:auto;aspect-ratio:1.15;object-fit:cover;object-position:50% 52%;border-radius:8px}
.in-index .welcome .ds-welcome-copy {grid-area:copy;align-self:start;min-width:0;width:100%;max-width:none;text-align:left}
.in-index .welcome .ds-welcome-copy p {font-size:clamp(15px,1.35vw,17px);line-height:1.6;color:#425354;margin:0 0 12px}
.in-index .welcome .ds-welcome-actions {display:flex;align-items:center;gap:14px 20px;flex-wrap:wrap;margin-top:22px}
.in-index .welcome .ds-welcome-actions a {font-size:14px;font-weight:650;color:#006e79;text-decoration:none}
.in-index .welcome .ds-welcome-actions .ds-welcome-shop {display:inline-flex;align-items:center;gap:10px;padding:12px 18px;background:#027883;color:white;border-radius:5px}
.in-index .welcome .ds-welcome-shop:hover {background:#005e66}
.in-index .welcome .ds-welcome-actions a:hover {text-decoration:underline}
@media(max-width:767px){
  .in-index .homepage-box .welcome:has(.ds-welcome-photo) {grid-template-columns:1fr;grid-template-areas:"photo" "title" "copy";padding:20px 16px}
  .in-index .welcome .ds-welcome-photo img {aspect-ratio:1.65;max-height:245px}
  .in-index .welcome:has(.ds-welcome-photo) > .h1 {margin:20px 0 14px}
  .in-index .welcome .ds-welcome-actions {margin-top:16px}
}
@media(max-width:767px){
  .in-index .homepage-box.welcome-wrapper:has(.ds-welcome-photo),
  .in-index .homepage-box:has(.ds-welcome-photo) > .content-wrapper-in > .container,
  .in-index .homepage-box:has(.ds-welcome-photo) .container > .welcome-wrapper {
    width:100%;margin-inline:0;padding:0!important;border:0;box-shadow:none;
  }
}
.in-index .homepage-box.welcome-wrapper:has(.ds-welcome-photo),
.in-index .homepage-box .welcome-wrapper:has(.ds-welcome-photo) {
  border: 0 !important;
  box-shadow: none !important;
}
