/**
 * cmm-core components: announcement bar, WhatsApp button, social links, hero slider.
 * Uses the theme's design tokens with fallbacks, so components still work under another theme.
 */

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

/* Buttons used inside components ------------------------------------------ */
.cmm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--cmm-radius-sm, 6px);
	font-family: var(--cmm-font-body, system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cmm-btn--primary {
	background: var(--cmm-blue-600, #0e6a9f);
	color: #fff;
}

.cmm-btn--primary:hover {
	background: var(--cmm-blue-700, #0b5a88);
	color: #fff;
}

.cmm-btn--ghost {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.cmm-btn--ghost:hover {
	background: #fff;
	color: var(--cmm-navy-900, #15185c);
}

.cmm-btn:focus-visible,
.cmm-hero button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--cmm-navy-900, #15185c);
}

/* Announcement bar --------------------------------------------------------- */
.cmm-announcement {
	background: var(--cmm-navy-900, #15185c);
	color: #fff;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.cmm-announcement--blue { background: var(--cmm-blue-600, #0e6a9f); }
.cmm-announcement--coral { background: var(--cmm-coral-700, #c2383d); }

.cmm-announcement__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	max-width: 1320px;
	margin-inline: auto;
	padding: 0.625rem 3.5rem;
	text-align: center;
}

.cmm-announcement__text { margin: 0; }

.cmm-announcement__link {
	margin-left: 0.5rem;
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.cmm-announcement__link:hover { color: #fff; text-decoration-thickness: 2px; }

.cmm-announcement__close {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.cmm-announcement__close:hover { background: rgb(255 255 255 / 0.12); }

.cmm-announcement a:focus-visible,
.cmm-announcement button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.cmm-announcement__inner {
		justify-content: flex-start;
		padding-left: 1.25rem;
		text-align: left;
	}
}

/* WhatsApp floating button -------------------------------------------------- */
.cmm-whatsapp {
	position: fixed;
	bottom: max(1.25rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--cmm-navy-900, #15185c);
	color: #fff;
	box-shadow: 0 8px 24px rgb(21 24 92 / 0.28);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cmm-whatsapp--right { right: 1.25rem; }
.cmm-whatsapp--left { left: 1.25rem; }

.cmm-whatsapp:hover {
	background: var(--cmm-teal-700, #0e7c86);
	color: #fff;
	transform: translateY(-2px);
}

.cmm-whatsapp:focus-visible {
	outline: 3px solid var(--cmm-blue-600, #0e6a9f);
	outline-offset: 3px;
}

/* Do not cover the mobile menu or print. */
.nav-open .cmm-whatsapp { display: none; }

@media print {
	.cmm-whatsapp,
	.cmm-announcement,
	.cmm-hero__pause,
	.cmm-hero__nav { display: none !important; }
}

/* Social links ---------------------------------------------------------- */
.cmm-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.cmm-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: inherit;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cmm-social a:hover {
	background: #fff;
	color: var(--cmm-navy-900, #15185c);
}

.cmm-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cmm-menu-list li { margin-bottom: 0.625rem; }
.cmm-address { font-style: normal; }

/* Hero slider ------------------------------------------------------------ */
/*
 * Effects (widget setting → class):
 *   cmm-hero--fx-zoom   crossfade + incoming photo settles from a gentle zoom (default)
 *   cmm-hero--fx-slide  slides move horizontally (direction-aware)
 *   cmm-hero--fx-fade   plain crossfade
 * cmm-hero--kenburns: slow zoom on the active photo for the whole interval.
 * Text rises in, staggered, on every slide (first load: movement only, no fade,
 * so the headline paints immediately for LCP).
 * prefers-reduced-motion: everything becomes a simple crossfade.
 */
.cmm-hero {
	--cmm-hero-overlay: 0.62;
	--cmm-hero-min: clamp(540px, 76vh, 780px);
	--cmm-hero-interval: 7000ms;
	--cmm-hero-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	position: relative;
	overflow: hidden;
	background: var(--cmm-navy-900, #15185c);
	color: #fff;
	isolation: isolate;
}

.cmm-hero--medium { --cmm-hero-min: clamp(420px, 56vh, 560px); }

.cmm-hero__slides {
	display: grid;
	overflow: hidden;
}

.cmm-hero__slide {
	position: relative;
	display: flex;
	align-items: center;
	grid-area: 1 / 1;
	min-height: var(--cmm-hero-min);
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s var(--cmm-hero-ease), transform 1.1s var(--cmm-hero-ease), visibility 0s linear 1.1s;
}

.cmm-hero__slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	transition: opacity 1.1s var(--cmm-hero-ease), transform 1.1s var(--cmm-hero-ease), visibility 0s;
}

.cmm-hero__slide.is-leaving { z-index: 1; }

.cmm-hero__media,
.cmm-hero__media picture {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

/* Beat Elementor's `.elementor img { height: auto }` so photos fill the slide. */
.cmm-hero .cmm-hero__img {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transform-origin: center;
	will-change: transform;
}

/* Effect: zoom (default) — incoming photo settles from 1.12x while fading in. */
.cmm-hero--fx-zoom .cmm-hero__slide .cmm-hero__img {
	transform: scale(1.12);
	transition: transform 1.6s var(--cmm-hero-ease);
}

.cmm-hero--fx-zoom .cmm-hero__slide.is-active .cmm-hero__img { transform: scale(1); }

/* Effect: slide — direction-aware horizontal movement. */
.cmm-hero--fx-slide .cmm-hero__slide { transform: translateX(100%); opacity: 1; }
.cmm-hero--fx-slide .cmm-hero__slide.is-active { transform: translateX(0); }
.cmm-hero--fx-slide .cmm-hero__slide.is-leaving { transform: translateX(-35%); opacity: 0.4; visibility: visible; }
.cmm-hero--fx-slide.dir-prev .cmm-hero__slide:not(.is-active):not(.is-leaving) { transform: translateX(-100%); }
.cmm-hero--fx-slide.dir-prev .cmm-hero__slide.is-leaving { transform: translateX(35%); }
.cmm-hero--fx-slide:not(.has-changed) .cmm-hero__slide { transition: none; }

/* Ken Burns: slow continuous zoom on the active photo across the interval. */
@keyframes cmm-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.1); }
}

.cmm-hero--kenburns .cmm-hero__slide.is-active .cmm-hero__img {
	animation: cmm-kenburns calc(var(--cmm-hero-interval) + 1600ms) linear both;
}

.cmm-hero--kenburns.cmm-hero--fx-zoom .cmm-hero__slide.is-active .cmm-hero__img {
	animation: cmm-kenburns-settle calc(var(--cmm-hero-interval) + 1600ms) var(--cmm-hero-ease) both;
}

@keyframes cmm-kenburns-settle {
	0% { transform: scale(1.14); }
	18% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.cmm-hero:not(.is-rotating) .cmm-hero__slide.is-active .cmm-hero__img { animation-play-state: paused; }

/* Readability overlay: strongest behind the text column. */
.cmm-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgb(21 24 92 / var(--cmm-hero-overlay)) 0%,
			rgb(21 24 92 / calc(var(--cmm-hero-overlay) * 0.8)) 45%,
			rgb(21 24 92 / calc(var(--cmm-hero-overlay) * 0.3)) 100%),
		linear-gradient(0deg, rgb(21 24 92 / 0.45) 0%, rgb(21 24 92 / 0) 30%);
}

.cmm-hero__content {
	width: 100%;
	max-width: calc(1200px + 2 * var(--cmm-gutter, 20px));
	margin-inline: auto;
	padding: clamp(3rem, 2rem + 4vw, 6rem) var(--cmm-gutter, 20px) clamp(6rem, 4.5rem + 4vw, 8rem);
}

.cmm-hero__content > * { max-width: 660px; }

.cmm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 1.125rem;
	color: var(--cmm-rose-400, #f47c83);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cmm-hero__eyebrow::before {
	content: "";
	width: 2rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.cmm-hero__title {
	margin: 0 0 1.25rem;
	color: #fff;
	font-family: var(--cmm-font-heading, system-ui, sans-serif);
	font-size: var(--cmm-fs-display, clamp(2.125rem, 1.554rem + 2.857vw, 3.75rem));
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgb(21 24 92 / 0.35);
}
/* Sentence-length headlines (e.g. the mission statement) use a smaller size so the hero keeps its height. */
.cmm-hero__title--long {
	font-size: clamp(1.5rem, 1.18rem + 1.6vw, 2.5rem);
	line-height: 1.18;
	letter-spacing: -0.01em;
}

.cmm-hero__text {
	margin: 0 0 2rem;
	color: rgb(255 255 255 / 0.94);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.6;
}

.cmm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Text entrance — staggered rise on every slide. */
@keyframes cmm-hero-rise {
	from { opacity: 0; transform: translateY(28px); }
	to { opacity: 1; transform: none; }
}

@keyframes cmm-hero-rise-first {
	from { transform: translateY(22px); }
	to { transform: none; }
}

.cmm-hero.is-ready:not(.has-changed) .cmm-hero__slide.is-active .cmm-hero__content > * {
	animation: cmm-hero-rise-first 0.9s var(--cmm-hero-ease) both;
}

.cmm-hero.has-changed .cmm-hero__slide.is-active .cmm-hero__content > * {
	animation: cmm-hero-rise 0.9s var(--cmm-hero-ease) both;
	animation-delay: 0.35s;
}

.cmm-hero .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(2) { animation-delay: 0.47s; }
.cmm-hero .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(3) { animation-delay: 0.59s; }
.cmm-hero .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(4) { animation-delay: 0.71s; }
.cmm-hero.is-ready:not(.has-changed) .cmm-hero__slide.is-active .cmm-hero__content > :first-child { animation-delay: 0.05s; }
.cmm-hero.is-ready:not(.has-changed) .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(2) { animation-delay: 0.15s; }
.cmm-hero.is-ready:not(.has-changed) .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(3) { animation-delay: 0.25s; }
.cmm-hero.is-ready:not(.has-changed) .cmm-hero__slide.is-active .cmm-hero__content > :nth-child(4) { animation-delay: 0.35s; }

/* Controls */
.cmm-hero__pause {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
}

.cmm-hero__nav {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	transform: translateX(-50%);
}

.cmm-hero__nav[hidden],
.cmm-hero__pause[hidden] { display: none; }

.cmm-hero__pause,
.cmm-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 0.6);
	border-radius: 50%;
	background: rgb(21 24 92 / 0.45);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.cmm-hero__pause:hover,
.cmm-hero__arrow:hover { background: rgb(21 24 92 / 0.85); transform: scale(1.06); }

.cmm-hero__icon-play { display: none; }
.cmm-hero__pause.is-paused .cmm-hero__icon-play { display: block; }
.cmm-hero__pause.is-paused .cmm-hero__icon-pause { display: none; }

.cmm-hero__dots {
	display: flex;
	gap: 0.375rem;
}

/* Each dot is a 44px-tall button holding a thin track; the active one fills over the interval. */
.cmm-hero__dot {
	position: relative;
	width: 40px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.cmm-hero__dot::before,
.cmm-hero__dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	height: 4px;
	border-radius: 2px;
	transform: translateY(-50%);
}

.cmm-hero__dot::before {
	right: 4px;
	background: rgb(255 255 255 / 0.45);
	transition: background-color 0.2s ease;
}

.cmm-hero__dot::after {
	width: 0;
	background: #fff;
}

.cmm-hero__dot:hover::before { background: rgb(255 255 255 / 0.75); }

.cmm-hero__dot[aria-current="true"]::after { width: calc(100% - 8px); }

@keyframes cmm-hero-progress {
	from { width: 0; }
	to { width: calc(100% - 8px); }
}

.cmm-hero.is-rotating .cmm-hero__dot.is-progress[aria-current="true"]::after {
	animation: cmm-hero-progress var(--cmm-hero-interval) linear both;
}

/* Without JS: first slide only, no controls. */
.cmm-hero:not(.is-ready) .cmm-hero__slide:not(:first-child) { display: none; }

@media (max-width: 767px) {
	.cmm-hero { --cmm-hero-min: clamp(560px, 84svh, 700px); }

	.cmm-hero__slide { align-items: flex-end; }

	.cmm-hero__media::after {
		background: linear-gradient(
			0deg,
			rgb(21 24 92 / calc(var(--cmm-hero-overlay) + 0.2)) 0%,
			rgb(21 24 92 / var(--cmm-hero-overlay)) 50%,
			rgb(21 24 92 / calc(var(--cmm-hero-overlay) * 0.3)) 100%
		);
	}

	.cmm-hero__actions .cmm-btn { flex: 1 1 100%; }

	.cmm-hero__pause { top: 0.75rem; right: 0.75rem; }

	.cmm-hero__dot { width: 28px; }
}

/* Reduced motion: keep rotating (unless the editor disabled it) but only crossfade. */
@media (prefers-reduced-motion: reduce) {
	.cmm-hero__slide,
	.cmm-hero__slide.is-active,
	.cmm-hero--fx-slide .cmm-hero__slide,
	.cmm-hero--fx-slide .cmm-hero__slide.is-leaving,
	.cmm-hero--fx-slide.dir-prev .cmm-hero__slide:not(.is-active):not(.is-leaving) {
		transform: none;
		transition: opacity 0.6s linear, visibility 0s linear 0.6s;
	}

	.cmm-hero__slide.is-active { transition: opacity 0.6s linear, visibility 0s; }
	.cmm-hero--fx-slide .cmm-hero__slide { opacity: 0; }
	.cmm-hero--fx-slide .cmm-hero__slide.is-active { opacity: 1; }

	.cmm-hero .cmm-hero__img,
	.cmm-hero .cmm-hero__slide.is-active .cmm-hero__img {
		transform: none !important;
		animation: none !important;
		transition: none;
	}

	.cmm-hero .cmm-hero__slide.is-active .cmm-hero__content > * { animation: none !important; }
	.cmm-hero.is-rotating .cmm-hero__dot.is-progress[aria-current="true"]::after { animation: none; }
	.cmm-hero__pause:hover,
	.cmm-hero__arrow:hover { transform: none; }

	.cmm-whatsapp { transition: none; }
	.cmm-whatsapp:hover { transform: none; }
}

/* Phones: the floating button appears only after the first screen, so it never
   covers the hero call-to-action buttons. Hidden = not focusable. */
@media (max-width: 767px) {
	.js .cmm-whatsapp.is-deferred {
		visibility: hidden;
		opacity: 0;
		transform: translateY(12px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
	}

	.js .cmm-whatsapp.is-deferred.is-shown {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
	}

	/* Keep the last footer line clear of the button. */
	.site-footer { padding-bottom: 72px; }
}

/* Content grid blocks ----------------------------------------------------- */
.cmm-grid-block__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 2rem;
}

.cmm-grid-block__header .lead { max-width: 60ch; margin: 0.75rem 0 0; }
.cmm-grid-block__title { margin: 0; }
.cmm-grid-block__empty { color: var(--cmm-text-muted, #5b6a80); }

.card__status {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.125rem 0.625rem;
	border-radius: 999px;
	background: var(--cmm-blue-50, #eaf4fb);
	color: var(--cmm-blue-700, #0b5a88);
	font-size: 0.8125rem;
	font-weight: 600;
}

/* Editor-only notes (shown to logged-in editors, never to visitors) */
.cmm-editor-note {
	padding: 0.75rem 1rem;
	border: 2px dashed var(--cmm-coral-700, #c2383d);
	border-radius: 6px;
	background: #fff7f7;
	color: var(--cmm-text, #263445);
	font-size: 0.9375rem;
}

/* Form fallback + contact options */
.cmm-form-fallback {
	padding: 1.5rem;
	border: 1px solid var(--cmm-border, #dce5ef);
	border-radius: var(--cmm-radius-md, 12px);
	background: var(--cmm-white, #fff);
}

.cmm-contact-options {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cmm-contact-options li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	align-items: baseline;
}

.cmm-contact-options__label {
	min-width: 6rem;
	color: var(--cmm-navy-900, #15185c);
	font-weight: 700;
}

.cmm-contact-options a,
.cmm-directions {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.cmm-on-dark .cmm-contact-options__label { color: #fff; }
.cmm-on-dark .cmm-contact-options a { color: var(--cmm-on-navy-link, #7cc4f0); }

/* A section whose only content is an empty grid widget collapses entirely
   (e.g. no upcoming events yet). Not applied inside the Elementor editor. */
body:not(.elementor-editor-active) .e-con:has(.cmm-grid-empty):not(:has(.cmm-grid-block)) {
	display: none;
}

/* Staff portal (front end) ------------------------------------------------- */
.cmm-portal { max-width: 46rem; margin: 0 auto; display: grid; gap: 1.5rem; }
.cmm-portal__card { background: var(--cmm-white, #fff); border: 1px solid var(--cmm-border, #e3e7ee); border-radius: var(--cmm-radius, 12px); padding: clamp(1.25rem, 3vw, 2rem); }
.cmm-portal__card h2 { margin-top: 0; font-size: 1.5rem; }
.cmm-portal__login { max-width: 28rem; width: 100%; margin: 0 auto; }
.cmm-portal__field { display: grid; gap: 0.375rem; margin: 0 0 1.25rem; }
.cmm-portal__field input, .cmm-portal__field textarea { width: 100%; }
.cmm-portal__help, .cmm-portal__small { font-size: 0.9375rem; color: var(--cmm-text-muted, #4b5563); }
.cmm-portal__check { margin: 0 0 1.25rem; }
.cmm-portal__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cmm-portal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.cmm-portal__bar p { margin: 0; }
.cmm-portal__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.cmm-portal__stats li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.cmm-portal__num { font-size: 1.75rem; font-weight: 700; color: var(--cmm-navy-900, #0f2342); min-width: 2.5rem; }
.cmm-portal .cmm-alert ul { margin: 0.5rem 0 0; }

/* Photo gallery albums ([cmm_gallery]) -------------------------------------- */
.cmm-albums { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.cmm-album__head { max-width: 760px; margin: 0 auto 1.5rem; text-align: center; }
.cmm-album__head h2 { margin: 0.25rem 0 0; }
.cmm-album__head p:not(.eyebrow) { margin: 0.5rem 0 0; color: var(--cmm-text-muted, #5b6a80); }
.cmm-album__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cmm-album__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cmm-album__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cmm-album__item figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--cmm-radius-md, 12px); overflow: hidden; box-shadow: var(--cmm-shadow-sm); }
.cmm-album__item a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.cmm-album__item a:focus-visible { outline: var(--cmm-focus); outline-offset: -3px; }
.cmm-album__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--cmm-ease, ease); }
.cmm-album__item a:hover .cmm-album__img { transform: scale(1.04); }
.cmm-album__item figcaption { padding: 0.7rem 0.9rem; font-size: var(--cmm-fs-small, 0.875rem); color: var(--cmm-text-muted, #5b6a80); }
@media (prefers-reduced-motion: reduce) { .cmm-album__img { transition: none; } .cmm-album__item a:hover .cmm-album__img { transform: none; } }

/* Donate: give through WhatsApp (while online payments are not connected) */
.cmm-give-wa { padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--cmm-border, #dce5ef); border-top: 4px solid var(--cmm-coral-700, #c2383d); border-radius: var(--cmm-radius-md, 12px); box-shadow: var(--cmm-shadow-md, 0 8px 24px rgb(21 24 92 / 0.08)); }
.cmm-give-wa__title { margin: 0 0 0.75rem; }
.cmm-give-wa__lead { font-size: 1.0625rem; margin: 0 0 1.5rem; }
.cmm-give-wa__action { margin: 0 0 1.25rem; }
.cmm-give-wa__btn { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.0625rem; padding: 0.85rem 1.5rem; }
.cmm-give-wa__icon svg { width: 22px; height: 22px; display: block; }
.cmm-give-wa__alt { margin: 0 0 1rem; color: var(--cmm-text-muted, #5b6a80); }
body .cmm-give-wa p a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cmm-give-wa__safety { margin: 0; padding: 0.85rem 1rem; background: var(--cmm-bg-soft, #f4f8fc); border-radius: var(--cmm-radius-sm, 6px); font-size: var(--cmm-fs-small, 0.875rem); }
@media (max-width: 480px) { .cmm-give-wa__btn { width: 100%; justify-content: center; } }
