@charset "UTF-8";

/* ==========================================================
   BPMGC — Club History ("From the Archives")
   Typography-first styling for /history, piece view, author
   page, collection page, and the homepage quote widget.

   Relies on design tokens from /css/balboa.<v>.css
   (--bpmgc-green, --bpmgc-charcoal, --bpmgc-white,
    --font-heading, --font-ui).
   ========================================================== */


/* ----------------------------------------------------------
   1. FROM THE ARCHIVES — homepage quote widget
   Kept first so it stays prominent when dropping this
   stylesheet into any page that includes the widget.
   ---------------------------------------------------------- */

.history-quote-widget {
    background-color: #fefdf7;         /* warm off-white */
    border-left: 4px solid var(--bpmgc-green, #0f4717);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.history-quote-widget .history-quote-heading {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--bpmgc-green, #0f4717);
    margin: 0 0 10px 0;
}

.history-quote-widget .history-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.55;
    color: #2a2a2a;
    margin: 0 0 12px 0;
    padding: 0;
    border-left: 0;
    font-style: italic;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.history-quote-widget .history-quote-text::before {
    content: open-quote;
    color: var(--bpmgc-green, #0f4717);
    font-size: 28px;
    line-height: 0;
    vertical-align: -8px;
    margin-right: 2px;
}

.history-quote-widget .history-quote-text::after {
    content: close-quote;
    color: var(--bpmgc-green, #0f4717);
    font-size: 28px;
    line-height: 0;
    vertical-align: -14px;
    margin-left: 2px;
}

.history-quote-widget .history-quote-attribution {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
    padding-top: 8px;
    border-top: 1px dotted #d4d0c0;
}

.history-quote-widget .history-quote-attribution a {
    color: var(--bpmgc-green, #0f4717);
    text-decoration: none;
    border-bottom: 1px dotted var(--bpmgc-green, #0f4717);
}

.history-quote-widget .history-quote-attribution a:hover {
    border-bottom-style: solid;
}


/* ----------------------------------------------------------
   2. PAGE SHELL — public /history pages
   ---------------------------------------------------------- */

.history-page {
    color: #2a2a2a;
	background-color: #fff;
}

.history-page h1,
.history-page h2,
.history-page h3 {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    color: var(--bpmgc-green, #0f4717);
    margin-top: 0;
}

.history-hero {
    background-color: #f6f3eb;
    border-bottom: 3px solid var(--bpmgc-green, #0f4717);
    padding: 32px 24px;
    margin: -15px -15px 28px -15px;    /* bleed to column edges inside Bootstrap container */
    border-radius: 2px 2px 0 0;
}

.history-hero h1 {
    font-size: 34px;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
}

.history-hero .history-hero-sub {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-style: italic;
    color: #5a5a5a;
    max-width: 640px;
    line-height: 1.45;
    margin: 0;
}


/* ----------------------------------------------------------
   3. FEATURED PIECE CARD on landing page
   ---------------------------------------------------------- */

.history-featured-card {
    background-color: var(--bpmgc-white, #fff);
    border: 1px solid #e6e2d6;
    border-top: 4px solid var(--bpmgc-green, #0f4717);
    padding: 24px;
    margin-bottom: 28px;
    border-radius: 2px;
}

.history-featured-card .history-featured-eyebrow {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--bpmgc-green, #0f4717);
    margin: 0 0 10px 0;
}

.history-featured-card h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

.history-featured-card h2 a {
    color: inherit;
    text-decoration: none;
}

.history-featured-card h2 a:hover {
    text-decoration: underline;
}

.history-featured-card .history-byline {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.history-featured-card .history-excerpt {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3a3a3a;
    margin-bottom: 18px;
}

.history-featured-card .btn-read-more {
    background-color: var(--bpmgc-green, #0f4717);
    color: #fff;
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 9px 18px;
    text-decoration: none;
    border: 0;
    border-radius: 2px;
    display: inline-block;
}

.history-featured-card .btn-read-more:hover {
    background-color: #0a3210;
    color: #fff;
}


/* ----------------------------------------------------------
   4. COLLECTIONS GRID (tag cards)
   ---------------------------------------------------------- */

.history-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.history-collection-card {
    background-color: #fff;
    border: 1px solid #e6e2d6;
    padding: 18px 18px 16px 18px;
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
    display: block;
}

.history-collection-card:hover {
    border-color: var(--bpmgc-green, #0f4717);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}

.history-collection-card .history-collection-name {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bpmgc-green, #0f4717);
    margin: 0 0 4px 0;
}

.history-collection-card .history-collection-count {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0 0 6px 0;
}

.history-collection-card .history-collection-desc {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin: 0;
}


/* ----------------------------------------------------------
   5. AUTHORS WING
   ---------------------------------------------------------- */

.history-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.history-author-card {
    background-color: #fff;
    border: 1px solid #e6e2d6;
    padding: 14px 16px;
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.history-author-card:hover {
    border-color: var(--bpmgc-green, #0f4717);
    text-decoration: none;
    color: inherit;
}

.history-author-card .history-author-name {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--bpmgc-green, #0f4717);
    margin: 0 0 2px 0;
}

.history-author-card .history-author-name .deceased-mark {
    color: #999;
    font-size: 11px;
    font-weight: 400;
    margin-left: 4px;
}

.history-author-card .history-author-count {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 12px;
    color: #888;
    margin: 0;
}


/* ----------------------------------------------------------
   6. TIMELINE STRIP (Forum Era 2012-2016)
   ---------------------------------------------------------- */

.history-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding: 14px 18px;
    background-color: #f6f3eb;
    border-radius: 2px;
}

.history-timeline .history-timeline-label {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bpmgc-green, #0f4717);
    align-self: center;
    margin-right: 12px;
}

.history-timeline-year {
    background-color: #fff;
    border: 1px solid #d8d3c2;
    padding: 6px 12px;
    border-radius: 2px;
    text-decoration: none;
    color: #3a3a3a;
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
}

.history-timeline-year .history-timeline-count {
    font-weight: 700;
    color: var(--bpmgc-green, #0f4717);
    margin-right: 4px;
}

.history-timeline-year:hover {
    border-color: var(--bpmgc-green, #0f4717);
    text-decoration: none;
    color: #3a3a3a;
}


/* ----------------------------------------------------------
   7. PIECE LIST (author page, collection page, filtered views)
   ---------------------------------------------------------- */

.history-piece-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.history-piece-list-item {
    border-bottom: 1px solid #e6e2d6;
    padding: 18px 0;
}

.history-piece-list-item:first-child {
    padding-top: 6px;
}

.history-piece-list-item h3 {
    font-size: 18px;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.history-piece-list-item h3 a {
    color: var(--bpmgc-green, #0f4717);
    text-decoration: none;
}

.history-piece-list-item h3 a:hover {
    text-decoration: underline;
}

.history-piece-list-item .history-byline {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.history-piece-list-item .history-excerpt {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
    margin: 0 0 8px 0;
}

.history-tag-chip {
    display: inline-block;
    background-color: #f0ede4;
    color: var(--bpmgc-green, #0f4717);
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 2px;
    margin-right: 5px;
    text-decoration: none;
}

.history-tag-chip:hover {
    background-color: var(--bpmgc-green, #0f4717);
    color: #fff;
    text-decoration: none;
}


/* ----------------------------------------------------------
   8. PIECE READER (individual piece view)
   Typography-first: generous line-height, narrow column,
   serif body for comfortable long-form reading.
   ---------------------------------------------------------- */

.history-piece {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px 0 40px 0;
}

.history-piece h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.history-piece .history-piece-meta {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.history-piece .history-piece-meta a {
    color: var(--bpmgc-green, #0f4717);
    text-decoration: none;
}

.history-piece .history-piece-meta a:hover {
    text-decoration: underline;
}

.history-piece .history-piece-tags {
    margin-bottom: 26px;
}

.history-piece-body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2a2a2a;
}

.history-piece-body p {
    margin: 0 0 1.1em 0;
}

.history-piece-body blockquote.history-quote {
    border-left: 3px solid #c4c0b0;
    padding: 4px 16px;
    margin: 18px 0;
    color: #555;
    font-style: italic;
    background: transparent;
    font-size: 16px;
}

.history-piece-body blockquote.history-quote cite {
    display: block;
    font-size: 12px;
    font-style: normal;
    color: #888;
    margin-bottom: 6px;
    font-family: var(--font-ui, 'Inter'), sans-serif;
}

.history-piece-body a {
    color: var(--bpmgc-green, #0f4717);
    text-decoration: underline;
}


/* Pull-quote marginalia, if this piece has published quotes */
.history-piece-pullquote {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: var(--bpmgc-green, #0f4717);
    border-top: 2px solid var(--bpmgc-green, #0f4717);
    border-bottom: 2px solid var(--bpmgc-green, #0f4717);
    padding: 16px 0;
    margin: 28px 0;
    text-align: center;
    font-weight: 700;
    font-style: italic;
}


/* ----------------------------------------------------------
   9. REPLIES ON A PIECE
   ---------------------------------------------------------- */

.history-replies {
    max-width: 680px;
    margin: 30px auto;
    padding-top: 24px;
    border-top: 2px solid #e6e2d6;
}

.history-replies-heading {
    font-family: var(--font-heading, 'Nunito'), sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin: 0 0 18px 0;
}

.history-reply {
    background-color: #faf8f2;
    border-left: 3px solid #d4d0c0;
    padding: 14px 18px;
    margin-bottom: 14px;
    border-radius: 0 2px 2px 0;
}

.history-reply .history-reply-meta {
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.history-reply .history-reply-meta .history-reply-author {
    font-weight: 600;
    color: var(--bpmgc-green, #0f4717);
}

.history-reply-body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.6;
    color: #3a3a3a;
}

.history-reply-body p {
    margin: 0 0 0.8em 0;
}

.history-reply-body p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   10. PIECE FOOTER (flag / removal request link)
   ---------------------------------------------------------- */

.history-piece-footer {
    max-width: 680px;
    margin: 40px auto 0 auto;
    padding: 18px 0;
    border-top: 1px dotted #c4c0b0;
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.history-piece-footer a {
    color: #666;
    text-decoration: underline;
}


/* ----------------------------------------------------------
   11. ADMIN REVIEW PAGE
   ---------------------------------------------------------- */

.history-admin-tabs {
    border-bottom: 2px solid #e6e2d6;
    margin-bottom: 20px;
}

.history-admin-tabs a {
    display: inline-block;
    padding: 10px 18px;
    color: #666;
    text-decoration: none;
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.history-admin-tabs a.active {
    color: var(--bpmgc-green, #0f4717);
    border-bottom-color: var(--bpmgc-green, #0f4717);
}

.history-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-family: var(--font-ui, 'Inter'), sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-status-pending       { background: #fff3cd; color: #856404; }
.history-status-published     { background: #c8e6c9; color: #1b5e20; }
.history-status-archived      { background: #e0e0e0; color: #555; }
.history-status-needs_review  { background: #f5c6cb; color: #721c24; }


/* ----------------------------------------------------------
   12. RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 600px) {
    .history-hero h1            { font-size: 26px; }
    .history-hero .history-hero-sub { font-size: 15px; }
    .history-piece h1           { font-size: 26px; }
    .history-piece-body         { font-size: 16px; line-height: 1.65; }
    .history-featured-card h2   { font-size: 21px; }
    .history-quote-widget .history-quote-text { font-size: 16px; }
}
