/*
 * Călătoria Inimii: what theme.json cannot express.
 *
 * 1. Base
 * 2. Header (rules of 12 Oct 2026: symmetric block, echoes, bar on scroll;
 *    the Cercul member bar)
 * 3. Title band and sections
 * 4. Buttons
 * 5. Cercul
 * 6. Footer
 *
 * Breakpoint: 1024 px. Below it the header is the phone header.
 */

/* 1. Base */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.wp-site-blocks {
	position: relative;
}
.wp-site-blocks > *,
.wp-block-group.ci-main > * {
	margin-block: 0;
}
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 2px;
}
:where(.wp-block-post-content, .ci-section) a {
	text-underline-offset: 3px;
}

/* 2. Header */

.ci-header-host {
	position: relative;
	z-index: 50;
}
.ci-header-host.is-stuck {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	/* Keeps the page from jumping when the header shrinks to the bar. */
	margin-bottom: calc(var(--ci-header-h, 100px) - var(--ci-bar-h));
	transition: transform 0.25s ease;
}
/* The bar leaves when the reader scrolls down, and comes back on the way up. */
.ci-header-host.is-stuck.is-hidden {
	transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px)));
}
.ci-header-host.is-instant {
	transition: none;
}
.ci-header-sentinel {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: var(--ci-header-h, 200px);
	visibility: hidden;
	pointer-events: none;
}
html.ci-menu-open {
	overflow: hidden;
}

.wp-block-group.ci-header {
	--ci-mark: 52px;
	--ci-title: clamp(11px, 3.6vw, 14px);
	--ci-label: clamp(9px, 2.7vw, 10.5px);
	--ci-brand-gap: 10px;
	--ci-line: var(--wp--custom--header--line);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 4px 6px 18px;
	background: var(--wp--preset--color--paper);
}
.wp-block-group.ci-header > * {
	position: relative;
	z-index: 1;
	margin-block: 0;
}

/* The brand: Fundația · mark · Școala */
.wp-block-group.ci-header > .ci-brand {
	/* No z-index here: the echoes must fall behind the rest of the header. */
	z-index: auto;
}
.ci-brand {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: var(--ci-brand-gap);
	font-family: var(--wp--preset--font-family--brand);
	color: var(--wp--preset--color--gold-text);
}
.ci-brand__name {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	line-height: 1.1;
}
.ci-brand__name--left {
	align-items: flex-end;
	text-align: right;
}
.ci-brand__name--right {
	align-items: flex-start;
}
.ci-brand__label {
	font-size: var(--ci-label);
	font-weight: 400;
}
.ci-brand__title {
	font-size: var(--ci-title);
	font-weight: 700;
	white-space: nowrap;
}
.ci-brand__mark {
	position: relative;
	width: var(--ci-mark);
	height: var(--ci-mark);
}
.ci-brand__echoes {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	color: var(--wp--custom--echo);
	pointer-events: none;
}
.ci-brand__link {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	color: var(--wp--preset--color--logo-gold);
}
.ci-brand__link:hover {
	color: var(--wp--preset--color--logo-gold);
}
.ci-brand__link svg {
	display: block;
	width: 100%;
	height: 100%;
}
/* Under 64 px the mark uses the screen drawing (thicker line). */
.ci-brand__drawing--large {
	display: none;
}

/* Icons */
.ci-icon,
:is(.ci-header__social, .ci-social) .wp-block-social-link-anchor {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: none;
	color: var(--wp--preset--color--logo-gold);
	cursor: pointer;
}
.ci-icon:hover,
:is(.ci-header__social, .ci-social) .wp-block-social-link-anchor:hover {
	background: var(--wp--preset--color--gold-tint);
	color: var(--wp--preset--color--gold-deep);
}
.ci-badge {
	position: absolute;
	top: 3px;
	right: 1px;
	box-sizing: border-box;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}
.ci-tools {
	display: flex;
	align-items: center;
}
.ci-tools__menu {
	margin-right: auto;
}
.ci-tools__menu-open,
.ci-tools__menu[aria-expanded="true"] .ci-tools__menu-close {
	display: flex;
}
.ci-tools__menu-close,
.ci-tools__menu[aria-expanded="true"] .ci-tools__menu-open {
	display: none;
}
.ci-tools__account,
.ci-tools__donate,
.ci-tools__mine,
.ci-tools__logout,
.ci-tools__hello {
	display: none;
}
.ci-tools__hello {
	font-family: var(--wp--preset--font-family--brand);
	margin-right: 6px;
	color: var(--wp--preset--color--gold-text);
	font-weight: 600;
	white-space: nowrap;
}
.ci-account__avatar {
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	box-shadow: 0 0 0 1.5px var(--wp--preset--color--logo-gold);
	object-fit: cover;
}
html:not(.ci-js) .ci-tools__menu,
html:not(.ci-js) .ci-tools__search {
	display: none;
}

/* Social links: the outline drawings of the header, not the brand glyphs. */
:is(.ci-header__social, .ci-social).wp-block-social-links {
	gap: 4px;
	margin: 0;
	padding: 0;
}
:is(.ci-header__social, .ci-social) .wp-social-link {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	transition: none;
}
:is(.ci-header__social, .ci-social) .wp-social-link:hover {
	transform: none;
}
:is(.ci-header__social, .ci-social) .wp-social-link svg {
	display: none;
}
:is(.ci-header__social, .ci-social) .wp-block-social-link-anchor::before {
	content: "";
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--ci-social-icon) center / contain no-repeat;
	mask: var(--ci-social-icon) center / contain no-repeat;
}
.wp-social-link-facebook {
	--ci-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 21v-7.5h3l.5-3.5h-3.5V8.2c0-1 .4-1.7 1.8-1.7H18V3.4c-.4-.1-1.5-.2-2.6-.2-2.6 0-4.4 1.6-4.4 4.5V10H8v3.5h3V21'/%3E%3C/svg%3E");
}
.wp-social-link-youtube {
	--ci-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='4'/%3E%3Cpath d='M10 9.2v5.6l4.8-2.8z'/%3E%3C/svg%3E");
}
.wp-social-link-instagram {
	--ci-social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='%23000'/%3E%3C/svg%3E");
}

/* Search row, opened by the search icon */
.ci-header__search.wp-block-search {
	display: none;
	width: 100%;
	max-width: 640px;
	margin: 12px auto 0;
	padding: 0 10px;
	box-sizing: border-box;
}
.ci-header.is-searching .ci-header__search {
	display: block;
}
.wp-block-search .wp-block-search__input {
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--wp--preset--color--gold-light);
	border-radius: 8px;
	background: var(--wp--preset--color--paper);
	font: inherit;
	font-size: 1rem;
}

/* Main menu */
.ci-header__nav.wp-block-navigation .wp-block-navigation-item__content {
	padding: 8px 2px;
	border-bottom: 2px solid transparent;
	color: var(--wp--preset--color--indigo);
	text-decoration: none;
	white-space: nowrap;
}
.ci-header__nav.wp-block-navigation .wp-block-navigation-item__content:hover,
.ci-header__nav.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: var(--wp--preset--color--logo-gold);
}

/*
 * Menu panels (inc/menu-panels.php): each section opens a full-width panel
 * under the header on desktop, a level of its own in the phone menu.
 * Panel items: the section's name, its pages (a page with children is a
 * column: heading and links), the upcoming events in the events panel,
 * and the next event on the right.
 */
