@font-face {
  font-family: "Business Hub Display";
  src: url("../commercial/assets/bebas.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

body.icoffee-business-hub .business-hub-article {
  background: #fff;
  color: var(--ic-dark);
}
body.icoffee-business-hub .business-hub-chapter {
  --chapter-ink: var(--ic-dark);
  --chapter-copy: #454a50;
  --chapter-line: var(--ic-line);
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--chapter-ink);
}
body.icoffee-business-hub .business-hub-chapter-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr);
  align-items: start;
  gap: clamp(32px, 5.8vw, 86px);
  width: var(--industry-wrap);
  margin-inline: auto;
  padding: clamp(48px, 5vw, 78px) 0;
  border-bottom: 1px solid var(--chapter-line);
}
body.icoffee-business-hub .business-hub-chapter-heading {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
}
body.icoffee-business-hub #template-container .business-hub-chapter-heading h2 {
  margin: 0;
  padding: 0;
  color: var(--chapter-ink);
  font: 700 clamp(36px, 3.85vw, 55px)/1.16 "Business Hub Display", "Bahnschrift Condensed", "Onest Local", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
  scroll-margin-top: calc(var(--industry-header) + 22px);
}
body.icoffee-business-hub #template-container .business-hub-chapter-heading h2 strong {
  font: inherit;
  color: inherit;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy {
  min-width: 0;
  color: var(--chapter-copy);
  font: 400 clamp(16px, 1.23vw, 18px)/1.68 "Onest Local", "Segoe UI", sans-serif;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy :is(p, ul, ol) {
  max-width: 69ch;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy > :nth-child(n+2) {
  margin-top: 1em;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy strong {
  color: var(--chapter-ink);
  font: inherit;
  font-weight: 650;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy li {
  margin: 0;
  padding: 0 0 0 19px;
  list-style: none;
  color: inherit;
  font: inherit;
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy ul li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ic-green);
}
body.icoffee-business-hub #template-container .business-hub-chapter-copy li + li { margin-top: .5em; }
body.icoffee-business-hub .business-hub-chapter-copy a {
  color: var(--chapter-ink);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: #579443;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
body.icoffee-business-hub .business-hub-chapter-copy a:hover { text-decoration-thickness: 2px; }
body.icoffee-business-hub .business-hub-chapter-copy a:focus-visible {
  outline: 2px solid #589b3e;
  outline-offset: 3px;
}

/* These two chapters use the same dark support panel and local photography as the homepage. */
body.icoffee-business-hub .business-hub-chapter:has(.business-hub-chapter-heading > [id="Ключевые-преимущества"]) {
  --chapter-ink: #fff;
  --chapter-copy: #e2e5e6;
  --chapter-line: #484c50;
  background: var(--ic-dark);
}
body.icoffee-business-hub .business-hub-chapter-heading:has(> [id="Ключевые-преимущества"])::after,
body.icoffee-business-hub .business-hub-chapter-heading:has(> [id="Что-вам-нужно-для-старта?"])::after {
  content: "";
  display: block;
  max-width: 480px;
  aspect-ratio: 4/3;
  margin-top: clamp(22px, 2.6vw, 38px);
  border-radius: 10px;
  background: center / cover no-repeat url("../brand/photo-24.webp");
}
body.icoffee-business-hub .business-hub-chapter-heading:has(> [id="Что-вам-нужно-для-старта?"])::after {
  background-image: url("../brand/photo-16.webp");
}
body.icoffee-business-hub #template-container .business-hub-chapter:has([id="Ключевые-преимущества"]) .business-hub-chapter-copy li {
  margin: 0;
  padding: 15px 0;
  border-block-start: 1px solid var(--chapter-line);
}
body.icoffee-business-hub #template-container .business-hub-chapter:has([id="Ключевые-преимущества"]) li::before {
  display: none;
}

body.icoffee-business-hub #business-locations { background: var(--ic-paper); }
body.icoffee-business-hub #business-locations .business-hub-chapter-inner { display: block; border: 0; }
body.icoffee-business-hub #business-locations .business-hub-chapter-heading { margin-bottom: 16px; }
body.icoffee-business-hub #business-locations .business-hub-chapter-copy > .business-hub-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 3vw, 42px);
  max-width: none;
  margin: clamp(24px, 3vw, 40px) 0;
}
body.icoffee-business-hub #business-locations .business-hub-chapter-copy .business-hub-directory li {
  align-content: center;
  min-width: 0;
  min-height: 62px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #d3d6d8;
  color: #50555b;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.icoffee-business-hub #business-locations .business-hub-chapter-copy .business-hub-directory li::before {
  content: none;
}
body.icoffee-business-hub #business-locations .business-hub-directory a {
  color: var(--ic-dark);
  font-weight: 600;
  text-decoration-color: #76a764;
}
body.icoffee-business-hub #business-locations .business-hub-directory br:last-child { display: none; }
body.icoffee-business-hub .business-hub-chapter:last-child {
  background: var(--ic-paper);
}
body.icoffee-business-hub .business-hub-chapter:last-child .business-hub-chapter-inner { border: 0; }

@media (min-width: 941px) {
  body.icoffee-business-hub .business-hub-chapter-heading {
    position: sticky;
    top: calc(var(--industry-header) + 30px);
  }
  body.icoffee-business-hub #business-locations .business-hub-chapter-heading { position: static; }
}
@media (max-width: 940px) {
  body.icoffee-business-hub .business-hub-chapter-inner {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 25px;
  }
  body.icoffee-business-hub #business-locations .business-hub-chapter-copy > .business-hub-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body.icoffee-business-hub .business-hub-chapter-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 42px;
  }
  body.icoffee-business-hub .business-hub-chapter-heading:has(> [id="Ключевые-преимущества"])::after,
  body.icoffee-business-hub .business-hub-chapter-heading:has(> [id="Что-вам-нужно-для-старта?"])::after {
    aspect-ratio: 2.2;
    margin-top: 18px;
  }
}
@media (max-width: 580px) {
  body.icoffee-business-hub #business-locations .business-hub-chapter-copy > .business-hub-directory {
    grid-template-columns: minmax(0, 1fr);
  }
  body.icoffee-business-hub #business-locations .business-hub-chapter-copy .business-hub-directory li {
    min-height: 48px;
  }
}
