/* =========================================================
   Estilos propios de la versión plana (lo que no viene del theme Patti)
   ========================================================= */

/* ---------- Portada (reemplaza al Revolution Slider) ----------
   Reproduce la grilla del slider original: 4 tamaños (1400 / 1240 / 778 / 480 px de ancho)
   y todo se escala con --s (= px por unidad de grilla), igual que hacía Revolution Slider. */
.capo-hero {
	--s: min(1px, calc(100vw / 1400));
	--fs: 48; --lh: 56;            /* título */
	--voff: 0;                     /* desplazamiento vertical del título respecto del centro */
	--g1: 16;                      /* espacio título -> "DESDE 1972" */
	--g2: 16;                      /* espacio "DESDE 1972" -> "MAR DEL PLATA" */
	--gl: 52;                      /* espacio entre líneas y "DESDE 1972" */
	--lw: 150;                     /* largo de las líneas */
	position: relative;
	height: 100vh;
	min-height: 420px;
	background-color: #555;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}
@media (max-width: 1023px) { .capo-hero { --s: min(1px, calc(100vw / 1240)); --g1: 17; --g2: 19; --gl: 36; } }
@media (max-width: 777px)  { .capo-hero { --s: calc(100vw / 778); --voff: -85; --g1: 7; --g2: 6; --gl: 36; } }
@media (max-width: 479px)  { .capo-hero { --s: calc(100vw / 480); --fs: 30; --lh: 30; --voff: -76; --g1: 20; --g2: 16; --gl: 36; --lw: 100; } }

.capo-hero__contenido {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	/* el centro del recuadro del título queda en el medio de la pantalla (+ --voff) */
	margin-top: calc((var(--voff) - (var(--lh) + 20) / 2) * var(--s) - 2px);
	text-align: center;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	animation: capo-fade .6s ease-in-out both;
}
.capo-hero .capo-hero__titulo {
	display: inline-block;
	margin: 0;
	padding: calc(10 * var(--s)) calc(30 * var(--s));
	border: 2px solid #fff;
	font-family: "Open Sans", sans-serif;
	font-size: calc(var(--fs) * var(--s));
	line-height: calc(var(--lh) * var(--s));
	font-weight: 700;
	color: #fff;
	letter-spacing: 0;
	white-space: nowrap;
}
@media (max-width: 479px) {
	.capo-hero .capo-hero__titulo { box-sizing: border-box; width: calc(455 * var(--s)); }
}
.capo-hero__desde {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--gl) * var(--s));
	margin-top: calc(var(--g1) * var(--s));
	font-size: calc(16 * var(--s));
	line-height: calc(40 * var(--s));
	font-weight: 700;
	letter-spacing: calc(2 * var(--s));
}
.capo-hero__linea {
	display: block;
	width: calc(var(--lw) * var(--s));
	height: 0;
	border-top: 2px solid #fff;
}
.capo-hero__ciudad {
	margin-top: calc(var(--g2) * var(--s));
	font-size: calc(24 * var(--s));
	line-height: calc(22 * var(--s));
	font-weight: 400;
	letter-spacing: calc(8 * var(--s));
}
@keyframes capo-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ---------- Anuncios ---------- */
.capo-ver-todos {
	clear: both;
	text-align: center;
	margin: 20px 0 0;
}
.capo-listado {
	padding-bottom: 60px;
}
.capo-volver {
	margin-top: 30px;
}
.capo-volver a {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
}
.post-single blockquote {
	margin: 20px 0;
}

/* ---------- Formulario de contacto (equivalente a Contact Form 7) ---------- */
.capo-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.wpcf7-form-control-wrap {
	position: relative;
	display: block;
}
/* La consulta va debajo de las dos columnas flotantes (Nombre / Email).
   Sin esto su caja se extiende por detrás de ellas y tapa los clics. */
.wpcf7-form-control-wrap.your-message {
	clear: both;
}
.wpcf7 .wpcf7-response-output,
.capo-recaptcha-aviso {
	clear: both;
}
.wpcf7 .wpcf7-response-output {
	margin: 1.5em 0 1em;
	padding: .4em 1em;
	border: 2px solid #00a0d2;
	color: #fff;
}
.wpcf7 .wpcf7-response-output.is-ok      { border-color: #46b450; }
.wpcf7 .wpcf7-response-output.is-error   { border-color: #dc3232; }
.wpcf7 .wpcf7-response-output.is-invalid { border-color: #ffb900; }
.wpcf7-not-valid-tip {
	display: block;
	margin: -14px 0 12px;
	color: #ff8a8a;
	font-size: 13px;
	font-weight: normal;
}
.capo-form.enviando .wpcf7-submit {
	opacity: .6;
	pointer-events: none;
}
#contact .contact-info a {
	color: inherit;
}
.grecaptcha-badge {
	visibility: hidden;   /* el aviso de reCAPTCHA se muestra en texto bajo el formulario */
}
.capo-recaptcha-aviso {
	font-size: 11px;
	line-height: 16px;
	color: rgba(255,255,255,.6);
	margin-top: 10px;
}
.capo-recaptcha-aviso a {
	color: rgba(255,255,255,.8);
}
