/* Shared hero pattern for Company section */
.vsh-company-hero {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 50px;
  padding: 38px 44px 36px;
  border: 1px solid #eadfd4;
  border-radius: 22px;
  background: #fff8f1;
  overflow: hidden;
}
.vsh-company-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #3f2518;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.08;
}
.vsh-company-hero p {
  max-width: 1120px;
  margin: 18px 0 0;
  color: #5f5147;
  font-size: 16px;
  line-height: 1.62;
}
.vsh-company-text-block {
  margin: 0 0 54px;
}
.vsh-company-text-block h2 { margin-top: 0; }

/* Clients page illustration between the intro and the first content section. */
.vsh-clients-intro-image {
  box-sizing: border-box;
  width: calc(100% - 44px);
  margin: 28px 0 44px 44px;
}
.vsh-clients-intro-image img {
  display: block;
  width: 100%;
  height: auto;
}
.vsh-clients-intro-image figcaption {
  margin: 10px 0 0;
  color: #7a604d;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .vsh-clients-intro-image {
    width: calc(100% - 32px);
    margin-left: 32px;
  }
}
@media (max-width: 781px) {
  .vsh-clients-intro-image {
    width: calc(100% - 24px);
    margin-left: 24px;
  }
}

/* News archive uses the same hero component as Company pages. */
body.category-news .vsh-company-archive-main > .vsh-news-hero {
  grid-column: 1 / -1;
}
body.category-news .vsh-news-hero {
  margin-top: -24px;
  margin-bottom: 24px;
  padding-right: clamp(300px, 31%, 430px);
  background-color: #fff8f1;
  background-image: url('https://vshokolade.com/wp-content/uploads/2026/09/news_bg.svg');
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: auto 94%;
}
body.category-news .vsh-news-hero .page-header {
  margin: 0;
  padding: 0;
  border: 0;
}
body.category-news .vsh-news-hero .vsh-news-intro {
  max-width: 820px;
  margin: 18px 0 0;
  color: #5f5147;
  font-size: 16px;
  line-height: 1.62;
}

@media (max-width: 900px) {
  .vsh-company-hero { padding: 30px 26px; border-radius: 18px; margin-bottom: 40px; }
  .vsh-clients-intro-image { margin-top: 24px; margin-bottom: 36px; }
  body.category-news .vsh-news-hero {
    margin-top: -16px;
    margin-bottom: 22px;
    padding-right: 34%;
    background-position: right 14px center;
    background-size: auto 78%;
  }
}
@media (max-width: 600px) {
  .vsh-company-hero { padding: 24px 20px; margin-bottom: 34px; }
  .vsh-company-hero p { font-size: 15px; }
  .vsh-clients-intro-image { margin-top: 20px; margin-bottom: 30px; }
  .vsh-clients-intro-image figcaption { font-size: 13px; }
  body.category-news .vsh-news-hero {
    margin-top: -12px;
    margin-bottom: 18px;
    padding-right: 20px;
    background-image: none;
  }
}
