/* ==========================================================================
   Consulid — main stylesheet
   Brand: green #32a68c, orange #ee7d00, Comfortaa. Colours are overridable
   from the Customizer (--c-primary / --c-accent); the darker "ink" variants
   used for text and buttons are derived so they keep AA contrast on white.
   ========================================================================== */

:root {
	--c-primary: #32a68c;
	--c-accent: #ee7d00;
	--c-primary-ink: color-mix(in srgb, var(--c-primary) 72%, #000);
	--c-accent-ink: color-mix(in srgb, var(--c-accent) 70%, #000);
	--c-primary-tint: color-mix(in srgb, var(--c-primary) 12%, #fff);
	--c-accent-tint: color-mix(in srgb, var(--c-accent) 12%, #fff);

	--c-text: #26343b;
	--c-muted: #5a6a72;
	--c-bg: #fff;
	--c-surface: #f3f8f6;
	--c-border: #e1e9e6;
	--c-dark: #1b2529;

	--f-heading: 'Comfortaa', ui-rounded, system-ui, sans-serif;
	--f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgb(16 40 36 / .06), 0 8px 24px rgb(16 40 36 / .06);
	--shadow-hover: 0 2px 4px rgb(16 40 36 / .08), 0 16px 40px rgb(16 40 36 / .12);

	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 80px;
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */

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

html {
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--f-heading);
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-text);
	margin: 0 0 .6em;
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); }
h4 { font-size: 1.1rem; }

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

a {
	color: var(--c-primary-ink);
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--c-accent-ink);
}

:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

address {
	font-style: normal;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -.2em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--c-dark);
	color: #fff;
	border-radius: 0 0 10px 10px;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 840px;
}

/* --------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .75em 1.4em;
	border: 2px solid var(--c-primary-ink);
	border-radius: 999px;
	background: var(--c-primary-ink);
	color: #fff;
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}

.btn:hover,
.wp-block-button__link:hover {
	background: color-mix(in srgb, var(--c-primary-ink) 82%, #000);
	border-color: color-mix(in srgb, var(--c-primary-ink) 82%, #000);
	color: #fff;
}

.btn .icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform .2s;
}

.btn:hover .icon-arrow {
	transform: translateX(3px);
}

.btn--accent {
	background: var(--c-accent-ink);
	border-color: var(--c-accent-ink);
}

.btn--accent:hover {
	background: color-mix(in srgb, var(--c-accent-ink) 82%, #000);
	border-color: color-mix(in srgb, var(--c-accent-ink) 82%, #000);
}

.btn--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--c-primary-ink);
}

.btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--c-primary-ink);
	color: #fff;
}

.btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--c-primary-ink);
}

.btn--light:hover {
	background: var(--c-accent-tint);
	border-color: var(--c-accent-tint);
	color: var(--c-accent-ink);
}

.btn--large {
	font-size: 1.1rem;
	padding: .9em 1.7em;
}

/* --------------------------------------------------------------------------
   Top bar + header
   ----------------------------------------------------------------------- */

.topbar {
	display: none;
	border-bottom: 1px solid var(--c-border);
	font-size: .875rem;
	color: var(--c-muted);
}

@media (min-width: 720px) {
	.topbar {
		display: block;
	}
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
}

.topbar__univ img {
	height: 34px;
	width: auto;
}

.topbar__right {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
}

.topbar__email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--c-muted);
	text-decoration: none;
}

.topbar__email:hover {
	color: var(--c-primary-ink);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow .25s;
}

/* The frosted background sits on a pseudo-element: a backdrop-filter on the
   header itself would become the containing block of the fixed mobile menu
   and shrink it to the header's size. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(255 255 255 / .92);
	backdrop-filter: saturate(1.6) blur(12px);
	-webkit-backdrop-filter: saturate(1.6) blur(12px);
}

.nav-open .site-header::before {
	background: #fff;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--c-border), 0 8px 24px rgb(16 40 36 / .06);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand img {
	height: 48px;
	width: auto;
	transition: height .25s;
}

.is-scrolled .brand img {
	height: 40px;
}

/* Navigation — desktop */