.ci-header .ci-menu-panel .wp-block-navigation__submenu-container .wp-block-navigation-submenu__toggle,
.ci-menu-back,
.ci-menu-close {
	display: none;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	white-space: normal;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: static;
	display: block;
	/* Follows the panel: "visible" here kept the links of a hidden panel
	   under the pointer, and hovering one opened the panel over the page. */
	visibility: inherit;
	opacity: 1;
	width: auto;
	min-width: 0;
	height: auto;
	overflow: visible;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item {
	display: block;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 6px 0;
	border: 0;
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	font-weight: 600;
	white-space: normal;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 4px 0;
	color: var(--wp--preset--color--ink-muted);
	font-weight: 400;
}
.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--terracotta);
}
.ci-menu-overview a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.ci-menu-overview a:hover {
	color: var(--wp--preset--color--terracotta);
}
.ci-menu-event__title,
.ci-menu-event__date {
	display: block;
}
.ci-header .ci-header__nav .ci-menu-event .ci-menu-event__date {
	margin-top: 2px;
	color: var(--wp--preset--color--ink-muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}
.ci-menu-feature > * {
	margin: 0;
}
.ci-menu-feature__image {
	display: block;
	margin-bottom: 12px;
}
.ci-menu-feature__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card);
}
.ci-menu-feature__label {
	font-family: var(--wp--preset--font-family--brand);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-muted);
}
.ci-menu-feature__date {
	margin-top: 4px;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-menu-feature__title {
	margin-top: 4px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
}
.ci-menu-feature__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.ci-menu-feature__title a:hover {
	color: var(--wp--preset--color--terracotta);
}
.ci-menu-feature__cta {
	margin-top: 14px;
}
.ci-menu-feature__cta .wp-element-button {
	display: inline-block;
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}

@media (min-width: 1024px) {
	/* (Only the items: the panels carry the class ci-menu-panel too.)
	   Each section's hover area reaches halfway to its neighbours and down
	   to its panel, so the pointer is never between two sections. */
	.ci-header__nav .wp-block-navigation__container > .ci-menu-panel::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -22px;
		right: -22px;
	}
	.ci-header__nav .wp-block-navigation__container > .ci-menu-panel::after {
		content: "";
		position: absolute;
		top: 100%;
		left: -22px;
		right: -22px;
		height: 32px;
	}
	/* No underline and no chevron: the open section is marked by the panel's
	   arrow under its name. The toggle stays for the keyboard, shown on focus. */
	.ci-header__nav.wp-block-navigation .ci-menu-panel > .wp-block-navigation-item__content {
		border-bottom: 0;
	}
	.ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle {
		position: absolute;
		top: 100%;
		left: 50%;
		width: 1px;
		height: 1px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle:focus-visible {
		width: 28px;
		height: 20px;
		margin-left: -14px;
		clip-path: none;
		color: var(--wp--preset--color--indigo);
	}

	/* The panel: a night-blue band the size of the event hero (full width,
	   content 1200 px with the site's side padding, the hero's 7 : 5 split). */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container {
		--ci-gutter: clamp(1.25rem, 4vw, 2.5rem);
		--ci-gap: clamp(1.5rem, 4vw, 3.5rem);
		/* The next event takes the hero's right column (5 of 12), the same
		   width in every panel; the links share the rest. --ci-vw is the
		   page width without the scrollbar, from header.js. */
		--ci-card: calc((min(1200px, var(--ci-vw, 100vw) - 2 * var(--ci-gutter)) - var(--ci-gap)) * 5 / 12);
		position: fixed;
		z-index: 60;
		top: var(--ci-panel-top, 160px);
		left: 0;
		right: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr)) var(--ci-card);
		grid-auto-flow: row dense;
		align-content: start;
		gap: 0 var(--ci-gap);
		padding: clamp(1.75rem, 5vw, 3.25rem) max(var(--ci-gutter), calc((100% - 1200px) / 2)) clamp(2.25rem, 6vw, 3.75rem);
		background: var(--wp--preset--color--indigo);
		color: var(--wp--preset--color--paper);
		/* Core shrinks a closed submenu to nothing at once; the panel keeps
		   its size, so it can fade out whole. */
		width: auto;
		height: auto;
		min-width: 0;
		overflow: visible;
		/* Leaving the menu, the panel fades out. */
		transition: opacity 0.2s ease 0.05s, visibility 0s linear 0.25s;
	}
	/* Moving to another section, the panel being left stays whole a moment,
	   under the one opening. */
	.ci-header .ci-header__nav:has(.ci-menu-panel > [aria-expanded="true"]) .ci-menu-panel > .wp-block-navigation__submenu-container {
		transition: opacity 0s linear 0.3s, visibility 0s linear 0.3s;
	}
	/* The panel opening fades in on top: moving from one section to the
	   next, the blue never goes, only the contents change. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		z-index: 61;
		transition: opacity 0.12s ease 0.04s, visibility 0s linear 0.04s;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container:not(:is(.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container))::before {
		visibility: hidden;
	}
	/* The blue goes on to the bottom of the screen, so the page under the
	   panel (a hero of the same blue) does not show through as part of it.
	   The pointer passes through this part: moving down past the links
	   closes the panel, as before. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: 100vh;
		background: var(--wp--preset--color--indigo);
		pointer-events: none;
	}
	/* A fine X at the top right of the links, level with the section's
	   name, left of the next-event column (its width and the gap). */
	.ci-header .ci-header__nav .ci-menu-panel .ci-menu-close {
		position: absolute;
		top: calc(clamp(1.75rem, 5vw, 3.25rem) - 0.4rem);
		right: calc(max(var(--ci-gutter), (100% - 1200px) / 2) + var(--ci-card) + var(--ci-gap) - 0.5rem);
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: none;
		color: var(--wp--preset--color--paper);
		cursor: pointer;
		transition: color 0.15s ease;
	}
	.ci-header .ci-header__nav .ci-menu-panel .ci-menu-close:hover {
		color: var(--wp--preset--color--gold-light);
	}
	/* The arrow under the open section's name, pointing up at it. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -11px;
		left: calc(var(--ci-notch-x, 50%) - 12px);
		border-right: 12px solid transparent;
		border-bottom: 12px solid var(--wp--preset--color--indigo);
		border-left: 12px solid transparent;
	}
	.ci-header .ci-header__nav.is-dismissed .ci-menu-panel > .wp-block-navigation__submenu-container,
	.ci-nav-rest .ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container {
		visibility: hidden !important;
		opacity: 0 !important;
		transition: none;
	}
	.ci-header .ci-header__nav .ci-menu-events > .wp-block-navigation__submenu-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) var(--ci-card);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-overview {
		grid-column: 1 / -2;
		margin-bottom: 1.5rem;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-overview a {
		color: var(--wp--preset--color--paper);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		margin-bottom: 1.25rem;
		padding-left: 18px;
		border-left: 1px solid var(--wp--preset--color--gold-light);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		color: var(--wp--preset--color--paper);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .ci-menu-event .ci-menu-event__date {
		color: var(--wp--preset--color--indigo-tint);
	}
	/* Each entry's short description, under its name. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		flex-direction: column;
		align-items: flex-start;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
		display: block;
		margin-top: 0.2em;
		font-family: var(--wp--preset--font-family--heading);
		font-size: 0.9375rem;
		font-weight: 400;
		line-height: 1.4;
		color: var(--wp--preset--color--indigo-tint);
	}
	/* On hover, links turn light gold (7 : 1 on the blue; terracotta is too
	   dark there). The description turns with the name. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container a:not(.wp-element-button):hover,
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .wp-block-navigation-item__description {
		color: var(--wp--preset--color--gold-light);
		text-decoration: none;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container a:not(.wp-element-button),
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
		transition: color 0.15s ease;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container :focus-visible {
		outline-color: var(--wp--preset--color--paper);
	}
	/* The next event in the hero's right column: picture, then the words. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature {
		grid-column: -2 / -1;
		grid-row: 1 / span 6;
		padding-left: var(--ci-gap);
		border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--paper) 25%, transparent);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature > .ci-menu-feature__image {
		margin-bottom: 1rem;
	}
	/* Despre noi has six entries: three columns of two. */
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container:has(> :nth-child(9)) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) var(--ci-card);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature .ci-menu-feature__label {
		color: var(--wp--preset--color--indigo-tint);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature .ci-menu-feature__date {
		color: var(--wp--preset--color--gold-light);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature .ci-menu-feature__title a {
		color: var(--wp--preset--color--paper);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .ci-menu-feature .ci-menu-feature__title a:hover {
		color: var(--wp--preset--color--gold-light);
	}
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container {
		transition: none;
	}
}

/* Phone menu: the name opens the page, the arrow the section's own level. */
@media (max-width: 1023px) {
	/* Phone menu: each entry's short description under its name. */
	.ci-header .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		flex-direction: column;
		align-items: flex-start;
	}
	.ci-header .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
		display: block;
		margin-top: 0.15em;
		font-family: var(--wp--preset--font-family--heading);
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.4;
		color: var(--wp--preset--color--ink-muted);
	}
	.ci-header__nav .ci-menu-panel {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.ci-header__nav .ci-menu-panel > .wp-block-navigation-item__content {
		flex: 1 1 0;
	}
	.ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		border-left: 1px solid var(--ci-line);
		background: none;
		color: var(--wp--preset--color--terracotta);
		cursor: pointer;
	}
	.ci-header__nav .ci-menu-panel > .wp-block-navigation-submenu__toggle svg {
		width: 16px;
		height: 16px;
		transform: rotate(-90deg);
	}
	.ci-header .ci-header__nav .ci-menu-panel:not(.is-level-open) > .wp-block-navigation__submenu-container {
		display: none !important;
	}
	.ci-header__nav.has-level-open .wp-block-navigation__container > .wp-block-navigation-item:not(.is-level-open),
	.ci-header__nav .ci-menu-panel.is-level-open > :is(.wp-block-navigation-item__content, .wp-block-navigation-submenu__toggle) {
		display: none;
	}
	.ci-header .ci-header__nav .ci-menu-panel.is-level-open > .wp-block-navigation__submenu-container {
		position: static !important;
		display: block !important;
		flex: 1 0 100%;
		visibility: visible !important;
		opacity: 1 !important;
		width: auto !important;
		height: auto !important;
		overflow: visible !important;
		animation: ci-level-in 0.2s ease-out;
	}
	.ci-menu-panel.is-level-open .ci-menu-back {
		display: block;
	}
	.ci-menu-back__button {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		margin: 0 0 4px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--wp--preset--color--terracotta);
		font-family: var(--wp--preset--font-family--brand);
		font-size: 1rem;
		cursor: pointer;
	}
	.ci-menu-panel .ci-menu-overview {
		margin-bottom: 8px;
	}
	.ci-menu-panel .ci-menu-overview a {
		font-size: var(--wp--preset--font-size--xx-large);
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 10px 0;
		font-size: 1.125rem;
	}
	.ci-header .ci-header__nav .ci-menu-panel > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
		padding: 0 0 8px 16px;
		border-left: 1px solid var(--wp--preset--color--gold-light);
	}
	/* The events level lists the next event already. */
	.ci-menu-events .ci-menu-feature {
		display: none;
	}
	.ci-menu-panel .ci-menu-feature {
		margin: 20px 0 8px;
		padding-top: 20px;
		border-top: 1px solid var(--ci-line);
	}
	.ci-menu-panel .ci-menu-feature__image {
		max-width: 420px;
	}
}

@keyframes ci-level-in {
	from {
		opacity: 0;
		transform: translateX(24px);
	}
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
	.ci-header .ci-header__nav .ci-menu-panel.is-level-open > .wp-block-navigation__submenu-container {
		animation: none;
	}
}

/*
 * Cercul member area (dashboard, lessons): the lesson band takes the menu's
 * place, and a thin indigo band closes the header.
 */
.wp-site-blocks:has(> .cercul-layout) .ci-header:not(.is-open) {
	border-bottom: 6px solid var(--wp--preset--color--indigo);
}
.ci-header > .cercul-band {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	color: var(--wp--preset--color--indigo);
}
.ci-header .cercul-band a {
	padding: 8px 2px;
	color: var(--wp--preset--color--indigo);
	text-decoration: none;
}
.ci-header .cercul-band a .cercul-band__title {
	border-bottom: 2px solid transparent;
}
.ci-header .cercul-band a:hover .cercul-band__title {
	border-bottom-color: var(--wp--preset--color--logo-gold);
}
.ci-header .cercul-band a > span[aria-hidden] {
	color: var(--wp--preset--color--logo-gold);
}
.ci-header .cercul-band__current {
	font-family: var(--wp--preset--font-family--heading);
	color: var(--wp--preset--color--ink);
}

/* Account menu, opened from the account icon */
.ci-account {
	display: none;
}
.ci-account__menu {
	position: fixed;
	z-index: 1001;
	box-sizing: border-box;
	min-width: 264px;
	max-width: calc(100vw - 24px);
	padding: 16px 20px 12px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--panel);
	background: var(--wp--preset--color--paper);
	box-shadow: 0 12px 32px rgba(24, 29, 39, 0.14);
}
.ci-account__menu[hidden] {
	display: none;
}
:is(.ci-account__menu, .ci-menu-extras) nav,
:is(.ci-account__menu, .ci-menu-extras) nav ul {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
:is(.ci-account__menu, .ci-menu-extras) nav > p {
	margin: 0 0 6px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--ci-line, var(--wp--preset--color--line));
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
}
:is(.ci-account__menu, .ci-menu-extras) nav :is(a, button) {
	font-family: var(--wp--preset--font-family--brand);
	display: inline-block;
	padding: 9px 0;
	color: var(--wp--preset--color--indigo);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	text-align: left;
	text-decoration: none;
}
:is(.ci-account__menu, .ci-menu-extras) nav :is(a, button):hover {
	color: var(--wp--preset--color--terracotta);
}
:is(.ci-account__menu, .ci-menu-extras) nav li:last-child {
	margin-top: 6px;
	border-top: 1px solid var(--ci-line, var(--wp--preset--color--line));
}
:is(.ci-account__menu, .ci-menu-extras) nav li:last-child a {
	color: var(--wp--preset--color--ink-muted);
	font-weight: 400;
}

/* Bottom of the open phone menu */
.ci-menu-extras {
	display: none;
}
.ci-menu-extras nav :is(a, button) {
	font-size: 1.125rem;
}
.ci-menu-extras__account {
	font-family: var(--wp--preset--font-family--brand);
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--wp--preset--color--indigo);
	font-size: 1.125rem;
	font-weight: 400;
	text-decoration: none;
}
.ci-menu-extras__account svg {
	color: var(--wp--preset--color--logo-gold);
}
.ci-menu-extras__donate {
	font-family: var(--wp--preset--font-family--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border-radius: 8px;
	background: var(--wp--preset--color--paper);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--terracotta);
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
}
.ci-menu-extras__donate:hover {
	background: var(--wp--preset--color--terracotta-tint);
	color: var(--wp--preset--color--terracotta-deep);
}

