:root {
  --cm-bg: #07111f;
  --cm-bg-deep: #040b15;
  --cm-surface: #0d192b;
  --cm-surface-2: #121f33;
  --cm-border: #26364e;
  --cm-border-soft: rgba(150, 172, 207, .18);
  --cm-text: #f7f8fb;
  --cm-muted: #9eabc0;
  --cm-accent: #ff5a2a;
  --cm-accent-2: #ff7a52;
  --cm-success: #74b94f;
  --cm-blue: #4d85ff;
  --cm-radius-sm: 12px;
  --cm-radius: 18px;
  --cm-radius-lg: 24px;
  --cm-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --cm-container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cm-text);
  background:
    radial-gradient(circle at 45% 0%, rgba(27, 53, 91, .22), transparent 36rem),
    linear-gradient(180deg, #081322 0%, var(--cm-bg-deep) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.cm-no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
svg.cm-icon { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.screen-reader-text, .cm-skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cm-skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 99999; padding: .75rem 1rem; background: #fff; color: #111; border-radius: 8px; }
.cm-container { width: min(calc(100% - 40px), var(--cm-container)); margin-inline: auto; }
.cm-reading-container { max-width: 850px; }
.cm-mobile-only { display: none !important; }

.cm-site-header { position: relative; z-index: 30; padding-top: 18px; }
.cm-header-top { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(420px, 2fr) minmax(250px, .8fr); align-items: center; gap: 28px; min-height: 74px; }
.cm-logo-wrap { display: flex; align-items: center; gap: 24px; min-width: 0; }
.cm-brand { display: inline-flex; align-items: baseline; font-family: Poppins, sans-serif; font-size: clamp(1.55rem, 2vw, 2.15rem); font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.cm-brand strong { color: var(--cm-accent); }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-height: 50px; }
.cm-tagline { max-width: 150px; margin: 0; color: var(--cm-muted); font-size: .75rem; line-height: 1.35; }
.cm-header-ad { position: relative; min-height: 58px; }
.cm-ad-label { display: block; margin-bottom: 4px; color: #8390a5; font-size: .55rem; font-weight: 700; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.cm-header-ad .cm-widget { height: 58px; overflow: hidden; border: 1px solid rgba(255,90,42,.8); border-radius: 4px; }
.cm-header-ad img { width: 100%; height: 100%; object-fit: cover; }
.cm-ad-placeholder { display: flex; height: 58px; align-items: center; justify-content: center; gap: 25px; padding: 10px 20px; border: 1px solid rgba(255,90,42,.72); border-radius: 4px; color: white; background: linear-gradient(90deg, rgba(8,87,93,.68), rgba(8,50,70,.85)); box-shadow: 0 0 0 1px rgba(255,90,42,.12), 0 8px 30px rgba(0,0,0,.25); }
.cm-ad-placeholder span { color: var(--cm-accent-2); font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.cm-ad-placeholder strong { font-size: .92rem; }
.cm-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.cm-header-action { display: inline-flex; align-items: center; gap: 8px; color: #c1cada; background: none; border: 0; cursor: pointer; font-size: .78rem; }
.cm-header-action:hover, .cm-header-action:focus-visible { color: white; }
.cm-icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; background: transparent; border: 1px solid var(--cm-border-soft); border-radius: 999px; cursor: pointer; }
.cm-icon-button:hover, .cm-icon-button:focus-visible { border-color: var(--cm-accent); color: var(--cm-accent); }
.cm-nav-row { display: flex; align-items: center; gap: 14px; padding-block: 14px 18px; }
.cm-category-nav { display: flex; max-width: 100%; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.cm-category-nav::-webkit-scrollbar { display: none; }
.cm-category-nav a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--cm-border-soft); border-radius: 999px; color: #bec8d9; font-size: .82rem; font-weight: 600; white-space: nowrap; transition: .2s ease; }
.cm-category-nav a:hover, .cm-category-nav a:focus-visible, .cm-category-nav a.is-active { color: #fff; border-color: var(--cm-accent); background: var(--cm-accent); box-shadow: 0 8px 26px rgba(255,90,42,.18); }

.cm-search-panel { position: fixed; inset: 0; z-index: 80; padding: 12vh 20px; background: rgba(1,6,13,.88); backdrop-filter: blur(14px); }
.cm-search-panel__inner { position: relative; width: min(760px, 100%); margin: auto; }
.cm-search-panel form { display: flex; gap: 10px; }
.cm-search-panel input[type="search"] { width: 100%; min-height: 58px; padding: 0 22px; color: white; background: var(--cm-surface); border: 1px solid var(--cm-border); border-radius: 999px; outline: none; }
.cm-search-panel input[type="search"]:focus { border-color: var(--cm-accent); box-shadow: 0 0 0 4px rgba(255,90,42,.12); }
.cm-search-panel input[type="submit"] { padding: 0 28px; color: white; background: var(--cm-accent); border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }
.cm-search-close { display: grid; width: 44px; height: 44px; place-items: center; margin: 0 0 16px auto; color: white; background: var(--cm-surface); border: 1px solid var(--cm-border); border-radius: 999px; font-size: 1.7rem; cursor: pointer; }
.cm-drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.cm-drawer.is-open { visibility: visible; pointer-events: auto; }
.cm-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .25s ease; }
.cm-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(390px, 90vw); padding: 24px; background: var(--cm-bg); border-right: 1px solid var(--cm-border); transform: translateX(-100%); transition: transform .25s ease; }
.cm-drawer.is-open .cm-drawer__backdrop { opacity: 1; }
.cm-drawer.is-open .cm-drawer__panel { transform: translateX(0); }
.cm-drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.cm-drawer nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cm-drawer nav a { display: block; padding: 13px 14px; border-radius: 10px; color: #dbe2ed; }
.cm-drawer nav a:hover { background: var(--cm-surface-2); color: var(--cm-accent); }

.cm-main { min-height: 60vh; padding-bottom: 40px; }
.cm-home-grid { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(315px, .9fr); gap: 18px; align-items: start; }
.cm-home-primary { min-width: 0; }
.cm-hero { position: relative; min-height: 460px; overflow: hidden; border: 1px solid var(--cm-border); border-radius: var(--cm-radius-lg); background: var(--cm-surface); box-shadow: var(--cm-shadow); }
.cm-hero-track, .cm-hero-slide { position: absolute; inset: 0; }
.cm-hero-slide { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.cm-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.cm-hero-media, .cm-hero-media img, .cm-image-placeholder { width: 100%; height: 100%; }
.cm-hero-media img { object-fit: cover; filter: none; }
.cm-image-placeholder { min-height: 140px; background: linear-gradient(135deg, #172940, #0a1422); }
.cm-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,10,18,.98) 0%, rgba(4,10,18,.82) 32%, rgba(4,10,18,.28) 63%, rgba(4,10,18,.12) 100%), linear-gradient(0deg, rgba(4,10,18,.5), transparent 45%); }
.cm-hero-content { position: absolute; z-index: 2; inset: auto auto 0 0; width: min(570px, 62%); padding: clamp(28px, 4vw, 52px); }
.cm-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 10px; color: white; background: var(--cm-accent); border-radius: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.cm-hero h1 { max-width: 540px; margin: 15px 0 10px; font-family: Poppins, sans-serif; font-size: clamp(2rem, 3.15vw, 3.45rem); line-height: 1.03; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
.cm-hero h1 em, .cm-hero h1 strong { color: var(--cm-accent); font-style: normal; }
.cm-hero-content p { max-width: 460px; margin: 0 0 20px; color: #d4dce8; font-size: clamp(.92rem, 1.15vw, 1.08rem); line-height: 1.45; }
.cm-outline-button, .cm-primary-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid var(--cm-accent); border-radius: 9px; color: #fff; background: rgba(6,12,22,.45); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.cm-outline-button:hover { background: var(--cm-accent); transform: translateY(-1px); }
.cm-hero-dots { position: absolute; right: 24px; bottom: 21px; z-index: 4; display: flex; gap: 9px; }
.cm-hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.78); cursor: pointer; }
.cm-hero-dots button.is-active { background: var(--cm-accent); box-shadow: 0 0 0 4px rgba(255,90,42,.13); }

.cm-section { padding-top: 14px; }
.cm-section-heading { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 20px; }
.cm-section-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: Poppins, sans-serif; font-size: .88rem; letter-spacing: .045em; text-transform: uppercase; }
.cm-section-heading h2::before { width: 3px; height: 21px; border-radius: 99px; background: var(--cm-accent); content: ""; }
.cm-section-heading a, .cm-panel-title-row > a { display: inline-flex; align-items: center; gap: 3px; color: #d9e0ea; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cm-section-heading a:hover { color: var(--cm-accent); }
.cm-horizontal-wrap { position: relative; }
.cm-story-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; padding: 6px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cm-story-grid::-webkit-scrollbar { display: none; }
.cm-story-card { min-width: 0; scroll-snap-align: start; }
.cm-story-card__media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(255,90,42,.84); border-radius: 18px; background: var(--cm-surface); }
.cm-story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cm-story-card:hover img { transform: scale(1.045); }
.cm-story-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,9,17,.98), rgba(4,9,17,.08) 70%); }
.cm-story-card .cm-badge { position: absolute; left: 11px; bottom: 58px; z-index: 2; font-size: .5rem; }
.cm-story-card h3 { position: absolute; z-index: 2; right: 11px; bottom: 22px; left: 11px; margin: 0; font-family: Poppins, sans-serif; font-size: clamp(.76rem, 1vw, .94rem); line-height: 1.25; }
.cm-story-progress { position: absolute; z-index: 2; right: 10px; bottom: 9px; left: 10px; display: flex; justify-content: center; gap: 5px; }
.cm-story-progress i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }
.cm-story-progress i:first-child { background: var(--cm-accent); }
.cm-scroll-arrow { position: absolute; top: 50%; right: -10px; z-index: 3; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--cm-accent); border-radius: 50%; color: white; background: rgba(6,14,25,.9); cursor: pointer; transform: translateY(-50%); }
.cm-scroll-arrow:hover { color: var(--cm-accent); }