.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-family: var(--f-heading);
	font-weight: 700;
	font-size: .98rem;
	color: var(--c-text);
	text-decoration: none;
	border-radius: 999px;
}

.site-nav .menu > li:not(.cta-primary):not(.cta-accent) > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--c-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s;
}

.site-nav .menu > li > a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--c-primary-ink);
}

/* Menu items with CSS class "cta-accent" / "cta-primary" (Apparence > Menus). */
.site-nav .cta-accent > a,
.site-nav .cta-primary > a {
	border: 2px solid var(--c-accent);
	padding: 8px 18px;
	margin-left: 6px;
}

.site-nav .cta-primary > a {
	border-color: var(--c-primary);
}

.site-nav .cta-accent > a:hover,
.site-nav .cta-accent.current-menu-item > a {
	background: var(--c-accent-ink);
	border-color: var(--c-accent-ink);
	color: #fff;
}

.site-nav .cta-primary > a:hover,
.site-nav .cta-primary.current-menu-item > a {
	background: var(--c-primary-ink);
	border-color: var(--c-primary-ink);
	color: #fff;
}

/* Sub-menus (desktop) */
.site-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
}

@media (min-width: 960px) {
	.site-nav .menu-item-has-children {
		position: relative;
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: #fff;
		border-radius: var(--radius-sm);
		box-shadow: var(--shadow-hover);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

.nav-toggle {
	display: none;
}

/* Navigation — mobile */

@media (max-width: 959px) {
	.nav-toggle {
		display: inline-grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border: 0;
		border-radius: 12px;
		background: var(--c-primary-tint);
		color: var(--c-primary-ink);
		cursor: pointer;
	}

	.nav-toggle__bars {
		position: relative;
		display: block;
		width: 22px;
		height: 16px;
	}

	.nav-toggle__bars span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform .25s, opacity .2s, top .25s;
	}

	.nav-toggle__bars span:nth-child(1) { top: 0; }
	.nav-toggle__bars span:nth-child(2) { top: 7px; }
	.nav-toggle__bars span:nth-child(3) { top: 14px; }

	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

	.site-nav {
		position: fixed;
		/* --nav-top is the header's bottom edge, measured in main.js. */
		inset: var(--nav-top, var(--header-h)) 0 0;
		z-index: 99;
		overscroll-behavior: contain;
		padding: 16px var(--gutter) 40px;
		background: #fff;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.site-nav a {
		padding: 14px 16px;
		font-size: 1.15rem;
		border-radius: var(--radius-sm);
	}

	.site-nav .menu > li > a::after {
		display: none;
	}

	.site-nav .current-menu-item > a {
		background: var(--c-primary-tint);
	}

	.site-nav .cta-accent > a,
	.site-nav .cta-primary > a {
		margin: 8px 0 0;
		text-align: center;
		border-radius: 999px;
	}

	.site-nav .sub-menu {
		padding: 0 0 0 16px;
	}
}

/* --------------------------------------------------------------------------
   Home slider
   ----------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--c-primary-ink);
}

.hero__track {
	display: grid;
}

.hero__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility .8s;
}

.hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero__media {
	aspect-ratio: 2880 / 845;
	overflow: hidden;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__slide.is-active .hero__media img {
	animation: hero-zoom 12s ease-out both;
}

@keyframes hero-zoom {
	from { transform: scale(1.04); }
	to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide { transition: none; }
	.hero__slide.is-active .hero__media img { animation: none; }
}

.hero__caption {
	color: #fff;
	background: var(--c-primary-ink);
	padding: 28px 0 88px;
}

.hero__caption-inner {
	max-width: 600px;
}

.hero__title {
	color: #fff;
	font-size: clamp(1.6rem, 1rem + 1.8vw, 2.5rem);
	margin-bottom: .4em;
}

.hero__text {
	font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
	opacity: .95;
}

@media (min-width: 900px) {
	.hero__caption {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: flex-end;
		padding: 0 0 clamp(72px, 7vw, 96px);
		background: linear-gradient(90deg, rgb(20 60 52 / .45), rgb(20 60 52 / .15) 45%, transparent 65%);
	}

	.hero__slide--right .hero__caption {
		background: linear-gradient(270deg, rgb(20 60 52 / .45), rgb(20 60 52 / .15) 45%, transparent 65%);
	}

	.hero__slide--right .hero__caption-inner {
		margin-left: auto;
	}

	.hero__title,
	.hero__text {
		text-shadow: 0 2px 16px rgb(0 0 0 / .25);
	}

	.hero__slide:not(.hero__slide--caption) .hero__media {
		/* Illustrations with text baked in are never cropped. */
		aspect-ratio: 2880 / 845;
	}
}