/* Phone and tablet */
@media (max-width: 1023px) {
	.ci-header-host {
		--ci-bar-h: 60px;
	}
	.ci-header > .ci-tools {
		order: 0;
	}
	.ci-header > .ci-brand {
		order: 1;
		padding: 2px 10px 0;
	}
	.ci-header > .ci-header__search {
		order: 2;
	}
	.ci-header > .ci-header__social,
	.ci-js .ci-header:not(.is-open) > .ci-header__nav,
	.ci-header.is-open > .cercul-band {
		display: none;
	}
	.ci-header > .cercul-band {
		order: 2;
		margin: 14px -6px -18px;
		padding: 6px 14px;
		border-top: 1px solid var(--ci-line);
		background: var(--wp--preset--color--paper);
		font-size: var(--wp--preset--font-size--medium);
	}
	/* Arrows only: the titles of the neighbours do not fit on a phone. */
	.ci-header .cercul-band a :is(.cercul-band__title, .cercul-band__label) {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.ci-header .cercul-band a {
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		align-items: center;
		font-size: 1.375rem;
	}
	.ci-header .cercul-band__current {
		flex-direction: column;
		align-items: center;
		gap: 0;
		text-align: center;
	}
	.ci-header.is-stuck:not(.is-open) > .cercul-band {
		display: none;
	}
	.ci-header__nav.wp-block-navigation,
	.ci-header__nav .wp-block-navigation__container {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
	}
	.ci-header > .ci-header__nav {
		order: 3;
		margin: 18px -6px 0;
		padding: 8px 24px;
		border-top: 1px solid var(--ci-line);
		background: var(--wp--preset--color--paper);
	}
	.ci-header__nav.wp-block-navigation .wp-block-navigation-item__content {
		display: block;
		padding: 12px 0;
		border-bottom: 0;
		font-size: 1.375rem;
	}

	/* Bar on scroll: menu, the mark alone in the middle, cart. */
	.ci-header.is-stuck:not(.is-open) {
		--ci-mark: 42px;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-items: center;
		min-height: 60px;
		padding: 0 6px;
		box-shadow: 0 1px 0 var(--ci-line);
	}
	.ci-header.is-stuck:not(.is-open) > :is(.ci-tools, .ci-brand) {
		grid-area: 1 / 1;
	}
	.ci-header.is-stuck:not(.is-open) > .ci-brand {
		display: block;
		justify-self: center;
		padding: 0;
	}
	.ci-header.is-stuck:not(.is-open) .ci-brand__name,
	.ci-header.is-stuck:not(.is-open) .ci-tools__search,
	.ci-header.is-stuck:not(.is-open) > .ci-header__search {
		display: none;
	}
	.ci-header.is-stuck:not(.is-open) > .ci-tools {
		z-index: 2;
		pointer-events: none;
	}
	.ci-header.is-stuck:not(.is-open) > .ci-tools > * {
		pointer-events: auto;
	}

	/* Open menu: the whole screen, on white, with the block on top. */
	.ci-header.is-open {
		position: fixed;
		z-index: 1000;
		inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0;
		padding-bottom: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.ci-header.is-open > .ci-header__nav {
		flex: 1 0 auto;
	}
	.ci-header.is-open > :is(.ci-menu-extras, .ci-header__social) {
		margin: 0 -6px;
		background: var(--wp--preset--color--paper);
	}
	.ci-header.is-open > .ci-menu-extras {
		order: 4;
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 16px 24px 12px;
		border-top: 1px solid var(--ci-line);
	}
	.ci-header.is-open > .ci-header__social {
		order: 5;
		display: flex;
		justify-content: center;
		gap: 8px;
		padding: 0 24px 28px;
	}
	.ci-header-host.is-menu-open:not(.is-stuck) {
		min-height: var(--ci-header-h);
	}
	.ci-header-host.is-menu-open.is-stuck {
		min-height: var(--ci-bar-h);
	}
}

/* Narrow phones: a smaller mark, so both names fit. */
@media (max-width: 359px) {
	.wp-block-group.ci-header:not(.is-stuck) {
		--ci-mark: 44px;
		--ci-title: clamp(10px, 3.4vw, 12px);
		--ci-brand-gap: 8px;
	}
	.ci-header > .ci-brand {
		padding-inline: 0;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	.wp-block-group.ci-header:not(.is-stuck) {
		--ci-mark: 68px;
		--ci-title: 20px;
		--ci-label: 15px;
		--ci-brand-gap: 16px;
	}
	.wp-block-group.ci-header:not(.is-stuck) .ci-brand__drawing--large {
		display: inline;
	}
	.wp-block-group.ci-header:not(.is-stuck) .ci-brand__drawing--screen {
		display: none;
	}
}

/* Desktop: block centred, menu underneath; a 100 px bar on scroll. */
@media (min-width: 1024px) {
	.ci-header-host {
		--ci-bar-h: 100px;
	}
	.wp-block-group.ci-header {
		--ci-mark: 104px;
		--ci-title: 22px;
		--ci-label: 16px;
		--ci-brand-gap: 24px;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		row-gap: 14px;
		padding: 22px 40px 0;
	}
	.ci-brand__drawing--large {
		display: inline;
	}
	.ci-brand__drawing--screen {
		display: none;
	}
	.ci-header > .ci-brand {
		grid-area: 1 / 1 / 2 / -1;
	}
	.wp-block-group.ci-header > .ci-header__social,
	.wp-block-group.ci-header > .ci-tools {
		z-index: 2;
		align-self: start;
		margin-top: -8px;
	}
	.ci-header > .ci-header__social {
		grid-area: 1 / 1;
		justify-self: start;
	}
	.ci-header > .ci-tools {
		grid-area: 1 / 3;
		justify-self: end;
		gap: 4px;
	}
	.ci-tools__menu {
		display: none;
	}
	.ci-tools__account,
	.ci-tools__donate,
	.ci-tools__mine,
	.ci-tools__logout {
		display: inline-flex;
	}
	.ci-tools__hello {
		display: inline;
	}
	/* In the bar the avatar menu stands for "Contul meu", so the row fits on one line. */
	.ci-header.is-stuck :is(.ci-tools__hello, .ci-tools__mine) {
		display: none;
	}
	.ci-header > .ci-header__search {
		grid-column: 1 / -1;
		margin-top: 0;
	}
	.ci-header > .ci-header__nav {
		grid-column: 1 / -1;
		min-height: 56px;
		border-top: 1px solid var(--ci-line);
	}
	.ci-header__nav.wp-block-navigation,
	.ci-header__nav .wp-block-navigation__container {
		justify-content: center;
		gap: 44px;
	}
	.ci-account {
		display: block;
	}
	.ci-header:has(> .cercul-band) > .ci-header__nav {
		display: none;
	}
	.ci-header > .cercul-band {
		grid-column: 1 / -1;
		min-height: 56px;
		border-top: 1px solid var(--ci-line);
	}

	.ci-header.is-stuck {
		--ci-mark: 68px;
		--ci-title: 20px;
		--ci-label: 15px;
		--ci-brand-gap: 16px;
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		gap: 0 32px;
		min-height: 100px;
		padding: 0 40px;
		box-shadow: 0 1px 0 var(--ci-line);
	}
	.ci-header.is-stuck > .ci-header__social {
		display: none;
	}
	.ci-header.is-stuck > .ci-brand {
		order: 0;
		flex: none;
	}
	.ci-header.is-stuck > .ci-header__nav {
		order: 1;
		min-height: 0;
		margin-left: auto;
		border-top: 0;
	}
	.ci-header.is-stuck .ci-header__nav .wp-block-navigation__container {
		gap: 28px;
	}
	.ci-header.is-stuck > .cercul-band {
		order: 1;
		flex: 1 1 0;
		min-width: 0;
		min-height: 0;
		border-top: 0;
	}
	/* The bar has no room for the names next to the lesson band. */
	.ci-header.is-stuck:has(> .cercul-band) > .ci-brand {
		display: block;
	}
	.ci-header.is-stuck:has(> .cercul-band) .ci-brand__name {
		display: none;
	}
	.wp-block-group.ci-header.is-stuck > .ci-tools {
		order: 2;
		align-self: center;
		margin-top: 0;
	}
	.ci-header.is-stuck > .ci-header__search {
		order: 3;
		margin-bottom: 14px;
	}
}

/* Narrow desktop: the bar has room for the mark, the menu and the icons only. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ci-header.is-stuck > .ci-brand {
		display: block;
	}
	.ci-header.is-stuck .ci-brand__name {
		display: none;
	}
}

@media (min-width: 1280px) {
	.wp-block-group.ci-header:not(.is-stuck) {
		--ci-title: 29px;
		--ci-label: 21px;
		--ci-brand-gap: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ci-header-host.is-stuck {
		transition: none;
	}
}

/*
 * Cercul member bar (part header-cercul): mark and name, lesson band,
 * account. One height, sticky from the first pixel: nothing in it changes on
 * scroll, so the page never jumps. 64 px on desktop; on phones 56 px plus a
 * 48 px row for the band.
 */
.wp-block-template-part:has(> .ci-mheader) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
/* The table of contents of the member area stops under the bar. */
body:has(.ci-mheader) {
	--cercul-sticky-top: calc(var(--wp-admin--admin-bar--height, 0px) + 104px + 24px);
}
@media (min-width: 1024px) {
	body:has(.ci-mheader) {
		--cercul-sticky-top: calc(var(--wp-admin--admin-bar--height, 0px) + 64px + 24px);
	}
}
.wp-block-group.ci-mheader {
	--ci-line: var(--wp--custom--header--line);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 40px;
	box-sizing: border-box;
	height: 64px;
	padding: 0 32px;
	border-bottom: 3px solid var(--wp--preset--color--indigo);
	background: var(--wp--preset--color--paper);
}
.ci-mheader > * {
	margin-block: 0;
}
.ci-brand--cercul {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	justify-self: start;
	min-width: 0;
	color: var(--wp--preset--color--gold-text);
	text-decoration: none;
}
.ci-brand--cercul .ci-brand__glyph {
	flex: none;
	width: 40px;
	height: 40px;
	color: var(--wp--preset--color--logo-gold);
}
.ci-brand--cercul .ci-brand__name {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-family: var(--wp--preset--font-family--brand);
	line-height: 1.1;
	white-space: nowrap;
}
.ci-brand--cercul .ci-brand__label {
	font-size: 14px;
}
.ci-brand--cercul .ci-brand__title {
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 19px;
	font-weight: 700;
}
.ci-brand--cercul:hover .ci-brand__glyph {
	color: var(--wp--preset--color--gold-deep);
}
.ci-mheader > .cercul-band {
	font-family: var(--wp--preset--font-family--brand);
	grid-column: 2;
	/* The current lesson may shrink too: every title ends in an ellipsis rather than overlap. */
	grid-template-columns: minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	color: var(--wp--preset--color--indigo);
}
.ci-mheader .cercul-band a {
	padding: 8px 2px;
	color: var(--wp--preset--color--indigo);
	text-decoration: none;
}
.ci-mheader .cercul-band a .cercul-band__title {
	border-bottom: 2px solid transparent;
}
.ci-mheader .cercul-band a:hover .cercul-band__title {
	border-bottom-color: var(--wp--preset--color--logo-gold);
}
.ci-mheader .cercul-band a > span[aria-hidden] {
	color: var(--wp--preset--color--logo-gold);
}
.ci-mheader .cercul-band__current {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
}
.ci-tools--member {
	grid-column: 3;
	justify-self: end;
	gap: 8px;
}
.ci-tools--member .ci-account {
	display: block;
}
.ci-tools__login {
	font-family: var(--wp--preset--font-family--brand);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 10px;
	border-radius: 22px;
	color: var(--wp--preset--color--indigo);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.ci-tools__login svg {
	flex: none;
	color: var(--wp--preset--color--logo-gold);
}
.ci-tools__login:hover {
	background: var(--wp--preset--color--gold-tint);
	color: var(--wp--preset--color--gold-deep);
}

@media (max-width: 1023px) {
	.wp-block-group.ci-mheader {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: 56px auto;
		height: auto;
		padding: 0 8px 0 14px;
	}
	.ci-mheader > .cercul-band {
		grid-column: 1 / -1;
		grid-row: 2;
		min-height: 48px;
		margin: 0 -8px 0 -14px;
		padding: 0 8px;
		border-top: 1px solid var(--ci-line);
	}
	.ci-tools--member {
		grid-column: 2;
		gap: 2px;
	}
	.ci-brand--cercul .ci-brand__glyph {
		width: 34px;
		height: 34px;
	}
	.ci-brand--cercul .ci-brand__label {
		font-size: 12px;
	}
	.ci-brand--cercul .ci-brand__title {
		font-size: 16px;
	}
	/* The arrows keep no titles. */
	.ci-mheader .cercul-band a :is(.cercul-band__title, .cercul-band__label) {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.ci-mheader .cercul-band a {
		justify-content: center;
		align-items: center;
		min-width: 44px;
		min-height: 44px;
		font-size: 1.375rem;
	}
	.ci-mheader .cercul-band__current {
		flex-direction: column;
		align-items: center;
		gap: 0;
		font-size: var(--wp--preset--font-size--medium);
		text-align: center;
	}
}

/* 3. Title band and sections */

.wp-block-group.ci-titleband {
	padding-top: clamp(2rem, 5vw, 3.25rem);
	padding-bottom: 1.5rem;
}
.ci-titleband :is(h1, h2) {
	margin: 0;
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 400;
	line-height: 1.15;
}
/*
 * Handwritten fonts (Caveat, Kalam) were dropped on 2026-11-24 to keep two
 * families; headings saved with them show as Lora italic.
 */
.has-script-font-family,
.has-script-kalam-font-family {
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
}
.ci-titleband__sub {
	margin-block: 0.5rem 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
}
.ci-titleband a {
	color: inherit;
}
/*
 * Byline: author · date (posts, post lists, comments). On the indigo title
 * band it takes the band's light tint; theme.json's muted grey for dates is
 * only meant for light backgrounds.
 */
.wp-block-group.ci-byline {
	font-family: var(--wp--preset--font-family--brand);
	gap: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-byline > * {
	margin: 0;
	color: inherit;
}
.ci-titleband .wp-block-group.ci-byline {
	justify-content: center;
	margin-block: 1rem 0;
	color: var(--wp--preset--color--indigo-tint);
}
.ci-byline > * + *::before {
	content: "·";
	margin-inline-end: 0.5rem;
}
/*
 * Content on a blue band: links in white (terracotta text is too dark on
 * blue), buttons stay terracotta, a light focus ring.
 */
:is(.has-indigo-background-color, .has-terracotta-background-color) a:not(.wp-element-button):not(.wp-block-button__link) {
	color: inherit;
}
:is(.has-indigo-background-color, .has-terracotta-background-color) :focus-visible {
	outline-color: var(--wp--preset--color--paper);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .cercul-subscribe__price {
	color: var(--wp--preset--color--paper);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .cercul-subscribe__price strong {
	color: var(--wp--preset--color--gold-light);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-checklist li::before {
	background: var(--wp--preset--color--gold-light);
}
/* An indigo section right under the title band continues it. */
.ci-titleband + .ci-section:is(.has-indigo-background-color, .has-terracotta-background-color) {
	padding-top: 1.5rem;
}

/*
 * Landing hero: the story on the left, the offer in a white card on the right.
 */
.wp-block-group.ci-hero {
	padding-top: clamp(2rem, 5vw, 3.5rem);
}
.ci-hero__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 400;
	line-height: 1.15;
	color: var(--wp--preset--color--gold-light);
}
/* The promise sits under the name on one line where the column allows it. */
.ci-hero h1 {
	margin-block: 0.5rem 0;
	font-size: clamp(1.0625rem, 0.45rem + 1.65vw, 1.75rem);
	font-weight: 400;
	line-height: 1.25;
}
.ci-hero__by {
	margin-block: 0.35rem 1.5rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--indigo-tint);
}
.ci-hero .ci-lead {
	margin-block: 1.25rem 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}
.wp-block-group.ci-offer {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--wp--custom--radius--panel);
	box-shadow: 0 18px 44px rgba(8, 2, 48, 0.35);
	scroll-margin-top: 120px;
}
.wp-block-group.ci-offer > * {
	margin-block: 0;
}
.ci-offer .ci-offer__title {
	font-size: var(--wp--preset--font-size--large);
}
.ci-offer__price {
	padding-top: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1;
}
.ci-offer__price strong {
	font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
	font-weight: 600;
}
.ci-offer__note {
	font-family: var(--wp--preset--font-family--brand);
	padding-top: 0.4rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.wp-block-group.ci-offer > .ci-checklist {
	margin-block: 1.25rem;
}
.ci-offer .cercul-subscribe {
	margin-block: 0 0.75rem;
}
.ci-offer .cercul-subscribe .wp-element-button {
	flex: 1 1 100%;
	justify-content: center;
	padding-block: 1rem;
}
/* The price stands at the top of the card, so the button's own price line is left out. */
.ci-offer .cercul-subscribe__price {
	display: none;
}
/* Inside the white card the indigo band's light colours do not apply. */
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-offer a:not(.wp-element-button):not(.wp-block-button__link) {
	color: var(--wp--preset--color--terracotta);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-offer .cercul-subscribe .wp-element-button {
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-offer .cercul-subscribe .wp-element-button:is(:hover, :focus, :active) {
	background: var(--wp--preset--color--terracotta-deep);
	color: var(--wp--preset--color--paper);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-offer .ci-checklist li::before {
	background: var(--wp--preset--color--logo-gold);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .ci-offer :focus-visible {
	outline-color: var(--wp--preset--color--indigo);
}

/* The hero on terracotta: warm light tones in place of the indigo band's cool ones. */
.ci-hero.has-terracotta-background-color .ci-hero__name {
	color: var(--wp--preset--color--paper);
}
.ci-hero.has-terracotta-background-color :is(.ci-hero__by, .ci-hero__quote cite) {
	color: var(--wp--preset--color--terracotta-tint);
}
.ci-hero.has-terracotta-background-color .wp-block-quote.ci-hero__quote {
	border-left-color: rgba(255, 255, 255, 0.55);
}
.ci-hero.has-terracotta-background-color .wp-block-group.ci-offer {
	box-shadow: 0 18px 44px rgba(64, 20, 8, 0.35);
}
/* A founder's words under the offer card. */
/* The founders' photograph in the hero, and the video in a section of its own further down. */
.ci-hero__image {
	margin-block: var(--wp--preset--spacing--40);
}
.ci-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--panel);
}
.ci-section.ci-video > * {
	max-width: 880px;
}
.ci-section.ci-video iframe,
.ci-section.ci-video video {
	border-radius: var(--wp--custom--radius--panel);
}
.wp-block-quote.ci-hero__quote {
	margin: 1.75rem 0 0;
	padding: 0.15rem 0 0.15rem 1.25rem;
	border-left: 2px solid var(--wp--preset--color--gold-light);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}
.ci-hero__quote p {
	margin: 0;
}
.ci-hero__quote cite {
	display: block;
	margin-top: 0.6rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	color: var(--wp--preset--color--indigo-tint);
}

/*
 * The story: rows of text beside a photograph, a quote over a photograph,
 * and a closing section that ends on the button.
 */
.ci-story .wp-block-heading {
	margin-block: 0 1rem;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.2;
}
.ci-story p {
	line-height: 1.65;
}
.ci-story .wp-block-column > p:last-child {
	margin-bottom: 0;
}
.ci-story__image {
	margin: 0;
}
.ci-story__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--panel);
}
.ci-story--end .wp-block-heading {
	text-align: center;
	margin-bottom: 1.5rem;
}
.ci-story .ci-signature {
	margin-block: 2rem 0;
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	text-align: center;
}
.ci-story--end .cercul-subscribe {
	justify-content: center;
	margin-top: 2rem;
}
.wp-block-cover.ci-pullband {
	padding: var(--wp--preset--spacing--60) clamp(1.25rem, 4vw, 2.5rem);
}
.ci-pullband .ci-pull {
	max-width: 22em;
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.3;
	text-align: center;
	color: var(--wp--preset--color--paper);
}
.ci-pullband .ci-pull__by {
	font-family: var(--wp--preset--font-family--brand);
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
	color: var(--wp--preset--color--indigo-tint);
}
/* On phones the photograph leads each row, and is shorter. */
@media (max-width: 781px) {
	.ci-story .wp-block-columns {
		gap: 1.5rem;
	}
	.ci-story .wp-block-column:has(> .ci-story__image) {
		order: -1;
	}
	.ci-story__image img {
		aspect-ratio: 3 / 2 !important;
	}
}

/* On phones, a slim bar with the offer once no subscribe button is on screen. */
.ci-stickycta {
	font-family: var(--wp--preset--font-family--brand);
	position: fixed;
	z-index: 40;
	inset: auto 0 0 0;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 -6px 18px rgba(24, 29, 39, 0.18);
}
.ci-stickycta:hover {
	color: var(--wp--preset--color--paper);
}
.ci-stickycta span {
	font-weight: 400;
}
@media (max-width: 781px) {
	.ci-stickycta.is-visible {
		display: flex;
	}
}

/*
 * Home page: the video across the page, filling the screen under the header
 * (cropped top and bottom on wide screens, 16:9 on phones), then the footer.
 * The still frame shows until the player has started.
 */
.ci-home .wp-block-post-content > * {
	margin-block: 0;
}
.ci-video-hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: calc(100svh - var(--ci-header-h, 8.5rem));
	min-height: 12rem;
	background: var(--ci-video-poster) center / cover no-repeat, var(--wp--preset--color--indigo);
}
.ci-video-hero__frame iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100%, calc(12rem * 16 / 9));
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s ease 1.5s;
}
.ci-video-hero.is-loaded .ci-video-hero__frame iframe {
	opacity: 1;
}
.ci-video-hero__link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 1rem;
	color: var(--wp--preset--color--paper);
}
.ci-video-hero__toggle {
	position: absolute;
	right: max(var(--ci-gutter, 1rem), 1rem);
	bottom: 1rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 0.5);
	border-radius: 50%;
	background: rgb(30 27 75 / 0.55);
	color: var(--wp--preset--color--paper);
	cursor: pointer;
	transition: background-color 0.2s;
}
.ci-video-hero__toggle:hover,
.ci-video-hero__toggle:focus-visible {
	background: rgb(30 27 75 / 0.85);
}
.ci-video-hero__toggle[hidden] {
	display: none;
}
.ci-video-hero .ci-video-hero__icon-play,
.ci-video-hero.is-playing .ci-video-hero__icon-pause {
	display: block;
}
.ci-video-hero .ci-video-hero__icon-pause,
.ci-video-hero.is-playing .ci-video-hero__icon-play {
	display: none;
}

/* The front page is built from full-width bands that touch each other. */
.ci-landing > .alignfull {
	margin-block: 0;
}
.wp-block-group.ci-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
/* Lines meant for visitors, such as "Ești deja în Cerc? Intră în cont". */
.logged-in .ci-guest-only {
	display: none;
}
.ci-lead {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}
/* Checklist: what the offer holds, each line with a tick. */
.wp-block-list.ci-checklist {
	display: grid;
	gap: 0.5rem;
	margin-block: 1.25rem;
	padding: 0;
	list-style: none;
}
.ci-checklist li {
	position: relative;
	padding-left: 1.9rem;
	line-height: 1.4;
}
.ci-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 1.25rem;
	height: 1.25rem;
	background: var(--wp--preset--color--logo-gold);
	-webkit-mask: var(--ci-check) center / contain no-repeat;
	mask: var(--ci-check) center / contain no-repeat;
	--ci-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 9.8'/%3E%3C/svg%3E");
}
/* The sentence that leads into a subscribe button. */
.ci-cta-line {
	margin-block: 2.5rem 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	text-align: center;
}
.ci-cta-line + .cercul-subscribe {
	margin-top: 1rem;
}
.ci-steps .wp-block-column {
	padding-top: 1rem;
	border-top: 2px solid var(--wp--preset--color--gold-light);
}
/* Each step: its icon in a narrow column of its own, the title and text beside it. */
.ci-steps .wp-block-column:has(> .ci-step-icon) {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	column-gap: 1.25rem;
	align-content: start;
	padding-top: 1.5rem;
}
.ci-steps .wp-block-column:has(> .ci-step-icon) > * {
	grid-column: 2;
	margin-block: 0;
}
.ci-steps .wp-block-column:has(> .ci-step-icon) > p {
	margin-top: 0.6rem;
}
.ci-steps .wp-block-column > .ci-step-icon {
	grid-column: 1;
	grid-row: 1 / span 3;
	margin: 0;
}
.ci-steps .ci-step-icon img {
	display: block;
	width: 72px !important;
	height: 72px !important;
}
.ci-steps h3 {
	margin-top: 0;
}
.ci-postlist > li + li {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--line);
}
/* Post list item: the featured image beside the text, stacked on phones. */
.wp-block-group.ci-postcard {
	display: grid;
	grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}
