/* ============================================================
   CCM Sermons — Public CSS v1.0.7
   Matches the exact dark/light design from provided HTML
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.ccm-sermons *, .ccm-sermons *::before, .ccm-sermons *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
.ccm-sermons {
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.ccm-sermons a { text-decoration: none; color: inherit; }

/* ── DARK THEME (zinc-950) ────────────────────────────────── */
.ccm-theme-dark {
  --bg:           #09090b;
  --bg2:          #18181b;
  --bg3:          #27272a;
  --bg4:          #3f3f46;
  --text:         #ffffff;
  --text2:        #a1a1aa;
  --text3:        #71717a;
  --border:       #27272a;
  --border2:      #3f3f46;
  --card-bg:      #09090b;
  --card-hover:   #18181b;
  --search-bg:    #18181b;
  --search-border:#27272a;
  --search-focus: #52525b;
  --pill-bg:      #27272a;
  --pill-active:  #ffffff;
  --pill-txt:     #a1a1aa;
  --pill-atxt:    #09090b;
  --btn-primary-bg:  #ffffff;
  --btn-primary-txt: #09090b;
  --btn-secondary-bg:rgba(39,39,42,0.8);
  --btn-secondary-border:#52525b;
  --btn-secondary-txt:#ffffff;
  --link-color:   #a1a1aa;
  --link-hover:   #ffffff;
  --bar-bg:       rgba(9,9,11,0.95);
  --hero-from:    rgba(0,0,0,0.9);
  --hero-to:      rgba(0,0,0,0.1);
  --hero-bottom:  rgba(9,9,11,1);
}

/* ── LIGHT THEME (F8F9FA) ─────────────────────────────────── */
.ccm-theme-light {
  --bg:           #F8F9FA;
  --bg2:          #ffffff;
  --bg3:          #f1f3f5;
  --bg4:          #dee2e6;
  --text:         #212529;
  --text2:        #6c757d;
  --text3:        #adb5bd;
  --border:       #e9ecef;
  --border2:      #dee2e6;
  --card-bg:      #ffffff;
  --card-hover:   #f8f9fa;
  --search-bg:    #ffffff;
  --search-border:#dee2e6;
  --search-focus: #9e001f;
  --pill-bg:      #f1f3f5;
  --pill-active:  #212529;
  --pill-txt:     #6c757d;
  --pill-atxt:    #ffffff;
  --btn-primary-bg:  #9e001f;
  --btn-primary-txt: #ffffff;
  --btn-secondary-bg:#ffffff;
  --btn-secondary-border:#dee2e6;
  --btn-secondary-txt:#212529;
  --link-color:   #9e001f;
  --link-hover:   #212529;
  --bar-bg:       rgba(248,249,250,0.9);
  --hero-from:    rgba(0,0,0,0.9);
  --hero-to:      rgba(0,0,0,0.2);
  --hero-bottom:  rgba(0,0,0,1);
}

.ccm-sermons { background: var(--bg); color: var(--text); }

