/* ============================================================
   COMMUNITY MODULE — Adapted from prototype
   Brand: Deep Orange (#FB471F) + Indigo (#3F51B5)
   ============================================================ */

/* ── VARIABLES ── */
:root {
    --cm-primary: #FB471F;
    --cm-primary2: #E4411C;
    --cm-indigo: #3F51B5;
    --cm-indigo2: #5C6BC0;
    --cm-indigo3: #303F9F;
    --cm-indigo9: #1A237E;
    --cm-green: #059669;
    --cm-green2: #d1fae5;
    --cm-amber: #D97706;
    --cm-amber2: #fef3c7;
    --cm-purple: #7C3AED;
    --cm-purple2: #ede9fe;
    --cm-cyan: #0891B2;
    --cm-cyan2: #cffafe;
    --cm-ink: #111827;
    --cm-ink2: #1F2937;
    --cm-text: #374151;
    --cm-muted: #6B7280;
    --cm-muted2: #9CA3AF;
    --cm-border: #E5E8F2;
    --cm-border2: #D1D5E8;
    --cm-bg: #F5F7FF;
    --cm-card: #fff;
    --cm-sh-sm: 0 1px 4px rgba(30,45,143,.07);
    --cm-sh: 0 4px 18px rgba(30,45,143,.1);
    --cm-sh-lg: 0 12px 44px rgba(30,45,143,.13);
}

/* ── PAGE ── */
.cm-page {
    background: var(--cm-bg);
    min-height: 100vh;
}

/* ── HERO BANNER ── */
.cm-hero {
    background: linear-gradient(120deg, #06113a 0%, #0f2068 30%, #145a40 65%, #0d7050 100%);
    position: relative;
    overflow: hidden;
    padding: 48px 28px 56px;
}
.cm-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        radial-gradient(ellipse 600px 400px at -5% 110%, rgba(5,150,105,.3) 0%, transparent 55%),
        radial-gradient(ellipse 500px 350px at 105% -20%, rgba(43,80,208,.35) 0%, transparent 60%),
        radial-gradient(ellipse 300px 300px at 65% 110%, rgba(14,32,87,.5) 0%, transparent 55%);
}
.cm-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: repeating-linear-gradient(-50deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px);
}
.cm-hero__ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cm-hero__ring.r1 {
    width: 420px;
    height: 420px;
    border: 50px solid rgba(255,255,255,.03);
    top: -170px;
    right: -80px;
}
.cm-hero__ring.r2 {
    width: 180px;
    height: 180px;
    border: 24px solid rgba(5,150,105,.1);
    bottom: -60px;
    right: 340px;
}
.cm-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero left */
.cm-hero__left {
    position: relative;
    z-index: 2;
}
.cm-hero__bc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.cm-hero__bc a,
.cm-hero__bc span {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-weight: 500;
}
.cm-hero__bc a:hover {
    color: rgba(255,255,255,.8);
}
.cm-hero__bc i {
    font-size: 9px;
    color: rgba(255,255,255,.3);
}
.cm-hero__title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 6px;
}
.cm-hero__title span {
    color: #4ade80;
}
.cm-hero__sub {
    font-size: 14.5px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 520px;
}

/* Hero search */
.cm-hero__search {
    margin-bottom: 28px;
}
.cm-hero__search-inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    max-width: 680px;
}
.cm-hero__search-select {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
    padding: 10px 12px;
    font-size: 13px;
    min-width: 120px;
    max-width: 160px;
    flex-shrink: 0;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 26px;
}
.cm-hero__search-select option {
    background: #1a1a2e;
    color: #fff;
}
.cm-hero__search-inner input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 13px 16px;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}
.cm-hero__search-inner input::placeholder {
    color: rgba(255,255,255,.45);
}
.cm-hero__search-inner button {
    background: var(--cm-primary);
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    transition: background .2s;
}
.cm-hero__search-inner button:hover {
    background: var(--cm-primary2);
}