.ci-postcard:not(:has(.wp-block-post-featured-image)) {
	grid-template-columns: minmax(0, 1fr);
}
.ci-postcard > *,
.ci-postcard__body > * {
	margin-block: 0;
}
.ci-postcard__body > * + * {
	margin-top: 0.6rem;
}
.ci-postcard .wp-block-post-featured-image img {
	border-radius: 4px;
}
@media (max-width: 600px) {
	.wp-block-group.ci-postcard {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}
/*
 * Editorial post feed (category archives, posts page). Page 1: the latest
 * post on navy, joined to the indigo title band, then twelve cards. Later
 * pages: twelve cards. Cards: image, title, byline, excerpt, read link;
 * two a row, one on phones. Page sizes are set in functions.php.
 */
.wp-block-group.ci-section:has(.ci-feed) {
	padding-top: var(--wp--preset--spacing--50);
}
body:not(.paged) .wp-block-group.ci-section:has(.ci-feed) {
	padding-top: 0;
}
.wp-block-post-template.ci-feed {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60) clamp(1.5rem, 4vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ci-feed > li {
	margin: 0;
}
.ci-entry {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.ci-entry > *,
.ci-entry__body > * {
	margin-block: 0;
}
.ci-entry__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-top: 1rem;
}
.ci-entry__body > * + * {
	margin-top: 0.6rem;
}
.ci-entry .wp-block-post-featured-image {
	margin: 0;
}
.ci-entry .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 3px;
}
.ci-entry .wp-block-post-title.ci-entry__title {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 400;
	line-height: 1.2;
}
.ci-entry__title a {
	color: inherit;
	text-decoration: none;
}
.ci-entry__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.ci-entry__subtitle {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	font-style: italic;
	line-height: 1.35;
}
.ci-entry__excerpt .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.ci-entry__body > .wp-block-read-more.ci-entry__more {
	font-family: var(--wp--preset--font-family--brand);
	align-self: flex-start;
	margin-top: auto;
	padding-top: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--terracotta);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.ci-entry__more:hover {
	text-decoration-thickness: 2px;
}
.ci-feed > li .ci-entry__subtitle {
	display: none;
}

/* Page 1: the latest post, full-bleed navy, continuing the title band. */
body:not(.paged) .ci-feed > li:first-child {
	grid-column: 1 / -1;
	margin-bottom: calc(var(--wp--preset--spacing--50) - var(--wp--preset--spacing--60));
	padding-block: 0.5rem var(--wp--preset--spacing--60);
	background: var(--wp--preset--color--indigo);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--indigo);
	clip-path: inset(-1px -100vmax 0); /* 1px up: no seam under the title band */
	color: var(--wp--preset--color--paper);
}
body:not(.paged) .ci-feed > li:first-child .ci-entry {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
body:not(.paged) .ci-feed > li:first-child .ci-entry:not(:has(.wp-block-post-featured-image)) {
	grid-template-columns: minmax(0, 1fr);
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__body {
	margin-top: 0;
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__body > * + * {
	margin-top: 0.9rem;
}
/* With the lead post the band's heading is for screen readers only; the
   label above the post's title names the list instead. */
body.ci-feed-lead .wp-block-group.ci-titleband {
	padding-bottom: 0;
}
body.ci-feed-lead .ci-titleband :is(h1, .wp-block-query-title) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__body > .ci-feed__label {
	/* label: see .ci-label below */
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--indigo-tint);
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__body > .ci-feed__label + * {
	margin-top: 0.6rem;
}
body:not(.paged) .ci-feed > li:first-child .wp-block-post-featured-image img {
	aspect-ratio: 4 / 3;
}
body:not(.paged) .ci-feed > li:first-child .wp-block-post-title.ci-entry__title {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.15;
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__subtitle {
	display: block;
}
body:not(.paged) .ci-feed > li:first-child :is(.ci-entry__subtitle, .ci-byline) {
	color: var(--wp--preset--color--indigo-tint);
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__excerpt {
	color: color-mix(in srgb, var(--wp--preset--color--paper) 88%, transparent);
}
body:not(.paged) .ci-feed > li:first-child .ci-entry__excerpt .wp-block-post-excerpt__excerpt {
	-webkit-line-clamp: 5;
}
body:not(.paged) .ci-feed > li:first-child .wp-block-read-more.ci-entry__more {
	margin-top: 0.75rem;
	padding: 0.8rem 1.4rem;
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}
body:not(.paged) .ci-feed > li:first-child .wp-block-read-more.ci-entry__more:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--terracotta-deep);
}
body:not(.paged) .ci-feed > li:first-child .wp-block-read-more.ci-entry__more:focus-visible {
	outline: 2px solid var(--wp--preset--color--paper);
	outline-offset: 3px;
}

@media (max-width: 781px) {
	.wp-block-post-template.ci-feed {
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--wp--preset--spacing--50);
	}
	body:not(.paged) .ci-feed > li:first-child {
		margin-bottom: 0;
	}
	body:not(.paged) .ci-feed > li:first-child .ci-entry {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}
	body:not(.paged) .ci-feed > li:first-child .wp-block-post-featured-image img {
		aspect-ratio: 3 / 2;
	}
	.ci-entry .wp-block-post-title.ci-entry__title {
		font-size: var(--wp--preset--font-size--large);
	}
}

/*
 * Events. List: the next event with sign-ups in the navy head, the rest
 * as cards three a row (one on phones). Event page: one
 * navy header (cover beside the facts), the text, then the form.
 */
.wp-block-post-template.ci-events {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60) clamp(1.5rem, 4vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ci-events > li {
	display: flex;
	margin: 0;
}
/*
 * Event card: image, then two columns: what (title, subtitle) on the
 * left, when / where / with whom on the right after a hairline; the link
 * underneath. The whole card is the link (the title's link is stretched
 * over it); on hover or keyboard focus it shows as a card on the warm
 * surface. Padding is always there, so nothing moves on hover.
 */
.ci-event-card {
	--ci-format: var(--wp--preset--color--terracotta);
	container-type: inline-size;
	display: flex;
	flex: 1;
	flex-direction: column;
}
/* Visual system, card variant C: a contour in the format colour on the
   white part and a solid tab with icon and word sitting on the image. */
.ci-event-card > .ci-event-card__body {
	position: relative;
	margin-top: 0;
	padding: 1.1rem 1.15rem 1.2rem;
	border: 1.5px solid var(--ci-format);
	border-top: 0;
	border-radius: 0 0 var(--wp--custom--radius--card) var(--wp--custom--radius--card);
	background: var(--wp--preset--color--paper);
	transition: background-color 0.15s ease;
}
.ci-event-card:is(:hover, :focus-within) > .ci-event-card__body {
	background: var(--wp--preset--color--surface);
}
@media (prefers-reduced-motion: reduce) {
	.ci-event-card > .ci-event-card__body {
		transition: none;
	}
}
.ci-event-card__body > .ci-tag.ci-event-card__tag {
	position: absolute;
	top: -27px;
	left: -1.5px;
}
.ci-event-card > *,
.ci-event-card__body > *,
.ci-event-facts--card > * {
	margin-block: 0;
}
.ci-event-card__body {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-areas:
		"title facts"
		"sub facts"
		"guides more";
	grid-template-rows: auto auto 1fr;
	column-gap: 1.5rem;
	align-items: start;
	margin-top: 1rem;
}
/* One hairline the full height of the text, between the columns. */
.ci-event-card__body::before {
	content: "";
	grid-column: 2;
	grid-row: 1 / -1;
	align-self: stretch;
	border-left: 1px solid var(--wp--preset--color--line);
}
/* The date sits on the title's baseline; the link on the guides' baseline. */
.ci-event-card__body > .ci-event-facts--card {
	grid-area: facts;
	align-self: first baseline;
	padding-left: 1.25rem;
}
.ci-event-card__body > .ci-event-card__title {
	grid-area: title;
	align-self: first baseline;
}
.ci-event-card__body > .ci-event-card__subtitle {
	grid-area: sub;
	margin-top: 0.35rem;
}
.ci-event-card__body > .ci-event-card__guides {
	font-family: var(--wp--preset--font-family--brand);
	grid-area: guides;
	align-self: last baseline;
	margin-top: 0.75rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
	hyphens: none;
}
.ci-event-card .wp-block-post-featured-image {
	margin: 0;
}
.ci-event-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card) var(--wp--custom--radius--card) 0 0;
}
.ci-event-facts--card .ci-event-facts__date {
	font-family: var(--wp--preset--font-family--brand);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}
.ci-event-facts--card > * + * {
	margin-top: 0.2rem;
}
.ci-event-card .wp-block-post-title.ci-event-card__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.15;
}
.ci-event-card__title a {
	color: inherit;
	text-decoration: none;
}
.ci-event-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.ci-event-card__title a:focus-visible {
	outline: none;
}
.ci-event-card:has(.ci-event-card__title a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 3px;
	border-radius: var(--wp--custom--radius--card);
}
.ci-event-card__subtitle {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	font-style: italic;
	line-height: 1.3;
}
.ci-event-card__body > .wp-block-read-more.ci-event-card__more {
	font-family: var(--wp--preset--font-family--brand);
	grid-area: more;
	align-self: last baseline;
	justify-self: start;
	margin-left: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--terracotta-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
@container (max-width: 520px) {
	.ci-event-card__body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "title" "sub" "guides" "facts" "more";
		grid-template-rows: none;
	}
	.ci-event-card__body::before {
		display: none;
	}
	.ci-event-card__body > .ci-event-facts--card,
	.ci-event-card__body > .ci-event-card__guides,
	.ci-event-card__body > .wp-block-read-more.ci-event-card__more {
		align-self: start;
	}
	.ci-event-card__body > .ci-event-facts--card {
		margin-top: 0.9rem;
		padding: 0.9rem 0 0;
		border-top: 1px solid var(--wp--preset--color--line);
		border-left: 0;
	}
	.ci-event-card__body > .wp-block-read-more.ci-event-card__more {
		margin-left: 0;
		padding-top: 0.9rem;
	}
}

