/** Public WordCamp Galicia 2026 CSS */
/*
--wp--preset--color--base: #f9f9f9;
--wp--preset--color--base-2: #ffffff;
--wp--preset--color--contrast: #333333; // Gris WC Ponte 2024
--wp--preset--color--contrast-2: #333333;
--wp--preset--color--contrast-3: #A4A4A4;
--wp--preset--color--accent: #cfcabe;
--wp--preset--color--accent-2: #d4cdf4; // Lila clarito WC Galicia 2026
--wp--preset--color--accent-3: #35ff69; // Verde WC Galicia 2026
--wp--preset--color--accent-4: #6a478d; // Lila WC Galicia 2026
--wp--preset--color--accent-5: #b5bdbc;

Payload URL to update CSS https://galicia.wordcamp.org/2026/wp-admin/admin-ajax.php?action=wcrcss_webhook
*/
.single-post .wp-block-post-featured-image .wp-post-image {
	mask-image: url('https://galicia.wordcamp.org/2026/files/2026/05/mascara-entrada-blog-single.png');
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: min(920px, 100%);
}

/* Invertir interrogante para apertura */
.con-interrogante strong {
	font-weight: normal;
	display: inline-block;
	transform: scale(-1,1);
	margin-right: 5px;
}

/* Sombra personalizada para botones */
.sombra-amarilla {
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--custom-yellow) !important;
	border-radius: 10px 5px;
}

.sombra-naranja {
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--accent) !important;
	border-radius: 10px 5px;
}

.sombra-azul-cielo {
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--accent-3) !important;
	border-radius: 10px 5px;
}

/* Estilos del box de suscripción */
.wp-block-jetpack-subscriptions__form-elements.wp-block-jetpack-subscriptions__form-elements.wp-block-jetpack-subscriptions__form-elements input {
	background-color: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--accent-4) !important;
	opacity: 1 !important;
}

.wp-block-jetpack-subscriptions__form-elements.wp-block-jetpack-subscriptions__form-elements.wp-block-jetpack-subscriptions__form-elements input::placeholder {
	color: var(--wp--preset--color--accent-4);
	opacity: .7;
}

.wp-block-jetpack-subscriptions__form-elements button[type="submit"] {
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--accent-4) !important;
	border-radius: 10px 5px !important;
	font-weight: 700;
}

/* Sombra fotos 1 — path 620×353
   wcrcss elimina border-box y data: URIs en clip-path.
   Subir assets/wcgal-path1.png a la mediateca; mask-image escala en grid/flex. */
.wcgal-path1 {
	filter: drop-shadow(12px 8px 0px #fbaf00);
	display: inline-block;
/* necesario si el padre es inline */
	width: fit-content;
	max-width: 100%;
	align-self: flex-start;
	justify-self: start;
	overflow: visible;
}

.wcgal-path1-media {
	overflow: visible;
}

.wcgal-path1-media .wp-block-media-text__media {
	filter: drop-shadow(12px 8px 0px #fbaf00);
	display: inline-block;
	width: fit-content;
	max-width: 100%;
	align-self: start;
	justify-self: start;
	overflow: visible;
}

.wcgal-path1 img,
.wcgal-path1 picture img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	clip-path: path('M3.41,19.5 C3.41,19.5 0.0,323.76 47.7,333.5 C95.38,343.25 579.12,353.0 599.56,333.5 C620.0,314.0 596.16,21.46 568.9,11.7 C541.66,1.95 17.05,0.0 3.41,19.5 Z');
}

/* Grid/flex y Media & Text: mask PNG escala (subir assets/wcgal-path1.png).
   clip-path de respaldo hasta que la URL del PNG exista en producción. */
.wcgal-path1-media .wp-block-media-text__media img,
.wcgal-path1-media .wp-block-media-text__media picture img,
.is-layout-flex .wcgal-path1 img,
.is-layout-flex .wcgal-path1 picture img,
.is-layout-grid .wcgal-path1 img,
.is-layout-grid .wcgal-path1 picture img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	clip-path: path('M3.41,19.5 C3.41,19.5 0.0,323.76 47.7,333.5 C95.38,343.25 579.12,353.0 599.56,333.5 C620.0,314.0 596.16,21.46 568.9,11.7 C541.66,1.95 17.05,0.0 3.41,19.5 Z');
	-webkit-mask-image: ;
	mask-image: url('https://galicia.wordcamp.org/2026/files/2026/06/wcgal-path1-1.png');
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.div-img-galicia-home {
	position: relative;
}

.div-img-galicia-home::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background-color: #C3D9DB;
/*2024 #bcaedf*/
}

@media screen and (max-width: 781px) {
	.single-post .wp-block-post-featured-image {
		max-height: 260px;
	}
	
	#subscribe-submit {
		width: 50% !important;
	}
}

@media screen and (max-width: 600px) {
	.wp-block-jetpack-subscriptions__form-elements {
		display: block !important;
	}
	
	.wp-block-jetpack-subscriptions__form-elements #subscribe-submit {
		width: 100% !important;
		margin-top: 10px !important;
	}
	
	.wp-block-jetpack-subscriptions__form-elements #subscribe-submit button {
		margin-left: auto !important;
		width: 100% !important;
	}
}