/*
Theme Name: BH Now
Theme URI: https://bentonharbornow.com
Description: A clear, accessible civic theme for the Benton Harbor Downtown Development Authority. Community content remains editable in WordPress.
Author: ByBuddha
Author URI: https://bybuddha.dev
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bhnow
*/
:root {
 --bh-canvas: #fff; --bh-white: #fff; --bh-navy: #223240;
 --bh-green: #245d65; --bh-green-dark: #194950; --bh-gold: #976b24;
 --bh-mist: #f4f6f7; --bh-muted: #4d5a64; --bh-line: #d9dfe3;
 --bh-sans: Arial, Helvetica, sans-serif; --bh-serif: Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body.bhnow-site { margin: 0; color: var(--bh-navy); background: var(--bh-canvas); font-family: var(--bh-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.bhnow-site :where(h1,h2,h3,h4,h5,h6,p,figure,ul,ol) { margin-top: 0; }
.bhnow-site :where(h1,h2,h3,h4,h5,h6) { color: var(--bh-navy); font-family: var(--bh-sans); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; overflow-wrap: anywhere; }
.bhnow-site :where(h1) { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.bhnow-site :where(h2) { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.bhnow-site :where(h3) { font-size: 1.25rem; }
a { color: var(--bh-green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--bh-green); outline-offset: 4px; }
::selection { background: #dcebed; color: var(--bh-navy); }
.site-width { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section-space { padding-block: 36px; }
.eyebrow, .bh-eyebrow { margin: 0 0 12px; color: var(--bh-muted); font-size: 13px; font-weight: 600; letter-spacing: .025em; line-height: 1.5; }
.skip-link { position: absolute; z-index: 10000; top: -100px; left: 16px; padding: 12px 20px; color: #fff; background: var(--bh-navy); }
.skip-link:focus { top: 12px; }
.utility-bar { border-bottom: 1px solid var(--bh-line); background: var(--bh-mist); font-size: 12px; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 20px; }
.utility-inner p { margin: 0; }
.utility-inner a { flex: 0 0 auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--bh-line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.site-brand { flex: 0 0 auto; display: block; }
.site-brand img { width: 180px; }
.primary-menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bh-navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.primary-menu a:hover, .primary-menu a[aria-current=page] { color: var(--bh-green-dark); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; gap: 12px; padding: 10px 18px; border: 1px solid var(--bh-green); border-radius: 2px; color: #fff; background: var(--bh-green); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.button:hover { color: #fff; background: var(--bh-green-dark); border-color: var(--bh-green-dark); }
.button-small { padding-inline: 16px; font-size: 14px; }
.button-light { color: var(--bh-green-dark); background: #fff; }
.button-light:hover { color: #fff; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 15px; font-weight: 600; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 36px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing: -.02em; }
.hero-description { max-width: 500px; margin-bottom: 22px; color: var(--bh-muted); font-size: 18px; line-height: 1.6; }
.hero-image { min-width: 0; margin: 0; }
.hero-image > img { width: 100%; height: 280px; object-fit: cover; }
.hero-image figcaption { margin-top: 8px; color: var(--bh-muted); font-size: 13px; }
.about-section { border-block: 1px solid var(--bh-line); background: var(--bh-mist); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.about-grid h2 { margin: 0; font-size: 24px; }
.about-copy p { max-width: 720px; margin-bottom: 10px; }
.home-content { padding-bottom: 0; }
.home-content .entry-content { max-width: none; }
.home-content .entry-content .bh-section > .wp-block-image { margin-inline: 0; max-width: none; padding: 12px; background: var(--bh-mist); }
.home-content .entry-content .bh-section > .wp-block-image img { width: 100%; max-height: 360px; object-fit: contain; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.community-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.community-gallery figure { min-width: 0; margin: 0; aspect-ratio: 1.6; overflow: hidden; background: var(--bh-mist); }
.community-gallery a { display: block; width: 100%; height: 100%; }
.community-gallery img { width: 100%; height: 100%; object-fit: cover; }
.community-footnote { margin-top: 10px; }
.community-footnote p { margin: 0; color: var(--bh-muted); font-size: 13px; }
.contact-section { padding-top: 0; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--bh-line); background: var(--bh-mist); }
.contact-panel h2 { margin: 0 0 8px; font-size: 23px; }
.contact-panel p { margin: 0; overflow-wrap: anywhere; }
.contact-panel-copy { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--bh-line); background: var(--bh-mist); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 48px; padding-block: 30px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { margin: 0; color: var(--bh-muted); font-size: 14px; }
.footer-links { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: 0; }
.footer-links a { font-size: 14px; overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; border-top: 1px solid var(--bh-line); }
.footer-bottom p { margin: 0; color: var(--bh-muted); font-size: 12px; }
.page-heading { padding-block: 24px 28px; border-bottom: 1px solid var(--bh-line); background: var(--bh-mist); }
.page-heading .breadcrumb { display: inline-block; margin-bottom: 12px; font-size: 14px; }
.page-heading .eyebrow { margin-bottom: 8px; }
.page-heading h1 { max-width: 950px; margin: 0; font-size: clamp(2rem, 3.2vw, 2.75rem); }
.page-body { padding-block: 30px 40px; }
.entry-content { max-width: 820px; margin-inline: auto; overflow-wrap: anywhere; }
.entry-content > * { margin-bottom: 1.25em; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2 { margin-block: 1.4em .6em; font-size: 25px; }
.entry-content h3 { margin-block: 1.25em .5em; font-size: 21px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: var(--bh-muted); }
.entry-content figcaption { margin-top: 8px; color: var(--bh-muted); font-size: 13px; line-height: 1.5; }
.entry-content .alignwide, .entry-content .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .wp-block-gallery { gap: 16px; }
.entry-content blockquote { margin-inline: 0; padding: 16px 24px; border-left: 3px solid var(--bh-green); background: var(--bh-mist); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--bh-line); text-align: left; }
.entry-content .wp-block-button__link { border-radius: 2px; padding: 12px 18px; color: #fff; background: var(--bh-green); font-size: 15px; }
.entry-content .bh-section { margin-bottom: 28px; }
.entry-content .bh-section:last-child { margin-bottom: 0; }
.entry-content .bh-section > h2 { margin-top: 0; }
.entry-content .bh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.entry-content .bh-card { min-width: 0; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--bh-line); }
.entry-content .bh-card > :not(figure) { margin-inline: 0; }
.entry-content .bh-card h3 { margin-block: 14px 10px; font-size: 21px; }
.entry-content .bh-card p { margin-bottom: 10px; font-size: 15px; line-height: 1.6; }
.entry-content .bh-card figure { margin: 0 0 14px; }
.entry-content .bh-card img { width: 100%; height: 160px; padding: 10px; object-fit: contain; background: var(--bh-mist); }
.bh-stories-heading { margin-bottom: 12px; }
.bh-stories-heading .eyebrow { margin-bottom: 4px; font-size: 20px; color: var(--bh-navy); }
.bh-stories-heading p:last-child { margin: 0; color: var(--bh-muted); font-size: 14px; }
.bh-story { border-top: 1px solid var(--bh-line); }
.bh-story:last-child { border-bottom: 1px solid var(--bh-line); }
.bh-story > summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: 20px; padding-block: 14px; cursor: pointer; list-style: none; }
.bh-story > summary::-webkit-details-marker { display: none; }
.bh-story .bh-story-title { margin: 0; font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.bh-story-toggle { flex: 0 0 8px; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--bh-green); border-bottom: 1.5px solid var(--bh-green); transform: rotate(45deg); }
.bh-story[open] .bh-story-toggle { transform: rotate(225deg); }
.bh-story-content { padding: 4px 0 22px; }
.bh-story-content .bh-section { margin: 0; }
.bh-story-content .bh-section > :last-child { margin-bottom: 0; }
.content-page .entry-content:has(> .bh-card) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: none; }
.content-page .entry-content:has(> .bh-card) > :not(.bh-card) { grid-column: 1 / -1; margin: 0; }
.archive-notice { display: flex; gap: 20px; margin: 0 auto 24px; padding: 16px 20px; border-left: 3px solid #74808a; background: var(--bh-mist); }
.archive-badge { flex: 0 0 auto; color: var(--bh-navy); font-size: 14px; font-weight: 600; }
.archive-notice p { margin: 0; font-size: 14px; }
.post-featured-image { max-width: 820px; margin: 0 auto 30px; }
.post-featured-image img { width: 100%; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; border-bottom: 1px solid var(--bh-line); }
.post-card-image { display: block; aspect-ratio: 4 / 3; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-copy { padding-block: 18px; }
.post-card h2 { font-size: 23px; }
.post-excerpt, .archive-description { color: var(--bh-muted); }
.navigation { margin-top: 30px; }
.nav-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.page-numbers { padding: 8px 12px; }
.empty-state { max-width: 680px; padding-block: 24px; }
.not-found { max-width: 820px; padding-block: 48px 60px; }
@media (max-width: 1050px) {
 .desktop-nav, .header-contact { display: none; }
 .header-inner { min-height: 76px; }
 .site-brand img { width: 160px; }
 .mobile-nav { display: block; }
 .mobile-nav summary { display: flex; align-items: center; min-height: 44px; gap: 12px; padding: 10px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
 .mobile-nav summary::-webkit-details-marker { display: none; }
 .menu-icon { width: 19px; height: 12px; border-block: 1.5px solid currentColor; }
 .mobile-nav > nav { position: absolute; top: 100%; left: 0; right: 0; padding: 12px 24px 20px; border-bottom: 1px solid var(--bh-line); background: #fff; }
 .mobile-nav .primary-menu { display: block; margin-bottom: 12px; }
 .mobile-nav .primary-menu a { display: flex; min-height: 44px; border-bottom: 1px solid var(--bh-line); font-size: 16px; white-space: normal; }
 .mobile-nav .button { width: 100%; }
 .hero { gap: 30px; }
 .footer-main { gap: 28px; }
}
@media (max-width: 700px) {
 .site-width { width: calc(100% - 40px); }
 .section-space { padding-block: 26px; }
 .utility-inner { min-height: 32px; gap: 12px; }
 .utility-inner p { max-width: 220px; font-size: 11px; line-height: 1.35; }
 .utility-inner a { font-size: 11px; }
 .header-inner { min-height: 72px; }
 .site-brand img { width: 145px; }
 .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 26px; }
 .hero-copy h1 { font-size: 32px; }
 .hero-description { font-size: 17px; margin-bottom: 16px; }
 .hero-image > img { height: 190px; }
 .about-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
 .about-grid h2, .section-heading h2 { font-size: 22px; }
 .section-heading { flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px; }
 .community-gallery { gap: 8px; }
 .community-gallery figure { aspect-ratio: 1; }
 .contact-panel { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; }
 .contact-panel h2 { font-size: 22px; }
 .contact-panel-copy { max-width: 100%; }
 .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
 .footer-brand { grid-column: 1 / -1; }
 .footer-brand img { width: 135px; margin-bottom: 10px; }
 .footer-brand p { font-size: 13px; }
 .footer-links a { font-size: 13px; }
 .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
 .page-heading { padding-block: 20px 24px; }
 .page-heading h1 { font-size: 30px; }
 .page-body { padding-block: 24px 30px; }
 .archive-notice { display: block; padding: 14px 16px; }
 .archive-badge { display: block; margin-bottom: 6px; }
 .entry-content .bh-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
 .content-page .entry-content:has(> .bh-card) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .content-page .entry-content > .bh-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px 14px; padding: 0 0 16px; }
 .content-page .entry-content > .bh-card > figure { grid-row: 1 / span 4; margin: 0; }
 .content-page .entry-content > .bh-card img { width: 80px; height: 110px; padding: 0; background: transparent; }
 .content-page .entry-content > .bh-card > :not(figure) { margin: 0; }
 .content-page .entry-content > .bh-card h3 { font-size: 18px; line-height: 1.35; }
 .content-page .entry-content > .bh-card p { font-size: 14px; line-height: 1.5; }
 .content-page .entry-content > .bh-card a { display: inline-flex; align-items: center; min-height: 44px; }
 .bh-story .bh-story-title { font-size: 17px; }
 .home-content .entry-content .bh-section > .wp-block-image { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
 .utility-bar, .site-header nav, .header-contact, .site-footer, .button-row { display: none !important; }
 .site-width { width: 100%; }
 body.bhnow-site { color: #000; background: #fff; font-size: 11pt; }
 .hero { display: block; }
 .hero-image { max-width: 50%; margin-block: 20px; }
 .section-space { padding-block: 20px; }
 .bh-story > .bh-story-content { display: block; }
 .bh-story::details-content { content-visibility: visible; }
 .bh-story-toggle { display: none; }
 a { color: inherit; }
}