/* ── HERO 2B — CINEMATIC ─────────────────────────────────── */
.ccm-hero-2b {
  position: relative;
  min-height: 60vh;
  background: #000;
  overflow: hidden;
}
.ccm-hero-2b-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Left→right gradient (matches hero-gradient class) */
.ccm-hero-2b-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--hero-from) 0%,
    rgba(0,0,0,0.4) 50%,
    var(--hero-to) 100%
  );
}
/* Bottom fade */
.ccm-hero-2b-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--hero-bottom) 0%,
    transparent 40%
  );
}
.ccm-hero-2b-bigword {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  text-transform: uppercase;
  color: rgba(255,255,255,.04);
  letter-spacing: -.04em;
}
.ccm-hero-2b-duration {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ccm-hero-2b-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 60vh;
  width: 100%;
}
@media(min-width:768px){
  .ccm-hero-2b-content { padding-left: 48px; padding-right: 48px; }
}
.ccm-hero-2b-super {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.ccm-hero-2b-title {
  font-size: 36px; /* default — overrideable by Elementor typography control */
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.025em;
  max-width: 680px;
  margin-bottom: 12px;
}
.ccm-hero-2b-sub {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.ccm-hero-2b-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ccm-hero-2b-btns { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ── HERO 2A ─────────────────────────────────────────────── */
.ccm-hero-2a { display: grid; grid-template-columns: 1fr 300px; }
.ccm-hero-2a-video { position:relative; min-height:280px; background:#111; overflow:hidden; display:block; }
.ccm-hero-2a-video img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s; }
.ccm-hero-2a-video:hover img { transform:scale(1.02); }
.ccm-hero-2a-overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,rgba(0,0,0,.1) 60%); }
.ccm-hero-2a-play { position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;background:rgba(255,255,255,.9);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .15s; }
.ccm-hero-2a-video:hover .ccm-hero-2a-play { transform:translate(-50%,-50%) scale(1.08); }
.ccm-hero-2a-play svg { width:20px;height:20px;fill:#111;margin-left:3px; }
.ccm-hero-2a-bottom { position:absolute;bottom:14px;left:16px;right:16px;z-index:2; }
.ccm-hero-2a-pl { font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.6);display:block;margin-bottom:4px;font-weight:700; }
.ccm-hero-2a-tover { font-size:17px;font-weight:700;color:#fff;display:block;line-height:1.25; }
.ccm-hero-2a-info { padding:22px 20px;display:flex;flex-direction:column;gap:10px;justify-content:center;background:var(--bg);border-left:1px solid var(--border); }
.ccm-hero-badge { font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;padding:3px 8px;background:var(--bg3);color:var(--text2);width:fit-content; }
.ccm-hero-2a-title { font-size:15px;font-weight:700;line-height:1.4;color:var(--text); }
.ccm-hero-2a-meta { font-size:12px;color:var(--text2);display:flex;flex-direction:column;gap:3px; }
.ccm-hero-2a-desc { font-size:12px;color:var(--text2);line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.ccm-hero-2a-btns { display:flex;gap:8px;flex-wrap:wrap;margin-top:4px; }

/* ── WIDGET 1 ────────────────────────────────────────────── */
.ccm-w1-thumb { position:relative;aspect-ratio:16/9;overflow:hidden;background:#111;cursor:pointer;display:block; }
.ccm-w1-thumb img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s; }
.ccm-w1-thumb:hover img { transform:scale(1.02); }
.ccm-w1-play { position:absolute;inset:0;display:flex;align-items:center;justify-content:center; }
.ccm-w1-circle { width:56px;height:56px;background:rgba(255,255,255,.92);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .15s; }
.ccm-w1-thumb:hover .ccm-w1-circle { transform:scale(1.08); }
.ccm-w1-circle svg { width:22px;height:22px;fill:#111;margin-left:3px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.ccm-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-txt);
  font-family: inherit; font-size: 14px; font-weight: 700;
  border: none; border-radius: 4px; cursor: pointer;
  transition: opacity .15s; white-space: nowrap;
  letter-spacing: .02em;
}
.ccm-btn-primary:hover { opacity: .88; }
.ccm-btn-primary svg { width:20px;height:20px;fill:currentColor;flex-shrink:0; }

.ccm-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-txt);
  font-family: inherit; font-size: 14px; font-weight: 700;
  border: 1px solid var(--btn-secondary-border);
  border-radius: 4px; cursor: pointer;
  transition: background .15s; white-space: nowrap;
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.ccm-btn-secondary:hover { opacity: .88; }

.ccm-btn-ghost {
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 18px;background:transparent;
  color:var(--text);font-family:inherit;font-size:13px;font-weight:600;
  border:1px solid var(--border2);border-radius:4px;cursor:pointer;
  transition:background .15s;white-space:nowrap;text-decoration:none;
}
.ccm-btn-ghost:hover { background:var(--bg3); }

/* ── LIBRARY STICKY BAR ───────────────────────────────────── */
.ccm-library-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.ccm-library-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media(min-width:768px){
  .ccm-library-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.ccm-library-bar-left { display: flex; align-items: center; gap: 8px; }
.ccm-library-heading { font-size: 18px; font-weight: 700; color: var(--text); }
.ccm-library-count { font-size: 14px; color: var(--text3); }

/* Search in bar */
.ccm-library-search {
  position: relative;
  width: 100%;
  max-width: 100%;
}
@media(min-width:768px){ .ccm-library-search { max-width: 420px; } }
.ccm-library-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text3); pointer-events: none;
}
.ccm-library-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--search-border);
  border-radius: 6px;
  background: var(--search-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.ccm-library-search input::placeholder { color: var(--text3); }
.ccm-library-search input:focus { border-color: var(--search-focus); }

/* ── LIBRARY BODY ────────────────────────────────────────── */
.ccm-library-body {
  padding: 48px 24px;
  background: var(--bg);
}
@media(min-width:768px){ .ccm-library-body { padding: 48px 24px; } }

.ccm-library-pills { display:flex;gap:8px;padding:0 0 20px;overflow-x:auto;scrollbar-width:none;flex-wrap:wrap; }
.ccm-library-pills::-webkit-scrollbar { display:none; }
.ccm-pill {
  padding: 6px 14px; font-size: 12px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap; transition: all .12s;
  background: var(--pill-bg); color: var(--pill-txt);
  border: 1px solid var(--border); border-radius: 20px;
}
.ccm-pill.active, .ccm-pill:hover {
  background: var(--pill-active); color: var(--pill-atxt);
  border-color: var(--pill-active);
}

/* ── PLAYLIST GRID (grouped view) ────────────────────────── */
.ccm-playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 24px;
}

