/* BICOM / pages/historie.css */

.bicom-page--history img {
  width: 100%;
}

.bicom-history-intro {
  padding: 76px 0 70px;
  background: var(--bicom-white);
}

.bicom-history-intro__inner {
  max-width: 960px;
}

.bicom-history-intro h2 {
  max-width: 850px;
  margin: 0;
  color: var(--bicom-navy);
  font-size: clamp(48px,4.5vw,70px);
  line-height: .97;
  font-weight: var(--bicom-weight-regular);
  letter-spacing: -.055em;
}

.bicom-history-intro h2 strong {
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-intro__lead {
  max-width: 850px;
  margin: 28px 0 0;
  line-height: 1.72;
}

.bicom-history-intro__source {
  max-width: 850px;
  margin-top: 31px;
  padding: 22px 26px;
  background: var(--bicom-surface);
}

.bicom-history-intro__source strong {
  display: block;
  color: var(--bicom-navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-intro__source p {
  margin: 8px 0 0;
  color: var(--bicom-muted);
  font-size: 16px;
  line-height: 1.65;
  font-weight: var(--bicom-weight-medium);
}

.bicom-history-article {
  padding: 10px 0 92px;
  background: var(--bicom-white);
}

.bicom-history-article__inner {
  max-width: 960px;
}

.bicom-history-section {
  scroll-margin-top: 100px;
}

.bicom-history-section + .bicom-history-section {
  margin-top: 76px;
}

.bicom-history-section h2 {
  max-width: 850px;
  margin: 0 0 27px;
  color: var(--bicom-navy);
  font-size: clamp(35px,3vw,48px);
  line-height: 1.05;
  font-weight: var(--bicom-weight-regular);
  letter-spacing: -.045em;
}

.bicom-history-section h2 strong {
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-section h3 {
  max-width: 820px;
  margin: 43px 0 17px;
  color: var(--bicom-navy);
  font-size: 24px;
  line-height: 1.22;
  font-weight: var(--bicom-weight-bold);
  letter-spacing: -.025em;
}

.bicom-history-section h4 {
  max-width: 820px;
  margin: 34px 0 14px;
  color: var(--bicom-navy);
  font-size: 18px;
  line-height: 1.3;
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-section p {
  max-width: 900px;
  margin: 0;
  color: var(--bicom-text);
  font-size: 16px;
  line-height: 1.82;
  font-weight: var(--bicom-weight-medium);
}

.bicom-history-section p + p {
  margin-top: 18px;
}

.bicom-history-section a {
  color: var(--bicom-blue);
  text-decoration: underline;
  text-decoration-color: rgba(10,105,178,.28);
  text-underline-offset: 3px;
}

.bicom-history-section ul {
  max-width: 850px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bicom-history-section li {
  position: relative;
  padding-left: 20px;
  color: var(--bicom-text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: var(--bicom-weight-medium);
}

.bicom-history-section li + li {
  margin-top: 8px;
}

.bicom-history-section li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--bicom-green);
}

.bicom-history-note {
  max-width: 900px;
  margin: 32px 0 0;
  padding: 23px 26px;
  background: var(--bicom-surface);
}

.bicom-history-note strong {
  display: block;
  color: var(--bicom-navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-note p {
  margin-top: 8px;
  color: var(--bicom-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bicom-history-bicom {
  margin: 78px 0;
  padding: 64px 0;
  background: var(--bicom-surface);
}

.bicom-history-bicom__grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr);
  gap: clamp(60px,7vw,100px);
  align-items: center;
}

.bicom-history-bicom__copy h2 {
  margin: 0 0 27px;
  color: var(--bicom-navy);
  font-size: clamp(35px,3vw,48px);
  line-height: 1.05;
  font-weight: var(--bicom-weight-regular);
  letter-spacing: -.045em;
}

.bicom-history-bicom__copy h2 strong {
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-bicom__copy p {
  margin: 0;
  color: var(--bicom-text);
  font-size: 16px;
  line-height: 1.82;
  font-weight: var(--bicom-weight-medium);
}

.bicom-history-bicom__copy p + p {
  margin-top: 18px;
}

.bicom-history-bicom__visual {
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bicom-history-bicom__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bicom-history-modes {
  max-width: 850px;
  margin-top: 26px;
}

.bicom-history-mode {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  padding: 12px 0;
}

.bicom-history-mode strong {
  color: var(--bicom-navy);
  font-size: 16px;
  line-height: 1.4;
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-mode span {
  color: var(--bicom-text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: var(--bicom-weight-medium);
}

.bicom-history-source {
  margin-top: 82px;
  padding: 34px 0 0;
  border-top: 1px solid var(--bicom-line);
}

.bicom-history-source strong {
  display: block;
  color: var(--bicom-navy);
  font-size: 16px;
  line-height: 1.4;
  font-weight: var(--bicom-weight-bold);
}

.bicom-history-source p {
  max-width: 850px;
  margin: 10px 0 0;
  color: var(--bicom-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bicom-history-source a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 6px;
  color: var(--bicom-navy);
  font-size: 16px;
  line-height: 1.2;
  font-weight: var(--bicom-weight-bold);
  text-decoration: none;
}

.bicom-history-source a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--bicom-green);
}

@media (min-width:1025px) and (max-height:960px) {

  .bicom-history-intro {
    padding: 58px 0 54px;
  }

  .bicom-history-article {
    padding-bottom: 72px;
  }

  .bicom-history-section + .bicom-history-section {
    margin-top: 62px;
  }

  .bicom-history-section h3 {
    margin-top: 34px;
  }

  .bicom-history-bicom {
    margin: 62px 0;
    padding: 50px 0;
  }

  .bicom-history-bicom__visual {
    height: 320px;
  }
}

@media (max-width:1024px) {

  .bicom-history-bicom__grid {
    gap: 50px;
  }
}

@media (max-width:767px) {

  .bicom-history-intro {
    padding: 56px 0 50px;
  }

  .bicom-history-intro h2 {
    font-size: clamp(39px,10vw,50px);
    line-height: 1;
  }

  .bicom-history-intro__lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .bicom-history-article {
    padding: 5px 0 62px;
  }

  .bicom-history-section + .bicom-history-section {
    margin-top: 56px;
  }

  .bicom-history-section h2,
  .bicom-history-bicom__copy h2 {
    font-size: clamp(34px,9vw,42px);
  }

  .bicom-history-section h3 {
    margin-top: 32px;
    font-size: 21px;
  }

  .bicom-history-section p,
  .bicom-history-section li,
  .bicom-history-bicom__copy p {
    font-size: 16px;
    line-height: 1.76;
  }

  .bicom-history-note {
    padding: 21px;
  }

  .bicom-history-bicom {
    margin: 58px 0;
    padding: 54px 0;
  }

  .bicom-history-bicom__grid {
    grid-template-columns: minmax(0,1fr);
    gap: 32px;
  }

  .bicom-history-bicom__visual {
    height: 300px;
  }

  .bicom-history-mode {
    grid-template-columns: 55px minmax(0,1fr);
  }
}

@media (max-width:480px) {

  .bicom-history-intro h2 {
    font-size: 38px;
  }

  .bicom-history-section h2,
  .bicom-history-bicom__copy h2 {
    font-size: 35px;
  }
}

/* =========================================================
   RESPONZIVITA: DOPLŇKY PRO MOBILY
   Pouze přidává vlastnosti, žádný stávající selektor
   ani jeho specificitu nemění.
   ========================================================= */

@media (max-width:767px) {

  /* dlouhé nadpisy se zalomí místo přetečení mimo obrazovku */
  .bicom-history-intro h2,
  .bicom-history-section h2,
  .bicom-history-section h3,
  .bicom-history-section h4,
  .bicom-history-bicom__copy h2 {
    overflow-wrap: break-word;
  }

  /* dlouhé odkazy a zdroje v textu se zalomí místo přetečení */
  .bicom-history-section a,
  .bicom-history-source p,
  .bicom-history-source a {
    overflow-wrap: anywhere;
  }

}