/*
 * Event page header: one navy block. The cover on the left; on the right
 * the title, subtitle, the facts once (Când, Unde, Cu, Cost in two
 * columns), the sign-up button and the calendar links. Stacked on phones.
 */
.wp-block-group.ci-event-hero {
	padding-block: clamp(1.75rem, 5vw, 3.25rem) clamp(2.25rem, 6vw, 3.75rem);
}
.wp-block-group.ci-event-hero__inner,
.ci-event-hero__inner.ci-events-lead,
.ci-event-hero__inner.ci-explore-lead {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.ci-event-hero__inner:not(:has(.ci-event-hero__image)) {
	grid-template-columns: minmax(0, 1fr);
	max-width: 720px;
}
.ci-event-hero__inner > *,
.ci-event-hero__body > * {
	margin: 0;
}
.ci-event-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 3px;
}
.ci-event-hero .wp-block-post-title.ci-event-hero__title,
.ci-event-hero__body > .ci-event-hero__title {
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 400;
	line-height: 1.1;
}
.ci-event-hero__body > .ci-event-hero__sub {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
}
.ci-event-hero__body > .ci-event-facts {
	margin-top: 1.75rem;
}
.ci-event-hero .ci-event-facts--panel dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	margin: 0;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--paper) 25%, transparent);
}
.ci-event-hero .ci-event-facts--panel dt {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--indigo-tint);
}
.ci-event-hero .ci-event-facts--panel dd {
	margin: 0.15rem 0 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}
