.site-language-menu {
    position: relative;
    z-index: 60;
}

.premium-shell > header {
    z-index: 1000;
}
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
    z-index: 10 !important;
}
.discover-map-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 26px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .14);
}
.discover-map-panel {
    min-height: min(72vh, 720px);
    overflow: hidden;
    border-radius: 20px;
}
.discover-map-list {
    min-height: 0;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
    padding: 14px;
}
.discover-map-list-head strong,
.discover-map-list-head span {
    display: block;
}
.discover-map-list-head strong {
    color: #071224;
    font-size: 18px;
    font-weight: 950;
}
.discover-map-list-head span {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.discover-map-list-scroll {
    display: grid;
    gap: 10px;
    max-height: calc(min(72vh, 720px) - 78px);
    margin-top: 14px;
    overflow: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #b8c2d3 transparent;
}
.discover-map-list-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    padding: 9px;
    text-align: left;
    transition: .18s ease;
}
.discover-map-list-item:hover,
.discover-map-list-item.is-active {
    border-color: #0f766e;
    box-shadow: 0 16px 32px rgba(15, 118, 110, .14);
    transform: translateY(-1px);
}
.discover-map-list-thumb {
    width: 76px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #ccfbf1, #eef2ff);
    color: #0f766e;
    font-weight: 950;
}
.discover-map-list-thumb img,
.discover-popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discover-popup-image {
    height: 110px;
    display: block;
    margin-bottom: 10px;
    border-radius: 12px;
}
.discover-map-list-copy strong,
.discover-map-list-copy em {
    display: block;
}
.discover-map-list-copy strong {
    color: #071224;
    font-size: 14px;
    font-style: normal;
    font-weight: 950;
    line-height: 1.25;
}
.discover-map-list-copy em {
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}
.map-business-strip {
    margin-top: 34px;
    margin-bottom: 76px;
}
.map-business-strip-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.map-business-strip-head span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.map-business-strip-head h2 {
    margin: 6px 0 0;
    color: #071224;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 760;
}
.map-business-strip-head a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    padding: 0 18px;
    color: #071224;
    font-weight: 850;
}
.map-business-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 260px);
    gap: 16px;
    overflow-x: auto;
    padding: 2px 4px 18px;
}
.map-business-card {
    min-height: 178px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: #fff;
    padding: 18px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.map-business-card span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: #e6fffb;
    color: #0f766e;
    font-weight: 900;
}
.map-business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-business-card strong,
.map-business-card em {
    display: block;
}
.map-business-card strong {
    color: #071224;
    font-weight: 850;
}
.map-business-card em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}
.discover-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.premium-content-card {
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: #fff;
    color: #071224;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.premium-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .14);
}
.premium-content-card-media {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ccfbf1, #fff, #ffe4e6);
    color: #0f766e;
    font-size: 28px;
    font-weight: 950;
}
.premium-content-card-media.is-news {
    background: linear-gradient(135deg, #f1f5f9, #ecfeff, #fce7f3);
    color: #be185d;
}
.premium-content-card-media.is-directory {
    position: relative;
    background: linear-gradient(135deg, #eef2ff, #fff, #fce7f3);
    color: #5424c8;
}
.premium-content-card-media b {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: rgba(255, 251, 235, .95);
    color: #b45309;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
}
.directory-card-phone {
    margin-top: 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}
.premium-content-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.premium-content-card-body {
    padding: 18px;
}
.premium-content-card-meta {
    color: #0f766e;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.premium-content-card-body h2 {
    margin: 10px 0 0;
    color: #071224;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 950;
}
.premium-content-card-body p {
    min-height: 66px;
    display: -webkit-box;
    margin: 12px 0 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}
.community-forum-page {
    padding: 32px 16px 60px;
}
.community-forum-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}
.community-forum-sidebar,
.community-forum-feed {
    border: 1px solid #dbe3ef;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.community-forum-sidebar {
    align-self: start;
    position: sticky;
    top: 96px;
    padding: 24px;
}
.community-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 950;
}
.community-forum-sidebar h1,
.community-forum-toolbar h2 {
    margin: 0;
    color: #071224;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 950;
}
.community-forum-sidebar p {
    color: #64748b;
    line-height: 1.6;
}
.community-forum-stats {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.community-forum-stats span {
    border-radius: 16px;
    background: #f8fafc;
    padding: 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}
.community-forum-stats strong {
    display: block;
    color: #071224;
    font-size: 24px;
}
.community-forum-feed {
    padding: 24px;
}
.community-forum-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.community-composer-live {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.community-composer-live small {
    color: #be123c;
    font-weight: 800;
}
.community-thread-list-full {
    margin-top: 20px;
}
.community-forum-alert,
.community-forum-empty {
    margin-top: 18px;
    border-radius: 16px;
    background: #ecfeff;
    padding: 14px 16px;
    color: #0f766e;
    font-weight: 900;
}
@media (max-width: 980px) {
    .discover-map-shell,
    .community-forum-layout {
        grid-template-columns: 1fr;
    }
    .discover-map-list-scroll {
        max-height: 380px;
    }
    .community-forum-sidebar {
        position: static;
    }
}
.site-language-menu summary {
    min-width: 54px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: linear-gradient(135deg, #5424c8, #2d8cff);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.site-language-menu summary::-webkit-details-marker { display: none; }
.site-language-menu div {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 156px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}
.site-language-menu a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}
.site-language-menu a:hover,
.site-language-menu a.is-active {
    background: #eef4ff;
    color: #185be8;
}
.site-language-menu a:nth-child(3n+1) { border-left: 3px solid #5424c8; }
.site-language-menu a:nth-child(3n+2) { border-left: 3px solid #0f766e; }
.site-language-menu a:nth-child(3n+3) { border-left: 3px solid #be185d; }

a, button {
    overflow-wrap: normal;
}

.premium-shell a[class*="rounded-"],
.premium-shell button[class*="rounded-"],
.premium-shell input[type="submit"],
.premium-shell .site-language-menu summary,
.premium-shell .community-start-button,
.premium-shell .community-composer button,
.premium-shell .community-reply button {
    min-width: max-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
    line-height: 1.1;
    text-align: center;
}

.premium-shell a[class*="rounded-xl"],
.premium-shell button[class*="rounded-xl"] {
    border-radius: 14px;
}

.premium-shell form button {
    width: auto;
}

.premium-shell .flex.flex-wrap.gap-3 > a,
.premium-shell .flex.flex-wrap.gap-3 > button,
.premium-shell .flex.flex-wrap.gap-3 > form > button {
    min-width: 104px;
}

.premium-shell .site-language-menu summary {
    min-width: 66px;
    padding-left: 18px;
    padding-right: 18px;
}

.premium-shell nav a,
.premium-shell nav button {
    min-height: 40px;
}
body.premium-shell:not(.is-admin-area) > header > div {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center !important;
}
body.premium-shell:not(.is-admin-area) header nav {
    justify-self: center;
    align-items: center !important;
}
body.premium-shell:not(.is-admin-area) header nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.premium-shell:not(.is-admin-area) header > div > div:last-child {
    align-items: center !important;
}

footer {
    background: #071224 !important;
    color: #dbeafe !important;
}
footer .text-slate-950,
footer .text-slate-900 {
    color: #fff !important;
}
footer .text-slate-600 {
    color: #b7c7df !important;
}

.home-modern {
    background:
        radial-gradient(circle at 10% 0%, rgba(20, 184, 166, .16), transparent 30rem),
        radial-gradient(circle at 92% 4%, rgba(79, 70, 229, .10), transparent 28rem),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 38px;
    align-items: center;
    min-height: calc(100vh - 92px);
    padding-top: 52px;
    padding-bottom: 52px;
}
.home-kicker,
.home-section-head span,
.home-discover-band span {
    display: inline-flex;
    color: #0f766e;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.home-hero h1 {
    margin: 18px 0 0;
    max-width: 780px;
    color: #071224;
    font-size: clamp(46px, 7vw, 88px);
    line-height: .96;
    font-weight: 950;
}
.home-hero p {
    margin: 24px 0 0;
    max-width: 700px;
    color: #475569;
    font-size: 20px;
    line-height: 1.7;
}
.home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 12px;
    max-width: 760px;
    margin-top: 28px;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    padding: 10px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}
.home-search input {
    min-height: 56px;
    border: 0;
    background: transparent;
    padding: 0 14px;
    color: #071224;
    outline: 0;
}
.home-search button,
.home-hero-actions a,
.home-section-head a,
.home-discover-band a {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #fff;
    color: #071224;
    padding: 0 20px;
    font-weight: 950;
    text-align: center;
}
.home-search button,
.home-hero-actions .is-primary,
.home-discover-band a {
    border-color: #071224;
    background: #071224;
    color: #fff;
}
.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.home-hero-panel {
    border: 1px solid #dbe3ef;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
        radial-gradient(circle at 20% 20%, rgba(20,184,166,.2), transparent 22rem);
    padding: 18px;
    box-shadow: 0 30px 80px rgba(15,23,42,.12);
}
.home-panel-top {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 24px;
    background:
        radial-gradient(circle at 28% 25%, rgba(20,184,166,.32), transparent 10rem),
        linear-gradient(135deg, #071224, #123b38);
    color: #fff;
    padding: 24px;
}
.home-panel-top span {
    color: #99f6e4;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}
.home-panel-top strong {
    margin-top: 8px;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}
.home-place-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    padding: 14px;
}
.home-place-row > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #e6fffb;
    color: #0f766e;
    font-weight: 950;
}
.home-place-row strong {
    color: #071224;
    font-weight: 950;
}
.home-place-row p {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #64748b;
    font-size: 13px;
}
.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 46px;
}
.home-stats div,
.home-feature-card,
.home-section-card,
.home-news-grid a {
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,.07);
}
.home-stats div {
    padding: 22px;
}
.home-stats strong,
.home-stats span {
    display: block;
}
.home-stats strong {
    color: #071224;
    font-size: 34px;
    font-weight: 950;
}
.home-stats span {
    margin-top: 4px;
    color: #64748b;
    font-weight: 850;
}
.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.home-feature-card {
    padding: 24px;
    color: #071224;
    transition: transform .18s ease, box-shadow .18s ease;
}
.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(15,23,42,.12);
}
.home-feature-card span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-weight: 950;
}
.home-feature-card h2 {
    margin: 18px 0 0;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 950;
}
.home-feature-card p {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.6;
}
.home-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 20px;
}
.home-section-head h2,
.home-discover-band h2 {
    margin: 8px 0 0;
    color: #071224;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 950;
}
.home-listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-section-card {
    padding: 24px;
}
.home-list-rows {
    display: grid;
    gap: 12px;
}
.home-list-rows a {
    display: grid;
    grid-template-columns: minmax(160px, .42fr) auto 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    padding: 16px;
}
.home-list-rows strong {
    color: #071224;
    font-weight: 950;
}
.home-list-rows span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}
.home-list-rows p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #475569;
}
.home-discover-band {
    background: linear-gradient(135deg, #071224 0%, #10263a 58%, #123b38 100%);
    color: #fff;
}
.home-discover-band span {
    color: #67e8f9;
}
.home-discover-band h2 {
    color: #fff;
}
.home-discover-band p {
    margin: 16px 0 0;
    max-width: 620px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}
.home-discover-band a {
    margin-top: 22px;
    border-color: rgba(255,255,255,.18);
    background: #fff;
    color: #071224;
}
.home-map-preview {
    min-height: 320px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 28% 22%, rgba(45, 212, 191, .22), transparent 12rem),
        rgba(255,255,255,.06);
    padding: 18px;
}
.home-map-preview a {
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 18px;
    background-size: cover;
    background-position: center;
}
.home-map-preview a.has-image {
    min-height: 260px;
    border-color: rgba(255,255,255,.22);
    box-shadow: inset 0 -120px 120px rgba(7, 18, 36, .78);
}
.home-map-preview a.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 36, .04), rgba(7, 18, 36, .72));
    pointer-events: none;
}
.home-map-preview strong,
.home-map-preview span {
    position: relative;
    z-index: 1;
    display: block;
}
.home-map-preview span {
    margin-top: 5px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 850;
}
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.home-news-grid a {
    padding: 22px;
}
.home-news-grid span {
    color: #be185d;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}
.home-news-grid strong {
    display: block;
    margin-top: 12px;
    color: #071224;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
}
.home-news-grid p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.6;
}
.site-footer {
    border-top: 0 !important;
    background: #071224 !important;
    color: #cbd5e1 !important;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 32px;
}
.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}
.site-footer p,
.site-footer a {
    display: block;
    margin: 8px 0 0;
    color: #b7c7df !important;
    line-height: 1.65;
    font-weight: 700;
}
.site-footer a:hover {
    color: #fff !important;
}
.site-footer-credit {
    width: 100%;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 18px 16px 22px;
}
.site-footer-credit-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    color: #8fa6c2;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-align: center;
}
.site-footer-credit-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: #fff !important;
    padding: 6px 11px;
    font-weight: 950;
    transition: background .18s ease, transform .18s ease;
}
.site-footer-credit-inner a:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .home-hero,
    .home-feature-grid,
    .home-listing-grid,
    .home-news-grid,
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-hero-copy,
    .home-hero-panel {
        min-width: 0;
    }
    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.community-hero {
    background: radial-gradient(circle at 20% 10%, rgba(20,184,166,.22), transparent 28rem), linear-gradient(135deg, #071224 0%, #101827 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.community-stats-panel {
    align-self: end;
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    background: rgba(255,255,255,.08);
    padding: 18px;
    backdrop-filter: blur(14px);
}
.community-stats-panel div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    padding: 15px 16px;
}
.community-stats-panel strong { font-size: 28px; }
.community-stats-panel span { color: #cbd5e1; font-weight: 800; }
.community-forum {
    height: max-content;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 24px 80px rgba(15,23,42,.1);
}
.community-forum-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 16px;
}
.community-forum-head h2 { margin: 0; font-size: 28px; font-weight: 950; }
.community-forum-head p { margin: 5px 0 0; color: #64748b; font-size: 14px; }
.community-start-button,
.community-composer button,
.community-reply button {
    border: 0;
    border-radius: 14px;
    background: #071224;
    color: #fff;
    padding: 12px 18px;
    font-weight: 900;
}
.community-composer {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    border-radius: 20px;
    background: #f8fafc;
    padding: 14px;
}
.community-composer[hidden] { display: none; }
.community-composer input,
.community-composer textarea,
.community-reply input {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 12px 14px;
}
.community-login-callout {
    display: block;
    margin-top: 16px;
    border-radius: 18px;
    background: #f8fafc;
    padding: 15px;
    color: #0f172a;
    font-weight: 900;
}
.community-thread-list { display: grid; gap: 14px; margin-top: 16px; }
.community-thread {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    border: 1px solid #eef2f7;
    border-radius: 22px;
    padding: 14px;
    background: #fff;
}
.community-vote-box {
    display: grid;
    place-items: center;
    align-self: start;
    border-radius: 16px;
    background: #f1f5f9;
    padding: 10px 4px;
    text-align: center;
}
.community-vote-box strong { font-size: 20px; }
.community-vote-box span { color: #64748b; font-size: 11px; font-weight: 900; }
.community-thread-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}
.community-thread-meta img { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; }
.community-thread-body h3 { margin: 10px 0 0; font-size: 18px; font-weight: 950; }
.community-thread-body p { margin: 8px 0 0; color: #475569; line-height: 1.55; }
.community-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.community-badges span {
    border-radius: 999px;
    background: #eef4ff;
    color: #185be8;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 950;
}
.community-reply { display: flex; gap: 8px; margin-top: 12px; }
.community-reply input { flex: 1; }
.community-reply button,
.community-composer button {
    min-width: 118px;
}

.community-forum-clean {
    padding: 0;
    overflow: hidden;
}
.community-forum-clean .community-forum-head {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.community-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.community-forum-clean .community-composer,
.community-forum-clean .community-login-callout,
.community-forum-clean .community-thread-tabs,
.community-forum-clean .community-thread-list,
.community-forum-clean > .mt-5 {
    margin-left: 18px;
    margin-right: 18px;
}
.community-thread-tabs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 12px;
}
.community-thread-tabs span {
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
}
.community-thread-tabs span.is-active {
    background: #071224;
    color: #fff;
}
.community-forum-clean .community-thread-list {
    gap: 0;
    margin-top: 0;
}
.community-forum-clean .community-thread {
    display: block;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    border-radius: 0;
    padding: 18px 0;
    box-shadow: none;
}
.community-forum-clean .community-thread:last-child {
    border-bottom: 0;
}
.community-forum-clean .community-thread-body h3 {
    font-size: 17px;
    line-height: 1.35;
}
.community-forum-clean .community-thread-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.community-forum-clean .community-badges span {
    background: #ecfdf5;
    color: #0f766e;
}

.marketplace-page {
    padding-top: 48px;
}
.marketplace-head {
    padding-bottom: 10px;
}
.marketplace-filters {
    display: grid !important;
    grid-template-columns: minmax(260px, 1.25fr) minmax(170px, .75fr) minmax(160px, .75fr) minmax(160px, .75fr) 150px !important;
    align-items: center;
    gap: 12px !important;
    border-radius: 26px !important;
    padding: 14px !important;
    box-shadow: 0 18px 42px rgba(15,23,42,.08) !important;
}
.marketplace-filters input,
.marketplace-filters select,
.marketplace-filters button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
}
.marketplace-filters button {
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .marketplace-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .marketplace-filters button {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .marketplace-filters {
        grid-template-columns: 1fr !important;
    }
    .marketplace-filters button {
        grid-column: auto;
    }
}
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
    margin-top: 38px;
    align-items: stretch;
}
.listing-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15,23,42,.07);
    transition: transform .18s ease, box-shadow .18s ease;
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(15,23,42,.12);
}
.listing-card-media-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f1f5f9;
}
.listing-card-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-card-placeholder {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, rgba(20,184,166,.2), transparent 28%), linear-gradient(135deg, #f8fafc, #e2e8f0);
}
.listing-card-placeholder span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-weight: 950;
}
.listing-card-type {
    position: absolute;
    left: 14px;
    top: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0f766e;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}
