/* Visual Hero Studio Countdown layer — isolated from normal shortcode/Counter section. */
.chs-scene-item.chs-scene-shape[id^="chs-scene-item-c7ecd_"] {
  background: transparent !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}
.chs-scene-item.chs-scene-shape[id^="chs-scene-item-c7ecd_"].c7ecd-hero-bg-enabled {
  background: var(--sc-bg, #2e4337) !important;
}
.chs-scene-item.c7ecd-hero-host::before { display: none !important; }
.c7ecd-hero-host .c7ecd-shortcode {
  --c7ecd-number:var(--sc-color,#e5c58b);
  --c7ecd-accent:var(--sc-color,#e5c58b);
  --c7ecd-label-color:var(--c7ecd-ink,#f1ddb4);
  background: transparent !important;
  padding: 0 !important;
  height: 100%;
  width: 100%;
  max-width: none !important;
  min-width: 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, .6vw, 8px);
  overflow: visible;
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
}
.c7ecd-hero-host .c7ecd-title,
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-title {
  color: var(--c7ecd-number, var(--sc-color, #e5c58b)) !important;
  font-family: Georgia,serif !important;
  font-weight: 500 !important;
  font-size: clamp(12px, 1.5vw, 22px) !important;
  letter-spacing: .055em !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  width: 100% !important;
}
.c7ecd-hero-host .c7ecd-grid {
  box-sizing: border-box;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  gap: clamp(2px, 1vw, 16px) !important;
  align-items: center;
}
.c7ecd-hero-host .c7ecd-grid[data-c7-unit-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.c7ecd-hero-host .c7ecd-grid[data-c7-unit-count="4"] { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
.c7ecd-hero-host .c7ecd-unit {
  min-width: 0;
  padding: clamp(2px, .6vw, 8px) 2px;
  gap: clamp(2px, .5vw, 7px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c7ecd-hero-host .c7ecd-value,
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-value {
  color: var(--c7ecd-number, var(--sc-color, #e5c58b)) !important;
  font-family: Georgia,serif !important;
  font-size: var(--sc-font, 46px) !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
  white-space: nowrap;
}
.c7ecd-hero-host .c7ecd-label,
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-label {
  color: var(--c7ecd-ink, #f1ddb4) !important;
  font-family: system-ui,sans-serif !important;
  font-size: clamp(9px, .95vw, 14px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: .11em !important;
  white-space: nowrap;
}
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-ended,
.c7ecd-hero-host .c7ecd-ended {
  font: 600 clamp(11px,1.2vw,18px)/1.3 system-ui,sans-serif !important;
  color: var(--c7ecd-ink, #f1ddb4) !important;
  margin: 5px 0 0 !important;
  text-align: center !important;
}
.c7ecd-hero-host .c7ecd-ended[hidden] { display:none!important; }
.c7ecd-hero-host .c7ecd-unit + .c7ecd-unit:before { content:none !important; }
.c7ecd-hero-host .c7ecd-grid[data-c7-unit-count="4"] .c7ecd-unit,
.c7ecd-hero-host .c7ecd-grid[data-c7-unit-count="3"] .c7ecd-unit {width:auto;}
/* Tablet uses the native Visual Hero Studio tfont; the theme's own breakpoints
   and X/Y/W/H layer variables are untouched. */
@media (min-width:701px) and (max-width:1100px){
  .c7ecd-hero-host .c7ecd-value,
  .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-value {font-size:var(--sc-tfont,34px)!important;}
  .c7ecd-hero-host .c7ecd-title,
  .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-title {font-size:clamp(12px,1.7vw,18px)!important;}
}
@media (max-width:700px){
  .c7ecd-hero-host .c7ecd-shortcode{gap:2px;}
  .c7ecd-hero-host .c7ecd-value,
  .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-value {font-size:var(--sc-mfont,24px)!important;}
  .c7ecd-hero-host .c7ecd-title,
  .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-title {font-size:clamp(10px,3vw,14px)!important;margin-bottom:2px!important;}
  .c7ecd-hero-host .c7ecd-label,
  .chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-label {font-size:clamp(7px,2vw,10px)!important;letter-spacing:.03em!important;}
  .c7ecd-hero-host .c7ecd-grid{gap:2px!important;}
  .c7ecd-hero-host .c7ecd-unit{gap:2px;padding:2px 0;}
  .c7ecd-hero-host .c7ecd-grid[data-c7-unit-count="4"] {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}

/* v1.3.1 – the theme's saved text alignment now controls the countdown title. */
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-shortcode {text-align:inherit!important;align-items:stretch}
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-title,
.chs-scene-active .chs-scene-item.c7ecd-hero-host .c7ecd-ended {text-align:inherit!important}
