/* Calendar-only mode, holy days of obligation and Croatian public holidays. */
:root { --obligation: var(--gold); --chequy: oklch(62% .2 27); }
html[data-theme=light] { --chequy: oklch(52% .21 27); }

/* Sundays and holy days of obligation: bold, in the theme's gold accent (user preferred it to red). */
.is-obligation .feast-name,
.calendar-shell .is-obligation .weekday,
.calendar-shell .is-obligation .day-number { color: var(--obligation); font-weight: 600; }
.calendar-shell .day-row.is-obligation { border-color: color-mix(in oklab, var(--obligation) 30%, transparent); }
.day-heading.is-obligation h1 { color: var(--obligation); }
.obligation-sample { color: var(--obligation); font-weight: 700; font-size: 12px; }
.obligation-tag { display: inline-block; font: 10px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--obligation); border: 1px solid color-mix(in oklab, var(--obligation) 40%, transparent); border-radius: 4px; padding: 0 6px; }

/* Public holiday chequy shield: outline inherits currentColor, red squares follow the theme, white squares are transparent. */
.holiday-marker { display: inline-flex; align-items: center; gap: 6px; color: var(--text); vertical-align: middle; line-height: 1; }
.holiday-marker svg { display: block; flex: 0 0 auto; }
.holiday-marker .chequy-red { fill: var(--chequy); }
.holiday-label { color: var(--muted); font-size: 11px; line-height: 1.4; }
.day-action .holiday-marker svg { width: 18px; height: 18px; }
@media (forced-colors: active) { .holiday-marker .chequy-red { fill: CanvasText; } }

.mini-calendar .mini-obligation { color: var(--obligation); font-weight: 700; }
.mini-calendar .mini-holiday { border-radius: 50%; box-shadow: 0 0 0 1px var(--chequy); }

.national-note { margin: 16px 0; padding: 10px 14px; border-left: 2px solid var(--chequy); font-size: 12px; }
.national-note p { margin: 4px 0; }
.national-note a { color: inherit; text-underline-offset: 3px; text-decoration: underline; }

.rank-name { color: var(--muted); }
.day-rank { margin-top: 8px; font-size: 13px; color: var(--muted); }
.national-markers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 12px; }
.calendar-only-note { margin: 28px auto 0; max-width: 560px; font-size: 13px; text-align: center; }