/* Hero stats */
.cm-hero__stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.cm-hero__stat {
    text-align: left;
}
.cm-hero__stat-n {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    display: block;
}
.cm-hero__stat-l {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
    margin-top: 1px;
}

/* Hero category pills */
.cm-hero__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}
.cm-hero__cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 9px;
    text-decoration: none;
    transition: all .2s;
}
.cm-hero__cat-pill:hover {
    background: rgba(255,255,255,.16);
    color: #fff;
}
.cm-hero__cat-pill i {
    font-size: 12px;
}

/* Hero right */
.cm-hero__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Event preview panel */
.cm-hero__ep {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
}
.cm-hero__ep-head {
    background: linear-gradient(90deg, rgba(251,71,31,.3), rgba(251,71,31,.1));
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cm-hero__ep-head span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cm-hero__ep-head span i {
    color: #FF8A76;
}
.cm-hero__ep-see {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-decoration: none;
}
.cm-hero__ep-see:hover {
    color: #fff;
}
.cm-hero__ep-list {
    padding: 4px 0;
}
.cm-hero__ep-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
    transition: background .15s;
    cursor: pointer;
}
.cm-hero__ep-item:last-child {
    border-bottom: none;
}
.cm-hero__ep-item:hover {
    background: rgba(255,255,255,.06);
}
.cm-hero__ep-date {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    flex-shrink: 0;
    text-align: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cm-hero__ep-date.near {
    background: rgba(251,71,31,.3);
    border-color: rgba(251,71,31,.4);
}
.cm-hero__ep-day {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.cm-hero__ep-mon {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-top: 1px;
}
.cm-hero__ep-info {
    flex: 1;
    min-width: 0;
}
.cm-hero__ep-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    line-height: 1.4;
}
.cm-hero__ep-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}
.cm-hero__ep-tag {
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    gap: 3px;
}
.cm-hero__ep-tag i {
    font-size: 9px;
}
.cm-hero__ep-countdown {
    font-size: 9.5px;
    font-weight: 700;
    color: #FF8A76;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Member strip */
.cm-hero__members {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cm-hero__members-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cm-hero__members-avs {
    display: flex;
}
.cm-hero__members-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    margin-left: -8px;
    flex-shrink: 0;
}
.cm-hero__members-av:first-child {
    margin-left: 0;
}
.cm-hero__members-text {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    line-height: 1.45;
}
.cm-hero__members-text strong {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: block;
}
.cm-hero__members-join {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
}
.cm-hero__members-join:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
}

/* ── SECTION HEADER ── */
.cm-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.cm-section-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--cm-indigo9);
    display: flex;
    align-items: center;
    gap: 12px;
}
.cm-section-title i {
    color: var(--cm-primary);
    font-size: 18px;
}
.cm-section-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cm-bar1 {
    width: 20px;
    height: 3px;
    background: var(--cm-primary);
    border-radius: 2px;
}
.cm-bar2 {
    width: 13px;
    height: 3px;
    background: var(--cm-indigo2);
    border-radius: 2px;
}
.cm-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cm-primary);
    text-decoration: none;
    border: 1.5px solid rgba(251,71,31,.22);
    padding: 7px 14px;
    border-radius: 9px;
    transition: all .2s;
}
.cm-see-all:hover {
    background: var(--cm-primary);
    color: #fff;
    border-color: var(--cm-primary);
}

/* ── EVENTS SECTION ── */
.cm-events-section {
    background: var(--cm-card);
    border-top: 1px solid var(--cm-border);
    border-bottom: 1px solid var(--cm-border);
    padding: 48px 28px 56px;
}
.cm-events-section .cm-section-hd,
.cm-events-section .cm-ev-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.cm-events-section .cm-section-hd {
    margin-bottom: 28px;
}

