/* Blog article page only. */

.blog-article-page{
  --blog-gutter:var(--site-content-gutter);
  box-sizing:border-box;
  padding-top:var(--site-header-height);
  color:var(--site-ink);
  background:var(--site-paper);
  font-size:16px;
  line-height:1.55;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.blog-article-shell{
  width:min(calc(100% - var(--blog-gutter)),var(--site-content-width));
  margin-inline:auto;
}
.blog-article-hero{
  padding:72px 0;
  background:var(--site-surface);
}
.blog-article-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(48px,5vw,84px);
  align-items:center;
}
.blog-article-hero__copy{
  min-width:0;
}
.blog-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:32px;
}
.blog-article-meta__item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:8px 13px;
  color:#4e5d67;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(221,228,231,.9);
  border-radius:999px;
  font-size:14px;
  font-weight:500;
  line-height:1;
}
.blog-article-meta__item :is(svg,.site-icon){
  width:17px;
  height:17px;
  filter:var(--site-icon-filter-primary);
}
.blog-article-hero h1{
  max-width:720px;
  margin:0 0 28px;
  color:var(--site-ink);
  font-size:clamp(48px,3.2vw,56px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.025em;
}
.blog-article-hero__lead{
  max-width:690px;
  margin:0;
  color:#46545e;
  font-size:18px;
  line-height:1.8;
}
.blog-article-author{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:34px;
  padding:9px 20px 9px 10px;
  color:var(--site-ink);
  background:#fff;
  border:1px solid var(--site-line);
  border-radius:999px;
  font-size:16px;
  font-weight:600;
}
.blog-article-author__mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  color:#fff;
  background:var(--site-primary);
  border-radius:12px;
  font-size:18px;
  font-weight:700;
}
.blog-article-hero__media{
  overflow:hidden;
  margin:0;
  aspect-ratio:16/9;
  background:#e9eef0;
  border-radius:28px;
}
.blog-article-hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.blog-article-content{
  padding:64px 0 104px;
  background:#fff;
}
.blog-article-layout{
  display:grid;
  grid-template-columns:minmax(0,900px) 300px;
  gap:64px;
  align-items:start;
  max-width:1264px;
  margin-inline:auto;
}
.blog-article-body{
  min-width:0;
  max-width:900px;
}
.blog-latest-products{
  padding:88px 0 96px;
  background:var(--site-surface);
}
.blog-latest-products__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:36px;
}
.blog-latest-products__head h2{
  margin:0 0 10px;
  color:var(--site-ink);
  font-size:40px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.02em;
}
.blog-latest-products__head p{
  max-width:680px;
  margin:0;
  color:#596771;
  font-size:16px;
  line-height:1.7;
}
.blog-latest-products__controls{
  display:flex;
  gap:10px;
  flex:0 0 auto;
}
.blog-latest-products__controls button{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  color:var(--site-ink);
  background:#fff;
  border:1px solid var(--site-line);
  border-radius:50%;
  cursor:pointer;
  transition:border-color .2s ease,color .2s ease,background-color .2s ease;
}
.blog-latest-products__controls button:hover:not(:disabled){
  color:var(--site-primary-dark);
  background:var(--site-primary-soft);
  border-color:#b7d8bd;
}
.blog-latest-products__controls button:focus-visible{
  outline:3px solid rgba(7,135,28,.24);
  outline-offset:2px;
}
.blog-latest-products__controls button:disabled{
  cursor:default;
  opacity:.35;
}
.blog-latest-products__controls .site-icon{
  width:22px;
  height:22px;
}
.blog-latest-products__controls button:hover:not(:disabled) .site-icon{
  filter:var(--site-icon-filter-primary-dark);
}
.blog-latest-products__track{
  display:flex;
  gap:24px;
  overflow-x:auto;
  padding:2px 2px 12px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
}
.blog-latest-products__track::-webkit-scrollbar{
  display:none;
}
.blog-latest-products__track:focus-visible{
  outline:3px solid rgba(7,135,28,.24);
  outline-offset:4px;
}
.blog-latest-product-card{
  flex:0 0 330px;
  overflow:hidden;
  color:var(--site-ink);
  background:#fff;
  border:1px solid var(--site-line);
  border-radius:20px;
  scroll-snap-align:start;
  text-decoration:none;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.blog-latest-product-card:hover{
  transform:translateY(-4px);
  border-color:#c8d5d9;
  box-shadow:0 12px 30px rgba(23,33,43,.08);
}
.blog-latest-product-card:focus-visible{
  outline:3px solid rgba(7,135,28,.24);
  outline-offset:3px;
}
.blog-latest-product-card__media{
  display:grid;
  place-items:center;
  height:220px;
  margin:0;
  padding:20px;
  background:#f8fafa;
  border-bottom:1px solid var(--site-line);
}
.blog-latest-product-card__media img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.blog-latest-product-card__body{
  padding:22px 22px 24px;
}
.blog-latest-product-card__body > span{
  display:block;
  margin-bottom:9px;
  color:var(--site-primary);
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
}
.blog-latest-product-card h3{
  margin:0 0 10px;
  color:var(--site-ink);
  font-size:22px;
  font-weight:700;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  line-height:1.3;
  letter-spacing:-.02em;
}
.blog-latest-product-card p{
  min-height:54px;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box; -webkit-box-orient:vertical;-webkit-line-clamp:3;
  margin:0 0 18px;
  color:#596771;
  font-size:15px;
  line-height:1.65;
}
.blog-latest-product-card strong{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--site-primary-dark);
  font-size:14px;
  font-weight:700;
}
.blog-latest-product-card strong span{
  transition:transform .2s ease;
}
.blog-latest-product-card:hover strong span{
  transform:translateX(3px);
}
@media (max-width:1080px){
  .blog-article-page{
    padding-top:var(--site-header-height-mobile);
  }
  .blog-article-hero{
    padding:60px 0 64px;
  }
  .blog-article-content{
    padding-top:60px;
  }
  .blog-article-hero__grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .blog-article-hero h1{
    max-width:900px;
  }
  .blog-article-hero__lead{
    max-width:800px;
  }
  .blog-article-hero__media{
    aspect-ratio:16/8.8;
  }
  .blog-article-layout{
    grid-template-columns:1fr;
    gap:44px;
    max-width:none;
  }
  .blog-article-body{
    max-width:none;
  }
  .blog-latest-products{
    padding:72px 0 80px;
  }
  .blog-latest-product-card{
    flex-basis:310px;
  }
}
@media (max-width:640px){
  .blog-article-page{
    --blog-gutter:24px;
  }
  .blog-article-hero{
    padding:42px 0 48px;
  }
  .blog-article-meta{
    gap:8px;
    margin-bottom:24px;
  }
  .blog-article-meta__item{
    min-height:34px;
    padding:7px 11px;
    font-size:13px;
  }
  .blog-article-hero h1{
    margin-bottom:20px;
    font-size:36px;
    line-height:1.15;
  }
  .blog-article-hero__lead{
    font-size:16px;
    line-height:1.75;
  }
  .blog-article-author{
    margin-top:26px;
    font-size:15px;
  }
  .blog-article-hero__media{
    aspect-ratio:4/3;
    border-radius:20px;
  }
  .blog-article-content{
    padding:46px 0 72px;
  }
  .blog-article-layout{
    gap:32px;
  }
  .blog-latest-products{
    padding:60px 0 68px;
  }
  .blog-latest-products__head{
    align-items:center;
    gap:20px;
    margin-bottom:28px;
  }
  .blog-latest-products__head h2{
    margin-bottom:8px;
    font-size:32px;
  }
  .blog-latest-products__head p{
    font-size:15px;
  }
  .blog-latest-products__controls{
    gap:8px;
  }
  .blog-latest-products__controls button{
    width:42px;
    height:42px;
  }
  .blog-latest-products__controls .site-icon{
    width:20px;
    height:20px;
  }
  .blog-latest-products__track{
    gap:16px;
  }
  .blog-latest-product-card{
    flex-basis:min(84vw,300px);
    border-radius:16px;
  }
  .blog-latest-product-card__media{
    height:200px;
  }
  .blog-latest-product-card__body{
    padding:20px;
  }
  .blog-latest-product-card h3{
    font-size:20px;
  }
}
