/* Building blocks shared by the public pages. Parts are separated by space, colour and photographs, not rules. */
.page { font-size: 1.0625rem; }
.page section[id] { scroll-margin-top: 96px; }
.page h2 { margin-bottom: .75rem; font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 800; }
.page h3 { font-size: 1.35rem; }
.section { padding: clamp(48px, 7vh, 80px) 0; }
.section-lead { max-width: 38em; margin-bottom: 2rem; color: var(--muted); font-size: 1.08rem; }
.section-source { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; }
.field-sky { background: var(--sky); }
.field-ink { background: var(--ink); color: #fff; }
.field-ink h2, .field-ink h3 { color: #fff; }
.field-ink .section-lead { color: #c6d6ef; }
.field-ink .section-source { color: #a9bfe0; }
.field-ink :focus-visible { outline-color: #fff; }

.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.photo-wide { aspect-ratio: 16 / 10; }

/* A photograph with a title and text; the whole block opens the linked page. */
.photo-link { position: relative; display: flex; flex-direction: column; height: 100%; }
.photo-link .photo { aspect-ratio: 4 / 3; margin-bottom: 1rem; transition: filter .2s ease; }
.photo-link:hover .photo { filter: brightness(1.06) saturate(1.08); }
.photo-link h3 { margin-bottom: .4rem; }
.photo-link p { margin-bottom: .75rem; color: var(--muted); }
.photo-link .photo-link-action { margin-top: auto; color: var(--navy); font-weight: 700; text-decoration: none; }
.photo-link:hover .photo-link-action { text-decoration: underline; text-underline-offset: 5px; }

/* Questions. */
.faq { --bs-accordion-border-width: 0; --bs-accordion-bg: transparent; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-btn-padding-x: 1.1rem; --bs-accordion-body-padding-x: 1.1rem; }
.faq .accordion-item { margin-bottom: .5rem; overflow: hidden; border-radius: 12px; background: var(--mist); }
.faq .accordion-button { color: var(--ink); font-size: 1.05rem; font-weight: 700; line-height: 1.4; box-shadow: none; }
.page .faq h3 { margin: 0; }
.faq .accordion-button:focus-visible { outline: 3px solid #2f78e0; outline-offset: -3px; }
.faq .accordion-body { padding-top: 0; }

/* Closing invitation: a green direction sign with a photograph. */
.closing { padding: clamp(40px, 6vh, 72px) 0; }
.closing-sign { overflow: hidden; border: 4px solid #fff; border-radius: 22px; background: #0e6b45; color: #fff; outline: 6px solid #0e6b45; }
.closing-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 52px); }
.page .closing-sign h2, .closing-sign h2 { color: #fff; }
.closing-sign p { max-width: 30em; margin-bottom: 1.5rem; }
.closing-sign img { display: block; width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
.closing-sign .btn-on-dark { --bs-btn-color: #0e6b45; }
.closing-sign .btn-on-dark:hover { color: #fff; }
.closing-sign :focus-visible { outline-color: #fff; }

/* Covered, depends, not covered. */
.verdict { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.verdict-yes { color: var(--leaf); }
.verdict-maybe { color: #8a5a00; }
.verdict-no { color: #b3161c; }
