/* home-doors.css: the two doors of the home page as scripts/build-home-doors.py writes them (HOME40, 18 Nov 2026).
   Every rule but the last needs .hd-door or .doors.hd, which only that block carries. The page's own rules for .door stay as they are. */
.home .doors.hd .hd-door { display: flex; flex-direction: column; }
.home .doors.hd .hd-door:hover, .home .doors.hd .hd-door:focus-visible { transform: none; background: rgba(255, 250, 240, 0.05); border-color: rgba(216, 179, 102, 0.42); }      /* the box is no longer one link */
.home .hd-door .kicker { font-size: 0.8125rem; letter-spacing: 0.16em; }
.home .hd-door h2 a { color: var(--text-on-dark, #f6f1e7); text-decoration: none; border-bottom: 0; }
.home .hd-door h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--brand, #d8b366); text-underline-offset: 0.18em; }
.home .hd-door ul { flex: 1; margin-bottom: 1.2rem; }
.home .hd-door li { margin: 0; padding-left: 1.05rem; font-size: 0.97rem; }
.home .hd-door li::before { top: 0.42rem; }
.home .hd-door li a { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.6em; min-height: 2.25rem; padding: 0.4rem 0 0.1rem; box-sizing: border-box; color: #f0e6cf; border-bottom: 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(216, 179, 102, 0.8); text-underline-offset: 0.22em; }
.home .hd-door li a:hover { color: #fff; text-decoration-color: #e8cd8a; }
.home .hd-door .hd-part { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand, #d8b366); white-space: nowrap; }
.home .hd-door .hd-note { display: block; margin: -0.15rem 0 0.3rem; font-size: 0.875rem; line-height: 1.4; color: var(--text-on-dark-d, #c8b896); }
.home .hd-door a.go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.25rem 1.1rem; border: 1px solid var(--brand, #d8b366); border-radius: 4px;
  color: #f0dca8; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; }
.home .hd-door a.go:hover { background: var(--brand, #d8b366); border-color: var(--brand, #d8b366); color: #141f30; }
.home .hd-door a:focus-visible { outline: 3px solid #e8cd8a; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 700px) {
  .home .hd-door li a { min-height: 2.75rem; padding-top: 0.55rem; }
  .home .hd-door li::before { top: 0.58rem; }
  .home .hd-door a.go { min-height: 2.75rem; }
}
/* not the doors: on a phone under 420px the day line under the strip (its link is set not to wrap) made the whole page slide sideways */
@media (max-width: 420px) { .home #otd #otd-link { white-space: normal !important; } }
@media print {
  .home .hd-door, .home .hd-door h2 a, .home .hd-door li a, .home .hd-door a.go, .home .hd-door .hd-part, .home .hd-door .hd-note { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
}
