/* Adventi falu (/adventi-falu/) – illusztrált fejléc-sáv + naptárszerű napirend; a karácsonyi paletta csak ezen az oldalon él */
.adv-page {
  --adv-ink: #1b2350;
  --adv-muted: #66709a;
  --adv-line: #e3e6ef;
  --adv-green: #1f4d3a;
  --adv-green-soft: #edf3ef;
  --adv-red: #b8322a;
  --adv-cream: #f6efe3;
  --adv-gold: #d9a441;
  --adv-night: #1d2a4d;
  gap: 26px;
}

/* ===== Fejléc: morzsamenü → illusztráció → cím ===== */
.adv-head { border-bottom-color: #dbe5df; gap: 14px; }
.adv-scene { background: var(--adv-night); border-radius: 16px; height: 260px; margin: 0; overflow: hidden; }
.adv-scene__svg { display: block; fill: none; height: 100%; stroke: none; width: 100%; } /* a globális svg-ikon körvonal itt ne érvényesüljön */
.adv-head__sub { color: var(--adv-green) !important; font-size: 13.5px !important; font-weight: 700; letter-spacing: .02em; }
.adv-head__aside { align-items: center; gap: 12px; }
.adv-head .pg-meta { color: var(--adv-muted); }
.adv-countdown { align-items: center; background: var(--adv-cream); border: 1px solid #e6d7bb; border-radius: 999px; color: var(--adv-green); display: inline-flex; font-family: "Manrope", Arial, sans-serif; font-size: 14px; font-weight: 800; gap: 7px; height: 36px; padding: 0 14px 0 11px; white-space: nowrap; }
.adv-countdown svg { fill: none; height: 16px; stroke: var(--adv-red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; width: 16px; }

/* Égősor pislákolás és hóesés – lassú, finom; mozgáscsökkentésnél minden áll */
.adv-bulb { animation: adv-twinkle 3.2s ease-in-out infinite; }
.adv-snowfall { animation: adv-snow 30s linear infinite; }
.adv-snowfall--2 { animation-duration: 22s; }
@keyframes adv-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes adv-snow { from { transform: translateY(0); } to { transform: translateY(260px); } }
@media (prefers-reduced-motion: reduce) {
  .adv-bulb, .adv-snowfall { animation: none; }
}

/* ===== Napirend: balra dátumcsempe („adventi naptár ablak”), jobbra az aznapi programok ===== */
.adv-agenda { display: grid; gap: 0; }
.adv-dayrow { align-items: start; border-top: 1px solid var(--adv-line); display: grid; gap: 24px; grid-template-columns: 104px minmax(0, 1fr); padding: 22px 0; }
.adv-dayrow:first-child { border-top: 0; padding-top: 4px; }
.adv-tile { align-content: center; background: var(--adv-cream); border: 1px solid #e3d2b2; border-radius: 12px; box-shadow: inset 0 0 0 4px var(--adv-cream), inset 0 0 0 5px rgba(31, 77, 58, .28); color: var(--adv-green); display: grid; font-family: "Manrope", Arial, sans-serif; justify-items: center; line-height: 1; margin: 0; min-height: 112px; padding: 14px 6px; position: sticky; text-align: center; top: 90px; }
.adv-tile b { color: var(--adv-green); font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.adv-tile span { color: var(--adv-red); font-size: 14px; font-weight: 800; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.adv-tile small { color: var(--adv-muted); font-family: "Inter", Arial, sans-serif; font-size: 12.5px; font-weight: 600; margin-top: 6px; }

.adv-items { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.adv-item { align-items: start; background: #fff; border: 1px solid var(--adv-line); border-radius: 14px; display: grid; gap: 16px; grid-template-columns: 112px minmax(0, 1fr); padding: 12px; position: relative; transition: border-color .15s, box-shadow .15s; }
@media (hover: hover) { .adv-item:hover { border-color: #cfd8d3; box-shadow: 0 6px 20px rgba(27, 35, 80, .06); } }
.adv-item.is-next { border-color: rgba(217, 164, 65, .75); box-shadow: inset 3px 0 0 var(--adv-gold); }
.adv-item__thumb { aspect-ratio: 4 / 3; background: var(--adv-cream); border-radius: 10px; display: block; overflow: hidden; width: 112px; }
.adv-item__thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }
.adv-item__thumb--ph { align-items: center; border: 1px solid #e9dcc4; display: flex; justify-content: center; }
.adv-item__thumb--ph svg { fill: none; height: 30px; stroke: var(--adv-green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; width: 30px; opacity: .7; }
.adv-item__body { display: grid; gap: 5px; min-width: 0; padding-top: 2px; }
.adv-item__top { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.adv-item__time { color: var(--adv-red); font-family: "Manrope", Arial, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.adv-item__type { background: var(--adv-green-soft); border-radius: 6px; color: var(--adv-green); font-size: 12px; font-weight: 700; padding: 3px 8px; }
.adv-item__next { background: var(--adv-gold); border-radius: 6px; color: #3b2a07; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; text-transform: uppercase; }
.adv-item h3 { font-family: "Manrope", Arial, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; margin: 0; }
.adv-item h3 a { color: var(--adv-ink); text-decoration: none; }
.adv-item h3 a::after { content: ""; inset: 0; position: absolute; } /* az egész sor kattintható */
@media (hover: hover) { .adv-item h3 a:hover { color: var(--adv-green); } }
.adv-item__desc { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--adv-muted); display: -webkit-box; font-size: 14.5px; line-height: 1.5; margin: 0; overflow: hidden; }
.adv-item__place { align-items: center; color: var(--adv-ink); display: flex; font-size: 13.5px; font-weight: 600; gap: 6px; margin: 2px 0 0; }
.adv-item__place svg { fill: none; flex: none; height: 15px; stroke: var(--adv-red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 15px; }

/* Üres állapot */
.adv-empty { background: #fff; border: 1px dashed #cfd9d4; border-radius: 14px; color: var(--adv-muted); display: grid; gap: 8px; justify-items: center; padding: 40px 20px; text-align: center; }
.adv-empty svg { fill: none; height: 30px; stroke: var(--adv-green); stroke-linecap: round; stroke-width: 1.6; width: 30px; }
.adv-empty strong { color: var(--adv-ink); font-family: "Manrope", Arial, sans-serif; font-size: 17px; }
.adv-empty p { font-size: 14.5px; line-height: 1.5; margin: 0 0 8px; max-width: 460px; }

/* Jó tudni – krém lap zöld kerettel, a dátumcsempékhez illően */
.adv-info { background: var(--adv-cream); border: 1px solid #e3d2b2; border-radius: 14px; display: grid; gap: 12px; padding: 18px 20px; }
.adv-info h2 { color: var(--adv-green); font-family: "Manrope", Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.adv-info__row { align-items: flex-start; display: flex; gap: 12px; }
.adv-info__row p { color: var(--adv-ink); font-size: 15px; line-height: 1.5; margin: 0; }
.adv-info__ic { align-items: center; background: #fff; border: 1px solid #e3d2b2; border-radius: 50%; color: var(--adv-red); display: inline-flex; flex: none; height: 30px; justify-content: center; width: 30px; }
.adv-info__ic svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-width: 2.2; width: 17px; }
.adv-info__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.adv-info__more { color: var(--adv-green); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.adv-info__more:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .adv-page { gap: 20px; }
  .adv-scene { border-radius: 12px; height: 184px; }
  .adv-head .adv-head__aside { display: flex; flex-wrap: wrap; justify-content: flex-start; width: auto; }
  .adv-dayrow { gap: 12px; grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  /* Mobilon a dátumcsempe fölül, kis vízszintes címkeként */
  .adv-tile { align-items: baseline; display: flex; gap: 6px; justify-content: flex-start; justify-self: start; min-height: 0; padding: 8px 14px; position: static; }
  .adv-tile b { font-size: 24px; }
  .adv-tile span { font-size: 13px; margin: 0; }
  .adv-tile small { font-size: 13px; margin: 0 0 0 2px; }
  .adv-item { gap: 12px; grid-template-columns: 84px minmax(0, 1fr); padding: 10px; }
  .adv-item__thumb { width: 84px; }
  .adv-item h3 { font-size: 16px; }
  .adv-item__time { font-size: 16px; }
  .adv-item__desc { font-size: 14px; }
  .adv-info { padding: 16px; }
  .adv-info__actions .pg-btn { width: 100%; }
}
