/*!
Theme Name: Arriendos Natales
Theme URI: https://arriendosnatales.cl
Author: Patagonia Creativa
Author URI: https://www.instagram.com/patagoniacreativa.cl
Description: Theme a medida para Arriendos Natales — arriendo de herramientas y maquinaria en Puerto Natales.
Version: 1.0.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arriendos_natales
Tags: custom-logo, custom-menu, featured-images, translation-ready

Basado en Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.

NOTA: el diseño vive en /assets/css/style.css y /assets/css/responsive.css.
Este archivo se carga al final y solo contiene:
  1. Estilos obligatorios de WordPress (accesibilidad, alineaciones, captions).
  2. Ajustes propios / overrides del theme.
Los estilos por defecto de Underscores se movieron a style.css.orig-underscores
porque chocaban con la plantilla Bootstrap.
*/

/*--------------------------------------------------------------
# 1. WordPress core (obligatorio)
--------------------------------------------------------------*/

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 0.9em;
	text-align: center;
}

.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

.gallery-caption {
	display: block;
}

.entry-content img,
.single-property-content img {
	max-width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
# 2. Ajustes propios del theme
--------------------------------------------------------------*/

/* La barra de admin no debe tapar el pre-header. */
.admin-bar .header-connect {
	position: relative;
	z-index: 1;
}

/* El logo del navbar puede venir de distintos tamaños. */
.navbar-brand img {
	max-height: 50px;
	width: auto;
}

/* El megamenú se genera desde la taxonomía: los títulos ahora son enlaces. */
.yamm .yamm-content h5 a {
	color: inherit;
	text-decoration: none;
}

/* Ficha de arriendo · bloque de consulta */
.an-consulta-acciones {
	margin: 0;
}

.an-consulta-acciones .btn {
	margin: 0 8px 8px 0;
}

.an-consulta-acciones .btn i {
	margin-right: 6px;
}

/* La galería queda oculta hasta que lightSlider termina de montarla. */
.gallery.cS-hidden {
	visibility: hidden;
	max-height: 520px;
	overflow: hidden;
}

/* Categoría bajo el título de la ficha. */
.single-property-wrapper .property-meta {
	padding: 0 0 14px;
}

/* Catálogo de arriendos */
.an-resultados {
	margin: 0;
	padding: 14px 0;
	font-weight: 600;
}

.an-resultados .an-limpiar {
	margin-left: 12px;
	font-weight: 400;
	text-decoration: underline;
}

.an-btn-buscar {
	width: 100%;
}

.an-sin-resultados {
	padding: 60px 20px 80px;
}

.an-sin-resultados .fa {
	font-size: 48px;
	opacity: 0.25;
	margin-bottom: 18px;
	display: block;
}

.an-sin-resultados h3 {
	margin-bottom: 10px;
}

.an-sin-resultados p {
	margin-bottom: 24px;
}

/* paginate_links marca la página actual con un <span>, no con un <a>. */
.pagination ul li span.current {
	display: inline-block;
	padding: 8px 14px;
	font-weight: 700;
}

.an-sin-resultados .an-sugerencia {
	font-size: 17px;
	margin-bottom: 24px;
}

.an-sin-resultados .an-sugerencia a {
	font-weight: 700;
	text-decoration: underline;
}

/* Formulario de contacto */
.an-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.an-req {
	color: #c0392b;
}

.an-aviso {
	padding: 14px 18px;
	margin-bottom: 24px;
	border-left: 4px solid;
	font-size: 15px;
}

.an-aviso i {
	margin-right: 8px;
}

.an-aviso-ok {
	background: #eef7ee;
	border-color: #3c9a3c;
	color: #245c24;
}

.an-aviso-error {
	background: #fdf0ee;
	border-color: #c0392b;
	color: #8c2b20;
}

.an-form-contacto textarea {
	resize: vertical;
}

.an-mapa iframe {
	display: block;
	width: 100%;
}

/* ------------------------------------------------------------------ *
 * Ficha de arriendo
 * ------------------------------------------------------------------ */

/* Menos aire entre la descripcion y los detalles. */
.single-property .section {
	padding-top: 0;
	padding-bottom: 20px;
}

.single-property .s-property-content > *:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ *
 * Paginas de contenido (page.php)
 * ------------------------------------------------------------------ */

.an-pagina {
	padding-bottom: 55px;
}

.an-pagina-card {
	background-color: #fff;
	border: 1px solid #f0f0f0;
	padding: 40px 45px;
	margin-top: -35px;
	color: #555;
	font-size: 15px;
	line-height: 1.8;
}

.an-pagina-thumb {
	margin: -40px -45px 35px;
}

.an-pagina-thumb img {
	width: 100%;
	height: auto;
}

.an-pagina .entry-content > *:first-child {
	margin-top: 0;
}

.an-pagina .entry-content > *:last-child {
	margin-bottom: 0;
}

.an-pagina .entry-content p {
	margin: 0 0 18px;
}

.an-pagina .entry-content h1,
.an-pagina .entry-content h2,
.an-pagina .entry-content h3,
.an-pagina .entry-content h4,
.an-pagina .entry-content h5,
.an-pagina .entry-content h6 {
	color: #444;
	font-weight: 300;
	line-height: 1.3;
	margin: 38px 0 14px;
}

.an-pagina .entry-content h1,
.an-pagina .entry-content h2 {
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.an-pagina .entry-content h3 {
	font-size: 21px;
}

.an-pagina .entry-content h4,
.an-pagina .entry-content h5,
.an-pagina .entry-content h6 {
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.an-pagina .entry-content a {
	color: #FDC600;
	text-decoration: underline;
}

.an-pagina .entry-content a:hover {
	color: #d9a800;
}

.an-pagina .entry-content ul,
.an-pagina .entry-content ol {
	margin: 0 0 18px;
	padding-left: 20px;
}

.an-pagina .entry-content li {
	margin-bottom: 8px;
}

.an-pagina .entry-content blockquote {
	border-left: 4px solid #FDC600;
	background-color: #fafafa;
	padding: 15px 20px;
	margin: 0 0 20px;
	font-size: 16px;
	font-style: italic;
}

.an-pagina .entry-content img {
	max-width: 100%;
	height: auto;
}

.an-pagina .entry-content table {
	width: 100%;
	margin-bottom: 20px;
}

.an-pagina .entry-content th,
.an-pagina .entry-content td {
	border: 1px solid #eee;
	padding: 8px 12px;
}

.an-pagina .entry-content th {
	background-color: #f7f7f7;
	text-align: left;
}

.an-pagina .entry-content hr {
	border-top: 1px solid #eee;
	margin: 30px 0;
}

/* Palabras largas (URLs de politicas) que desbordan la columna. */
.an-pagina .entry-content {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.an-pagina .entry-footer {
	margin-top: 30px;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
	font-size: 13px;
}

@media (max-width: 767px) {
	.an-pagina-card {
		padding: 25px 20px;
	}

	.an-pagina-thumb {
		margin: -25px -20px 25px;
	}
}