.hero__controls {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: rgb(0 0 0 / .28);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 999px;
}

.hero__arrow,
.hero__pause {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.hero__arrow:hover,
.hero__pause:hover {
	background: rgb(255 255 255 / .2);
}

.hero__dots {
	display: flex;
	gap: 8px;
	padding-inline: 4px;
}

.hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / .55);
	cursor: pointer;
	transition: width .3s, background-color .3s;
}

.hero__dot[aria-current="true"] {
	width: 28px;
	background: #fff;
}

.hero__pause-icon {
	width: 10px;
	height: 12px;
	border-inline: 3px solid currentColor;
}

.hero__pause.is-paused .hero__pause-icon {
	width: 0;
	height: 0;
	border-inline: 0;
	border-left: 11px solid currentColor;
	border-block: 7px solid transparent;
	margin-left: 3px;
}

@media (max-width: 899px) {
	.hero__slide:not(.hero__slide--caption) {
		/* Leave room for the controls under image-only slides. */
		background: var(--c-primary-ink);
		padding-bottom: 64px;
	}
}

/* --------------------------------------------------------------------------
   Page title banner (dotted pattern with thin orange rules, as on the old site)
   ----------------------------------------------------------------------- */

.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 80px);
	background: #fff;
	border-block: 1px solid color-mix(in srgb, var(--c-accent) 35%, transparent);
}

/* Dotted pattern from the original site, kept on the right-hand side. */
.page-hero::after {
	content: "";
	position: absolute;
	inset: 22% 0 22% 55%;
	background: url("../img/page-title-pattern.jpg") no-repeat right var(--gutter) center / contain;
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
}

.page-hero__inner > * {
	max-width: 54%;
}

@media (max-width: 719px) {
	.page-hero__inner > * {
		max-width: none;
	}
}

.page-hero__eyebrow {
	margin: 0 0 .6em;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-primary-ink);
}

.page-hero__title {
	margin: 0;
	color: var(--c-accent-ink);
}

.page-hero__lead {
	max-width: 640px;
	margin: .9em 0 0;
	font-size: 1.15rem;
	color: var(--c-muted);
}

@media (max-width: 719px) {
	.page-hero {
		padding-bottom: 88px;
	}

	.page-hero::after {
		inset: auto 0 16px 15%;
		height: 48px;
	}
}

/* --------------------------------------------------------------------------
   Sections
   ----------------------------------------------------------------------- */

.section {
	padding-block: clamp(48px, 7vw, 96px);
}

.section--tight {
	padding-block: clamp(32px, 4vw, 56px) 0;
}

.section--tight + .section--surface {
	margin-top: clamp(32px, 4vw, 56px);
}

.section--surface {
	background: var(--c-surface);
}

.section-header {
	max-width: 720px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	text-align: center;
}

.section-header--left {
	margin-left: 0;
	text-align: left;
}

.section-header h2 {
	margin: 0;
}

.section-header__eyebrow {
	margin: 0 0 .5em;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-accent-ink);
}

.section-footer {
	margin: clamp(28px, 4vw, 44px) 0 0;
	text-align: center;
}