.listing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}
.listing-card-price {
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}
.listing-card h3 {
    min-height: 48px;
    margin: 10px 0 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 950;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-card p {
    min-height: 44px;
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-card-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.listing-show-shell {
    align-items: start;
}
.listing-show-main,
.listing-contact-card {
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15,23,42,.1);
}
.listing-show-main {
    overflow: hidden;
}
.listing-gallery {
    padding: 12px;
    background: #f8fafc;
}
.listing-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    height: clamp(280px, 40vw, 460px);
    border-radius: 22px;
    background: #e2e8f0;
}
.listing-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-gallery-placeholder {
    background: radial-gradient(circle at 20% 20%, rgba(20,184,166,.22), transparent 28rem), linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.listing-gallery-placeholder span {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #fff;
    color: #0f172a;
    font-size: 34px;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(15,23,42,.12);
}
.listing-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.listing-gallery-thumbs button {
    height: 76px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 0;
    background: transparent;
}
.listing-gallery-thumbs button.is-active {
    border-color: #0f766e;
}
.listing-gallery-thumbs img {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    object-fit: cover;
}
.listing-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    min-width: 44px !important;
    min-height: 44px !important;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #0f172a;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15,23,42,.14);
}
.listing-gallery-nav.prev { left: 12px; }
.listing-gallery-nav.next { right: 12px; }
}
.listing-show-content {
    padding: 28px;
}
.listing-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.listing-meta-row span {
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}
.listing-show-content h1 {
    margin: 16px 0 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.03em;
}
.listing-show-content p {
    margin: 18px 0 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}
