/*
Theme Name: Turismo Rural
Description: Tema hijo de Twenty Twenty-Five para sitios de emprendimientos locales (turismo, servicios, productos) que venden por WhatsApp. Framework sitios-turismo-rural. Paleta y tipografías en theme.json; aquí solo utilidades.
Author: lfernan
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turismo-rural
*/

/* Badge de tipo de experiencia (aventura / naturaleza / astronomía / a medida) */
.tr-badge {
	display: inline-block;
	padding: 0.2em 0.75em;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Tarjeta de experiencia (inicio y hub) */
.tr-card {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(31, 42, 30, 0.08);
	height: 100%;
}
.tr-card__foto img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}
.tr-card h3 a {
	text-decoration: none;
}

/* Franja de datos clave de la ficha */
.tr-datos-clave {
	border-radius: 10px;
	border-left: 6px solid var(--wp--preset--color--accent-1);
}

/* Botón flotante de WhatsApp (se inserta desde parts/footer.html) */
.tr-whatsapp {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--whatsapp);
	color: var(--wp--preset--color--accent-5);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}
.tr-whatsapp:hover {
	transform: scale(1.06);
	color: var(--wp--preset--color--accent-5);
}
@media print {
	.tr-whatsapp { display: none; }
}

/* Grilla de tarjetas (inicio y hub): 2 columnas en escritorio, 1 en móvil */
.tr-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}
.tr-grid > * {
	margin-block-start: 0 !important;
}
@media (max-width: 640px) {
	.tr-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Breadcrumb (Yoast emite spans sin contenedor) */
.tr-breadcrumb {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--accent-6);
	margin-bottom: 1rem;
}

/* Tabla de precios en fichas */
.tr-precios table {
	border-collapse: collapse;
	width: 100%;
}
.tr-precios th,
.tr-precios td {
	border: 1px solid var(--wp--preset--color--accent-4);
	padding: 0.6em 0.9em;
	text-align: left;
}
.tr-precios thead th {
	background: var(--wp--preset--color--accent-4);
}

/* Mapa embebido en contacto */
.tr-mapa {
	display: block;
	max-width: 100%;
}


/* Cabañas Las Pircas, 2026-10-11 */
.tr-hero-pircas{position:relative;min-height:580px;display:flex;align-items:center;isolation:isolate;overflow:hidden;background:#172f3b;width:100vw;max-width:none;margin-left:calc(50% - 50vw)}
.tr-hero-video,.tr-hero-sombra{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.tr-hero-sombra{background:linear-gradient(90deg,rgba(9,28,37,.85),rgba(9,28,37,.42));z-index:-1}
.tr-hero-texto{width:min(1200px,100%);margin:auto;padding:4rem 2rem;box-sizing:border-box}.tr-hero-texto h1{color:white;font-size:clamp(2.5rem,5vw,4.2rem);max-width:750px}.tr-hero-texto p{color:white;max-width:620px;font-size:1.2rem}.tr-eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.95rem!important}.tr-hero-botones{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.6rem}.tr-boton{display:inline-block;padding:1rem 1.5rem;border-radius:6px;background:#164e80;color:white!important;text-decoration:none;font-weight:700}.tr-boton-wa{background:#075e54}.tr-boton:hover,.tr-boton:focus-visible{outline:2px solid white;outline-offset:3px}.tr-video-toggle{position:absolute;right:1rem;bottom:1rem;background:#172f3b;color:#fff;border:1px solid #fff;border-radius:4px;padding:.5rem .8rem;cursor:pointer}
.tr-card{padding:0!important;overflow:hidden}.tr-card figure{margin:0!important;width:100%}.tr-card img{width:100%!important;height:230px;object-fit:cover;display:block}.tr-card h3,.tr-card p,.tr-card .wp-block-buttons{margin-left:1.5rem!important;margin-right:1.5rem!important}.tr-card .wp-block-buttons{margin-bottom:1.5rem!important}.tr-cta{padding:2.5rem 1.5rem!important;margin-top:3rem!important}.tr-datos-clave{padding:1.5rem!important}.tr-footer a,.tr-footer a:visited{color:#f8f5ee!important}.tr-footer a:hover,.tr-footer a:focus-visible{color:#fff!important;text-decoration:underline}.wp-block-gallery img{object-fit:cover!important}
@media(max-width:600px){.tr-hero-pircas{min-height:560px}.tr-hero-texto{padding:3rem 1.5rem 4rem}.tr-hero-botones{display:grid}.tr-boton{text-align:center}.tr-footer{padding-bottom:6rem!important}}

.wp-block-site-logo img{max-height:80px;width:auto}@media(max-width:600px){.wp-block-site-logo img{max-height:50px}.wp-block-site-title{font-size:1rem!important;line-height:1.2}}

.entry-content > .tr-hero-pircas{width:auto!important;max-width:none!important;margin-left:calc(-1 * var(--wp--style--root--padding-left, 50px))!important;margin-right:calc(-1 * var(--wp--style--root--padding-right, 50px))!important}

/* Identidad Machukuna: burdeo, ocre y crema del logo. */
.tr-boton{background:#72253B}.tr-footer{background:#311C22!important}.tr-footer a,.tr-footer a:visited{color:#fff5e5!important}.tr-hero-sombra{background:linear-gradient(90deg,rgba(35,13,26,.88),rgba(35,13,26,.35))}.wp-block-site-logo img{background:white;border-radius:8px}.tr-card img{height:260px}

.wp-block-site-logo img{max-height:100px!important;width:140px!important;height:auto!important;object-fit:contain}@media(max-width:600px){.wp-block-site-logo img{width:88px!important;max-height:70px!important}.wp-block-site-title{font-size:18px!important}}

.tr-boton-wa{background:#075E54!important}

/* Cabecera aprobada por instrucción: marca solo en logo. */
header .wp-block-site-logo img{width:220px!important;max-height:140px!important;height:auto!important}@media(max-width:600px){header .wp-block-site-logo img{width:135px!important;max-height:100px!important}}