.section-footer--left {
	text-align: left;
}

/* --------------------------------------------------------------------------
   Editor content (pages built with the block editor)
   ----------------------------------------------------------------------- */

.entry-content > * + h2 {
	margin-top: 1.8em;
}

.entry-content > * + h3 {
	margin-top: 1.5em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
	margin: 0 0 1.2em;
}

.entry-content li {
	margin-bottom: .4em;
}

.entry-content li::marker {
	color: var(--c-primary);
}

.entry-content .wp-block-embed,
.entry-content .wp-block-image,
.entry-content .wp-block-media-text,
.entry-content .wp-block-columns,
.entry-content .wp-block-group {
	margin-block: 1.8em;
}

.entry-content .wp-block-embed iframe {
	border-radius: var(--radius-sm);
}

.entry-content .wp-block-image img,
.entry-content .wp-block-media-text__media img {
	border-radius: var(--radius-sm);
}

.entry-content .alignwide {
	width: min(1200px - 2 * var(--gutter), 100vw - 2 * var(--gutter));
	max-width: none;
	margin-inline: calc(50% - min(600px - var(--gutter), 50vw - var(--gutter)));
}

.entry-content .wp-block-quote {
	margin: 1.8em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--c-accent);
	background: var(--c-accent-tint);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--c-border);
	margin-block: 2.5em;
}

.home-intro .wp-block-media-text {
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.home-intro .wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

/* Key figures: Columns block with class "consulid-stats". */
.consulid-stats {
	gap: 16px !important;
}

.consulid-stats > .wp-block-column {
	padding: 24px;
	background: var(--c-surface);
	border-radius: var(--radius);
	text-align: center;
}

.consulid-stats > .wp-block-column > :first-child {
	margin: 0;
	font-family: var(--f-heading);
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--c-primary-ink);
}

.consulid-stats > .wp-block-column > :last-child {
	margin: .4em 0 0;
	color: var(--c-muted);
}

/* Icon cards: Group block with class "icon-grid" (e.g. Recrutement). */
.icon-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.icon-grid > * {
	margin: 0 !important;
	padding: 24px;
	background: var(--c-surface);
	border-radius: var(--radius);
}

.icon-grid .wp-block-image {
	margin: 0 0 12px !important;
}

.icon-grid .wp-block-image img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 0;
}

.icon-grid p {
	margin: 0;
	font-weight: 600;
}

/* Contact cards: Columns block with class "contact-cards". */
.contact-cards > .wp-block-column {
	padding: 28px;
	background: var(--c-surface);
	border-radius: var(--radius);
}

.contact-cards .wp-block-image img {
	width: 56px;
	height: 56px;
	border-radius: 0;
}

.contact-cards h3 {
	margin-top: .6em;
}

.matomo-optout {
	width: 100%;
	min-height: 200px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Team
   ----------------------------------------------------------------------- */

.team-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 220px));
	justify-content: center;
	gap: clamp(16px, 2.5vw, 28px);
}

.team-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: box-shadow .25s, transform .25s;
}

.team-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-3px);
}

.team-card__photo {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--c-primary-tint);
}

.team-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.team-card:hover .team-card__photo img {
	transform: scale(1.04);
}

.team-card__initial {
	display: grid;
	place-items: center;
	height: 100%;
	font-family: var(--f-heading);
	font-size: 3.5rem;
	color: var(--c-primary-ink);
}

.team-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 16px 20px;
	text-align: center;
}

.team-card__name {
	margin: 0;
	font-size: 1.15rem;
}

.team-card__role {
	margin: .3em 0 0;
	font-size: .9rem;
	line-height: 1.45;
	color: var(--c-muted);
}

.team-card__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-top: auto;
	border-radius: 50%;
	background: #0a66c2;
	color: #fff;
	transition: transform .2s, background-color .2s;
}

.team-card__role + .team-card__link,
.team-card__name + .team-card__link {
	margin-top: 14px;
}

.team-card__link:hover {
	background: #004182;
	color: #fff;
	transform: scale(1.08);
}