.listing-contact-card {
    position: sticky;
    top: 92px;
    padding: 24px;
}
.listing-price {
    color: #0f172a;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -.03em;
}
.listing-location {
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}
.listing-seller {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    border-top: 1px solid #eef2f7;
    padding-top: 20px;
}
.listing-seller img {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
}
.listing-seller strong,
.listing-seller span {
    display: block;
}
.listing-seller strong {
    color: #0f172a;
    font-weight: 950;
}
.listing-seller span {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 950;
}
.listing-seller .is-online { color: #0f766e; }
.listing-seller .is-offline { color: #be123c; }
.listing-actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}
.listing-actions form {
    display: grid;
    gap: 10px;
}
.listing-actions textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: 13px 14px;
    resize: vertical;
}
.listing-actions select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    padding: 0 14px;
    font-weight: 850;
}
.listing-actions a,
.listing-actions button,
.listing-actions div {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    padding: 0 16px;
    font-weight: 950;
    text-align: center;
}
.listing-actions button,
.listing-actions a.is-primary,
.listing-actions form button {
    border-color: #071224;
    background: #071224;
    color: #fff;
}

.listing-detail-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(20, 184, 166, .12), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(79, 70, 229, .10), transparent 24rem);
    padding-bottom: 28px;
}
.listing-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}
.listing-detail-media-card,
.listing-summary-card,
.listing-info-panel {
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .10);
}
.listing-detail-media-card {
    overflow: hidden;
}
.listing-summary-card {
    position: sticky;
    top: 88px;
    padding: 24px;
}
.listing-summary-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}
.listing-type-pill {
    border-radius: 999px;
    background: #e6fffb;
    color: #0f766e;
    padding: 7px 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.listing-summary-card h1 {
    margin: 18px 0 12px;
    color: #071224;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    font-weight: 950;
}
.listing-alert {
    margin-bottom: 14px;
    border-radius: 16px;
    background: #ecfeff;
    color: #0f766e;
    padding: 12px 14px;
    font-weight: 900;
}
.listing-alert.is-error {
    background: #fef2f2;
    color: #991b1b;
}
.listing-gallery {
    padding: 14px;
    background: #f8fafc;
}
.listing-gallery-main {
    height: clamp(300px, 43vw, 520px);
    border-radius: 20px;
    background: #eef2f7;
}
.listing-gallery-main img {
    object-fit: contain;
    background: #eef2f7;
}
.listing-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 11px 2px 2px;
    scrollbar-width: thin;
}
.listing-gallery-thumbs button {
    flex: 0 0 82px;
    width: 82px;
    height: 68px;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}