/* Event grid */
.cm-ev-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* Featured event */
.cm-ev-featured {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--cm-sh);
    text-decoration: none;
    display: block;
    transition: box-shadow .22s, transform .22s;
}
.cm-ev-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--cm-sh-lg);
}
.cm-ev-featured__img {
    width: 100%;
    aspect-ratio: 16/8;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cm-ev-featured__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-ev-featured__img::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(6,20,50,.7) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
}
.cm-ev-featured__ph {
    font-size: 52px;
    color: rgba(255,255,255,.1);
}
.cm-ev-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--cm-primary);
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    min-width: 52px;
    box-shadow: 0 4px 14px rgba(251,71,31,.45);
}
.cm-ev-date-badge__day {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 12px 2px;
}
.cm-ev-date-badge__mon {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 0 12px 8px;
    background: rgba(0,0,0,.15);
}
.cm-ev-urgency {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 7px;
}
.cm-ev-urgency__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: cm-pulse 1.5s infinite;
}
@keyframes cm-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.85); }
}
.cm-ev-featured__body {
    padding: 22px 24px 24px;
}
.cm-ev-featured__cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.cm-ev-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cm-green);
    background: var(--cm-green2);
    padding: 3px 10px;
    border-radius: 6px;
}
.cm-ev-where {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--cm-muted);
    font-weight: 500;
}
.cm-ev-where i {
    color: var(--cm-indigo2);
    font-size: 11px;
}
.cm-ev-featured__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--cm-indigo9);
    line-height: 1.3;
    margin-bottom: 14px;
}
.cm-ev-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.cm-ev-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--cm-text);
    font-weight: 500;
}
.cm-ev-meta-item i {
    font-size: 14px;
    color: var(--cm-indigo2);
}
.cm-ev-desc {
    font-size: 13.5px;
    color: var(--cm-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
/* Attendee avatars */
.cm-avatars { display: flex; align-items: center; }
.cm-avatars__item {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid #fff; margin-left: -8px;
    overflow: hidden; background: #e8eaf6;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 600; color: #3F51B5;
}
.cm-avatars__item:first-child { margin-left: 0; }
.cm-avatars__item img { width: 100%; height: 100%; object-fit: cover; }
.cm-avatars__item i { font-size: .85rem; color: #9fa8da; }
.cm-avatars__more { background: #FB471F; color: #fff; font-size: .65rem; }
.cm-avatars--sm .cm-avatars__item { width: 24px; height: 24px; margin-left: -6px; }
.cm-avatars--sm .cm-avatars__item:first-child { margin-left: 0; }
.cm-avatars--sm .cm-avatars__item i { font-size: .7rem; }
.cm-avatars--sm .cm-avatars__more { font-size: .55rem; }
.cm-ev-attendees {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: #555; margin-top: 4px;
}
.cm-ev-attendees__text { font-size: .8rem; color: #4e342e; }
.cm-ev-attendees--sm { margin-top: 6px; }
.cm-ev-attendees--sm span { font-size: .75rem; color: #888; }

.cm-ev-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cm-ev-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--cm-indigo9);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.cm-ev-cta:hover {
    background: var(--cm-indigo2);
    transform: translateY(-1px);
}

/* Event list */
.cm-ev-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cm-ev-item {
    display: flex;
    gap: 14px;
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 14px;
    padding: 15px 16px;
    text-decoration: none;
    transition: all .2s;
}
.cm-ev-item:hover {
    border-color: var(--cm-indigo2);
    box-shadow: var(--cm-sh);
    transform: translateX(3px);
}
.cm-ev-item__date {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cm-ev-item__day {
    font-size: 18px;
    font-weight: 900;
    color: var(--cm-indigo9);
    line-height: 1;
}
.cm-ev-item__mon {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cm-muted2);
    margin-top: 2px;
}
.cm-ev-item__date.soon {
    background: var(--cm-primary);
    border-color: var(--cm-primary);
}
.cm-ev-item__date.soon .cm-ev-item__day,
.cm-ev-item__date.soon .cm-ev-item__mon {
    color: #fff;
}
.cm-ev-item__date.coming {
    background: var(--cm-amber2);
    border-color: rgba(217,119,6,.2);
}
.cm-ev-item__date.coming .cm-ev-item__day,
.cm-ev-item__date.coming .cm-ev-item__mon {
    color: var(--cm-amber);
}
.cm-ev-item__body {
    flex: 1;
    min-width: 0;
}
.cm-ev-item__tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.cm-ev-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 2px 8px;
    border-radius: 5px;
}
.cm-ev-tag.green { color: var(--cm-green); background: var(--cm-green2); }
.cm-ev-tag.purple { color: var(--cm-purple); background: var(--cm-purple2); }
.cm-ev-tag.amber { color: var(--cm-amber); background: var(--cm-amber2); }
.cm-ev-tag.cyan { color: var(--cm-cyan); background: var(--cm-cyan2); }
.cm-ev-tag.navy { color: var(--cm-indigo2); background: #EEF1FB; }
.cm-ev-item__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--cm-indigo9);
    line-height: 1.4;
    margin-bottom: 6px;
}
.cm-ev-item__info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.cm-ev-ii {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--cm-muted);
    font-weight: 400;
}
.cm-ev-ii i {
    font-size: 11px;
    color: var(--cm-muted2);
}
.cm-ev-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--cm-primary);
    background: rgba(251,71,31,.07);
    padding: 2px 9px;
    border-radius: 6px;
    margin-left: auto;
    white-space: nowrap;
}
.cm-ev-countdown i {
    font-size: 9px;
}