/* Phones: one column. "Călătoria Inimii" and "Francisc-Țurcanu" never
   break, and two columns are too narrow for them below ~480px. */
@media (max-width: 30rem) {
	.ci-event-hero .ci-event-facts--panel dl {
		grid-template-columns: minmax(0, 1fr);
	}
}
.ci-event-facts__cta {
	margin: 1.75rem 0 0;
}
.ci-event-facts__cta .wp-element-button {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}
.ci-event-facts__cta .wp-element-button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--terracotta-deep);
	color: var(--wp--preset--color--paper);
}
.ci-event-facts__cta .wp-element-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--paper);
	outline-offset: 3px;
}
.ci-event-facts__over {
	margin: 1.5rem 0 0;
	color: var(--wp--preset--color--indigo-tint);
}
.ci-event-facts__calendar {
	font-family: var(--wp--preset--font-family--brand);
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--indigo-tint);
}
.ci-event-hero .ci-event-facts__calendar a {
	color: var(--wp--preset--color--paper);
}
/* Head of the event list: the page name above the next event. */
.ci-event-hero__body > .ci-events-lead__label {
	margin-bottom: 0.6rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--indigo-tint);
}
.ci-event-hero__title a {
	color: inherit;
	text-decoration: none;
}
.ci-event-hero__title a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
.ci-events-lead__solo {
	margin: 0;
	text-align: center;
}
.wp-block-group.ci-event > .wp-block-post-content > :first-child {
	margin-top: 0;
}
.ci-event__back {
	margin-top: var(--wp--preset--spacing--50);
}

/*
 * Previous / next event at the end of an event page, "Toate evenimentele"
 * between them. Under 600px: the two events side by side, the list link
 * on its own line above them.
 */
.ci-event-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--line);
}
.ci-event-nav__cell {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}
.ci-event-nav__cell--next {
	text-align: right;
}
.ci-event-nav__label {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-event-nav__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}
.ci-event-nav__date {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
a.ci-event-nav__cell:hover .ci-event-nav__title,
a.ci-event-nav__cell:focus-visible .ci-event-nav__title {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.ci-event-nav__all {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	white-space: nowrap;
}
@media (max-width: 599px) {
	.ci-event-nav {
		grid-template-columns: 1fr 1fr;
	}
	.ci-event-nav__all {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}
}

.ci-event-facts--card .ci-event-facts__place {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}

/*
 * Article with the next event beside it: the text column (720px) and a
 * 300px column whose box stays in view while reading. Under 1140px the
 * box moves under the text (before the comments), image beside the words;
 * stacked on phones.
 */
.wp-block-group.ci-article {
	display: grid;
	grid-template-columns: minmax(0, 720px) 300px;
	grid-template-areas: "main side" "comments side";
	grid-template-rows: auto 1fr;
	column-gap: clamp(2.5rem, 5vw, 4.5rem);
	justify-content: center;
}
.ci-article > * {
	margin-block: 0;
}
.ci-article__main {
	grid-area: main;
}
.ci-article__main > * + * {
	margin-block-start: var(--wp--style--block-gap);
}
html.ci-bar-hidden .ci-article > .ci-next-event.ci-article__side {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
}
.ci-article > .ci-comments {
	grid-area: comments;
}
.ci-article > .ci-next-event.ci-article__side {
	grid-area: side;
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ci-bar-h, 64px) + 1.5rem);
	align-self: start;
	transition: top 0.25s ease;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
}
@media (max-width: 1139px) {
	.wp-block-group.ci-article {
		grid-template-columns: minmax(0, 720px);
		grid-template-areas: "main" "side" "comments";
		grid-template-rows: none;
	}
	.ci-article > .ci-next-event.ci-article__side {
		position: static;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	}
}
@media (max-width: 600px) {
	.ci-article > .ci-next-event.ci-article__side {
		grid-template-columns: minmax(0, 1fr);
	}
}

/*
 * Next event box: image, dates, title, place, a button, on the warm
 * surface.
 */
.ci-next-event {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
	margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1.5px solid var(--wp--preset--color--terracotta);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--paper);
}
.ci-next-event:not(:has(.ci-next-event__image)) {
	grid-template-columns: minmax(0, 1fr);
}
.ci-next-event__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 3px;
}
.ci-next-event__body > * {
	margin: 0;
}
.ci-next-event__body > * + * {
	margin-top: 0.4rem;
}
.ci-next-event__label {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-next-event__date {
	font-family: var(--wp--preset--font-family--brand);
	font-weight: 600;
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-next-event__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.25;
}
.ci-next-event__title a {
	color: inherit;
	text-decoration: none;
}
.ci-next-event__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.ci-next-event__meta {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-next-event__body > .ci-next-event__cta {
	margin-top: 0.9rem;
}
.ci-next-event__cta .wp-element-button {
	display: inline-block;
	text-decoration: none;
}
@media (max-width: 600px) {
	.ci-next-event {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Early bird under the cost, "Locuri ocupate", organisational details. */
.ci-early-bird {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	color: var(--wp--preset--color--gold-light);
}
.ci-early-bird strong {
	font-weight: 600;
}
.ci-full {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border: 1px solid currentColor;
	border-radius: 4px;
	line-height: 1.4;
	white-space: nowrap;
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-event-facts--card .ci-full {
	margin-top: 0.4rem;
}
.ci-event-hero .ci-full {
	padding: 0.6rem 1rem;
	color: var(--wp--preset--color--paper);
}
.ci-event-facts__cta .ci-event-facts__ask {
	margin-left: 1rem;
	color: var(--wp--preset--color--paper);
}
.ci-event-details {
	margin-top: var(--wp--preset--spacing--50);
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--terracotta-tint);
}
.ci-event-details__title {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--terracotta);
}
.ci-event-details__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ci-event-details__list li + li {
	margin-top: 0.5rem;
}
.ci-event-details__more {
	margin: 1rem 0 0;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}
.ci-event-details__more a {
	color: var(--wp--preset--color--terracotta);
	text-decoration: none;
}
.ci-event-details__more a:hover {
	text-decoration: underline;
}

/* Event form */
.ci-event-form {
	scroll-margin-top: 6rem;
	margin-top: var(--wp--preset--spacing--60);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border-radius: var(--wp--custom--radius--card);
	background: var(--wp--preset--color--surface);
}
.ci-event-form > *,
.ci-event-form form > * {
	margin-block: 0;
}
.ci-event-form > * + *,
.ci-event-form form > * + * {
	margin-top: 1.1rem;
}
.ci-event-form__title {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 400;
}
.ci-event-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.1rem 1rem;
}
.ci-event-form__row > * {
	margin: 0;
}
.ci-event-form__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1.25rem;
}
.ci-event-form__head > * {
	margin: 0;
}
.ci-event-form__price {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--large);
	white-space: nowrap;
}
.ci-event-form__price del {
	margin-right: 0.5rem;
	font-size: 0.7em;
	color: var(--wp--preset--color--ink-muted);
	text-decoration-thickness: 1.5px;
}
.ci-event-form__price ins {
	text-decoration: none;
	font-weight: 700;
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-event-form > .ci-event-form__offer {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
}
.ci-event-form__offer-tag {
	display: inline-block;
	margin-right: 0.4rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: var(--wp--preset--color--terracotta-tint);
	color: var(--wp--preset--color--terracotta-deep);
	font-weight: 700;
	font-size: 0.85em;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.ci-event-form__field label {
	font-family: var(--wp--preset--font-family--brand);
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}
.ci-event-form__optional {
	font-family: var(--wp--preset--font-family--brand);
	font-weight: 400;
	color: var(--wp--preset--color--ink-muted);
}
.ci-event-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea) {
	box-sizing: border-box;
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink-muted) 45%, transparent);
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--paper);
	font: inherit;
	color: var(--wp--preset--color--ink);
}
.ci-event-form ::placeholder {
	color: var(--wp--preset--color--ink-muted);
	opacity: 0.7;
}
.ci-event-form__note {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-event-form :is(input, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--indigo);
	outline-offset: 1px;
}
.ci-event-form__consent {
	font-family: var(--wp--preset--font-family--brand);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.6rem;
	align-items: start;
	font-size: var(--wp--preset--font-size--small);
}
.ci-event-form__consent input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.15rem 0 0;
}
.ci-event-form__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.ci-event-form__notice {
	padding: 0.9rem 1.1rem;
	border-radius: var(--wp--custom--radius--button);
}
.ci-event-form__notice--ok {
	background: var(--wp--preset--color--gold-tint);
}
.ci-event-form__notice--error {
	background: var(--wp--preset--color--terracotta-tint);
}

@media (max-width: 781px) {
	.wp-block-post-template.ci-events,
	.wp-block-group.ci-event-hero__inner,
	.ci-event-hero__inner.ci-events-lead,
	.ci-event-hero__inner.ci-explore-lead {
		grid-template-columns: minmax(0, 1fr);
	}
}

/*
 * Pagination under post lists: newer on the left, page numbers in the
 * middle as round 44px targets (the current one filled), older on the
 * right. On phones the numbers take their own row above the two buttons.
 */