.listing-gallery-thumbs button:hover,
.listing-gallery-thumbs button.is-active {
    border-color: #2563eb;
    transform: translateY(-1px);
}
.listing-gallery-nav {
    background: rgba(7, 18, 36, .82);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
}
.listing-gallery-nav:hover {
    background: #071224;
}
.listing-actions a,
.listing-actions button,
.listing-actions div {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    line-height: 1.15;
}
.listing-actions button.is-secondary,
.listing-muted-action {
    border-color: #dbe3ef !important;
    background: #f8fafc !important;
    color: #334155 !important;
}
.listing-actions button.is-danger {
    border-color: #b91c1c !important;
    background: #b91c1c !important;
    color: #fff !important;
}
.listing-report-form {
    border-top: 1px solid #e2e8f0;
    margin-top: 6px;
    padding-top: 12px;
}
.listing-phone-count {
    min-height: 38px !important;
    background: #ecfeff !important;
    color: #0f766e !important;
    font-size: 13px;
}

.community-country-map {
    border: 1px solid #dbe3ef;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
    overflow: hidden;
}
.community-map-head {
    padding: 22px 24px;
}
.community-map-head span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.community-map-head h2 {
    margin: 6px 0 4px;
    color: #071224;
    font-size: 24px;
    font-weight: 950;
}
.community-map-head p {
    margin: 0;
    color: #64748b;
}
.community-map-canvas {
    height: 360px;
    z-index: 1;
}
.community-map-dialog {
    width: min(1120px, calc(100vw - 28px));
    border: 0;
    border-radius: 30px;
    padding: 0;
    background: transparent;
    box-shadow: 0 34px 100px rgba(7, 18, 36, .38);
}
.community-map-dialog::backdrop {
    background: rgba(7, 18, 36, .56);
    backdrop-filter: blur(8px);
}
.community-country-map-modal {
    border-radius: 30px;
}
.community-country-map-modal .community-map-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.community-country-map-modal .community-map-canvas {
    height: min(66vh, 620px);
    min-height: 420px;
}
.community-map-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #fff;
    color: #071224;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}
.site-search-dialog {
    width: min(860px, calc(100vw - 28px));
    border: 0;
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 34px 100px rgba(7, 18, 36, .34);
    animation: siteSearchIn .22s ease-out;
}
.site-search-dialog::backdrop {
    background: rgba(7, 18, 36, .52);
    backdrop-filter: blur(8px);
}
.site-search-card {
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(47, 109, 255, .12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}
.site-search-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-search-card header span {
    display: block;
    color: #007d72;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.site-search-card h2 {
    margin: 5px 0 0;
    color: #071224;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.05;
}
.site-search-card form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
}
.site-search-card form > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #edf7ff;
    color: #071224;
    font-size: 22px;
    font-weight: 900;
}
.site-search-card input {
    min-width: 0;
    border: 0;
    min-height: 52px;
    padding: 0 8px;
    color: #071224;
    outline: 0;
    background: transparent;
    font-size: 17px;
}
.site-search-card button,
.site-search-open {
    border-radius: 14px;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #071224;
    width: 54px;
    min-width: 54px;
    min-height: 44px;
    padding: 0 14px;
    font-weight: 950;
}
.site-search-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.site-search-open span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #edf7ff;
    color: #071224;
}
.site-search-open:hover {
    border-color: #b8c7da;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
    transform: translateY(-1px);
}
.site-search-close {
    width: 44px;
    min-width: 44px;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 24px;
    line-height: 1;
}
.site-search-card form button {
    background: #071224;
    color: #fff;
    border-color: #071224;
    min-height: 52px;
    padding-inline: 24px;
}
@keyframes siteSearchIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.search-results-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 64px 24px 84px;
}
.search-results-hero {
    max-width: 960px;
}
.search-results-hero p,
.search-result-panel header span {
    color: #007d72;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.search-results-hero h1 {
    margin: 10px 0 0;
    color: #071224;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 950;
    line-height: .98;
}
.search-results-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    max-width: 800px;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .10);
}
.search-results-form span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #edf7ff;
    color: #071224;
    font-size: 22px;
    font-weight: 900;
}
.search-results-form input {
    min-width: 0;
    border: 0;
    background: transparent;
    outline: 0;
    color: #071224;
    font-size: 17px;
}
.search-results-form button {
    min-height: 52px;
    border: 1px solid #071224;
    border-radius: 16px;
    background: #071224;
    color: #fff;
    padding: 0 24px;
    font-weight: 850;
}
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 38px;
}
.search-result-panel {
    min-width: 0;
    border: 1px solid #dbe3ef;
    border-radius: 30px;
    background: rgba(255,255,255,.92);
    padding: 26px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}
