/* ==========================================================================
   Info Box Block
   Figma: 11680:5113 (image left) & 11680:5192 (image right)
   Two-column: image + text content, optional CTA buttons.
   ========================================================================== */

/* Block wrapper — vertical padding only
   ========================================================================== */
.block--info-box {
  padding: 40px 0;
  width: 100%;
}

@media screen and (min-width: 920px) {
  .block--info-box {
    padding: 100px 0;
  }
}

@media screen and (min-width: 1250px) {
  .block--info-box {
    padding: 140px 0;
  }
}

/* Two-column row
   ========================================================================== */
.info-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media screen and (min-width: 920px) {
  .info-box {
    flex-direction: row;
    gap: 60px;
  }
}

/* Image right: reverse order on desktop */
@media screen and (min-width: 920px) {
  .info-box--image-right {
    flex-direction: row-reverse;
  }
}

/* Image
   ========================================================================== */
.info-box__image-wrap {
  order: 2;
  width: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}

@media screen and (min-width: 920px) {
  .info-box__image-wrap {
    order: 0;
    width: 48%;
  }

  .info-box__content {
    order: 0;
  }
}

@media screen and (min-width: 1250px) {
  .info-box__image-wrap {
    width: 50%;
  }
}

.info-box__image-wrap--placeholder {
  aspect-ratio: 769 / 562;
  background-color: rgba(0, 0, 0, 0.08);
}

.info-box__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 769 / 562;
  object-fit: cover;
  border-radius: 20px;
}

/* Video
   ========================================================================== */
.info-box__video-wrap {
  aspect-ratio: 769 / 562;
}

.info-box__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Content column
   ========================================================================== */
.info-box__content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 0;
  min-width: 0;
}

@media screen and (min-width: 1250px) {
  .info-box__content {
    gap: 30px;
  }
}

/* Heading
   ========================================================================== */
.info-box__heading {
  font-family: "Axiforma", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #50565b;
  margin: 0;
}

@media screen and (min-width: 782px) {
  .info-box__heading {
    font-size: 40px;
    line-height: 50px;
  }
}

@media screen and (min-width: 1250px) {
  .info-box__heading {
    font-size: 60px;
    line-height: 65px;
  }
}

/* Dark background variant — headings go white */
.block--info-box--dark .info-box__heading {
  color: #ffffff;
}

/* Body text
   ========================================================================== */
.info-box__body {
  font-family: "TT Norms Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #1b1b1b;
  margin: 0;
}

.info-box__body p {
  margin: 0 0 1em;
}

.info-box__body p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 1250px) {
  .info-box__body {
    font-size: 20px;
    line-height: 30px;
  }
}

.block--info-box--dark .info-box__body {
  color: rgba(255, 255, 255, 0.88);
}

/* CTA buttons
   ========================================================================== */
.info-box__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media screen and (min-width: 576px) {
  .info-box__ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }
}

/* Shared button */
.info-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: "Axiforma", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 25px;
  padding: 12px 22px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

@media screen and (min-width: 1250px) {
  .info-box__btn {
    font-size: 20px;
    padding: 10px 25px;
  }
}

/* Primary — blue fill */
.info-box__btn--primary {
  background-color: #2154d7;
  color: #f6f6f6;
  border: 2px solid #2154d7;
}

.info-box__btn--primary:hover,
.info-box__btn--primary:focus {
  background-color: #0b2663;
  border-color: #0b2663;
  color: #ffffff;
}

/* Outline — blue border */
.info-box__btn--outline {
  background-color: transparent;
  color: #2154d7;
  border: 1.5px solid #2154d7;
}

.info-box__btn--outline:hover,
.info-box__btn--outline:focus {
  background-color: #2154d7;
  color: #ffffff;
}

/* Dark background: primary becomes white-fill, outline becomes white-border */
.block--info-box--dark .info-box__btn--primary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #0b2663;
}

.block--info-box--dark .info-box__btn--primary:hover,
.block--info-box--dark .info-box__btn--primary:focus {
  background-color: transparent;
  color: #ffffff;
}

.block--info-box--dark .info-box__btn--outline {
  border-color: #ffffff;
  color: #ffffff;
}

.block--info-box--dark .info-box__btn--outline:hover,
.block--info-box--dark .info-box__btn--outline:focus {
  background-color: #ffffff;
  color: #0b2663;
}

.info-box__btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.info-box__btn:hover svg,
.info-box__btn:focus svg {
  transform: translateX(3px);
}