/* Local additions on top of the city template (template.css). */
html { scroll-behavior: smooth; }
section[id], #warmup, #mainContent { scroll-margin-top: 90px; }

/* Header */
.topbar2 .caret { font-size: 11px; }
.searchSocial .eventflag { margin-right: auto; font-weight: 500; color: #18693D; align-self: center; }
@media (min-width: 900px) {
  .searchSocial { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
}
.searchSocial .newSocialTools { margin: 0; font-size: 28px; }
.searchSocial .newSocialTools a { color: #1877F2; }
.pill { display: inline-block; background: #2C5192; color: #fff; border-radius: 30px; padding: 10px 22px; font-weight: 700; text-decoration: none; }
.pill:hover, .pill:focus { background: #2C356C; color: #fff; }
.pill.hero { margin-top: 12px; background: #fff; color: #1C4690; }
.pill.hero:hover { color: #fff; background: #2C356C; }

/* Quick-link circles use icon fonts instead of PNGs */
.filmstrip_owl .circleicon { font-size: 34px; margin-bottom: 4px; transition: transform .3s; }
.filmstrip_owl a:hover .circleicon { transform: scale(1.15); }
.filmstrip_arrowwrap button { cursor: pointer; }

/* Home highlights */
.bigCarouselTitle { text-align: center; }
.highlights { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 20px; max-width: 1200px; margin: 0 auto; }
.highlight { display: block; background: #fff; box-shadow: 0 0 8px #00000055; border-radius: 5px; overflow: hidden; text-align: center; color: #202020; font-weight: 700; text-decoration: none; }
.highlight img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.highlight span { display: block; padding: 18px; }

/* Event page */
.inner .eventhero.singlepic { height: 340px; position: relative; display: flex; align-items: center; justify-content: center; }
.inner .eventhero::before { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 45, .68); }
.inner .eventhero .description { position: relative; inset: auto; transform: none; text-align: center; color: #fff; padding: 0 16px; background: none; width: auto; }
.inner .eventhero h1 { color: #fff; font: italic 700 clamp(46px, 9vw, 84px)/1.1 'Crimson Pro', serif; text-transform: none; }
.eventpage { max-width: 1000px; margin: 0 auto; padding: 24px 16px 60px; color: #202020; }
.eventpage section { margin-top: 44px; }
.eventpage h2 { margin-bottom: 14px; }
.eventpage h3 { margin: 18px 0 6px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.jump a, .btn { display: inline-block; border: 2px solid #1C4690; border-radius: 5px; padding: 8px 16px; color: #1C4690; font-weight: 700; text-decoration: none; }
.jump a:hover, .btn:hover { background: #2C5192; color: #fff; }
.notice { margin-top: 18px; text-align: center; font-size: 14px; color: #555; }

table.sched { width: 100%; border-collapse: collapse; }
.sched th { background: #1C4690; color: #fff; text-align: left; padding: 10px; }
.sched td { padding: 10px; border-bottom: 1px solid #d9d9d9; vertical-align: middle; }
.sched tbody tr:nth-child(even) { background: #f4f6fa; }
.sched small { display: block; color: #555; font-style: italic; }
.sched .time { white-space: nowrap; font-weight: 700; color: #18693D; }
.sched .num { text-align: center; width: 60px; }
a.stop { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid #202020; border-radius: 50%; color: #202020; background: #fff; font-weight: 700; text-decoration: none; }
a.stop:hover, a.stop:focus { background: #9D1B1B; border-color: #9D1B1B; color: #fff; }

.mapscroll { overflow-x: auto; border: 1px solid #d9d9d9; border-radius: 5px; }
.mapwrap { position: relative; min-width: 900px; }
.mapwrap img { display: block; width: 100%; height: auto; }
#marker { position: absolute; width: 4.6%; aspect-ratio: 1; translate: -50% -50%; border: 4px solid #D32F2F; border-radius: 50%; background: rgba(211, 47, 47, .2); animation: pulse 1.2s ease-in-out infinite; transition: left .4s, top .4s; }
#marker[hidden] { display: none; }
@keyframes pulse { 50% { scale: 1.35; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #marker { animation: none; transition: none; } }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.twoup { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.supporters { columns: 2 260px; }

/* Phone: schedule rows become cards */
@media (max-width: 640px) {
  .sched thead { display: none; }
  .sched tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid #d9d9d9; }
  .sched td { border: 0; padding: 2px 8px; }
  .sched .time, .sched .what, .sched .where { grid-column: 1; }
  .sched .num { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}

/* Beat the template's link and capitalization rules */
.home .singlepic .description a.pill.hero { color: #1C4690; text-shadow: none; font-size: 16px; }
.home .singlepic .description a.pill.hero:hover { color: #fff; text-decoration: none; }
.box.promotion.B_PR .headlineDisplay h3 a { text-transform: none; }

/* Desktop dropdown: CSS only, works with mouse and keyboard */
nav.horizontal.menu > ul > li:hover > ul,
nav.horizontal.menu > ul > li:focus-within > ul { display: block; z-index: 1001; top: 100%; }

.home .singlepic .description a.pill.hero { text-decoration: none; }
@media (max-width: 640px) {
  .home .singlepic { height: 460px; position: relative; }
  .home .singlepic .description { top: 28px; bottom: auto; left: 20px; right: 20px; transform: none; }
  .home .singlepic .description h1 { font-size: 48px; line-height: 1.1; }
  .home .singlepic .description h1 span { font-size: 15px; }
}

/* Template uses a Font Awesome Pro glyph for the dropdown pointer; use the free solid face */
nav.horizontal.block > ul > li > ul::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f0d8"; }