.cm-ev-recurrence {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #3F51B5;
    background: rgba(63,81,181,.1);
    padding: 2px 8px;
    border-radius: 10px;
}
.cm-ev-recurrence i {
    font-size: 9px;
}
.cm-ev-meta-item.cm-ev-recurrence {
    color: #3F51B5;
    background: rgba(63,81,181,.1);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .78rem;
}

/* ── COMMUNITY POSTS ── */
.cm-posts-section {
    padding: 48px 28px 72px;
    max-width: 1256px;
    margin: 0 auto;
}
.cm-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cm-post-card {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--cm-sh-sm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
}
.cm-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cm-sh-lg);
}
.cm-post-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #dde3f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cm-post-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-post-card__img::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(14,32,87,.4) 0%, transparent 55%);
}
.cm-post-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 3px 9px;
    border-radius: 6px;
    color: #fff;
}
.cm-post-badge.green { background: var(--cm-green); }
.cm-post-badge.amber { background: var(--cm-amber); }
.cm-post-badge.navy { background: var(--cm-indigo9); }
.cm-post-badge.red { background: var(--cm-primary); }
.cm-post-badge.purple { background: var(--cm-purple); }
.cm-post-card__body {
    padding: 15px 17px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cm-post-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cm-indigo9);
    line-height: 1.44;
    margin-bottom: 8px;
    flex: 1;
}
.cm-post-card__excerpt {
    font-size: 12.5px;
    color: var(--cm-muted);
    line-height: 1.65;
    margin-bottom: 13px;
}
.cm-post-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 1px solid var(--cm-border);
}
.cm-post-card__auth {
    display: flex;
    align-items: center;
    gap: 7px;
}
.cm-post-card__av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cm-indigo9), var(--cm-indigo2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.cm-post-card__name {
    font-size: 11px;
    font-weight: 600;
    color: var(--cm-muted);
}
.cm-post-card__date {
    font-size: 10.5px;
    color: var(--cm-muted2);
}

/* ══════════════════════════════════════
   DETAIL PAGE
   ══════════════════════════════════════ */
.cm-detail-hero {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #06113a, #0f2068);
}
.cm-detail-hero__bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}
.cm-detail-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-detail-hero__bg::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(6,17,58,.85) 0%, rgba(6,17,58,.3) 60%, transparent 100%);
}
.cm-detail-hero--no-img {
    background: linear-gradient(120deg, #06113a 0%, #0f2068 50%, #145a40 100%);
}
.cm-detail-hero__content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
    width: 100%;
}
.cm-detail-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cm-detail-hero__breadcrumb a,
.cm-detail-hero__breadcrumb span {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-weight: 500;
}
.cm-detail-hero__breadcrumb a:hover {
    color: rgba(255,255,255,.8);
}
.cm-detail-hero__breadcrumb i {
    font-size: 9px;
    color: rgba(255,255,255,.3);
}
.cm-detail-hero__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}
.cm-detail-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cm-detail-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    padding: 4px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}
.cm-detail-hero__badge:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.cm-detail-hero__badge--event {
    background: rgba(251,71,31,.4);
    border-color: rgba(251,71,31,.5);
}
.cm-detail-hero__date {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    gap: 5px;
}
.cm-detail-hero__date i {
    font-size: 11px;
}

