/*
Theme Name: Movement & Care
Theme URI: https://movement.care/
Author: Movement and Care
Description: Gutenberg block theme for Movement and Care.
Version: 1.4.3
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: movement-care
*/

:root {
	--mc-ink: #292e31;
	--mc-body: #353535;
	--mc-burgundy: #8b3445;
	--mc-gold: #c2a462;
	--mc-input: #f9f8f6;
	--mc-input-border: #e4e1de;
	--mc-content-width: 1000px;
}

html {
	scroll-behavior: smooth;
}

body.home {
	margin: 0;
	background: #fff;
	color: var(--mc-body);
	font-family: "Libre Baskerville", Baskerville, Georgia, serif;
	font-size: 12.5px;
	line-height: 1.65;
}

body.home .wp-site-blocks {
	overflow: clip;
}

body.home .wp-site-blocks > main {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.home .wp-block-post-content {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.home .mc-header {
	box-sizing: border-box;
	min-height: 72px;
	padding: 14px 0;
	background: #fff;
}

body.home .mc-header__inner {
	width: min(var(--mc-content-width), calc(100% - 48px));
	margin-inline: auto;
}

body.home .mc-header .mc-nav,
body.home .mc-header .wp-block-buttons {
	display: none !important;
}

body.home .mc-wordmark,
body.home .mc-wordmark img {
	width: 112px;
	height: auto;
	margin: 0;
}

.mc-reference-page {
	box-sizing: border-box;
	width: min(var(--mc-content-width), calc(100% - 48px));
	max-width: none;
	margin-inline: auto;
	padding: 18px 0 42px;
	color: var(--mc-body);
	font-family: "Libre Baskerville", Baskerville, Georgia, serif;
	font-size: 12.5px;
	line-height: 1.65;
}

.mc-reference-page.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

.mc-reference-page h1,
.mc-reference-page h2,
.mc-reference-page h3,
.mc-reference-page p,
.mc-reference-page li {
	font-family: "Libre Baskerville", Baskerville, Georgia, serif;
	letter-spacing: 0;
}

.mc-reference-page h1,
.mc-reference-page h2,
.mc-reference-page h3 {
	font-weight: 700;
	line-height: 1.25;
}

.mc-reference-page h1 {
	margin: 0 0 5px;
	color: var(--mc-ink);
	font-size: 23px;
}

.mc-reference-page .mc-reference-edition {
	margin: 0 0 8px;
	color: var(--mc-burgundy);
	font-size: 15px;
}

.mc-reference-page .mc-reference-tagline {
	margin: 0 0 12px;
	color: var(--mc-ink);
	font-size: 14px;
}

.mc-reference-page p {
	margin: 0 0 14px;
	color: var(--mc-body);
	font-size: 12.5px;
	line-height: 1.65;
}

.mc-reference-page .mc-reference-event-time {
	margin: 0 0 14px;
	color: var(--mc-ink);
	line-height: 1.7;
}

.mc-reference-page .mc-reference-separator {
	margin: 18px 0 14px;
	border: 0;
	border-top: 1px solid var(--mc-gold);
	opacity: 1;
}

.mc-reference-page h2 {
	margin: 0 0 10px;
	color: var(--mc-burgundy);
	font-size: 17px;
}

.mc-reference-page h3 {
	margin: 14px 0 8px;
	color: var(--mc-ink);
	font-size: 15px;
}

.mc-reference-program,
.mc-reference-info {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 24px;
	margin: 0;
}

.mc-reference-program > .wp-block-column,
.mc-reference-info > .wp-block-column {
	min-width: 0;
}

.mc-reference-program-gallery {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: auto;
	align-content: start;
	gap: 6px;
	margin: 0;
}

.mc-reference-program-gallery .wp-block-image {
	grid-column: span 2;
	width: auto !important;
	min-width: 0;
	margin: 0;
	flex-basis: auto !important;
}

.mc-reference-program-gallery .wp-block-image:nth-child(4) {
	grid-column: 1 / span 3 !important;
}

.mc-reference-program-gallery .wp-block-image:nth-child(5) {
	grid-column: 4 / span 3 !important;
}

.mc-reference-program-gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.mc-reference-info-art {
	align-self: center;
}

.mc-reference-reduta {
	width: 72%;
	margin: 0 auto;
}

.mc-reference-reduta img {
	display: block;
	width: 100%;
	height: auto;
}

.mc-reference-dress-swatches {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 18px 0 6px;
}

.mc-reference-dress-swatches > .wp-block-column {
	min-width: 0;
	width: auto;
	margin: 0;
}

.mc-reference-swatch {
	display: grid;
	min-height: 146px;
	place-items: stretch;
	padding: 0 8px 10px;
	border: 0;
	background: transparent;
}

.mc-reference-swatch p {
	margin: 0;
	color: #777;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.mc-reference-swatch::before {
	content: "";
	display: block;
	width: 100%;
	height: 118px;
	border: 1px solid var(--mc-input-border);
	border-radius: 14px;
	background: #f4f1eb;
}

.mc-reference-swatch--black::before {
	background: #171717;
}

.mc-reference-swatch--black p {
	color: #292e31;
}

.mc-reference-swatch--white::before {
	background: #f4f1eb;
}

.mc-reference-swatch--red::before {
	background: #b31f34;
}

.mc-reference-swatch--burgundy::before {
	background: #70263c;
}

.mc-reference-payment-note {
	margin: 0 0 10px !important;
}

.mc-reference-booking-cta .wp-block-button__link {
	min-height: 42px;
	padding: 10px 24px;
	border: 0;
	border-radius: 4px;
	background: var(--mc-gold);
	box-shadow: 0 3px 8px rgb(41 46 49 / 18%);
	color: var(--mc-ink);
	font-family: "Libre Baskerville", Baskerville, Georgia, serif;
	font-size: 14px;
	font-weight: 600;
}

.mc-reference-cancellation-title {
	margin-top: 16px !important;
}

.mc-reference-page .mc-reference-cancellation-title + p {
	margin-bottom: 4px;
	line-height: 1.7;
}

.mc-reference-footer {
	box-sizing: border-box;
	width: min(var(--mc-content-width), calc(100% - 48px));
	margin: 0 auto;
	padding: 14px 0 18px;
	border-top: 1px solid var(--mc-gold);
	text-align: center;
}

.mc-reference-footer p {
	margin: 0;
	font-size: 12px;
}

.mc-reference-footer a {
	color: inherit;
	text-decoration: none;
}

body.home .mc-footer {
	display: none !important;
}

@media (max-width: 782px) {
	body.home .mc-header {
		min-height: 44px;
		padding: 8px 0;
	}

	body.home .mc-header__inner {
		width: calc(100% - 36px);
		justify-content: flex-start;
	}

	body.home .mc-wordmark,
	body.home .mc-wordmark img {
		width: 96px;
	}

	.mc-reference-page {
		width: calc(100% - 36px);
		padding: 14px 0 28px;
		font-size: 14px;
	}

	.mc-reference-page h1 {
		font-size: 25px;
	}

	.mc-reference-page h2 {
		font-size: 20px;
	}

	.mc-reference-page p {
		font-size: 14px;
		line-height: 1.65;
	}

	.mc-reference-page .mc-reference-event-time {
		line-height: 1.7;
	}

	.mc-reference-program,
	.mc-reference-info {
		display: block;
	}

	.mc-reference-program-gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
		margin-top: 14px;
	}

	.mc-reference-program-gallery .wp-block-image:nth-child(4) {
		grid-column: 3 / span 2 !important;
	}

	.mc-reference-program-gallery .wp-block-image:nth-child(5) {
		grid-column: 1 / -1 !important;
	}

	.mc-reference-info-art {
		margin-top: 18px;
	}

	.mc-reference-reduta {
		width: 72%;
	}

	.mc-reference-dress-swatches {
		gap: 10px;
		margin-top: 14px;
	}

	.mc-reference-swatch {
		min-height: 94px;
		padding: 0 2px 6px;
	}

	.mc-reference-swatch::before {
		height: 68px;
		border-radius: 10px;
	}

	.mc-reference-swatch p {
		font-size: 10px;
		line-height: 1.4;
	}

	.mc-reference-booking-cta .wp-block-button,
	.mc-reference-booking-cta .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 360px) {
	.mc-reference-page {
		width: calc(100% - 32px);
	}

	.mc-reference-program-gallery {
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

.mc-cookie-notice {
	position: fixed;
	z-index: 10000;
	right: 16px;
	bottom: 16px;
	left: 16px;
	box-sizing: border-box;
	width: min(840px, calc(100% - 32px));
	margin-inline: auto;
	padding: 14px 16px;
	border: 1px solid var(--mc-gold);
	border-left: 4px solid #44634d;
	border-radius: 5px;
	background: #fff;
	color: var(--mc-ink);
	box-shadow: 0 8px 28px rgb(20 28 23 / 18%);
	font-size: 12px;
	line-height: 1.6;
}

.mc-cookie-notice[hidden] {
	display: none !important;
}

.mc-cookie-notice__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.mc-cookie-notice p {
	margin: 0;
}

.mc-cookie-notice a {
	color: #34483e;
	text-decoration: underline;
}

.mc-cookie-notice__dismiss,
.mc-cookie-info-trigger {
	border: 1px solid var(--mc-gold);
	border-radius: 4px;
	background: #f8f6f1;
	color: var(--mc-ink);
	font: inherit;
	cursor: pointer;
}

.mc-cookie-notice__dismiss {
	flex: 0 0 auto;
	min-height: 38px;
	padding: 7px 14px;
	font-weight: 700;
}

.mc-cookie-info-trigger {
	padding: 2px 7px;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.mc-cookie-notice {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: calc(100% - 24px);
		padding: 12px;
	}

	.mc-cookie-notice__content {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.mc-cookie-notice__dismiss {
		align-self: flex-end;
	}
}