/*
Theme Name: Cards Mania Violet
Theme URI: https://cardsmania.fun
Author: Cards Mania
Author URI: https://cardsmania.fun
Description: Violet edition — logo-true palette (electric violet, magenta, orange on navy). A fast, SEO-friendly theme for Cards Mania (cardsmania.fun) — a trading card blog covering Pokemon, sports, MTG, One Piece and more. Brand navy + red + gold palette, affiliate-ready post layouts, comparison tables, and CTA blocks. Self-contained classic theme, no parent theme required.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cards-mania
Tags: blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, full-width-template
*/

/* =========================================================
   Cards Mania theme — brand tokens
   Palette sampled directly from the Cards Mania logo:
   ink #0f1830, panel #241a4d, violet #6018f0, magenta #f018a8, orange #ff6a2b
   ========================================================= */
:root {
  --cm-ink: #0f1830;
  --cm-ink-2: #16203c;
  --cm-panel: #241a4d;
  --cm-panel-2: #2e2168;
  --cm-red: #6018f0;
  --cm-red-light: #7c3aff;
  --cm-gold: #f018a8;
  --cm-orange: #ff6a2b;
  --cm-orange-ink: #c2440d;
  --cm-magenta-deep: #d10d8f;
  --cm-text: #1f2733;
  --cm-text-soft: #5b6675;
  --cm-line: #e6e9ef;
  --cm-bg: #ffffff;
  --cm-bg-soft: #f6f8fb;
  --cm-blue-soft: #b3a6e0;
  --cm-radius: 14px;
  --cm-radius-sm: 8px;
  --cm-shadow: 0 6px 24px rgba(15, 24, 48, 0.08);
  --cm-shadow-lg: 0 16px 40px rgba(15, 24, 48, 0.14);
  --cm-max: 1180px;
  --cm-content: 760px;
  --cm-font-head: "Poppins", "Montserrat", "Segoe UI", system-ui, Arial, sans-serif;
  --cm-font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--cm-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--cm-text);
  background: var(--cm-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cm-red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cm-orange);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cm-font-head);
  color: var(--cm-ink);
  line-height: 1.22;
  font-weight: 800;
  margin: 1.6em 0 0.55em;
}
h1 { font-size: 2.35rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1.15em; }

.cm-wrap { max-width: var(--cm-max); margin: 0 auto; padding: 0 22px; }

/* skip link for accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--cm-magenta-deep); color: #ffffff;
  padding: 10px 16px; font-weight: 700; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   Header
   ========================================================= */
.cm-topbar {
  background: var(--cm-red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: 0.3px;
}
.cm-topbar a { color: #fff; text-decoration: underline; }

.cm-header {
  background: #fff;
  color: var(--cm-ink);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--cm-line);
  box-shadow: 0 2px 14px rgba(15,24,48,0.06);
}
.cm-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 84px;
}
.cm-brand { display: flex; align-items: center; gap: 12px; }
.cm-brand a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.cm-logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cm-red);
  display: grid; place-items: center;
  font-family: var(--cm-font-head); font-weight: 800; font-size: 1.5rem; color: #fff;
}
.cm-logo-text {
  font-family: var(--cm-font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--cm-ink); letter-spacing: 0.2px; line-height: 1;
}
.cm-logo-text .dot { color: var(--cm-red); }
/* Your uploaded logo (WP Customizer → Site Identity → Logo) renders here. */
.cm-custom-logo img { max-height: 60px; width: auto; display: block; }
/* Bundled brand logo (shown until a custom logo is uploaded). */
.cm-logo-link { display: inline-flex; align-items: center; }
.cm-logo-img { height: 60px; width: auto; display: block; }
@media (max-width: 620px) { .cm-logo-img, .cm-custom-logo img { max-height: 48px; height: 48px; } }

