.bs-ferry-update {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 34px;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 30px;
  box-shadow: 0 10px 20px -10px rgba(105, 119, 135, .2), 0 20px 30px -10px rgba(56, 56, 56, .05);
}

.bs-ferry-update::before {
  position: absolute;
  top: -74px;
  right: -52px;
  width: 180px;
  height: 180px;
  content: "";
  background: rgba(0, 78, 200, .08);
  border-radius: 50%;
}

.bs-ferry-update::after {
  position: absolute;
  bottom: -86px;
  left: -62px;
  width: 210px;
  height: 210px;
  content: "";
  background: rgba(245, 42, 83, .08);
  border-radius: 50%;
}

.bs-ferry-update__content {
  position: relative;
  z-index: 1;
}

.bs-ferry-update__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  color: #f52a53;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(245, 42, 83, .08);
  border-radius: 999px;
}

.bs-ferry-update__title {
  max-width: 840px;
  margin: 0 0 16px;
  color: #004ec8;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: .98;
}

.bs-ferry-update__intro,
.bs-ferry-update__note,
.bs-ferry-update-intro {
  max-width: 920px;
  color: #0b0b0b;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.bs-ferry-update__items,
.bs-ferry-update__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.bs-ferry-update__facts {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.bs-ferry-update__item,
.bs-ferry-update__fact {
  min-width: 0;
  padding: 18px;
  background: #f5f6f8;
  border: 1px solid #f2f2f2;
  border-radius: 22px;
}

.bs-ferry-update__item h3 {
  margin: 0 0 8px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
}

.bs-ferry-update__item p {
  margin: 0;
  color: #0b0b0b;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
}

.bs-ferry-update__fact-label {
  margin-bottom: 6px;
  color: #f52a53;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bs-ferry-update__fact-value {
  color: #000;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.25;
}

.bs-ferry-update__note {
  margin: 22px 0 0;
}

.bs-ferry-update__button {
  margin-top: 24px;
  text-decoration: none;
}

.bs-ferry-update--compact {
  padding: clamp(20px, 3vw, 32px);
}

.bs-ferry-update--compact .bs-ferry-update__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.bs-ferry-update--compact .bs-ferry-update__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bs-ferry-update--compact .bs-ferry-update__facts {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.bs-ferry-update--bar {
  margin: 0 0 18px;
  padding: 9px 16px;
  color: #fff;
  background: #004ec8;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 20px -14px rgba(0, 78, 200, .45);
}

.bs-ferry-update--bar::before,
.bs-ferry-update--bar::after {
  display: none;
}

.bs-ferry-update--bar .bs-ferry-update__content,
.bs-ferry-update__bar-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.bs-ferry-update--bar .bs-ferry-update__content {
  justify-content: space-between;
}

.bs-ferry-update--bar .bs-ferry-update__eyebrow {
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.bs-ferry-update--bar .bs-ferry-update__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.25;
}

.bs-ferry-update__bar-link {
  flex: 0 0 auto;
  padding: 6px 12px;
  color: #004ec8;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
}

.bs-ferry-update__bar-link:hover,
.bs-ferry-update__bar-link:focus {
  color: #f52a53;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .bs-ferry-update__items,
  .bs-ferry-update__facts,
  .bs-ferry-update--compact .bs-ferry-update__items,
  .bs-ferry-update--compact .bs-ferry-update__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bs-ferry-update {
    margin-bottom: 24px;
    border-radius: 24px;
  }

  .bs-ferry-update__items,
  .bs-ferry-update__facts,
  .bs-ferry-update--compact .bs-ferry-update__items,
  .bs-ferry-update--compact .bs-ferry-update__facts {
    grid-template-columns: 1fr;
  }

  .bs-ferry-update__button {
    width: 100%;
  }

  .bs-ferry-update--bar {
    padding: 10px 12px;
    border-radius: 18px;
  }

  .bs-ferry-update--bar .bs-ferry-update__content,
  .bs-ferry-update__bar-copy {
    align-items: flex-start;
    gap: 8px;
  }

  .bs-ferry-update__bar-copy {
    flex-direction: column;
  }

  .bs-ferry-update--bar .bs-ferry-update__title {
    overflow: visible;
    white-space: normal;
  }
}