/* Detail info cards */
.cm-detail-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.cm-detail-info__card {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 12px;
    padding: 14px 16px;
}
.cm-detail-info__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cm-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}
.cm-detail-info__label i {
    font-size: 12px;
    color: var(--cm-indigo2);
}
.cm-detail-info__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--cm-ink2);
}

/* Detail event info */
.cm-detail-event {
    background: linear-gradient(135deg, #FFEDE9 0%, #FEC6BA 100%);
    border: 1px solid rgba(251,71,31,.15);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.cm-detail-event__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--cm-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cm-detail-event__row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.cm-detail-event__item {
    font-size: 13px;
    color: var(--cm-ink2);
}
.cm-detail-event__item strong {
    font-weight: 700;
    color: var(--cm-text);
    margin-right: 4px;
}

/* Detail content */
.cm-detail-content {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 15px;
    color: var(--cm-ink2);
}
.cm-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

/* Detail sidebar */
.cm-detail-sidebar {
    position: sticky;
    top: 80px;
}
.cm-detail-sidebar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cm-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: background .2s;
}
.cm-detail-sidebar__cta:hover {
    background: var(--cm-primary2);
    color: #fff;
}

/* Share */
.cm-detail-share {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 14px;
    padding: 20px;
    margin-top: 16px;
}
.cm-detail-share__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cm-ink2);
    margin-bottom: 12px;
}
.cm-detail-share__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cm-detail-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--cm-border);
    color: var(--cm-text);
    background: var(--cm-card);
    cursor: pointer;
    transition: all .2s;
}
.cm-detail-share__btn:hover {
    border-color: var(--cm-indigo2);
    color: var(--cm-indigo9);
}
.cm-detail-share__btn--fb {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}
.cm-detail-share__btn--fb:hover {
    background: #1565D8;
    color: #fff;
}
.cm-detail-share__btn--copied {
    background: var(--cm-green2);
    border-color: var(--cm-green);
    color: var(--cm-green);
}

/* ══════════════════════════════════════
   CATEGORY PAGE
   ══════════════════════════════════════ */
.cm-cate-hero {
    background: linear-gradient(120deg, #06113a 0%, #0f2068 50%, #145a40 100%);
    border-radius: 20px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}
.cm-cate-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.cm-cate-hero__breadcrumb a,
.cm-cate-hero__breadcrumb span {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-weight: 500;
}
.cm-cate-hero__breadcrumb a:hover {
    color: rgba(255,255,255,.8);
}
.cm-cate-hero__breadcrumb i {
    font-size: 9px;
    color: rgba(255,255,255,.3);
}
.cm-cate-hero__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.cm-cate-hero__subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
}
.cm-cate-hero__subtitle strong {
    color: #4ade80;
}
.cm-cate-hero__search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 12px;
    overflow: hidden;
    max-width: 480px;
}
.cm-cate-hero__search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #fff;
}
.cm-cate-hero__search input::placeholder {
    color: rgba(255,255,255,.45);
}
.cm-cate-hero__search button {
    background: var(--cm-primary);
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: background .2s;
}
.cm-cate-hero__search button:hover {
    background: var(--cm-primary2);
}

