/* ==========================================================================
   Ceylon Live - main stylesheet
   Palette inspired by the Sri Lankan flag: maroon, green, gold, orange.
   ========================================================================== */

:root {
	--cl-maroon: #7A1230;
	--cl-maroon-dark: #4E0B1F;
	--cl-green: #0B4A3A;
	--cl-gold: #FFBE29;
	--cl-gold-dark: #B07A00;
	--cl-orange: #EB7400;
	--cl-charcoal: #1F2328;
	--cl-muted: #5B6168;
	--cl-border: #E6E1D8;
	--cl-bg: #FAF8F4;
	--cl-font-body: 'Inter', 'Noto Sans Tamil', 'Nirmala UI', 'Latha', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
	--cl-font-head: 'Playfair Display', 'Noto Sans Tamil', 'Nirmala UI', 'Latha', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--cl-bg);
	color: var(--cl-charcoal);
	font-family: var(--cl-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cl-maroon); text-underline-offset: 3px; }
a:hover { color: var(--cl-maroon-dark); }
h1, h2, h3, h4 { font-family: var(--cl-font-head); line-height: 1.25; margin: 0 0 .5em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	background: #fff; clip: auto !important; clip-path: none; color: var(--cl-maroon);
	display: block; font-weight: 700; height: auto; left: 8px; padding: 12px 18px;
	top: 8px; width: auto; z-index: 100000; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

:focus-visible { outline: 3px solid var(--cl-orange); outline-offset: 2px; }

.cl-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.cl-main:focus { outline: none; }
.cl-hint { font-size: .85rem; font-style: italic; opacity: .8; margin: 4px 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.cl-site-header { position: relative; }
.cl-site-header::before {
	content: ""; display: block; height: 5px;
	background: linear-gradient(90deg, #7A1230 0 25%, #00534E 25% 50%, #FFBE29 50% 75%, #EB7400 75% 100%);
}
/* Defaults for the built-in header/footer; the Customizer overrides these with inline CSS. */
.cl-default-header { --cl-nav-bg: #7A1230; --cl-nav-text: #FFFFFF; --cl-nav-hover: #FFBE29; --cl-header-bg: #FFFFFF; --cl-header-text: #1F2328; --cl-brand-color: #7A1230; }
.cl-default-footer { --cl-footer-bg: #3D0A19; --cl-footer-text: #F3E9D2; --cl-footer-link: #FFBE29; }
.cl-header__top { background: var(--cl-header-bg, #fff); color: var(--cl-header-text, var(--cl-charcoal)); }
.cl-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.cl-header__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cl-header__nav { background: var(--cl-nav-bg, var(--cl-maroon)); }

/* --------------------------------------------------------------------------
   Animated branding
   -------------------------------------------------------------------------- */
.cl-brand {
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	text-decoration: none; color: inherit; overflow: hidden; padding: 6px 12px 6px 0;
	border-radius: 6px; animation: cl-brand-in .8s cubic-bezier(.2,.7,.2,1) both;
}
.cl-brand::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(100deg, transparent 35%, rgba(255,190,41,.38) 50%, transparent 65%);
	transform: translateX(-130%); animation: cl-sweep 1.8s ease-out .9s 1 forwards;
}
.cl-brand:hover::after, .cl-brand:focus-visible::after { animation: cl-sweep-hover 1.2s ease-out 1 forwards; }

.cl-flag {
	position: relative; display: inline-block; flex: none; width: 64px; aspect-ratio: 2 / 1;
	overflow: hidden; border-radius: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.25);
	transform-origin: left center; transition: transform .3s ease;
	animation: cl-flag-in .9s ease-out .1s both, cl-wave 7s ease-in-out 1.2s infinite alternate;
}
.cl-flag svg, .cl-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-flag::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
	transform: translateX(-120%); animation: cl-flag-shine 6s ease-in-out 2.5s infinite;
}
.cl-brand:hover .cl-flag { transform: scale(1.06) rotate(-1.5deg); }

.cl-brand__logo { display: block; max-height: 64px; width: auto; }
.cl-brand__placeholder {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px;
	border: 2px dashed var(--cl-gold); color: var(--cl-maroon); font: 800 1.1rem var(--cl-font-head);
}
.cl-brand__text { display: block; }
.cl-brand__title {
	display: block; font-family: var(--cl-font-head); font-weight: 800; letter-spacing: .12em;
	font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.05; color: var(--cl-brand-color, var(--cl-maroon));
}
.cl-ch { display: inline-block; animation: cl-ch-in .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.35s + var(--i, 0) * 55ms); }
.cl-ch--space { width: .35em; }
.cl-brand__subtitle {
	display: block; margin-top: 5px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
	color: var(--cl-muted); transition: letter-spacing .35s ease, color .35s ease;
	animation: cl-fade-up .7s ease-out 1.1s both;
}
.cl-brand:hover .cl-brand__subtitle { letter-spacing: .3em; color: var(--cl-gold-dark); }
.cl-brand__text::after {
	content: ""; display: block; height: 2px; width: 0; margin-top: 6px;
	background: linear-gradient(90deg, var(--cl-gold), var(--cl-orange));
	animation: cl-line 1s ease-out 1.2s forwards;
}

@keyframes cl-brand-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cl-sweep { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes cl-sweep-hover { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes cl-flag-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes cl-wave {
	0% { transform: perspective(300px) rotateY(0) skewY(0); }
	50% { transform: perspective(300px) rotateY(-5deg) skewY(-.8deg); }
	100% { transform: perspective(300px) rotateY(3deg) skewY(.6deg); }
}
@keyframes cl-flag-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes cl-ch-in { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }
@keyframes cl-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cl-line { from { width: 0; } to { width: 100%; } }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.cl-nav { position: relative; }
.cl-menu, .cl-menu ul { list-style: none; margin: 0; padding: 0; }
.cl-menu { display: flex; flex-wrap: wrap; }
.cl-menu li { position: relative; }
.cl-menu a {
	position: relative; display: block; padding: 14px 16px; font-weight: 600; font-size: .95rem;
	color: var(--cl-nav-text, currentColor); text-decoration: none;
}
.cl-menu > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px;
	background: var(--cl-nav-hover, var(--cl-gold)); transform: scaleX(0); transform-origin: left;
	transition: transform .3s ease;
}
.cl-menu > li > a:hover::after, .cl-menu > li > a:focus-visible::after,
.cl-menu > li.current-menu-item > a::after, .cl-menu > li.current-menu-ancestor > a::after,
.cl-menu > li.current-cat > a::after { transform: scaleX(1); }
.cl-menu a:hover { color: var(--cl-nav-text, currentColor); }
.cl-menu .menu-item-has-children > a { padding-right: 28px; }
.cl-menu .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.cl-menu .sub-menu {
	position: absolute; left: 0; top: 100%; z-index: 50; min-width: 230px; background: var(--cl-maroon-dark);
	box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.cl-menu .sub-menu a { color: #fff; font-weight: 500; }
.cl-menu .sub-menu a:hover { background: rgba(255,255,255,.1); }
.cl-menu li:hover > .sub-menu, .cl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.cl-nav__toggle {
	display: none; align-items: center; gap: 10px; margin: 8px 0; padding: 8px 14px; cursor: pointer;
	background: transparent; color: var(--cl-nav-text, currentColor); border: 1px solid currentColor;
	border-radius: 4px; font: 600 .95rem var(--cl-font-body);
}
.cl-nav__bars, .cl-nav__bars::before, .cl-nav__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s ease;
}
.cl-nav__bars::before, .cl-nav__bars::after { content: ""; position: absolute; left: 0; }
.cl-nav__bars::before { top: -6px; } .cl-nav__bars::after { top: 6px; }
.cl-nav.is-open .cl-nav__bars { background: transparent; }
.cl-nav.is-open .cl-nav__bars::before { top: 0; transform: rotate(45deg); }
.cl-nav.is-open .cl-nav__bars::after { top: 0; transform: rotate(-45deg); }

.cl-nav--stacked .cl-menu { flex-direction: column; }
.cl-nav--stacked .cl-menu a { padding: 6px 0; }
.cl-nav--stacked .cl-menu > li > a::after { left: 0; right: 0; bottom: 2px; }
.cl-nav--stacked .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding-left: 14px; }
.cl-nav--stacked .menu-item-has-children > a::before { display: none; }

@media (max-width: 900px) {
	.cl-nav:not(.cl-nav--stacked) .cl-nav__toggle { display: inline-flex; }
	.cl-nav:not(.cl-nav--stacked) .cl-menu { display: none; flex-direction: column; width: 100%; padding-bottom: 10px; }
	.cl-nav:not(.cl-nav--stacked).is-open .cl-menu { display: flex; }
	.cl-nav:not(.cl-nav--stacked) .cl-menu > li > a::after { left: 16px; right: auto; width: 40px; right: auto; }
	.cl-nav:not(.cl-nav--stacked) .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,.18); box-shadow: none; padding-left: 14px; }
	.cl-nav:not(.cl-nav--stacked) .menu-item-has-children > a::before { display: none; }
}

/* --------------------------------------------------------------------------
   Search + language
   -------------------------------------------------------------------------- */
.cl-search { display: flex; width: 300px; max-width: 100%; }
.cl-search__field {
	flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--cl-border); border-right: 0;
	border-radius: 4px 0 0 4px; font: inherit; background: #fff; color: var(--cl-charcoal);
}
.cl-search__submit {
	padding: 9px 16px; border: 0; border-radius: 0 4px 4px 0; cursor: pointer;
	background: var(--cl-maroon); color: #fff; font: 600 .9rem var(--cl-font-body); transition: background .25s ease;
}
.cl-search__submit:hover { background: var(--cl-maroon-dark); }

.cl-lang ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.cl-lang a {
	display: inline-block; padding: 5px 12px; border: 1px solid var(--cl-maroon); border-radius: 999px;
	font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--cl-maroon); transition: background .25s ease, color .25s ease;
}
.cl-lang a:hover, .cl-lang a.is-current { background: var(--cl-maroon); color: #fff; }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.cl-ticker {
	display: flex; align-items: stretch; background: var(--cl-ticker-bg, var(--cl-green)); color: var(--cl-ticker-text, #fff);
	overflow: hidden; font-size: .92rem;
}
.cl-ticker__label {
	flex: none; display: flex; align-items: center; padding: 10px 18px; font-weight: 800; letter-spacing: .08em;
	background: var(--cl-ticker-label-bg, var(--cl-gold)); color: var(--cl-ticker-label-text, var(--cl-charcoal));
}
.cl-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.cl-ticker__move { display: flex; width: max-content; animation: cl-ticker var(--cl-ticker-speed, 45s) linear infinite; }
.cl-ticker__list { display: flex; flex: 0 0 auto; min-width: 100vw; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.cl-ticker__list li { display: flex; align-items: center; padding: 10px 0; }
.cl-ticker__list li::before {
	content: ""; width: 7px; height: 7px; margin: 0 18px; background: var(--cl-ticker-label-bg, var(--cl-gold)); transform: rotate(45deg);
}
.cl-ticker__list a { color: inherit; text-decoration: none; }
.cl-ticker__list a:hover, .cl-ticker__list a:focus-visible { text-decoration: underline; }
.cl-ticker__empty { margin: 0; padding: 10px 16px; opacity: .85; }
.cl-ticker:hover .cl-ticker__move, .cl-ticker:focus-within .cl-ticker__move, .cl-ticker.is-paused .cl-ticker__move { animation-play-state: paused; }
.cl-ticker__toggle {
	flex: none; padding: 0 14px; border: 0; cursor: pointer; background: rgba(0,0,0,.25); color: inherit; font: 600 .8rem var(--cl-font-body);
}
.cl-ticker__toggle:hover { background: rgba(0,0,0,.4); }
@keyframes cl-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.cl-home, .cl-archive { padding-top: 24px; padding-bottom: 40px; }
.cl-section { padding: 22px 0; }
.cl-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--cl-border); }
.cl-section__title {
	position: relative; margin: 0 0 -1px; padding: 0 0 8px; font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	color: var(--cl-charcoal); border-bottom: 3px solid var(--cl-maroon);
}
.cl-section__title a { color: inherit; text-decoration: none; transition: color .25s ease; }
.cl-section__title a:hover { color: var(--cl-maroon); }
.cl-section__more {
	margin-bottom: 8px; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s ease;
}
.cl-section__more:hover, .cl-section__more:focus-visible { background-size: 100% 2px; }

