/* Hickory County Historical Society — committee proposal styles */

:root {
    --hchs-ink: #1c2420;
    --hchs-muted: #5c6b63;
    --hchs-forest: #3d5a4c;
    --hchs-forest-deep: #2a3f36;
    --hchs-stone: #8a8578;
    --hchs-paper: #f3f1eb;
    --hchs-panel: #ffffff;
    --hchs-line: rgba(28, 36, 32, 0.12);
    --hchs-accent: #b08d57;
    --hchs-font-display: "Literata", Georgia, serif;
    --hchs-font-body: "Figtree", "Segoe UI", sans-serif;
    --hchs-max: 1100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--hchs-font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--hchs-ink);
    background:
        linear-gradient(180deg, #e8ebe6 0%, var(--hchs-paper) 18%, var(--hchs-paper) 100%);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--hchs-forest);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--hchs-forest-deep);
}

.hchs-wrap {
    max-width: var(--hchs-max);
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

/* Hero */
.hchs-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    margin: 0 -1.25rem 0;
    padding: 2.5rem 1.25rem 2rem;
    background:
        linear-gradient(180deg, rgba(28, 36, 32, 0.25) 0%, rgba(28, 36, 32, 0.72) 100%),
        url("images/Hickory.jpg") center / cover no-repeat;
    color: #fff;
}

.hchs-hero h1 {
    font-family: var(--hchs-font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hchs-hero p {
    margin: 0.5rem 0 0;
    max-width: 36rem;
    opacity: 0.92;
}

.hchs-hero a {
    color: inherit;
    text-decoration: none;
}

/* Nav */
.hchs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hchs-line);
    margin-bottom: 1.75rem;
    background: rgba(243, 241, 235, 0.92);
    position: sticky;
    top: 0;
    z-index: 20;
}

.hchs-nav-brand {
    font-family: var(--hchs-font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--hchs-forest-deep);
    text-decoration: none;
}

.hchs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.hchs-nav a {
    text-decoration: none;
    color: var(--hchs-muted);
}

.hchs-nav a:hover,
.hchs-nav a[aria-current="page"] {
    color: var(--hchs-forest-deep);
}

/* Museum section strip — same site, secondary links under county nav */
.hchs-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 0 0 0.85rem;
    margin: -1rem 0 1.5rem;
    border-bottom: 1px solid var(--hchs-line);
    font-size: 0.88rem;
}

.hchs-subnav-label {
    font-weight: 700;
    color: var(--hchs-forest-deep);
    margin-right: 0.25rem;
}

.hchs-subnav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.hchs-subnav a {
    text-decoration: none;
    color: var(--hchs-muted);
}

.hchs-subnav a:hover,
.hchs-subnav a[aria-current="page"] {
    color: var(--hchs-forest-deep);
}

.hchs-hero-eyebrow {
    margin: 0 0 0.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Layout */
.hchs-lede {
    font-size: 1.15rem;
    color: var(--hchs-muted);
    max-width: 40rem;
    margin: 0 0 1.5rem;
}

.hchs-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 800px) {
    .hchs-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hchs-grid-2 {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hchs-section {
    margin: 2.25rem 0;
}

.hchs-section h2 {
    font-family: var(--hchs-font-display);
    font-size: 1.55rem;
    margin: 0 0 0.65rem;
    color: var(--hchs-forest-deep);
}

.hchs-section h3 {
    font-family: var(--hchs-font-display);
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
}

.hchs-resource-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.hchs-resource-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--hchs-line);
}

.hchs-resource-list li:last-child {
    border-bottom: 0;
}

.hchs-resource-list small {
    display: block;
    color: var(--hchs-muted);
    margin-top: 0.2rem;
}

.hchs-card-plain {
    /* Not a marketing card stack — light structure only for lists/events */
    padding: 0;
}

.hchs-media {
    border-radius: 2px;
    display: block;
    margin: 0.75rem 0;
}

.hchs-event {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--hchs-line);
}

.hchs-event:last-child {
    border-bottom: none;
}

.hchs-event time {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--hchs-accent);
    margin: 0 0 0.1rem;
}

