/* The banners of the 13 Days of Math and of Portugal's public holidays (content/math-days.php, holidays.php): loaded
   only on those days, on the first page of a visit.
   Closing it is a checkbox and this rule: no script, nothing stored on the visitor's device. */
.mathday { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 8px 6px 14px; background: var(--teal-dark); color: #fff; font-size: .8rem; line-height: 1.35; }
.mathday p { margin: 0; max-width: 78ch; }
.mathday .btn { margin-inline-start: 4px; padding: 2px 10px; min-height: 0; font-size: inherit; background: #fff; color: var(--teal-dark); white-space: nowrap; }
.mathday label { flex: none; min-width: 32px; min-height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.mathday label:hover { background: rgb(255 255 255 / .16); }
.mathday-x:checked + .mathday { display: none; }
.mathday-x:focus-visible + .mathday label { outline: 2px solid #fff; outline-offset: 2px; }
@media print { .mathday { display: none; } }
.mathday + .mathday-x + .mathday { border-top: 1px solid rgb(255 255 255 / .25); }   /* 25 December: both banners */