.cl-grid { --cl-c: var(--cl-cols, 3); display: grid; grid-template-columns: repeat(var(--cl-c), minmax(0, 1fr)); gap: 24px; }
.cl-grid--lead { --cl-c: 4; }
.cl-grid--lead .cl-card:first-child { grid-column: span 2; grid-row: span 2; }
.cl-grid--lead .cl-card:first-child .cl-card__title { font-size: 1.6rem; }

.cl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cl-border); border-radius: 8px; overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease; }
.cl-card:hover, .cl-card:focus-within { box-shadow: 0 10px 24px rgba(31,35,40,.12); border-color: #d6cfc2; }
.cl-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #EFE9DD; }
.cl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cl-card:hover .cl-card__media img { transform: scale(1.05); }
.cl-card__ph {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(90deg, rgba(122,18,48,.18) 0 25%, rgba(0,83,78,.18) 25% 50%, rgba(255,190,41,.28) 50% 75%, rgba(235,116,0,.2) 75% 100%);
}
.cl-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.cl-card__cat {
	align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--cl-maroon);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s ease, color .25s ease;
}
.cl-card__cat:hover, .cl-card__cat:focus-visible { background-size: 100% 2px; color: var(--cl-orange); }
.cl-card__title { margin: 0; font-size: 1.12rem; }
.cl-card__title a {
	color: var(--cl-charcoal); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size .35s ease, color .25s ease; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.cl-card__title a:hover, .cl-card__title a:focus-visible { color: var(--cl-maroon); background-size: 100% 2px; }
.cl-card__date { font-size: .8rem; color: var(--cl-muted); }
.cl-card__excerpt { margin: 4px 0 0; font-size: .92rem; color: var(--cl-muted); }
.cl-grid--lead .cl-card:not(:first-child) .cl-card__excerpt { display: none; }

.cl-empty { padding: 22px; background: #fff; border: 1px dashed var(--cl-border); border-radius: 8px; color: var(--cl-muted); text-align: center; }
.cl-empty p { margin: 0 0 6px; }
.cl-empty__hint { font-size: .82rem; font-style: italic; }
.cl-empty--page { padding: 40px 22px; }

.cl-home-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px; align-items: start; }

@media (max-width: 1000px) {
	.cl-grid { --cl-c: 2; }
	.cl-grid--lead { --cl-c: 2; }
	.cl-grid--lead .cl-card:first-child { grid-row: auto; }
	.cl-home-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.cl-grid, .cl-grid--lead { --cl-c: 1; }
	.cl-grid--lead .cl-card:first-child { grid-column: auto; }
	.cl-header__row { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.cl-js .cl-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--cl-i, 0) * 70ms); }
