/* Rafael Tours – Core: rules every theme needs. */

/* Galleries: every photo the same size – 4:3, cropped to fill, 3 per row (2 on phones).
   WordPress normally stretches the last row to fill the width; keep it the same size instead. */
body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex-grow: 0;
}
body .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Text for screen readers only (used inside the WhatsApp buttons). */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
