/* pages/holidays.php: Feste nazionali (chat #691, 26 Oct 2026). Reuses .gd-table of guide.css; here the next-holiday box, the badges, the past rows. */
.hd-next { display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 640px; }
.hd-next-day { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 14px; background: var(--sea-soft); color: var(--sea-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.hd-next-day b { font-family: var(--display); font-size: 2rem; }
.hd-next-day span { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.hd-next small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.hd-next h2 { margin: .1rem 0 .3rem; font-size: 1.35rem; }
.hd-next p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.hd-badge { display: inline-block; font-size: .8rem; font-weight: 650; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.hd-b-long { background: #e3f4e6; color: #1f6a2e; }
.hd-b-bridge { background: var(--sun-soft); color: #7a4b07; }
.hd-b-plain { background: var(--sand); color: var(--muted); }
.hd-years { margin: 0; }
.hd-table td small { display: block; margin-top: .15rem; }
.hd-date { white-space: nowrap; }
.hd-patrons .hd-date { white-space: normal; }
.hd-past td { opacity: .55; }
.hd-is-next td { background: var(--sea-soft); }
@media (max-width: 640px) {
  .hd-table thead { display: none; }
  .hd-table, .hd-table tbody, .hd-table tr, .hd-table td { display: block; width: auto; }
  .hd-table tr { padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
  .hd-table td { border: 0; padding: .1rem 0; }
  .hd-table .hd-date { white-space: normal; }
}
