/* Site-wide feedback fixes (pages): letters cut from below. Loaded last. */

/* Palestine: static p.fine paints under the positioned, GSAP-transformed .action-card elements; lift it above them and clear the grid. */
.action-section p.fine { position: relative; z-index: 5; margin-top: 32px; }


/* Phones: long unbroken strings (email addresses, URLs) ran off the right edge; let them wrap. */
main p, main li, main a, main dd { overflow-wrap: break-word; }
/* Grid columns in .split layouts grew to fit an unbreakable email address and pushed past the screen edge. */
.split > * { min-width: 0; }
main a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Team page, flagship cards: the cards sit inside a .white-section (cream background, dark-green text from experience.css), but .venue-card is a dark green card (cinematic.css). The dark text inherited from the section was unreadable on the card. Set the card's own text colours. */
#flagship-teams .venue-card { color: #fff4dd; }
#flagship-teams .venue-card h3 { color: #fff4dd; }
#flagship-teams .venue-card p { color: #d9e5d6; }
#flagship-teams .venue-card p.eyebrow { color: #e0c98f; }

/* Events archive cards: .event-card is a dark green card (cinematic.css, #0b4833), but it sits inside a .white-section (cream background, dark-green text from experience.css). The title and meta text inherited that dark green, so it was unreadable on the card (the Society Fair card was the one reported). Set the archive card's own text colours on the dark background; all values give at least 4.5:1 contrast. */
#event-archive .event-card { color: #fff4dd; }
#event-archive .event-card h3,
#event-archive .event-card h3 a { color: #fff4dd; }
#event-archive .event-card p,
#event-archive .event-card .event-info { color: #d9e5d6; }
#event-archive .event-card p.eyebrow { color: #e0c98f; }
#event-archive .event-card .text-link { color: #e8d297; }

/* Full-screen menu (cream #f6f4e9): global .text-link/.eyebrow colours are for dark sections and were near-white on cream; set dark-on-cream colours scoped to the menu's link rows. */
.race-dialog .menu-groups .text-link { color: #07513b; border-bottom-color: #c9a35a; }
.race-dialog .menu-groups .text-link span { color: #07513b; }
.race-dialog .menu-groups .text-link:hover,
.race-dialog .menu-groups .text-link:focus-visible { color: #0b6b4c; border-bottom-color: #07513b; }
.race-dialog .menu-groups .text-link:hover span,
.race-dialog .menu-groups .text-link:focus-visible span { color: #0b6b4c; }
.race-dialog .menu-groups p.eyebrow { color: #765a22; }
