/*
 * Shared look for every Community Day Lahore 2026 sub-page (leaderboard, CXO, ticket, card, ...),
 * so they match the main event page: same font, focus rings, form fields and top bar.
 * Load it after lahore/css/site.css.
 */
@font-face { font-family: "JosefinSans"; src: url(../../karachi/fonts/JosefinSans-Regular.ttf); font-display: swap; }
body { font-family: "JosefinSans", system-ui, sans-serif; }
/* Tailwind's display utilities (grid, flex) would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ff9900; outline-offset: 2px; }

.field { width: 100%; border: 1px solid #d1d5db; border-radius: 6px; padding: 10px 12px; font-size: 15px; background: #fff; color: #232f3f; }
.field:focus { outline: 2px solid #ff9900; outline-offset: 1px; border-color: #ff9900; }
.field[aria-invalid="true"] { border-color: #dc2626; }

/* Top bar: logo + event name on the left, one action on the right. */
.ev-bar { background: #232f3f; color: #fff; border-bottom: 1px solid #ff9900; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .15); }
.ev-bar-inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ev-brand { display: flex; align-items: center; gap: .5rem; min-width: 0; color: #fff; font-weight: 700; line-height: 1.15; }
.ev-brand img { height: 2.5rem; width: 2.5rem; flex: none; }
.ev-brand .accent { color: #ff9900; }
.ev-action { flex: none; background: #ff9900; color: #232f3f; font-weight: 700; font-size: .875rem; padding: .5rem 1rem; border-radius: .25rem; white-space: nowrap; }
.ev-action:hover { background: #fb923c; }
.ev-link { flex: none; color: #e5e7eb; font-size: .875rem; white-space: nowrap; }
.ev-link:hover { color: #ff9900; }
@media (min-width: 640px) { .ev-bar-inner { padding: 0 1.5rem; } }

/* Footer: same parts as the main page footer, condensed. */
.ev-footer { background: #232f3f; color: #d1d5db; border-top: 1px solid #374151; font-size: .75rem; padding: 2rem 1rem; }
.ev-footer-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.ev-footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.ev-footer-brand img { height: 2rem; width: 2rem; }
.ev-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; }
.ev-footer a:hover { color: #ff9900; }
.ev-footer .legal { color: #9ca3af; margin-top: 1rem; text-align: center; }
@media (min-width: 768px) { .ev-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

@media print { .ev-bar, .ev-footer { display: none !important; } }
