/* CCST Event Calendar – front end. Brand defaults from columbusclubstthomas.com.
   Colour/font defaults sit in :where() (zero specificity) so the widget's Style tab always wins;
   every other rule is scoped to .ccst-cal[data-config] so theme/kit styles can't leak in. */

:where(.ccst-cal) {
	--ccst-primary: #820300;
	--ccst-primary-text: #fff;
	--ccst-accent: #ff9800;
	--ccst-accent-text: #000;
	--ccst-text: #000;
	--ccst-muted: #54595f;
	--ccst-border: #dcdcdc;
	--ccst-bg: #fff;
	--ccst-soft: #f5f5f5;
	--ccst-head-bg: #000;
	--ccst-head-text: #fff;
	--ccst-heading-font: "Oswald", sans-serif;
	--ccst-body-font: "Montserrat", sans-serif;
	--ccst-radius: 6px;
}
.ccst-cal[data-config] {
	font-family: var(--ccst-body-font);
	color: var(--ccst-text);
	font-size: 16px;
	line-height: 1.4;
	position: relative;
}
.ccst-cal[data-config] *, .ccst-cal[data-config] *::before, .ccst-cal[data-config] *::after { box-sizing: border-box; }
.ccst-cal[data-config] button { font-family: inherit; }
.ccst-cal[data-config] [hidden] { display: none !important; }
/* Theme-proofing: site-wide button styles (e.g. the Elementor kit's button, :hover and :focus colours)
   must not leak into the calendar. Every calendar button class below sets its own size, padding and
   colours with higher specificity; this reset only neutralises the extras a theme may add. */
.ccst-cal[data-config][data-mode] button,
.ccst-cal[data-config][data-mode] button:hover,
.ccst-cal[data-config][data-mode] button:focus,
.ccst-cal[data-config][data-mode] button:active { margin: 0; box-shadow: none; text-shadow: none; letter-spacing: inherit; transition: none; background-image: none; }
.ccst-cal[data-config] .ccst-ico { width: 16px; height: 16px; fill: currentColor; stroke: none; flex: none; }
.ccst-cal[data-config] .ccst-cal__loading, .ccst-cal[data-config] .ccst-empty, .ccst-cal[data-config] .ccst-cal__error { color: var(--ccst-muted); margin: 12px 0; }
.ccst-cal[data-config] .ccst-cal__error { color: #b32d2e; }
.ccst-cal[data-config][aria-busy="true"] .ccst-cal__body { opacity: .6; transition: opacity .15s; }

/* Toolbar */
.ccst-cal[data-config] .ccst-cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.ccst-cal[data-config] .ccst-cal__nav, .ccst-cal[data-config] .ccst-cal__tools { display: flex; align-items: center; gap: 10px; }
.ccst-cal[data-config] .ccst-cal__title { display: flex; align-items: center; min-height: 44px; margin: 0 0 0 8px; font-family: var(--ccst-heading-font); font-weight: 500; font-size: 36px; line-height: 1.05; letter-spacing: 1px; text-transform: uppercase; color: var(--ccst-primary); white-space: nowrap; }
.ccst-cal[data-config] .ccst-cal__today { padding: 0 18px; }

/* Category filter (frosted dropdown) */
.ccst-cal[data-config] .ccst-dd { position: relative; width: 230px; }
.ccst-cal[data-config] .ccst-dd__btn { text-transform: none; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; border: 2px solid var(--ccst-text); border-radius: 0; background: var(--ccst-bg); color: var(--ccst-text); font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; outline: none; }
.ccst-cal[data-config] .ccst-dd__btn:focus { outline: none; }
.ccst-cal[data-config] .ccst-dd__btn:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 2px; }
.ccst-cal[data-config] .ccst-dd__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccst-cal[data-config] .ccst-dd__btn .ccst-ico { width: 22px; height: 22px; transition: transform .15s; }
.ccst-cal[data-config] .ccst-dd.is-open .ccst-dd__btn .ccst-ico { transform: rotate(180deg); }
.ccst-cal[data-config] .ccst-dd__sw { width: 12px; height: 12px; flex: none; display: inline-block; }
.ccst-cal[data-config] .ccst-dd__sw[hidden] { display: none !important; }
.ccst-cal[data-config] .ccst-dd__sw--all { background: conic-gradient(var(--ccst-primary) 0 25%, var(--ccst-accent) 0 50%, var(--ccst-secondary, #54595f) 0 75%, var(--ccst-text) 0); }
.ccst-cal[data-config] .ccst-dd__list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 100%; max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 14px 36px rgba(0, 0, 0, .22); outline: none; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.ccst-cal[data-config] .ccst-dd__list { background: rgba(255, 255, 255, .97); }
}
.ccst-cal[data-config] .ccst-dd__list[hidden] { display: none !important; }
.ccst-cal[data-config] .ccst-dd__opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; font-size: 14px; color: var(--ccst-text); cursor: pointer; white-space: nowrap; }
.ccst-cal[data-config] .ccst-dd__opt.is-active { background: rgba(0, 0, 0, .07); }
.ccst-cal[data-config] .ccst-dd__opt[aria-selected="true"] { font-weight: 600; color: var(--ccst-primary); }
.ccst-cal[data-config] .ccst-dd__name { flex: 1; }
.ccst-cal[data-config] .ccst-dd__opt .ccst-ico { width: 18px; height: 18px; visibility: hidden; }
.ccst-cal[data-config] .ccst-dd__opt[aria-selected="true"] .ccst-ico { visibility: visible; }
.ccst-cal[data-config] .ccst-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 2px solid currentColor; background: var(--ccst-bg); color: var(--ccst-text); font-size: 14px; font-weight: 600; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; line-height: 1; }
.ccst-cal[data-config] .ccst-btn:disabled { opacity: .35; cursor: default; }
.ccst-cal[data-config] .ccst-btn--icon { width: 44px; padding: 0; color: var(--ccst-text); }
.ccst-cal[data-config] .ccst-btn--icon .ccst-ico { width: 24px; height: 24px; }
.ccst-cal[data-config] .ccst-btn--primary { background: var(--ccst-primary); border-color: var(--ccst-primary); color: var(--ccst-primary-text); }
.ccst-cal[data-config] .ccst-btn--accent { background: var(--ccst-accent); border-color: var(--ccst-accent); color: var(--ccst-accent-text); padding: 0 34px; }
.ccst-cal[data-config] .ccst-btn:focus-visible, .ccst-cal[data-config] .ccst-seg__btn:focus-visible, .ccst-cal[data-config] .ccst-bar:focus-visible, .ccst-cal[data-config] .ccst-linkbtn:focus-visible, .ccst-cal[data-config] .ccst-more:focus-visible, .ccst-cal[data-config] .ccst-mini__day:focus-visible, .ccst-cal[data-config] .ccst-clist__item:focus-visible, .ccst-cal[data-config] .ccst-wev:focus-visible, .ccst-cal[data-config] .ccst-daylist__item:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 2px; }
.ccst-cal[data-config] .ccst-seg { display: flex; }
.ccst-cal[data-config] .ccst-seg__btn { min-height: 44px; padding: 0 22px; border: 2px solid var(--ccst-primary); background: var(--ccst-bg); color: var(--ccst-primary); font-size: 14px; font-weight: 600; text-transform: uppercase; cursor: pointer; border-radius: 0; }
.ccst-cal[data-config] .ccst-seg__btn + .ccst-seg__btn { border-left: 0; }
.ccst-cal[data-config] .ccst-seg__btn[aria-pressed="true"] { background: var(--ccst-primary); color: var(--ccst-primary-text); }

