:root {
    color-scheme: light;
    --navy: #052440;
    --red: #ed002b;
    --muted: #61748a;
    --border: #d6e1eb;
    --surface: #f2f6f9;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navy);
    background: var(--surface);
    font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
img { max-width: 100%; height: auto; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #1673c0; outline-offset: 4px; }
.container { width: min(1376px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 14px; color: white; background: var(--navy); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { background: white; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 48px; }
.brand { width: 248px; display: flex; flex-shrink: 0; }
.brand img { display: block; width: 100%; }
.desktop-nav { display: flex; align-items: stretch; gap: 36px; align-self: stretch; }
.desktop-nav a { display: grid; align-items: center; position: relative; font-size: 18px; font-weight: 700; padding: 0 5px; }
.desktop-nav a[aria-current], .period-tabs a[aria-current] { color: var(--red); }
.desktop-nav a[aria-current]::after { content: ''; position: absolute; bottom: 15px; left: 0; right: 0; height: 3px; background: var(--red); }
.mobile-menu { display: none; }
.main-content { padding-top: 40px; min-height: 65vh; }
.hero { position: relative; margin-bottom: 26px; }
.eyebrow { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 18px; font-weight: 800; }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1 { font-size: clamp(32px, 4.1vw, 60px); letter-spacing: -.045em; line-height: 1.08; margin: 0 0 8px; font-weight: 800; }
.hero-description { color: var(--muted); font-size: 25px; font-weight: 600; margin-bottom: 0; line-height: 1.35; }
.preview-badge { display: inline-block; background: #e0e8f0; color: #405b78; border-radius: 40px; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .025em; padding: 11px 19px; }
.hero .preview-badge { float: right; margin: 0 0 14px 20px; }
.preview-date { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.mobile-copy { display: none; }
.filter-bar { display: flex; gap: 30px; align-items: center; background: white; border: 1px solid var(--border); border-radius: 9px; padding: 12px 24px; margin-bottom: 22px; }
.type-tabs { display: flex; gap: 14px; padding-right: 30px; border-right: 1px solid var(--border); }
.type-tabs a { display: grid; place-items: center; min-height: 44px; padding: 10px 24px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; font-weight: 700; }
.type-tabs a[aria-current] { color: white; background: var(--navy); border-color: var(--navy); }
.filter-form { display: flex; flex: 1; gap: 18px; align-items: center; min-width: 0; }
.filter-field { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.filter-field label { color: #425e78; font-weight: 700; font-size: 15px; }
.filter-field select { border: 1px solid #cbd9e5; border-radius: 7px; padding: 10px 28px 10px 14px; min-width: 0; width: 100%; min-height: 44px; background: white; color: var(--navy); cursor: pointer; }
.apply-button { border: 1px solid var(--navy); color: var(--navy); border-radius: 7px; padding: 10px 15px; min-height: 44px; background: white; cursor: pointer; font-weight: 700; }
.apply-button:hover { background: var(--navy); color: white; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.heading-count { display: flex; align-items: baseline; gap: 16px; }
.heading-count h2 { font-size: 32px; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.heading-count > span { color: var(--muted); font-size: 16px; }
.period-tabs { display: flex; gap: 25px; align-items: center; }
.period-tabs a { padding: 10px 4px 8px; min-height: 44px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.period-tabs a[aria-current] { border-bottom-color: var(--red); }
.period-tabs a + a { position: relative; }
.period-tabs a + a::before { content: ''; position: absolute; left: -14px; top: 11px; width: 1px; height: 22px; background: var(--border); }
.date-group { margin-bottom: 18px; }
.date-group h3 { margin-bottom: 10px; text-transform: uppercase; letter-spacing: .1em; font-size: 17px; font-weight: 800; color: var(--muted); }
.date-year { font-weight: 400; }
.event-rows { list-style: none; padding: 0; margin: 0; }
.event-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 28px; gap: 28px; align-items: center; padding: 12px 18px 12px 20px; min-height: 78px; border: 1px solid var(--border); border-radius: 9px; background: white; }
.event-rows li + li { margin-top: -1px; }
.event-row:hover { border-color: #7996b2; background: #fcfdff; position: relative; }
.date-tile { border-right: 1px solid #cbd9e5; text-align: center; display: flex; flex-direction: column; padding-right: 20px; line-height: 1.05; }
.date-tile > span { color: var(--red); text-transform: uppercase; font-size: 17px; font-weight: 700; }
.date-tile strong { font-size: 31px; font-weight: 800; }
.event-info { min-width: 0; }
.event-info h4 { font-size: 22px; letter-spacing: -.025em; margin: 0 0 4px; line-height: 1.15; }
.event-info p { color: var(--muted); font-size: 18px; margin: 0; line-height: 1.35; }
.event-meta { display: flex; align-items: center; gap: 36px; }
.event-meta time { font-size: 19px; font-weight: 700; white-space: nowrap; }
.league-time-text { max-width: 220px; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.event-row { position: relative; }
.event-title-link::after { content: ""; position: absolute; inset: 0; border-radius: 9px; }
.event-title-link:focus-visible::after { outline: 3px solid var(--blue, #063daf); outline-offset: 2px; }
.event-row .course-link { position: relative; z-index: 1; text-decoration: underline; }
.type-badge { display: inline-block; text-transform: uppercase; font-size: 12px; font-weight: 700; padding: 9px 14px; border-radius: 8px; text-align: center; }
.event-meta .type-badge { min-width: 108px; }
.league { background: #e7f0ff; color: #063daf; }
.tournament { background: #ffe8ee; color: #cb0024; }
.row-chevron { color: #617991; font-size: 29px; text-align: right; }
.empty-state { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 48px 28px; text-align: center; }
.empty-state h3 { font-size: 24px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); max-width: 560px; margin: 0 auto 16px; line-height: 1.6; }
.text-link { text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.site-footer { padding: 16px 0 28px; text-align: center; color: var(--muted); }
.demo-caption { font-size: 13px; margin-bottom: 20px; }
.powered-by { display: inline-flex; align-items: center; gap: 7px; margin: 12px auto 0; font-size: 13px; }
.powered-by img { display: block; height: 20px; width: auto; }
.footer-contact { display: block; width: fit-content; margin: auto; }
.footer-contact { display: inline-block; font-size: 13px; text-decoration: underline; padding: 10px; }
.back-link { display: block; margin-bottom: 24px; font-weight: 700; padding-block: 6px; }
.event-detail { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 40px; margin-top: 20px; }
.event-detail h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; margin: 16px 0 12px; }
.detail-location { font-size: 23px; color: var(--muted); line-height: 1.4; }
.event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 30px 0; padding-block: 28px; border-block: 1px solid var(--border); }
.event-facts dt { color: var(--muted); margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.event-facts dd { margin: 0; font-size: 18px; line-height: 1.5; }
.muted { color: var(--muted); }
.detail-notice { background: var(--surface); border-radius: 9px; padding: 24px; max-width: 760px; }
.detail-notice h2 { font-size: 20px; margin-bottom: 8px; }
.detail-notice p { color: var(--muted); line-height: 1.6; margin: 0; }
.about-page { max-width: 700px; margin: 10px auto 60px; text-align: center; }
.pk-logo { width: 240px; max-height: 240px; object-fit: contain; margin-bottom: 28px; }
.about-page h1 { font-size: 44px; margin-bottom: 20px; }
.about-page p { font-size: 20px; line-height: 1.7; color: var(--muted); }
.primary-link { display: inline-block; padding: 15px 24px; background: var(--red); color: white; border-radius: 8px; font-weight: 700; }
@media (max-width: 1200px) {
    .filter-bar { flex-wrap: wrap; gap: 14px; }
    .type-tabs { border-right: 0; padding-right: 0; }
    .filter-form { flex-basis: 100%; }
    .hero .preview-badge { float: none; margin: 0 0 16px; }
    .header-inner { gap: 30px; }
    .desktop-nav { gap: 20px; }
}
@media (max-width: 767px) {
    .container { width: calc(100% - 40px); }
    .header-inner { min-height: 78px; justify-content: space-between; gap: 20px; }
    .brand { width: min(208px, 67%); }
    .desktop-nav { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu summary { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; list-style: none; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .menu-icon { width: 25px; height: 18px; border-block: 3px solid var(--navy); position: relative; }
    .menu-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; border-top: 3px solid var(--navy); }
    .mobile-menu nav { position: absolute; z-index: 5; top: 77px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); box-shadow: 0 12px 20px #05244012; padding: 10px 20px; }
    .mobile-menu nav a { display: block; padding: 14px 0; font-weight: 700; }
    .mobile-menu nav a[aria-current] { color: var(--red); }
    .main-content { padding-top: 26px; }
    .hero { margin-bottom: 25px; }
    .hero .preview-badge { margin-bottom: 18px; font-size: 10px; padding: 9px 13px; }
    .eyebrow { display: none; }
    .hero h1 { font-size: clamp(32px, 8.5vw, 52px); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 12px; }
    .hero-description { font-size: 23px; }
    .desktop-copy { display: none; }
    .mobile-copy { display: inline; }
    .preview-date { font-size: 11px; line-height: 1.5; }
    .filter-bar { display: block; background: none; border: 0; padding: 0; margin-bottom: 22px; }
    .type-tabs { background: white; border: 1px solid var(--border); border-radius: 9px; padding: 7px; gap: 8px; margin-bottom: 13px; }
    .type-tabs a { flex: 1; padding: 10px 6px; font-size: 14px; min-height: 44px; }
    .filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .filter-field { display: block; }
    .filter-field label { display: block; font-size: 12px; margin-bottom: 6px; }
    .filter-field select { min-height: 46px; padding-left: 12px; font-size: 16px; }
    .apply-button { grid-column: 1 / -1; justify-self: end; min-width: 78px; }
    .list-heading { gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
    .heading-count { display: block; }
    .heading-count h2 { font-size: clamp(22px, 5.5vw, 30px); }
    .heading-count > span { display: block; font-size: 12px; margin-top: 5px; }
    .period-tabs { gap: 18px; font-size: 14px; }
    .period-tabs a + a::before { left: -10px; }
    .date-group { margin-bottom: 24px; }
    .date-group h3 { font-size: 14px; line-height: 1.4; letter-spacing: .09em; margin-bottom: 10px; }
    .event-rows li + li { margin-top: 5px; }
    .event-row { grid-template-columns: 54px minmax(0, 1fr) 10px; gap: 10px 14px; padding: 15px 12px; min-height: 112px; }
    .date-tile { grid-column: 1; grid-row: 1 / 3; align-self: stretch; justify-content: flex-start; padding: 5px 12px 0 0; }
    .date-tile > span { font-size: 15px; }
    .date-tile strong { font-size: 31px; }
    .event-info { grid-column: 2; grid-row: 1; }
    .event-info h4 { font-size: 18px; line-height: 1.2; margin-bottom: 4px; overflow-wrap: anywhere; }
    .event-info p { font-size: 15px; line-height: 1.35; }
    .event-meta { grid-column: 2; grid-row: 2; gap: 12px; flex-wrap: wrap; }
    .event-meta time { font-size: 16px; }
    .event-meta .type-badge { min-width: 0; font-size: 10px; padding: 7px 9px; border-radius: 6px; }
    .row-chevron { grid-column: 3; grid-row: 1 / 3; font-size: 26px; }
    .demo-caption { font-size: 12px; line-height: 1.5; }
    .event-detail { padding: 22px 18px; }
    .detail-location { font-size: 18px; }
    .event-facts { grid-template-columns: 1fr; gap: 20px; }
    .detail-notice { padding: 18px; }
    .about-page h1 { font-size: 36px; }
    .about-page p { font-size: 18px; }
    .empty-state { padding: 32px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
    .event-row, .apply-button { transition: background-color .15s ease, border-color .15s ease; }
}

/* Optional API media and links; absent source values produce no elements. */
.event-logo { float: left; width: 48px; height: 48px; object-fit: contain; margin: 0 12px 6px 0; border-radius: 6px; }
.event-banner { display: block; width: 100%; max-height: 320px; object-fit: contain; margin-bottom: 24px; }
.detail-logo { display: block; width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.event-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.event-links a { display: inline-block; padding: 10px 16px; border: 1px solid currentColor; border-radius: 6px; font-weight: 700; }
.event-facts dd { overflow-wrap: anywhere; }
.course-hero .course-availability-notice { margin: 24px 0; padding: 20px 24px; border: 2px solid #b42318; border-left-width: 8px; border-radius: 8px; background: #fff0ee; color: #981b13; font-size: 20px; line-height: 1.45; }
.course-count, .course-breadcrumb { color: var(--muted); margin: 24px 0; }
.course-breadcrumb a { text-decoration: underline; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.course-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: white; }
.course-card:hover { border-color: var(--navy); box-shadow: 0 4px 16px #05244014; }
.course-card img, .course-card-placeholder { width: 100%; height: 180px; object-fit: cover; }
.course-card-placeholder { display: grid; place-items: center; background: var(--surface); color: var(--navy); font-size: 64px; font-weight: 700; }
.course-card-body { padding: 20px; }
.course-card h2 { font-size: 21px; margin: 0 0 8px; }
.course-card p { color: var(--muted); margin: 0 0 20px; }
.course-card-body > span { font-weight: 700; font-size: 14px; }
.course-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 24px 0 40px; align-items: center; }
.course-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 12px 0; }
.course-hero p { line-height: 1.65; }
.course-city { color: var(--muted); font-size: 20px; }
.course-hero-image { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: 12px; background: var(--surface); }
.event-links .course-primary { background: var(--navy); color: white; border-color: var(--navy); }
@media (max-width: 760px) { .course-hero { grid-template-columns: 1fr; gap: 24px; } }
.event-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; }
.event-pagination p { margin: 0; color: var(--muted); }
.pagination-controls { display: flex; align-items: center; gap: 4px; }
.pagination-controls .page-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--navy); font-weight: 700; text-decoration: none; }
.pagination-controls a:hover { background: var(--surface); border-color: var(--navy); }
.pagination-controls .is-current { background: var(--navy); border-color: var(--navy); color: white; }
.pagination-controls .is-disabled { background: var(--surface); color: #8796a3; }
.pagination-controls .page-arrow { font-size: 28px; font-weight: 400; }
.page-ellipsis { width: 20px; text-align: center; color: var(--muted); }
@media (max-width: 600px) {
    .event-pagination { flex-direction: column; align-items: center; }
    .event-pagination p { font-size: 13px; }
    .pagination-controls { gap: 3px; }
    .pagination-controls .page-button { min-width: 32px; padding: 0 6px; }
    .page-ellipsis { width: 14px; }
}