.cl-js .cl-reveal.is-visible { opacity: 1; transform: none; }
.elementor-editor-active .cl-reveal, .elementor-editor-active .cl-reveal.is-visible { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   Calendar
   -------------------------------------------------------------------------- */
.cl-calendar-wrap { background: #fff; border: 1px solid var(--cl-border); border-radius: 8px; padding: 18px; }
.cl-calendar__heading { margin: 0 0 12px; font-size: 1.2rem; }
.cl-calendar { --cl-cal-accent: var(--cl-maroon); }
.cl-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cl-cal__title { font-weight: 700; }
.cl-cal__nav { width: 34px; height: 34px; border: 1px solid var(--cl-border); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--cl-charcoal); transition: background .2s ease, color .2s ease; }
.cl-cal__nav:hover { background: var(--cl-cal-accent); color: #fff; border-color: var(--cl-cal-accent); }
.cl-cal__table { width: 100%; border-collapse: collapse; text-align: center; table-layout: fixed; }
.cl-cal__table th { padding: 6px 0; font-size: .75rem; color: var(--cl-muted); font-weight: 700; }
.cl-cal__table th abbr { text-decoration: none; }
.cl-cal__table td { padding: 2px; font-size: .88rem; }
.cl-cal__day > span, .cl-cal__day > a { display: block; padding: 7px 0; border-radius: 50%; }
.cl-cal__day > span { color: var(--cl-muted); }
.cl-cal__day > a { background: var(--cl-cal-accent); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.cl-cal__day > a:hover, .cl-cal__day > a[aria-current="date"] { transform: scale(1.1); background: var(--cl-orange); }
.cl-cal__day.is-today > span, .cl-cal__day.is-today > a { box-shadow: 0 0 0 2px var(--cl-gold); }
.cl-cal__results:empty { display: none; }
.cl-cal__results { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--cl-border); font-size: .9rem; }
.cl-cal__list { margin: 0 0 8px; padding-left: 18px; }
.cl-cal__archive { font-weight: 700; font-size: .85rem; }
.cl-cal__none { margin: 0; color: var(--cl-muted); }

/* --------------------------------------------------------------------------
   Social, breadcrumbs, share
   -------------------------------------------------------------------------- */
.cl-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl-social a {
	display: inline-block; padding: 6px 14px; border: 1px solid var(--cl-footer-link, var(--cl-gold)); border-radius: 999px;
	color: var(--cl-footer-link, var(--cl-gold)); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .25s ease, color .25s ease;
}
.cl-social a:hover, .cl-social a:focus-visible { background: var(--cl-footer-link, var(--cl-gold)); color: var(--cl-maroon-dark); }

.cl-breadcrumbs { margin: 0 0 14px; font-size: .85rem; }
.cl-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cl-breadcrumbs li + li::before { content: "\203A"; margin-right: 4px; color: var(--cl-muted); }
.cl-breadcrumbs a { text-decoration: none; }
.cl-breadcrumbs a:hover { text-decoration: underline; }
.cl-breadcrumbs [aria-current] { color: var(--cl-muted); }

.cl-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.cl-share__label { font-weight: 700; }
.cl-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl-share a { display: inline-block; padding: 6px 14px; border: 1px solid var(--cl-maroon); border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .25s ease, color .25s ease; }
.cl-share a:hover, .cl-share a:focus-visible { background: var(--cl-maroon); color: #fff; }

/* --------------------------------------------------------------------------
   Archive + article
   -------------------------------------------------------------------------- */
.cl-archive__header { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 3px solid var(--cl-maroon); }
.cl-archive__title { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cl-archive__desc { margin-top: 8px; color: var(--cl-muted); max-width: 70ch; }

.cl-single { max-width: 900px; padding-top: 24px; padding-bottom: 40px; }
.cl-article__header { margin-bottom: 18px; }
.cl-article__title { margin: 6px 0 10px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.2; }
.cl-article__meta { margin: 0; color: var(--cl-muted); font-size: .9rem; }
.cl-article__figure { margin: 0 0 22px; }
.cl-article__figure img { width: 100%; border-radius: 8px; display: block; }
.cl-article__figure figcaption { margin-top: 6px; font-size: .85rem; color: var(--cl-muted); }
.cl-article__content { font-size: 1.08rem; line-height: 1.85; overflow-wrap: anywhere; word-break: normal; }
.cl-article__content img, .cl-article__content video, .cl-article__content iframe { max-width: 100%; }
.cl-article__content img { height: auto; }
.cl-article__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.cl-article__content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.cl-article__content blockquote { margin: 1.4em 0; padding: .4em 1.2em; border-left: 4px solid var(--cl-gold); color: var(--cl-muted); }
.cl-article__tags { font-size: .9rem; color: var(--cl-muted); }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination { margin-top: 30px; }
.page-numbers {
	display: inline-block; min-width: 40px; padding: 8px 14px; text-align: center; text-decoration: none;
	border: 1px solid var(--cl-border); border-radius: 6px; background: #fff; color: var(--cl-charcoal); font-weight: 600; transition: background .2s ease, color .2s ease;
}
a.page-numbers:hover { background: var(--cl-maroon); color: #fff; border-color: var(--cl-maroon); }
.page-numbers.current { background: var(--cl-maroon); color: #fff; border-color: var(--cl-maroon); }
.post-navigation { margin: 26px 0; border-top: 1px solid var(--cl-border); border-bottom: 1px solid var(--cl-border); padding: 14px 0; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { font-weight: 600; text-decoration: none; }
.post-navigation a:hover { text-decoration: underline; }
.cl-comments { margin-top: 30px; }
.cl-comments__list { padding-left: 20px; }

.wp-caption, .alignnone, .aligncenter { max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.cl-site-footer { margin-top: 20px; }
.cl-default-footer { background: var(--cl-footer-bg, #3D0A19); color: var(--cl-footer-text, #F3E9D2); border-top: 5px solid var(--cl-gold); }
.cl-default-footer a { color: var(--cl-footer-link, var(--cl-gold)); }
.cl-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.cl-footer__title { margin: 0 0 12px; font-size: 1.05rem; color: var(--cl-footer-link, var(--cl-gold)); }
.cl-footer__links, .cl-footer__links ul { list-style: none; margin: 0; padding: 0; }
.cl-footer__links li { padding: 3px 0; }
.cl-footer__links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; }
.cl-footer__links a:hover, .cl-footer__links a:focus-visible { background-size: 100% 1px; }
.cl-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 14px 0; font-size: .85rem; }
.cl-footer__bottom p { margin: 0; }

.cl-footer-brand { color: #F3E9D2; }
.cl-footer-brand .cl-brand__title { color: #fff; }
.cl-footer-brand .cl-brand__subtitle { color: var(--cl-gold); }
.cl-footer-brand__about { margin: 12px 0 0; max-width: 46ch; font-size: .92rem; color: var(--cl-footer-text, #F3E9D2); }
.cl-footer-brand__copy { margin: 10px 0 0; font-size: .82rem; opacity: .85; color: var(--cl-footer-text, #F3E9D2); }

@media (max-width: 900px) { .cl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cl-footer__grid { grid-template-columns: 1fr; } }

.cl-canvas { background: transparent; }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
.cl-anim-off *, .cl-anim-off *::before, .cl-anim-off *::after { animation: none !important; transition: none !important; }
.cl-anim-off .cl-reveal { opacity: 1 !important; transform: none !important; }
.cl-anim-off .cl-ticker__viewport, .cl-anim-off .cl-ticker__viewport { overflow-x: auto; }
.cl-anim-off .cl-ticker__list[aria-hidden="true"], .cl-anim-off .cl-ticker__toggle { display: none; }
.cl-anim-off .cl-brand::after, .cl-anim-off .cl-flag::after { display: none; }
.cl-anim-off .cl-brand__text::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.cl-reveal { opacity: 1 !important; transform: none !important; }
	.cl-ticker__viewport { overflow-x: auto; }
	.cl-ticker__list[aria-hidden="true"], .cl-ticker__toggle { display: none; }
	.cl-brand::after, .cl-flag::after { display: none; }
	.cl-brand__text::after { width: 100%; }
}
