/* Source .hero anatomy is preserved. These are the requested homepage changes. */
.dentspecialist-hero .hero__info { gap: 0; }
.dentspecialist-hero .hero__date {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  margin: 0 0 16px;
  background: transparent;
  border: 1px solid rgb(196 216 211 / 45%);
  border-radius: 7px;
  color: #c4d8d3;
}
.dentspecialist-hero .dentspecialist-hero-deadline-icon { flex: 0 0 16px; }
.dentspecialist-hero .hero__date p {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  text-transform: none;
}
.dentspecialist-hero .hero__info__title { margin-bottom: 32px; }
.dentspecialist-hero .hero__info__list { margin-bottom: 32px; }
.dentspecialist-hero .dentspecialist-hero-terms-link {
  align-self: center;
  padding: 0;
  margin-top: 12px;
  background: none;
  border: 0;
  border-radius: 0;
  color: #fff;
  font: 400 13px/1.4 Montserrat, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.dentspecialist-hero .dentspecialist-hero-terms-link:focus-visible,
.dentspecialist-hero-terms :focus-visible { outline: 2px solid #65bce6; outline-offset: 4px; }
.dentspecialist-hero-terms {
  position: relative;
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #333;
  font: 400 16px/1.5 Montserrat, sans-serif;
  overflow: auto;
}
.dentspecialist-hero-terms::backdrop { background: rgb(16 35 39 / 62%); }
.dentspecialist-hero-terms .dentspecialist-hero-terms-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7c878b;
  cursor: pointer;
}
.dentspecialist-hero-terms .dentspecialist-hero-terms-title { margin: 0 0 24px; font: 600 26px/1.2 Montserrat, sans-serif; color: #333; }
.dentspecialist-hero-terms .dentspecialist-hero-terms-copy p { margin: 0 0 16px; }
.dentspecialist-hero-terms .dentspecialist-hero-terms-copy p:last-child { margin-bottom: 28px; }
.dentspecialist-hero-terms .dentspecialist-hero-terms-dismiss { width: 100%; min-height: 56px; background: #65bce6; border: 2px solid #65bce6; border-radius: 100px; color: #fff; font: 700 16px/1 Montserrat, sans-serif; cursor: pointer; transition: background .25s ease, color .25s ease; }
.dentspecialist-hero-terms .dentspecialist-hero-terms-dismiss:hover { background: transparent; color: #65bce6; }
@media (max-width: 768px) {
  /* Keep badge in-flow; override legacy main.css absolute placement */
  .dentspecialist-hero .hero__date {
    position: static;
    bottom: auto;
    left: auto;
    margin: 0 0 12px;
    padding: 5px 9px;
    gap: 6px;
  }
  .dentspecialist-hero .hero__date p { font-size: 12px; }
  .dentspecialist-hero .hero__info__title { margin-bottom: 20px; }
  .dentspecialist-hero .hero__info__list { margin-bottom: 20px; }
  .dentspecialist-hero .dentspecialist-hero-terms-link { font-size: 12px; margin-top: 10px; }
  .dentspecialist-hero-terms { padding: 40px 24px 28px; font-size: 14px; }
  .dentspecialist-hero-terms .dentspecialist-hero-terms-title { font-size: 23px; padding-right: 16px; margin-bottom: 20px; }
}