/* Category listing */
.cm-cate-listing__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cm-cate-listing__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cm-cate-listing__header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cm-indigo2);
    font-size: 16px;
}
.cm-cate-listing__header-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--cm-ink2);
}
.cm-cate-listing__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cm-cate-listing__sort label {
    font-size: 12px;
    color: var(--cm-muted);
    font-weight: 500;
}
.cm-cate-listing__sort select {
    border: 1px solid var(--cm-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--cm-ink2);
    background: var(--cm-card);
    cursor: pointer;
}

/* Empty state */
.cm-cate-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
}
.cm-cate-empty__icon {
    font-size: 48px;
    color: var(--cm-muted2);
    margin-bottom: 16px;
}
.cm-cate-empty__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--cm-ink2);
    margin-bottom: 8px;
}
.cm-cate-empty__desc {
    font-size: 14px;
    color: var(--cm-muted);
    margin-bottom: 20px;
}
.cm-cate-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
}
.cm-cate-empty__btn:hover {
    background: var(--cm-primary2);
    color: #fff;
}

/* ══════════════════════════════════════
   LISTING PAGE
   ══════════════════════════════════════ */
.cm-listing-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cm-listing-search__title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 900;
    color: var(--cm-indigo9);
}

/* ══════════════════════════════════════
   LIST ELEMENT (shared card grid)
   ══════════════════════════════════════ */