.wp-block-query-pagination.ci-pagination {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-areas: "prev nums next";
	align-items: center;
	gap: 1rem;
	margin-top: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--line);
}
.ci-pagination > * {
	margin: 0 !important;
}
.ci-pagination .wp-block-query-pagination-previous {
	grid-area: prev;
	justify-self: start;
}
.ci-pagination .wp-block-query-pagination-next {
	grid-area: next;
	justify-self: end;
}
.ci-pagination .wp-block-query-pagination-numbers {
	grid-area: nums;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
}
.ci-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0 0.4rem;
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.ci-pagination a.page-numbers:hover,
.ci-pagination a.page-numbers:focus-visible {
	background: var(--wp--preset--color--indigo-tint);
}
.ci-pagination .page-numbers.current {
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--paper);
	font-weight: 600;
}
.ci-pagination .page-numbers.dots {
	min-width: 1.5rem;
	padding: 0;
}
.ci-pagination :is(.wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink-muted) 45%, transparent);
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	white-space: nowrap;
}
.ci-pagination :is(.wp-block-query-pagination-previous, .wp-block-query-pagination-next):hover {
	border-color: var(--wp--preset--color--indigo);
}
.ci-pagination :is(.wp-block-query-pagination-previous-arrow, .wp-block-query-pagination-next-arrow) {
	margin: 0;
}
@media (max-width: 600px) {
	.wp-block-query-pagination.ci-pagination {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "nums nums" "prev next";
	}
}

/* Comments: a rule between them, replies indented. */
.ci-comments {
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--line);
}
.ci-comments .wp-block-comment-template {
	padding: 0;
	list-style: none;
}
.ci-comments .wp-block-comment-template ol {
	padding-inline-start: clamp(1rem, 4vw, 2.5rem);
	list-style: none;
}
.ci-comment {
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ci-comment > * {
	margin-block: 0;
}
.ci-comment > * + * {
	margin-top: 0.5rem;
}
.ci-comment .wp-block-comment-reply-link {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
}
.ci-comments .comment-respond {
	margin-top: var(--wp--preset--spacing--50);
}
.ci-postlist .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}
.ci-postlist .wp-block-post-title a:hover {
	color: var(--wp--preset--color--terracotta);
}

/*
 * 4. Buttons: everything clickable is terracotta, solid or white with a
 * terracotta border. Buttons saved with the old gold or green styles get
 * the default.
 */

.wp-element-button {
	cursor: pointer;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	padding: 0.8rem 1.25rem;
	border: 0;
	background: var(--wp--preset--color--paper);
	box-shadow: inset 0 0 0 1.5px currentColor;
	color: var(--wp--preset--color--terracotta);
}
.wp-block-button.is-style-outline .wp-block-button__link:is(:hover, :focus, :active) {
	background: var(--wp--preset--color--terracotta-tint);
	color: var(--wp--preset--color--terracotta-deep);
}

/* 5. Cercul (blocks of the cercul plugin) */

.cercul-subscribe {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-block: 1.75rem 1rem;
}
.cercul-subscribe.aligncenter {
	justify-content: center;
}
.cercul-subscribe .wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}
.cercul-subscribe .wp-element-button:is(:hover, :focus, :active) {
	background: var(--wp--preset--color--terracotta-deep);
}
.cercul-subscribe .wp-element-button::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--ci-cerc-icon) center / contain no-repeat;
	mask: var(--ci-cerc-icon) center / contain no-repeat;
	--ci-cerc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.cercul-subscribe {
	gap: 0.75rem 1.5rem;
}
.cercul-subscribe__price {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}
.cercul-subscribe__price strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--gold-text);
}
.ci-section .cercul-tree {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--wp--preset--color--gold-light);
	border-radius: var(--wp--custom--radius--panel);
	background: var(--wp--preset--color--paper);
	box-shadow: 0 0.5rem 1.5rem rgba(94, 83, 61, 0.08);
	font-size: 1rem;
}
/* The month as a solid Cerc tab, its theme as the title, the weeks under gold rules. */
.ci-section .cercul-tree .cercul-tree__month-title {
	display: inline-block;
	margin-bottom: 0.6rem;
	padding: 0.3rem 0.7rem;
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--indigo);
	color: var(--wp--preset--color--paper);
}
.ci-section .cercul-tree .cercul-tree__theme {
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--xx-large);
	color: var(--wp--preset--color--indigo);
}
.ci-section .cercul-tree .cercul-tree__week-title {
	font-family: var(--wp--preset--font-family--brand);
	margin-bottom: 0.5rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid var(--wp--preset--color--gold-light);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}
.ci-section .cercul-tree .cercul-tree__week ul {
	padding-left: 0;
	border-left: 0;
}
.ci-section .cercul-tree .cercul-tree__lesson {
	color: var(--wp--preset--color--ink);
}
/* A month takes the full width; its weeks sit side by side as columns. */
.ci-section .cercul-tree .cercul-tree__month + .cercul-tree__month {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--gold-light);
}
.ci-section .cercul-tree .cercul-tree__weeks {
	margin-top: 0.75rem;
}
/* Each week of the month has its own column, the same one in every month. */
@media (min-width: 480px) {
	.ci-section .cercul-tree .cercul-tree__weeks {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1.5rem;
	}
	.ci-section .cercul-tree .cercul-tree__week + .cercul-tree__week {
		margin-top: 0;
	}
	.ci-section .cercul-tree .cercul-tree__week--1,
	.ci-section .cercul-tree .cercul-tree__week--3 {
		grid-column: 1;
	}
	.ci-section .cercul-tree .cercul-tree__week--2,
	.ci-section .cercul-tree .cercul-tree__week--4 {
		grid-column: 2;
	}
}
@media (min-width: 782px) {
	.ci-section .cercul-tree .cercul-tree__weeks {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.ci-section .cercul-tree .cercul-tree__week--3 {
		grid-column: 3;
	}
	.ci-section .cercul-tree .cercul-tree__week--4 {
		grid-column: 4;
	}
}
/* The tree and the way in share one card: the tree, then the invitation at its foot. */
.ci-section .ci-tree-card {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--gold-light);
	border-radius: var(--wp--custom--radius--panel);
	background: var(--wp--preset--color--paper);
	box-shadow: 0 0.5rem 1.5rem rgba(94, 83, 61, 0.08);
}
.ci-section .ci-tree-card > * {
	margin-block: 0;
}
.ci-section .ci-tree-card .cercul-tree {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.ci-section .ci-tree-card__cta {
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
	border-top: 1px solid var(--wp--preset--color--gold-light);
	text-align: center;
}
.ci-section .ci-tree-card__cta > * {
	margin-block: 0;
}
.ci-section .ci-tree-card__cta > * + * {
	margin-top: 0.75rem;
}
.ci-section .ci-tree-card__cta .cercul-subscribe {
	justify-content: center;
	margin-top: 1.25rem;
}
/* A quiet word about the payment, under the button; not for members, who see no button to pay. */
.ci-pay-note {
	font-family: var(--wp--preset--font-family--brand);
	font-size: 0.8rem;
	color: var(--wp--preset--color--ink-muted);
}
.ci-pay-note::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	margin-right: 0.4em;
	vertical-align: -0.12em;
	background: currentColor;
	opacity: 0.7;
	-webkit-mask: url("../images/stripe.svg") center / contain no-repeat;
	mask: url("../images/stripe.svg") center / contain no-repeat;
}
.cercul-subscribe:not(form) + .ci-pay-note {
	display: none;
}
.ci-section .cercul-tree .cercul-tree__empty {
	margin: 0;
	color: var(--wp--preset--color--ink-muted);
}
.wp-block-group.cercul-layout {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--60);
}

/* 6. Footer */

/* The short footer of the Cercul member area: the legal line alone. */
.ci-footer--slim .ci-footer__legal {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* Indigo, the deepest colour of the page; text in paper and light gold. */
.ci-footer a {
	color: inherit;
}
.ci-footer__main {
	gap: 1.5rem 2.5rem;
}
.ci-footer__mark {
	margin: 0;
}
.ci-footer__names {
	margin: 0;
	font-family: var(--wp--preset--font-family--brand);
	line-height: 1.35;
	color: var(--wp--preset--color--gold-light);
}
.ci-footer__support p {
	margin: 0;
	font-weight: 600;
}
/* The hand holding a heart, as in the header, before "Donează". */
.ci-footer__support .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.ci-footer__support .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.25em;
	height: 1.25em;
	background: currentColor;
	-webkit-mask: var(--ci-donate-icon) center / contain no-repeat;
	mask: var(--ci-donate-icon) center / contain no-repeat;
	--ci-donate-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 14h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16'/%3E%3Cpath d='M7 20l1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9'/%3E%3Cpath d='M2 15l6 6'/%3E%3Cpath d='M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12z'/%3E%3C/svg%3E");
}
.ci-footer__legal {
	gap: 0.5rem 2rem;
	margin-block: var(--wp--preset--spacing--40) 0;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.8);
}
.ci-footer__legal p {
	margin: 0;
}
.ci-footer__legal a:not(.ci-footer__pay a) {
	white-space: nowrap;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 0.2em;
}
.ci-footer__legal a:not(.ci-footer__pay a):hover {
	color: var(--wp--preset--color--gold-light);
	text-decoration-color: currentColor;
}
.ci-footer__trust {
	gap: 0.75rem 1.5rem;
}
.ci-footer__sal {
	margin: 0;
}
.ci-footer__sal img {
	display: block;
	border-radius: 4px;
}
/* The Stripe mark before the sentence about card payments. */
.ci-footer__pay::before {
	content: "";
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	margin-right: 0.5em;
	vertical-align: -0.2em;
	background: currentColor;
	-webkit-mask: url("../images/stripe.svg") center / contain no-repeat;
	mask: url("../images/stripe.svg") center / contain no-repeat;
}
.ci-footer__pay a {
	font-weight: 600;
	color: var(--wp--preset--color--paper);
}

/* Text for screen readers and search only. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

/*
 * Format tags: icon and word, white on terracotta (one colour for all formats).
 * Every card has one; on navy heads and in boxes it is a small chip.
 */
.ci-format--in-persoana {
	--ci-format: var(--wp--preset--color--terracotta);
}
.ci-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 27px;
	padding: 0 10px;
	border-radius: 4px 4px 0 0;
	background: var(--ci-format, var(--wp--preset--color--terracotta));
	color: var(--wp--preset--color--paper);
	line-height: 1;
	white-space: nowrap;
}
.ci-tag svg {
	flex: none;
}
.ci-tag.ci-tag--chip {
	align-self: flex-start;
	justify-self: start;
	width: max-content;
	border-radius: 4px;
}
.ci-event-hero__body > .ci-tag--chip {
	margin-bottom: 0.9rem;
}
.ci-event-hero__body > .ci-tag--chip + .ci-events-lead__label {
	margin-top: 0;
}
.ci-next-event__body > .ci-tag--chip {
	margin-bottom: 0.25rem;
}

/*
 * Tabs above post lists: Articole · Video · Podcast · Noutăți. Light text
 * on the navy band; the current one underlined in light gold, as in the
 * main menu.
 */
.ci-feed-tabs {
	margin-top: 1.25rem;
}
/* Padding, not margin: the band has no bottom padding here, so a margin
   would leak out of it as a white strip above the lead post. */
