/* Public pages build on the homepage's four type styles. CMS uses site.css only. */
main { min-height: 65vh; padding: 48px 0 64px; }
header nav, .actions, .contact, .series { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 24px; }
.brand { font: var(--highlight); color: var(--ink); text-decoration: none; }
h3, button, .button, summary { font: var(--highlight); }
h3 { margin: 0 0 8px; }
h2 { margin: 0 0 24px; }
.eyebrow, .meta, .intro, small, time { font: var(--body); }
.eyebrow { margin-bottom: 16px; }
.intro, .description { max-width: 720px; }
section { margin: 40px 0; }
.page-introduction { margin: 0 0 40px; }
.page-introduction h1 { margin-top: 16px; }
.section-row { margin: 0; border-top: 1px solid var(--line); }
.section-row > div { min-width: 0; }
.actions { margin: 28px 0; }
.contact { margin: 28px 0; }
button, .button { display: inline-block; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; background: transparent; border: 0; border-radius: 0; padding: 10px 0; cursor: pointer; }
button:hover, .button:hover { text-decoration-thickness: 2px; }
form { margin: 0; }
label { display: block; margin-bottom: 8px; }
input, select, textarea { display: block; width: 100%; max-width: 600px; min-width: 0; font: var(--body); color: var(--ink); background: white; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 12px 0; margin: 8px 0 24px; }
textarea { min-height: 140px; }
input[type=checkbox] { display: inline-block; width: auto; margin: 0 12px 0 0; }
.field { margin: 24px 0; }
small { display: block; }
.editor, main > form { max-width: 640px; }
.errorlist { padding-left: 24px; }
.errorlist, .notice { font: var(--highlight); }
.notice { padding: 20px 24px; background: #e8f3ef; border-block: 1px solid var(--line); margin: 24px 0; }
nav.notice { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.event-list { margin: 0; }
.event-row { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 32px; border-top: 1px solid var(--line); padding: 28px 0; }
.event-row:first-child { border-top: 0; padding-top: 0; }
.event-row time { display: block; }
.event-row time strong { margin-right: 6px; }
.event-row h2 { margin: 8px 0 12px; }
.event-row p { margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row > * { min-width: 0; }
.row .subscribe { flex-basis: 100%; }
.series { margin: 0 0 32px; }
details { margin: 24px 0; }
summary { color: var(--accent); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: .2em; padding: 10px 0; }
summary::-webkit-details-marker { display: none; }
.subscribe { padding: 24px 0; border-top: 1px solid var(--line); }
.subscribe p { margin-top: 16px; max-width: 720px; }
.subscribe a { display: block; margin-top: 16px; }
.subscribe label { max-width: 720px; }
.contributor-profile { display: flex; gap: 24px; align-items: flex-start; margin: 24px 0; }
.contributor-profile p { margin-bottom: 12px; }
.contributor-image { width: 80px; height: 80px; object-fit: cover; }
.logo { max-width: min(300px, 100%); max-height: 300px; width: auto; height: auto; margin-bottom: 24px; }
.series-image { display: block; max-width: 100%; max-height: 300px; margin: 24px 0; }
#map { height: 300px; margin-top: 24px; }
footer { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  main { padding: 32px 0 48px; }
  header { align-items: flex-start; }
  header nav { gap: 8px 20px; }
  .event-row { grid-template-columns: 1fr; gap: 8px; }
  .event-row time { font: var(--highlight); }
  .contributor-profile { flex-wrap: wrap; }
  footer { flex-direction: column; gap: 8px; }
}
.section-row > div > .subscribe:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

.public-site[style] input, .public-site[style] textarea, .public-site[style] select { background: var(--paper); }
.public-site[style] .notice { --ink: #202827; --accent: #176b64; color: var(--ink); }

.getting-started-section ul, .getting-started-section ol { margin: 0 0 24px; padding-left: 24px; }
.getting-started-section li + li { margin-top: 12px; }
.developer-guide { max-width: 780px; margin: 0 auto; }
.developer-guide h2 { margin-top: 40px; }
.developer-guide pre { max-width: 100%; overflow-x: auto; padding: 16px 0; font-size: .9rem; line-height: 1.6; }
.developer-guide code { overflow-wrap: anywhere; }
.developer-guide pre code { overflow-wrap: normal; }
.developer-guide nav { margin: 24px 0; }

#help-calendar-url { box-sizing:border-box; max-width:none; border:1px solid var(--brand-control-border); border-radius:6px; padding:12px 14px; background:var(--brand-surface); }