/* nav */
.cm-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.cm-nav a {
  display: block; color: var(--cm-ink); font-family: var(--cm-font-head);
  font-weight: 600; font-size: 0.98rem; padding: 9px 14px; border-radius: 8px;
  text-decoration: none; transition: background .15s, color .15s;
}
.cm-nav a:hover { background: var(--cm-bg-soft); color: var(--cm-red); }
.cm-nav .current-menu-item > a { color: var(--cm-red); }
.cm-nav .sub-menu {
  position: absolute; background: #fff; min-width: 210px;
  flex-direction: column; gap: 0; padding: 8px; border-radius: 10px;
  border: 1px solid var(--cm-line);
  box-shadow: var(--cm-shadow-lg); display: none; z-index: 120;
}
.cm-nav li { position: relative; }
.cm-nav li:hover > .sub-menu,
.cm-nav li:focus-within > .sub-menu { display: flex; }

.cm-menu-toggle {
  display: none; background: var(--cm-ink); color: #fff; border: 0;
  border-radius: 8px; padding: 10px 12px; font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 860px) {
  .cm-menu-toggle { display: inline-block; }
  .cm-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 10px 16px 18px; display: none; box-shadow: var(--cm-shadow-lg);
    border-bottom: 1px solid var(--cm-line);
  }
  .cm-nav.is-open { display: block; }
  .cm-nav ul { flex-direction: column; gap: 2px; }
  .cm-nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; background: var(--cm-bg-soft); }
}

/* =========================================================
   Layout: content + sidebar
   ========================================================= */
.cm-main { padding: 36px 0 60px; }
.cm-front-page .cm-main { padding-top: 0; }
.cm-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px;
  align-items: start;
}
.cm-layout.cm-full { grid-template-columns: 1fr; }
@media (max-width: 980px) {
  .cm-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   Post cards (archive / blog grid)
   ========================================================= */
.cm-posts-head { margin-bottom: 26px; }
.cm-posts-head h1 { margin: 0 0 6px; font-size: 2rem; }
.cm-posts-head p { color: var(--cm-text-soft); margin: 0; }

.cm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 620px) { .cm-grid { grid-template-columns: 1fr; } }
.cm-blog-index { max-width: var(--cm-max); }
.cm-blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1080px) { .cm-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .cm-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cm-blog-grid { grid-template-columns: 1fr; } }

.cm-card {
  background: var(--cm-bg); border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s;
}
.cm-card:hover { transform: translateY(-4px); box-shadow: var(--cm-shadow-lg); }
.cm-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cm-bg-soft); }
.cm-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cm-card-thumb-natural { aspect-ratio: auto; }
.cm-card-thumb-natural img { width: 100%; height: auto; object-fit: contain; }
.cm-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cm-cat {
  align-self: flex-start; background: var(--cm-magenta-deep); color: #ffffff;
  font-family: var(--cm-font-head); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px;
  border-radius: 999px; margin-bottom: 12px; text-decoration: none;
}
.cm-card h2, .cm-card h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; }
.cm-card h2 a, .cm-card h3 a { color: var(--cm-ink); }
.cm-card h2 a:hover, .cm-card h3 a:hover { color: var(--cm-red); text-decoration: none; }
.cm-card .cm-excerpt { color: var(--cm-text-soft); font-size: 0.96rem; margin: 0 0 16px; }
.cm-meta { color: var(--cm-text-soft); font-size: 0.82rem; display: flex; gap: 10px; flex-wrap: wrap; }
.cm-readmore {
  margin-top: auto; align-self: flex-start; font-family: var(--cm-font-head);
  font-weight: 700; color: var(--cm-red); font-size: 0.95rem;
}
.cm-readmore:hover { text-decoration: underline; }

/* =========================================================
   Single post
   ========================================================= */