body.ci-feed-lead .ci-feed-tabs {
	margin-top: 0;
	padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
}
.ci-feed-tabs ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem clamp(1.25rem, 4vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ci-feed-tabs a {
	font-family: var(--wp--preset--font-family--brand);
	display: block;
	padding: 0.5rem 0.1rem;
	border-bottom: 2px solid transparent;
	color: var(--wp--preset--color--indigo-tint);
	font-weight: 600;
	text-decoration: none;
}
.ci-feed-tabs a:hover {
	color: var(--wp--preset--color--paper);
}
.ci-feed-tabs a[aria-current="page"] {
	border-bottom-color: var(--wp--preset--color--gold-light);
	color: var(--wp--preset--color--paper);
}

/*
 * Explorează: the latest article in the navy head (under the tabs), then
 * Articole (three cards), Video (one large beside two small, on the warm
 * band), Podcast (episode rows) beside Noutăți (date and title). Free
 * content, so links and buttons are green.
 */
.ci-explore-head .ci-feed-tabs {
	margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}
.ci-explore-lead .ci-event-hero__image img {
	aspect-ratio: 4 / 3;
}
.ci-event-hero__body > .ci-explore__byline {
	margin-top: 0.9rem;
	color: var(--wp--preset--color--indigo-tint);
}
.ci-event-hero__body > .ci-explore-lead__excerpt {
	margin-top: 1rem;
	color: color-mix(in srgb, var(--wp--preset--color--paper) 88%, transparent);
}
.ci-event-hero__body > .ci-explore-lead__cta {
	margin-top: 1.5rem;
}
.ci-explore-lead__cta .wp-element-button {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
	text-decoration: none;
}
.ci-explore-lead__cta .wp-element-button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--terracotta-deep);
}

.ci-explore ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ci-explore :is(h2, h3, p) {
	margin: 0;
}
.ci-explore :is(h3) a {
	color: inherit;
	text-decoration: none;
}
.ci-explore :is(h3) a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
.ci-explore__section + .ci-explore__section,
.ci-explore__section + .ci-explore__pair {
	margin-top: var(--wp--preset--spacing--70);
}
.ci-explore__pair > .ci-explore__section {
	margin-top: 0;
}
.ci-explore__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ci-explore__head h2 {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 400;
	line-height: 1.15;
}
.ci-explore__more {
	font-family: var(--wp--preset--font-family--brand);
	font-weight: 600;
	color: var(--wp--preset--color--terracotta);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.ci-explore__more:hover {
	color: var(--wp--preset--color--terracotta-deep);
	text-decoration-thickness: 2px;
}
.ci-explore__byline {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-explore__byline > span + span::before {
	content: "·";
	margin-inline: 0.5em;
}
.ci-explore__noimage {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--wp--preset--color--surface);
}
.ci-explore img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card);
}

/* Articole: three cards. */
.ci-explore-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60) clamp(1.5rem, 3vw, 2.5rem);
}
.ci-explore-card__image img,
.ci-explore-card__image .ci-explore__noimage {
	aspect-ratio: 3 / 2;
}
.ci-explore-card__title {
	margin-top: 1rem !important;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.2;
}
.ci-explore-card__sub {
	margin-top: 0.35rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	line-height: 1.35;
}
.ci-explore-card .ci-explore__byline {
	margin-top: 0.6rem;
}

/* Video: the warm band, one large beside two small, a play mark on each. */
.ci-explore__section--video {
	padding-block: var(--wp--preset--spacing--60);
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--surface);
	clip-path: inset(0 -100vmax);
}
.ci-explore__section--video .ci-explore__head {
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
}
.ci-explore-videos {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
}
.ci-explore-video--main {
	grid-row: 1 / span 2;
}
.ci-explore-video__image {
	position: relative;
	display: block;
}
.ci-explore-video__image img,
.ci-explore-video__image .ci-explore__noimage {
	aspect-ratio: 16 / 9;
}
.ci-explore-video__play {
	position: absolute;
	inset: 50% auto auto 50%;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding-left: 3px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
	color: var(--wp--preset--color--paper);
	transform: translate(-50%, -50%);
	transition: background-color 0.15s ease;
}
.ci-explore-video--main .ci-explore-video__play {
	width: 72px;
	height: 72px;
}
.ci-explore-video--main .ci-explore-video__play svg {
	width: 30px;
	height: 30px;
}
.ci-explore-video:hover .ci-explore-video__play {
	background: var(--wp--preset--color--terracotta);
}
@media (prefers-reduced-motion: reduce) {
	.ci-explore-video__play {
		transition: none;
	}
}
.ci-explore-video__body {
	margin-top: 0.9rem;
}
.ci-explore-video__body > * + * {
	margin-top: 0.45rem !important;
}
.ci-explore-video__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.25;
}
.ci-explore-video--main .ci-explore-video__title {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.15;
}

/* Podcast beside Noutăți. */
.ci-explore__pair {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--wp--preset--spacing--60) clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.ci-explore-episode {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 1.1rem;
	align-items: center;
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ci-explore-episode:first-child {
	padding-top: 0;
}
.ci-explore-episode__image img,
.ci-explore-episode__image .ci-explore__noimage {
	aspect-ratio: 1;
	border-radius: 4px;
}
.ci-explore-episode__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.25;
}
.ci-explore-episode__meta {
	font-family: var(--wp--preset--font-family--brand);
	margin-top: 0.35rem !important;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-explore-episode__listen {
	font-family: var(--wp--preset--font-family--brand);
	font-weight: 600;
	color: var(--wp--preset--color--terracotta);
}
.ci-explore-news > li {
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.ci-explore-news > li:first-child {
	padding-top: 0;
}
.ci-explore-news__date {
	font-family: var(--wp--preset--font-family--brand);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}
.ci-explore-news__title {
	margin-top: 0.25rem !important;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.25;
}

@media (max-width: 1000px) {
	.ci-explore-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ci-explore-cards > :nth-child(3) {
		display: none;
	}
}
@media (max-width: 781px) {
	.ci-explore-cards,
	.ci-explore-videos,
	.ci-explore__pair {
		grid-template-columns: minmax(0, 1fr);
	}
	.ci-explore-cards > :nth-child(3) {
		display: block;
	}
	.ci-explore-video--main {
		grid-row: auto;
	}
	.ci-explore-episode {
		grid-template-columns: 72px minmax(0, 1fr);
	}
}


/*
 * Despre noi: the title band with the page's own links (the menu's old
 * anchors #despre, #centrul, #fondatori still land), the Fundația's three
 * pillars, the Școala on indigo, the Centrul as a picture band with its
 * dimensions in a card, the founders' photograph and letter.
 */
.ci-landing > [id] {
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
}
.wp-block-group.ci-about-head {
	padding-bottom: 2rem;
}
.ci-pagenav {
	font-family: var(--wp--preset--font-family--brand);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
	margin-block: 1.5rem 0;
	font-size: var(--wp--preset--font-size--small);
}
.ci-pagenav a {
	color: var(--wp--preset--color--indigo-tint);
	text-decoration: none;
}
.ci-pagenav a:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--paper);
	text-decoration: underline;
	text-underline-offset: 0.3em;
}
.ci-eyebrow {
	margin-block: 0 0.5rem;
	color: var(--wp--preset--color--terracotta-deep);
}
:is(.ci-about-pillars-section, .ci-about-school, .ci-about-letter, .ci-page-contact) > .wp-block-heading.has-text-align-center {
	margin-bottom: 2rem;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.2;
}
.wp-block-columns.ci-pillars {
	gap: var(--wp--preset--spacing--50);
}
.ci-pillars > .wp-block-column {
	padding-top: 1.25rem;
	border-top: 2px solid var(--wp--preset--color--gold-light);
}
.ci-pillars .wp-block-heading {
	margin-block: 0 0.75rem;
	font-size: var(--wp--preset--font-size--large);
}
.ci-pillars p {
	margin: 0;
	line-height: 1.65;
}
.ci-lead.ci-about-closing {
	margin-block: var(--wp--preset--spacing--50) 0;
}
.ci-about-school > * {
	max-width: 760px;
}
.ci-about-school p {
	line-height: 1.65;
}
.ci-about-school .wp-block-buttons {
	justify-content: center;
	margin-top: 2rem;
}
.ci-about-centre .wp-block-heading.ci-about-centre__title {
	margin-block: 0 1.25rem;
	color: var(--wp--preset--color--gold-light);
}
.wp-block-group.ci-about-card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--wp--custom--radius--panel);
}
.ci-about-card .wp-block-heading {
	margin-block: 0 0.5rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
}
.ci-about-card .ci-checklist {
	margin-bottom: 0;
}
.ci-story .wp-block-buttons {
	margin-top: 1.75rem;
}
.ci-about-letter .ci-eyebrow + .wp-block-heading {
	margin-top: 0;
}
.wp-block-image.ci-about-founders {
	max-width: 1000px;
	margin-block: 0 var(--wp--preset--spacing--60);
}
.ci-about-founders img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--panel);
}
.ci-about-letter .ci-about-letter__title {
	margin-block: 0 0.5rem;
	font-size: var(--wp--preset--font-size--large);
}
.ci-about-letter .ci-lead {
	margin-block: 0 1.5rem;
	color: var(--wp--preset--color--terracotta-deep);
}
.ci-about-letter p:not(.ci-lead):not(.ci-eyebrow) {
	line-height: 1.7;
}

/*
 * Pages built from bands (template "Pagină din benzi"), such as the
 * one-on-one sessions: an eyebrow and an introduction in the title band,
 * a photograph under it, the contact form in a section of its own.
 */
.ci-titleband .ci-eyebrow {
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--gold-light);
}
.ci-titleband__intro {
	max-width: 46em;
	margin: 1.25rem auto 0;
	line-height: 1.6;
}
.ci-page-photo .wp-block-image.ci-about-founders {
	margin-bottom: 0;
}
.ci-page-contact > p {
	line-height: 1.6;
}
.ci-page-contact .ci-contact-form {
	margin-top: 2rem;
}
/* On a light-grey band the form's own grey card turns white. */
.ci-page-contact.has-surface-background-color .ci-event-form {
	background: var(--wp--preset--color--paper);
}

/*
 * Type roles (client feedback, 2026-11-24): two families.
 * Lora for headings and reading text; Montserrat for the interface
 * (menu, buttons, meta lines, labels). Uppercase only on labels.
 */
.ci-footer,
.wp-block-search,
.ci-pagination,
.wp-block-post-navigation-link,
.wp-block-query-pagination {
	font-family: var(--wp--preset--font-family--brand);
}
.ci-label,
.ci-eyebrow,
.ci-tag,
.ci-full,
.ci-about-centre .wp-block-heading.ci-about-centre__title,
body:not(.paged) .ci-feed > li:first-child .ci-entry__body > .ci-feed__label,
.ci-event-hero__body > .ci-events-lead__label,
.ci-event-hero .ci-event-facts--panel dt,
.ci-event-nav__label,
.ci-next-event__label {
	font-family: var(--wp--preset--font-family--brand);
	font-size: 0.75rem;
	font-weight: 600;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
strong,
b {
	font-weight: 600;
}
/* Content saved before the type change may carry the old preset classes. */
.has-x-large-font-size {
	font-size: var(--wp--preset--font-size--large) !important;
}
.has-body-font-family {
	font-family: var(--wp--preset--font-family--heading) !important;
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
}
:is(.has-indigo-background-color, .has-terracotta-background-color) .wp-block-button.is-style-outline .wp-block-button__link:is(:hover, :focus, :active) {
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--paper);
}
