/* Court Holidays/Closings — "year at a glance" calendar (12 mini month-grids per year), scoped
   to this one page since it's not reused elsewhere. */

.year-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.mini-month {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 0.75rem;
    box-shadow: var(--jud-card-shadow);
    padding: 0.75rem;
}

    .mini-month thead {
        text-align: center;
    }

.mini-month h3 {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 0 0.5rem;
    color: var(--jud-navy);
}

.mini-month table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.mini-month th {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6c7684;
    padding-bottom: 0.25rem;
}

.mini-month td {
    text-align: center;
    font-size: 0.78rem;
    padding: 0.3rem 0;
    border-radius: 0.3rem;
}

.cal-day-empty { background: transparent; }

.cal-day-holiday {
    background: #fdf3e2;
    color: #6b4a17;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #e8a33d;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    cursor: default;
}
.cal-day-holiday:focus-visible {
    outline: 2px solid var(--jud-focus);
    outline-offset: 1px;
}

/* Bootstrap tooltip bubble for holiday cells — restyled from Bootstrap's plain dark default to
   match the site's navy/card look. Scoped to this page only (court-holidays.css). */
.tooltip {
    --bs-tooltip-bg: var(--jud-navy);
    --bs-tooltip-color: #fff;
    --bs-tooltip-border-radius: 0.6rem;
    --bs-tooltip-padding-x: 0.75rem;
    --bs-tooltip-padding-y: 0.4rem;
    --bs-tooltip-font-size: 0.85rem;
    --bs-tooltip-opacity: 1;
    filter: drop-shadow(var(--jud-card-shadow-hover));
}
