.site-announcement {
  background: #0e4775;
  color: #fff;
  font-family: "Roboto", sans-serif;
  position: relative;
  z-index: 1001;
}

.site-announcement__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1140px;
  padding: 14px 15px;
}

.site-announcement__content {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.5;
}

.site-announcement__content strong {
  color: #9be15d;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-announcement__content span {
  font-size: 14px;
}

.site-announcement__link {
  color: #9be15d;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.site-announcement__link:hover,
.site-announcement__link:focus {
  color: #fff;
  text-decoration: none;
}

.site-announcement__dismiss,
.homepage-announcement-modal__action {
  background: #9be15d;
  border: 2px solid #9be15d;
  border-radius: 4px;
  color: #1f2d3d;
  cursor: pointer;
  display: inline-flex;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  padding: 10px 16px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.site-announcement__dismiss:hover,
.site-announcement__dismiss:focus,
.homepage-announcement-modal__action:hover,
.homepage-announcement-modal__action:focus {
  background: #fff;
  border-color: #fff;
  color: #0e4775;
  text-decoration: none;
}

.homepage-announcement-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 9999;
}

.homepage-announcement-modal[hidden],
.site-announcement[hidden] {
  display: none;
}

.homepage-announcement-modal__backdrop {
  background: rgba(15, 33, 49, 0.68);
  inset: 0;
  position: absolute;
}

.homepage-announcement-modal__panel {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(15, 33, 49, 0.28);
  color: #333;
  max-height: calc(100vh - 40px);
  max-width: 560px;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  width: 100%;
}

.homepage-announcement-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  font-size: 32px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 8px;
  width: 42px;
}

.homepage-announcement-modal__close:hover,
.homepage-announcement-modal__close:focus {
  color: #0e4775;
}

.homepage-announcement-modal__eyebrow {
  color: #0e4775;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.homepage-announcement-modal h2 {
  color: #1f2d3d;
  font-family: "Lato", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.homepage-announcement-modal p {
  color: #555;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.homepage-announcement-modal__action {
  margin-top: 10px;
}

body.homepage-announcement-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .site-announcement__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-announcement__dismiss {
    width: 100%;
  }

  .homepage-announcement-modal {
    padding: 14px;
  }

  .homepage-announcement-modal__panel {
    padding: 30px 22px 24px;
  }

  .homepage-announcement-modal h2 {
    font-size: 24px;
  }
}