.cm-card {
    background: var(--cm-card);
    border: 1px solid var(--cm-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--cm-sh-sm);
    transition: transform .22s, box-shadow .22s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cm-sh-lg);
}
.cm-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.cm-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-card__thumb::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(14,32,87,.35) 0%, transparent 55%);
}
.cm-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 3px 9px;
    border-radius: 6px;
    color: #fff;
    background: var(--cm-indigo9);
}
.cm-card__badge--event {
    background: var(--cm-primary);
    left: auto;
    right: 10px;
}
.cm-card__body {
    padding: 15px 17px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cm-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cm-indigo9);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cm-card__title a {
    color: inherit;
    text-decoration: none;
}
.cm-card__creator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
}
.cm-card__creator-name {
    font-weight: 600;
    color: var(--cm-muted);
}
.cm-card__creator-verified {
    color: var(--cm-green);
    font-size: 12px;
}
.cm-card__creator-date {
    color: var(--cm-muted2);
    margin-left: auto;
}
.cm-card__desc {
    font-size: 12.5px;
    color: var(--cm-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    flex: 1;
}
.cm-card__stats {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--cm-border);
    font-size: 11px;
    color: var(--cm-muted2);
    margin-top: auto;
}
.cm-card__stats i {
    margin-right: 3px;
}
/* ── Event Card (distinct design) ── */
.cm-ecard {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(15,52,96,.25);
    transition: transform .22s, box-shadow .22s;
    position: relative;
}
.cm-ecard:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(15,52,96,.35);
    color: #fff;
    text-decoration: none;
}
.cm-ecard__thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.cm-ecard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
    transition: opacity .3s;
}
.cm-ecard:hover .cm-ecard__thumb img { opacity: .85; }
.cm-ecard__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,52,96,.8) 0%, transparent 60%);
}
.cm-ecard__date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--cm-primary);
    color: #fff;
    border-radius: 12px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.1;
    min-width: 52px;
    box-shadow: 0 3px 12px rgba(198,40,40,.4);
}
.cm-ecard__day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.5px;
}
.cm-ecard__mon {
    display: block;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: .9;
}
.cm-ecard__countdown {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px;
}
.cm-ecard__countdown.soon {
    background: #c62828;
    animation: cm-pulse 1.5s infinite;
}
.cm-ecard__countdown.coming {
    background: rgba(255,152,0,.85);
}
@keyframes cm-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198,40,40,.5); }
    50% { box-shadow: 0 0 0 6px rgba(198,40,40,0); }
}
.cm-ecard__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cm-ecard__cat {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #e8b4b8;
    margin-bottom: 6px;
}
.cm-ecard__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cm-ecard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 12px;
}
.cm-ecard__meta i {
    margin-right: 4px;
    color: rgba(255,255,255,.5);
}
.cm-ecard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    margin-top: auto;
}
.cm-ecard__author i { color: #4caf50; margin-left: 3px; font-size: .7rem; }
.cm-ecard__views i { margin-right: 3px; }
.cm-card__event-date i {
    color: #c62828;
    font-size: .85rem;
    min-width: 14px;
}

/* ══════════════════════════════════════
   SUB-PAGE HERO (category, listing)
   ══════════════════════════════════════ */
.cm-hero--sub {
    padding: 40px 28px 48px;
}
.cm-hero--sub__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}
.cm-hero--sub .cm-hero__title {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 8px;
}
.cm-hero--sub .cm-hero__sub {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
    max-width: 600px;
}
.cm-hero--sub .cm-hero__sub strong {
    color: #4ade80;
}
.cm-hero__search-inner--compact {
    max-width: 480px;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
    .cm-hero__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cm-hero__right {
        display: none;
    }
    .cm-ev-grid {
        grid-template-columns: 1fr;
    }
    .cm-detail-info {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .cm-hero {
        padding: 32px 16px 40px;
    }
    .cm-hero__title {
        font-size: 26px;
    }
    .cm-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .cm-events-section {
        padding: 32px 16px 40px;
    }
    .cm-posts-section {
        padding: 32px 16px 48px;
    }
    .cm-detail-hero__content {
        padding: 24px 20px;
    }
    .cm-detail-content {
        padding: 20px;
    }
    .cm-hero--sub {
        padding: 28px 16px 36px;
    }
}
@media (max-width: 575px) {
    .cm-posts-grid {
        grid-template-columns: 1fr;
    }
    .cm-detail-info {
        grid-template-columns: 1fr 1fr;
    }
    .cm-hero__stats {
        gap: 16px;
    }
    .cm-section-hd {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cm-hero {
        padding: 24px 12px 32px;
    }
    .cm-hero__ring.r1 {
        width: 200px;
        height: 200px;
        border-width: 24px;
        top: -80px;
        right: -40px;
    }
    .cm-hero__ring.r2 {
        display: none;
    }
    .cm-hero__title {
        font-size: 22px;
    }
    .cm-hero__search-inner {
        flex-direction: column;
        border-radius: 12px;
    }
    .cm-hero__search-select {
        width: 100%;
        max-width: none;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }
    .cm-hero__search-inner button {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }
    .cm-hero__stat-n {
        font-size: 20px;
    }
    .cm-hero__cat-pill {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ── FILTER TABS (listing page) ── */
.cm-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cm-filter-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--cm-ink2, #64748b);
    background: #f1f5f9;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .2s;
}
.cm-filter-tabs__item:hover {
    background: #e2e8f0;
    color: var(--cm-ink, #1e293b);
}
.cm-filter-tabs__item--active {
    background: linear-gradient(135deg, #06113a, #145a40);
    color: #fff;
    border-color: transparent;
}
.cm-filter-tabs__item--active:hover {
    color: #fff;
    opacity: .9;
}
.cm-filter-tabs__item i {
    font-size: .92rem;
}

/* ── PAGE CONTAINER (for listing/category/detail pages) ── */
.cm-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}
@media (max-width: 767px) {
    .cm-page-container {
        padding: 0 16px;
    }
}
