/* Lo Cumples — celebratory, video-first community section */
.bn-cumples-archive {
  position: relative;
  overflow: clip;
  padding: clamp(1.2rem,3vw,2.4rem) 0 var(--bn-space-16);
  background:
    radial-gradient(circle at 6% 10%, rgba(227,29,43,.07), transparent 24rem),
    radial-gradient(circle at 94% 4%, rgba(15,93,184,.08), transparent 28rem),
    linear-gradient(180deg,#fff 0,#fff 62%,#fbfcff 100%);
}

/* A dedicated festive hero so the birthday experience does not look like a regular archive. */
.bn-cumples-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr);
  align-items: center;
  min-height: clamp(360px,40vw,510px);
  margin-bottom: clamp(2.3rem,5vw,4.8rem);
  padding: clamp(2rem,5vw,4.8rem);
  overflow: hidden;
  border: 1px solid rgba(8,50,109,.08);
  border-radius: clamp(24px,3vw,42px);
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.95) 0 8%, transparent 28%),
    linear-gradient(125deg,#f7fbff 0%,#edf5ff 42%,#fff4f4 73%,#fff9e9 100%);
  box-shadow: 0 24px 70px rgba(7,26,55,.09);
}
.bn-cumples-hero::before,
.bn-cumples-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(.2px);
  opacity: .65;
}
.bn-cumples-hero::before { width: 260px; height: 260px; right: -70px; top: -95px; background: rgba(246,201,78,.32); }
.bn-cumples-hero::after { width: 210px; height: 210px; left: -95px; bottom: -110px; background: rgba(15,93,184,.16); }
.bn-cumples-hero__copy { position: relative; z-index: 2; max-width: 760px; }
.bn-cumples-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: #0c448d;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.bn-cumples-hero__spark { width: 10px; height: 10px; border-radius: 50%; background: #e31d2b; box-shadow: 16px -8px 0 -2px #f0bc35, 18px 8px 0 -3px #0f5db8; }
.bn-cumples-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #071f45;
  font-size: clamp(3rem,6vw,6rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.bn-cumples-hero__lead { max-width: 670px; margin: 1.35rem 0 0; color: #4a5870; font-size: clamp(1rem,1.45vw,1.24rem); line-height: 1.65; }
.bn-cumples-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.45rem; }
.bn-cumples-hero__date,
.bn-cumples-hero__count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .62rem .9rem;
  font-size: .86rem;
  font-weight: 850;
}
.bn-cumples-hero__date { border: 1px solid rgba(12,68,141,.12); background: rgba(255,255,255,.74); color: #0c448d; backdrop-filter: blur(8px); }
.bn-cumples-hero__date svg { width: 18px; height: 18px; }
.bn-cumples-hero__count { background: #071f45; color: #fff; }
.bn-cumples-hero__art { min-width: 0; align-self: stretch; display: grid; place-items: center; }
.bn-cumples-hero__illustration { width: min(100%,520px); height: auto; filter: drop-shadow(0 20px 24px rgba(7,26,55,.12)); }

.bn-cumples-section-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1.5rem;
  margin: 0 0 1.4rem;
}
.bn-cumples-section-title > div > p { margin: 0 0 .25rem; color: #e31d2b; font-size: .73rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.bn-cumples-section-title h2 { margin: 0; color: #071f45; font-size: clamp(1.8rem,3vw,3rem); letter-spacing: -.035em; }
.bn-cumples-section-title > span { height: 1px; margin-bottom: .55rem; background: linear-gradient(90deg,rgba(8,50,109,.18),transparent); }
.bn-cumples-section-title--history > div > p { color: #0f5db8; }
.bn-cumples-today + .bn-cumples-history { margin-top: clamp(3.7rem,7vw,7rem); }

/* Today's birthdays — premium cards that stay compact when several items are published. */
.bn-cumples-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: clamp(1rem,2vw,1.6rem); }
.bn-cumples-today .bn-cumple-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(8,50,109,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(7,26,55,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bn-cumples-today .bn-cumple-card:hover { transform: translateY(-4px); border-color: rgba(15,93,184,.2); box-shadow: 0 22px 52px rgba(7,26,55,.12); }
.bn-cumple-card__media { position: relative; }
.bn-cumples-today .bn-cumple-card__body { padding: 1.15rem 1.2rem 1.2rem; }
.bn-cumple-card__ribbon {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: .45rem .78rem;
  background: rgba(227,29,43,.94);
  color: #fff;
  box-shadow: 0 8px 20px rgba(81,10,18,.2);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.bn-cumple-card__kicker { margin: 0 0 .34rem; color: #7b879b; font-size: .78rem; font-weight: 750; }
.bn-cumples-today .bn-cumple-card h2 { margin: 0; color: #071f45; font-size: clamp(1.35rem,1.65vw,1.75rem); line-height: 1.15; letter-spacing: -.025em; }
.bn-cumples-today .bn-cumple-card h2 a { color: inherit; text-decoration: none; }
.bn-cumples-today .bn-cumple-card h2 a:hover,
.bn-cumples-today .bn-cumple-card h2 a:focus-visible { color: #0f5db8; }

.bn-cumple-player { position: relative; width: 100%; overflow: hidden; border-radius: var(--bn-radius-md); background: #050b14; aspect-ratio: 16 / 9; }
.bn-cumples-today .bn-cumple-card > .bn-cumple-player,
.bn-cumples-today .bn-cumple-card__media > .bn-cumple-player { border-radius: 0; }
.bn-cumple-player iframe, .bn-cumple-player video, .bn-cumple-player > img { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.bn-cumple-player--fallback { display: grid; place-items: center; }
.bn-cumple-player--fallback a { position: absolute; inset: auto 1rem 1rem auto; min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px; padding: .65rem 1rem; background: #fff; color: var(--bn-color-primary-900); font-weight: 800; text-decoration: none; }

/* Native accessible accordion for the birthday message. */
.bn-cumple-message { margin-top: 1rem; border-top: 1px solid rgba(8,50,109,.09); }
.bn-cumple-message summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .82rem; color: #0c448d; font-size: .92rem; font-weight: 850; cursor: pointer; list-style: none; }
.bn-cumple-message summary::-webkit-details-marker { display: none; }
.bn-cumple-message summary::marker { content: ''; }
.bn-cumple-message summary svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .18s ease; }
.bn-cumple-message[open] summary svg { transform: rotate(180deg); }
.bn-cumple-message__content { padding: .05rem 0 .2rem; }
.bn-cumple-message__content p { margin: 0; color: #556176; line-height: 1.68; }

/* History sits on its own soft panel to preserve the celebratory identity. */
.bn-cumples-history { position: relative; padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid rgba(8,50,109,.08); border-radius: 26px; background: linear-gradient(180deg,#fbfdff,#f6f9fd); }
.bn-cumples-history-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(1rem,2vw,1.6rem); }
.bn-cumple-history-card { min-width: 0; overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(7,26,55,.055); }
.bn-cumple-history-card__media { position: relative; display: block; overflow: hidden; text-decoration: none; }
.bn-cumple-history-card__media img { transition: transform .28s ease; }
.bn-cumple-history-card:hover .bn-cumple-history-card__media img { transform: scale(1.025); }
.bn-cumple-history-card__play { position: absolute; left: .8rem; bottom: .8rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.95); color: #0c448d; box-shadow: var(--bn-shadow-soft); }
.bn-cumple-history-card__play svg { width: 21px; height: 21px; }
.bn-cumple-history-card > div { padding: .85rem .95rem 1rem; }
.bn-cumple-history-card > div > span { color: #7b879b; font-size: var(--bn-text-xs); font-weight: 700; }
.bn-cumple-history-card h3 { margin: .3rem 0 0; color: #071f45; font-size: 1.12rem; line-height: 1.25; }
.bn-cumple-history-card h3 a { color: inherit; text-decoration: none; }

.bn-cumples-empty { display: flex; align-items: center; gap: 1rem; min-height: 124px; padding: 1.25rem 1.35rem; border: 1px dashed rgba(12,68,141,.24); border-radius: 18px; background: rgba(237,245,255,.5); }
.bn-cumples-empty__icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; background: #fff; color: #0c448d; box-shadow: 0 8px 24px rgba(7,26,55,.08); }
.bn-cumples-empty__icon svg { width: 26px; height: 26px; }
.bn-cumples-empty h2 { margin: 0 0 .35rem; color: #071f45; font-size: 1.2rem; }
.bn-cumples-empty p { margin: 0; color: #667287; }

/* Home module — recognizably part of Lo Cumples without taking over the news homepage. */
.bn-cumples-home { position: relative; margin-top: clamp(2.8rem,5vw,5rem); padding: clamp(1.4rem,3vw,2.3rem); overflow: hidden; border: 1px solid rgba(8,50,109,.08); border-radius: 24px; background: linear-gradient(120deg,#f7fbff,#fff6f6 65%,#fffaf0); }
.bn-cumples-home::after { content: ''; position: absolute; right: -80px; top: -95px; width: 190px; height: 190px; border-radius: 50%; background: rgba(246,201,78,.22); pointer-events: none; }
.bn-cumples-home .bn-section-heading { position: relative; z-index: 1; border-bottom-color: rgba(8,50,109,.12); }
.bn-cumples-home .bn-section-heading h2 { color: #071f45; }
.bn-cumples-home__intro { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bn-cumples-home__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2vw,1.5rem); }
.bn-cumples-home .bn-cumple-card { min-width: 0; overflow: hidden; border: 1px solid rgba(8,50,109,.08); border-radius: 18px; background: rgba(255,255,255,.93); box-shadow: 0 12px 32px rgba(7,26,55,.06); }
.bn-cumples-home .bn-cumple-card__body { padding: 1rem; }
.bn-cumples-home .bn-cumple-card h3 { margin: 0; color: #071f45; font-size: clamp(1.2rem,1.5vw,1.55rem); }
.bn-cumples-home .bn-cumple-card h3 a { color: inherit; text-decoration: none; }
.bn-cumples-home .bn-cumple-card__body > p:last-child { margin: .65rem 0 0; color: #667287; font-size: .95rem; }

@media (max-width: 1180px) {
  .bn-cumples-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .bn-cumples-hero { grid-template-columns: minmax(0,1fr) minmax(240px,.65fr); padding: clamp(1.7rem,4vw,3rem); }
  .bn-cumples-hero h1 { font-size: clamp(2.8rem,7vw,4.8rem); }
  .bn-cumples-history-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .bn-cumples-home__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .bn-cumples-archive { padding-top: .75rem; }
  .bn-cumples-hero { grid-template-columns: 1fr; min-height: 0; padding: 1.55rem 1.25rem 1.1rem; border-radius: 24px; }
  .bn-cumples-hero__copy { text-align: left; }
  .bn-cumples-hero h1 { max-width: 12ch; font-size: clamp(2.55rem,13vw,4rem); line-height: .98; }
  .bn-cumples-hero__lead { margin-top: 1rem; font-size: 1rem; line-height: 1.55; }
  .bn-cumples-hero__meta { align-items: stretch; }
  .bn-cumples-hero__date, .bn-cumples-hero__count { width: fit-content; }
  .bn-cumples-hero__art { min-height: 205px; margin-top: .35rem; }
  .bn-cumples-hero__illustration { width: min(100%,370px); }
  .bn-cumples-section-title { grid-template-columns: 1fr; gap: .65rem; }
  .bn-cumples-section-title > span { width: 100%; }
  .bn-cumples-grid, .bn-cumples-home__grid { grid-template-columns: 1fr; }
  .bn-cumples-history { padding: 1.1rem; border-radius: 20px; }
  .bn-cumples-history-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bn-cumples-today .bn-cumple-card__body { padding: 1rem; }
  .bn-cumples-home { padding: 1.1rem; border-radius: 20px; }
}
@media (max-width: 480px) {
  .bn-cumples-hero__eyebrow { font-size: .69rem; }
  .bn-cumples-hero__meta { gap: .5rem; }
  .bn-cumples-hero__date, .bn-cumples-hero__count { min-height: 40px; padding: .56rem .72rem; font-size: .78rem; }
  .bn-cumples-history-grid { grid-template-columns: 1fr; }
  .bn-cumples-empty { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .bn-cumple-message summary svg,
  .bn-cumples-today .bn-cumple-card,
  .bn-cumple-history-card__media img { transition: none; }
}

/* Entry celebration — visual-only, non-blocking and removed after playback. */
.bn-cumples-celebration {
  position: fixed;
  inset: 0;
  z-index: 99990;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.bn-cumples-celebration__message {
  position: absolute;
  top: clamp(92px, 17vh, 170px);
  left: 50%;
  z-index: 3;
  width: min(88vw, 560px);
  transform: translate(-50%, -14px) scale(.96);
  margin: 0;
  padding: .9rem 1.35rem;
  border: 1px solid rgba(7, 36, 83, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 50px rgba(7,26,55,.16);
  color: var(--bn-color-primary-900);
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  animation: bn-cumples-message 3.6s cubic-bezier(.2,.8,.2,1) both;
}
.bn-cumples-balloon {
  --bn-balloon-size: 48px;
  position: absolute;
  left: var(--bn-left, 50%);
  bottom: -150px;
  z-index: 1;
  width: var(--bn-balloon-size);
  height: calc(var(--bn-balloon-size) * 1.2);
  border-radius: 52% 48% 48% 52% / 58% 58% 42% 42%;
  background: var(--bn-balloon-color, #0b3b7a);
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.08), inset 7px 8px 14px rgba(255,255,255,.18);
  opacity: .94;
  transform: translateX(-50%);
  animation: bn-cumples-balloon-rise var(--bn-duration, 5.4s) ease-in var(--bn-delay, 0s) forwards;
}
.bn-cumples-balloon::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 10px;
  height: 10px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}
.bn-cumples-balloon::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 78px;
  background: rgba(7,26,55,.24);
  transform: translateX(-50%);
}
.bn-cumples-confetti {
  position: absolute;
  top: -30px;
  left: var(--bn-left, 50%);
  z-index: 2;
  width: var(--bn-w, 8px);
  height: var(--bn-h, 14px);
  border-radius: 2px;
  background: var(--bn-confetti-color, #e21d2d);
  opacity: .92;
  transform: rotate(var(--bn-rotate, 0deg));
  animation: bn-cumples-confetti-fall var(--bn-duration, 3.8s) linear var(--bn-delay, 0s) forwards;
}
@keyframes bn-cumples-message {
  0% { opacity: 0; transform: translate(-50%, -14px) scale(.96); }
  12%, 68% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -8px) scale(.985); }
}
@keyframes bn-cumples-balloon-rise {
  0% { transform: translate(-50%, 0) rotate(-2deg); }
  35% { transform: translate(calc(-50% + var(--bn-drift, 12px)), -38vh) rotate(3deg); }
  70% { transform: translate(calc(-50% - var(--bn-drift, 12px)), -78vh) rotate(-3deg); }
  100% { transform: translate(calc(-50% + var(--bn-drift, 12px)), -125vh) rotate(2deg); }
}
@keyframes bn-cumples-confetti-fall {
  0% { transform: translate3d(0,-20px,0) rotate(var(--bn-rotate,0deg)); }
  50% { transform: translate3d(var(--bn-drift,20px),52vh,0) rotate(calc(var(--bn-rotate,0deg) + 360deg)); }
  100% { transform: translate3d(calc(var(--bn-drift,20px) * -0.65),108vh,0) rotate(calc(var(--bn-rotate,0deg) + 760deg)); }
}
@media (max-width: 767px) {
  .bn-cumples-celebration__message { top: 110px; width: min(90vw, 430px); padding: .78rem 1rem; }
  .bn-cumples-balloon { --bn-balloon-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-cumples-celebration { display: none !important; }
}