.ccst-cal[data-config] .ccst-legend { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.ccst-cal[data-config] .ccst-legend li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ccst-cal[data-config] .ccst-legend__sw { width: 14px; height: 14px; display: inline-block; flex: none; }

/* Bars (month + week all-day row) */
.ccst-cal[data-config] .ccst-bar { text-transform: none; display: flex; align-items: center; gap: 4px; min-width: 0; height: 22px; margin: 0 6px; padding: 0 6px; border: 0; border-radius: 0; font-size: 12px; font-weight: 500; text-align: left; cursor: pointer; overflow: hidden; white-space: nowrap; }
.ccst-cal[data-config] .ccst-bar span { overflow: hidden; text-overflow: ellipsis; }
.ccst-cal[data-config] .ccst-bar b { font-weight: 700; flex: none; }
.ccst-cal[data-config] .ccst-bar.is-cont-l { margin-left: 0; }
.ccst-cal[data-config] .ccst-bar.is-cont-r { margin-right: 0; }

/* Month */
.ccst-cal[data-config] .ccst-month { border-left: 1px solid var(--ccst-border); border-top: 1px solid var(--ccst-border); }
.ccst-cal[data-config] .ccst-month__head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--ccst-head-bg); color: var(--ccst-head-text); font-family: var(--ccst-heading-font); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-month__head > div { padding: 11px 10px; }
.ccst-cal[data-config] .ccst-month__week { position: relative; min-height: 148px; }
.ccst-cal[data-config] .ccst-month__days { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ccst-cal[data-config] .ccst-month__day { border-right: 1px solid var(--ccst-border); border-bottom: 1px solid var(--ccst-border); padding: 8px; background: var(--ccst-bg); }
.ccst-cal[data-config] .ccst-month__day.is-muted { background: var(--ccst-soft); }
.ccst-cal[data-config] .ccst-month__day.is-muted .ccst-month__num { color: #767676; }
.ccst-cal[data-config] .ccst-month__num { font-family: var(--ccst-heading-font); font-size: 18px; font-weight: 500; }
.ccst-cal[data-config] .ccst-month__day.is-today .ccst-month__num { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 4px; background: var(--ccst-accent); color: var(--ccst-accent-text); margin: -4px 0 0 -4px; }
.ccst-cal[data-config] .ccst-month__bars { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 22px; row-gap: 4px; padding: 40px 0 12px; }
.ccst-cal[data-config] .ccst-more { text-transform: none; margin: 0 6px; padding: 0; border: 0; background: none; color: var(--ccst-primary); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-cal__title { font-size: 32px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-cal__nav, .ccst-cal[data-config][data-mode="tablet"] .ccst-cal__tools { flex: 1 1 100%; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-dd { flex: 1; width: auto; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-month__week { min-height: 128px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-month__head { font-size: 13px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-bar { font-size: 11px; margin: 0 4px; padding: 0 4px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-bar b { display: none; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-seg__btn { padding: 0 14px; font-size: 13px; }

/* Mini month (phones) */
.ccst-cal[data-config] .ccst-mini__head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--ccst-head-bg); color: var(--ccst-head-text); font-family: var(--ccst-heading-font); font-size: 12px; text-align: center; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-mini__head > div { padding: 7px 0; }
.ccst-cal[data-config] .ccst-mini__grid { border: 1px solid var(--ccst-border); border-top: 0; background: var(--ccst-border); }
.ccst-cal[data-config] .ccst-mini__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin-top: 1px; }
.ccst-cal[data-config] .ccst-mini__day { text-transform: none; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: var(--ccst-bg); color: var(--ccst-text); font-family: var(--ccst-heading-font); font-size: 16px; cursor: pointer; padding: 0; border-radius: 0; }
.ccst-cal[data-config] .ccst-mini__day.is-muted { color: #8a8a8a; }
.ccst-cal[data-config][data-mode] .ccst-mini__day.is-today { box-shadow: inset 0 0 0 2px var(--ccst-accent); }
.ccst-cal[data-config] .ccst-mini__day.is-selected { background: var(--ccst-primary); color: var(--ccst-primary-text); }
.ccst-cal[data-config] .ccst-mini__dots { display: flex; gap: 3px; height: 6px; }
.ccst-cal[data-config] .ccst-mini__dots span { width: 6px; height: 6px; display: block; }
.ccst-cal[data-config] .ccst-mini__day.is-selected .ccst-mini__dots span { outline: 1px solid #fff; }
.ccst-cal[data-config] .ccst-subhead { margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 3px solid var(--ccst-accent); font-family: var(--ccst-heading-font); font-weight: 500; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-subhead.is-today { color: var(--ccst-primary); }

/* Compact lists (phones) */
.ccst-cal[data-config] .ccst-clist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ccst-cal[data-config] .ccst-clist li { margin: 0; }
.ccst-cal[data-config] .ccst-clist__item { text-transform: none; width: 100%; display: flex; gap: 12px; align-items: stretch; padding: 10px; border: 1px solid var(--ccst-border); background: var(--ccst-bg); color: var(--ccst-text); text-align: left; cursor: pointer; border-radius: 0; }
.ccst-cal[data-config] .ccst-clist__stripe { width: 4px; flex: none; }
.ccst-cal[data-config] .ccst-clist__img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.ccst-cal[data-config] .ccst-clist__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccst-cal[data-config] .ccst-clist__title { font-family: var(--ccst-heading-font); font-size: 18px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccst-cal[data-config] .ccst-clist__meta { font-size: 13px; color: var(--ccst-muted); font-weight: 500; }
.ccst-cal[data-config] .ccst-clist .ccst-tag { align-self: flex-start; }

/* Shared date block + tag */
.ccst-cal[data-config] .ccst-date { width: 92px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; background: var(--ccst-primary); color: var(--ccst-primary-text); font-family: var(--ccst-heading-font); text-transform: uppercase; }
.ccst-cal[data-config] .ccst-date__dow, .ccst-cal[data-config] .ccst-date__mon { font-size: 14px; letter-spacing: 2px; }
.ccst-cal[data-config] .ccst-date__mon { color: var(--ccst-accent); }
.ccst-cal[data-config] .ccst-date__num { font-size: 42px; line-height: 46px; font-weight: 500; }
.ccst-cal[data-config] .ccst-date--sm { width: 58px; padding: 6px 0; }
.ccst-cal[data-config] .ccst-date--sm .ccst-date__num { font-size: 26px; line-height: 28px; }
.ccst-cal[data-config] .ccst-date--sm .ccst-date__mon { font-size: 11px; letter-spacing: 1px; }
.ccst-cal[data-config] .ccst-tag { display: inline-block; padding: 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1.2; }

/* Week */
.ccst-cal[data-config] .ccst-week { border: 1px solid var(--ccst-border); }
.ccst-cal[data-config] .ccst-week__head, .ccst-cal[data-config] .ccst-week__allday, .ccst-cal[data-config] .ccst-week__body { display: grid; grid-template-columns: 72px repeat(7, minmax(0, 1fr)); }
.ccst-cal[data-config] .ccst-week__head { background: var(--ccst-head-bg); color: var(--ccst-head-text); }
.ccst-cal[data-config] .ccst-week__head > div { padding: 10px; display: flex; align-items: baseline; gap: 8px; border-left: 1px solid #333; }
.ccst-cal[data-config] .ccst-week__head > div:first-child { border-left: 0; }
.ccst-cal[data-config] .ccst-week__head > .is-today { box-shadow: inset 0 -4px 0 var(--ccst-accent); }
.ccst-cal[data-config] .ccst-week__dow { font-family: var(--ccst-heading-font); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-week__num { font-family: var(--ccst-heading-font); font-size: 22px; color: var(--ccst-accent); }
.ccst-cal[data-config] .ccst-week__allday { border-bottom: 2px solid var(--ccst-text); min-height: 40px; }
.ccst-cal[data-config] .ccst-week__label { font-size: 11px; font-weight: 700; color: var(--ccst-muted); text-transform: uppercase; padding: 12px 8px; }
.ccst-cal[data-config] .ccst-week__adbars { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 26px; row-gap: 4px; padding: 6px 0; background: linear-gradient(90deg, var(--ccst-border) 1px, transparent 1px) 0 0 / calc(100% / 7) 100%; }
.ccst-cal[data-config] .ccst-week__adbars .ccst-bar { height: 26px; margin: 0 4px; }
.ccst-cal[data-config] .ccst-week__hour { height: var(--ccst-hour); padding: 4px 8px; font-size: 11px; color: var(--ccst-muted); text-align: right; border-bottom: 1px solid #e6e6e6; }
.ccst-cal[data-config] .ccst-week__col { position: relative; border-left: 1px solid var(--ccst-border); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--ccst-hour) - 1px), #e6e6e6 calc(var(--ccst-hour) - 1px), #e6e6e6 var(--ccst-hour)); }
.ccst-cal[data-config] .ccst-week__col.is-today { background-color: #fff8ec; }
.ccst-cal[data-config] .ccst-wev { text-transform: none; position: absolute; padding: 5px 7px; border: 0; border-radius: 0; text-align: left; font-size: 12px; line-height: 16px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.ccst-cal[data-config] .ccst-wev strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Schedule */
.ccst-cal[data-config] .ccst-sched { display: flex; flex-direction: column; gap: 18px; }
.ccst-cal[data-config] .ccst-sched__month { margin: 4px 0 0; padding-bottom: 8px; border-bottom: 3px solid var(--ccst-accent); font-family: var(--ccst-heading-font); font-weight: 400; font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-sched__month--featured { color: var(--ccst-primary); }
.ccst-cal[data-config] .ccst-card { display: flex; gap: 24px; align-items: stretch; padding: 16px; border: 1px solid var(--ccst-border); background: var(--ccst-bg); }
.ccst-cal[data-config] .ccst-card__img { width: 220px; height: auto; max-height: 260px; object-fit: contain; align-self: center; flex: none; }
.ccst-cal[data-config] .ccst-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ccst-cal[data-config] .ccst-card__title { margin: 0; font-family: var(--ccst-heading-font); font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: 1px; }
.ccst-cal[data-config] .ccst-linkbtn { text-transform: none; padding: 0; border: 0; background: none; color: var(--ccst-text); font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.ccst-cal[data-config] .ccst-card__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 500; color: var(--ccst-muted); }
.ccst-cal[data-config] .ccst-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ccst-cal[data-config] .ccst-card__meta .ccst-ico { color: var(--ccst-primary); width: 15px; height: 15px; }
.ccst-cal[data-config] .ccst-card__excerpt { margin: 0; font-size: 15px; line-height: 22px; }
.ccst-cal[data-config] .ccst-card__actions { display: flex; flex-direction: column; justify-content: center; gap: 10px; flex: none; }
.ccst-cal[data-config] .ccst-sched__more { display: flex; justify-content: center; padding-top: 6px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__img { width: 160px; max-height: 200px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__actions { display: none; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "prev title title next" "today today cat cat" "seg seg seg seg"; gap: 10px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__nav, .ccst-cal[data-config][data-mode="compact"] .ccst-cal__tools { display: contents; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__nav > :nth-child(2) { grid-area: prev; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__nav > :nth-child(3) { grid-area: next; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__title { grid-area: title; justify-content: center; margin: 0; font-size: 28px; text-align: center; white-space: normal; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__today { grid-area: today; }
.ccst-cal[data-config][data-mode="compact"] .ccst-dd { grid-area: cat; width: auto; }
.ccst-cal[data-config][data-mode="compact"] .ccst-seg { grid-area: seg; }
.ccst-cal[data-config][data-mode="compact"] .ccst-dd__list { left: auto; right: 0; min-width: 220px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-seg__btn { flex: 1; padding: 0 8px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card { flex-wrap: wrap; gap: 12px; padding: 12px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-date { width: 64px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-date__num { font-size: 30px; line-height: 34px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__img { width: calc(100% - 76px); max-height: 240px; align-self: flex-start; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__body { flex-basis: 100%; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card:not(.has-image) .ccst-card__body { flex-basis: calc(100% - 76px); }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__title { font-size: 22px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__actions { display: none; }
.ccst-cal[data-config][data-mode="compact"] .ccst-legend { gap: 6px 14px; font-size: 12px; }

/* Popup */
.ccst-cal[data-config] .ccst-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .72); }
.ccst-cal[data-config] .ccst-modal[hidden] { display: none; }
html.ccst-modal-open { overflow: hidden; }
.ccst-cal[data-config] .ccst-modal__dialog { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 40px); overflow: auto; display: flex; background: var(--ccst-bg); color: var(--ccst-text); border-top: 6px solid var(--ccst-accent); font-family: var(--ccst-body-font); }
.ccst-cal[data-config] .ccst-modal__dialog.has-image { max-width: 1040px; }
.ccst-cal[data-config] .ccst-modal__close { padding: 0; position: absolute; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 0; background: var(--ccst-head-bg); color: var(--ccst-head-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ccst-cal[data-config] .ccst-modal__close .ccst-ico { width: 22px; height: 22px; }
.ccst-cal[data-config] .ccst-modal__close:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 2px; }
.ccst-cal[data-config] .ccst-modal__media { width: 44%; flex: none; padding: 28px; background: var(--ccst-soft); display: flex; align-items: flex-start; justify-content: center; }
.ccst-cal[data-config] .ccst-modal__media img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; display: block; }
.ccst-cal[data-config] .ccst-modal__body { flex: 1; min-width: 0; padding: 36px 40px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ccst-cal[data-config] .ccst-modal__title { margin: 0; padding-right: 48px; font-family: var(--ccst-heading-font); font-weight: 500; font-size: 44px; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase; color: var(--ccst-primary); }
.ccst-cal[data-config] .ccst-modal__info { list-style: none; margin: 0; padding: 18px 0; width: 100%; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ccst-border); border-bottom: 1px solid var(--ccst-border); }
.ccst-cal[data-config] .ccst-modal__info li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.ccst-cal[data-config] .ccst-modal__info .ccst-ico { width: 20px; height: 20px; color: var(--ccst-primary); margin-top: 1px; }
.ccst-cal[data-config] .ccst-modal__info strong { display: block; font-weight: 600; }
.ccst-cal[data-config] .ccst-modal__info span { font-size: 14px; color: var(--ccst-muted); }
.ccst-cal[data-config] .ccst-modal__info a { color: var(--ccst-primary); }
.ccst-cal[data-config] .ccst-modal__info a.ccst-tel { font-weight: 400; }
.ccst-cal[data-config] .ccst-modal__desc { font-size: 15px; line-height: 24px; }
.ccst-cal[data-config] .ccst-modal__desc > :first-child { margin-top: 0; }
.ccst-cal[data-config] .ccst-modal__desc > :last-child { margin-bottom: 0; }
.ccst-cal[data-config] .ccst-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ccst-cal[data-config] .ccst-daylist { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ccst-cal[data-config] .ccst-daylist__item { text-transform: none; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--ccst-border); background: var(--ccst-bg); color: var(--ccst-text); text-align: left; cursor: pointer; font-size: 15px; }
.ccst-cal[data-config] .ccst-daylist__time { font-weight: 600; color: var(--ccst-muted); min-width: 140px; }
@media (max-width: 760px) {
	.ccst-cal[data-config] .ccst-modal { padding: 0; align-items: stretch; }
	.ccst-cal[data-config] .ccst-modal__dialog, .ccst-cal[data-config] .ccst-modal__dialog.has-image { max-height: 100vh; flex-direction: column; }
	.ccst-cal[data-config] .ccst-modal__media { width: 100%; padding: 0; }
	.ccst-cal[data-config] .ccst-modal__media img { max-height: 55vh; }
	.ccst-cal[data-config] .ccst-modal__body { padding: 24px 20px; }
	.ccst-cal[data-config] .ccst-modal__title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .ccst-cal[data-config] * { transition: none !important; } }
.ccst-cal[data-config] .ccst-cal__noscript { margin: 0; padding-left: 20px; }

/* Add to calendar / Share menus, Subscribe (Step 6) */
.ccst-cal[data-config] .ccst-menu { position: relative; display: inline-block; }
.ccst-cal[data-config] .ccst-menu__caret { width: 18px; height: 18px; margin: 0 -4px 0 2px; }
.ccst-cal[data-config] .ccst-menu__list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; min-width: 270px; padding: 6px 0; background: var(--ccst-bg); border: 2px solid var(--ccst-text); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.ccst-cal[data-config] .ccst-menu.is-up .ccst-menu__list { top: auto; bottom: calc(100% + 6px); }
.ccst-cal[data-config] .ccst-card__actions .ccst-menu__list { left: auto; right: 0; }
.ccst-cal[data-config] .ccst-menu__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; border: 0; border-radius: 0; background: var(--ccst-bg); color: var(--ccst-text); font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left; text-decoration: none; text-transform: none; cursor: pointer; }
.ccst-cal[data-config] .ccst-menu__item:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: -3px; }
.ccst-cal[data-config] .ccst-menu__item small { display: block; margin-top: 2px; color: var(--ccst-muted); font-size: 12px; font-weight: 400; }
.ccst-cal[data-config] .ccst-menu__ico { width: 22px; height: 22px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.ccst-cal[data-config] .ccst-cal__foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.ccst-cal[data-config] .ccst-sublink { padding: 0; border: 0; background: none; color: var(--ccst-primary); font-size: 13px; font-weight: 600; text-transform: uppercase; text-decoration: underline; cursor: pointer; }
.ccst-cal[data-config] .ccst-sublink:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 2px; }
.ccst-cal[data-config] .ccst-modal__lead { margin: 0; font-size: 16px; line-height: 1.5; }
.ccst-cal[data-config] .ccst-modal__stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ccst-cal[data-config] .ccst-feed { width: 100%; }
.ccst-cal[data-config] .ccst-feed__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.ccst-cal[data-config] .ccst-feed__row { display: flex; }
.ccst-cal[data-config] .ccst-feed__input { flex: 1; min-width: 0; height: 44px; padding: 0 10px; border: 2px solid var(--ccst-text); border-right: 0; border-radius: 0; font: inherit; font-size: 14px; background: var(--ccst-bg); color: var(--ccst-text); }
.ccst-cal[data-config] .ccst-feed__btn { padding: 0 18px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__actions { display: flex; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__actions .ccst-btn--primary { display: none; }

/* Hover effects only on devices with a real mouse (avoids "sticky" taps on phones). */
@media (hover: hover) {
	.ccst-cal[data-config] .ccst-btn:hover { background: var(--ccst-soft); }
	.ccst-cal[data-config] .ccst-btn--primary:hover { background: var(--ccst-primary); filter: brightness(.9); color: var(--ccst-primary-text); }
	.ccst-cal[data-config] .ccst-btn--accent:hover { background: var(--ccst-accent); filter: brightness(.95); }
	.ccst-cal[data-config] .ccst-bar:hover { filter: brightness(.92); }
	.ccst-cal[data-config] .ccst-more:hover { text-decoration: underline; }
	.ccst-cal[data-config] .ccst-wev:hover { filter: brightness(.92); }
	.ccst-cal[data-config] .ccst-linkbtn:hover { color: var(--ccst-primary); }
	.ccst-cal[data-config] .ccst-menu__item:hover { background: var(--ccst-soft); }
	.ccst-cal[data-config] .ccst-sublink:hover { color: var(--ccst-text); }
	.ccst-cal[data-config] .ccst-dd__btn:hover { background: var(--ccst-soft); }
}

/* Month/year picker (opens from the title) */
.ccst-cal[data-config] .ccst-cal__bar { position: relative; }
.ccst-cal[data-config] .ccst-cal__titlebtn { text-transform: inherit; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 6px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; cursor: pointer; }
.ccst-cal[data-config] .ccst-cal__titlebtn .ccst-ico { width: 26px; height: 26px; margin: 0; transition: transform .15s; }
.ccst-cal[data-config] .ccst-cal__titlebtn[aria-expanded="true"] .ccst-ico { transform: rotate(180deg); }
.ccst-cal[data-config] .ccst-cal__titlebtn:focus { outline: none; }
.ccst-cal[data-config] .ccst-cal__titlebtn:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 2px; }
.ccst-cal[data-config] .ccst-pick { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: 300px; padding: 12px; }
.ccst-cal[data-config] .ccst-pick[hidden] { display: none !important; }
.ccst-cal[data-config] .ccst-pick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ccst-cal[data-config] .ccst-pick__year { font-family: var(--ccst-heading-font); font-size: 24px; font-weight: 500; letter-spacing: 1px; color: var(--ccst-primary); }
.ccst-cal[data-config] .ccst-pick__step { width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ccst-text); background: var(--ccst-bg); color: var(--ccst-text); cursor: pointer; }
.ccst-cal[data-config] .ccst-pick__step .ccst-ico { width: 22px; height: 22px; }
.ccst-cal[data-config] .ccst-pick__step:disabled { opacity: .35; cursor: default; }
.ccst-cal[data-config] .ccst-pick__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ccst-cal[data-config] .ccst-pick__m { min-height: 42px; padding: 0; border: 1px solid rgba(0, 0, 0, .12); background: rgba(255, 255, 255, .6); color: var(--ccst-text); font-size: 14px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.ccst-cal[data-config] .ccst-pick__m.is-today { box-shadow: inset 0 -3px 0 var(--ccst-accent); }
.ccst-cal[data-config] .ccst-pick__m.is-current { background: var(--ccst-primary); border-color: var(--ccst-primary); color: var(--ccst-primary-text); }
.ccst-cal[data-config] .ccst-pick__m:disabled { opacity: .35; cursor: default; }
.ccst-cal[data-config] .ccst-pick__m:focus-visible, .ccst-cal[data-config] .ccst-pick__step:focus-visible { outline: 3px solid var(--ccst-accent); outline-offset: 1px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-pick { left: 0; right: 0; width: auto; top: 54px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__title .ccst-cal__titlebtn { justify-content: center; }
.ccst-cal[data-config][data-mode="compact"] .ccst-cal__titlebtn .ccst-ico { width: 22px; height: 22px; }
@media (hover: hover) {
	.ccst-cal[data-config] .ccst-pick__m:not(:disabled):not(.is-current):hover { background: rgba(255, 255, 255, .95); border-color: var(--ccst-primary); color: var(--ccst-primary); }
	.ccst-cal[data-config] .ccst-cal__titlebtn:hover { background: var(--ccst-soft); }
}

/* Frosted panels: category menu, month picker, add-to-calendar and share menus */
.ccst-cal[data-config] .ccst-dd__list, .ccst-cal[data-config] .ccst-pick, .ccst-cal[data-config] .ccst-menu__list { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 14px 36px rgba(0, 0, 0, .22); }
.ccst-cal[data-config] .ccst-menu__list { padding: 6px; }
.ccst-cal[data-config] .ccst-menu__item { background: transparent; }
.ccst-cal[data-config] .ccst-menu__item:focus { outline: none; }
.ccst-cal[data-config] .ccst-menu__item:focus-visible { outline: none; background: rgba(0, 0, 0, .07); box-shadow: inset 3px 0 0 var(--ccst-accent); }
.ccst-cal[data-config] .ccst-menu__ico .ccst-ico { width: 15px; height: 15px; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.ccst-cal[data-config] .ccst-dd__list, .ccst-cal[data-config] .ccst-pick, .ccst-cal[data-config] .ccst-menu__list { background: rgba(255, 255, 255, .97); }
}
@media (hover: hover) {
	.ccst-cal[data-config] .ccst-menu__item:hover { background: rgba(0, 0, 0, .07); }
}

/* Rounded corners (Elementor: Style > Colours > Corner radius) */
.ccst-cal[data-config] .ccst-btn,
.ccst-cal[data-config] .ccst-dd__btn,
.ccst-cal[data-config] .ccst-dd__list,
.ccst-cal[data-config] .ccst-pick,
.ccst-cal[data-config] .ccst-menu__list,
.ccst-cal[data-config] .ccst-date,
.ccst-cal[data-config] .ccst-card,
.ccst-cal[data-config] .ccst-card__img,
.ccst-cal[data-config] .ccst-clist__item,
.ccst-cal[data-config] .ccst-daylist__item,
.ccst-cal[data-config] .ccst-modal__close,
.ccst-cal[data-config] .ccst-modal__media img,
.ccst-cal[data-config] .ccst-cal__titlebtn,
.ccst-cal[data-config] .ccst-pick__step,
.ccst-cal[data-config] .ccst-wlist,
.ccst-cal[data-config] .ccst-feed__input { border-radius: var(--ccst-radius); }
.ccst-cal[data-config] .ccst-month,
.ccst-cal[data-config] .ccst-week { border-radius: var(--ccst-radius); overflow: hidden; }
.ccst-cal[data-config] .ccst-month { border-right: 0; }
.ccst-cal[data-config] .ccst-mini__head { border-radius: var(--ccst-radius) var(--ccst-radius) 0 0; }
.ccst-cal[data-config] .ccst-mini__grid { border-radius: 0 0 var(--ccst-radius) var(--ccst-radius); overflow: hidden; }
.ccst-cal[data-config] .ccst-modal__dialog { border-radius: calc(var(--ccst-radius) + 2px); }
.ccst-cal[data-config] .ccst-dd__opt, .ccst-cal[data-config] .ccst-menu__item, .ccst-cal[data-config] .ccst-pick__m, .ccst-cal[data-config] .ccst-clist__img { border-radius: calc(var(--ccst-radius) * .67); }
.ccst-cal[data-config] .ccst-mini__day.is-selected { border-radius: calc(var(--ccst-radius) * .67); }
.ccst-cal[data-config] .ccst-tag, .ccst-cal[data-config] .ccst-menu__ico, .ccst-cal[data-config] .ccst-month__day.is-today .ccst-month__num { border-radius: calc(var(--ccst-radius) * .5); }
.ccst-cal[data-config] .ccst-legend__sw, .ccst-cal[data-config] .ccst-dd__sw { border-radius: calc(var(--ccst-radius) * .5); }
.ccst-cal[data-config] .ccst-seg__btn:first-child { border-radius: var(--ccst-radius) 0 0 var(--ccst-radius); }
.ccst-cal[data-config] .ccst-seg__btn:last-child { border-radius: 0 var(--ccst-radius) var(--ccst-radius) 0; }
.ccst-cal[data-config] .ccst-feed__input + * { border-radius: 0 var(--ccst-radius) var(--ccst-radius) 0; }
.ccst-cal[data-config] .ccst-feed__input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 760px) {
	.ccst-cal[data-config] .ccst-modal__dialog { border-radius: 0; }
	.ccst-cal[data-config] .ccst-modal__media img { border-radius: 0; }
}
.ccst-cal[data-config] .ccst-card__lead { display: flex; align-items: stretch; gap: 24px; flex: none; align-self: center; }
.ccst-cal[data-config] .ccst-card__lead .ccst-card__img { align-self: flex-start; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__lead { gap: 16px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__lead { flex: 1 1 100%; width: 100%; min-width: 0; gap: 12px; align-self: flex-start; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__lead .ccst-card__img { flex: 1; min-width: 0; width: auto; }

/* Schedule cards: one consistent height. The image sits whole (never cropped) inside a fixed frame,
   the date block matches the frame, and the excerpt is limited to two lines. */
.ccst-cal[data-config] .ccst-card { --ccst-card-h: 168px; align-items: center; min-height: calc(var(--ccst-card-h) + 34px); }
.ccst-cal[data-config] .ccst-card > .ccst-date, .ccst-cal[data-config] .ccst-card__lead > .ccst-date { height: var(--ccst-card-h); align-self: center; }
.ccst-cal[data-config] .ccst-card__lead { align-self: center; align-items: center; }
.ccst-cal[data-config] .ccst-card__lead .ccst-card__img, .ccst-cal[data-config] .ccst-card__img { width: 230px; height: var(--ccst-card-h); max-height: none; object-fit: contain; align-self: center; }
.ccst-cal[data-config] .ccst-card__body { align-self: center; }
.ccst-cal[data-config] .ccst-card__title { max-width: 100%; }
.ccst-cal[data-config] .ccst-card__title .ccst-linkbtn { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ccst-cal[data-config] .ccst-card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card { --ccst-card-h: 150px; gap: 18px; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__actions { display: none; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__meta { line-height: 20px; max-height: 46px; overflow: hidden; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__excerpt { -webkit-line-clamp: 1; line-clamp: 1; }
.ccst-cal[data-config]:not([data-mode="compact"]) .ccst-card__body { max-height: var(--ccst-card-h); overflow: hidden; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__lead .ccst-card__img, .ccst-cal[data-config][data-mode="tablet"] .ccst-card__img { width: 170px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card { --ccst-card-h: 170px; align-items: flex-start; min-height: 0; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__lead { align-self: stretch; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__lead .ccst-card__img { width: auto; flex: 1; min-width: 0; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card > .ccst-date { height: auto; min-height: 96px; align-self: stretch; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__title .ccst-linkbtn { white-space: normal; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__body { align-self: stretch; }
.ccst-cal[data-config]:not([data-mode="compact"]) .ccst-card__meta { line-height: 20px; max-height: 46px; overflow: hidden; }

/* Date box: square (1:1) at every size */
.ccst-cal[data-config] .ccst-card { --ccst-date-sq: 120px; }
.ccst-cal[data-config] .ccst-card > .ccst-date, .ccst-cal[data-config] .ccst-card__lead > .ccst-date { width: var(--ccst-date-sq); height: var(--ccst-date-sq); min-height: 0; aspect-ratio: 1 / 1; align-self: center; flex: none; padding: 0; }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card { --ccst-date-sq: 110px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card { --ccst-date-sq: 84px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card > .ccst-date, .ccst-cal[data-config][data-mode="compact"] .ccst-card__lead > .ccst-date { align-self: flex-start; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__lead { align-items: flex-start; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card:not(.has-image) .ccst-card__body { flex-basis: calc(100% - var(--ccst-date-sq) - 12px); }
.ccst-cal[data-config][data-mode="compact"] .ccst-card .ccst-date__num { font-size: 30px; line-height: 34px; }

/* Top-align date box, image and text so they share the card's top padding */
.ccst-cal[data-config] .ccst-card { align-items: flex-start; }
.ccst-cal[data-config] .ccst-card > .ccst-date, .ccst-cal[data-config] .ccst-card__lead, .ccst-cal[data-config] .ccst-card__lead > .ccst-date, .ccst-cal[data-config] .ccst-card__body { align-self: flex-start; }
.ccst-cal[data-config] .ccst-card__lead { align-items: flex-start; }
.ccst-cal[data-config] .ccst-card__img { object-position: center top; align-self: flex-start; }
.ccst-cal[data-config] .ccst-card__actions { align-self: center; }

/* Image frame: fixed slot so text lines up; the image inside keeps its own shape, so its rounded corners show */
.ccst-cal[data-config] .ccst-card__frame { width: 230px; height: var(--ccst-card-h); flex: none; display: flex; align-items: flex-start; justify-content: center; }
.ccst-cal[data-config] .ccst-card__frame > .ccst-card__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: fill; align-self: flex-start; border-radius: var(--ccst-radius); }
.ccst-cal[data-config][data-mode="tablet"] .ccst-card__frame { width: 170px; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__frame { flex: 1; min-width: 0; width: auto; height: auto; max-height: 240px; justify-content: flex-start; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__frame > .ccst-card__img { max-height: 240px; flex: none; }
.ccst-cal[data-config] .ccst-card__frame { display: block; }
.ccst-cal[data-config] .ccst-card__frame > .ccst-card__img { margin: 0 auto; object-fit: contain; }
.ccst-cal[data-config][data-mode="compact"] .ccst-card__frame > .ccst-card__img { margin: 0; }

/* "Calendar updated" note after a background refresh */
.ccst-cal[data-config] .ccst-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99990; transform: translateX(-50%); padding: 10px 18px; border-radius: var(--ccst-radius); background: rgba(0, 0, 0, .82); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.ccst-cal[data-config] .ccst-toast[hidden] { display: none !important; }