.cm-article { background: #fff; }
.cm-article-header { margin-bottom: 26px; }
.cm-breadcrumbs { font-size: 0.85rem; color: var(--cm-text-soft); margin-bottom: 14px; }
.cm-breadcrumbs a { color: var(--cm-text-soft); }
.cm-breadcrumbs a:hover { color: var(--cm-red); }
.cm-article-header h1 { margin: 8px 0 14px; font-size: 2.5rem; }
@media (max-width: 620px){ .cm-article-header h1 { font-size: 1.9rem; } }
.cm-article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--cm-text-soft); font-size: 0.9rem; border-bottom: 1px solid var(--cm-line);
  padding-bottom: 18px;
}
.cm-article-meta .cm-avatar { border-radius: 50%; width: 38px; height: 38px; }
.cm-featured { margin: 0 0 26px; border-radius: var(--cm-radius); overflow: hidden; }

.cm-content { font-size: 1.06rem; }
.cm-content > * { max-width: var(--cm-content); }
.cm-content > figure, .cm-content > .wp-block-image,
.cm-content > .cm-table-wrap, .cm-content > .alignwide { max-width: 100%; }
.cm-content img { border-radius: 10px; }
.cm-content figure { margin: 1.6em 0; }
.cm-content figcaption { color: var(--cm-text-soft); font-size: 0.85rem; text-align: center; margin-top: 8px; }
.cm-content ul, .cm-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.cm-content li { margin-bottom: 0.5em; }
.cm-content blockquote {
  border-left: 4px solid var(--cm-red); background: var(--cm-bg-soft);
  margin: 1.6em 0; padding: 14px 22px; border-radius: 0 10px 10px 0; font-style: italic;
}
.cm-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cm-content h2 { scroll-margin-top: 90px; }
.cm-content h3 { scroll-margin-top: 90px; }

