/* ============================================================
   Hen &amp; Homestead — Main Stylesheet
   Mobile-first, responsive
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-primary:    #4a7c59;
    --color-primary-dk: #355a40;
    --color-accent:     #d4860a;
    --color-danger:     #c0392b;
    --color-text:       #1f2d1f;
    --color-muted:      #5a6e5a;
    --color-border:     #d4e0d4;
    --color-bg:         #f7f9f5;
    --color-bg-alt:     #eef2ea;
    --color-white:      #ffffff;

    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius:    8px;
    --shadow:    0 1px 4px rgba(0,0,0,.1);
    --shadow-md: 0 2px 12px rgba(0,0,0,.12);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    padding-bottom: 60px; /* room for mobile nav */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.mobile-nav-open {
    overflow: hidden;
}

body > main {
    flex: 1;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Container -------------------------------------------- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* --- Buttons ---------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
}
.btn-primary  { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dk); text-decoration: none; }
.btn-ghost    { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn-outline  { background: transparent; color: var(--color-muted); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.btn-danger   { background: var(--color-danger); color: #fff; }

/* --- Header ----------------------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5eae5;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: visible;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 70px;
    max-width: none;
    padding: 0 20px;
}
.logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 101;
    margin-right: 18px;
}
.logo-img {
    height: 64px;
    width: auto;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}
.hdr-signout-btn {
    background: none;
    border: none;
    font-size: .82rem;
    color: var(--color-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.hdr-signout-btn:hover { color: var(--color-primary); }
.header-spacer { flex: 1; }

/* Main nav — clean horizontal links */
.main-nav { display: none; gap: 0; align-items: center; }
.main-nav a {
    padding: 6px 11px;
    font-size: .875rem;
    font-weight: 500;
    color: #2d3a2d;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .12s, border-color .12s;
    line-height: 70px;
    display: inline-flex;
    align-items: center;
}
.main-nav a:hover { color: var(--color-primary-dk); border-bottom-color: var(--color-primary); }
.main-nav a.active { color: var(--color-primary-dk); font-weight: 700; border-bottom-color: var(--color-primary); }

/* Right-side actions cluster */
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Sign In button — outlined */
.hdr-signin-btn {
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: #2d3a2d;
    background: transparent;
    border: 1.5px solid #b8ccb8;
    border-radius: 100px;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color .12s, background .12s;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
}
.hdr-signin-btn:hover { border-color: var(--color-primary); background: #f0f6f0; text-decoration: none; }

/* Post Free Ad — solid green pill with icon */
.hdr-post-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #2d6a2d;
    border-radius: 100px;
    font-size: .83rem;
    font-weight: 700;
    color: #fff;
    border: none;
    white-space: nowrap;
    text-decoration: none;
    transition: background .12s;
    line-height: 1.4;
}
.hdr-post-btn:hover { background: #1e5c1e; text-decoration: none; color: #fff; }

/* Area chip — right side location pill */
.area-chip {
    display: flex; align-items: center; gap: 5px;
    background: #f2f6f2; border: 1.5px solid #c8d8c8;
    border-radius: 100px; padding: 5px 12px 5px 10px;
    font-size: .8rem; font-weight: 600; color: #2d5a2d;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.area-chip:hover { border-color: #2d6a2d; background: #e8f4e8; }
.area-chip span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }

/* Messages icon button — icon only */
.hdr-messages:hover { background: var(--color-bg-alt); }
.hdr-username:hover { background: var(--color-bg-alt); text-decoration: none; }

/* Craigslist-style area chip */
.area-chip {
    display: flex; align-items: center; gap: 5px;
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    border-radius: 20px; padding: 4px 10px 4px 8px;
    font-size: .8rem; font-weight: 600; color: var(--color-primary-dk);
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.area-chip:hover { border-color: var(--color-primary); background: #eef5ee; }
.area-chip span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* Area dropdown panel */
.area-dropdown {
    position: absolute; top: 62px; right: 20px;
    width: min(340px, 94vw);
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; padding: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    z-index: 200;
}
.area-dropdown__head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.area-dropdown__head strong { font-size: .95rem; }
.area-dropdown__close {
    background: none; border: none; font-size: 1rem; cursor: pointer;
    color: var(--color-muted); padding: 2px 6px; border-radius: 4px;
}
.area-dropdown__close:hover { background: var(--color-bg-alt); }
.area-dropdown__footer { margin-top: 10px; text-align: right; font-size: .82rem; }
.mobile-menu-toggle {
    background: none; border: none; font-size: 1.4rem;
    cursor: pointer; color: var(--color-text); margin-left: auto;
    display: flex;
}

@media (min-width: 900px) {
    .main-nav { display: flex; }
    .mobile-menu-toggle { display: none; }
}

/* --- Hero ------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dk) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 48px 16px 40px;
    text-align: center;
}
.hero h1 { font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.hero-sub { font-size: 1rem; opacity: .9; max-width: 620px; margin: 0 auto 24px; }

.hero-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto 20px;
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-md);
}
.hero-search input,
.hero-search select {
    flex: 1;
    min-width: 120px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: .95rem;
    color: var(--color-text);
    background: var(--color-bg);
}
.hero-search .btn { flex-shrink: 0; }

.trust-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.trust-chips span {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: .82rem;
}

/* --- Sections --------------------------------------------- */
.section { padding: 40px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-community { background: #f4f9f4; border-top: 2px solid #c8dfc8; }
.section-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--color-primary-dk); }
.section-footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.loading { color: var(--color-muted); font-size: .9rem; }

/* --- Quick Category Grid ---------------------------------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 18px 10px;
    text-decoration: none;
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    transition: border-color .15s, box-shadow .15s;
}
.cat-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); text-decoration: none; }
.cat-icon { font-size: 1.8rem; }

/* --- Listing Grid ----------------------------------------- */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
/* Browse page: fixed 4-column grid */
.browse-results .listing-grid {
    grid-template-columns: repeat(4, 1fr);
}
.listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .15s;
}
.listing-card:hover { box-shadow: var(--shadow-md); }
.listing-card__img { aspect-ratio: 4/3; background: var(--color-bg-alt); overflow: hidden; flex-shrink: 0; position: relative; }
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card--no-photo .listing-card__img { background: #f8f3e9; }
.listing-card__img .no-photo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.listing-card__local-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(30,80,40,.78);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: .04em;
    backdrop-filter: blur(2px);
}
.listing-card__img .no-photo {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--color-border);
}
.listing-card__body { padding: 10px 12px; flex: 1; }
/* Stretched link — title <a> overlays the whole card; poster/category stay above it */
.listing-card__title {
    display: block;
    font-size: .95rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3;
    color: var(--color-text); text-decoration: none;
}
.listing-card__title::after {
    position: absolute; inset: 0; z-index: 1; content: '';
}
.listing-card__price { color: var(--color-primary-dk); font-weight: 700; font-size: .92rem; }
.listing-card__price.free { color: var(--color-accent); }
.listing-card__meta { font-size: .78rem; color: var(--color-muted); margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.listing-card__meta .listing-card__poster { color: var(--color-primary-dk); font-weight: 600; text-decoration: none; }
.listing-card__meta .listing-card__poster:hover { text-decoration: underline; }
.listing-card__category { font-size: .75rem; background: var(--color-bg-alt); padding: 2px 8px; border-radius: 20px; display: inline-block; }

/* --- Question List (forum-thread style) ------------------- */
.question-list { display: flex; flex-direction: column; }
.q-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    transition: background .12s;
    border-radius: 8px;
}
.q-card:hover { background: #f0f5f0; text-decoration: none; }
.q-card:last-child { border-bottom: none; }

/* Reply counter box */
.q-card__counter {
    flex-shrink: 0;
    width: 54px;
    min-width: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 10px;
    padding: 8px 4px;
    line-height: 1.2;
    border: 1px solid var(--color-border);
    text-align: center;
}
.q-card__counter strong { font-size: 1.1rem; font-weight: 800; color: var(--color-muted); display: block; }
.q-card__counter span   { font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); display: block; }
.q-card__counter--active { background: #dceedd; border-color: #b8d9c0; }
.q-card__counter--active strong { color: var(--color-primary-dk); }
.q-card__counter--active span   { color: var(--color-primary-dk); }

/* Body */
.q-card__body { flex: 1; min-width: 0; overflow: hidden; }
.q-card__headline {
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 3px;
}
.q-card:hover .q-card__headline { color: var(--color-primary-dk); }
.q-card__cat   { display: inline-block; background: #dceedd; border-radius: 10px; padding: 1px 8px; font-size: .7rem; color: var(--color-primary-dk); font-weight: 600; white-space: nowrap; margin-left: 6px; vertical-align: middle; }
.q-card__snippet { font-size: .82rem; color: var(--color-muted); line-height: 1.4; margin-bottom: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.q-card__meta   { font-size: .76rem; color: var(--color-muted); }
.q-card__author { color: var(--color-primary-dk); font-weight: 600; font-size: .76rem; }
.q-card__author:hover { text-decoration: underline; }

/* Legacy homepage q-card */
.q-card__bubble {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #dceedd;
    color: var(--color-primary-dk);
    font-weight: 800; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.q-card__title { display: block; font-weight: 600; font-size: .93rem; color: var(--color-text); line-height: 1.4; text-decoration: none; }
.q-card__title::after { position: absolute; inset: 0; z-index: 1; content: ''; }
.q-card__replies { margin-left: auto; white-space: nowrap; font-size: .75rem; color: var(--color-muted); }
.section-safety { background: #fffbee; border-top: 2px solid #f0d060; }
.safety-list { display: flex; flex-direction: column; gap: 8px; }
.safety-list li { padding-left: 20px; position: relative; font-size: .92rem; }
.safety-list li::before { content: "⚠"; position: absolute; left: 0; font-size: .75rem; top: 3px; }

/* --- Forms ------------------------------------------------ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-error { color: var(--color-danger); font-size: .85rem; margin-top: 4px; }
.form-hint  { color: var(--color-muted); font-size: .82rem; margin-top: 4px; }

/* --- Page Layout ------------------------------------------ */
.page-header { padding: 28px 0 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 28px; }
.page-header h1 { font-size: 1.5rem; font-weight: 800; }
.page-content { padding: 24px 0 48px; }

/* --- Auth pages (login / register) ------------------------ */
.auth-body {
    background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
}

.auth-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px;
    gap: 20px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 4px;
}
.auth-brand__icon { font-size: 1.6rem; }
.auth-brand__name { font-size: 1.2rem; font-weight: 800; color: var(--color-primary-dk); }

.auth-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 36px 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
    width: 100%;
    max-width: 420px;
}

.auth-card__head { text-align: center; margin-bottom: 28px; }
.auth-lock-icon  { font-size: 2rem; margin-bottom: 8px; }
.auth-card__title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.auth-card__sub   { font-size: .85rem; color: var(--color-muted); }

.label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.label-row label { font-weight: 600; font-size: .9rem; margin-bottom: 0; }
.label-link { font-size: .82rem; color: var(--color-primary); text-decoration: none; }
.label-link:hover { text-decoration: underline; }

/* Input with icon */
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-wrap .input-icon {
    position: absolute;
    left: 11px;
    font-size: .95rem;
    pointer-events: none;
    opacity: .5;
}
.input-wrap input {
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 40px 10px 36px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color .15s, box-shadow .15s;
}
.input-wrap input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74,124,89,.15);
    background: var(--color-white);
}
.input-wrap input::placeholder { color: #b0b8b0; }

.toggle-pw {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-muted);
    padding: 4px;
    display: flex;
    align-items: center;
}
.toggle-pw:hover { color: var(--color-primary); }

.btn-full { width: 100%; margin-top: 6px; padding: 11px; font-size: 1rem; border-radius: var(--radius); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 16px;
    color: var(--color-border);
    font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.auth-divider span { color: var(--color-muted); white-space: nowrap; }

.auth-card__switch { text-align: center; font-size: .9rem; }
.auth-card__switch a { font-weight: 600; color: var(--color-primary); }

/* Trust strip below card */
.auth-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: .8rem;
    color: var(--color-muted);
}
.auth-trust span { display: flex; align-items: center; gap: 4px; }

.auth-footer-note {
    font-size: .78rem;
    color: var(--color-muted);
    text-align: center;
}
.auth-footer-note a { color: var(--color-muted); text-decoration: underline; }

/* Override form-group label inside auth for tighter spacing */
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .form-group label { margin-bottom: 0; }

/* Password strength */
.pw-strength { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.pw-strength__bar  { flex: 1; height: 5px; background: var(--color-border); border-radius: 4px; overflow: hidden; }
.pw-strength__fill { height: 100%; border-radius: 4px; transition: width .3s, background .3s; width: 0; }
.pw-strength__label { font-size: .75rem; font-weight: 600; min-width: 72px; }
.form-field-error { margin: 4px 0 0; font-size: .78rem; color: #c0392b; }

/* Terms note inside register card */
.auth-terms-note {
    font-size: .75rem;
    color: var(--color-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}
.auth-terms-note a { color: var(--color-muted); text-decoration: underline; }

/* --- Site Footer ------------------------------------------ */
.site-footer {
    background: var(--color-primary-dk);
    color: rgba(255,255,255,.8);
    padding: 20px 0;
    font-size: .85rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer nav a { color: rgba(255,255,255,.7); }
.site-footer nav a:hover { color: #fff; }

/* --- Mobile Bottom Nav ------------------------------------ */
.mobile-bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    z-index: 200;
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
}
.mobile-bottom-nav a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 6px 4px 4px;
    font-size: .7rem;
    color: var(--color-muted);
    text-decoration: none;
    gap: 2px;
}
.mobile-bottom-nav a:hover, .mobile-bottom-nav a.active { color: var(--color-primary); }
.mobile-bottom-nav .post-btn {
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    margin: 4px;
    font-size: 1.3rem;
}
.mobile-bottom-nav .post-btn span { font-size: .7rem; }

@media (min-width: 900px) {
    .mobile-bottom-nav { display: none; }
    body { padding-bottom: 0; }
}

/* --- Alerts / Flash --------------------------------------- */
.alert {
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .9rem;
    margin-bottom: 16px;
}
.alert-success { background: #eaf6ec; border: 1px solid #8dd6a0; color: #1a5c2e; }
.alert-error   { background: #fdecea; border: 1px solid #f5b7b1; color: #8b1a1a; }
.alert-warning { background: #fff8e1; border: 1px solid #f0d060; color: #7a5c00; }

/* --- Area region picker (Craigslist-style) ----------------- */
.area-regions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}
.area-region__name {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-muted);
    margin-bottom: 5px;
}
.area-region__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.area-city {
    display: inline-block;
    font-size: .8rem;
    color: var(--color-primary-dk);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 3px 10px;
    text-decoration: none;
    transition: background .1s, color .1s, border-color .1s;
    white-space: nowrap;
}
.area-city:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); text-decoration: none; }
.area-city--active { background: var(--color-primary); color: #fff !important; border-color: var(--color-primary); font-weight: 600; }

/* --- Mobile overrides (< 900px) --------------------------- */
@media (max-width: 899px) {
    .header-inner {
        height: 60px;
        padding: 0 10px;
        gap: 6px;
    }
    .logo {
        margin-right: 0;
    }
    .logo-img {
        height: 44px;
    }
    .header-spacer {
        display: none;
    }
    .header-actions {
        margin-left: auto;
        gap: 4px;
    }
    .header-actions .btn.btn-outline {
        display: none;
    }
    .hdr-post-btn {
        display: none;
    }
    .hdr-signin-btn {
        padding: 6px 10px;
        font-size: .78rem;
    }
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        margin-left: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        background: #fff;
        flex-shrink: 0;
    }
    .site-header.is-mobile-nav-open .mobile-menu-toggle {
        background: var(--color-bg-alt);
        color: var(--color-primary-dk);
    }
    .site-header.is-mobile-nav-open .main-nav {
        display: flex;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-top: 1px solid #e5eae5;
        border-bottom: 1px solid #e5eae5;
        box-shadow: 0 16px 30px rgba(0,0,0,.08);
        padding: 8px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        z-index: 130;
    }
    .site-header.is-mobile-nav-open .main-nav a {
        line-height: 1.35;
        padding: 12px 4px;
        border-bottom: 1px solid #eef2ea;
    }
    .site-header.is-mobile-nav-open .main-nav a:last-child {
        border-bottom: none;
    }
    /* Declutter header — bottom nav handles Messages + Account */
    .hdr-messages, .hdr-username { display: none; }
    /* Hide area chip text label on mobile to save space */
    .area-chip span { display: none; }
    /* On mobile, area chip is icon-only pill */
    .area-chip { padding: 5px 7px; gap: 0; }
    .hdr-signout-btn { display: none; }

    .listing-card__img,
    .hp-listing-card__img,
    .post-card__img {
        aspect-ratio: auto;
        height: clamp(150px, 24vw, 190px);
    }

    /* 2-column card grid on phones */
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .browse-results .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .listing-card__title { font-size: .85rem; }
    .listing-card__meta  { font-size: .72rem; }

    /* Area dropdown: fixed, full-width on small screens */
    .area-dropdown {
        position: fixed;
        top: 64px;
        left: 8px;
        right: 8px;
        transform: none;
        width: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    /* Browse filter toggle button */
    .browse-filter-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
    }
}
@media (min-width: 900px) {
    .browse-filter-toggle { display: none; }
}

/* --- Disclaimer ------------------------------------------- */
.disclaimer {
    background: #fff8e1;
    border: 1px solid #f0d060;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .82rem;
    color: #6b5000;
    margin: 20px 0;
}

/* --- Score pill ------------------------------------------- */
.score-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: .7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    line-height: 1.6;
    white-space: nowrap;
    vertical-align: middle;
}
.score-pill--seller { background: #e6f4ea; color: #1a5c2e; }
.score-pill--buyer  { background: #e3f0fb; color: #1a4a7a; }

/* Reputation tier badges */
.rep-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    vertical-align: middle;
    margin-left: 5px;
    border: 1px solid transparent;
    letter-spacing: .01em;
}
.rep-badge--trusted-seller { background: #e6f4ea; color: #1a5c2e; border-color: #b4d9bf; }
.rep-badge--top-seller     { background: #fff8e1; color: #7a5000; border-color: #f0cc60; }
.rep-badge--trusted-buyer  { background: #e3f0fb; color: #1a4a7a; border-color: #a8cef0; }
.rep-badge--top-buyer      { background: #f0ebff; color: #4a1a9a; border-color: #c8a8f0; }

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE v2 — Hero, Quick Cats, Sections, Promo, Why, Footer
   ════════════════════════════════════════════════════════════════ */

.home-page,
.home-page-footer {
    --home-shell-gutter: clamp(18px, 3vw, 38px);
}

.home-page .container:not(.hero2__inner),
.home-page-footer .footer2__inner,
.home-page-footer .footer2__bottom {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: var(--home-shell-gutter);
    padding-right: var(--home-shell-gutter);
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero2 {
    background: #f8f3ea;
    overflow: hidden;
    border-top: 1px solid #e9dece;
    border-bottom: 1px solid #e9dece;
}
.hero2__inner {
    display: grid;
    grid-template-columns: minmax(320px, 40%) minmax(560px, 60%);
    gap: 0;
    align-items: stretch;
    min-height: 430px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: var(--home-shell-gutter);
    padding-right: 0;
}
.hero2__text {
    padding: 30px 42px 28px 0;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero2__headline {
    max-width: 700px;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2.05rem, 3.7vw, 3.1rem);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 12px;
    color: #284f2d;
    letter-spacing: -.03em;
    text-wrap: balance;
}
.hero2__sub {
    font-size: 1.02rem;
    color: #5d5a54;
    max-width: 560px;
    line-height: 1.42;
    margin-bottom: 14px;
}

/* Hero search bar */
.hero2-search {
    margin-bottom: 16px;
    max-width: 640px;
}
.hero2-search__bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e7dac8;
    padding: 4px 6px 4px 16px;
    box-shadow: 0 10px 26px rgba(82, 59, 31, .08);
    gap: 8px;
}
.hero2-search__icon { color: #8c8a84; flex-shrink: 0; }
.hero2-search__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .98rem;
    color: #3d3a35;
    min-width: 0;
    background: transparent;
}
.hero2-search__input::placeholder { color: #a8a19a; }
.hero2-search__cat {
    border: none;
    border-left: 1px solid #ece2d3;
    padding: 10px 32px 10px 16px;
    font-size: .95rem;
    font-weight: 600;
    color: #765128;
    background: transparent;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23765128' stroke-width='2.3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.hero2-search__btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s, transform .12s;
}
.hero2-search__btn:hover { background: var(--color-primary-dk); transform: translateY(-1px); }

/* Hero CTAs */
.hero2__ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero2-btn-browse {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    border: none;
    transition: background .15s, transform .1s;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(45, 106, 45, .14);
}
.hero2-btn-browse:hover { background: var(--color-primary-dk); transform: translateY(-1px); text-decoration: none; color: #fff; }
.hero2-btn-community {
    background: #fff;
    color: #7c4f23;
    border: 2px solid #c78f59;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: background .15s, border-color .15s, transform .1s;
    text-decoration: none;
}
.hero2-btn-community:hover { background: #fff7ef; border-color: #b6783f; text-decoration: none; color: #6c431d; transform: translateY(-1px); }

/* Trust chips */
.hero2__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero2-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.92);
    border: 1px solid #e6dccc;
    border-radius: 12px;
    padding: 9px 14px;
    font-size: .9rem;
    color: #3f3d37;
    font-weight: 600;
    box-shadow: 0 5px 16px rgba(88, 63, 35, .05);
}
.hero2-trust-chip svg {
    color: #406430;
    flex-shrink: 0;
}

/* Hero art panel */
.hero2__art {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.hero2__art::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 14%;
    background: linear-gradient(90deg, #f8f3ea 0%, rgba(248, 243, 234, .82) 36%, rgba(248, 243, 234, 0) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero2__art-bg {
    width: 100%;
    background: #f8f3ea;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
}
.hero2__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* ── Quick Category Strip ─────────────────────────────────────── */
.qcat-section {
    background: #fff;
    border-bottom: 1px solid #eadfce;
    padding: 10px 0 12px;
}
.qcat-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(118px, 1fr));
    gap: 8px;
    overflow: visible;
}
.qcat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 10px 13px;
    min-width: 0;
    text-decoration: none;
    color: #5d4323;
    border: 1px solid #e9dfd1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(96, 70, 34, .04);
    transition: transform .12s, box-shadow .15s, border-color .15s;
}
.qcat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(96, 70, 34, .07);
    border-color: #d2b894;
    text-decoration: none;
}
.qcat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s, color .15s;
    color: #8b5b26;
}
.qcat-icon svg,
.qcat-icon__img {
    width: auto;
    height: 40px;
    max-width: 44px;
    display: block;
}
.qcat-item:hover .qcat-icon { color: #6d461c; transform: scale(1.04); }
.qcat-label {
    font-size: .78rem;
    font-weight: 700;
    color: #4d463c;
    text-align: center;
    line-height: 1.18;
}
.qcat-item:hover .qcat-label { color: #3e362c; }

/* ── Homepage sections ────────────────────────────────────────── */
.hp-section { padding: 34px 0; }
.hp-section--alt {
    background: #f8f6ef;
    border-top: 1px solid #eee3d3;
    border-bottom: 1px solid #eee3d3;
}
.hp-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}
.hp-section__title {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #274e2d;
    margin: 0;
}
.hp-section__viewall {
    font-size: .83rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
}
.hp-section__viewall:hover { text-decoration: underline; }

/* ── Promo strip ─────────────────────────────────────────────── */
/* ── Homepage question tiles (Ask the Community) ─────────────── */
.qhp-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.qhp-card {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    box-shadow: 0 8px 18px rgba(88, 63, 35, .04);
    transition: box-shadow .15s, border-color .15s, transform .12s;
}
.qhp-card:hover {
    box-shadow: 0 12px 26px rgba(88, 63, 35, .08);
    border-color: #d2c1a7;
    text-decoration: none;
    transform: translateY(-1px);
}
.qhp-thumb {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.qhp-thumb--empty {
    width: 82px;
    height: 82px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5efe6;
    color: #7b5a31;
    border: 1px solid #eadfce;
}
.qhp-info { flex: 1; min-width: 0; }
.qhp-card__tag {
    display: inline-flex;
    align-items: center;
    background: #fff3df;
    color: #a66418;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .67rem;
    font-weight: 700;
}
.qhp-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 8px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.qhp-answers {
    font-size: .74rem;
    color: #6f675c;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── Homepage listing grid (6 col) ───────────────────────────── */
.hp-listing-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.hp-listing-card {
    border: 1px solid #e7dccd;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(88, 63, 35, .05);
}
.hp-listing-card:hover {
    box-shadow: 0 14px 28px rgba(88, 63, 35, .09);
}
.hp-listing-card__img {
    aspect-ratio: 1.08;
}
.hp-listing-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.hp-listing-card__badge {
    background: rgba(39, 78, 45, .88);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.hp-listing-card__badge--verified {
    background: rgba(255, 250, 242, .94);
    color: #5d573d;
}
.hp-listing-card__body {
    padding: 10px 12px 12px;
}
.hp-listing-card__title {
    font-size: .86rem;
    line-height: 1.35;
    margin-bottom: 4px;
    min-height: 2.35em;
}
.hp-listing-card .listing-card__price {
    display: block;
    font-size: .96rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.hp-listing-card .listing-card__price.free {
    color: #cf7a1a;
}
.hp-listing-card__tag-row {
    margin-bottom: 8px;
}
.hp-listing-card__tag {
    display: inline-flex;
    align-items: center;
    background: #eef5e8;
    color: #58704a;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .66rem;
    font-weight: 700;
}
.hp-listing-card__detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}
.hp-listing-card__detail-row--muted {
    color: #7c7468;
}
.hp-listing-card__detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    line-height: 1.25;
    color: inherit;
}

/* ── Why Choose grid ─────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.why-card {
    background: #fffdf9;
    border: 1px solid #eadfce;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 8px 20px rgba(88, 63, 35, .04);
}
.why-card__icon {
    width: 52px;
    height: 52px;
    background: #eef4e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #406430;
    margin-bottom: 14px;
    border: 1.5px solid #dfe8d4;
}
.why-card h4 { font-size: .94rem; font-weight: 800; margin-bottom: 6px; color: #2e3e2d; }
.why-card p  { font-size: .82rem; color: #6d655a; line-height: 1.55; margin: 0; }

/* ── Footer v2 ───────────────────────────────────────────────── */
.site-footer2 {
    background: #f7f1e6;
    color: #655d53;
    margin-top: 0;
    border-top: 1px solid #eadfce;
}
.footer2__inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 36px 0 22px;
}
.footer2__logo {
    height: 56px;
    width: auto;
    margin-bottom: 12px;
}
.footer2__brand p {
    font-size: .83rem;
    line-height: 1.6;
    max-width: 260px;
    color: #6e665a;
}
.footer2__col h5 {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6e5f4a;
    margin-bottom: 14px;
}
.footer2__col a {
    display: block;
    font-size: .85rem;
    color: #655d53;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .15s;
}
.footer2__col a:hover { color: #274e2d; }
.footer2__bottom {
    background: #284d2d;
    color: rgba(255,255,255,.86);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
    gap: 12px;
    flex-wrap: wrap;
    border-top: none;
    margin-top: 12px;
}
.footer2__bottom nav { display: flex; gap: 18px; }
.footer2__bottom nav a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer2__bottom nav a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hp-listing-grid { grid-template-columns: repeat(4, 1fr); }
    .qhp-row { grid-template-columns: repeat(2, 1fr); }
    .qcat-row { grid-template-columns: repeat(4, minmax(110px, 1fr)); }
}
@media (max-width: 900px) {
    .hero2__inner { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
    .hero2__art   { display: none; }
    .hero2__text  { padding: 40px 0; }
    .why-grid     { grid-template-columns: repeat(2, 1fr); }
    .footer2__inner { grid-template-columns: 1fr 1fr; }
    .hp-listing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .home-page,
    .home-page-footer {
        --home-shell-gutter: 14px;
    }
    .hero2__headline { font-size: 1.55rem; }
    .hero2__inner {
        min-height: 0;
        padding-left: var(--home-shell-gutter);
        padding-right: var(--home-shell-gutter);
    }
    .hero2__text {
        padding: 28px 0 24px;
    }
    .hero2__sub {
        font-size: .95rem;
    }
    .hero2-search__bar {
        padding: 6px 8px 6px 12px;
    }
    .hero2__ctas {
        gap: 10px;
        margin-bottom: 18px;
    }
    .hero2-btn-browse,
    .hero2-btn-community {
        width: 100%;
        justify-content: center;
    }
    .hero2__trust {
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero2-trust-chip {
        width: 100%;
    }
    .hp-section {
        padding: 26px 0;
    }
    .hp-section__head {
        align-items: flex-start;
    }
    .qcat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qcat-item { padding: 14px 10px; }
    .qcat-icon { width: 44px; height: 44px; }
    .qcat-icon svg,
    .qcat-icon__img { height: 30px; }
    .why-grid  { grid-template-columns: 1fr; }
    .footer2__inner { grid-template-columns: 1fr; }
    .hero2-search__cat { display: none; }
    .hp-listing-grid { grid-template-columns: 1fr; }
    .listing-card__img,
    .hp-listing-card__img,
    .post-card__img {
        height: 210px;
    }
    .hp-listing-card__title { min-height: 0; }
    .hp-listing-card__detail { font-size: .74rem; }
    .qhp-row { grid-template-columns: 1fr; }
    .qhp-card {
        flex-direction: column;
    }
    .qhp-thumb,
    .qhp-thumb--empty {
        width: 100%;
        height: 160px;
    }
    .footer2__bottom {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 420px) {
    .header-inner {
        padding: 0 8px;
    }
    .logo-img {
        height: 40px;
    }
    .hdr-signin-btn {
        display: none;
    }
}

/* ── Event cards (homepage .ev-list) ─────────────────────────── */
.ev-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 18px;
    justify-content: start;
    align-items: start;
}
.ev-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ev-group__label {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: .98rem;
    font-weight: 700;
    color: #355230;
    padding-bottom: 2px;
}
.ev-group__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ev-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1.5px solid #dce4d8;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    min-height: 112px;
    transition: box-shadow .15s, border-color .15s;
}
.ev-card:hover { box-shadow: 0 4px 18px rgba(44,80,44,.11); border-color: #a3c0a3; }
.ev-card__date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 14px 10px;
    background: #2d6a2d;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}
.ev-card__month { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ev-card__day   { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.ev-card__body  { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ev-card__title { font-weight: 700; font-size: .95rem; color: #1a2c1a; line-height: 1.3; }
.ev-card__time, .ev-card__venue {
    font-size: .78rem;
    color: #4a6a4a;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
}
.ev-card__time svg,
.ev-card__venue svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.ev-card__venue-text {
    min-width: 0;
    line-height: 1.4;
}
.ev-card__addr { color: var(--color-muted, #777); }
.ev-card__footer { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ev-card__directions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: #2d6a2d;
    background: #edf5ed;
    border: 1px solid #b8d8b8;
    border-radius: 6px;
    padding: 3px 8px;
    text-decoration: none;
    transition: background .12s;
}
.ev-card__directions:hover { background: #d5ecd5; }
.ev-card__free  { font-size: .7rem; font-weight: 700; color: #2d6a2d; background: #edf5ed; border-radius: 4px; padding: 2px 7px; }
.ev-card__price { font-size: .8rem; font-weight: 700; color: #1a2c1a; }
.ev-card__img   { display: none; }
@media (max-width: 700px) {
    .ev-list { grid-template-columns: 1fr; }
}

/* ── Event info card on post.php ─────────────────────────────── */
.event-info-card {
    border: 1.5px solid #dce4d8;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 18px;
    background: #fff;
}
.event-info-card__date-band {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #2d6a2d;
    color: #fff;
    padding: 16px 20px;
}
.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
}
.event-date-badge__dow { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.event-date-badge__day { font-size: 2rem; font-weight: 900; line-height: 1; }
.event-date-badge__mon { font-size: .62rem; font-weight: 600; letter-spacing: .05em; opacity: .85; text-transform: uppercase; }
.event-info-card__time-block { font-size: .95rem; }
.event-info-card__time-icon { margin-right: 4px; }

.event-info-card__location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #eef2ee;
    flex-wrap: wrap;
}
.event-info-card__location-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .9rem;
}
.event-info-card__loc-icon { font-size: 1rem; flex-shrink: 0; }
.event-info-card__addr { font-size: .82rem; color: var(--color-muted, #777); }

.event-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    background: #2d6a2d;
    border-radius: 8px;
    padding: 7px 14px;
    text-decoration: none;
    transition: background .12s;
    flex-shrink: 0;
}
.event-directions-btn:hover { background: #1e5c1e; }

.event-map-wrap { padding: 0 20px 16px; }

.event-info-card__link-row {
    padding: 12px 20px;
    border-top: 1px solid #eef2ee;
    font-size: .85rem;
    word-break: break-all;
}
.event-info-card__link-row a { color: #2d6a2d; text-decoration: none; }
.event-info-card__link-row a:hover { text-decoration: underline; }
