/* Fonds choisis dans l’administration (pages et sections). */

.pelycan-bg--grid,
body.pelycan-page-bg--grid .section.page-content {
	background-color: #f6f6f4;
	background-image:
		linear-gradient(to right, rgba(198, 198, 196, 0.7) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(198, 198, 196, 0.7) 1px, transparent 1px);
	background-size: 52px 52px;
	background-repeat: repeat;
}

.pelycan-bg--dots,
body.pelycan-page-bg--dots .section.page-content {
	background-color: #f4f4f2;
	background-image: radial-gradient(circle, #c2c2bf 1.15px, transparent 1.25px);
	background-size: 16px 16px;
	background-repeat: repeat;
}

.pelycan-bg--dots-fine,
body.pelycan-page-bg--dots-fine .section.page-content {
	background-color: #f7f7f6;
	background-image: radial-gradient(circle, #cfcfcb 0.65px, transparent 0.75px);
	background-size: 7px 7px;
	background-repeat: repeat;
}

.pelycan-bg--nested,
body.pelycan-page-bg--nested .section.page-content {
	background-color: #f7f7f5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='200' viewBox='0 0 360 200'%3E%3Cg fill='none' stroke='%23d5ddd8' stroke-width='1'%3E%3Cpath d='M10 34H58V10'/%3E%3Cpath d='M10 66H108V10'/%3E%3Cpath d='M10 104H162V10'/%3E%3Cpath d='M10 142H210V10'/%3E%3Cpath d='M350 52H292V190'/%3E%3Cpath d='M350 90H236V190'/%3E%3Cpath d='M350 128H180V190'/%3E%3Cpath d='M350 162H128V190'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 360px 200px;
	background-repeat: repeat;
}

.pelycan-bg--squares,
body.pelycan-page-bg--squares .section.page-content {
	background-color: #f6f7f5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='168' viewBox='0 0 280 168'%3E%3Crect x='10' y='12' width='26' height='26' fill='%23e3ebe6'/%3E%3Crect x='62' y='20' width='12' height='12' fill='%23eef3f0'/%3E%3Crect x='104' y='8' width='34' height='34' fill='%23e4ebe7'/%3E%3Crect x='164' y='18' width='11' height='11' fill='%23f2f6f3'/%3E%3Crect x='198' y='8' width='28' height='28' fill='%23e3ebe6'/%3E%3Crect x='246' y='16' width='16' height='16' fill='%23eef3f0'/%3E%3Crect x='24' y='64' width='15' height='15' fill='%23eef3f0'/%3E%3Crect x='58' y='56' width='32' height='32' fill='%23e4ebe7'/%3E%3Crect x='114' y='70' width='10' height='10' fill='%23f3f7f4'/%3E%3Crect x='146' y='60' width='20' height='20' fill='%23e7eeea'/%3E%3Crect x='190' y='52' width='36' height='36' fill='%23e3ebe6'/%3E%3Crect x='246' y='66' width='13' height='13' fill='%23eef3f0'/%3E%3Crect x='8' y='118' width='30' height='30' fill='%23e4ebe7'/%3E%3Crect x='54' y='126' width='16' height='16' fill='%23eef3f0'/%3E%3Crect x='96' y='114' width='34' height='34' fill='%23e3ebe6'/%3E%3Crect x='152' y='128' width='11' height='11' fill='%23f2f6f3'/%3E%3Crect x='182' y='116' width='26' height='26' fill='%23e7eeea'/%3E%3Crect x='228' y='122' width='32' height='32' fill='%23e3ebe6'/%3E%3C/svg%3E");
	background-size: 280px 168px;
	background-repeat: repeat;
}

.pelycan-bg--diamonds,
body.pelycan-page-bg--diamonds .section.page-content {
	background-color: #f7f6f2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cpolygon points='22,8 32,18 22,28 12,18' fill='%23d7e5df'/%3E%3Cpolygon points='66,8 76,18 66,28 56,18' fill='%23e6dfd4'/%3E%3Cpolygon points='22,52 32,62 22,72 12,62' fill='%23e6dfd4'/%3E%3Cpolygon points='66,52 76,62 66,72 56,62' fill='%23d7e5df'/%3E%3C/svg%3E");
	background-size: 88px 88px;
	background-repeat: repeat;
}

.wp-block-group.pelycan-partners[class*="pelycan-bg--"],
.home-section--partners[class*="pelycan-bg--"] {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: clamp(1rem, 4vw, 2rem);
	padding-right: clamp(1rem, 4vw, 2rem);
	box-sizing: border-box;
}

.pelycan-pattern-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.pelycan-pattern-picker label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 92px;
	margin: 0;
	cursor: pointer;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
}

.pelycan-pattern-picker input {
	margin: 0;
}

.pelycan-pattern-picker__swatch {
	display: block;
	width: 84px;
	height: 52px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background-color: #f7f7f5;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.pelycan-pattern-picker input:checked + .pelycan-pattern-picker__swatch {
	border-color: #0f2042;
	box-shadow: 0 0 0 2px #0f2042;
}
