.emergency-text {
  background-color: #f7cc53;
  text-align: center;
  padding: 30px 60px;
  color: var(--color-berkeley-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.emergency-text .textwidget p {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-family-primary);
}
.emergency-text .close {
  background: none;
  border: none;
  padding: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  padding: 22px;
}
.emergency-text .close img {
    min-width: 20px;
    min-height: 20px;
    height: 20px;
}
/* .emergency-text .close:focus {
  outline: 2px solid var(--color-berkeley-blue);
  outline-offset: 2px;
  border-radius: 2px;
} */
.emergency-text .symbol:before {
  content: "\26A0";
  font-size: 24px;
}
@media (max-width: 1023px) {
  .emergency-text {
    padding: 18px 70px 18px 30px;
    position: relative;
    justify-content: center;
    gap: 10px;
  }
  .emergency-text div:nth-child(2) {
    max-width: 270px;
  }
  .emergency-text .textwidget p {
    font-size: 14px;
  }
  .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px 10px 0 0;
  }
}
@media (max-width: 1023px) {
      .emergency-text {
        padding-right: 50px;
      }
}

/* CTA Styling Below */
.page-sidebar-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
.cta-slot {
  margin-top: 4rem;
}
/* Base card */
.cta-card {
  position: relative;
  padding: 2.75rem 2.75rem 2.25rem;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius:3rem 0 5rem 0;
  font-weight: bold;
  font-family: var(--font-family-primary);
}
/* Typography */
.cta-card__title {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1rem;
}
.cta-card__text {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 0 1.75rem;
  font-weight: 500;
}
/* Action */
.cta-card__action {
  margin-top: auto;
}
/* Variants */
.cta-card--outline {
  background: #ffffff;
  border: 1px solid #cfcfcf;
}
.cta-card--outline .cta-card__title,.cta-card--outline .cta-card__text {
  color: #1D1F21;
}
.cta-card--navy {
  background: #002676;
  color: #fff;
}
.cta-card--navy .cta-card__title {
  color: #ffbf00;
}
.cta-card--navy .cta-card__text {
  color: #ffffff;
}
.cta-card--gold {
  background: #FFC31B;
  color: #1D1F21;
}
.cta-card--gold .cta-card__title,.cta-card--gold .cta-card__text {
  color: #000;
}
.cta-card--royal {
  background: #0A4BC8;
  color: #ffffff;
}
.cta-card--royal .cta-card__title {
  color: #FFC31B;
}
/* Button */
.cta-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #000;
  color: #1D1F21;
  transition: background 0.3s ease;
}
.cta-card--navy .btn, .cta-card--gold .btn, .cta-card--royal .btn {
  background: #ffffff;
  color: #1D1F21;
}
.cta-card--navy .btn:hover, .cta-card--royal .btn:hover,.cta-card--gold .btn:hover, .cta-card--outline .btn:hover {
  background:#FFC31B;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.cta-card--royal .btn:hover {
  font-weight: 700;
}
.cta-card--navy .btn:active, .cta-card--royal .btn:active,.cta-card--gold .btn:active, .cta-card--outline .btn:active {
  font-weight: 500;
}
/* Tablet Sizes */
@media (min-width: 600px) and (max-width: 1024px) {
  .page-sidebar-ctas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-sidebar-ctas {
    gap: 3rem;
  }
}