.search-result-panel header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.search-result-panel h2 {
    margin: 5px 0 0;
    color: #071224;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.05;
}
.search-result-panel header > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #edf7ff;
    color: #071224;
    font-weight: 950;
}
.search-result-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}
.search-result-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background: #f8fbff;
    padding: 14px;
    color: #071224;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-result-card:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
}
.search-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: #071224;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}
.search-result-copy {
    display: block;
    min-width: 0;
}
.search-result-copy strong {
    display: block;
    overflow: hidden;
    color: #071224;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-copy em {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: #50627d;
    font-size: 14px;
    font-style: normal;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.search-result-arrow {
    color: #007d72;
    font-size: 22px;
    font-weight: 900;
}
.search-empty {
    margin: 0;
    border: 1px dashed #dbe3ef;
    border-radius: 18px;
    background: #f8fbff;
    padding: 18px;
    color: #60728d;
    font-weight: 750;
}
@media (max-width: 920px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .site-search-card form,
    .search-results-form {
        grid-template-columns: auto 1fr;
    }
    .site-search-card form button,
    .search-results-form button {
        grid-column: 1 / -1;
        width: 100%;
    }
    .search-results-page {
        padding-inline: 16px;
    }
    .search-result-panel {
        padding: 18px;
        border-radius: 24px;
    }
}
.reddit-forum-filter {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    margin: 16px 0 18px;
    border: 1px solid #dbe3ef;
    border-radius: 20px;
    background: #fff;
    padding: 12px;
}
.reddit-forum-filter input {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    min-height: 46px;
    padding: 0 14px;
}
.reddit-forum-filter button,
.reddit-forum-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #071224;
    background: #071224;
    color: #fff;
    padding: 0 18px;
    font-weight: 950;
}
.reddit-forum-filter a {
    background: #fff;
    color: #071224;
}
.listing-detail-sections {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
}
.listing-info-panel {
    padding: 26px;
}
.listing-info-panel h2,
.similar-listings h2 {
    margin: 0 0 16px;
    color: #071224;
    font-size: 24px;
    font-weight: 950;
}
.listing-info-panel p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}
.listing-detail-list {
    display: grid;
    gap: 12px;
    margin: 0;
}
.listing-detail-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 12px;
}
.listing-detail-list dt {
    color: #64748b;
    font-weight: 900;
}
.listing-detail-list dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
}
.similar-listings {
    padding-top: 8px;
    padding-bottom: 86px;
}
.similar-listings-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.similar-listings-head span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.similar-listings-head h2 {
    margin: 6px 0 0;
}
.similar-listings-head a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    padding: 0 18px;
    color: #071224;
    font-weight: 850;
}
.similar-listings-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 300px);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x proximity;
}
.similar-listings-rail .listing-card {
    scroll-snap-align: start;
}

.communities-page {
    background:
        radial-gradient(circle at 10% 4%, rgba(20, 184, 166, .14), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(79, 70, 229, .10), transparent 25rem);
}
.communities-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: end;
    border: 1px solid #dbe3ef;
    border-radius: 30px;
    background: linear-gradient(135deg, #071224 0%, #10263a 58%, #123b38 100%);
    color: #fff;
    padding: clamp(28px, 5vw, 56px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .16);
}
.communities-kicker {
    display: inline-flex;
    color: #67e8f9;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.communities-hero h1 {
    margin: 12px 0 0;
    max-width: 820px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: .98;
    font-weight: 950;
}
.communities-hero p {
    margin: 18px 0 0;
    max-width: 760px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}
.communities-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.communities-hero-stats div {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    padding: 18px;
    text-align: center;
}
.communities-hero-stats strong,
.communities-hero-stats span {
    display: block;
}
.communities-hero-stats strong {
    font-size: 28px;
    font-weight: 950;
}
.communities-hero-stats span {
    margin-top: 3px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.communities-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
    border: 1px solid #dbe3ef;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    padding: 16px 18px;
}
.communities-toolbar strong,
.communities-toolbar span {
    display: block;
}
.communities-toolbar strong {
    color: #071224;
    font-weight: 950;
}
.communities-toolbar span {
    margin-top: 2px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.communities-toolbar a,
.community-pagination a,
.community-pagination span {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    color: #071224;
    padding: 0 18px;
    font-weight: 950;
}
.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
    gap: 24px;
    margin-top: 26px;
}
.community-catalog-card {
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 26px;
    background: #fff;
    color: #071224;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.community-catalog-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--community-tone) 42%, #dbe3ef);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .14);
}
.community-cover {
    height: 138px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--community-tone) 32%, transparent), transparent 12rem),
        linear-gradient(135deg, #eef2ff, #ecfeff);
}
.community-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.community-cover span {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: var(--community-tone);
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--community-tone) 32%, transparent);
}
.community-card-body {
    padding: 18px;
}
.community-card-title-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.community-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--community-tone);
    font-weight: 950;
}
.community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.community-card-title-row h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 950;
}
.community-card-title-row p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.community-description {
    min-height: 66px;
    display: -webkit-box;
    margin: 15px 0 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}
.community-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 29px;
    margin-top: 14px;
}
.community-tags span {
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
}
.community-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}
.community-card-stats span {
    min-width: 0;
    border-radius: 16px;
    background: #f8fafc;
    padding: 11px 6px;
    color: #64748b;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}
.community-card-stats strong {
    display: block;
    color: #071224;
    font-size: 18px;
    font-weight: 950;
}
.community-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    margin: 40px auto 64px;
    padding: 10px 0;
}
.community-pagination strong {
    color: #64748b;
    font-size: 13px;
    font-weight: 950;
}
.community-pagination a:last-child {
    border-color: #071224;
    background: #071224;
    color: #fff;
}
.community-pagination .is-disabled {
    opacity: .48;
    cursor: not-allowed;
}

@media (max-width: 720px) {
    .home-hero,
    .home-feature-grid,
    .home-stats,
    .home-listing-grid,
    .home-news-grid,
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
    .home-hero {
        min-height: auto;
        padding-top: 34px;
        padding-bottom: 34px;
    }
    .home-hero h1 {
        font-size: 42px;
    }
    .home-search {
        grid-template-columns: 1fr;
    }
    .home-section-head,
    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .home-list-rows a {
        grid-template-columns: 1fr;
    }
    .home-map-preview {
        grid-template-columns: 1fr;
    }
    .listing-card-media {
        height: 210px;
    }
    .listing-gallery-main {
        height: 330px;
    }
    .listing-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .listing-contact-card {
        position: static;
    }
    .listing-detail-layout,
    .listing-detail-sections {
        grid-template-columns: 1fr;
    }
    .listing-summary-card {
        position: static;
        order: -1;
    }
    .listing-gallery-main {
        height: 310px;
    }
    .listing-detail-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .communities-hero,
    .communities-hero-stats,
    .communities-toolbar {
        grid-template-columns: 1fr;
    }
    .communities-toolbar {
        display: grid;
    }
    .community-pagination {
        flex-wrap: wrap;
        margin-bottom: 84px;
    }
}

