.cmh-he-section{box-sizing:border-box;width:min(1520px,calc(100vw - 40px));margin:38px auto 46px;padding:26px;background:#10141e;border:1px solid #293041;border-radius:22px;color:#fff;font-family:Inter,system-ui,Arial,sans-serif}
.cmh-he-section *{box-sizing:border-box}
.cmh-he-heading{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:20px}
.cmh-he-kicker{font-weight:850;font-size:11px;letter-spacing:1.4px;color:#ff8ba4}
.cmh-he-heading h2{font-size:clamp(24px,2.5vw,34px)!important;line-height:1.2;margin:8px 0 12px!important;color:#fff!important}
.cmh-he-heading p{margin:0;color:#bec5d4;font-size:15px;line-height:1.55;max-width:800px}
.cmh-he-all{flex:none;display:inline-flex;gap:8px;align-items:center;padding:11px 15px;border:1px solid #454c5e;border-radius:12px;color:#fff!important;font-size:13px;font-weight:750;text-decoration:none!important;background:#1b202d}
.cmh-he-all:hover{border-color:#ff315f}
.cmh-he-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:end;max-width:100%;margin-bottom:8px}
.cmh-he-field{min-width:0;display:grid;gap:6px;font-size:13px;font-weight:750;color:#e2e5ed}
.cmh-he-field input,.cmh-he-field select{height:48px;width:100%;min-width:0;border-radius:12px;background:#1a2030;border:1px solid #424b61;padding:0 14px;color:#fff!important;font:500 15px Inter,system-ui,Arial,sans-serif}
.cmh-he-field input::placeholder{color:#9eaabd}
.cmh-he-field input:focus,.cmh-he-field select:focus,.cmh-he-reset:focus-visible,.cmh-he-arrow:focus-visible,.cmh-he-card-link:focus-visible{outline:2px solid #ff809c;outline-offset:3px}
.cmh-he-reset{height:48px;min-width:150px;padding:0 17px;border-radius:12px;border:1px solid #414a5a;background:#262c3a;color:#fff;font-weight:700;cursor:pointer}
.cmh-he-reset:hover{background:#343b4c}
.cmh-he-status{min-height:22px;margin:12px 0 10px;color:#aeb7c8;font-size:13px}
.cmh-he-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}
.cmh-he-arrow{width:42px;height:42px;border-radius:50%;background:#242938;border:1px solid #444b5a;color:#fff;display:grid;place-items:center;font-size:28px;line-height:1;cursor:pointer;transition:background .2s ease}
.cmh-he-arrow:not(:disabled):hover{background:#ff315f;border-color:#ff315f}
.cmh-he-arrow:disabled{opacity:.3;cursor:default}
.cmh-he-rail{display:flex;gap:16px;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:4px 0 9px}
.cmh-he-rail::-webkit-scrollbar{display:none}
.cmh-he-section.is-loading .cmh-he-rail{opacity:.45;pointer-events:none}
.cmh-he-card{flex:0 0 clamp(230px,23vw,315px);min-width:0;scroll-snap-align:start;background:#171c2a;border:1px solid #30384b;border-radius:16px;overflow:hidden;transition:border-color .2s ease,transform .2s ease}
.cmh-he-card:hover{border-color:#ff537d;transform:translateY(-2px)}
.cmh-he-card-link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:#fff!important}
.cmh-he-photo{position:relative;height:168px;overflow:hidden;background:linear-gradient(135deg,#32283a,#172339)}
.cmh-he-photo img{display:block;width:100%;height:100%;object-fit:cover}
.cmh-he-fallback{display:grid;place-items:center;height:100%;font-size:44px;color:#ff9eb6}
.cmh-he-category{position:absolute;left:12px;top:12px;padding:5px 10px;border-radius:20px;color:#fff;font-size:11px;font-weight:800;background:rgba(31,21,37,.9);border:1px solid rgba(255,255,255,.15)}
.cmh-he-body{display:flex;flex-direction:column;gap:8px;flex:1;padding:15px}
.cmh-he-body h3{color:#fff!important;font-size:16px!important;line-height:1.38;margin:0!important;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cmh-he-body p{margin:0;font-size:12px;line-height:1.45;color:#b9c3d2}
.cmh-he-body .cmh-he-city{font-size:13px;color:#e6eaf2;font-weight:600}
.cmh-he-body .cmh-he-venue{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cmh-he-cta{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#ff315f;color:#fff;font-size:13px;font-weight:800;margin-top:auto;padding:11px 12px;border-radius:10px}
.cmh-he-empty{margin:0;flex:1;padding:30px 16px;border:1px dashed #4c5363;border-radius:14px;color:#c2c8d2}
/* Move the interests widget to ranking without affecting the homepage. */
.cmh-ranking-page .cmh-home-insights{box-sizing:border-box;width:100%;margin:28px auto;color:#fff}
.cmh-ranking-page .cmh-home-insights h2{font-size:26px;color:#fff;margin:0}
.cmh-ranking-page .cmh-home-insights .cmh-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}
.cmh-ranking-page .cmh-home-insights .cmh-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cmh-ranking-page .cmh-home-insights article{padding:18px;border:1px solid #30384b;border-radius:14px;background:#141a26}
.cmh-ranking-page .cmh-home-insights ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.cmh-ranking-page .cmh-home-insights li{display:flex;justify-content:space-between;gap:10px}
.cmh-ranking-page .cmh-home-insights li a{color:#fff;text-decoration:none}
.cmh-ranking-page .cmh-home-insights li strong{color:#ff7e9d}
.cmh-ranking-page .cmh-home-insights h3{margin:0;font-size:17px}
.cmh-ranking-page .cmh-insight-note{font-size:12px;color:#aeb7c8}
@media(max-width:850px){.cmh-he-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cmh-he-reset{grid-column:1/-1}.cmh-he-heading{align-items:start;flex-direction:column;gap:12px}.cmh-ranking-page .cmh-home-insights .cmh-insight-grid{grid-template-columns:1fr}}
@media(max-width:600px){.cmh-he-section{width:calc(100vw - 24px);padding:17px 11px;margin:26px auto;border-radius:15px}.cmh-he-filters{grid-template-columns:1fr;gap:10px}.cmh-he-reset{grid-column:auto}.cmh-he-carousel{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px}.cmh-he-arrow{width:32px;height:38px;font-size:24px}.cmh-he-card{flex-basis:min(78vw,265px)}.cmh-he-photo{height:145px}.cmh-he-body{padding:12px}.cmh-he-body h3{font-size:15px!important}.cmh-he-heading h2{font-size:23px!important}.cmh-he-heading p{font-size:13px}.cmh-he-status{font-size:12px}.cmh-ranking-page .cmh-home-insights .cmh-heading{display:block}}
@media(prefers-reduced-motion:reduce){.cmh-he-rail{scroll-behavior:auto}.cmh-he-card{transition:none}}
