/* =========================================================
   Event Day page (invitational-event-day.html)
   Page-only styles, all prefixed .ed-
   In Divi: paste into the page's Custom CSS (Page settings → Advanced),
   and give modules/rows the class names noted in the HTML comments.
   Rules that start with html[data-ed-…] are prototype page options:
   in Divi, keep only the chosen version's rules.
   ========================================================= */

/* Sections: a bit tighter than the home page, because coaches scroll this on a phone.
   Sections alternate white / gray so each topic reads as its own band. */
.section.ed-sec { padding: 80px 0; scroll-margin-top: 120px; }
.section.ed-sec--first { padding-top: 56px; }
.ed-head { margin-bottom: 36px; }
.ed-head h2, .ed-h2 { font-size: clamp(28px, 3vw, 38px); }
.ed-head p { margin-bottom: 0; }

/* Inline links in running text: one clean underline, no arrow */
.ed-sec p a:not(.text-link):not(.btn) {
  color: var(--red); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.ed-sec p a:not(.text-link):not(.btn):hover { text-decoration-thickness: 2px; }
.ed-sec .placeholder-note { margin: 0 0 0 6px; vertical-align: 2px; }

/* Callouts sit on white on gray bands, on gray on white bands */
.section--surface .callout { background: var(--white); }

/* "What to bring" removed (page option): hide it and its jump link,
   then swap every later band so white / gray still alternate */
html[data-ed-bring="off"] #bring, html[data-ed-bring="off"] .ed-jump__bring { display: none; }
html[data-ed-bring="off"] .ed-flip.section--surface { background: var(--white); }
html[data-ed-bring="off"] .ed-flip:not(.section--surface) { background: var(--surface); }
html[data-ed-bring="off"] .ed-flip.section--surface .callout { background: var(--surface); }
html[data-ed-bring="off"] .ed-flip:not(.section--surface) .callout { background: var(--white); }

/* ---------------------------------------------------------
   "On this page" links (Divi: Text module of plain links, class ed-jump)
   Undecided option ed-jump-look: bararrows (default: the bar with red arrow links) / bar / divider / arrows
   --------------------------------------------------------- */
.ed-jump { display: flex; align-items: baseline; gap: 8px 22px; margin-bottom: 56px; }
.ed-jump__label { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ed-jump__links { display: flex; flex-wrap: wrap; row-gap: 8px; }
.ed-jump__links a { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s; }
.ed-jump__links a:hover { color: var(--red); }

/* Bordered bar with label: one outlined bar; the label sits in a gray cell on the left,
   the links are spaced out to its right. Reads as a navigation bar, not as filters. */
html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump { align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__label { display: flex; align-items: center; padding: 0 22px; background: var(--surface); border-right: 1px solid var(--line); font-size: 12.5px; color: var(--ink); }
html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__links { flex: 1; align-items: center; padding: 6px 10px; row-gap: 0; }
html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__links a { padding: 10px 14px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; }
html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__links a:hover { text-decoration-color: var(--red); }

/* Links with dividers: thin vertical rules like a breadcrumb row. The negative margin + overflow
   clip hides the rule in front of the first link on each line, so wrapped lines stay clean. */
html[data-ed-jump-look="divider"] .ed-jump__links { overflow: hidden; margin-left: -16px; }
html[data-ed-jump-look="divider"] .ed-jump__links a { padding: 0 16px; margin-left: -1px; border-left: 1px solid color-mix(in srgb, var(--muted) 40%, transparent); }

/* Red links with arrows: a plain "On this page:" label, then red links each with a small ↓,
   so they read as links that jump down the page */
html[data-ed-jump-look="arrows"] .ed-jump { gap: 8px 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
html[data-ed-jump-look="arrows"] .ed-jump__label { font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
html[data-ed-jump-look="arrows"] .ed-jump__label::after { content: ":"; }
html[data-ed-jump-look="arrows"] .ed-jump__links { column-gap: 26px; }
html[data-ed-jump-look="arrows"] .ed-jump__links a { color: var(--red); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; }
html[data-ed-jump-look="arrows"] .ed-jump__links a::after { content: "↓"; display: inline-block; margin-left: 5px; font-weight: 500; text-decoration: none; }
html[data-ed-jump-look="arrows"] .ed-jump__links a:hover { text-decoration-color: currentColor; }
/* Bordered bar with label + red links with arrows (default, Nov 22): the bar above, with the links in red and a down arrow */
html[data-ed-jump-look="bararrows"] .ed-jump__links a { color: var(--red); }
html[data-ed-jump-look="bararrows"] .ed-jump__links a::after { content: "↓"; display: inline-block; margin-left: 5px; font-weight: 500; text-decoration: none; }

/* ---------------------------------------------------------
   Schedule: list + two notes (cards with a red top rule)
   --------------------------------------------------------- */
.ed-todo { margin-top: 32px; }
.ed-schedule { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ed-timeline { max-width: none; }
.ed-timeline li { grid-template-columns: 170px 1fr; padding: 15px 22px; align-items: baseline; }
.ed-timeline .schedule__when { white-space: nowrap; }
.ed-timeline .schedule__when .placeholder-note { margin: 0 0 0 6px; vertical-align: 1px; }
.ed-timeline li:not(.ed-tl--key) .schedule__when { color: var(--ink); font-weight: 600; }
.ed-tl--key { background: color-mix(in srgb, var(--red-tint) 60%, white); }

/* The site's card: white, thin border, red top rule, serif title */
.ed-side { display: grid; gap: 16px; }
.ed-side__note { padding: 24px 28px 26px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); }
.ed-side h3 { font: 600 20px/1.3 var(--font-head); color: var(--ink); margin: 0 0 8px; }
.ed-side p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ---------------------------------------------------------
   What to bring: heading on the left, one bulleted list on the right
   --------------------------------------------------------- */
.ed-bring__head p { margin-bottom: 20px; }
.ed-bring { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.ed-bring__head { margin-bottom: 0; }
.ed-list__intro { margin: 0 0 18px; font-weight: 600; }
.ed-bullets { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.ed-bullets li { padding-left: 4px; }
.ed-bullets li::marker { color: var(--red); font-size: 1.1em; }

/* No box; a 2px top rule and thin rules between items, like Home's "Start here" */
.ed-list { padding-top: 24px; border-top: 2px solid var(--ink); }
.ed-list__intro { padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); margin-bottom: 0; }
.ed-bullets { gap: 0; padding-left: 0; list-style: none; }
.ed-bullets li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.ed-bullets li::before { content: ""; position: absolute; left: 4px; top: calc(12px + .68em); width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ed-bullets li:last-child { border-bottom: 0; }


/* ---------------------------------------------------------
   Parking: map beside the key
   Undecided option ed-key-look: place (default) / numbered
   --------------------------------------------------------- */
.ed-park { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }

/* Map placeholder (real build: Google My Maps iframe in a Code module) */
.ed-map {
  position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.75) 47%, rgba(255,255,255,.75) 50%, transparent 50%) 0 0 / 150px 100%,
    linear-gradient(0deg, transparent 47%, rgba(255,255,255,.75) 47%, rgba(255,255,255,.75) 50%, transparent 50%) 0 0 / 100% 110px,
    radial-gradient(ellipse at 22% 70%, color-mix(in srgb, #4C8C4A 22%, transparent), transparent 50%),
    radial-gradient(ellipse at 85% 20%, color-mix(in srgb, #4C8C4A 16%, transparent), transparent 45%),
    #E7EAE3;
}
.ed-map__road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.ed-map__road--v { top: 0; bottom: 0; left: var(--p); width: 10px; }
.ed-map__road--h { left: 0; right: 0; top: var(--p); height: 10px; }
.ed-map__road--minor { width: 7px; }
.ed-map__road i { position: absolute; font: italic 600 12px/1 var(--font-body); color: #6B7280; white-space: nowrap; }
.ed-map__road--v i { left: 50%; top: 58px; transform-origin: 0 0; transform: rotate(90deg) translate(0, -50%); }
.ed-map__road--h i { left: 14px; top: 50%; transform: translateY(-50%); }
.ed-map__pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); z-index: 1;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 3px solid #fff; border-radius: 50%; background: var(--red); color: #fff;
  font: 700 15px/1 var(--font-body); box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.ed-map__pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 10px; margin-left: -1.5px; background: #fff; }
.ed-map__pin--alt { background: var(--second); }
.ed-map .ed-map__note { position: absolute; top: 14px; left: 14px; right: 14px; width: max-content; max-width: calc(100% - 28px); margin: 0; z-index: 2; }

.ed-keys { align-self: start; }
.ed-key { list-style: none; margin: 0; padding: 0; }
.ed-key strong { color: var(--ink); font-weight: 700; }
.ed-key__num { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 700 13.5px/1 var(--font-body); margin-top: 1px; }
.ed-key__num--alt { background: var(--second); }
.ed-key p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.55; }

/* Which key shows */
.ed-key--place, .ed-key--full { display: none; }
html[data-ed-key-look="place"] .ed-key--place,
html[data-ed-key-look="numbered"] .ed-key--full { display: block; }

/* Place name first: a small label says what the pin is, the place name is the bold line */
.ed-key--place { border-top: 2px solid var(--ink); }
.ed-key--place li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.ed-key__what { display: block; margin: 3px 0 5px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ed-key--place h3 { font: 700 18px/1.35 var(--font-body); margin: 0 0 4px; }

/* Numbered (before): number, serif title, sentences */
.ed-key--full { border-top: 2px solid var(--ink); }
.ed-key--full li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.ed-key--full h3 { font-size: 19px; line-height: 1.3; margin: 2px 0 6px; }

/* Arrival steps (3 across); the global "Numbered steps" option (left / center) still applies */
.ed-steps { max-width: none; }

/* ---------------------------------------------------------
   Impound + self-scheduling: two columns split by a rule
   --------------------------------------------------------- */
.ed-build { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-build__col { padding: 4px 48px 0 0; }
.ed-build__col + .ed-build__col { padding: 4px 0 0 48px; border-left: 1px solid var(--line); }
.ed-build h3 { font-size: 24px; margin-bottom: 10px; }
.ed-build p { color: var(--muted); font-size: 17.5px; margin: 0; }
.ed-build__btn { margin-top: 40px; }

/* ---------------------------------------------------------
   Dining: open columns (2px top rule, column dividers, as on Home)
   --------------------------------------------------------- */
.ed-food { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.ed-food__group { padding: 28px 36px 4px 0; }
.ed-food__group + .ed-food__group { padding-left: 36px; border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
/* small red label, like Home's "Start here" columns */
.ed-food h3 {
  display: block; font: 700 13px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 6px;
}
.ed-places { list-style: none; margin: 0; padding: 0; }
.ed-places li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.ed-places li:last-child { border-bottom: 0; padding-bottom: 0; }
.ed-places strong { font: 600 19px/1.3 var(--font-head); }
.ed-places span { color: var(--muted); font-size: 15.5px; }
.ed-places small { font-size: 14px; color: var(--muted); }
.ed-off p { margin: 12px 0 18px; color: var(--muted); }

/* ---------------------------------------------------------
   Awards
   --------------------------------------------------------- */
.ed-awards p { color: var(--muted); font-size: 18px; }
.ed-awards .framed img { aspect-ratio: 4 / 3; }
.ed-awards__note { margin: 6px 0 22px; }
.ed-awards__note p { color: var(--ink); font-size: 17px; margin: 0; }
.ed-awards__last { margin: 0; }

/* ---------------------------------------------------------
   Who to contact: columns like Impound (a heading and one sentence per column, split by thin rules)
   --------------------------------------------------------- */
.ed-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-contact--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-contact__col { padding: 4px 40px 0 0; }
.ed-contact__col + .ed-contact__col { padding-left: 40px; border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.ed-contact h3 { font-size: 24px; margin-bottom: 10px; }
.ed-contact p { margin: 0; color: var(--muted); font-size: 17.5px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------
   Section alignment: every heading on the left (decided Nov 22); the Awards photo sits on the right
   --------------------------------------------------------- */
@media (min-width: 981px) {
  .ed-awards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed-awards__img { order: 2; margin: 0 22px 22px 0; }
  .ed-awards__img::before { transform: translate(22px, 22px); }
}

@media (max-width: 980px) {
  .ed-schedule { grid-template-columns: 1fr; gap: 28px; }
  .ed-bring { grid-template-columns: 1fr; gap: 28px; }
  .ed-park { grid-template-columns: 1fr; gap: 28px; }
  .ed-map { min-height: 0; height: 380px; }
  .ed-build { grid-template-columns: 1fr; row-gap: 0; }
  .ed-build__col { padding: 0; }
  .ed-build__col + .ed-build__col { margin-top: 32px; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }

  .ed-food { grid-template-columns: 1fr; max-width: 620px; }
  .ed-food__group, .ed-food__group + .ed-food__group { padding: 24px 0 26px; border-left: 0; }
  .ed-food__group + .ed-food__group { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }

  .ed-contact { grid-template-columns: 1fr; max-width: 620px; }
  .ed-contact__col, .ed-contact__col + .ed-contact__col { padding: 0; border-left: 0; }
  .ed-contact__col + .ed-contact__col { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

  /* phones and tablets: heading first, photo below, the same as every other section */
  .ed-awards .framed { max-width: 560px; order: 2; }
}

@media (max-width: 640px) {
  .section.ed-sec { padding: 56px 0; scroll-margin-top: 110px; }
  .section.ed-sec--first { padding-top: 36px; }
  .ed-head { margin-bottom: 26px; }
  .ed-head p { font-size: 16.5px; }

  .ed-jump { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 40px; }
  .ed-jump__links a { font-size: 15px; }
  html[data-ed-jump-look="divider"] .ed-jump__links { margin-left: -14px; row-gap: 10px; }
  html[data-ed-jump-look="divider"] .ed-jump__links a { padding: 0 14px; }
  html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump { gap: 0; align-items: stretch; }
  html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__label { padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__links { padding: 6px 4px; }
  html:is([data-ed-jump-look="bar"], [data-ed-jump-look="bararrows"]) .ed-jump__links a { padding: 8px 12px; }
  html[data-ed-jump-look="arrows"] .ed-jump__links { column-gap: 20px; }

  /* schedule keeps time + label side by side: the most-scanned part of the page */
  .ed-timeline li { grid-template-columns: 118px 1fr; gap: 12px; padding: 13px 14px; }
  .ed-timeline .schedule__when { font-size: 15px; white-space: normal; }
  .ed-timeline .schedule__when .placeholder-note { margin: 4px 0 0; }
  .ed-side p { font-size: 16.5px; }
  .ed-side__note { padding: 20px 20px 22px; }


  .ed-map { height: 300px; }
  .ed-map__road i { font-size: 11px; }
  .ed-map__pin { width: 30px; height: 30px; font-size: 13.5px; }
  .ed-map .ed-map__note { top: auto; bottom: 12px; left: 12px; right: 12px; }
  .ed-key p { font-size: 16px; }
  .ed-key--place li { gap: 14px; padding: 16px 0 18px; }
  .ed-key--full li { gap: 14px; padding: 18px 0 20px; }
  .ed-key--full h3 { font-size: 18px; }

  .ed-build h3, .ed-contact h3 { font-size: 21px; }
  .ed-build p, .ed-awards p, .ed-contact p { font-size: 16.5px; }
  .ed-build__col + .ed-build__col, .ed-contact__col + .ed-contact__col { margin-top: 26px; padding-top: 26px; }
}

/* keeps a short range such as "11–20" on one line */
.ed-nowrap { white-space: nowrap; }
