/* ===== Holidays: calendar, holiday pages, home strip ===== */
.holiday-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; }

.hol-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1.25rem; }
.filter-chip-link { border: 1.5px solid var(--border); border-radius: 999px; padding: .3rem .75rem; font-size: .82rem;
  font-weight: 700; color: var(--text-muted); text-decoration: none; background: var(--warm-white); }
.filter-chip-link:hover { border-color: var(--sage); color: var(--text); }
.filter-chip-link.active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

.hol-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; margin-bottom: 1.5rem; }
.hol-card { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--border);
  border-radius: 14px; background: var(--warm-white); text-decoration: none; color: var(--text); }
.hol-card:hover { border-color: var(--sage); }
.hol-card.now { border-color: var(--sage-dark); box-shadow: inset 4px 0 0 var(--sage-dark); }
.hol-emoji { font-size: 1.7rem; line-height: 1; }
.hol-card-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hol-card-text > span { font-size: .8rem; color: var(--text-muted); }
.hol-badge { align-self: flex-start; font-size: .68rem !important; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; color: var(--barn-red) !important; }

.hol-year-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.hol-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.hol-month { border: 1px solid var(--border); border-radius: 14px; background: var(--warm-white); padding: .7rem .9rem; }
.hol-month h3 { margin: 0 0 .4rem; font-size: 1rem; }
.hol-month ul { list-style: none; margin: 0; padding: 0; }
.hol-month li { display: flex; gap: .6rem; padding: .28rem 0; border-top: 1px solid var(--border); font-size: .87rem; }
.hol-month li:first-child { border-top: none; }
.hol-month li.past { opacity: .55; }
.hol-month time { flex: 0 0 4.6rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hol-month a { color: var(--text); text-decoration: none; }
.hol-month a:hover { text-decoration: underline; }
.hol-est { color: var(--text-muted); cursor: help; }
.hol-foot { margin-top: 1rem; }

.hol-hero { display: flex; gap: 1rem; align-items: center; margin: .5rem 0 .75rem; }
.hol-hero-emoji { font-size: 3.2rem; line-height: 1; }
.hol-hero .page-title { margin: 0; }
@media (max-width: 560px) {
  .hol-hero { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .hol-hero-emoji { font-size: 2.4rem; }
}
.hol-when { margin: .25rem 0; }
.hol-trads { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 0; }
.hol-trad { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; background: var(--cream);
  border: 1px solid var(--border); }
.hol-blurb { font-size: 1.05rem; max-width: 48rem; }
.hol-later { font-size: .88rem; color: var(--text-muted); }
.hol-rule { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between;
  padding: .6rem .9rem; border-radius: 12px; border: 1px dashed var(--border); background: var(--warm-white);
  margin: 1rem 0; font-size: .9rem; }
.hol-rule.on { border-style: solid; border-color: var(--sage); background: #f7f2ed; }
.hol-section { margin-top: 1.5rem; }
.hol-section .result-count { font-size: .8rem; font-weight: 400; margin-left: .4rem; }

/* Home "coming up" strip */
.coming-up { max-width: var(--max-w, 1200px); margin: .75rem auto 0; padding: 0 1rem; }
.coming-up-row { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.coming-up-row .hol-card { flex: 0 0 16rem; }
.coming-up-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.coming-up-head h2 { font-size: 1rem; margin: 0; }
.coming-up-head a { font-size: .82rem; }
@media (max-width: 520px) { .coming-up-row .hol-card { flex-basis: 13.5rem; } }
