/* Homepage visual layer, scoped to preserve the other page layouts. */
.home-page {
    --clr-bg: #f6f7f3;
    --clr-primary: #285b46;
    --clr-primary-md: #204c3a;
    --clr-primary-lt: #eaf0e7;
    --clr-border: #e1e6dc;
    --clr-border-soft: #e5e9e1;
    --clr-text-1: #243c32;
    --clr-text-2: #5d6a61;
    --clr-text-3: #727e75;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    background: var(--clr-bg) !important;
}
.home-layout { max-width: 1280px; padding-top: var(--yc-content-top-space); padding-bottom: 48px; }
.home-layout > .row { --bs-gutter-x: 32px; --bs-gutter-y: 24px; }
.home-page .left-sidebar { gap: 16px; position: static; }
.home-page .sidebar-card { border-radius: 12px; background: #fff; box-shadow: none; }
.home-page .sidebar-card:hover { transform: none; border-color: var(--clr-border); }
.home-page .sidebar-card-header { background: none; border: 0; padding: 19px 18px 4px; font-size: .65rem; letter-spacing: .1em; color: #687568; }
.home-page .sidebar-card-header > i { display: none; }
.home-page .sidebar-card-body { padding: 12px; }
.home-page .sidebar-card--location, .home-page .sidebar-card--action { border-color: var(--clr-border); }
.home-page .sidebar-filter-btn { font-size: .82rem; padding: 10px 12px; border-radius: 7px; }
.home-page .sidebar-filter-btn:hover { transform: none; background: #f4f6f0; }
.home-page .sidebar-filter-btn.active { background: #eaf0e6; color: #285b46 !important; box-shadow: none; }
.home-page .sidebar-filter-btn i, .home-page .sidebar-stat-item .fw-bold { color: #58725e !important; }
.home-page .btn-location-soft, .home-page .btn-location-soft:hover {
    background: #f6f8f2 !important; color: #365440 !important; border-color: #e0e6d9 !important;
    box-shadow: none; transform: none; font-size: .8rem;
}
.home-page .sidebar-btn-icon { width: 26px; height: 26px; background: none; box-shadow: none; color: #526d54; }
.home-page .btn.sidebar-action-btn { min-height: 42px; font-size: .82rem; font-weight: 600; border-radius: 7px !important; box-shadow: none; }
.home-page .btn.sidebar-action-btn--issue { background: #285b46; border-color: #285b46; }
.home-page .btn.sidebar-action-btn--issue:hover { background: #204c3a; border-color: #204c3a; }
.home-page .btn.sidebar-action-btn--event { background: #f2f5ef; color: #365440 !important; border-color: #e0e6d9; }
.home-page .btn.sidebar-action-btn--event:hover { background: #e8eee3; color: #285b46 !important; border-color: #c8d4c2; }
.home-page .sidebar-action-btn:hover { transform: none; box-shadow: none; }
.home-page .sidebar-stat-item { font-size: .78rem; }

.home-page .hero-cta-box {
    display: flex; align-items: center; gap: 24px; padding: 40px 36px; margin-bottom: 32px;
    border: 1px solid #dce4d4; border-radius: 16px; background: #edf1e6; box-shadow: none;
}
.home-page .hero-cta-box::before { display: none; }
.hero-copy { flex: 1; min-width: 0; }
.hero-eyebrow, .section-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: #506a51; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #64855b; }
.home-page .hero-cta-box .hero-title {
    font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.16; letter-spacing: -.045em;
    font-weight: 600; color: #243c32; background: none; -webkit-text-fill-color: currentColor;
    animation: none; margin-bottom: 18px;
}
.hero-title > span { color: #52734b; }
.home-page .hero-cta-box .hero-subtitle { color: #5b6c5c; font-size: .88rem; line-height: 1.85; font-weight: 400; margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.home-page #register-pulse-btn { background: #285b46 !important; border-radius: 7px !important; font-size: .82rem; padding: 12px 18px !important; gap: 18px; box-shadow: none; }
.home-page #register-pulse-btn:hover { background: #204c3a !important; transform: none; box-shadow: none; }
.hero-secondary-link { display: inline-flex; align-items: center; gap: 12px; color: #365440; font-size: .8rem; font-weight: 500; }
.hero-note { margin: 16px 0 0; font-size: .65rem; color: #63745f; }
.hero-community { flex: 0 0 125px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; color: #6c8861; }
.hero-community-icon { font-size: 6rem; line-height: 1; font-weight: 400; opacity: .65; }
.hero-community-line { width: 40px; height: 1px; background: #b9c7ac; margin: 24px 0 16px; }
.hero-community-caption { text-align: right; font-size: .74rem; line-height: 1.65; letter-spacing: -.01em; }

.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 20px; }
.feed-heading h2 { margin: 7px 0 0; font-size: 1.5rem; letter-spacing: -.04em; font-weight: 600; }
.section-eyebrow { font-size: .59rem; color: #727e6c; }
.feed-location { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 10px 12px; border: 1px solid #dce3d5; background: transparent; border-radius: 7px; color: #466044; font-size: .74rem; }
.feed-location:hover { background: #eaf0e6; }
.home-page .listing-toolbar { background: transparent; padding: 0 0 12px; border: 0; border-bottom: 1px solid #dde3d6; border-radius: 0; box-shadow: none; margin-bottom: 22px; gap: 8px; }
.home-page .toolbar-tabs { gap: 4px; }
.home-page .toolbar-tabs .nav-link { padding: 9px 12px; font-size: .76rem; border-radius: 6px; }
.home-page .toolbar-tabs .nav-link.active { background: #e5ecdf !important; color: #285b46 !important; box-shadow: none; }
.home-page .toolbar-tabs i { color: inherit !important; }
.home-page .view-toggle-btn { background: transparent; border-color: transparent; border-radius: 6px; }
.home-page .view-toggle-btn.active { background: #e5ecdf; color: #285b46; border-color: #d8e2d0; }
.home-page .issues-grid, .home-page .events-grid { gap: 20px; }
.home-page .issue-grid-card, .home-page .issue-list-card, .home-page .event-grid-card { border-color: var(--clr-border); border-radius: 12px; box-shadow: none; }
.home-page .issue-grid-card:hover, .home-page .issue-list-card:hover, .home-page .event-grid-card:hover, .home-page .vitrin-item:hover { transform: none; border-color: #a5b49a; box-shadow: none; }
.home-page .issue-grid-card:hover .issue-grid-card-img, .home-page .event-grid-card:hover .event-grid-card-img { transform: none; }
.home-page .issue-grid-card-body, .home-page .event-grid-card-body { padding: 17px; }
.home-page .issue-grid-card-title { font-size: .91rem; font-weight: 600; letter-spacing: -.02em; }
.home-page .issue-grid-card-loc, .home-page .issue-list-meta { color: #6c786b; font-size: .72rem; }
.home-page .issue-grid-card-loc i, .home-page .issue-list-meta i { color: #7e8d73 !important; }
.home-page .support-count { color: #647b5e; font-size: .72rem; }
.home-page .status-overlay-badge { border: 1px solid #ffffffa6; font-size: .6rem; font-weight: 500; padding: 5px 8px; border-radius: 5px; box-shadow: none; backdrop-filter: none; }
.home-page .status-overlay-waiting { background: #f6f0e2; color: #766135; }
.home-page .status-overlay-solved { background: #edf3e9; color: #365f3d; }
.home-page .status-overlay-pending { background: #edf0f2; color: #516477; }
.home-page .btn-outline-success { border-color: #c4d0bd; color: #365440; font-size: .8rem; font-weight: 500 !important; border-radius: 7px !important; padding: 10px 24px !important; }
.home-page .btn-outline-success:hover { color: #fff; background: #285b46; }
.home-page .quick-post-box { padding: 18px; border-color: var(--clr-border); margin-bottom: 28px; }
.home-page .quick-post-input { color: #63745e; background: #f6f8f2; font-size: .83rem; }
.home-page .features-section { background: #eff2e9; border-color: #e0e6d7; }
.home-page .how-it-works-card { background: transparent; border: 0; padding: 24px; border-radius: 0; }
.home-page .how-it-works-card:hover { transform: none; box-shadow: none; }
.home-page .how-it-works-icon { background: #e1e8d8 !important; color: #52734b !important; border-radius: 12px; }
.home-page .features-section h2 { letter-spacing: -.04em; color: #243c32; }
.home-page :is(button, a):focus-visible { outline: 3px solid #779b87; outline-offset: 3px; }
.home-page .location-modal :is(.btn-submit-location, .btn-submit-location:hover) { background: #285b46; box-shadow: none; transform: none; }
.home-page .btn:hover { transform: none; box-shadow: none; }

@media (max-width: 1199.98px) { .hero-community { display: none; } }
@media (max-width: 991.98px) {
    .home-layout { padding: var(--yc-content-top-space) 20px 40px; }
    .home-layout > .row { --bs-gutter-x: 0; }
    .home-page .hero-cta-box { padding: 36px; }
    .home-page .hero-cta-box .hero-title { font-size: 2.7rem; }
}
@media (max-width: 575.98px) {
    .home-layout { padding: var(--yc-content-top-space) 16px 32px; }
    .home-page .hero-cta-box { padding: 28px 22px; border-radius: 12px; margin-bottom: 24px; }
    .hero-eyebrow { font-size: .54rem; letter-spacing: .08em; margin-bottom: 18px; }
    .home-page .hero-cta-box .hero-title { font-size: clamp(1.8rem, 7.7vw, 2.5rem); }
    .home-page .hero-cta-box .hero-subtitle { font-size: .8rem; }
    .hero-actions { gap: 16px; }
    .home-page #register-pulse-btn { font-size: .76rem; padding: 11px 14px !important; gap: 12px; }
    .hero-secondary-link { font-size: .74rem; gap: 6px; }
    .feed-heading { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
    .feed-heading h2 { font-size: 1.2rem; }
    .section-eyebrow { font-size: .51rem; letter-spacing: .07em; }
    .feed-location { padding: 9px; font-size: .67rem; gap: 5px; }
    .home-page .listing-toolbar { flex-wrap: wrap; }
    .home-page .toolbar-tabs { width: 100%; flex-wrap: nowrap; gap: 2px; }
    .home-page .toolbar-tabs .nav-item { flex: 1 1 auto; min-width: 0; }
    .home-page .toolbar-tabs .nav-link { width: 100%; min-height: 44px; font-size: .7rem; padding: 9px 6px; white-space: nowrap; }
    .home-page .listing-toolbar > .d-flex { margin-left: auto; }
    .home-page .view-toggle-btn { width: 44px; height: 44px; }
    .home-page .issues-grid, .home-page .events-grid { gap: 16px; }
    .home-page .issue-list-card-img,
    .home-page .issue-list-card-img-placeholder { width: 96px; min-width: 96px; }
    .home-page .issue-list-card-body { min-width: 0; padding: 12px; }
    .home-page .issue-list-card-title { font-size: .85rem; }
    .home-page .issue-list-meta { font-size: .68rem; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