.hchs-event h3 {
    font-family: var(--hchs-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.1rem;
    color: var(--hchs-ink);
    line-height: 1.25;
}

.hchs-event p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--hchs-muted);
}

.hchs-events-group {
    margin: 0.45rem 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hchs-muted);
}

.hchs-thumb-link {
    display: inline-block;
    margin-top: 0.35rem;
    line-height: 0;
}

.hchs-event-thumb {
    max-width: 120px;
    width: 100%;
    height: auto;
    border-radius: 2px;
    border: 1px solid var(--hchs-line);
}

.hchs-lightbox {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 4px;
    max-width: min(92vw, 720px);
    max-height: 92vh;
    background: #111;
    overflow: auto;
}

.hchs-lightbox::backdrop {
    background: rgba(15, 20, 18, 0.72);
}

.hchs-lightbox img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hchs-lightbox form {
    margin: 0;
}

.hchs-lightbox-close {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.hchs-leader-row {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    margin-top: 1rem;
}

.hchs-leader {
    text-align: center;
}

.hchs-leader img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 2px;
    margin: 0 auto 0.5rem;
    display: block;
}

.hchs-leader span {
    font-size: 0.88rem;
    color: var(--hchs-muted);
}

/* Community vision (mock / future) */
.hchs-vision {
    border-left: 4px solid var(--hchs-accent);
    padding: 1rem 1.15rem;
    background: rgba(176, 141, 87, 0.08);
    margin: 1.25rem 0;
}

.hchs-vision h3 {
    margin-top: 0;
}

.hchs-vision .badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hchs-forest-deep);
    background: rgba(61, 90, 76, 0.12);
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.5rem;
}

.hchs-mock-form {
    opacity: 0.85;
    pointer-events: none;
    max-width: 28rem;
}

.hchs-mock-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.65rem 0 0.25rem;
}

.hchs-mock-form input,
.hchs-mock-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--hchs-line);
    font: inherit;
    background: #fff;
}

.hchs-mock-form button {
    margin-top: 0.75rem;
    font: inherit;
    font-weight: 700;
    padding: 0.5rem 1rem;
    background: var(--hchs-forest);
    color: #fff;
    border: none;
}

.hchs-product {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--hchs-line);
}

.hchs-product:last-child {
    border-bottom: none;
}

.hchs-checklist {
    background: #fff;
    border: 1px solid var(--hchs-line);
    padding: 1.25rem 1.25rem 1.25rem 2.25rem;
    margin: 1rem 0;
}

.hchs-checklist li {
    margin-bottom: 0.45rem;
}

.hchs-footer {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hchs-line);
    font-size: 0.9rem;
    color: var(--hchs-muted);
}

.hchs-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.hchs-footer a {
    text-decoration: none;
    font-weight: 600;
    color: var(--hchs-muted);
}

.hchs-footer a:hover {
    color: var(--hchs-forest-deep);
}

.hchs-note {
    font-size: 0.9rem;
    color: var(--hchs-muted);
}

/* Family Group Sheets */
.hchs-fgs-back {
    margin: -0.25rem 0 1rem;
    font-weight: 700;
}

.hchs-fgs-panel {
    background: var(--hchs-panel);
    border: 1px solid var(--hchs-line);
    border-left: 4px solid var(--hchs-accent);
    padding: 1.25rem 1.35rem;
    margin: 1rem 0 1.75rem;
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-x: auto;
}

.hchs-fgs-panel p {
    margin: 0 0 0.35rem;
}

.hchs-fgs-panel a {
    font-weight: 600;
}

.hchs-fgs-meta {
    max-width: 40rem;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: var(--hchs-muted);
}

.hchs-fgs-meta p {
    margin: 0.35rem 0;
}

.hchs-fgs-copyright {
    max-width: 40rem;
    margin: 0 0 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hchs-line);
    font-size: 0.9rem;
    color: var(--hchs-muted);
}

.hchs-fgs-copyright p {
    margin: 0.25rem 0;
}

@media (max-width: 600px) {
    .hchs-nav {
        flex-direction: column;
        align-items: flex-start;
    }
}