.reddit-forum-shell {
    padding: 34px 18px 64px;
    background: #eef2f7;
}
.reddit-forum-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    max-width: 1240px;
    margin: 0 auto;
}
.reddit-community-card {
    position: sticky;
    top: 94px;
    align-self: start;
    border: 1px solid #d9e2ee;
    border-radius: 18px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.reddit-back-link,
.reddit-primary-link,
.reddit-login-notice {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #071224;
    color: #fff;
    padding: 0 16px;
    font-weight: 950;
}
.reddit-community-avatar {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-top: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #178577, #3f5efb);
    color: #fff;
    font-weight: 950;
    font-size: 22px;
}
.reddit-community-card h1 {
    margin: 16px 0 8px;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 950;
}
.reddit-community-card p {
    color: #64748b;
    line-height: 1.55;
}
.reddit-community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 18px 0;
}
.reddit-community-stats span {
    border-radius: 14px;
    background: #f8fafc;
    padding: 10px 6px;
    color: #64748b;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}
.reddit-community-stats strong {
    display: block;
    color: #071224;
    font-size: 18px;
}
.reddit-feed {
    display: grid;
    gap: 14px;
}
.reddit-feed-header,
.reddit-composer,
.reddit-post-card,
.reddit-comment-box,
.reddit-comments {
    border: 1px solid #d9e2ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.reddit-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}
.reddit-feed-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 950;
}
.reddit-sort-tabs {
    display: inline-flex;
    gap: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 6px;
}
.reddit-sort-tabs a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    color: #475569;
    font-weight: 950;
}
.reddit-sort-tabs a.is-active {
    background: #071224;
    color: #fff;
}
.reddit-composer {
    display: grid;
    gap: 12px;
    padding: 16px;
}
.reddit-composer-user,
.reddit-post-meta,
.reddit-comment-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}
.reddit-composer-user img,
.reddit-post-meta img,
.reddit-comment-meta img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}
.reddit-composer input,
.reddit-composer textarea,
.reddit-comment-box textarea,
.reddit-inline-reply textarea {
    border-radius: 14px;
    background: #f8fafc;
}
.reddit-composer button,
.reddit-comment-box button,
.reddit-inline-reply button {
    min-height: 46px;
    justify-self: end;
    border-radius: 999px;
    background: #071224;
    color: #fff;
    padding: 0 22px;
    font-weight: 950;
}
.reddit-post-list {
    display: grid;
    gap: 12px;
}
.reddit-post-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    overflow: hidden;
}
.reddit-vote-rail {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 14px 8px;
}
.reddit-vote-rail button,
.reddit-vote-rail a {
    width: 34px;
    height: 30px;
    border-radius: 10px;
    background: #fff;
    color: #071224;
    font-weight: 950;
}
.reddit-vote-rail strong {
    color: #071224;
    font-weight: 950;
}
.reddit-post-main {
    min-width: 0;
    padding: 16px 18px;
}
.reddit-post-title {
    display: block;
    margin-top: 10px;
    color: #071224;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 950;
}
.reddit-post-main p,
.reddit-detail-body {
    color: #334155;
    line-height: 1.7;
}
.reddit-post-actions,
.reddit-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 12px;
}
.reddit-post-actions a,
.reddit-post-actions span,
.reddit-comment-actions button,
.reddit-comment-actions summary,
.reddit-comment-actions a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 950;
}
.reddit-post-card-detail {
    border-color: #cbd5e1;
}
.reddit-detail-title {
    margin: 14px 0;
    color: #071224;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
}
.reddit-comment-box {
    display: grid;
    gap: 10px;
    padding: 16px;
}
.reddit-comment-box label {
    color: #475569;
    font-weight: 900;
}
.reddit-comments {
    padding: 18px;
}
.reddit-comments header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}
.reddit-comments h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}
.reddit-comment {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    margin-left: calc(var(--level) * 22px);
    padding-top: 14px;
}
.reddit-comment-rail {
    border-left: 2px solid #dbe3ef;
}
.reddit-comment-body {
    min-width: 0;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 14px;
}
.reddit-comment-body p {
    margin: 10px 0 0;
    color: #334155;
    line-height: 1.65;
}
.reddit-comment-actions details {
    position: relative;
}
.reddit-inline-reply {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}
.community-reply-link {
    margin-top: 12px;
    display: inline-flex;
    color: #071224;
    font-weight: 950;
}

@media (max-width: 860px) {
    .reddit-forum-layout {
        grid-template-columns: 1fr;
    }
    .reddit-community-card {
        position: static;
    }
    .reddit-feed-header {
        align-items: stretch;
        flex-direction: column;
    }
    .reddit-sort-tabs {
        overflow-x: auto;
    }
    .reddit-post-card {
        grid-template-columns: 46px minmax(0, 1fr);
    }
    .reddit-comment {
        margin-left: calc(var(--level) * 10px);
    }
}

/* Typographic softening: keep hierarchy, remove the overly heavy feel. */
body {
    font-weight: 500;
}
.home-hero h1 {
    font-size: clamp(42px, 5vw, 68px) !important;
    line-height: 1.04 !important;
    font-weight: 820 !important;
}
.home-section-head h2,
.home-feature-card h2,
.home-discover-band h2,
.community-hero h1,
.communities-hero h1,
.listing-detail-head h1,
.reddit-detail-title {
    font-weight: 780 !important;
}
.home-kicker,
.community-kicker,
.home-section-head span,
.home-news-grid span,
.communities-toolbar strong,
.community-card-stats strong,
.listing-card-title,
.home-list-rows strong,
.home-news-grid strong,
.site-footer h3,
.site-footer p,
.site-footer a,
.reddit-post-title,
.reddit-feed-header h2,
.reddit-community-card h1,
.reddit-comments h2 {
    font-weight: 720 !important;
}
.home-hero p,
.home-feature-card p,
.home-list-rows p,
.home-news-grid p,
.community-description,
.reddit-post-main p,
.reddit-detail-body,
.site-footer p {
    font-weight: 500 !important;
}
.home-hero-actions a,
.home-search button,
.site-language-menu summary,
header nav a,
header .rounded-lg,
header button,
.home-section-head a,
.reddit-primary-link,
.reddit-back-link,
.reddit-sort-tabs a {
    font-weight: 680 !important;
}

@media (max-width: 720px) {
    .home-hero h1 {
        font-size: 38px !important;
    }
}

