/* =========================================================================
   Sooner Model A Club — site styles
   Colors and fonts match the original WordPress site:
     yellow buttons #fcc329, orange accent #ec7321, gray bands, PT Sans headings.
   ========================================================================= */

:root {
  --yellow: #fcc329;
  --yellow-dark: #e5ab0c;
  --orange: #ec7321;
  --orange-dark: #b9530f;     /* orange dark enough for text on white */
  --ink: #222;
  --heading: #333;
  --muted: #5f5f5f;
  --line: #d9d9d9;
  --band: #ececec;
  --white: #fff;
  --navy: #07192f;
  --max: 1140px;
  --radius: 6px;
  --head: "PT Sans", "Trebuchet MS", sans-serif;
  --body: Helvetica, Verdana, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
/* Anything marked "hidden" stays hidden, even pictures (the rule above would otherwise show them). */
[hidden] { display: none !important; }
picture { display: block; }
a { color: var(--orange-dark); text-underline-offset: 2px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.print-only { display: none; }

.preview-banner { background: var(--navy); color: #fff; text-align: center; font-size: .9rem; padding: 6px 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--yellow); color: #000; border: 0; border-radius: 0; padding: 10px 18px;
  font: 15px/1.3 var(--body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover, .btn:focus-visible { background: var(--yellow-dark); color: #000; }
.btn-outline { background: transparent; box-shadow: inset 0 0 0 2px var(--yellow-dark); }
.btn-outline:hover { background: var(--yellow); }
.btn-join { white-space: nowrap; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.chip { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 5px 12px; margin: 0 6px 8px 0; font: 14px/1.3 var(--body); text-decoration: none; cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow-dark); color: #000; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid #e3e3e3; position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 100px; }
.brand img { width: 120px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; white-space: nowrap; padding: 4px 0; display: inline-block; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 30px; height: 3px; background: #111; position: relative; margin: 0 auto; content: ""; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -9px; }
.nav-toggle .bars::after { position: absolute; top: 9px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-inner { min-height: 84px; gap: 12px; }
  .brand img { width: 100px; }
  .btn-join { margin-left: auto; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e3e3e3;
    box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 20px 16px; gap: 0; }
  .main-nav li + li { border-top: 1px solid #eee; }
  .main-nav a { display: block; padding: 12px 0; font-size: 18px; }
}

/* ---------- Bands and sections ---------- */
.band { padding: 56px 0; }
.band-gray { background: var(--band); }
.section-title { font-size: 30px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
.section-head h1 { margin: 0; }
.section-links a { margin-left: 16px; font-size: 15px; }
.section-links a:first-child { margin-left: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-media.center img { margin: 0 auto; }
.rounded img, img.rounded { border-radius: var(--radius); }
.two-col { columns: 2 340px; column-gap: 48px; }
.two-col p { break-inside: avoid; }
.two-col + p { margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--orange-dark); font-weight: bold; margin: 0 0 4px; display: block; }
.breadcrumb { font-size: 15px; color: var(--muted); }
@media (max-width: 800px) {
  .band { padding: 40px 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 26px; }
}

/* ---------- Home hero ---------- */
.hero, .page-hero { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; text-align: center; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.41); }
.hero-inner, .page-hero .wrap { position: relative; }
/* Home banner: on very wide screens the banner grows a little taller and the
   photo is framed so the cars' roofs aren't cut off. */
.hero { background-position: 65% 86%; min-height: min(32vw, 680px); display: flex; flex-direction: column; justify-content: center; }
.hero-inner { padding: 80px 20px 90px; }
@media (min-width: 900px) { .hero-inner { padding: 150px 20px 210px; } }
.hero-title { color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 700; text-transform: uppercase; margin-bottom: 28px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: center; }
.page-hero { background-color: #3d3d3d; background-image: url("../../media/site/home-hero-wide.jpg"); background-position: 65% 75%; }
.page-hero .wrap { padding: 46px 20px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0; }

/* ---------- Events ---------- */
.month-title { font-size: 28px; text-decoration: underline; text-underline-offset: 5px; margin: 28px 0 12px; }
.event-list { list-style: none; margin: 0; padding: 0; }
.event { margin: 0 0 10px; }
.event p { margin: 0; }
.event-notes { color: #333; }
.event.is-past { display: none; }
.event-month.is-empty { display: none; }

/* ---------- Printable calendar ---------- */
.calendar-tools { margin-bottom: 24px; }
.tool-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.view-toggle { margin-left: auto; }
.view-toggle .chip { margin: 0 0 0 6px; }
.cal-month { margin-bottom: 40px; }
.cal-month-title { font-size: 28px; border-bottom: 3px solid var(--yellow); padding-bottom: 6px; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 20px; }
.cal-grid th { background: var(--navy); color: #fff; font: 700 14px var(--head); padding: 6px; }
.cal-grid td { border: 1px solid #cfcfcf; vertical-align: top; height: 96px; padding: 4px 5px; font-size: 13px; line-height: 1.3; }
.cal-grid td.empty { background: #f6f6f6; }
.cal-grid td.has-events { background: #fff8e1; }
.cal-day { display: block; font-weight: bold; color: #555; margin-bottom: 2px; }
.cal-event { display: block; margin-bottom: 3px; }
.calendar[data-view="list"] .cal-grid { display: none; }
.calendar[data-view="grid"] .cal-details { display: none; }
@media (max-width: 700px) {
  .calendar .cal-grid { display: none; }
  .calendar .cal-details { display: block !important; }
  .view-toggle { display: none; }
}

/* ---------- President's Message ---------- */
.pm-latest { margin-bottom: 48px; border-top: 5px solid var(--yellow); }
.pm-latest h2 { font-size: 30px; }
.prose { max-width: 70ch; }
.year-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.year-group > summary { cursor: pointer; padding: 14px 18px; font: 700 22px var(--head); display: flex; align-items: center; gap: 12px; list-style: none; }
.year-group > summary::-webkit-details-marker { display: none; }
.year-group > summary::before { content: "▸"; color: var(--orange); transition: transform .15s; }
.year-group[open] > summary::before { transform: rotate(90deg); }
.year-group .count { font: 400 14px var(--body); color: var(--muted); }
.pm-list { padding: 0 18px 12px; }
.pm-item { border-top: 1px solid #eee; }
.pm-item > summary { cursor: pointer; padding: 10px 0; font-size: 17px; color: var(--orange-dark); }
.pm-item[open] > summary { font-weight: bold; }
.pm-item .prose { padding: 4px 0 12px 18px; border-left: 3px solid var(--yellow); margin-bottom: 12px; }

/* ---------- Scuttlebutt ---------- */
.sb-top { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.sb-latest { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; text-decoration: none; color: var(--ink); }
.sb-latest:hover { border-color: var(--yellow-dark); color: var(--ink); }
.sb-latest img { border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.sb-latest strong { display: block; font: 700 24px var(--head); margin-bottom: 12px; }
.sb-search input { width: 100%; font-size: 18px; padding: 14px 16px; border: 2px solid #bbb; border-radius: var(--radius); background: #fff; }
.sb-search input:focus { border-color: var(--orange); outline: none; }
.sb-status { margin-top: 10px; }
.sb-search-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 8px; }
.sb-search-row .sb-feature { order: -1; }
.sb-search-main .section-title { margin-top: 0; }
.sb-feature { margin: 0; }
.sb-feature img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.sb-feature figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.35; }
@media (max-width: 760px) {
  .sb-search-row { grid-template-columns: 1fr; gap: 20px; }
  .sb-search-row .sb-feature { order: 0; max-width: 240px; margin: 0 auto; }
}
.sb-results { list-style: none; padding: 0; margin: 0; }
.sb-results li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.sb-results img { width: 64px; border: 1px solid var(--line); }
.sb-results h3 { margin: 0 0 4px; font-size: 19px; }
.sb-results .snip { margin: 0 0 4px; font-size: 15px; color: #333; }
.sb-results mark { background: #ffe58a; padding: 0 1px; }
.month-grid { list-style: none; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.month-btn { display: block; text-align: center; padding: 10px 4px; background: var(--yellow); color: #000; text-decoration: none; font-size: 15px; }
.month-btn:hover { background: var(--yellow-dark); color: #000; }
.month-btn.is-empty { background: #f1f1f1; color: #9a9a9a; }
.cover-peek { position: fixed; z-index: 60; width: 160px; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); border: 1px solid #ccc; background: #fff; }
@media (max-width: 900px) { .sb-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .month-grid { grid-template-columns: repeat(3, 1fr); } .sb-latest { grid-template-columns: 110px 1fr; } }

/* ---------- Gallery ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.tile { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tile-label { display: block; padding: 14px 16px; font: 700 20px var(--head); text-align: center; }
.album-index { margin: 8px 0 24px; }
.album { margin-bottom: 44px; scroll-margin-top: 120px; }
.album-title { font-size: 26px; border-bottom: 3px solid var(--yellow); padding-bottom: 6px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.photo { display: block; overflow: hidden; border-radius: 4px; background: #ddd; }
.photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .25s; }
.photo:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: rgba(0,0,0,.92); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox img { max-height: calc(100vh - 110px); width: auto; }
.lightbox figcaption { color: #eee; margin-top: 10px; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 42px; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.video { margin: 0; }
.video-play, .video iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; position: relative; background: #000; cursor: pointer; overflow: hidden; border-radius: 4px; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%,-50%); background: #e00; border-radius: 12px; }
.play-icon::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video figcaption { margin-top: 8px; font-size: 15px; }
.banner-image img { width: 100%; max-height: 300px; object-fit: cover; }
/* 1000 Mile Challenge: show the mountains at the top of the open-road photo */
.banner-show-top img { max-height: 340px; object-position: center 15%; }

/* ---------- Forms ---------- */
.club-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 6px; margin: 0 0 20px; background: #fff; }
.club-form legend { font: 700 18px var(--head); padding: 0 6px; }
.club-form label { display: block; font-weight: bold; font-size: 15px; margin-bottom: 14px; }
.club-form .label { font-weight: bold; font-size: 15px; margin: 0 0 4px; }
.club-form input:not([type=radio]), .club-form select, .club-form textarea { display: block; width: 100%; margin-top: 4px; font: 16px var(--body); padding: 10px 12px; border: 1px solid #b5b5b5; border-radius: 4px; background: #fff; font-weight: normal; }
.club-form input:focus, .club-form select:focus, .club-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(236,115,33,.25); }
.club-form .invalid { border-color: #c62828 !important; background: #fff6f6 !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.radio-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.club-form label.radio { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; margin: 0; }
.club-form label.radio input { width: 18px; height: 18px; }
.hp { position: absolute; left: -5000px; }
.form-status { font-weight: bold; min-height: 1.5em; }
.form-status.ok { color: #1b5e20; }
.form-status.err { color: #b71c1c; }
.pay-step { margin-top: 24px; border-top: 5px solid var(--yellow); }
/* PayPal's buttons set their own high z-index; keep them below the sticky header. */
.paypal-box { max-width: 380px; margin: 16px 0; position: relative; z-index: 0; isolation: isolate; }
.paypal-placeholder { border: 2px dashed var(--yellow-dark); padding: 18px; text-align: center; background: #fffbea; margin: 16px 0; max-width: 380px; }
.dues-cards { display: flex; flex-wrap: wrap; gap: 14px; }
.dues { flex: 1 1 180px; background: var(--band); padding: 14px 16px; border-left: 5px solid var(--yellow); }
.dues b { font: 700 28px var(--head); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 12px; }
.contact-list .icon { width: 28px; height: 28px; flex: none; background: var(--yellow); border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
@media (max-width: 640px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }

.social-link { display: inline-block; line-height: 0; }
.social-link img { width: 36px; height: 36px; display: block; transition: transform .15s; }
.social-link:hover img, .social-link:focus-visible img { transform: scale(1.1); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid #e3e3e3; padding: 40px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 100px; margin-bottom: 10px; }
.footer-nav { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-nav a { color: var(--ink); text-decoration: none; line-height: 2; }
.footer-nav a:hover { color: var(--orange); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eee; margin-top: 28px; padding: 16px 20px 20px; color: var(--muted); font-size: 14px; }
.footer-legal p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
  @page { margin: 0.5in; }
  body { font-size: 11pt; }
  .site-header, .site-footer, .preview-banner, .page-hero, .no-print, .skip-link { display: none !important; }
  .print-only { display: inline; }
  p.print-only { display: block; }
  .band { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .cal-month { page-break-after: always; break-after: page; }
  .cal-grid td { height: 0.95in; font-size: 9pt; }
  .cal-grid th { background: #ddd !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cal-grid td.has-events { background: #fff !important; }
  .calendar[data-view="grid"] .cal-details { display: none !important; }
  .calendar[data-view="list"] .cal-month { page-break-after: auto; break-after: auto; }
  a { color: #000; text-decoration: none; }
}

/* Join page: matches the old site's layout (photo beside text, centered PayPal) */
.join-photo { display: flex; justify-content: center; }
.join-photo img { width: 300px; max-width: 100%; aspect-ratio: 1; object-fit: cover; }
.paypal-center .paypal-box, .paypal-center .paypal-placeholder { max-width: 530px; margin: 24px auto; }

/* Join page: choose a path, numbered steps, renew options, MAFCA box */
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.path-card { display: block; text-decoration: none; color: #000; background: var(--yellow); padding: 18px 18px 16px; border-radius: var(--radius); transition: background .15s, transform .15s; }
.path-card:hover, .path-card:focus-visible { background: var(--yellow-dark); color: #000; transform: translateY(-2px); }
.path-who { display: block; font-size: 15px; margin-bottom: 4px; }
.path-go { display: block; font: 700 21px var(--head); }
#new, #renew, #update, #mafca { scroll-margin-top: 110px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 8px; margin: 22px 0; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 14px; }
.step-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 18px var(--head); }
.step .club-form fieldset { background: var(--band); }
.step-wait { color: var(--muted); font-style: italic; }
.form-done { font-weight: bold; color: #1b5e20; }
.renew-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 34px; }
.renew-ways h3 { font-size: 20px; }
.renew-ways .paypal-box, .renew-ways .paypal-placeholder { margin: 8px 0 12px; max-width: none; }
.update-box { border-top: 1px solid var(--line); padding-top: 28px; }
.update-box h3 { font-size: 22px; }
.mafca-box { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 0; padding: 22px 24px 8px; }
.mafca-box .section-title { font-size: 24px; }
@media (max-width: 700px) { .path-cards, .renew-ways { grid-template-columns: 1fr; } }

/* Home page history: early club photo beside the story */
.history { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; }
.history-photo { margin: 6px 0 0; }
.history-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.history + p { margin-top: 24px; }
@media (max-width: 760px) { .history { grid-template-columns: 1fr; } .history-photo { max-width: 320px; margin: 0 auto; } }

/* Calendar: help for subscribing on a phone */
.cal-help { margin: 4px 0 24px; max-width: 760px; }
.cal-help summary { cursor: pointer; color: var(--orange); font-weight: 700; }
.cal-help h3 { font-size: 18px; margin: 16px 0 6px; }
.cal-help ol { margin: 0 0 8px; padding-left: 22px; }
.cal-help li { margin-bottom: 4px; }
.cal-help code { word-break: break-all; background: #f3f3f3; padding: 2px 6px; border-radius: 4px; }

/* Join form: Model A details dim out when "Do you own a Model A Ford?" is No */
.model-a-details.is-off { opacity: .45; }
.model-a-details.is-off * { cursor: not-allowed; }
/* Keep a step's heading clear of the sticky menu bar when scrolled to */
.step { scroll-margin-top: 120px; }