/* tags */
.cm-tags { margin: 30px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cm-tags a {
  background: var(--cm-bg-soft); border: 1px solid var(--cm-line); color: var(--cm-text-soft);
  font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; text-decoration: none;
}
.cm-tags a:hover { background: var(--cm-red); color: #fff; border-color: var(--cm-red); }

/* author box */
.cm-author {
  display: flex; gap: 16px; align-items: flex-start; margin: 34px 0;
  background: var(--cm-bg-soft); border: 1px solid var(--cm-line);
  border-radius: var(--cm-radius); padding: 20px 22px;
}
.cm-author img { border-radius: 50%; width: 60px; height: 60px; }
.cm-author h4 { margin: 0 0 4px; font-size: 1.05rem; }
.cm-author p { margin: 0; color: var(--cm-text-soft); font-size: 0.92rem; }

/* related posts */
.cm-related { margin: 44px 0 10px; }
.cm-related h2 { margin: 0 0 18px; font-size: 1.45rem; }

/* =========================================================
   Brand components (also usable inside post HTML)
   ========================================================= */
.affiliate-disclosure, .cm-disclosure {
  background: var(--cm-bg-soft); border-left: 4px solid var(--cm-red);
  padding: 12px 16px; margin: 18px 0; font-size: 0.9rem; border-radius: 0 8px 8px 0;
}
.affiliate-disclosure strong, .cm-disclosure strong { color: var(--cm-ink); }

.cm-cta {
  background: linear-gradient(135deg, var(--cm-ink), var(--cm-panel));
  color: #fff; border-radius: var(--cm-radius); padding: 30px 28px; margin: 34px 0;
  text-align: center; box-shadow: var(--cm-shadow);
}
.cm-cta h3 { color: #fff; margin: 0 0 8px; }
.cm-cta p { color: #d7deef; margin: 0 0 18px; }
.cm-btn {
  display: inline-block; background: var(--cm-red); color: #fff !important;
  font-family: var(--cm-font-head); font-weight: 700; padding: 13px 26px;
  border-radius: 999px; text-decoration: none !important; transition: background .15s, transform .15s;
  border: 0; cursor: pointer; font-size: 1rem;
}
.cm-btn:hover { background: var(--cm-red-light); transform: translateY(-2px); }
.cm-btn-gold { background: var(--cm-magenta-deep); color: #ffffff !important; }
.cm-btn-gold:hover { background: #f018a8; }
.cm-btn-ghost { background: transparent; border: 2px solid #fff; }

/* comparison tables */
.cm-table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--cm-radius); border: 1px solid var(--cm-line); }
.cm-content table, table.cm-table {
  width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff;
}
.cm-content table th, table.cm-table th {
  background: var(--cm-ink); color: #fff; font-family: var(--cm-font-head);
  font-weight: 700; text-align: left; padding: 12px 16px;
}
.cm-content table td, table.cm-table td { padding: 11px 16px; border-bottom: 1px solid var(--cm-line); }
.cm-content table tr:nth-child(even) td, table.cm-table tr:nth-child(even) td { background: var(--cm-bg-soft); }

/* price badge */
.cm-price { display: inline-block; background: var(--cm-gold); color: var(--cm-ink);
  font-family: var(--cm-font-head); font-weight: 700; padding: 3px 11px; border-radius: 6px; font-size: 0.9rem; }

/* =========================================================
   Homepage (front-page.php)
   ========================================================= */
.cm-hero {
  background: radial-gradient(1200px 500px at 80% -10%, #2e2168, var(--cm-ink) 62%);
  color: #fff; padding: 58px 0 64px; position: relative; overflow: hidden;
}
.cm-hero::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--cm-red);
}
.cm-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 860px){ .cm-hero-grid { grid-template-columns: 1fr; } }
.cm-hero h1 { color: #fff; font-size: 3rem; margin: 0 0 16px; }
.cm-hero h1 .hl { color: var(--cm-gold); }
@media (max-width: 620px){ .cm-hero h1 { font-size: 2.1rem; } }
.cm-hero p { color: #cdd6ec; font-size: 1.15rem; max-width: 540px; margin: 0 0 26px; }
.cm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cm-hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--cm-radius); padding: 6px; box-shadow: var(--cm-shadow-lg);
}
.cm-hero-card img { border-radius: 10px; }

.cm-section { padding: 52px 0; }
.cm-section.alt { background: var(--cm-bg-soft); }
.cm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.cm-section-head h2 { margin: 0; font-size: 1.8rem; }
.cm-section-head .cm-kicker {
  font-family: var(--cm-font-head); font-weight: 700; color: var(--cm-orange-ink);
  text-transform: uppercase; letter-spacing: 1px; font-size: 0.78rem; margin-bottom: 4px; display: block;
}
.cm-section-head a.cm-seeall { font-family: var(--cm-font-head); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }

/* category pills row */
.cm-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cm-cats a {
  background: #fff; border: 1px solid var(--cm-line); color: var(--cm-ink);
  font-family: var(--cm-font-head); font-weight: 600; padding: 9px 18px;
  border-radius: 999px; text-decoration: none; transition: .15s;
}
.cm-cats a:hover { background: var(--cm-ink); color: #fff; border-color: var(--cm-ink); }

/* featured 3-up grid */
.cm-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px){ .cm-feature-grid { grid-template-columns: 1fr; } }

/* email capture */
.cm-email {
  background: linear-gradient(135deg, #6018f0, #a814d8); color: #fff;
  border-radius: 18px; padding: 40px 32px; text-align: center;
}
.cm-email h2 { color: #fff; margin: 0 0 8px; }
.cm-email p { color: #e9ddff; margin: 0 0 22px; }
.cm-email form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.cm-email input[type=email] {
  flex: 1; min-width: 220px; border: 0; border-radius: 999px; padding: 13px 20px; font-size: 1rem;
}
.cm-email .cm-btn-gold { white-space: nowrap; }
.cm-email small { display: block; margin-top: 12px; color: #dcc9ff; font-size: 0.8rem; }

/* =========================================================
   Sidebar widgets
   ========================================================= */
.cm-sidebar .widget {
  background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius);
  padding: 20px 22px; margin-bottom: 24px;
}
.cm-sidebar .widget-title {
  font-family: var(--cm-font-head); font-size: 1.05rem; margin: 0 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--cm-gold);
}
.cm-sidebar ul { list-style: none; margin: 0; padding: 0; }
.cm-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--cm-line); }
.cm-sidebar li:last-child { border-bottom: 0; }
.cm-sidebar a { color: var(--cm-text); text-decoration: none; }
.cm-sidebar a:hover { color: var(--cm-red); }
.cm-sidebar-cta {
  background: linear-gradient(135deg, var(--cm-ink), var(--cm-panel)); color: #fff;
  border-radius: var(--cm-radius); padding: 22px; text-align: center;
}
.cm-sidebar-cta h4 { color: #fff; margin: 0 0 8px; }
.cm-sidebar-cta p { color: #cdd6ec; font-size: 0.9rem; margin: 0 0 14px; }

/* search form */
.cm-searchform { display: flex; gap: 8px; }
.cm-searchform input[type=search] {
  flex: 1; border: 1px solid var(--cm-line); border-radius: 999px; padding: 10px 16px; font-size: 0.95rem;
}
.cm-searchform button {
  background: var(--cm-red); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 18px; font-weight: 700; cursor: pointer;
}

/* =========================================================
   Pagination
   ========================================================= */
.cm-pagination { display: flex; gap: 8px; justify-content: center; margin: 44px 0 10px; flex-wrap: wrap; }
.cm-pagination .page-numbers {
  display: inline-block; padding: 9px 15px; border-radius: 8px; border: 1px solid var(--cm-line);
  color: var(--cm-ink); font-family: var(--cm-font-head); font-weight: 600; text-decoration: none;
}
.cm-pagination .page-numbers.current { background: var(--cm-red); color: #fff; border-color: var(--cm-red); }
.cm-pagination .page-numbers:hover:not(.current) { background: var(--cm-bg-soft); }

/* =========================================================
   404
   ========================================================= */
.cm-404 { text-align: center; padding: 70px 0; }
.cm-404 .code { font-family: var(--cm-font-head); font-weight: 800; font-size: 6rem; color: var(--cm-red); line-height: 1; }

/* =========================================================
   Footer
   ========================================================= */
.cm-footer { background: var(--cm-ink); color: #c7d0e4; padding: 50px 0 0; margin-top: 40px; }
.cm-footer a { color: #c7d0e4; text-decoration: none; }
.cm-footer a:hover { color: var(--cm-gold); }
.cm-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px){ .cm-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .cm-footer-grid { grid-template-columns: 1fr; } }
.cm-footer h5 { font-family: var(--cm-font-head); color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; }
.cm-footer ul { list-style: none; margin: 0; padding: 0; }
.cm-footer li { margin-bottom: 9px; font-size: 0.92rem; }
.cm-footer .cm-foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cm-footer .cm-foot-logo { height: 70px; width: auto; display: block; }
.cm-foot-about { font-size: 0.92rem; max-width: 320px; color: #aab4cc; }
.cm-foot-social { display: flex; gap: 10px; margin-top: 14px; }
.cm-foot-social a {
  width: 36px; height: 36px; border-radius: 8px; background: var(--cm-panel);
  display: grid; place-items: center; font-size: 0.95rem; font-weight: 700; color: #fff;
}
.cm-foot-social a:hover { background: var(--cm-red); color: #fff; }
.cm-foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding: 20px 0;
  font-size: 0.84rem; color: #8b95b0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* utility */
.cm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.alignwide { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--cm-text-soft); font-size: 0.85rem; }

/* "In the works" pill used on the newsletter placeholders. */
.cm-soon {
  display: inline-block; background: rgba(255,255,255,0.18); color: #fff;
  font-family: var(--cm-font-head); font-weight: 700; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
}
.cm-email .cm-soon { background: rgba(255,255,255,0.22); }

/* Affiliate disclosure + footer legal links. */
.cm-disclosure a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cm-foot-legal a { text-decoration: underline; text-underline-offset: 2px; }
