.rbr-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
	min-height: 300px; /* altura mínima para iPhone */
}

/* Altura fixa para ecrãs maiores */
@media (min-width: 768px) {
  .rbr-banner {
    height: 600px;
  }
  .rbr-banner img {
    height: 600px;
    object-fit: cover;
  }
}

.rbr-banner img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	object-fit: cover;
	z-index: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.rbr-banner img.rbr-active {
	opacity: 1;
	z-index: 1;
}

.rbr-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	text-align: center;
	background: rgba(0, 0, 0, 0.6); /* fundo preto semitransparente */
	padding: 0.5rem 1rem; /* espaçamento */
	border-radius: 6px; /* bordas arredondadas */
	font-size: 20px; /* fonte para telemóveis */
	line-height: 1.2;
	z-index: 10;
	max-width: 90%;
}

.rbr-overlay a, .rbr-overlay button {
	color: #fff;
	text-decoration: underline;
	font-size: 20px;
}

@media (min-width: 768px) {
	.rbr-overlay {
		font-size: 34px; /* fonte maior para ecrãs grandes */
	}
	.rbr-overlay a, .rbr-overlay button {
		font-size: 34px;
	}
}