.team-card__link .icon {
	width: 18px;
	height: 18px;
}

/* --------------------------------------------------------------------------
   Services
   ----------------------------------------------------------------------- */

.services-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: clamp(16px, 2.5vw, 28px);
}

.service-card {
	padding: clamp(24px, 3vw, 32px);
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	transition: box-shadow .25s, transform .25s, border-color .25s;
}

.service-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow-hover);
	transform: translateY(-3px);
}

.service-card__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin-bottom: 20px;
	border-radius: 20px;
	background: var(--c-accent-tint);
	color: var(--c-accent-ink);
}

.service-card__icon .icon {
	width: 34px;
	height: 34px;
}

.service-card__icon img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.service-card__title {
	margin: 0 0 .5em;
}

.service-card__text {
	color: var(--c-muted);
}

.service-card__text > :last-child {
	margin-bottom: 0;
}

.services-grid--compact {
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
}

.services-grid--compact .service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 20px;
	border-color: transparent;
	box-shadow: var(--shadow);
}

.services-grid--compact .service-card__title {
	margin: 0;
	font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Consu'Live
   ----------------------------------------------------------------------- */

.live-upcoming {
	display: grid;
	gap: 24px;
}

.live-recordings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr));
	gap: clamp(20px, 2.5vw, 32px);
	align-items: start;
}

.live-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(20px, 3vw, 32px);
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}

.live-card--upcoming {
	border: 0;
	border-left: 5px solid var(--c-accent);
	box-shadow: var(--shadow);
}

.live-card__header {
	display: flex;
	align-items: center;
	gap: 20px;
}

.live-card__heading {
	flex: 1;
	min-width: 0;
}

.live-card__datebadge {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 20px;
	background: var(--c-accent-ink);
	color: #fff;
	line-height: 1;
	text-align: center;
}

.live-card__day {
	font-family: var(--f-heading);
	font-size: 2rem;
	font-weight: 700;
}

.live-card__month {
	margin-top: 6px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.live-card__logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 104px;
	height: 64px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
}

.live-card__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	object-fit: contain;
}

@media (max-width: 599px) {
	.live-card__header {
		flex-wrap: wrap;
	}

	.live-card__logo--end {
		display: none;
	}
}

.live-card__type {
	display: inline-block;
	margin-bottom: .5em;
	padding: .2em .75em;
	border-radius: 999px;
	background: var(--c-accent-tint);
	color: var(--c-accent-ink);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.live-card__date {
	display: block;
	margin-bottom: .3em;
	font-size: .85rem;
	font-weight: 600;
	color: var(--c-accent-ink);
}

.live-card__title {
	margin: 0;
	font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
}

.live-card__title a {
	color: inherit;
	text-decoration: none;
}

.live-card__title a:hover {
	color: var(--c-primary-ink);
}

.live-card__topic {
	margin: .35em 0 0;
	font-weight: 600;
	color: var(--c-primary-ink);
}

.live-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: .95rem;
	color: var(--c-muted);
}

.live-card__meta:empty {
	display: none;
}

.live-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.live-card__meta .icon {
	color: var(--c-primary);
}

.live-card__meta--large {
	margin-bottom: 28px;
	font-size: 1.05rem;
	gap: 10px 28px;
}

.live-card__text > :last-child {
	margin-bottom: 0;
}

.live-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.live-empty {
	padding: 32px;
	background: #fff;
	border: 2px dashed var(--c-border);
	border-radius: var(--radius);
	text-align: center;
	color: var(--c-muted);
}

.live-empty .social-links {
	justify-content: center;
}

.live-single__logo {
	width: 200px;
	margin-bottom: 28px;
}

.live-single .video-embed,
.live-single .audio-embed {
	margin-block: 28px;
}

.live-single__back {
	margin-top: 40px;
}

.live-single__back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}

/* Click-to-load YouTube player. */
.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: #0e1417;
}

.video-embed__button {
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.video-embed__button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s, opacity .3s;
	opacity: .9;
}