.cm-inline-ad { position: relative; margin-top: 10px; }
.cm-inline-ad .cm-widget { min-height: 86px; overflow: hidden; border: 1px solid rgba(255,90,42,.65); border-radius: 8px; }
.cm-inline-ad img { width: 100%; height: auto; }
.cm-ad-house { display: grid; min-height: 82px; grid-template-columns: 1.05fr 1fr auto; align-items: center; gap: 24px; padding: 18px clamp(22px, 3vw, 44px); border: 1px solid rgba(255,90,42,.65); border-radius: 8px; background: linear-gradient(90deg, #9a2d08, #e94a11 48%, #7d2105); box-shadow: inset 0 1px rgba(255,255,255,.1); }
.cm-ad-house strong { font-family: Poppins, sans-serif; font-size: clamp(1.25rem, 2vw, 1.85rem); letter-spacing: .04em; }
.cm-ad-house span { font-size: .86rem; }
.cm-ad-house b { padding: 10px 22px; border-radius: 7px; color: white; background: var(--cm-accent); font-size: .68rem; text-transform: uppercase; }

.cm-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.cm-highlight-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--cm-border); border-radius: 15px; background: var(--cm-surface); }
.cm-highlight-card > a { display: block; height: 100%; }
.cm-highlight-card__media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.cm-highlight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cm-highlight-card:hover img { transform: scale(1.035); }
.cm-highlight-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,16,29,.86), transparent 75%); }
.cm-highlight-card__body { padding: 13px 16px 18px; }
.cm-highlight-card h3 { margin: 8px 0 6px; font-family: Poppins, sans-serif; font-size: 1rem; line-height: 1.2; }
.cm-highlight-card p { min-height: 40px; margin: 0 0 12px; color: #bdc7d6; font-size: .75rem; line-height: 1.35; }
.cm-card-meta { display: flex; gap: 7px; color: #77869c; font-size: .64rem; }
.cm-card-meta span:first-child { color: #a9b4c4; }
.cm-card-bookmark { position: absolute; right: 12px; bottom: 10px; z-index: 3; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; color: #b9c3d3; background: transparent; border: 0; cursor: pointer; }
.cm-card-bookmark:hover { color: var(--cm-accent); }
.cm-mobile-highlights { display: none; }

.cm-home-sidebar { display: grid; gap: 14px; }
.cm-panel, .cm-sidebar-ad { position: relative; padding: 18px 20px; border: 1px solid var(--cm-border); border-radius: 15px; background: linear-gradient(145deg, rgba(14,28,47,.96), rgba(8,18,32,.96)); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.cm-panel h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: Poppins, sans-serif; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.cm-panel h2 .cm-icon { color: var(--cm-accent); }
.cm-trending ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cm-trending li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 8px; }
.cm-trending-number { color: var(--cm-accent); font-family: Poppins, sans-serif; font-size: 1.35rem; font-weight: 700; }
.cm-trending li > a { font-size: .75rem; line-height: 1.25; }
.cm-trending li > a:hover { color: var(--cm-accent); }
.cm-tiny-badge { max-width: 70px; padding: 3px 6px; overflow: hidden; color: var(--cm-accent-2); background: rgba(255,90,42,.11); border-radius: 4px; font-size: .42rem; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.cm-panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm-panel-title-row h2 { margin-bottom: 12px; }
.cm-panel-title-row > a { color: #9ba8ba; font-size: .46rem; }
.cm-events { display: grid; }
.cm-event { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(150,172,207,.15); }
.cm-event:first-child { border-top: 0; padding-top: 0; }
.cm-event time { display: grid; align-content: center; text-align: center; }
.cm-event time strong { color: var(--cm-accent); font-family: Poppins, sans-serif; font-size: 1.35rem; line-height: 1; }
.cm-event time span { margin-top: 4px; color: #99a7b9; font-size: .52rem; }
.cm-event h3 { margin: 0; font-family: Inter, sans-serif; font-size: .72rem; line-height: 1.3; text-transform: none; }
.cm-event p { margin: 3px 0 0; color: #8492a6; font-size: .61rem; }
.cm-newsletter { border-color: rgba(255,90,42,.65); background: radial-gradient(circle at 90% 40%, rgba(255,90,42,.23), transparent 32%), var(--cm-surface); }
.cm-newsletter h2 { margin-bottom: 5px; font-size: .72rem; }
.cm-newsletter p { margin: 0 0 13px; color: #aeb8c7; font-size: .65rem; }
.cm-newsletter form { display: grid; grid-template-columns: 1fr auto; }
.cm-newsletter input { min-width: 0; height: 36px; padding: 0 12px; color: white; background: rgba(6,15,26,.75); border: 1px solid var(--cm-border); border-radius: 7px 0 0 7px; outline: 0; }
.cm-newsletter input:focus { border-color: var(--cm-accent); }
.cm-newsletter button { height: 36px; padding: 0 14px; color: #fff; background: var(--cm-accent); border: 0; border-radius: 0 7px 7px 0; font-size: .58rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.cm-sidebar-ad { padding: 0; overflow: hidden; }
.cm-sidebar-ad .cm-ad-label { margin: 5px 0 3px; }
.cm-sidebar-ad .cm-widget img { width: 100%; height: auto; }
.cm-sidebar-ad-placeholder { display: grid; min-height: 220px; place-content: center; gap: 8px; color: white; background: linear-gradient(145deg, #005f6d, #082c42); text-align: center; }
.cm-sidebar-ad-placeholder span { color: #a4cbd0; font-size: .68rem; }
.cm-weather small { display: block; margin-bottom: 8px; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.cm-weather-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; }
.cm-weather-row > span { font-size: 2rem; }
.cm-weather-row strong { font-family: Poppins, sans-serif; font-size: 1.85rem; }
.cm-weather-row p { margin: 0; color: #9aa7b8; font-size: .62rem; }
.cm-empty-state { margin: 0; color: var(--cm-muted); font-size: .8rem; }

.cm-site-footer { margin-top: 8px; border-top: 1px solid rgba(150,172,207,.1); }
.cm-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .75fr); gap: 50px; padding-block: 30px; }
.cm-footer-brand p { max-width: 280px; color: #8e9bad; font-size: .75rem; }
.cm-socials { display: flex; gap: 10px; }
.cm-socials a { display: grid; width: 32px; height: 32px; place-items: center; color: #b4bfce; border: 1px solid var(--cm-border); border-radius: 50%; }
.cm-widget__title, .cm-footer-grid h2 { margin: 0 0 8px; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.cm-footer-grid ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.cm-footer-grid li, .cm-footer-grid .cm-widget, .cm-footer-grid p { color: #8593a7; font-size: .7rem; }
.cm-footer-grid a:hover { color: var(--cm-accent); }
.cm-footer-bottom { padding: 18px 0 24px; color: #637188; border-top: 1px solid rgba(150,172,207,.08); font-size: .72rem; text-align: center; }
.cm-mobile-bottom-nav { display: none; }

.cm-list-card { position: relative; display: grid; grid-template-columns: 31% 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(150,172,207,.14); }
.cm-list-card__media { min-height: 120px; overflow: hidden; border-radius: 12px; }
.cm-list-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cm-list-card__body { padding-right: 32px; }
.cm-list-category { color: var(--cm-accent); font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cm-list-card h3 { margin: 5px 0; font-family: Poppins, sans-serif; font-size: 1rem; line-height: 1.25; }
.cm-list-card p { margin: 0 0 4px; color: #a8b3c2; font-size: .76rem; line-height: 1.4; }
.cm-reading-time { color: #7f8da1; font-size: .66rem; }
.cm-list-card .cm-card-bookmark { right: 0; bottom: 16px; }

.cm-archive-main, .cm-single-main { padding-top: 38px; }
.cm-archive-header { margin-bottom: 24px; }
.cm-archive-header h1, .cm-article-header h1 { margin: 0; font-family: Poppins, sans-serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
.cm-archive-description, .cm-article-lead { color: #a9b5c5; font-size: 1.05rem; }
.cm-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.page-numbers { display: grid; min-width: 40px; height: 40px; place-items: center; padding: 0 10px; border: 1px solid var(--cm-border); border-radius: 8px; }
.page-numbers.current { border-color: var(--cm-accent); background: var(--cm-accent); }
.cm-article-header { padding-block: 36px 24px; }
.cm-article-header .cm-badge { margin-bottom: 14px; }
.cm-article-lead { margin: 18px 0 12px; }
.cm-article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #7f8da1; font-size: .78rem; }
.cm-article-hero { max-width: 1200px; }
.cm-article-hero img { width: 100%; max-height: 690px; object-fit: cover; border-radius: var(--cm-radius); }
.cm-article-content { padding-block: 34px 60px; color: #d5dce7; font-size: 1.05rem; }
.cm-article-content h2, .cm-article-content h3 { color: white; font-family: Poppins, sans-serif; line-height: 1.2; }
.cm-article-content a { color: var(--cm-accent); text-decoration: underline; text-underline-offset: 3px; }
.cm-article-content blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--cm-accent); background: var(--cm-surface); }
.cm-error-page { padding-block: 80px; text-align: center; }
.cm-error-page > strong { color: var(--cm-accent); font-family: Poppins, sans-serif; font-size: 7rem; line-height: 1; }
.cm-primary-button { background: var(--cm-accent); }

@media (max-width: 1180px) {
  .cm-header-top { grid-template-columns: minmax(220px,.8fr) minmax(380px,1.6fr) auto; }
  .cm-tagline, .cm-header-action span { display: none; }
  .cm-home-grid { grid-template-columns: minmax(0,2fr) 310px; }
  .cm-hero { min-height: 420px; }
  .cm-story-grid { grid-auto-columns: minmax(145px, 1fr); }
}

@media (max-width: 900px) {
  body { padding-bottom: 84px; background: linear-gradient(180deg,#07111f,#030911); }
  .cm-container { width: min(calc(100% - 28px), 760px); }
  .cm-desktop-only { display: none !important; }
  .cm-mobile-only { display: inline-grid !important; }
  .cm-site-header { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top); background: rgba(5,13,24,.94); border-bottom: 1px solid rgba(150,172,207,.1); backdrop-filter: blur(16px); }
  .cm-header-top { display: grid; min-height: 70px; grid-template-columns: 48px 1fr auto; gap: 8px; }
  .cm-logo-wrap { justify-content: center; }
  .cm-brand { font-size: 1.65rem; }
  .custom-logo { max-height: 42px; }
  .cm-header-ad { display: none; }
  .cm-header-actions { gap: 2px; }
  .cm-header-actions .cm-header-action { display: inline-grid; width: 44px; height: 44px; place-items: center; padding: 0; }
  .cm-header-actions .cm-header-action svg { width: 1.6rem; height: 1.6rem; }
  .cm-icon-button { width: 42px; height: 42px; border-color: transparent; }
  .cm-nav-row { width: 100%; padding: 8px 14px 14px; }
  .cm-category-nav { gap: 10px; }
  .cm-category-nav a { min-height: 40px; padding: 0 22px; background: rgba(255,255,255,.055); }
  .cm-home-grid { display: block; }
  .cm-home-sidebar { display: none; }
  .cm-main { padding-top: 12px; }
  .cm-hero { min-height: 0; aspect-ratio: 1.28 / 1; border-radius: 18px; }
  .cm-hero-shade { background: linear-gradient(90deg,rgba(3,8,15,.88),rgba(3,8,15,.18)), linear-gradient(0deg,rgba(3,8,15,.93),transparent 72%); }
  .cm-hero-content { width: 80%; padding: 24px 22px; }
  .cm-hero h1 { max-width: 430px; margin-top: 13px; font-size: clamp(1.75rem, 7.2vw, 2.7rem); }
  .cm-hero-content p { display: -webkit-box; overflow: hidden; font-size: .9rem; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
  .cm-hero-dots { top: 22px; right: 20px; bottom: auto; }
  .cm-story-grid { grid-auto-columns: clamp(158px, 42vw, 205px); gap: 12px; margin-right: -14px; padding-right: 14px; }
  .cm-scroll-arrow { display: none; }
  .cm-section { padding-top: 16px; }
  .cm-section-heading { min-height: 46px; }
  .cm-section-heading h2 { font-size: .82rem; }
  .cm-inline-ad { margin-top: 14px; }
  .cm-ad-house { min-height: 98px; grid-template-columns: 1.25fr 1fr auto; gap: 12px; padding: 14px 18px; }
  .cm-ad-house strong { font-size: 1rem; }
  .cm-ad-house span { font-size: .7rem; }
  .cm-ad-house b { padding: 9px 12px; font-size: .54rem; }
  .cm-desktop-highlights { display: none; }
  .cm-mobile-highlights { display: block; }
  .cm-footer-grid { grid-template-columns: 1fr 1fr; }
  .cm-mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; min-height: 76px; grid-template-columns: repeat(5,1fr); padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(150,172,207,.18); border-radius: 22px 22px 0 0; background: rgba(9,17,29,.96); box-shadow: 0 -10px 35px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
  .cm-mobile-bottom-nav a { display: grid; place-items: center; align-content: center; gap: 3px; color: #7e8999; font-size: .62rem; }
  .cm-mobile-bottom-nav a.is-active { color: var(--cm-accent); }
  .cm-mobile-bottom-nav .cm-icon { width: 1.65rem; height: 1.65rem; }
  .cm-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .cm-container { width: min(calc(100% - 24px), 560px); }
  .cm-header-top { width: 100%; padding-inline: 12px; }
  .cm-nav-row { padding-inline: 12px; }
  .cm-hero { aspect-ratio: .96 / 1; }
  .cm-hero-content { width: 87%; padding: 22px 18px; }
  .cm-hero h1 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
  .cm-outline-button { min-height: 44px; padding-inline: 18px; }
  .cm-story-grid { grid-auto-columns: minmax(155px, 44vw); }
  .cm-story-card__media { border-radius: 15px; }
  .cm-ad-house { min-height: 92px; grid-template-columns: 1.25fr 1fr; }
  .cm-ad-house b { display: none; }
  .cm-ad-house strong { font-size: .9rem; }
  .cm-list-card { grid-template-columns: 34% 1fr; gap: 12px; }
  .cm-list-card__media { min-height: 112px; }
  .cm-list-card h3 { font-size: .92rem; }
  .cm-list-card p { display: -webkit-box; overflow: hidden; font-size: .72rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cm-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cm-footer-grid > div:not(.cm-footer-brand) { display: none; }
  .cm-archive-grid { grid-template-columns: 1fr; }
  .cm-article-header { padding-top: 20px; }
  .cm-article-content { font-size: 1rem; }
  .cm-search-panel form { display: grid; }
  .cm-search-panel input[type="submit"] { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   Com Marília 0.2 — ajustes baseados na home real do portal
   ========================================================= */
:root {
  --cm-container: 1600px;
  --cm-bg: #06101d;
  --cm-bg-deep: #020914;
  --cm-surface: #0b182a;
  --cm-surface-2: #101f34;
  --cm-border: #24364f;
}

body {
  background:
    radial-gradient(circle at 46% -8%, rgba(35, 69, 114, .27), transparent 39rem),
    linear-gradient(180deg, #071321 0%, var(--cm-bg-deep) 100%);
}

.cm-brand span { color: #f8fafc; }
.cm-brand strong { margin-left: .08em; }
.cm-main { padding-bottom: 24px; }
.cm-site-header { padding-top: 14px; }
.cm-section { padding-top: 18px; }
.cm-section-heading { min-height: 46px; }
.cm-section-heading h2 { font-size: .92rem; }
.cm-section-heading a { color: #b9c5d6; }

.cm-hero-content h1,
.cm-story-card h3,
.cm-highlight-card h3,
.cm-list-card h3 {
  overflow-wrap: anywhere;
}

.cm-hero-content h1 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.cm-hero-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.cm-story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cm-card--image-only .cm-story-card__media,
.cm-highlight-card.cm-card--image-only {
  background: #07111f;
}

.cm-story-card.cm-card--image-only .cm-story-progress {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .44);
  backdrop-filter: blur(8px);
}

.cm-highlight-card.cm-card--image-only .cm-highlight-card__media {
  aspect-ratio: 16 / 9;
}

.cm-inline-ad {
  border-radius: 10px;
}

.cm-ad-house {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(122, 30, 4, .96), rgba(239, 72, 17, .98) 48%, rgba(112, 25, 3, .96));
}

.cm-ad-house::before,
.cm-ad-house::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  content: "";
  transform: rotate(24deg);
}

.cm-ad-house::before { width: 190px; height: 190px; right: 7%; border-radius: 35px; }
.cm-ad-house::after { width: 120px; height: 120px; left: 3%; border-radius: 24px; }

.cm-panel,
.cm-sidebar-ad,
.cm-highlight-card,
.cm-hero {
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

.cm-sidebar-ad .widget_search,
.cm-sidebar-ad .widget_recent_entries,
.cm-sidebar-ad .widget_recent_comments,
.cm-sidebar-ad .widget_categories,
.cm-sidebar-ad .widget_archives,
.cm-sidebar-ad .widget_meta,
.cm-sidebar-ad .widget_pages,
.cm-sidebar-ad .widget_calendar,
.cm-sidebar-ad .widget_tag_cloud,
.cm-sidebar-ad .widget_nav_menu {
  display: none !important;
}

.cm-footer-grid { padding-block: 34px; }
.cm-footer-brand .cm-brand { font-size: 1.65rem; }

@media (min-width: 1181px) {
  .cm-header-top {
    grid-template-columns: minmax(255px, .75fr) minmax(560px, 1.65fr) minmax(250px, .75fr);
    gap: 32px;
    min-height: 82px;
  }

  .cm-logo-wrap { gap: 28px; }
  .cm-nav-row { padding-block: 12px 20px; }
  .cm-category-nav a { min-height: 41px; padding-inline: 27px; }

  .cm-home-grid {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 22px;
  }

  .cm-hero { min-height: 515px; }
  .cm-hero-content { width: min(620px, 62%); padding: 46px 50px; }
  .cm-hero h1 { font-size: clamp(2.45rem, 3vw, 3.8rem); }
  .cm-hero-content p { max-width: 500px; font-size: 1.03rem; }
  .cm-hero-dots { right: 28px; bottom: 25px; }

  .cm-story-grid { grid-auto-columns: minmax(166px, 1fr); gap: 17px; }
  .cm-story-card h3 { font-size: .9rem; }

  .cm-highlight-grid { gap: 16px; }
  .cm-highlight-card h3 { font-size: 1.04rem; }
  .cm-highlight-card p { font-size: .78rem; }

  .cm-home-sidebar { gap: 16px; }
  .cm-panel, .cm-sidebar-ad { padding: 20px 22px; }
  .cm-trending li > a { font-size: .78rem; }
}

@media (min-width: 1500px) {
  .cm-hero { min-height: 545px; }
  .cm-home-grid { grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; }
  .cm-story-grid { grid-auto-columns: minmax(178px, 1fr); }
}

@media (max-width: 900px) {
  .cm-site-header { box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
  .cm-header-top { min-height: 66px; }
  .cm-brand { font-size: 1.55rem; }
  .cm-nav-row { padding-top: 5px; }
  .cm-category-nav {
    padding-right: 14px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
  }

  .cm-main { padding-top: 14px; }
  .cm-hero { aspect-ratio: 1.12 / 1; }
  .cm-hero-content { width: 88%; padding: 24px 22px; }
  .cm-hero h1 {
    margin-block: 12px 8px;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    line-height: 1.04;
    -webkit-line-clamp: 4;
  }
  .cm-hero-content p { margin-bottom: 16px; -webkit-line-clamp: 3; }
  .cm-outline-button { min-height: 42px; }

  .cm-story-grid { grid-auto-columns: clamp(146px, 40vw, 190px); }
  .cm-story-card h3 { font-size: .78rem; }
  .cm-story-card .cm-badge { bottom: 57px; }

  .cm-ad-house { min-height: 104px; }
  .cm-list-card { padding-block: 14px; }
  .cm-list-card__media { aspect-ratio: 16 / 10; min-height: 0; }
  .cm-list-card__media img { object-fit: cover; }
  .cm-footer-grid { padding-block: 42px 28px; }
}

@media (max-width: 620px) {
  .cm-container { width: min(calc(100% - 20px), 560px); }
  .cm-header-top { padding-inline: 8px; }
  .cm-nav-row { padding-inline: 10px; }
  .cm-category-nav a { min-height: 38px; padding-inline: 19px; font-size: .76rem; }

  .cm-hero { aspect-ratio: 1.06 / 1; border-radius: 16px; }
  .cm-hero-content { width: 92%; padding: 20px 16px; }
  .cm-hero h1 { font-size: clamp(1.58rem, 7.4vw, 2rem); }
  .cm-hero-content p { font-size: .82rem; line-height: 1.42; }
  .cm-hero-dots { top: 18px; right: 14px; gap: 7px; }
  .cm-hero-dots button { width: 8px; height: 8px; }

  .cm-section { padding-top: 14px; }
  .cm-section-heading { min-height: 42px; }
  .cm-section-heading h2 { font-size: .76rem; }
  .cm-section-heading a { font-size: .56rem; }

  .cm-story-grid { grid-auto-columns: minmax(138px, 42vw); gap: 10px; }
  .cm-story-card__media { border-radius: 14px; }
  .cm-story-card h3 { right: 9px; left: 9px; font-size: .74rem; }

  .cm-ad-house { min-height: 92px; padding: 14px 16px; }
  .cm-ad-house strong { font-size: .86rem; }
  .cm-ad-house span { font-size: .65rem; line-height: 1.3; }

  .cm-list-card { grid-template-columns: 35% 1fr; gap: 11px; }
  .cm-list-card__media { border-radius: 10px; }
  .cm-list-card h3 { margin-top: 4px; font-size: .86rem; line-height: 1.18; }
  .cm-list-card p { font-size: .69rem; }
  .cm-reading-time { font-size: .61rem; }

  .cm-footer-grid { padding-block: 38px 24px; }
  .cm-footer-bottom { padding-block: 16px 22px; }
}

/* Companion plugin v1 compatibility */
.cm-story-card img,
.cm-highlight-card img,
.cm-list-card img,
.cm-hero-media img { object-position: center center; }
.cm-story-card a:focus-visible,
.cm-highlight-card a:focus-visible,
.cm-list-card a:focus-visible { outline: 2px solid var(--cm-orange); outline-offset: 3px; }


/* =========================================================
   Com Marília 0.4.3 — split hero and metadata-free posts
   ========================================================= */
@media (min-width: 901px) {
  .cm-hero {
    min-height: 390px;
    height: 390px;
    max-height: 390px;
  }
  .cm-hero-slide {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(320px,.82fr);
    background: var(--cm-surface);
  }
  .cm-hero-slide.cm-card--image-only {
    grid-template-columns: 1fr;
  }
  .cm-hero-media {
    position: relative;
    min-width: 0;
    height: 390px;
    overflow: hidden;
  }
  .cm-hero-media picture,
  .cm-hero-media img,
  .cm-hero-media .cm-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
  }
  .cm-hero-shade {
    background: linear-gradient(90deg,transparent 62%,rgba(5,12,21,.42));
  }
  .cm-hero-content {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 30px 34px 34px;
    background: linear-gradient(145deg,rgba(14,28,47,.98),rgba(8,18,32,.98));
  }
  .cm-hero-content .cm-badge {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    padding-inline: 12px;
  }
  .cm-hero h1 {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    margin: 12px 0 10px;
    font-size: clamp(1.7rem,2.3vw,2.65rem);
    line-height: 1.05;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .cm-hero-content p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    font-size: .95rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-content {
    display: none;
  }
}
.cm-hero-navigation {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.cm-hero-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--cm-accent);
  border-radius: 50%;
  background: rgba(4,13,24,.82);
  color: var(--cm-accent);
  box-shadow: 0 10px 25px rgba(0,0,0,.28);
  cursor: pointer;
  pointer-events: auto;
  transition: background .2s ease,color .2s ease,transform .2s ease;
}
.cm-hero-arrow:hover,
.cm-hero-arrow:focus-visible {
  background: var(--cm-accent);
  color: #fff;
  transform: scale(1.04);
}
.cm-hero-arrow--prev { left: 16px; }
.cm-hero-arrow--next { right: 16px; }
.cm-icon--reverse { transform: rotate(180deg); }
.cm-card-meta,
.cm-reading-time,
.cm-article-byline,
.cm-related-mini em,
.cm-story-circle em {
  display: none !important;
}

@media (max-width: 900px) {
  .cm-hero {
    min-height: 500px;
    height: 500px;
    max-height: 500px;
    aspect-ratio: auto;
  }
  .cm-hero-slide {
    display: grid;
    grid-template-rows: minmax(230px,55%) 1fr;
    background: var(--cm-surface);
  }
  .cm-hero-media {
    position: relative;
    min-height: 0;
    overflow: hidden;
  }
  .cm-hero-shade {
    background: linear-gradient(0deg,rgba(5,12,21,.28),transparent 55%);
  }
  .cm-hero-content {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    padding: 20px 22px 24px;
    background: linear-gradient(180deg,rgba(14,28,47,.98),rgba(8,18,32,.98));
  }
  .cm-hero h1 {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 8px;
    font-size: clamp(1.45rem,6vw,2rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .cm-hero-content p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .cm-hero-arrow {
    top: 28%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .cm-hero-arrow--prev { left: 10px; }
  .cm-hero-arrow--next { right: 10px; }
  .cm-hero-dots {
    top: 18px;
    right: 16px;
    bottom: auto;
  }
}

@media (max-width: 620px) {
  .cm-hero {
    min-height: 520px;
    height: 520px;
    max-height: 520px;
  }
  .cm-hero-slide {
    grid-template-rows: 270px 1fr;
  }
  .cm-hero-content {
    padding: 18px 16px 22px;
  }
  .cm-hero-content .cm-outline-button {
    min-height: 40px;
    padding: 9px 14px;
  }
}


/* =========================================================
   Com Marília 0.4.4 — mobile hero repair and quieter controls
   ========================================================= */
.cm-hero {
  touch-action: pan-y;
}

@media (min-width: 901px) {
  .cm-hero-arrow {
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border-color: rgba(255,90,42,.48);
    background: rgba(4,13,24,.38);
    color: rgba(255,255,255,.78);
    box-shadow: 0 7px 18px rgba(0,0,0,.2);
    opacity: .66;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .cm-hero-arrow .cm-icon {
    width: 17px;
    height: 17px;
  }
  .cm-hero:hover .cm-hero-arrow,
  .cm-hero:focus-within .cm-hero-arrow {
    opacity: .92;
  }
  .cm-hero-arrow:hover,
  .cm-hero-arrow:focus-visible {
    border-color: var(--cm-accent);
    background: rgba(255,90,42,.9);
    color: #fff;
    opacity: 1;
    transform: scale(1.03);
  }
  .cm-hero-arrow--prev { left: 10px; }
  .cm-hero-arrow--next { right: 10px; }
}

@media (max-width: 900px) {
  .cm-hero-navigation {
    display: none !important;
  }

  /* Artwork-ready covers must fill the card instead of leaving an empty panel. */
  .cm-hero-slide.cm-card--image-only {
    display: block;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-media picture,
  .cm-hero-slide.cm-card--image-only .cm-hero-media img,
  .cm-hero-slide.cm-card--image-only .cm-hero-media .cm-image-placeholder {
    width: 100%;
    height: 100%;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-shade {
    background: linear-gradient(180deg,transparent 52%,rgba(5,12,21,.2) 70%,rgba(5,12,21,.94) 100%);
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-content {
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    background: transparent;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-content p,
  .cm-hero-slide.cm-card--image-only .cm-hero-content h1 {
    display: none;
  }
  .cm-hero-slide.cm-card--image-only .cm-hero-content .cm-badge {
    margin: 0;
  }
  .cm-hero-slide.cm-card--image-only .cm-outline-button {
    min-height: 40px;
    margin: 0;
    padding: 9px 14px;
    background: rgba(4,13,24,.44);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }
  .cm-hero-slide.cm-card--image-only + .cm-hero-dots,
  .cm-hero:has(.cm-hero-slide.is-active.cm-card--image-only) .cm-hero-dots {
    top: 18px;
    right: 16px;
    bottom: auto;
  }
}

@media (max-width: 620px) {
  .cm-hero-slide.cm-card--image-only .cm-hero-content {
    padding-inline: 14px;
  }
}

/* =========================================================
   Com Marília 0.4.5 — more readable split hero
   ========================================================= */
@media (min-width: 901px) {
  .cm-hero-content .cm-badge {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
  }
  .cm-hero h1 {
    font-size: clamp(1.55rem,2vw,2.3rem);
    line-height: 1.07;
    -webkit-line-clamp: 4;
  }
  .cm-hero-content p {
    font-size: .9rem;
    line-height: 1.42;
    -webkit-line-clamp: 5;
  }
}

/* =========================================================
   Com Marília 0.4.6 — category tones and mobile app navigation
   ========================================================= */
.cm-badge,
.cm-tiny-badge,
.cm-list-category {
  --cm-badge-bg: var(--cm-accent);
  --cm-badge-text: #fff;
}

.cm-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding: 4px 9px;
  overflow: hidden;
  color: var(--cm-badge-text);
  background: var(--cm-badge-bg);
  border-radius: 4px;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cm-tiny-badge {
  display: inline-flex;
  width: max-content;
  max-width: 84px;
  align-items: center;
  padding: 3px 7px;
  overflow: hidden;
  color: var(--cm-badge-bg);
  background: color-mix(in srgb, var(--cm-badge-bg) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cm-badge-bg) 38%, transparent);
  border-radius: 4px;
  font-size: .42rem;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cm-list-category {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 21px;
  align-items: center;
  padding: 3px 8px;
  overflow: hidden;
  color: var(--cm-badge-text);
  background: var(--cm-badge-bg);
  border-radius: 4px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cm-badge--solidarity { --cm-badge-bg: #f2b632; --cm-badge-text: #182238; }
.cm-badge--sports { --cm-badge-bg: #3478e5; }
.cm-badge--industry { --cm-badge-bg: #38a852; }
.cm-badge--leisure { --cm-badge-bg: #8b4bd8; }
.cm-badge--education { --cm-badge-bg: #7157d9; }
.cm-badge--health { --cm-badge-bg: #e84f7a; }
.cm-badge--opinion { --cm-badge-bg: #456fe1; }
.cm-badge--history { --cm-badge-bg: #ff5635; }
.cm-badge--city { --cm-badge-bg: #1f83f4; }
.cm-badge--agenda { --cm-badge-bg: #f07825; }
.cm-badge--special { --cm-badge-bg: #ff5a2a; }
.cm-badge--default { --cm-badge-bg: var(--cm-accent); }

.cm-story-card__content {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 28px;
  left: 10px;
  display: grid;
  align-content: end;
  gap: 7px;
  min-width: 0;
}

.cm-story-card__content .cm-badge {
  position: static;
  justify-self: start;
  max-width: calc(100% - 4px);
  font-size: .48rem;
}

.cm-story-card__content h3 {
  position: static;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: clamp(.74rem, 1vw, .9rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0,0,0,.72);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 900px) {
  body:not(.cm-no-mobile-bottom-nav) {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .cm-mobile-bottom-nav {
    min-height: 82px;
    gap: 2px;
    padding: 7px 7px calc(7px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    transition: transform .22s ease, opacity .22s ease;
  }

  .cm-mobile-bottom-nav.is-keyboard-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(115%);
  }

  .cm-mobile-bottom-nav a {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 60px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 2px;
    border-radius: 16px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .cm-mobile-bottom-nav a::before {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 99px;
    background: transparent;
    content: "";
    transform: translateX(-50%);
  }

  .cm-mobile-bottom-nav a.is-active {
    color: var(--cm-accent);
    background: rgba(255,90,42,.08);
  }

  .cm-mobile-bottom-nav a.is-active::before {
    background: var(--cm-accent);
  }

  .cm-mobile-bottom-nav__icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
  }

  .cm-mobile-bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    font-size: .64rem;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cm-mobile-bottom-nav a:nth-child(3) .cm-mobile-bottom-nav__icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(150,172,207,.25);
    border-radius: 14px;
  }

  .cm-mobile-bottom-nav a:nth-child(3).is-active .cm-mobile-bottom-nav__icon {
    color: #fff;
    background: var(--cm-accent);
    border-color: var(--cm-accent);
    box-shadow: 0 7px 18px rgba(255,90,42,.26);
    transform: translateY(-1px);
  }

  .cm-mobile-bottom-nav a:focus-visible {
    outline: 2px solid var(--cm-accent);
    outline-offset: -2px;
  }
}


/* =========================================================
   Com Marília Portal 0.4.9 — mobile reading header
   ========================================================= */
@media (max-width: 820px) {
  .cm-site-header {
    transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
    will-change: transform;
  }
  .cm-site-header.is-scroll-hidden {
    transform: translate3d(0, calc(-100% - env(safe-area-inset-top)), 0);
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cm-site-header { transition: none !important; }
}
