/* Calendarul de advent (/advent, 01.12.2026). Culorile vin din variabilele brandului (brand_style_tag()),
   fontul titlurilor = Fraunces (declarat în victory-fonts.css). Totul limitat la .adv. */
.adv { --adv-ink: var(--brand-primary, #0a1428); --adv-gold: var(--gold); --adv-gold-hi: var(--gold-hi); --adv-line: hsla(38, 60%, 60%, .28); }
.adv .container { max-width: 760px; }

.adv-hero { padding: 4.5rem 0 2rem; text-align: center; position: relative; }
.adv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, hsla(38, 70%, 50%, .16), transparent 62%);
}
.adv-hero .container { position: relative; }
.adv-label { font-size: .75rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--adv-gold); margin: 0 0 1rem; }
.adv-title { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: clamp(2rem, 6.5vw, 3.4rem); line-height: 1.12; margin: 0 0 1rem; color: var(--fg); text-wrap: balance; font-variation-settings: "opsz" 48; }
.adv-title em { font-style: italic; color: var(--adv-gold-hi); }
.adv-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 34rem; margin: 0 auto; text-wrap: pretty; }

.adv-today { padding: 0 0 2.5rem; scroll-margin-top: 80px; }
.adv-card {
  position: relative; border-radius: 1.35rem; padding: 2.25rem 2.25rem 1.75rem;
  background: linear-gradient(160deg, hsla(222, 40%, 14%, .92), hsla(222, 45%, 8%, .96));
  border: 1px solid var(--adv-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.adv-card__eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; color: var(--adv-gold-hi); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.adv-card__num {
  flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--adv-gold); color: var(--adv-ink); font-family: Fraunces, Georgia, serif; font-size: 1.35rem; letter-spacing: 0;
}
.adv-verse { margin: 0; }
.adv-verse p { font-family: Fraunces, Georgia, serif; font-size: clamp(1.15rem, 3.4vw, 1.4rem); line-height: 1.55; color: var(--fg); margin: 0 0 .6rem; font-variation-settings: "opsz" 24; }
.adv-verse cite { font-style: normal; color: var(--muted); font-size: .92rem; font-weight: 600; }
.adv-decl { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--adv-line); }
.adv-decl__label { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--adv-gold); margin: 0 0 .6rem; }
.adv-decl__text { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: clamp(1.35rem, 4.4vw, 1.9rem); line-height: 1.3; color: var(--adv-gold-hi); margin: 0; text-wrap: balance; font-variation-settings: "opsz" 48; }
.adv-actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.adv-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1.25rem; border-radius: 999px;
  border: 1px solid var(--adv-line); background: transparent; color: var(--fg); font-weight: 600; font-size: .95rem; cursor: pointer;
}
.adv-btn:hover { border-color: var(--adv-gold); color: var(--adv-gold-hi); }
.adv-btn:focus-visible, .adv-door:focus-visible { outline: 2px solid var(--adv-gold-hi); outline-offset: 3px; }
.adv-empty { text-align: center; color: var(--muted); font-size: 1.05rem; padding: 1.5rem; border: 1px dashed var(--adv-line); border-radius: 1rem; }

.adv-doors { padding: 0 0 4rem; }
.adv-doors__title { font-family: Fraunces, Georgia, serif; font-weight: 400; font-size: 1.4rem; color: var(--fg); margin: 0 0 1rem; text-align: center; }
.adv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.adv-door {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; min-height: 44px; border-radius: .9rem;
  border: 1px solid var(--adv-line); text-decoration: none; color: var(--fg); background: hsla(222, 40%, 12%, .6);
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.adv-door__n { font-family: Fraunces, Georgia, serif; font-size: clamp(1.25rem, 5vw, 2rem); line-height: 1; }
.adv-door.is-open { background: hsla(38, 60%, 45%, .12); color: var(--adv-gold-hi); }
.adv-door.is-open:hover { transform: translateY(-2px); border-color: var(--adv-gold); }
.adv-door.is-today { border: 2px solid var(--adv-gold); box-shadow: 0 0 24px hsla(38, 80%, 55%, .35); }
.adv-door.is-current { background: var(--adv-gold); color: var(--adv-ink); border-color: var(--adv-gold); }
.adv-door__tag {
  position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.adv-door.is-locked { color: var(--muted); opacity: .55; cursor: default; }
.adv-door__lock { position: absolute; top: 9%; right: 10%; font-size: .65rem; }
.adv-note { margin: 1.5rem auto 0; max-width: 34rem; text-align: center; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.adv-note a { color: var(--adv-gold-hi); font-weight: 600; }

@media (max-width: 575px) {
  .adv-hero { padding: 3rem 0 1.5rem; }
  .adv-card { padding: 1.5rem 1.15rem 1.25rem; border-radius: 1.1rem; }
  .adv-grid { gap: .5rem; }
  .adv-door { border-radius: .7rem; }
  .adv-door__tag { font-size: .55rem; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .adv-door { transition: none; } .adv-door.is-open:hover { transform: none; } }