.video-embed__button:hover img {
	transform: scale(1.03);
	opacity: 1;
}

.video-embed__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--c-accent-ink);
	color: #fff;
	box-shadow: 0 8px 24px rgb(0 0 0 / .3);
	transform: translate(-50%, -50%);
	transition: transform .2s;
}

.video-embed__button:hover .video-embed__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.video-embed__play .icon {
	width: 30px;
	height: 30px;
	margin-left: 4px;
}

.video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.audio-embed iframe {
	width: 100%;
	border: 0;
	border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Partners
   ----------------------------------------------------------------------- */

.partners-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 16px;
}

.partners-grid li > * {
	display: grid;
	place-items: center;
	height: 120px;
	padding: 24px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: box-shadow .25s;
}

.partners-grid img {
	max-height: 60px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .75;
	transition: filter .3s, opacity .3s;
}

.partners-grid a:hover {
	box-shadow: var(--shadow-hover);
}

.partners-grid a:hover img,
.partners-grid a:focus-visible img {
	filter: none;
	opacity: 1;
}

.partners-grid__name {
	font-family: var(--f-heading);
	font-weight: 700;
	color: var(--c-text);
}

/* --------------------------------------------------------------------------
   Call to action band
   ----------------------------------------------------------------------- */

.cta-band {
	padding-block: clamp(40px, 6vw, 72px);
	background:
		radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--c-accent) 40%, transparent), transparent 40%),
		linear-gradient(120deg, var(--c-primary-ink), color-mix(in srgb, var(--c-primary-ink) 70%, #000));
	color: #fff;
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-band h2 {
	margin: 0;
	color: #fff;
}

.cta-band p {
	margin: .5em 0 0;
	max-width: 600px;
	opacity: .9;
}

/* --------------------------------------------------------------------------
   Social links
   ----------------------------------------------------------------------- */

.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--c-primary-tint);
	color: var(--c-primary-ink);
	transition: background-color .2s, color .2s;
}

.social-links a:hover {
	background: var(--c-primary-ink);
	color: #fff;
}

.social-links .icon {
	width: 18px;
	height: 18px;
}

.social-links--small a {
	width: 32px;
	height: 32px;
	background: transparent;
	color: var(--c-muted);
}

.social-links--small .icon {
	width: 16px;
	height: 16px;
}

.social-links--footer a {
	background: rgb(255 255 255 / .08);
	color: #fff;
}

.social-links--footer a:hover {
	background: var(--c-primary);
}

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */

.site-footer {
	background: var(--c-dark);
	color: #c3cfd3;
	font-size: .95rem;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: var(--c-accent);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 40px;
	padding-block: clamp(48px, 6vw, 72px);
}

.site-footer__logo img {
	height: 44px;
	width: auto;
	margin-bottom: 16px;
}

.site-footer__title {
	margin-bottom: 1em;
	font-size: 1rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
}

.site-footer address {
	margin-bottom: 1em;
}

.footer-menu {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.footer-menu li {
	margin-bottom: .4em;
}

.site-footer__bottom {
	border-top: 1px solid rgb(255 255 255 / .1);
	font-size: .85rem;
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
}

/* --------------------------------------------------------------------------
   Posts (if the news section is used)
   ----------------------------------------------------------------------- */

.post-list {
	display: grid;
	gap: 32px;
}

.post-item h2 {
	margin-bottom: .3em;
	font-size: 1.5rem;
}

.post-item h2 a {
	color: inherit;
	text-decoration: none;
}

.post-date {
	margin-bottom: .4em;
	font-size: .875rem;
	color: var(--c-muted);
}

.post-thumbnail img {
	border-radius: var(--radius);
	margin-bottom: 28px;
}

.nav-links {
	display: flex;
	gap: 8px;
	margin-top: 40px;
}

.nav-links .page-numbers {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--c-surface);
	text-decoration: none;
}

.nav-links .current {
	background: var(--c-primary-ink);
	color: #fff;
}
