@charset "UTF-8";
/* LFNW colors */
/* functional colors */
/* functional sizes */
/* STRUCTURE */
/* top navigation menu - fixed to top of viewport collapses under 800px */
nav.top { position: fixed; width: 100%; min-height: 48px; padding-bottom: 16px; z-index: 1; display: flex; flex-wrap: nowrap; flex-direction: row; justify-content: flex-start; background: #304858; background: linear-gradient(to top, rgba(48, 72, 88, 0) 0%, #304858 16px); color: white; font-weight: 400; }

nav.top img#logo { height: 40px; margin: 4px 12px 4px 4px; }

nav.top label.menu { cursor: pointer; height: 48px; padding: 20px 8px; display: none; text-align: right; }

nav.top #side-menu { display: none; }

nav.top ul { list-style-type: none; margin: 0; padding: 0; max-width: 710px; display: flex; flex-wrap: nowrap; flex-direction: row; justify-content: flex-end; align-items: flex-end; }

nav.top ul li { color: inherit; text-align: right; padding: 14px 8px; line-height: 18px; font-size: 18px; }

nav.top ul li a { color: inherit; text-decoration: none; }

nav.top ul li a:hover { color: #e9b547; }

@media (max-width: 800px) { nav.top { justify-content: space-between; } nav.top label.menu { display: block; } nav.top label.menu .hamb-line { background: white; float: right; display: block; height: 2px; position: relative; width: 24px; } nav.top label.menu .hamb-line::before, nav.top label.menu .hamb-line::after { background-color: white; content: ''; display: block; height: 100%; position: absolute; transition: all .2s ease-out; width: 100%; } nav.top label.menu .hamb-line::before { top: 5px; } nav.top label.menu .hamb-line::after { top: -5px; } nav.top ul { flex-direction: column; justify-content: flex-start; display: none; } nav.top ul li { padding: 8px 14px; } #side-menu:checked ~ ul { display: block; } #side-menu:checked ~ .menu .hamb-line { background: transparent; } #side-menu:checked ~ .menu .hamb-line::before { transform: rotate(-45deg); top: 0; } #side-menu:checked ~ .menu .hamb-line::after { transform: rotate(45deg); top: 0; } }

/* Primary content area - effectively "body" */
body { min-height: 100vh; display: flex; flex-direction: column; flex-wrap: nowrap; font-family: 'Ubuntu', sans-serif; }

/* Section side-nav (Legacy, Policies, ...) — fixed column to the left of #content-area. Kept outside #content-area so <section> stays its direct child and the alternating-stripe/tree-mask CSS below (which targets that relationship) is unaffected. */
.side-nav { position: fixed; top: 48px; left: 0; width: 200px; height: calc(100vh - 48px); overflow-y: auto; z-index: 1; background: #304858; color: white; padding: 1.5rem 1rem; }

.side-nav ul { list-style-type: none; margin: 0; padding: 0; }

.side-nav li { margin: 0.75rem 0; }

.side-nav a { color: inherit; text-decoration: none; font-weight: bold; }

.side-nav a:hover { color: #e9b547; }

@media (max-width: 800px) { .side-nav { position: static; width: auto; height: auto; } }

#content-area.has-side-nav { margin-left: 200px; }

@media (max-width: 800px) { #content-area.has-side-nav { margin-left: 0; } }

#content-area { flex: 1; margin-top: 48px; display: flex; flex-direction: column; justify-content: flex-start; }

#content-area > section { position: relative; z-index: 0; background: #3e7f9e; color: white; }

#content-area > section:not(:first-of-type) { padding: 60px 0 0; }

#content-area > section:not(:first-of-type):before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 60px; background: white; mask: url("trees-negative.svg") repeat-x; -webkit-mask: url("trees-negative.svg") repeat-x; }

#content-area > section:nth-of-type(even) { padding: 60px 0 0; background-color: white; color: black; }

#content-area > section:nth-of-type(even):before { background-color: #3e7f9e; }

#content-area > section:nth-of-type(even) h1, #content-area > section:nth-of-type(even) h3, #content-area > section:nth-of-type(even) h5 { color: #77954a; }

#content-area > section:last-child { /* Absorbs any leftover vertical space in this flex column so its background (and the tree-line mask below) always reaches the footer, even when the page's content is shorter than the viewport — otherwise the gap shows through as plain background. */ flex: 1; padding-bottom: 60px; }

#content-area > section:last-child:after { content: ""; position: absolute; z-index: -1; bottom: 0; left: 0; right: 0; height: 60px; background: #77954a; mask: url("trees.svg") repeat-x; -webkit-mask: url("trees.svg") repeat-x; }

#content-area #header { display: flex; flex-direction: column; align-items: center; font-size: 120%; text-align: center; }

#content-area #sponsors > .content { align-items: stretch; }

#content-area #sponsors > .content > section { margin: 1rem; padding-bottom: 1rem; background: white; background: linear-gradient(to top, rgba(255, 255, 255, 0) 0, white 1rem); border-top: 1px solid silver; color: black; }

/* footer - at least at bottom of viewport, scrollable */
footer { padding: 1rem; background: #304858; background: linear-gradient(to bottom, #77954a 0%, #304858 75%); color: white; }

footer .content { display: flex; flex-direction: column; }

footer .content .link-list { flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; }

/* ELEMENTS */
h1, h2, h3, h4, h5, h6 { font-weight: 500; text-align: center; margin: 1rem 0.5rem 1rem 0.5rem; padding: 0; }

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { display: block; font-weight: 300; font-size: 75%; }

h1, h3, h5 { color: #e9b547; }

h1 { font-size: 2em; }

h2 { font-size: 1.8em; }

h3 { font-size: 1.6em; }

h4 { font-size: 1.4em; }

h5 { font-size: 1.2em; }

h6 { font-size: 1.0em; }

a { color: inherit; }

a:hover { color: #e9b547; }

img { max-width: 96vw; }

ul.link-list { list-style-type: none; margin: 0.5em; padding: 0; display: flex; flex-direction: column; }

ul.link-list li { display: block; margin: 0.5em; white-space: nowrap; }

ul.link-list li a { color: inherit; text-decoration: none; border-bottom: 1px solid; }

ul.link-list li a:hover { color: #e9b547; }

.cta-button { display: inline-block; color: black; background-color: #e9b547; text-decoration: none; font-size: 120%; padding: 0.5em 1em; margin: 0.5em; border: 2px solid #e9b547; border-radius: 0.5em; }

.cta-button:hover { color: black; border-color: black; }

.center { text-align: center; }

.right-align { text-align: right; align-self: flex-end; }

/* don't let contents get too wide */
.content { max-width: 1200px; margin: auto; }

div.sponsor { width: 360px; background-repeat: no-repeat; background-size: contain; background-position: center center; margin: 1rem; display: flex; flex-direction: column; justify-content: center; }

div.sponsor.rank-1 { width: 360px; height: 180px; }

div.sponsor.rank-2 { width: 331.2px; height: 165.6px; }

div.sponsor.rank-3 { width: 302.4px; height: 151.2px; }

div.sponsor.rank-4 { width: 273.6px; height: 136.8px; }

div.sponsor.rank-5 { width: 244.8px; height: 122.4px; }

div.sponsor.rank-6 { width: 216px; height: 108px; }

div.sponsor.rank-7 { width: 187.2px; height: 93.6px; }

div.sponsor img { width: 100%; }

dialog.modal { background-color: white; padding: 1rem; border-radius: 2em; border: 0; box-shadow: 0 0 1em rgba(0, 0, 0, 0.5); width: 80%; max-width: 800px; max-height: 100vw; overflow: scroll; /* for IOS Safari using dialog-polyfill */ position: fixed; top: 50%; transform: translate(0, -50%); /* end polyfill hacks */ }

dialog.modal::backdrop { background-color: rgba(0, 0, 0, 0.5); }

dialog.modal .backdrop { background-color: rgba(0, 0, 0, 0.5); }

dialog.modal .content .close-button { font-size: 3rem; line-height: 1.5rem; margin: 0 0 1rem; padding: 0; align-self: flex-end; color: black; text-decoration: none; }

dialog.modal .content .close-button:hover { color: #e9b547; }

dialog.modal .content img { width: 360px; max-width: 80%; height: 180px; object-fit: contain; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }

.gallery-item { margin: 0; }

.gallery-item a.open-modal { display: block; cursor: pointer; }

.gallery-item .gallery-thumb { display: block; width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.5); transition: transform 0.15s ease; }

.gallery-item a.open-modal:hover .gallery-thumb { transform: scale(1.03); }

.gallery-item figcaption { text-align: center; margin-top: 0.5rem; font-style: italic; }

dialog.gallery-modal .content svg { width: 100%; height: auto; border-radius: 0.5rem; }

.role-category { margin: 2rem 0 1rem; padding-bottom: 0.25rem; border-bottom: 2px solid #3e7f9e; color: #304858; }

.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1rem; }

.role-card { background: white; border-radius: 0.5em; padding: 1rem 1.25rem; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.5); border-top: 4px solid #77954a; }

.role-card h4 { margin: 0 0 0.4rem; color: #304858; }

.role-card .role-desc { font-size: 0.9rem; margin: 0 0 0.75rem; color: rgba(0, 0, 0, 0.7); }

.role-card .role-slots { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }

.role-card .role-slots li { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.3rem 0; border-top: 1px solid rgba(0, 0, 0, 0.08); }

.role-card .role-slots li:first-child { border-top: 0; }

.role-card .role-slots .slot-label { font-weight: bold; color: #3e7f9e; flex-shrink: 0; }

.role-card .role-slots .slot-value { text-align: right; }

.role-card .role-slots .slot-open { color: #cb9218; font-weight: bold; }

.role-card .role-slots .slot-optional { color: rgba(0, 0, 0, 0.4); font-style: italic; }

.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0; }

.policy-card { display: block; background: white; border-radius: 0.5em; padding: 1rem 1.25rem; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.5); border-top: 4px solid #3e7f9e; text-decoration: none; color: inherit; transition: transform 0.15s ease; }

.policy-card:hover { transform: translateY(-0.2em); color: inherit; }

.policy-card h4 { margin: 0 0 0.4rem; text-align: left; color: #304858; }

.policy-card .policy-desc { margin: 0; font-size: 0.9rem; color: rgba(0, 0, 0, 0.7); }

/* Shared board-member styling, used bare on the Legacy per-person pages (content/legacy/board/<person>/contents.lr) and re-specified more specifically inside .legacy-roster-card below for the roster grid. */
.board-avatar { display: block; width: 140px; height: 140px; margin: 0 auto 0.75rem; border-radius: 50%; object-fit: cover; }

.board-title { margin: 0 0 0.5rem; font-weight: bold; color: #3e7f9e; }

.board-meta { margin: 0 0 0.5rem; font-size: 0.85rem; color: rgba(0, 0, 0, 0.5); }

.board-bio { margin: 0; font-size: 0.9rem; font-style: italic; color: rgba(0, 0, 0, 0.6); }

.legacy-roster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }

.legacy-roster-card { display: block; text-align: center; background: white; border-radius: 0.5em; padding: 1.25rem; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.5); text-decoration: none; color: inherit; transition: transform 0.15s ease; }

.legacy-roster-card:hover { transform: translateY(-0.2em); color: inherit; }

.legacy-roster-card .board-avatar { margin-bottom: 0.75rem; }

.legacy-roster-card h4 { margin: 0 0 0.2rem; color: #304858; }

.legacy-roster-card .board-title { margin: 0 0 0.5rem; font-weight: bold; color: #3e7f9e; }

.legacy-roster-card .board-meta { margin: 0; font-size: 0.85rem; color: rgba(0, 0, 0, 0.5); }

.legacy-year-list { max-width: 700px; margin: 1.5rem auto; }

.legacy-year-entry { background: white; border-radius: 0.5em; padding: 1rem 1.25rem; margin-bottom: 1rem; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.5); border-left: 4px solid #77954a; }

.legacy-year-entry h3 { margin: 0 0 0.25rem; text-align: left; color: #304858; }

.legacy-year-entry .legacy-role { margin: 0 0 0.5rem; font-weight: bold; color: #3e7f9e; }

.legacy-year-entry p:last-child { margin: 0; }

.legacy-events-list { max-width: 900px; margin: 1.5rem auto; }

.legacy-event-row { display: block; background: white; border-radius: 0.5em; margin-bottom: 1rem; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.5); }

.legacy-event-row > summary { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1.25rem; cursor: pointer; list-style: none; }

.legacy-event-row > summary::-webkit-details-marker { display: none; }

.legacy-event-row > summary::before { content: "\25B8"; flex-shrink: 0; width: 0.75rem; color: rgba(0, 0, 0, 0.35); }

.legacy-event-row[open] > summary::before { content: "\25BE"; }

.legacy-event-row .legacy-event-year { flex-shrink: 0; width: 6.5rem; font-weight: bold; color: #304858; }

.legacy-event-row .legacy-event-notes { flex: 1; font-size: 0.9rem; color: rgba(0, 0, 0, 0.7); }

.legacy-event-row .legacy-event-detail { margin: 0 1.25rem 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.85rem; color: rgba(0, 0, 0, 0.75); }

.legacy-event-row .legacy-event-detail p { margin: 0 0 0.5rem; }

.legacy-event-row .legacy-event-detail p:last-child { margin-bottom: 0; }

.legacy-event-row .legacy-event-detail strong { color: #304858; }

.legacy-event-row.legacy-event-pending { border-left: 4px solid #e9b547; }

.legacy-event-row.legacy-event-dim .legacy-event-year { color: rgba(0, 0, 0, 0.5); }

@media (max-width: 700px) { .legacy-event-row > summary { flex-direction: column; align-items: flex-start; } }

section.columns > .content { /* display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */ gap: 1rem; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; }

section.rows > .content { display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; }

section.map .content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }

section.map .content > * { margin: 0 1rem; }

section.map .content > div.map { height: 400px; margin: 1rem 2rem; border-radius: 0.5rem; grid-column-start: span 2; }