/* DARK: no card bg, plain */
.ccm-theme-dark .ccm-pl-card { background: transparent; }

/* LIGHT: white card with shadow */
.ccm-theme-light .ccm-pl-card {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border: 1px solid #f0f0f0;
  transition: box-shadow .15s;
}
.ccm-theme-light .ccm-pl-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.ccm-pl-card { display: flex; flex-direction: column; }

.ccm-pl-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  margin-bottom: 12px;
  display: block;
  cursor: pointer;
}
.ccm-pl-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s;
}
.ccm-pl-card:hover .ccm-pl-card-thumb img { transform: scale(1.05); }

/* Stack layers */
.ccm-pl-stack {
  position: absolute; left: 4%; right: 4%;
  height: 8px; background: var(--bg3); z-index: 0;
  border-radius: 2px 2px 0 0;
}
.ccm-pl-stack-1 { bottom: -5px; left: 2%; right: 2%; opacity: .7; }
.ccm-pl-stack-2 { bottom: -10px; left: 4%; right: 4%; opacity: .4; }
.ccm-pl-card-thumb > img { position: absolute; inset: 0; z-index: 1; }
.ccm-pl-card-play-overlay {
  position:absolute;inset:0;z-index:2;background:rgba(0,0,0,.3);
  display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .15s;border-radius:8px;
}
.ccm-pl-card:hover .ccm-pl-card-play-overlay { opacity:1; }
.ccm-pl-card-play-overlay svg { width:40px;height:40px;fill:#fff; }

.ccm-pl-card-count {
  position: absolute; bottom: 0; right: 0; z-index: 3;
  background: rgba(0,0,0,.8); backdrop-filter: blur(4px);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 0 0 8px 0;
  display: flex; align-items: center; gap: 4px;
}
.ccm-pl-card-count svg { width: 12px; height: 12px; }

.ccm-pl-card-title {
  font-size: 14px; font-weight: 700; line-height: 1.35;
  color: var(--text); margin-bottom: 4px;
  transition: color .12s;
}
.ccm-theme-light .ccm-pl-card:hover .ccm-pl-card-title { color: #9e001f; }

.ccm-pl-card-link {
  font-size: 12px; font-weight: 600;
  color: var(--link-color);
  transition: color .12s;
}
.ccm-pl-card-link:hover { color: var(--link-hover); text-decoration: underline; }
.ccm-theme-dark .ccm-pl-card-link:hover { text-decoration: none; color: #fff; }

/* ── FLAT GRID ───────────────────────────────────────────── */
.ccm-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 24px;
}

/* DARK cards: minimal */
.ccm-theme-dark .ccm-card-item { background: transparent; cursor: pointer; }
.ccm-theme-dark .ccm-card-item:hover .ccm-card-title { color: #ffffff; }

/* LIGHT cards: white with shadow */
.ccm-theme-light .ccm-card-item {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  cursor: pointer;
  transition: box-shadow .15s;
}
.ccm-theme-light .ccm-card-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }

.ccm-card-thumb {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: #111; border-radius: 8px;
}
.ccm-card-thumb img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s; }
.ccm-card-item:hover .ccm-card-thumb img { transform: scale(1.05); }
.ccm-card-play-overlay {
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.3);opacity:0;transition:opacity .15s;
}
.ccm-card-item:hover .ccm-card-play-overlay { opacity:1; }
.ccm-card-play-overlay svg { width:36px;height:36px;fill:#fff; }
.ccm-card-dur {
  position:absolute;bottom:6px;right:6px;
  background:rgba(0,0,0,.8);backdrop-filter:blur(4px);
  color:#fff;font-size:10px;font-weight:700;
  padding:1px 6px;border-radius:3px;
}
.ccm-card-body { padding: 10px 0 4px; }
.ccm-theme-light .ccm-card-body { padding-top: 8px; }
.ccm-card-pl { font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;color:var(--text3);margin-bottom:4px; }
.ccm-card-title {
  font-size: 14px; font-weight: 700; line-height: 1.4;
  color: var(--text); margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.ccm-theme-light .ccm-card-item:hover .ccm-card-title { color: #9e001f; }
.ccm-card-meta { font-size: 12px; color: var(--text3); display: flex; justify-content: space-between; }

/* ── LOAD MORE ───────────────────────────────────────────── */
.ccm-load-more { text-align:center;padding:32px 0 4px; }
.ccm-load-more button {
  padding:12px 40px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;
  background:var(--bg3);color:var(--text);border:1px solid var(--border2);border-radius:6px;
  transition:background .15s;
}
.ccm-load-more button:hover { background:var(--bg4); }

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.ccm-lightbox {
  position:fixed;inset:0;z-index:999999;
  display:flex;align-items:center;justify-content:center;
}
.ccm-lightbox-backdrop {
  position:absolute;inset:0;background:rgba(0,0,0,.9);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;
}
.ccm-lightbox-wrap {
  position:relative;z-index:1;width:90vw;max-width:960px;
  background:#09090b;
  box-shadow:0 24px 80px rgba(0,0,0,.8);
  border-radius:8px;
  overflow:hidden;
  animation:ccm-lb-in .18s ease;
}
@keyframes ccm-lb-in { from{transform:scale(.96);opacity:0} to{transform:scale(1);opacity:1} }
.ccm-lightbox-header {
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 16px;background:#18181b;border-bottom:1px solid #27272a;
}
.ccm-lightbox-title { font-size:13px;font-weight:600;color:#e4e4e7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80%; }
.ccm-lightbox-close { background:none;border:none;cursor:pointer;color:#71717a;padding:4px;display:flex;align-items:center;border-radius:4px;transition:color .12s; }
.ccm-lightbox-close:hover { color:#fff; }
.ccm-lightbox-close svg { width:20px;height:20px; }
.ccm-lightbox-iframe-wrap { position:relative;padding-top:56.25%;background:#000; }
.ccm-lightbox-iframe { position:absolute;inset:0;width:100%;height:100%;border:none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:900px) {
  .ccm-hero-2a { grid-template-columns:1fr; }
  .ccm-hero-2a-video { min-height:220px; }
  .ccm-playlist-grid { grid-template-columns:repeat(2,1fr); }
  .ccm-library-grid  { grid-template-columns:repeat(2,1fr) !important; }
  .ccm-lightbox-wrap { width:96vw; }
}
/* ── HERO 2B MOBILE — image on top, content below ───────── */
@media(max-width:768px) {

  .ccm-hero-2b {
    display: flex;
    flex-direction: column;
    min-height: unset !important;
  }

  /* Image: fixed height block, not absolute */
  .ccm-hero-2b-img {
    position: relative !important;
    width: 100%;
    height: var(--ccm-mobile-img-height, 220px);
    object-fit: cover;
    object-position: center top;
    filter: brightness(.85) !important;
    flex-shrink: 0;
  }

  /* Light overlay on image only */
  .ccm-hero-2b-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--ccm-mobile-img-height, 220px);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.25) 100%) !important;
  }
  .ccm-hero-2b-overlay::after { display: none; }

  .ccm-hero-2b-bigword { display: none; }

  .ccm-hero-2b-duration { top: 10px; right: 10px; }

  /* Content: sits below image in document flow */
  .ccm-hero-2b-content {
    position: relative !important;
    min-height: unset !important;
    justify-content: flex-start !important;
    padding: 18px 18px 22px !important;
    background: var(--ccm-bg, #0f0f0f);
  }

  .ccm-hero-2b-super  { margin-bottom: 8px; }
  .ccm-hero-2b-title  { font-size: 20px; margin-bottom: 6px !important; }
  .ccm-hero-2b-sub    { font-size: 12px !important; margin-bottom: 14px !important; }
  .ccm-hero-2b-desc   { font-size: 13px !important; -webkit-line-clamp: 2; margin-bottom: 18px !important; }

  .ccm-hero-2b-btns              { flex-direction: column; gap: 8px; }
  .ccm-btn-primary, .ccm-btn-secondary { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }

  /* Library */
  .ccm-library-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ccm-library-search    { max-width: 100% !important; width: 100%; }
  .ccm-library-heading   { font-size: 15px; }
  .ccm-library-pills     { gap: 6px; }
  .ccm-playlist-grid     { grid-template-columns: repeat(1, 1fr) !important; }
  .ccm-library-grid      { grid-template-columns: repeat(1, 1fr) !important; }
}

@media(max-width:480px) {
  .ccm-hero-2b-img     { height: var(--ccm-mobile-img-height, 200px); }
  .ccm-hero-2b-overlay { height: var(--ccm-mobile-img-height, 200px); }
  .ccm-hero-2b-title   { font-size: 18px; }
  .ccm-hero-2b-desc    { display: none; }
}

/* ── COUNTDOWN WIDGET ──────────────────────────────────────── */
.ccm-countdown-wrap { width: 100%; }

.ccm-cd-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.ccm-cd-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
}

.ccm-cd-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ccm-cd-unit {
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: rgba(255,255,255,.15);
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 48px;
  justify-content: center;
}

.ccm-cd-unit-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.ccm-cd-unit-lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: lowercase;
  margin-left: 1px;
}

.ccm-cd-sep {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin: 0 1px;
  line-height: 1;
}

/* After countdown */
.ccm-cd-after { width: 100%; }

.ccm-cd-bar-after {
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
}

.ccm-cd-live-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--ccm-bg, #0f0f0f);
  border-bottom: 2px solid var(--cd-accent, #0d9488);
}

.ccm-cd-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: var(--cd-accent, #0d9488);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.ccm-cd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: ccm-live-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ccm-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

.ccm-cd-live-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ccm-text, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccm-cd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.ccm-cd-btn:hover { opacity: .85; }
.ccm-cd-btn svg { width: 14px; height: 14px; fill: #fff; flex-shrink: 0; }

@media (max-width: 540px) {
  .ccm-cd-bar { gap: 10px; padding: 12px 14px; }
  .ccm-cd-unit { min-width: 40px; padding: 3px 7px; }
  .ccm-cd-unit-num { font-size: 16px; }
  .ccm-cd-label { font-size: 12px; }
}