/* Final public typography balance: lighter, calmer, more premium. */
body.premium-shell:not(.is-admin-area) {
    font-weight: 440 !important;
}
body.premium-shell:not(.is-admin-area) .font-black {
    font-weight: 760 !important;
}
body.premium-shell:not(.is-admin-area) .font-bold {
    font-weight: 620 !important;
}
body.premium-shell:not(.is-admin-area) .font-semibold {
    font-weight: 560 !important;
}
body.premium-shell:not(.is-admin-area) header nav a,
body.premium-shell:not(.is-admin-area) header .rounded-lg,
body.premium-shell:not(.is-admin-area) header button,
body.premium-shell:not(.is-admin-area) .site-language-menu summary {
    font-weight: 620 !important;
}
body.premium-shell:not(.is-admin-area) .home-hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 4.6vw, 62px) !important;
    line-height: 1.07 !important;
    font-weight: 760 !important;
}
body.premium-shell:not(.is-admin-area) .home-section-head h2,
body.premium-shell:not(.is-admin-area) .home-discover-band h2,
body.premium-shell:not(.is-admin-area) .communities-hero h1,
body.premium-shell:not(.is-admin-area) .community-hero h1,
body.premium-shell:not(.is-admin-area) .listing-detail-head h1,
body.premium-shell:not(.is-admin-area) .reddit-detail-title {
    font-size: clamp(28px, 3.2vw, 44px) !important;
    font-weight: 740 !important;
    line-height: 1.12 !important;
}
body.premium-shell:not(.is-admin-area) .home-feature-card h2,
body.premium-shell:not(.is-admin-area) .listing-card-title,
body.premium-shell:not(.is-admin-area) .home-list-rows strong,
body.premium-shell:not(.is-admin-area) .home-news-grid strong,
body.premium-shell:not(.is-admin-area) .reddit-post-title,
body.premium-shell:not(.is-admin-area) .reddit-feed-header h2,
body.premium-shell:not(.is-admin-area) .reddit-community-card h1,
body.premium-shell:not(.is-admin-area) .reddit-comments h2,
body.premium-shell:not(.is-admin-area) .site-footer h3 {
    font-weight: 660 !important;
}
body.premium-shell:not(.is-admin-area) .home-kicker,
body.premium-shell:not(.is-admin-area) .community-kicker,
body.premium-shell:not(.is-admin-area) .home-section-head span,
body.premium-shell:not(.is-admin-area) .home-news-grid span,
body.premium-shell:not(.is-admin-area) .communities-toolbar strong,
body.premium-shell:not(.is-admin-area) .community-card-stats strong {
    font-weight: 650 !important;
}
body.premium-shell:not(.is-admin-area) .home-hero p,
body.premium-shell:not(.is-admin-area) .home-feature-card p,
body.premium-shell:not(.is-admin-area) .home-list-rows p,
body.premium-shell:not(.is-admin-area) .home-news-grid p,
body.premium-shell:not(.is-admin-area) .community-description,
body.premium-shell:not(.is-admin-area) .reddit-post-main p,
body.premium-shell:not(.is-admin-area) .reddit-detail-body,
body.premium-shell:not(.is-admin-area) .site-footer p,
body.premium-shell:not(.is-admin-area) .site-footer a {
    font-weight: 440 !important;
}
body.premium-shell:not(.is-admin-area) .home-hero-actions a,
body.premium-shell:not(.is-admin-area) .home-search button,
body.premium-shell:not(.is-admin-area) .home-section-head a,
body.premium-shell:not(.is-admin-area) .reddit-primary-link,
body.premium-shell:not(.is-admin-area) .reddit-back-link,
body.premium-shell:not(.is-admin-area) .reddit-sort-tabs a {
    font-weight: 620 !important;
}

@media (max-width: 720px) {
    body.premium-shell:not(.is-admin-area) .home-hero h1 {
        font-size: 34px !important;
    }
    body.premium-shell:not(.is-admin-area) .home-section-head h2,
    body.premium-shell:not(.is-admin-area) .home-discover-band h2,
    body.premium-shell:not(.is-admin-area) .communities-hero h1,
    body.premium-shell:not(.is-admin-area) .community-hero h1,
    body.premium-shell:not(.is-admin-area) .listing-detail-head h1 {
    font-size: 30px !important;
    }
}

/* Homepage section scale: avoid oversized editorial titles inside content cards. */
body.premium-shell:not(.is-admin-area) .home-section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}
body.premium-shell:not(.is-admin-area) .home-section-card {
    padding: 28px 30px !important;
}
body.premium-shell:not(.is-admin-area) .home-section-card .home-section-head {
    margin-bottom: 16px !important;
}
body.premium-shell:not(.is-admin-area) .home-section-card .home-section-head h2 {
    max-width: 760px;
    font-size: clamp(28px, 2.5vw, 42px) !important;
    line-height: 1.08 !important;
    font-weight: 720 !important;
}
body.premium-shell:not(.is-admin-area) .home-section > .home-section-head h2 {
    font-size: clamp(34px, 3.6vw, 54px) !important;
    line-height: 1.08 !important;
}
body.premium-shell:not(.is-admin-area) .home-section-head span,
body.premium-shell:not(.is-admin-area) .home-kicker,
body.premium-shell:not(.is-admin-area) .home-discover-band span {
    font-size: 12px !important;
    letter-spacing: .22em !important;
}
body.premium-shell:not(.is-admin-area) .home-list-rows a {
    min-height: auto !important;
    padding: 18px 20px !important;
}
body.premium-shell:not(.is-admin-area) .home-list-rows strong {
    font-size: 18px !important;
}
body.premium-shell:not(.is-admin-area) .home-list-rows p,
body.premium-shell:not(.is-admin-area) .home-list-rows span {
    font-size: 15px !important;
}

@media (max-width: 720px) {
    body.premium-shell:not(.is-admin-area) .home-section-card {
        padding: 22px !important;
    }
    body.premium-shell:not(.is-admin-area) .home-section-card .home-section-head h2,
    body.premium-shell:not(.is-admin-area) .home-section > .home-section-head h2 {
        font-size: 30px !important;
    }
}

