/* v0.83 — Pulido de asistencias, noticias públicas y demo visual más natural. */

/* Noticias públicas: hero más respirado y listado progresivo. */
.page-news .news-hero {
  padding-block: clamp(4.2rem, 8vw, 6.6rem);
}
.page-news .news-hero-grid {
  align-items: center;
  gap: clamp(1.4rem, 4vw, 2.6rem);
}
.page-news .news-hero h1 {
  max-width: 760px;
  line-height: .98;
  text-wrap: balance;
}
.page-news .news-hero p:not(.eyebrow) {
  max-width: 710px;
  line-height: 1.62;
}
.page-news .hero-side-cards {
  align-self: center;
}
.news-grid-limited .is-news-hidden {
  display: none !important;
}
.news-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}
.button-news-more {
  min-height: 42px;
  padding-inline: 1.05rem;
  border-radius: 999px;
  background: #fff;
}

/* Ficha de noticia: subhero con imagen titular y bloque audiovisual más limpio. */
.page-news-detail .news-detail-hero {
  min-height: clamp(430px, 58vw, 620px);
  display: grid;
  align-items: end;
}
.page-news-detail .news-detail-hero .container.narrow {
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.page-news-detail .news-detail-hero h1 {
  max-width: 890px;
  text-wrap: balance;
  line-height: .98;
}
.page-news-detail .news-video-card {
  margin-top: 2rem;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #18346a 0%, #4b3b85 60%, #76538e 100%);
  box-shadow: 0 22px 50px rgba(28, 44, 90, .18);
}
.page-news-detail .news-video-card .video-showcase-copy h2 {
  margin: 0 0 .35rem;
  color: #fff;
}
.page-news-detail .news-video-card .video-showcase-copy p {
  color: rgba(255,255,255,.88);
}
.page-news-detail .news-video-open-button {
  justify-self: stretch;
  width: 100%;
  color: #1b2b5d !important;
  background: rgba(255,255,255,.97) !important;
  border-color: rgba(255,255,255,.97) !important;
}
.page-news-detail .news-video-open-button:hover,
.page-news-detail .news-video-open-button:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
}

/* Captura de asistentes: estructura tipo panel operativo. */
.attendance-capture-page {
  display: grid;
  gap: 1.2rem;
}
.attendance-capture-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(208, 218, 237, .9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 12%, rgba(83,65,137,.14), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8f6ff 100%);
  box-shadow: 0 18px 42px rgba(35, 48, 86, .08);
}
.attendance-capture-hero h1 {
  max-width: 880px;
  text-wrap: balance;
}
.attendance-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .9rem;
}
.attendance-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .4rem .65rem;
  border: 1px solid rgba(83,65,137,.14);
  border-radius: 999px;
  color: #3e3478;
  background: #f1edff;
  font-size: .78rem;
  font-weight: 850;
}
.attendance-capture-layout {
  display: grid;
  gap: 1rem;
}
.attendance-form-card,
.attendance-side-column .admin-card {
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(33, 47, 76, .08);
}
.attendance-card-heading {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.attendance-card-heading.compact {
  margin-bottom: .8rem;
}
.attendance-card-heading h2 {
  margin: .05rem 0 .25rem;
}
.attendance-card-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.attendance-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #534189, #006b8a);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(83,65,137,.18);
}
.attendance-step-card {
  display: grid;
  gap: .8rem;
  margin-top: .85rem;
  padding: .9rem;
  border: 1px solid #e1e7f2;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.attendance-step-label {
  margin: 0;
  color: #534189;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.attendance-submit {
  margin-top: 1rem;
}
.attendance-side-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.attendance-venue-list,
.attendance-recent-list {
  display: grid;
  gap: .65rem;
}
.attendance-venue-list div {
  padding: .7rem;
  border: 1px solid #e0e7f3;
  border-radius: 16px;
  background: #fff;
}
.attendance-venue-list strong,
.attendance-venue-list small {
  display: block;
}
.attendance-venue-list small {
  margin-top: .2rem;
  color: var(--muted);
}
.attendance-recent-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding: .65rem;
  border: 1px solid #e1e7f2;
  border-radius: 18px;
  background: #fff;
}
.attendance-recent-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: #534189;
  font-weight: 900;
}
.attendance-recent-item strong,
.attendance-recent-item small {
  display: block;
  min-width: 0;
}
.attendance-recent-item strong {
  color: var(--navy-deep);
}
.attendance-recent-item small {
  color: var(--muted);
  line-height: 1.35;
}

@media (min-width: 1060px) {
  .attendance-capture-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: start;
  }
}

@media (max-width: 760px) {
  .attendance-card-heading {
    display: grid;
  }
  .attendance-hero-meta span {
    width: 100%;
    justify-content: center;
  }
}
