/* Gráfica oficial del Día de las Cartas, compartida por portada y páginas internas. */
a.scry-dia-cartas-top-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.45rem 1rem;
  border-bottom: 3px solid #ff00f3;
  background: #030128 url('../img/dia-de-las-cartas-fondo.jpg') center center / cover no-repeat;
  color: #ffffff;
  font-family: Lato, sans-serif;
  text-decoration: none;
}

a.scry-dia-cartas-top-banner:hover,
a.scry-dia-cartas-top-banner:focus,
[data-bs-theme="dark"] a.scry-dia-cartas-top-banner,
body[data-bs-theme="dark"] a.scry-dia-cartas-top-banner,
[data-bs-theme="dark"] a.scry-dia-cartas-top-banner:hover,
body[data-bs-theme="dark"] a.scry-dia-cartas-top-banner:hover {
  color: #ffffff;
  text-decoration: none;
}

a.scry-dia-cartas-top-banner:focus-visible {
  outline: 3px solid #00f0f0;
  outline-offset: -6px;
}

.scry-dia-cartas-top-banner__logo {
  display: block;
  flex: 0 0 auto;
  width: 86px;
  height: auto;
}

.scry-dia-cartas-top-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  color: #ffffff;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-dia-cartas-top-banner__copy strong {
  color: #00f0f0;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scry-dia-cartas-top-banner__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #00b9e8;
  color: #030128;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

a.scry-dia-cartas-top-banner:hover .scry-dia-cartas-top-banner__cta,
a.scry-dia-cartas-top-banner:focus-visible .scry-dia-cartas-top-banner__cta {
  background: #00f0f0;
}

@media (max-width: 767.98px) {
  a.scry-dia-cartas-top-banner {
    gap: 0.6rem;
    min-height: 58px;
    padding: 0.35rem 0.65rem;
  }

  .scry-dia-cartas-top-banner__logo { width: 63px; }
  .scry-dia-cartas-top-banner__copy { font-size: 0.78rem; }
  .scry-dia-cartas-top-banner__copy strong { font-size: 0.78rem; }
  .scry-dia-cartas-top-banner__copy > span { display: none; }
  .scry-dia-cartas-top-banner__cta {
    min-height: 32px;
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
  }
}
