:root {
    --community-green: #285f28;
    --community-green-dark: #174817;
    --community-bg: #f0f2f4;
    --community-border: #d3d8de;
    --community-text: #263442;
    --community-muted: #66717e;
}

header.community-top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    padding: 0 18px;
    border-top: 4px solid #303030;
    border-bottom: 1px solid var(--community-border);
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}
header.community-top-header,
header.community-top-header * { box-sizing: border-box; }
header.community-top-header .container { display: flex; width: 100%; max-width: none; height: 56px; margin: 0 auto; padding: 0; align-items: center; gap: 12px; }
header.community-top-header .community-menu-toggle { position: static; order: 1; display: inline-flex; width: 42px; height: 34px; margin: 0; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--community-border); border-radius: 7px; color: #52606d; background: #fff; cursor: pointer; }
header.community-top-header .community-menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
header.community-top-header #logo { display: flex; order: 2; height: 56px; margin: 0 8px; align-items: center; flex: 0 0 auto; }
header.community-top-header #logo a { display: flex; align-items: center; }
header.community-top-header #logo img { width: auto; height: 32px; margin: 0; }
header.community-top-header #logo .logo_normal { display: none !important; }
header.community-top-header #logo .logo_sticky { display: block !important; }
header.community-top-header .layer { display: none; }
.community-header-search { display: none; }
.community-mobile-actions { display: none; }
header.community-top-header .community-header-search { display: flex; order: 3; width: clamp(260px, 27vw, 520px); height: 38px; margin: 0 8px 0 4px; align-items: center; flex: 0 1 520px; border: 1px solid #cfd6dd; border-radius: 21px; background: #f2f4f6; }
header.community-top-header .community-header-search i { margin-left: 14px; color: #65717d; font-size: 14px; }
header.community-top-header .community-header-search input { width: 100%; height: 100%; padding: 0 14px 0 9px; border: 0; outline: 0; background: transparent; color: #2d3945; font-size: 13px; }
header.community-top-header .community-header-search input::placeholder { color: #6b747e; opacity: 1; }
header.community-top-header .main-menu { display: flex; order: 4; height: 56px; margin: 0 0 0 auto; align-items: center; }
header.community-top-header .main-menu > ul { display: flex; height: 56px; margin: 0; padding: 0; align-items: center; gap: 8px; white-space: nowrap; }
header.community-top-header .main-menu > ul > li { display: flex; height: 56px; margin: 0; align-items: center; }
header.community-top-header .main-menu > ul > li > a,
header.community-top-header .main-menu > ul > li > button {
    display: inline-flex;
    height: 36px;
    min-height: 36px;
    padding: 0 12px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--community-border);
    border-radius: 7px;
    color: #536170 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    vertical-align: middle;
    cursor: pointer;
}
header.community-top-header .main-menu > ul > li > a i { display: inline-flex; margin-right: 4px; align-items: center; line-height: 1; }
header.community-top-header .main-menu > ul > li > a:hover,
header.community-top-header .main-menu > ul > li > a.is-active { color: var(--community-green) !important; background: #f3f6f3; }
.community-promotion-count { display: inline-flex; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 9px; background: #e9f2e8; color: #245b2a; font: 700 10px/1 Poppins, sans-serif; vertical-align: middle; }
.community-listing-page { padding-bottom: 88px; }
.community-featured-type-fixed-link { position: fixed; z-index: 1200; right: 50%; bottom: max(14px, env(safe-area-inset-bottom)); display: inline-flex; min-height: 46px; max-width: calc(100vw - 24px); padding: 0 20px; align-items: center; justify-content: center; gap: 8px; transform: translateX(50%); border: 1px solid #d0a52e; border-radius: 24px; background: #ffd974; color: #2d2d2d; box-shadow: 0 4px 14px rgba(25,35,45,.25); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; isolation: isolate; }
.community-featured-type-fixed-link::before { position: absolute; z-index: -1; inset: -2px; border: 2px solid rgba(208,165,46,.75); border-radius: inherit; content: ""; pointer-events: none; animation: featuredTypeBorderSplash 2.2s ease-out infinite; }
.community-featured-type-fixed-link:hover { background: #f2c64e; color: #2d2d2d; text-decoration: none; }
@keyframes featuredTypeBorderSplash { 0% { transform: scale(1); opacity: .75; } 75%, 100% { transform: scale(1.18); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .community-featured-type-fixed-link::before { animation: none; } }
header.community-top-header .main-menu > ul > li > a.menu-submit-link {
    border-color: var(--community-green);
    background: var(--community-green);
    color: #fff !important;
    font-weight: 700;
}
header.community-top-header .main-menu > ul > li > a.menu-submit-link span { margin-right: 4px; font-size: 18px; font-weight: 600; line-height: 1; }
header.community-top-header .main-menu > ul > li > a.menu-account-link,
header.community-top-header .main-menu > ul > li > button.menu-account-link { border-radius: 20px; }
.community-account-menu { position: relative; }
.community-account-toggle { font-family: Poppins, sans-serif; }
.community-account-toggle .fa-chevron-down { margin: 0 0 0 7px !important; font-size: 8px; }
.community-account-header-badge { display: inline-flex; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 10px; background: #d92d20; color: #fff; font: 800 10px/1 Poppins, sans-serif; animation: myOfferBadgePulse 2.6s ease-out infinite; }
.community-account-initial { display: inline-flex; width: 24px; height: 24px; margin-right: 7px; align-items: center; justify-content: center; border-radius: 50%; background: #ffd974; color: #2d2d2d; font-size: 11px; font-weight: 800; }
@keyframes myOfferBadgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,45,32,0); } 45% { box-shadow: 0 0 0 5px rgba(217,45,32,.3); } }
.community-account-backdrop { position: fixed !important; inset: 0; z-index: 2147483000 !important; display: block; width: 100%; height: 100%; padding: 0; visibility: hidden; border: 0; background: rgba(25,31,37,.38); opacity: 0; cursor: default; transition: opacity .18s ease, visibility .18s ease; }
.community-account-open .community-account-backdrop { visibility: visible; opacity: 1; }
.community-account-dropdown { position: fixed !important; z-index: 2147483001 !important; isolation: isolate; top: 68px; right: 18px; display: none; width: 252px; padding: 9px; overflow: hidden; border: 1px solid #c8ced5; border-radius: 11px; background: #fff !important; opacity: 1 !important; box-shadow: 0 18px 46px rgba(15,23,31,.32), 0 3px 10px rgba(15,23,31,.14); }
.community-account-dropdown.is-open { display: block; }
.community-account-summary { display: flex; padding: 8px 8px 12px; align-items: center; gap: 10px; border-bottom: 1px solid #e5e7eb; margin-bottom: 5px; }
.community-account-summary-avatar { display: inline-flex; width: 38px; height: 38px; flex: 0 0 38px; align-items: center; justify-content: center; border-radius: 50%; background: #ffd974; color: #2d2d2d; font-weight: 800; }
.community-account-summary strong, .community-account-summary small { display: block; }
.community-account-summary strong { max-width: 155px; overflow: hidden; color: #2d2d2d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.community-account-summary small { color: #76818c; font-size: 10px; }
.community-account-dropdown > a,
.community-account-dropdown form button { display: flex; width: 100%; min-height: 39px; padding: 0 10px; align-items: center; gap: 10px; border: 0; border-radius: 6px; background: transparent; color: #536170; font: 500 12px/1 Poppins, sans-serif; text-align: left; cursor: pointer; }
.community-account-dropdown > a:hover,
.community-account-dropdown form button:hover { background: #fff5d8; color: #2d2d2d; }
.community-account-dropdown i { width: 15px; color: #5d6670; text-align: center; }
.community-account-dropdown .community-account-link-label { flex: 1; }
.community-account-dropdown .community-account-offer-badge { display: inline-flex; min-width: 21px; height: 21px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 11px; background: #d92d20; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; animation: myOfferBadgePulse 2.6s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .community-account-header-badge, .community-account-dropdown .community-account-offer-badge { animation: none; } }
.community-account-dropdown form { margin: 5px 0 0; padding-top: 5px; border-top: 1px solid #e5e7eb; }
header.community-top-header .community-country-chip { display: inline-flex; min-height: 36px; padding: 0 11px; align-items: center; gap: 6px; border: 1px solid var(--community-border); border-radius: 7px; color: #536170; background: #fff; font-size: 12px; }

@media (min-width: 992px) {
    header.community-top-header .main-menu.main-menu-improved {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        overflow: visible;
        float: none;
        transform: none;
    }
    header.community-top-header .main-menu.main-menu-improved > ul,
    header.community-top-header .main-menu.main-menu-improved > ul > li {
        top: auto;
        float: none;
        transform: none;
    }
}

@media (max-width: 1540px) {
    header.community-top-header .community-header-search { width: clamp(220px, 22vw, 360px); }
    header.community-top-header .main-menu > ul > li > a { padding-left: 9px !important; padding-right: 9px !important; }
    header.community-top-header .community-country-item { display: none; }
}

@media (max-width: 1380px) {
    header.community-top-header .community-header-search { flex: 1 1 360px; max-width: 460px; }
}

.community-drawer-backdrop { position: fixed; inset: 0; z-index: 1098; visibility: hidden; background: rgba(19,28,36,.46); opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.community-menu-drawer { position: fixed; z-index: 1099; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); padding: 18px; overflow-y: auto; transform: translateX(-102%); border-right: 1px solid var(--community-border); background: #fff; box-shadow: 12px 0 30px rgba(20,30,40,.18); transition: transform .22s ease; }
.community-drawer-open { overflow: hidden; }
.community-drawer-open .community-drawer-backdrop { visibility: visible; opacity: 1; }
.community-drawer-open .community-menu-drawer { transform: translateX(0); }
.community-drawer-heading { display: flex; min-height: 45px; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 5px 12px; border-bottom: 1px solid #e6e9ec; }
.community-drawer-heading strong { color: #24313d; font-size: 18px; }
.community-drawer-heading button { width: 36px; height: 36px; border: 1px solid var(--community-border); border-radius: 7px; background: #fff; color: #52606d; }
.community-menu-drawer nav { display: grid; gap: 4px; }
.community-menu-drawer nav > a,
.community-drawer-signout { display: flex; width: 100%; min-height: 44px; padding: 0 12px; align-items: center; gap: 11px; border: 0; border-radius: 7px; background: transparent; color: #344454; font: 500 14px/1.2 Poppins, sans-serif; text-align: left; cursor: pointer; }
.community-menu-drawer nav > a:hover,
.community-drawer-signout:hover { color: var(--community-green); background: #eef3ee; }
.community-menu-drawer nav i { width: 18px; color: var(--community-green); text-align: center; }
.community-menu-drawer form { margin: 0; }
.community-drawer-signout { color: #a52a2a; }
.community-drawer-signout i { color: #a52a2a !important; }
.community-menu-drawer nav > .community-drawer-profile { min-height: 64px; margin: 0 0 3px; padding: 9px 10px; gap: 10px; border: 1px solid var(--community-border); background: #fafbfc; }
.community-drawer-profile > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 2px; }
.community-drawer-profile strong { overflow: hidden; color: #263442; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.community-drawer-profile small { color: #77828d; font-size: 11px; }
.community-drawer-profile > i { width: auto !important; color: #8b949d !important; font-size: 11px; }
.community-drawer-avatar { display: inline-flex; width: 38px; height: 38px; flex: 0 0 38px; align-items: center; justify-content: center; border-radius: 50%; background: #2d2d2d; color: #ffd974; font-size: 15px; font-weight: 700; }
.community-menu-drawer nav > .community-drawer-signin { min-height: 44px; margin: 0 0 3px; border: 1px solid #ead58e; background: #fff9e6; color: #4a3a08; }
.community-drawer-search { display: flex; min-height: 44px; margin: 0 0 4px !important; padding: 0 5px 0 12px; align-items: center; gap: 8px; border: 1px solid var(--community-border); border-radius: 8px; background: #fff; }
.community-drawer-search > i { width: auto !important; color: #7b8792 !important; }
.community-drawer-search input { width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: #263442; font: 400 12px/1.2 Poppins, sans-serif; }
.community-drawer-search button { display: inline-flex; width: 32px; height: 32px; flex: 0 0 32px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: #2d2d2d; color: #ffd974; cursor: pointer; }
.community-drawer-search button i { width: auto !important; color: inherit !important; }
.community-menu-drawer nav > .community-drawer-group { display: grid; gap: 3px; padding: 8px 0 9px; border-bottom: 1px solid #edf0f2; }
.community-drawer-label { padding: 0 12px 3px; color: #89939d; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.community-drawer-group > a { display: flex; min-height: 41px; padding: 0 12px; align-items: center; gap: 11px; border-radius: 7px; color: #344454; font: 500 13px/1.2 Poppins, sans-serif; text-decoration: none; }
.community-drawer-group > a:hover,
.community-drawer-group > a.is-active { color: #242424; background: #fff8e5; }
.community-drawer-group > a.is-active { box-shadow: inset 3px 0 #ffd974; }
.community-drawer-group > a.community-drawer-feature { min-height: 43px; background: #2d2d2d; color: #fff; }
.community-drawer-group > a.community-drawer-feature i { color: #ffd974; }
.community-drawer-group > a.community-drawer-feature:hover,
.community-drawer-group > a.community-drawer-feature.is-active { background: #444; color: #fff; }
.community-drawer-group .community-drawer-end { width: auto !important; margin-left: auto; color: #ffd974; font-size: 10px; }
.community-drawer-badge { min-width: 22px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 10px; background: #fff0c2; color: #5b4700; font: 700 10px/20px Poppins, sans-serif; text-align: center; }
.community-menu-drawer nav > #communityLogoutForm { padding-top: 5px; }
@media (max-height: 620px) { .community-menu-drawer { padding-top: 12px; padding-bottom: 12px; } .community-drawer-group { padding-top: 5px !important; padding-bottom: 5px !important; } .community-drawer-group > a { min-height: 37px; } }

.community-feed-hero {
    display: none;
}

.community-feed-page {
    min-height: 75vh;
    width: 100%;
    padding: 24px clamp(18px, 2.2vw, 44px) 50px;
    background: var(--community-bg);
    color: var(--community-text);
}

.community-feed-grid {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(600px, 760px) minmax(220px, 250px);
    gap: 24px;
    width: 100%;
    max-width: 1880px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: start;
}

.community-left-rail,
.community-right-rail {
    position: sticky;
    top: 82px;
}

.community-panel,
.community-ad-slot,
.community-feed-tabs {
    background: #fff;
    border: 1px solid var(--community-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.community-panel { padding: 16px; margin-bottom: 16px; }
.community-panel h2 {
    margin: 0 0 13px;
    color: #263442;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.community-panel h2 i { color: var(--community-green); }

.community-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 6px;
    color: #344454;
    font-size: 13px;
}
.community-category-link:hover { color: var(--community-green); background: #f3f6f3; }
.community-category-link.is-active { color: var(--community-green); background: #eef3ee; font-weight: 700; }
.community-category-link.is-active i { margin-right: 8px; }
.community-category-link.is-active span { margin-right: auto; }
.community-category-link .fa-chevron-right { font-size: 9px; }
.community-category-tree { display: block; }
.community-category-mobile { display: none; }
.community-filter-categories-mobile { display: none; }
.community-mobile-filter-heading { display: flex; align-items: center; justify-content: space-between; }
.community-mobile-filter-heading h2 { margin: 0; }
.community-mobile-filter-heading a { color: #52606d; font-size: 11px; font-weight: 600; }
.community-active-filters { display: flex; margin-top: 10px; align-items: center; flex-wrap: wrap; gap: 6px; }
.community-active-filters strong { color: #66717e; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.community-active-filters span { display: inline-flex; min-height: 25px; padding: 3px 9px; align-items: center; gap: 5px; border: 1px solid #e2c56e; border-radius: 14px; background: #fff5d8; color: #3c3c3c; font-size: 11px; font-weight: 600; }
.community-category-group { margin: 1px 0; }
.community-category-group summary { display: flex; min-height: 34px; padding: 0 8px; align-items: center; gap: 8px; border-radius: 6px; color: #344454; cursor: pointer; list-style: none; }
.community-category-group summary::-webkit-details-marker { display: none; }
.community-category-group summary::marker { display: none; content: ""; }
.community-category-group summary:hover { background: #f4f6f4; }
.community-category-group summary > a { min-width: 0; flex: 1; color: inherit; font-size: 13px; line-height: 1.35; text-decoration: none; }
.community-category-group summary > a.is-active { font-weight: 700; }
.community-category-group summary > i { color: #52687a; font-size: 9px; transition: transform .18s ease; }
.community-category-group[open] summary > i { transform: rotate(180deg); }
.community-subcategory-list { display: grid; gap: 1px; padding: 2px 0 5px 18px; }
.community-subcategory-list a { display: flex; min-height: 30px; padding: 6px 10px; align-items: center; border-radius: 6px; color: #526170; font-size: 12px; line-height: 1.35; text-decoration: none; }
.community-subcategory-list a:hover { color: var(--community-green); background: #f4f6f4; }
.community-subcategory-list a.is-active { color: var(--community-green); background: #eef3ee; font-weight: 700; }

.community-ad-slot {
    display: flex;
    height: 136px;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 16px;
    padding-top: 10px;
}
.community-ad-slot span {
    padding: 3px 9px;
    border: 1px solid #e3e6ea;
    border-radius: 20px;
    color: #929aa4;
    background: #f7f8f9;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.community-panel-heading { display: flex; justify-content: space-between; align-items: center; }
.community-panel-heading a { color: #52606d; font-size: 11px; }
.community-location-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.community-location-form label { margin: 0; }
.community-location-form label > span { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; }
.community-location-form select {
    width: 100%; height: 40px; padding: 0 12px;
    border: 1px solid var(--community-border); border-radius: 7px;
    background: #f5f6f7; color: #2c3a47;
}
.community-location-form button,
.community-primary-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 40px; padding: 0 17px; border: 0; border-radius: 8px;
    background: var(--community-green); color: #fff; font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 5px rgba(26, 86, 33, .25);
}
.community-primary-button { width: 100%; margin-top: 14px; }
.community-location-form button:hover,
.community-primary-button:hover { color: #fff; background: var(--community-green-dark); }

.community-feed-tabs { display: flex; gap: 6px; margin-bottom: 16px; padding: 7px 10px; }
.community-feed-tabs a { padding: 7px 16px; border-radius: 6px; color: #303a45; font-size: 13px; }
.community-feed-tabs a.is-active { background: var(--community-green); color: #fff; font-weight: 700; }

.community-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.community-pills a { padding: 5px 10px; border: 1px solid var(--community-border); border-radius: 20px; background: #f5f7f8; color: #344454; font-size: 11px; }
.community-pills a:hover { border-color: var(--community-green); color: var(--community-green); }

.contributor-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e8ebee; color: #273543; }
.contributor-row:last-child { border-bottom: 0; }
.contributor-avatar { display: flex; width: 29px; height: 29px; align-items: center; justify-content: center; border-radius: 50%; background: #edf2ed; color: var(--community-green); font-weight: 800; }
.contributor-row strong, .contributor-row small { display: block; max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contributor-row strong { font-size: 12px; }
.contributor-row small { color: var(--community-muted); font-size: 10px; }
.contributor-row b { color: var(--community-green); font-size: 11px; }

.community-deal-feed .related-promo-list { display: block; }
.community-deal-feed .related-promo-card {
    display: block !important;
    max-width: 560px;
    margin: 0 auto 18px !important;
    overflow: hidden;
    border: 1px solid var(--community-border) !important;
    border-radius: 8px !important;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08) !important;
}
.community-deal-feed .related-promo-title-mobile { display: none !important; }
.community-deal-feed .related-promo-thumb { width: 100% !important; max-width: none !important; height: 315px; }
.community-deal-feed .related-promo-image-link,
.community-deal-feed .related-promo-image { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.community-deal-feed .related-promo-body { width: 100% !important; padding: 16px !important; }
.community-deal-feed .related-promo-title { font-size: 17px !important; text-transform: uppercase; }
.community-deal-feed .related-promo-meta { border-top: 1px solid #edf0f2; margin-top: 13px; padding-top: 10px; }
.community-deal-feed .feed-community-actions {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    margin-top: 10px; padding-top: 10px; border-top: 1px solid #e3e7eb;
}
.community-deal-feed .feed-community-actions form { display: inline-flex; margin: 0; }
.community-deal-feed .feed-vote-score { display:inline-flex; width:34px; height:34px; flex:0 0 34px; align-items:center; justify-content:center; border:1px solid #cbd3dc; border-radius:50%; background:#f5f6f7; color:#2d2d2d; font-size:14px; font-weight:800; }
.community-deal-feed .feed-action-button,
.community-deal-feed .feed-action-stat,
.community-deal-feed .feed-got-button {
    display: inline-flex; min-height: 27px; align-items: center; justify-content: center; gap: 4px;
    margin: 0; padding: 3px 9px; border: 1px solid #cdd4dc; border-radius: 5px;
    background: #f6f8fa; color: #52606d; font: 600 12px/1.2 Arial, sans-serif;
    text-decoration: none; cursor: pointer;
}
.community-deal-feed .feed-action-stat { border-color: transparent; background: transparent; padding-left: 4px; padding-right: 4px; }
.community-deal-feed .feed-action-button:hover,
.community-deal-feed .feed-action-button.is-active { border-color: var(--community-green); color: var(--community-green); background: #eef5ed; }
.community-deal-feed .feed-got-button { border-color: var(--community-green); background: var(--community-green); color: #fff; font-weight: 800; padding-left: 13px; padding-right: 13px; box-shadow: 0 1px 2px rgba(26,86,33,.2); }
.community-deal-feed .feed-got-button:hover,
.community-deal-feed .feed-got-button.is-active { background: var(--community-green-dark); color: #fff; }
.community-deal-feed .feed-got-button.is-active { box-shadow: inset 0 0 0 2px rgba(255,255,255,.38), 0 1px 2px rgba(26,86,33,.2); }
.community-deal-feed .feed-got-check { display: none; margin-right: 4px; }
.community-deal-feed .feed-got-button.is-active .feed-got-check { display: inline-block; }
.community-deal-feed .feed-got-count { display: inline-flex; min-width: 18px; height: 18px; margin-left: 5px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(255,255,255,.2); color: inherit; font-size: 11px; line-height: 18px; }
.community-deal-feed .feed-action-error.is-success { color: var(--community-green-dark); }
.community-deal-feed .feed-community-actions .is-loading { opacity: .55; pointer-events: none; }
.community-deal-feed .feed-action-error { color: #b42318; font-size: 11px; }
.community-feed-ad {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 560px;
    min-width: 0;
    min-height: 140px;
    margin: 0 auto 18px;
    padding: 28px 12px 12px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid var(--community-border);
    border-radius: 9px;
    background: #fff;
    text-align: center;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.community-feed-ad-label { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); color: #8793a0; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.community-feed-ad-label i { margin-right: 3px; }
.community-feed-ad .adsbygoogle {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 100px;
    margin: 0 auto;
    overflow: hidden;
}

.latest-feed-loader { display: flex; min-height: 75px; align-items: center; justify-content: center; gap: 9px; color: var(--community-muted); font-size: 12px; }
.latest-feed-loader img { width: 26px; height: 26px; }
.community-pagination { display: flex; margin: 24px 0 8px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.community-pagination > a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--community-border); border-radius: 7px; background: #fff; color: #344454; font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.community-pagination > a:hover { border-color: var(--community-green); color: var(--community-green); }
.community-pagination > a.is-active { border-color: var(--community-green); background: var(--community-green); color: #fff; }
.community-pagination > a.is-disabled { pointer-events: none; color: #aeb5bd; background: #f5f6f7; }
.community-pagination p { width: 100%; margin: 5px 0 0; color: var(--community-muted); font-size: 12px; text-align: center; }
.latest-feed-empty { padding: 50px 20px; border: 1px solid var(--community-border); border-radius: 8px; background: #fff; text-align: center; }
.latest-feed-empty > i { color: var(--community-green); font-size: 32px; }

@media (max-width: 1279px) {
    .community-feed-grid { grid-template-columns: 220px minmax(0, 760px); justify-content: center; }
    .community-right-rail { display: none; }
}

@media (max-width: 767px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden !important; overscroll-behavior-x: none !important; }
    body { position: relative; left: 0; }
    body > header.community-top-header, body > main, body > footer { box-sizing: border-box; width: 100%; max-width: 100vw !important; min-width: 0; }
    body > main { position: relative; left: 0; right: 0; min-width: 0; margin-right: 0; margin-left: 0; overflow-x: hidden; }
    header.community-top-header { padding: 0 7px; }
    header.community-top-header { width: 100%; max-width: 100vw; }
    header.community-top-header .container { position: relative; justify-content: flex-start; gap: 5px; }
    header.community-top-header .community-menu-toggle { width: 34px; height: 34px; flex: 0 0 34px; }
    header.community-top-header #logo { display: flex; height: 56px; margin: 0 3px; flex: 0 0 auto; }
    header.community-top-header #logo img { height: 27px; max-width: 82px; object-fit: contain; }
    header.community-top-header .community-header-search,
    header.community-top-header .main-menu { display: none; }
    header.community-top-header .community-mobile-actions { position: absolute; z-index: 2; top: 0; right: 0; bottom: auto; left: auto; display: flex !important; width: 186px !important; max-width: none; height: 56px; margin: 0; align-items: center; gap: 4px; overflow: visible; transform: none; visibility: visible; opacity: 1; }
    header.community-top-header .community-mobile-actions a,
    header.community-top-header .community-mobile-actions button { display: inline-flex; width: 33px; height: 34px; padding: 0; align-items: center; justify-content: center; flex: 0 0 33px; border: 1px solid var(--community-border); border-radius: 7px; background: #fff; color: #526170; font-size: 14px; line-height: 1; cursor: pointer; }
    header.community-top-header .community-mobile-actions a.is-active { color: var(--community-green); background: #f1f5f1; }
    header.community-top-header .community-mobile-actions a.community-mobile-post { width: 38px; flex-basis: 38px; border-color: var(--community-green); background: var(--community-green); color: #fff; box-shadow: 0 2px 5px rgba(24,73,29,.22); }
    header.community-top-header .community-mobile-post span { font-size: 25px; font-weight: 400; line-height: 1; }
    header.community-top-header .community-mobile-actions a.community-mobile-account,
    header.community-top-header .community-mobile-actions button.community-mobile-account { border-radius: 50%; }
    .community-account-dropdown { top: 64px; right: 8px; width: min(270px, calc(100vw - 16px)); max-height: calc(100vh - 76px); overflow-y: auto; border-radius: 10px; }
    .community-feed-hero { height: 12px; }
    .community-feed-page { position: relative; left: 0; width: 100%; max-width: 100vw; min-width: 0; margin-right: 0; margin-left: 0; padding: 10px 8px 35px; overflow-x: clip; }
    .community-feed-grid { display: block; width: 100%; min-width: 0; }
    .community-feed-main, .community-listing-heading, .community-panel, .community-feed-tabs, .community-deal-feed { width: 100%; min-width: 0; max-width: 100%; }
    .community-left-rail { display: none; }
    .category-panel { padding: 10px; overflow: visible; white-space: normal; }
    .category-panel h2 { display: none; }
    .community-category-link { display: inline-flex; min-height: 32px; margin-right: 4px; border: 1px solid var(--community-border); }
    .community-category-link .fa-chevron-right { display: none; }
    .community-category-tree--desktop { display: none; }
    .community-category-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .community-category-mobile label { min-width: 0; margin: 0; }
    .community-category-mobile label > span { display: block; margin: 0 0 4px; color: #4b5967; font-size: 10px; font-weight: 700; text-transform: uppercase; }
    .community-category-mobile select { width: 100%; height: 40px; padding: 0 28px 0 10px; border: 1px solid var(--community-border); border-radius: 7px; background-color: #fff; color: #2d3945; font-size: 12px; text-overflow: ellipsis; }
    .community-category-mobile select:disabled { color: #8a949e; background-color: #f5f6f7; }
    .community-filter-categories-mobile { display: block; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid #e2e6ea; }
    .community-filter-categories-mobile h2 { display: block; margin: 0 0 10px; }
    .location-filter-panel { position: relative; padding: 14px 16px 16px; }
    .location-filter-panel > .community-panel-heading { margin-bottom: 8px; }
    .location-filter-panel > .community-panel-heading h2 { margin: 0; font-size: 11px; }
    .location-filter-panel > .community-panel-heading .community-location-clear { display: none; }
    .community-ad-slot { height: 80px; }
    .community-location-form { grid-template-columns: 1fr 1fr; }
    .community-location-form label:first-of-type { display: none; }
    .community-location-form button { width: 100%; }
    .community-feed-tabs { position: sticky; top: 0; z-index: 5; overflow-x: auto; }
    .community-deal-feed .related-promo-card { max-width: none; }
    .community-deal-feed .related-promo-thumb { height: 55vw; min-height: 220px; max-height: 340px; }
    .community-feed-ad { max-width: none; min-height: 120px; margin-bottom: 14px; padding: 26px 6px 8px; border-radius: 8px; }
    .community-feed-ad .adsbygoogle { min-height: 86px; }
}

@media (max-width: 360px) {
    header.community-top-header { padding-left: 5px; padding-right: 5px; }
    header.community-top-header .container { gap: 3px; }
    header.community-top-header #logo { margin: 0; }
    header.community-top-header #logo img { max-width: 72px; height: 24px; }
    header.community-top-header .community-mobile-actions { width: 166px !important; gap: 3px; }
    header.community-top-header .community-mobile-actions a { width: 30px; flex-basis: 30px; }
    header.community-top-header .community-mobile-actions a.community-mobile-post { width: 34px; flex-basis: 34px; }
    .community-feed-ad { min-height: 108px; padding-right: 4px; padding-left: 4px; }
}

.community-listing-page { padding-top: 24px; }
.community-listing-heading { margin: 0 8px 16px; }
.community-listing-heading h1 { margin: 0 0 5px; color: #20252b; font-size: clamp(22px, 1.45vw, 28px); line-height: 1.2; font-weight: 800; }
.community-listing-heading p { margin: 0; color: #59636e; font-size: 14px; line-height: 1.45; }

@media (min-width: 1500px) {
    .community-feed-grid { grid-template-columns: 250px minmax(600px, 760px) 250px; }
}