/* Newsroom page: TV/radio/news magazine layout. */
.newsroom-page {
    background:
        radial-gradient(circle at 14% 0%, rgba(20, 184, 166, .13), transparent 26rem),
        radial-gradient(circle at 92% 8%, rgba(190, 24, 93, .10), transparent 24rem),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 48%, #f6f8fb 100%);
}
.newsroom-shell {
    display: grid;
    gap: 28px;
}
.newsroom-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
}
.newsroom-hero-copy,
.newsroom-radio-card,
.newsroom-filters,
.newsroom-lead-card,
.newsroom-side-card,
.newsroom-article-card,
.newsroom-empty-card {
    border: 1px solid #dbe3ef;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.newsroom-hero-copy {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 30px;
    padding: clamp(28px, 5vw, 58px);
}
.newsroom-kicker,
.newsroom-section-head span,
.newsroom-radio-top span,
.newsroom-meta span:first-child {
    color: #0f766e;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.newsroom-hero-copy h1 {
    max-width: 820px;
    margin: 14px 0 0;
    color: #071224;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 760;
}
.newsroom-hero-copy p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.7;
}
.newsroom-radio-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 30px;
    padding: 26px;
    background:
        radial-gradient(circle at 20% 18%, rgba(59, 130, 246, .28), transparent 18rem),
        linear-gradient(145deg, #071224 0%, #10263a 58%, #123b38 100%);
    color: #fff;
}
.newsroom-radio-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}
.newsroom-radio-top span {
    color: #67e8f9;
}
.newsroom-radio-top strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 680;
}
.newsroom-radio-top strong::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .14);
}
.newsroom-radio-card h2 {
    margin: auto 0 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 720;
}
.newsroom-radio-card p {
    margin: 12px 0 20px;
    color: rgba(226, 232, 240, .82);
    line-height: 1.6;
}
.newsroom-radio-card audio {
    width: 100%;
    height: 44px;
}
.newsroom-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) 180px 160px;
    gap: 12px;
    align-items: center;
    border-radius: 24px;
    padding: 14px;
}
.newsroom-filters select,
.newsroom-filters button,
.newsroom-filters a {
    min-height: 54px;
    border-radius: 16px;
    font-weight: 620;
}
.newsroom-filters select {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #071224;
}
.newsroom-filters button {
    background: #071224;
    color: #fff;
}
.newsroom-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    color: #071224;
}
.newsroom-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 22px;
}
.newsroom-lead-card,
.newsroom-article-card {
    overflow: hidden;
    border-radius: 28px;
    color: #071224;
    transition: transform .18s ease, box-shadow .18s ease;
}
.newsroom-lead-card:hover,
.newsroom-side-card:hover,
.newsroom-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .13);
}
.newsroom-lead-media {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e2e8f0, #ccfbf1);
}
.newsroom-lead-media img,
.newsroom-article-media img,
.newsroom-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newsroom-lead-media span,
.newsroom-article-media span,
.newsroom-side-card div > span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #071224;
    color: #fff;
    font-weight: 720;
}
.newsroom-lead-body,
.newsroom-article-body {
    padding: 24px;
}
.newsroom-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}
.newsroom-lead-body h2 {
    margin: 14px 0 0;
    color: #071224;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.08;
    font-weight: 740;
}
.newsroom-lead-body p,
.newsroom-article-body p {
    margin: 12px 0 0;
    color: #475569;
    line-height: 1.65;
}
.newsroom-side-stack {
    display: grid;
    gap: 14px;
}
.newsroom-side-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    border-radius: 22px;
    padding: 10px;
    color: #071224;
    transition: transform .18s ease, box-shadow .18s ease;
}
.newsroom-side-card div {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #e2e8f0, #fce7f3);
}
.newsroom-side-card section {
    align-self: center;
}
.newsroom-side-card small {
    display: block;
    color: #be185d;
    font-size: 12px;
    font-weight: 680;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.newsroom-side-card strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 680;
}
.newsroom-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
}
.newsroom-section-head h2 {
    margin: 8px 0 0;
    color: #071224;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    font-weight: 740;
}
.newsroom-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.newsroom-article-card {
    display: flex;
    flex-direction: column;
}
.newsroom-article-media {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f1f5f9, #ecfeff, #fce7f3);
}
.newsroom-article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.newsroom-article-body h3 {
    margin: 12px 0 0;
    color: #071224;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 690;
}
.newsroom-empty-card {
    border-radius: 24px;
    padding: 28px;
    color: #64748b;
}
.newsroom-pagination {
    margin-top: 4px;
}

@media (max-width: 1020px) {
    .newsroom-hero,
    .newsroom-top-grid {
        grid-template-columns: 1fr;
    }
    .newsroom-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .newsroom-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .newsroom-hero-copy {
        min-height: auto;
        padding: 26px;
    }
    .newsroom-hero-copy h1 {
        font-size: 34px;
    }
    .newsroom-filters,
    .newsroom-feed-grid {
        grid-template-columns: 1fr;
    }
    .newsroom-side-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .newsroom-lead-body h2 {
        font-size: 28px;
    }
}

/* Discover and business media galleries. */
.discover-detail-hero,
.business-profile-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #ccfbf1, #ffffff, #ffe4e6);
    box-shadow: 0 24px 80px rgba(15, 23, 42, .12);
}
.discover-detail-hero {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
}
.discover-detail-hero img,
.business-profile-hero > img,
.media-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discover-detail-hero span {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: #0f766e;
    color: #fff;
    font-size: 28px;
    font-weight: 760;
}
.media-gallery-section,
.business-guide-card {
    margin-top: 34px;
    border: 1px solid #dbe3ef;
    border-radius: 28px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}
.media-gallery-head span,
.business-guide-card span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.media-gallery-head h2,
.business-guide-card h2 {
    margin: 8px 0 0;
    color: #071224;
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.1;
    font-weight: 720;
}
.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.media-gallery-grid a {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f5f9;
}
.media-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.media-video-grid video {
    width: 100%;
    border-radius: 18px;
    background: #071224;
}

.business-profile-hero {
    min-height: 420px;
    background: #071224;
    color: #fff;
}
.business-profile-hero > img {
    position: absolute;
    inset: 0;
    opacity: .48;
}
.business-profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 36, .92), rgba(7, 18, 36, .58));
}
.business-profile-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 420px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    padding: clamp(28px, 5vw, 54px);
}
.business-profile-logo {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .86);
    border-radius: 28px;
    background: #fff;
    color: #071224;
    font-size: 28px;
    font-weight: 760;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .22);
}
.business-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.business-profile-hero-inner p {
    color: #67e8f9;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.business-profile-hero-inner h1 {
    margin-top: 10px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 760;
}
.business-guide-card div {
    margin-top: 16px;
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
}
.home-list-thumb {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2ff;
    color: #071224;
    font-style: normal;
    font-weight: 720;
}
.home-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-list-rows a:has(.home-list-thumb) {
    grid-template-columns: 56px minmax(120px, .36fr) auto 1fr;
    align-items: center;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin: 2px 0 4px;
    color: #071224;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
}
.auth-remember input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.auth-remember span {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
}

@media (max-width: 720px) {
    .business-profile-hero-inner {
        grid-template-columns: 1fr;
        align-items: end;
    }
    .home-list-rows a:has(.home-list-thumb) {
        grid-template-columns: 56px 1fr;
    }
    .home-list-rows a:has(.home-list-thumb) p {
        grid-column: 1 / -1;
    }
}

/* Community catalog card readability when a real image is used as cover. */
.community-catalog-card .community-card-body {
    position: relative;
    z-index: 1;
    padding-top: 24px;
}
.community-catalog-card .community-card-title-row {
    align-items: flex-start;
}
.community-catalog-card .community-avatar {
    margin-top: -6px;
    border: 4px solid #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
}
.community-catalog-card .community-card-title-row h2 {
    margin-top: 0;
    color: #071224;
    text-shadow: none;
}
.community-catalog-card .community-cover + .community-card-body {
    padding-top: 28px;
}
.community-catalog-card .community-cover:has(img) {
    margin-bottom: 0;
}
.community-catalog-card .community-cover:has(img) + .community-card-body .community-card-title-row {
    margin-top: 0;
    border-radius: 22px;
    background: #ffffff;
}
.community-catalog-card .community-cover:has(img) + .community-card-body .community-avatar {
    margin-top: -34px;
}
.community-catalog-card .community-cover:has(img) + .community-card-body .community-card-title-row > div:last-child {
    padding-top: 2px;
}

@supports not selector(:has(*)) {
    .community-catalog-card .community-cover + .community-card-body {
        padding-top: 30px;
    }
    .community-catalog-card .community-avatar {
        margin-top: -28px;
    }
}
