/* The theme's paragraph reset overrides font shorthands in the library. Restore display text. */
body .sb-countdowns .k03-d { font-size: var(--st-type-h3) !important; line-height: 1 !important; }
body .sb-countdowns .k07-s { font-size: var(--st-type-label) !important; line-height: 1.2 !important; }
body .sb-countdowns .k07-d { font-size: var(--st-type-h2) !important; line-height: var(--st-lh-head) !important; }
body .sb-countdowns .k07-c[data-state="ended"] .k07-d { font-size: var(--st-type-h3) !important; }
body .sb-countdowns .k13-s { font-size: var(--st-type-h1) !important; line-height: var(--st-lh-head) !important; }
body .sb-countdowns .k14-cd { line-height: var(--st-lh-display) !important; }
body .sb-countdowns .k15-in, body .sb-countdowns .k17-mo { font-size: var(--st-type-h3) !important; line-height: var(--st-lh-h3) !important; }
body .sb-countdowns p.h { font-size: var(--st-type-h2) !important; line-height: var(--st-lh-head) !important; }
/* Keep calendar actions inside the photo band at narrow phone widths. */
@media (max-width: 767px) {
	body .sb-countdowns .k13-s { font-size: var(--st-type-h2) !important; }
	body .sb-countdowns .k02 .acts { gap: 12px 16px; }
}
/* The library scopes body overflow to each block; allow the native calendar popup to extend. */
body .sb-countdowns { overflow: visible; }
@media (min-width: 768px) {
	body .sb-countdowns .cal ul { left: auto; right: 0; }
}
/* The month view's calendar action sits in the left column at tablet widths. */
@media (min-width: 768px) {
	body .sb-countdowns.sb-look-17 .cal ul { left: 0; right: auto; }
}
/* The theme resets link underlines; the design underlines the live/ended text links. */
body .sb-countdowns p.h > a { text-decoration: underline; }
/* sb_a() prints the arrow in its own span; the design has it as part of the link text (one underline, no flex gap). */
body .sb-countdowns a:is(.tlink, .btn) > span[aria-hidden="true"] { display: contents; }


/* Branding Sizes: role overrides kept outside the generated category CSS. */
body .sb-countdowns .d { font-size: clamp(calc(var(--fs-titles) * .65), 4.0625vw, var(--fs-titles)); }
body .sb-countdowns .btn { font-size: var(--fs-buttons); }
body .sb-countdowns .k01-grid .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k02-row .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k04-row .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k04-day { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k05-r .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k06-tile { font-size: clamp(calc(var(--fs-medium) * .75), 2.1875vw, var(--fs-medium)); }
body .sb-countdowns .k08-cd .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k09-n .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k10-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)); }
body .sb-countdowns .k11-cd .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k12-rail .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k14-cd { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k15-dt b { font-size: clamp(calc(var(--fs-medium) * .75), 2.1875vw, var(--fs-medium)); }
body .sb-countdowns .k16-cd .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k18 .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns .k20-cd .cd-n { font-size: clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)) !important; }
body .sb-countdowns h2.h3 { font-size: clamp(calc(var(--fs-titles) * .65), 4.0625vw, var(--fs-titles)) !important; }

/* 3.6.10: the Branding Numbers size is wider than the ticket stub (11) and the event card (20): the minutes ran past the
   card edge (CDN-11/20). Inside those boxes the countdown never grows wider than the box. */
body:not(.cc-look-pre-3-6-10) .sb-countdowns :is(.k11-stub, .k20-b) { container-type: inline-size; }
body:not(.cc-look-pre-3-6-10) .sb-countdowns .k11-cd .cd-n { font-size: min(clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)), 18cqi) !important; }
body:not(.cc-look-pre-3-6-10) .sb-countdowns .k20-cd .cd-n { font-size: min(clamp(calc(var(--fs-huge) * .55), 9.375vw, var(--fs-huge)), 20cqi) !important; }

/* 3.6.10: brand-band countdowns (03, 13, 18) are designed for Background = Main Color; the row paints that color, so on a
   light row their white numbers vanished (CDN-03/13/18). On a light row the look paints its own brand panel. */
body:not(.cc-look-pre-3-6-10) .sb-countdowns:not(.sb-dark):not(.sb-edge) > .sec.on-primary { background: var(--pb-primary) !important; color: var(--color-on-main); border-radius: var(--st-photo-r); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px) !important; }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-countdowns .on-primary .btn:not(.ghost) { background: var(--color-on-main); color: var(--color-main); border-color: var(--color-on-main); }
/* 3.6.10: the inline strip (03) gets a little more air so it reads as a band, not a hairline bar (CDN-03). */
body:not(.cc-look-pre-3-6-10) .sb-countdowns .k03 { padding-block: 24px; }
