@font-face {
    font-family: Lithograph;
    src: url('../fonts/Lithograph-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Lithograph;
    src: url('../fonts/Lithograph-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
:root {
    --forest: #003300;
    --green: #244a32;
    --yellow: #fff000;
    --paper: #f6f4eb;
    --ink: #203527;
    --muted: #606b5f;
    --line: #dcded1;
    --white: #fffefa;
    --width: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: var(--forest); text-underline-offset: 4px; }
a:hover { color: #477144; }
img, svg, video { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, .button, input[type='submit'] { cursor: pointer; }
button, .button, input[type='submit'] { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--forest); background: var(--forest); color: var(--white); border-radius: 3px; padding: 10px 19px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.5; }
button:hover, .button:hover, input[type='submit']:hover { background: var(--green); color: white; }
input:not([type='checkbox']):not([type='radio']):not([type='submit']), select, textarea { min-height: 42px; border: 1px solid #bec5b5; border-radius: 3px; background: var(--white); color: var(--ink); padding: 8px 12px; max-width: 100%; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--forest); }
textarea { width: 100%; }
select { cursor: pointer; }
:focus-visible { outline: 3px solid #7c6600; outline-offset: 4px; }
button:focus-visible, .yellow-button:focus-visible { outline-offset: 5px; }
.archive-hero :focus-visible { outline-color: white; }
[hidden] { display: none !important; }
.sr-only, #skipnav:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#skipnav:focus { position: fixed; z-index: 100; left: 16px; top: 16px; background: var(--yellow); color: var(--forest); padding: 10px 20px; }
h1, h2, h3, h4 { color: var(--forest); line-height: 1.15; margin: 0 0 20px; overflow-wrap: anywhere; }
h1, h2 { font-family: Lithograph, 'Arial Black', Arial, sans-serif; font-weight: 700; }
h1 { font-size: clamp(32px, 4vw, 54px); }
h2 { font-size: clamp(28px, 3vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 18px; }
.eyebrow { font: 700 11px/1.5 Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 13px; }
.site-header { border-top: 5px solid var(--yellow); background: var(--white); }
.header-inner { max-width: var(--width); margin: auto; min-height: 112px; padding: 20px 30px; display: flex; align-items: center; gap: 34px; }
.site-brand { flex: 0 0 auto; color: var(--forest); text-decoration: none; }
.brand-kicker { display: block; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: 2.7px; margin: 0 0 3px 2px; }
.brand-name { display: flex; align-items: baseline; gap: 12px; font: 700 34px/1.2 Lithograph, 'Arial Black', sans-serif; }
.brand-archive { font: 400 20px/1.2 Lithograph, Arial, sans-serif; }
.brand-logo { max-width: 300px; max-height: 80px; width: auto; object-fit: contain; }
#top-nav { margin-left: auto; }
#top-nav ul { display: flex; gap: 26px; padding: 0; margin: 0; list-style: none; }
#top-nav li { position: relative; }
#top-nav a { position: relative; display: inline-block; padding: 14px 0; text-decoration: none; font-size: 14px; font-weight: 700; }
#top-nav > ul > li.active > a::after, #top-nav > ul > li > a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--yellow); }
#top-nav ul ul { display: none; position: absolute; top: 100%; left: -15px; min-width: 200px; background: var(--white); border: 1px solid var(--line); padding: 8px 16px; z-index: 20; box-shadow: 0 8px 24px #00330012; }
#top-nav ul ul.open, #top-nav li:hover > ul, #top-nav li:focus-within > ul { display: block; }
#top-nav ul ul ul { left: 100%; top: 0; }
#top-nav ul ul a { padding: 8px 0; }
.child-toggle { background: transparent; color: var(--forest); border: 0; padding: 6px; margin-left: 5px; }
.group-link { padding-left: 26px; border-left: 1px solid var(--line); white-space: nowrap; font-size: 12px; text-decoration: none; color: var(--muted); }
.group-link span { padding-left: 8px; }
#mobile-nav-toggle { display: none; }
/* The map contours and paper edges frame the archive without competing with it. */
.archive-hero { position: relative; background: var(--forest) url('../img/contours.svg') center/cover; color: var(--white); isolation: isolate; }
.archive-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: var(--paper); clip-path: polygon(0 60%, 3% 80%, 7% 45%, 10% 70%, 14% 30%, 19% 65%, 23% 45%, 28% 80%, 34% 35%, 39% 65%, 45% 35%, 52% 70%, 60% 30%, 67% 60%, 74% 40%, 81% 80%, 88% 35%, 94% 65%, 100% 45%, 100% 100%, 0 100%); }
.hero-inner { max-width: var(--width); margin: auto; padding: 54px 30px 62px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero-copy .eyebrow { color: #d1dbbe; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; }
.tiny-star { color: var(--yellow); font-size: 21px; line-height: 1; }
.hero-copy h1 { margin: 0 0 22px; font-size: clamp(33px, 3.1vw, 46px); line-height: 1.18; color: var(--white); }
.hero-copy h1 span { color: var(--yellow); }
.hero-description { max-width: 490px; font-size: 16px; line-height: 1.8; color: #e0e7d8; margin-bottom: 27px; }
.yellow-button { background: var(--yellow); border-color: var(--yellow); color: var(--forest); padding: 12px 20px; gap: 40px; }
.yellow-button:hover { background: #fffa72; border-color: #fffa72; color: var(--forest); }
.hero-note { display: block; margin-top: 14px; font-size: 11px; color: #d1dbbe; }
.hero-keepsake { position: relative; margin: 8px 22px 16px 0; }
.polaroid { position: relative; display: block; padding: 13px 13px 19px; background: #fffdf1; color: var(--ink); transform: rotate(-4deg); text-decoration: none; box-shadow: 5px 10px 24px #0004; }
.polaroid::before { content: ''; position: absolute; inset: 8px -10px -7px 10px; background: #e4e2d5; border: 10px solid #f9f8ed; transform: rotate(8deg); z-index: -1; }
.polaroid img { display: block; width: 100%; aspect-ratio: 1.75; object-fit: cover; }
.polaroid-caption { display: block; margin: 13px 5px 2px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.polaroid-date { display: block; margin-left: 5px; color: var(--muted); font-size: 11px; }
.photo-tape { position: absolute; width: 108px; height: 31px; top: -13px; left: calc(50% - 54px); background: #ded5aacc; transform: rotate(2deg); clip-path: polygon(2% 0, 98% 4%, 96% 18%, 100% 30%, 96% 46%, 99% 60%, 96% 78%, 98% 98%, 0 100%, 3% 78%, 0 65%, 4% 43%, 0 20%); }
.archive-stamp { position: absolute; z-index: 2; top: -28px; right: -38px; width: 106px; height: 106px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 2px solid var(--yellow); border-radius: 50%; transform: rotate(12deg); color: var(--yellow); background: #003300e6; font-size: 8px; line-height: 1.3; text-transform: uppercase; letter-spacing: 1.5px; outline: 1px dashed #fff00088; outline-offset: -7px; }
.archive-stamp strong { font: 700 18px/1.05 Lithograph, Arial, sans-serif; margin: 4px 0; text-align: center; letter-spacing: .5px; }
.photo-note { position: absolute; bottom: -42px; right: 15px; color: #e2e4c5; font: 400 20px/1.2 Lithograph, Arial, sans-serif; transform: rotate(-6deg); }
.camp-keepsake { text-align: center; padding: 35px; border: 1px dashed #d1dbbe66; transform: rotate(-4deg); }
.camp-keepsake svg { width: 130px; display: block; margin: auto auto 22px; color: var(--yellow); }
.camp-keepsake span { font: 400 28px/1.2 Lithograph, Arial, sans-serif; }
/* Browse and search use the original Omeka queries, pagination and sorting. */
.archive-section { max-width: var(--width); padding: 45px 30px 58px; margin: auto; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 0 24px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 9px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: 36px; }
.section-note { margin: 0; color: var(--muted); font-size: 12px; text-align: right; line-height: 1.7; }
.archive-search-row { display: flex; align-items: center; gap: 30px; }
#search-form { display: flex; flex: 1; align-items: center; gap: 12px; padding: 5px 5px 5px 17px; background: var(--white); border: 1px solid #b5beaa; border-radius: 4px; }
#search-form .archive-icon { flex: 0 0 20px; width: 20px; height: 20px; color: var(--muted); }
#search-form input { border: 0; background: transparent; padding: 8px 0; width: 100%; min-width: 0; font-size: 14px; }
#search-form input::placeholder { color: #74806b; opacity: 1; }
#search-form input:focus { outline-offset: 0; }
#search-form button { padding: 11px 20px; min-height: 44px; white-space: nowrap; }
.advanced-search { white-space: nowrap; font-size: 12px; font-weight: 700; text-decoration: none; }
.advanced-search span { margin-left: 10px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 22px; }
.archive-filters a { border: 1px solid var(--line); padding: 6px 16px; border-radius: 3px; color: var(--green); font-size: 12px; font-weight: 700; text-decoration: none; }
.archive-filters a.active { border-color: var(--forest); background: var(--forest); color: var(--white); }
.archive-filters a:hover { border-color: var(--forest); }
.browse-controls { display: flex; align-items: center; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.pagination { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.pagination form { display: flex; align-items: center; gap: 7px; margin: 0; }
.pagination input { width: 44px; min-height: 32px !important; padding: 3px 4px !important; text-align: center; font-size: 12px; }
.pagination form:has(input[readonly]), .pagination:has(input[readonly]) .pagination-buttons { display: none; }
.pagination-buttons { display: flex; gap: 5px; }
.pagination .button { width: 30px; min-height: 30px; padding: 2px; }
.pagination .inactive { background: transparent; border-color: var(--line); color: #aab19f; }
.row-count { white-space: nowrap; color: var(--muted); }
.sorting { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; margin: 0 0 0 auto; }
.sorting-label { font-size: 11px; color: var(--muted); margin-right: 3px; }
.sorting select { min-height: 34px; padding: 5px 22px 5px 8px; font-size: 11px; border-color: var(--line); }
.sorting button { min-height: 34px; padding: 6px 11px; font-size: 11px; background: transparent; color: var(--forest); border-color: #b5beaa; }
.sorting button:hover { background: var(--forest); color: var(--white); }
.view-controls { display: flex; border: 1px solid var(--line); border-radius: 3px; padding: 3px; gap: 3px; }
.view-controls button { padding: 3px 7px; border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1.15; border-radius: 2px; }
.view-controls button[aria-pressed='true'] { background: var(--forest); color: white; }
.archive-grid { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.archive-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 3px; background: var(--white); transition: transform .15s ease, box-shadow .15s ease; }
.archive-card:hover { transform: translateY(-4px); box-shadow: 0 7px 16px #0033000c; }
.archive-card:focus-within { outline: 2px solid var(--forest); outline-offset: 3px; }
.archive-card article { display: flex; flex-direction: column; height: 100%; }
.card-image { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.6; background: #ebeede; color: #466649; text-decoration: none; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-illustration { background-image: url('../img/contours.svg'); background-size: 800px auto; }
.card-image .archive-icon { width: 54px; height: 54px; stroke-width: 1.4; }
.kind-person .card-illustration { background-color: #efe6d4; color: #7a6745; }
.kind-place .card-illustration { background-color: #e1e9dc; }
.kind-event .card-illustration { background-color: #ece8c7; color: #75703a; }
.illustration-label { margin-top: 10px; font: 400 16px/1.3 Lithograph, Arial, sans-serif; }
.card-number { position: absolute; left: 12px; top: 11px; padding: 2px 7px; border-radius: 2px; background: #fffdf1eb; font: 700 9px/1.7 Arial, sans-serif; color: var(--green); letter-spacing: 1px; text-transform: uppercase; }
.card-content { padding: 18px 18px 15px; display: flex; flex: 1; flex-direction: column; }
.card-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 11px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.card-meta > span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .9px; }
.card-meta > span + span::before { content: '·'; margin-right: 10px; }
.card-content h3 { font: 700 18px/1.35 Arial, sans-serif; margin: 0 0 11px; }
.card-content h3 a { text-decoration: none; }
.card-content h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-content .description { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 19px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-discover { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e6e8db; font-size: 11px; font-weight: 700; color: var(--green); }
.card-discover span { font-size: 17px; line-height: 1; }
.archive-grid.list-view { grid-template-columns: 1fr; }
.list-view .archive-card article { display: grid; grid-template-columns: 190px 1fr; }
.list-view .card-image { height: 100%; min-height: 170px; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
.list-view .card-content .description { max-width: 850px; }
.bottom-pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.bottom-pagination > a { font-size: 11px; text-decoration: none; color: var(--muted); }
.empty-archive { text-align: center; padding: 50px 20px; background: var(--white); border: 1px dashed var(--line); margin-bottom: 25px; }
.empty-archive .archive-icon { width: 48px; margin-bottom: 20px; color: #7a8971; }
.empty-archive h2 { font-size: 26px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.filter dl { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.filter dt, .filter dd { margin: 0; }
.filter-label { font-weight: 700; }
/* Resource values, links and module blocks remain native Omeka components. */
.record-shell, .search-shell { max-width: 1120px; margin: auto; padding: 36px 30px 64px; }
.record-breadcrumb { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; margin-bottom: 28px; }
.record-breadcrumb a { text-decoration: none; font-weight: 700; }
.record-breadcrumb span::before { content: '/'; margin-right: 18px; color: #acb59f; }
.record-heading { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 30px; }
.record-heading h1 { max-width: 950px; margin-bottom: 15px; }
.record-date { font-size: 14px; margin: 0; color: var(--muted); }
.record-body { background: var(--white); border: 1px solid var(--line); padding: 32px; border-radius: 3px; }
.record-body > *:first-child { margin-top: 0; }
.record-body > *:last-child { margin-bottom: 0; }
.record-body dl, .collection-metadata dl { margin: 0 0 30px; }
.record-body .property, .collection-metadata .property { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.property dt { grid-column: 1; grid-row: 1 / span 100; font-size: 12px; font-weight: 700; padding-top: 3px; }
.property dd { grid-column: 2; margin: 0 0 8px; font-size: 15px; overflow-wrap: anywhere; }
.property dd:last-child { margin-bottom: 0; }
.property .value-content p:last-child { margin-bottom: 0; }
.field-term { display: block; font-size: 10px; color: var(--muted); font-weight: 400; }
.language { font-size: 10px; border: 1px solid var(--line); padding: 2px 5px; margin-right: 6px; }
.collapsible { display: none; }
.collapsible.open { display: block; }
.media-embeds { display: grid; gap: 24px; margin-bottom: 30px; }
.media-embeds img, .media-render img { display: block; margin: auto; max-height: 75vh; width: auto; }
.media-embeds audio { width: 100%; }
.media-embeds video, .media-render video { width: 100%; max-height: 75vh; }
.media-embeds iframe, .media-render iframe { border: 1px solid var(--line); width: 100%; min-height: 480px; }
.media-list img, .linked-resource img { max-width: 100px; max-height: 80px; object-fit: contain; vertical-align: middle; margin-right: 15px; }
.media-list .resource-link { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.media-list .resource-name { font-size: 13px; }
/* LightGallery uses the archive palette, including its maximized view. */
.tapawingo .lg-backdrop { background: var(--paper); }
.tapawingo .lg-media-overlap .lg-toolbar,
.tapawingo .lg-media-overlap .lg-sub-html { background: var(--paper); }
.tapawingo .lg-toolbar .lg-icon,
.tapawingo .lg-counter,
.tapawingo .lg-sub-html,
.tapawingo .lg-error-msg { color: var(--ink); }
.tapawingo .lg-prev,
.tapawingo .lg-next { background: var(--white); color: var(--forest); }
.tapawingo .lg-toolbar .lg-icon:hover,
.tapawingo .lg-prev:hover:not(.disabled),
.tapawingo .lg-next:hover:not(.disabled) { background: var(--yellow); color: var(--forest); }
.tapawingo .lg-icon:focus-visible { color: var(--forest); outline: 3px solid #7c6600; }
.tapawingo .lg-outer .lg-thumb-outer { background: var(--white); border-top: 1px solid var(--line); }
.tapawingo .lg-outer .lg-thumb-item { border-color: var(--line); }
.tapawingo .lg-outer .lg-thumb-item.active,
.tapawingo .lg-outer .lg-thumb-item:hover { border-color: var(--forest); }
table { border-collapse: collapse; width: 100%; font-size: 13px; margin-bottom: 20px; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; overflow-wrap: anywhere; }
th { background: #edf0e4; }
.search-intro { max-width: 620px; color: var(--muted); font-size: 15px; margin-bottom: 30px; }
#advanced-search { background: var(--white); border: 1px solid var(--line); padding: 30px; border-radius: 3px; }
#advanced-search .field { margin-bottom: 25px; }
#advanced-search .field > .field-meta { color: var(--forest); font-size: 13px; font-weight: 700; }
#advanced-search .inputs { font-size: 14px; }
#advanced-search .value { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
#advanced-search .value > * { min-width: 0; }
#advanced-search .input-body { flex-wrap: wrap; }
#advanced-search button { font-size: 12px; }
#advanced-search #page-actions { margin-top: 25px; }
.search-filters { margin: 20px 0; }
/* Pages, timelines, maps and faceted browse inherit the same visual language. */
#content > h1, #content > h2, #content > h3, #content > p, #content > .breadcrumbs, #content > .sub-menu, #content > .blocks, #content > .results, #content > .site-page-pagination { max-width: calc(var(--width) - 60px); margin-left: auto; margin-right: auto; }
#content > h1:first-child, #content > h2:first-child, #content > .breadcrumbs:first-child { margin-top: 42px; }
#content > .blocks { margin-top: 35px; margin-bottom: 50px; }
.blocks > .block { margin-bottom: 32px; }
.blocks .block-html { max-width: 850px; }
.blocks h2, .blocks h3 { margin-top: 25px; }
.blocks .page-title { font-family: Lithograph, Arial, sans-serif; font-size: 42px; }
.blocks .resource-list, .results ul, ul.resource-list { list-style: none; margin: 0 0 25px; padding: 0; }
.blocks .resource-list > li, .results li, ul.resource-list > li { background: var(--white); padding: 18px; border: 1px solid var(--line); margin-bottom: 12px; }
.resource-list .resource-link, .results .resource-link { display: flex; align-items: center; gap: 18px; font-weight: 700; text-decoration: none; }
.resource-list img, .results img { max-width: 120px; max-height: 100px; object-fit: contain; }
.breadcrumbs, .sub-menu, .site-page-pagination { font-size: 13px; }
.site-page-pagination { display: flex; justify-content: space-between; margin-bottom: 35px; }
.tl-timeline { border: 1px solid var(--line); }
.tl-timeline h2, .tl-timeline h3 { font-family: Arial, sans-serif !important; }
.tapawingo .timeline .timeline-band-0 .timeline-ether-bg { background: linear-gradient(var(--white), #edf0e4); }
.tapawingo .timeline .timeline-band-1 .timeline-ether-bg { background: var(--green); }
.tapawingo .timeline .timeline-band-1 .timeline-ether-highlight { background: #fff00022; }
.tapawingo .timeline .timeline-band-1 .timeline-date-label { color: #e0e7d8; }
.tapawingo .timeline .timeline-band-0 .timeline-date-label { color: var(--muted); }
.tapawingo .timeline .timeline-band-0 .timeline-date-label-em { color: #706000; }
.tapawingo .timeline .timeline-event-label { color: var(--forest); font-family: Arial, sans-serif; }
.leaflet-container h1, .leaflet-container h2, .leaflet-container h3 { font-family: Arial, sans-serif; }
.faceted-browse-page { max-width: var(--width); margin: auto; padding: 35px 30px; }
/* Guest pages render their forms directly in #content, outside .blocks. */
.tapawingo.guest #content { max-width: var(--width); margin: auto; padding: 35px 30px 50px; }
.tapawingo.guest #content > h1, .tapawingo.guest #content > p, .tapawingo.guest #content > .breadcrumbs { max-width: none; margin-left: 0; margin-right: 0; }
.tapawingo.guest #content > h1:first-child { margin-top: 0; }
.tapawingo.guest #breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; padding: 0; margin: 0 0 20px; }
.tapawingo.guest #content form { max-width: 560px; }
.tapawingo.guest #content .field { min-width: 0; margin-bottom: 20px; }
.tapawingo.guest #content .field-meta { margin-bottom: 6px; font-size: 14px; }
.tapawingo.guest #content .field-meta label { font-weight: 700; }
.tapawingo.guest #content .inputs { min-width: 0; }
.tapawingo.guest #content .inputs > input:not([type='checkbox']):not([type='radio']):not([type='hidden']), .tapawingo.guest #content .inputs > select, .tapawingo.guest #content .inputs > textarea { width: 100%; }
.tapawingo.guest #content .field-description { font-size: 13px; color: var(--muted); }
.tapawingo.guest #content .guest-login { margin-bottom: 32px; }
.tapawingo.guest #content .forgot-password { margin-top: 12px; }
.site-footer { border-top: 4px solid var(--yellow); background: white; }
.footer-inner { max-width: var(--width); margin: auto; padding: 32px 30px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.footer-heading { font: 700 23px/1.3 Lithograph, Arial, sans-serif; margin-bottom: 10px; }
.footer-inner p:not(.footer-heading) { font-size: 11px; color: var(--muted); margin: 0; }
.footer-logo { display: block; justify-self: end; max-width: 400px; background: white; padding: 9px 13px; border-radius: 3px; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-extra, .footer-bottom { grid-column: 1 / -1; }
.footer-extra { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ccd3bd; padding-top: 15px; color: var(--muted); font-size: 10px; }
.footer-bottom a { color: inherit; }
#user-bar { background: var(--forest); color: white; font-size: 12px; }
#user-bar a { color: white; }
@media (min-width: 1500px) {
    :root { --width: 1380px; }
    .hero-inner { padding-top: 66px; padding-bottom: 75px; gap: 100px; }
    .hero-copy h1 { font-size: 46px; }
    .archive-grid { gap: 26px; }
    .card-content { padding: 22px; }
}
@media (max-width: 1100px) {
    .header-inner { gap: 24px; }
    .brand-name { font-size: 29px; }
    .brand-archive { font-size: 18px; }
    #top-nav ul { gap: 20px; }
    .group-link { display: none; }
    .hero-inner { gap: 42px; padding-top: 48px; padding-bottom: 52px; }
    .hero-copy h1 { font-size: 36px; }
    .hero-description { font-size: 14px; }
    .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .sorting-label { display: none; }
    .section-heading h1, .section-heading h2 { font-size: 32px; }
}
@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; min-height: 90px; padding: 18px 22px; gap: 12px; }
    .brand-name { font-size: 28px; }
    .brand-kicker { font-size: 9px; }
    .js #mobile-nav-toggle { display: inline-flex; margin-left: auto; padding: 7px 10px; font-size: 12px; background: transparent; color: var(--forest); border-color: var(--line); }
    #top-nav { flex: 0 0 100%; margin: 0; }
    .js #top-nav:not(.open) { display: none; }
    #top-nav ul { display: block; border-top: 1px solid var(--line); margin-top: 8px; }
    #top-nav a { padding: 10px 0; }
    #top-nav ul ul { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); margin: 0 0 10px 8px; padding: 0 0 0 18px; }
    #top-nav li:hover > ul:not(.open), #top-nav li:focus-within > ul:not(.open) { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 37px 22px 55px; }
    .hero-copy h1 { font-size: clamp(33px, 6.6vw, 48px); }
    .hero-description { max-width: 500px; font-size: 14px; }
    .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
    .hero-keepsake { width: min(84%, 390px); margin: 8px auto 15px; }
    .archive-stamp { right: -20px; width: 88px; height: 88px; }
    .archive-stamp strong { font-size: 16px; }
    .photo-note { bottom: -31px; font-size: 17px; }
    .polaroid-caption { font-size: 12px; }
    .archive-section { padding: 30px 22px 42px; }
    .section-heading { margin-bottom: 20px; }
    .section-heading h1, .section-heading h2 { font-size: 29px; }
    .section-note { display: none; }
    .archive-search-row { flex-wrap: wrap; gap: 12px; }
    #search-form { flex-basis: 100%; padding-left: 11px; gap: 8px; }
    #search-form input { font-size: 16px; }
    #search-form button { padding: 10px 13px; gap: 8px; }
    .advanced-search { margin-left: auto; }
    .archive-filters { gap: 7px; margin-top: 18px; }
    .archive-filters a { padding: 6px 10px; font-size: 11px; }
    .browse-controls { flex-wrap: wrap; gap: 12px; padding: 13px 0 17px; }
    .sorting { order: 3; width: 100%; justify-content: flex-start; }
    .view-controls { margin-left: auto; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .card-content { padding: 14px; }
    .card-content h3 { font-size: 16px; }
    .card-meta { font-size: 8px; }
    .card-discover { font-size: 9px; }
    .record-shell, .search-shell { padding: 26px 22px 40px; }
    .record-body { padding: 20px; }
    .record-heading h1 { font-size: 34px; }
    .record-body .property, .collection-metadata .property { grid-template-columns: 1fr; gap: 8px; }
    .property dt { grid-row: auto; }
    .property dd { grid-column: 1; font-size: 14px; }
    .media-embeds iframe, .media-render iframe { min-height: 300px; }
    #advanced-search { padding: 20px; }
    #advanced-search .field { display: block; }
    #advanced-search .field-meta { width: 100%; padding: 0 0 10px; }
    #advanced-search .inputs { width: 100%; padding: 0; }
    .tapawingo.guest #content { padding: 26px 22px 40px; }
    .footer-inner { padding: 26px 22px 18px; gap: 20px; }
    .footer-heading { font-size: 20px; }
    .footer-logo { max-width: 260px; }
    #content > h1, #content > h2, #content > h3, #content > p, #content > .breadcrumbs, #content > .sub-menu, #content > .blocks, #content > .results, #content > .site-page-pagination { max-width: calc(100% - 44px); }
}
@media (max-width: 440px) {
    .brand-name { font-size: 25px; gap: 8px; }
    .brand-archive { font-size: 16px; }
    .archive-grid { grid-template-columns: 1fr; }
    .card-image { aspect-ratio: 1.8; }
    .card-content h3 { font-size: 18px; }
    .card-meta { font-size: 10px; }
    .card-content .description { font-size: 13px; }
    .card-discover { font-size: 11px; }
    .list-view .archive-card article { grid-template-columns: 100px minmax(0, 1fr); }
    .list-view .card-image .archive-icon { width: 40px; }
    .list-view .illustration-label { font-size: 11px; }
    .list-view .card-content h3 { font-size: 16px; }
    .list-view .card-content { padding: 12px; }
    .list-view .card-meta > span + span::before { display: none; }
    .sorting select { max-width: 145px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-logo { justify-self: start; }
    .footer-bottom { flex-wrap: wrap; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .archive-card { transition: none; }
    .archive-card:hover { transform: none; }
}
@media print {
    body { background: white; color: black; font-size: 11pt; }
    .site-header, .archive-hero, .site-footer, .archive-search-row, .archive-filters, .browse-controls, .bottom-pagination, #user-bar, .record-breadcrumb { display: none; }
    #content, .record-shell, .archive-section { max-width: none; margin: 0; padding: 0; }
    .record-body { border: 0; padding: 0; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .archive-card, .property { break-inside: avoid; }
    a { color: black; }
}
