/* ===========================
   OLD TOWN HALL — old-town-hall.html
   Town of Holland Area Historical Society
   Page styles only; the hero, section titles, body text, call to action
   and notes come from communities.css.
   =========================== */

/* The hero photograph: the hall on August 30, 2026, taken by the Society. */
.oth-hero {
    background-color: #0d0d0d;
    background-image: url('../web_photos/old-town-hall.jpg');
    background-position: center 62%;
}

/* The date the photograph was taken, so it and the page agree: the ramp and
   deck it shows were removed later that fall. On a dark backing, readable on
   any part of the photograph. */
.oth-photo-date {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.25rem 0.6rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.65);
}

/* The facts and the work sit wider than the 800px reading column (#48). */
.oth-wide {
    max-width: 1000px;
    margin: 0 auto;
}

.oth-intro {
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.oth-facts {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.oth-fact {
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem;
    text-align: center;
}

.oth-fact-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.oth-fact-value {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    color: var(--text-white);
    line-height: 1.45;
    text-wrap: balance;
}

.oth-help {
    text-align: center;
}

/* Text links on this page: gold, underlined, 44px tall (#71). */
.oth-news a,
.comm-notes-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--accent-gold);
    text-underline-offset: 3px;
}

/* ===========================
   THE WORK — the progress path: a gold line with a diamond for each step,
   solid when done, outlined for the next step, faint when planned. On a
   desktop the steps sit either side of the line; on a phone, beside it.
   Each step has room below its words for its photographs, once there are some.
   =========================== */
.oth-step-when {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0 0 0.35rem;
}

.oth-step-status {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.oth-step-title {
    font-family: 'Aboreto', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.oth-step-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.oth-path {
    position: relative;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.oth-path::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--accent-gold);
}

.oth-path-step {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2rem 0;
}

.oth-path-step:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 2rem 2.5rem;
}

/* The marker on the line: a solid diamond for done, outlined for next,
   faint for planned. */
.oth-path-step::before {
    content: '';
    position: absolute;
    top: 0.45rem;
    right: -8px;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    transform: rotate(45deg);
    background: var(--accent-gold);
}

.oth-path-step:nth-child(even)::before {
    right: auto;
    left: -8px;
}

.oth-path-step.oth-step--next::before {
    background: var(--dark-bg);
    border: 2px solid var(--accent-gold);
}

.oth-path-step.oth-step--planned::before {
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.55);
}

.oth-path-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.5rem;
}

.oth-step--planned .oth-path-card {
    border-style: dashed;
}

@media (max-width: 768px) {
    .oth-path::before {
        left: 7px;
    }

    .oth-path-step,
    .oth-path-step:nth-child(even) {
        width: auto;
        margin-left: 0;
        padding: 0 0 1.5rem 2.25rem;
    }

    .oth-path-step::before,
    .oth-path-step:nth-child(even)::before {
        left: 1px;
        right: auto;
    }
}
