/*  inhauzze.com */
:root {
	--primary-font: "Montserrat", sans-serif;
	--secondary-font: "Cormorant Infant", serif;

	/* Colors  inhauzze.com */
	--color-base: rgba(0, 0, 0, 0.87);
	--color-dark: #002349;
	--color-dark-soft: color-mix(in srgb, var(--color-dark) 50%, transparent);
	--color-dark-accent: color-mix(in srgb, var(--color-dark) 90%, black);
	--color-light: #ffffff;
	--color-light-soft: color-mix(in srgb, var(--color-light) 50%, transparent);
	--color-light-accent: color-mix(in srgb, var(--color-light) 90%, black);

	--color-surface-light: #F9F8F4;
	--color-surface-dark:     hsl(from var(--color-surface-light) h s 15%);
	--color-surface-dark-accent:    hsl(from var(--color-surface-light) h s 5%);

	/* --wpds-fonts-headline: Postoni, garamond, serif; */
	/* --wpds-fonts-headline: Bodoni Moda, garamond, serif; */
	--wpds-fonts-headline: Libre Bodoni, garamond, serif;
	--wpds-fonts-subhead: Franklin, arial, sans-serif;
	--wpds-fonts-body: georgia, Times New Roman, serif;
	--wpds-fonts-meta: Franklin, arial, sans-serif;
	--wpds-fonts-magazine: PostoniDisplayMag, garamond, serif;
}

/* Utilidades Bootstrap 4 que blog.php / blog-article.php usan pero que
   no existen en Bootstrap 3.3.7 de este proyecto. Mismo criterio que
	 ya se usó en inhauzze.com (styles_mls_dev.css) para este problema. */

.d-none {
	display: none !important;
}

.d-block {
	display: block !important;
}

.mx-auto {
	margin-left: auto !important;
	margin-right: auto !important;
}

.mb-3 {
	margin-bottom: 16px !important;
}

.mb-4 {
	margin-bottom: 16px !important;
}

.mb-6 {
	margin-bottom: 24px !important;
}

.mt-3 {
	margin-top: 16px !important;
}

.mt-7 {
	margin-top: 32px !important;
}

.pt-7 {
	padding-top: 32px !important;
}

.pb-0 {
	padding-bottom: 0 !important;
}

.px-0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.w-150px {
	width: 150px !important;
}

.d-flex {
	display: flex !important;
}

.justify-content-between {
	justify-content: space-between !important;
}

.align-items-center {
	align-items: center !important;
}


/* ==========================================
	 BLOG (listado 1)
========================================== */

body.blog .blog-category-badges.blog-category-badges-general::after {
	display: none;
}

body.blog .blog-category-badges.blog-category-badges-general {
	width: 100%;
	flex-direction: column;
	height: auto;
}

.blog-category-badges-general .blog-categories-badges-container {
	display: flex;
	align-items: center;
	flex-direction: row;
	width: 100%;
}

.blog-category-badges-general .blog-categories-badges-list {
	display: flex;
	align-items: center;
	justify-content: center;
	/* overflow: hidden; */
	min-width: 0;
	width: 100%;
}

.blog-category-badges-general .blog-categories-badges-list,
.blog-category-badges-general .remaining-categories-badges {
	gap: 8px;
}

.blog-category-badges-general .search-button-categories {
	flex-shrink: 0;
}

.blog-category-badges-general .search-button-categories {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	/* border: solid 1px #00000075; */
	font-weight: 600;
	height: 32px;
	width: 32px;
	border-radius: 50%;
	cursor: pointer;
}

.blog-category-badges-general .search-button-categories i {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
}

.blog-category-badges-general .search-button-categories:hover,
body.blog .blog-category-badge:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-category-badges-general .remaining-categories-badges {
	padding: 8px 0 0;
	display: flex;
	justify-content: center;
}

/* -----------------------------------------
     SKELETON — categorías del hero mientras
     JS mide y distribuye (evita parpadeo feo)
  ----------------------------------------- */

body.blog .blog-category-badges-skeleton {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 auto;
	max-width: 600px;
}

body.blog .blog-category-badge-skeleton {
	height: 28px;
	width: 110px;
	border-radius: 14px;
	background: linear-gradient(90deg, #f5f5f5 25%, #fafafa 50%, #f3f3f3 75%);
	background-size: 200% 100%;
	animation: blogSkeletonPulse 1.4s ease-in-out infinite;
}

body.blog .blog-category-badge-skeleton:nth-child(2) {
	width: 90px;
}

body.blog .blog-category-badge-skeleton:nth-child(3) {
	width: 130px;
}

body.blog .blog-category-badge-skeleton:nth-child(4) {
	width: 100px;
}

@keyframes blogSkeletonPulse {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}


body.blog .blog-category-badge.is-active-filter {
	background: var(--color-dark);
	color: #fff;
}


/* ==========================================
	 BLOG (listado)
========================================== */

body.blog .main_content {
	overflow: visible;
}

body.blog .banner .txt {
	top: 63%;
}

body.blog section.section-article {
	padding-top: 32px !important;
}

body.blog section.section-article .container {
	max-width: 992px;
}

body.blog .blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px 35px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 8px;
}

body.blog .blog-grid>.blog-card {
	min-width: 0;
}

body.blog .blog-card {
	background: #fff;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	transition: box-shadow .4s ease;
}

body.blog .blog-card:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

body.blog .blog-card .blog-card-content {
	padding: 0 16px 24px;
}

body.blog .blog-card a {
	display: block;
	color: inherit;
}

body.blog .blog-card-image {
	overflow: hidden;
	margin-bottom: 16px;
}

body.blog .blog-card-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
	font-size: 11px;
	letter-spacing: 0;
}

body.blog .blog-card:hover .blog-card-image img {
	transform: scale(1.05);
}

body.blog .blog-card-date {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #a1adc4;

	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
}

body.blog .blog-card-title {
	font-family: var(--wpds-fonts-headline);
	-webkit-font-smoothing: antialiased;
	text-transform: initial;
	color: var(--color-base);
	font-weight: 400;
	font-optical-sizing: auto;
	font-style: normal;
	letter-spacing: -0.53px;

	font-size: 24px;
	line-height: 1.2;

	margin-bottom: 12px;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 60px;
	/* 28px × 1.25 × 2 líneas */
}

body.blog .blog-card-excerpt {
	font-family: var(--wpds-fonts-headline);
	-webkit-font-smoothing: antialiased;
	text-transform: initial;
	color: var(--color-base);
	font-weight: 400;
	font-optical-sizing: auto;
	font-style: normal;
	letter-spacing: 0;

	font-size: 18px;
	line-height: 1.3;

	margin-bottom: 8px;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	min-height: 94px;
	/* 15px × 1.8 × 4 líneas */
}

body.blog .blog-card-link {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;

	color: var(--color-dark);

	position: relative;
}

body.blog .banner-profile-70vh {
	height: 45vh;
	min-height: 350px;
	overflow: hidden;
	position: relative;
}

body.blog .banner-profile-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* -----------------------------------------
   BUSCADOR DE ARTÍCULOS
----------------------------------------- */

body.blog .blog-search-wrapper {
	max-width: 480px;
	margin: 0 auto;
}

body.blog .blog-search-input {
	width: 100%;
	height: 48px;
	padding: 0 20px;

	border: 1px solid #e0e0e0;
	border-radius: 24px;

	font-family: var(--primary-font);
	font-size: 14px;

	outline: none;
	transition: border-color .2s ease;
}

body.blog .blog-search-input:focus {
	border-color: var(--color-dark);
}

body.blog .blog-search-input::placeholder {
	color: #aaa;
}

body.blog .blog-search-no-results {
	text-align: center;
	color: #a1adc4;
	font-size: 14px;
	padding: 20px 0 0;
}


/* -----------------------------------------
   BADGES DE CATEGORÍA — reutilizado en
   cards del listado y en el cierre del
   detalle del artículo. Solo informativos.
----------------------------------------- */

body.blog .blog-category-badges {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	height: 28px;
	margin-bottom: 12px;
	overflow-x: scroll;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* Edge legacy / IE */
}

body.blog.blog-article .blog-category-badges {
	justify-content: center;
}

body.blog .blog-categories-badges-container .blog-category-badges {
	overflow-x: visible;
}

body.blog .blog-category-badges::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Edge moderno */
}

body.blog .blog-category-badges::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40px;

	background: linear-gradient(to right, transparent, #fff 85%);
	pointer-events: none;
}

body.blog .article-footer-categories .blog-category-badges {
	height: auto;
	margin-bottom: 0;
	flex-wrap: wrap;
}

body.blog .article-footer-categories .blog-category-badges::after {
	display: none;
}

body.blog .blog-category-badge {
	flex-shrink: 0;
	white-space: nowrap;

	font-family: var(--wpds-fonts-body);
	font-size: 11px;
	line-height: 1.8;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .5px;

	color: var(--color-base);
	background: var(--color-surface-light);

	padding: 0 12px;
	border-radius: 12px;

	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

body.blog.blog-article .article-footer-categories {
	/* margin-top: 44.8px; */
	/* padding-top: 41.6px; */
	/* padding-bottom: 9.6px; */
	/* border-bottom: solid 0 #e0e4eb; */
}

/* Variante inline: categorías junto a la fecha, arriba del artículo — 
   anula el espaciado/borde pensado para cuando vivía al pie */
body.blog.blog-article .article-date-categories-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 24px !important;
	margin-bottom: 4px !important;
	gap: 16px;
}

body.blog.blog-article .article-date-categories-row .article-date {
	white-space: nowrap;
	flex-shrink: 0;
}

body.blog.blog-article .article-date-categories-row .article-footer-categories--inline {
	min-width: 0;
	/* permite que ESTE lado sea el que se comprima/wrappee, no la fecha */
}

body.blog.blog-article .article-footer-categories.article-footer-categories--inline {
	margin: 0;
	padding: 0;
	border-top: none;
	width: 100%;
	max-width: 100%;
}

body.blog.blog-article .article-footer-categories--inline .blog-category-badges {
	justify-content: flex-end;
}

.article-author-avatar-gloho {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1a2b5c;
	/* ajusta al azul de marca real si no coincide */
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}


/* ==========================================
	 BLOG ARTICLE fuentes https://typescale.com/ -> mayor second
========================================== */


body.blog.blog-article .section-article .h1,
body.blog.blog-article .section-article h1 {
	font-size: 40.55px;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 16px;
}

body.blog.blog-article .section-article .h2,
body.blog h2 {
	font-size: 36.04px;
	line-height: 1.2;
}

body.blog.blog-article .section-article .h3,
body.blog.blog-article .section-article h3 {
	font-size: 32.04px;
	line-height: 1.2;
}

body.blog.blog-article .section-article .h4,
body.blog.blog-article .section-article h4 {
	font-size: 28.48px;
	line-height: 1.1;
}

body.blog.blog-article .section-article h5 {
	font-size: 25.31px;
}

body.blog.blog-article .section-article h6 {
	font-size: 22.5px;
}

body.blog.blog-article .section-article strong {
	font-weight: 600;
}

body.blog.blog-article .section-article .h2,
body.blog h2,
body.blog.blog-article .section-article .h3,
body.blog.blog-article .section-article h3,
body.blog.blog-article .section-article .h4,
body.blog.blog-article .section-article h4,
body.blog.blog-article .section-article .h5,
body.blog.blog-article .section-article h5,
body.blog.blog-article .section-article .h6,
body.blog.blog-article .section-article h6 {
	margin-top: 48px !important;
	margin-bottom: 16px !important;
}

body.blog.blog-article .section-article .h1,
body.blog.blog-article .section-article h1,
body.blog.blog-article .section-article .h2,
body.blog h2,
body.blog.blog-article .section-article .h3,
body.blog.blog-article .section-article h3,
body.blog.blog-article .section-article .h4,
body.blog.blog-article .section-article h4,
body.blog.blog-article .section-article .h5,
body.blog.blog-article .section-article h5,
body.blog.blog-article .section-article .h6,
body.blog.blog-article .section-article h6 {
	font-family: var(--wpds-fonts-headline);
	-webkit-font-smoothing: antialiased;
	text-transform: initial;
	color: var(--color-base);
	font-weight: 400;
	font-optical-sizing: auto;
	font-style: normal;
	line-height: 1.15;
	letter-spacing: -0.53px;
}

article :is(p, ul, ol, small) {
	/* margin-bottom: 16px !important; */
}


body.blog.blog-article section.section-article .container,
body.blog.blog-article section.featured-properties-section hr {
	margin: 0 auto;
	max-width: 870px;
}

article :is(p, .title-section, ul, ol, small, strong, b, i, .article-date, .article-author,
	.article-footer-categories, body.blog.blog-article .article-author-row,
	body.blog.blog-article section.featured-properties-section hr,
	.article-date-categories-row,
	h1, h2, h3, h4, h5, h6) {
	margin: 0 auto;
	max-width: 720px;

	
}


/* Tipografía compartida de cuerpo — todos los tags de bloque del
   content_html, EXCEPTO blockquotes de embeds externos (Twitter/X,
   Instagram), que deben quedar intactos para que su propio widget
   los reconozca y transforme. */
body.blog.blog-article .section-article :is(p, ul, ol, small),
body.blog.blog-article .section-article blockquote:not(.twitter-tweet):not(.instagram-media),
body.blog.blog-article .section-article pre,
body.blog.blog-article .section-article code,
body.blog.blog-article .section-article li p {
	font-size: 20px;
	font-family: var(--wpds-fonts-body);
	color: var(--color-base);
	letter-spacing: 0;
	text-rendering: optimizelegibility;
	text-size-adjust: 100%;
	unicode-bidi: isolate;
	width: 100%;
	tab-size: 4;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

body.blog.blog-article .section-article :is(p, ul, ol) {
	font-size: 20px;
	line-height: 1.6;
}

body.blog.blog-article .section-article :is(small) {
	font-size: 12px !important;
	line-height: 1.4 !important;
	display: flex;
  margin-bottom: 1rem !important;
}

body.blog.blog-article .section-article :is(p) {
	margin-bottom: 25.6px !important;
}

/* Evita doble espaciado cuando un <p> vive dentro de un <li> */
body.blog.blog-article .section-article li p {
	margin-bottom: 6.4px;
}

body.blog.blog-article .section-article>p:last-child {
	/* margin-bottom: 0; */
}


/* Bloques de código — Technology y similares */
body.blog.blog-article .section-article pre {
	background: #f5f5f5;
	border-radius: 4px;
	padding: 16px;
	overflow-x: auto;
	font-family: "Courier New", monospace;
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 25.6px;
}

body.blog.blog-article .section-article code {
	font-family: "Courier New", monospace;
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 0.9em;
}

/* Embeds sueltos (YouTube/social) insertados directo en content_html */
body.blog.blog-article .section-article iframe {
	max-width: 100%;
	margin: 0 auto!important;
	display: flex!important;
}

/* -----------------------------------------
   LISTAS
----------------------------------------- */

body.blog.blog-article .section-article article>ul,
body.blog.blog-article .section-article article>ol {
	margin-bottom: 25.6px;
	padding-left: 22.4px;
}

body.blog.blog-article .section-article article ul ul,
body.blog.blog-article .section-article article ul ol,
body.blog.blog-article .section-article article ol ul,
body.blog.blog-article .section-article article ol ol {
	margin-top: 9.6px;
	margin-bottom: 9.6px;
}

body.blog.blog-article .section-article article li {
	margin-bottom: 11.2px;
}

body.blog.blog-article .section-article article li::marker {
	color: var(--color-dark);
}

/* -----------------------------------------
   BLOCKQUOTE — línea vertical fina, sin fondo
----------------------------------------- */

body.blog.blog-article .section-article article>blockquote {
	font-size: 21px;
	font-style: italic;
	line-height: 1.6;
	color: var(--color-dark);

	margin: 38.4px 0;
	padding-left: 25.6px;
	border-left: 3px solid var(--color-dark);
}

body.blog.blog-article .section-article article>blockquote p {
	margin-bottom: 0;
}

body.blog.blog-article .section-article article>blockquote cite {
	display: block;
	margin-top: 12.8px;
	font-size: 14px;
	font-style: normal;
	font-family: var(--primary-font);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #a1adc4;
}

/* -----------------------------------------
   TABLAS — bordes horizontales únicamente
----------------------------------------- */

body.blog.blog-article .section-article article table {
	width: 100%;
	margin: 38.4px 0;
	border-collapse: collapse;
	font-family: var(--primary-font);
	font-size: 15px;
	line-height: 1.6;
}

body.blog.blog-article .section-article article table th,
body.blog.blog-article .section-article article table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e6e6e6;
}

body.blog.blog-article .section-article article table th {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #a1adc4;
	border-bottom: 2px solid var(--color-dark);
}

body.blog.blog-article .section-article article table tr:last-child td {
	border-bottom: none;
}

/* -----------------------------------------
   ENLACES dentro del cuerpo del artículo
----------------------------------------- */

body.blog.blog-article .section-article article>p a,
body.blog.blog-article .section-article article li a {
	color: var(--color-dark);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--color-dark) 35%, transparent);
	text-underline-offset: 2px;
	transition: text-decoration-color .2s ease;
}

body.blog.blog-article .section-article article>p a:hover,
body.blog.blog-article .section-article article li a:hover {
	text-decoration-color: var(--color-dark);
}

/* -----------------------------------------
   HR — separadores manuales en el contenido
----------------------------------------- */
body.blog.blog-article .section-article hr,
body.blog.blog-article .section-article article hr {
	margin: 44.8px 0;
	border: none;
	border-bottom: solid 1px #e0e4eb;
}

/* -----------------------------------------
   IMÁGENES Y CAPTIONS — ajuste tipográfico
   (estructura .sizing-normal / .figure-container
   ya existe, no se modifica layout, solo type)
----------------------------------------- */

body.blog .figure-caption {
	font-family: var(--primary-font);
	font-size: 13px;
	font-style: italic;
	color: #a1adc4;
	margin-top: 12.8px;
	text-align: center;
}

/* -----------------------------------------
   ARTICLE HEADER — autor y fecha
   (no estaba definido, infiero del contexto
   de blog-article.php: .article-author, .article-date)
----------------------------------------- */

body.blog.blog-article .article-header {
	margin-bottom: 40px;
}

body.blog.blog-article .blog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	font-family: var(--primary-font);
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #a1adc4;
	text-decoration: none;

	margin-bottom: 25.6px;
	transition: color .2s ease;
}

body.blog.blog-article .blog-back-link:hover {
	color: var(--color-dark);
}

body.blog.blog-article article img {
	display: block;
	margin: 0 auto 8px;
	font-size: 10px;
	max-width: 100%;
}

body.blog.blog-article .article-author-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
}

body.blog.blog-article .article-author-row .article-author {
	margin: 0;
}

.article-bookmark-btn {
	display: none !important;
	/* display: flex; */
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid #8a8a8f;
	background: transparent;
	color: #6b6b70;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.article-bookmark-btn:hover {
	border-color: var(--color-dark);
	color: var(--color-dark);
}

.article-bookmark-btn.is-bookmarked {
	background: var(--color-dark);
	border-color: var(--color-dark);
	color: #fff;
}

.article-bookmark-btn.is-bookmarked svg path {
	fill: currentColor;
}

body.blog.blog-article .article-author {
	display: flex;
	align-items: center;
	gap: 10px;

	font-family: var(--primary-font);
	font-size: 14px;
	margin: 16px 0;
}

body.blog.blog-article .article-author-avatar {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;

	background: #f0f0f0;
}

body.blog.blog-article .article-author-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.blog.blog-article .article-author-name-container {
	display: flex;
	flex-direction: column;
	line-height: 20px;
}

body.blog.blog-article .article-author-name {
	color: var(--color-dark);
}

body.blog.blog-article .article-author-link {
	color: #1a0dab;
	font-size: 12px;
	cursor: pointer;
}

body.blog.blog-article .article-author-link:hover {
	text-decoration: underline;
}

body.blog.blog-article .article-author strong {
	font-weight: 600;
	letter-spacing: 0.8px;
}

body.blog.blog-article .article-date {
	font-size: 16px;
	letter-spacing: 0.5px;
	margin: 0;
}

body.blog .sizing-normal {
	display: block;
	-ms-interpolation-mode: bicubic;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

body.blog .figure-container {
	margin-top: 32px;
	margin-bottom: 32px;
}


/* Widgets */
/* ==========================================
   BLOG SUBSCRIBE
========================================== */
body.blog.blog-article .section-article .blog-widget-agent-quote {
	font-family: var(--wpds-fonts-body);
	font-style: italic;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 20px;
	border-radius: 8px;
	background: var(--color-surface-light);
	margin: 20px 0;
}

body.blog.blog-article .section-article .blog-widget-agent-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

body.blog.blog-article .section-article .blog-widget-agent-content {
	flex: 1 1 0%;
	min-width: 0;
}

body.blog.blog-article .section-article .blog-widget-agent-quote-text {
	font-size: 16px;
	font-style: italic;
	margin: 0 0 8px !important;
}

body.blog.blog-article .section-article .blog-widget-agent-name-line {
	margin-bottom: 16px;
}

body.blog.blog-article .section-article .blog-widget-agent-name-line strong {
	margin-right: 6px;
}

body.blog.blog-article .section-article .blog-widget-agent-contact-line {
	margin: 4px 0 10px;
	font-size: 13px;
}

body.blog.blog-article .section-article .blog-widget-agent-contact-line a {
	color: inherit;
	text-decoration: underline;
}

body.blog.blog-article .section-article .blog-widget-agent-sep {
	margin: 0 6px;
	opacity: .5;
}

body.blog.blog-article .section-article .blog-widget-agent-socials {
	display: flex;
	gap: 24px;
}


body.blog.blog-article .section-article .blog-widget-agent-social-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid var(--color-surface-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .7;
}

body.blog.blog-article .section-article .blog-widget-agent-social-icon:hover {
	opacity: 1;
}

body.blog.blog-article .section-article .blog-widget-agent-social-icon i {
	font-size: 12px;
}
body.blog.blog-article .section-article .blog-widget-agent-social-icon i:before {
	margin-left: 2px;
}

body.blog.blog-article .section-article :where(
.blog-widget-agent-quote,
.blog-widget-agent-quote-text,
.blog-widget-agent-name-line strong,
.blog-widget-agent-socials,
.blog-widget-agent-social-icon) {
		color: var(--color-surface-dark)!important;
}

/* CTA button */
.blog-widget-cta {
	text-align: center;
	margin: 20px auto;
	display: inline-flex;
	justify-content: center;
	width: 100%;
}

.blog-widget-cta-button { 
	font-family: var(--wpds-fonts-body);
	-webkit-border-radius: 22.5px;
	-moz-border-radius: 22.5px;
	border-radius: 22.5px;
	font-size: 18px;
	font-weight: 400;
	height: 45px;
	line-height: 100%;
	padding: 0 24px;
	cursor: pointer;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: inline-flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	background-color: var(--color-surface-dark) !important;
	color: #fff !important;
	letter-spacing: normal;
}

.blog-widget-cta-button:hover {
	background-color: var(--color-surface-dark-accent) !important;
	color: #fff !important;
	text-decoration: none !important;
}


/* ==========================================
   BLOG SUBSCRIBE
========================================== */
body.blog .blog-subscribe {
	max-width: 900px;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Contenedor propio, sin depender de .row/.col-* de Bootstrap.
   El par (Featured + Subscribe) se centra como bloque combinado;
   Subscribe tiene ancho fijo (280px), Featured toma el ancho
   intrínseco de su grid de fichas (1/2/3 vía data-count). */
body.blog.blog-article section.featured-properties-section .featured-properties-flex {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 48px;
}

body.blog.blog-article section.featured-properties-section .featured-properties-col {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
}

body.blog.blog-article section.featured-properties-section .subscribe-col {
	display: flex;
	flex: 0 0 280px;
	max-width: 280px;
}

body.blog.blog-article section.featured-properties-section .subscribe-col .blog-subscribe {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 3rem;
}

body.blog.blog-article section.featured-properties-section .subscribe-col .blog-subscribe-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	gap: 32px;
}

/* Sin propiedades relacionadas: Subscribe queda solo, centrado,
   con un ancho más generoso que el 280px fijo del caso con fichas. */
body.blog.blog-article section.featured-properties-section .featured-properties-flex--centered .subscribe-col {
	flex: 0 1 520px;
	max-width: 520px;
	width: 100%;
}


body.blog.blog-article .section-article h3.blog-subscribe-title {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.blog.blog-article .section-article h3.blog-featured-properties-title {
	margin-top: 0 !important;
	margin-bottom: 24px !important;
}

body.blog .blog-subscribe-launch {
	color: #8d8d8d;
	margin-bottom: 24px;
}

body.blog .blog-subscribe-description {
	margin: 0 auto 50px;
	line-height: 1.6;
}

body.blog .blog-subscribe-form {
	display: flex;
	justify-content: center;
	align-items: stretch;
	max-width: 520px;
	width: 100%;
	margin: 0 auto;
}

body.blog .blog-subscribe-input {
	flex: 1;
	border: 2px solid var(--color-dark);
	border-right: 0;
	height: 50px;
	padding: 0 8px 0 12px;
	outline: none;
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	min-width: 160px;
	font-size: 12px;
}

body.blog .blog-subscribe-button {
	background: var(--color-dark);
	color: #fff;
	border: 2px solid var(--color-dark);
	min-width: 90px;
	cursor: pointer;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
	font-size: 12px;
}

body.blog .blog-subscribe-disclaimer {
	margin: 0 auto;
	font-size: 12px;
	line-height: 1.8;
	color: #8d8d8d;
}

.real-estate-goals-subtitle {
	font-size: 16px;
}

.blog-share-wrapper {
	padding-top: 32px;
	padding-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.blog.blog-article .section-article .blog-share-wrapper h5, body.blog.blog-article .section-article .blog-share-wrapper h6 {
	margin: 0 !important
}

.blog-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 70%;
}

.blog-share.social a span {
	margin-right: 0;
}

body.blog .blog-share-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: solid 1.5px #8a8a8f;
	color: #6b6b70;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}


body.blog .blog-share-icon svg {
	display: block;
}

body.blog .blog-share.social {
	/* display: flex;
	align-items: center;
	gap: 24px; */
}

body.blog .blog-share.social a:hover .blog-share-icon {
	background-color: var(--color-surface-dark);
	color: var(--color-surface-light);
	border-color: var(--color-surface-dark);
}

body.blog #shareTelegram .blog-share-icon svg {
	transform: translate(-1px, 1px);
}

body.blog #shareEmail .blog-share-icon svg {
	transform: translateY(-2px);
}

body.blog #shareNative .blog-share-icon svg {
	transform: translateY(-1px);
}

/* -----------------------------------------
   MEDIA DEL ARTÍCULO — galería y video
----------------------------------------- */

body.blog.blog-article .article-media-video {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	/* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: 4px;
}

body.blog.blog-article .article-media-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

body.blog.blog-article .article-gallery-slide img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 0;
}

body.blog.blog-article .article-gallery-counter {
	text-align: center;
	font-family: var(--primary-font);
	font-size: 12px;
	color: #a1adc4;
	margin-top: 8px;
	letter-spacing: 1px;
}

/* Slick */
body.blog.blog-article .slick-arrow {
	background: rgba(255, 255, 255, .85);
	color: #a1adc4;
	width: 36px;
	height: 36px;
	font-size: 16px;
	top: calc(50% - 24px);
}

body.blog.blog-article .slick-arrow:hover {
	background: #fff;
}

.slick-arrow.slick-prev {
	right: inherit;
	left: 10px !important;
}

.slick-arrow.slick-next {
	left: inherit;
	right: 10px !important;
}

/* body.blog.blog-article .slick-arrow.slick-prev {
	left: 10px;
	right: inherit; 
}

body.blog.blog-article .slick-arrow.slick-next {
	right: 10px;
	left: inherit; 
} */


/* -----------------------------------------
   FEATURED PROPERTIES — cards MLS en blog
----------------------------------------- */
body.blog.blog-article section.featured-properties-section>.container {
	max-width: 1200px;
	padding-top: 48px;
	padding-bottom: 16px;
}

body.blog .blog-featured-properties {
	padding-top: 0;
}

body.blog .blog-section-title {
	font-family: var(--primary-font);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #a1adc4;
}

body.blog .blog-featured-listings-grid {
	display: grid;
	gap: 8px;
	justify-content: start;
	/* las fichas conservan su max-width nativo (335px), no se estiran */
}

body.blog .blog-featured-listings-grid .mls-card-media,
body.blog .blog-featured-listings-grid .mls-card-media img {
	height: 180px;
}

body.blog .blog-featured-listings-grid .mls-card {
	min-height: 280px;
	max-height: 280px;
}

/* Cantidad real de propiedades (spec: máx. 3) — el "padre" con data-count
   nos permite ajustar sin tocar .mls-card, que viene intacto de styles_mls_dev.css */
body.blog .blog-featured-listings-grid[data-count="1"] {
	grid-template-columns: minmax(0, 335px);
}

body.blog .blog-featured-listings-grid[data-count="2"] {
	grid-template-columns: repeat(2, minmax(0, 335px));
}

body.blog .blog-featured-listings-grid[data-count="3"] {
	grid-template-columns: repeat(3, minmax(0, 335px));
}

body.blog.blog-article .section-article .blog-featured-listings-grid h5 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}


.top-banner .container {
	max-width: 992px;
}


/* Banner principal con categorías y caja de búsqueda */
.main_content section.banner-basic .container {
	max-width: 992px;
}

.main_content section.banner-basic {
	margin-top: 0;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-top: 3.5rem;
}

.spotlight-line {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 32px 128px 32px;

}

.spotlight-line .line {
	flex: 1 1 auto;
	min-width: 0;
	border-bottom: solid 1px #e0e4eb;
	background-color: transparent;
}

.spotlight-line .inline-title {
	flex-shrink: 0;
	white-space: nowrap;
}


/* -----------------------------------------
   LEAD FUNNEL — widget reutilizable
----------------------------------------- */

body.blog .blog-funnel-section {
	padding-top: 0;
}

.blog-funnel-widget {
	max-width: 640px;
	margin: 0 16px;
}

.funnel-inner {
	background-color: var(--color-surface-light);
	padding: 32px 16px;
	border-radius: 5px;
	margin-top: 32px;
}

/* Dots */
.funnel-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.funnel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 1px solid #d0d0d0;
	background: transparent;
	padding: 0;
	cursor: default;
	transition: all .2s ease;
}

.funnel-dot.is-answered {
	background: var(--color-dark);
	border-color: var(--color-dark);
	cursor: pointer;
}

.funnel-dot.is-current {
	border-color: var(--color-dark);
	background: transparent;
	/* box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-dark) 15%, transparent); */
}

/* Pregunta */
body.blog.blog-article .section-article h5.funnel-question {
	height: 50px;
	/* background: red; */
	margin-top: 0 !important;
	text-align: center;
}

/* Respuestas */
.funnel-answers {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 auto 8px;
	max-width: 80%;
	min-height: 240px;
}

.funnel-answer-btn {
	padding: 12px 16px;
	border: 1.5px solid #f9f8f4;
	border-radius: 32px;
	background: #fff;
	font-family: var(--primary-font);
	font-size: 0.938;
	line-height: 1.3;
	color: var(--color-dark);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.funnel-answer-btn:hover {
	border-color: var(--color-dark);
}

.funnel-answer-btn.is-selected {
	border-color: var(--color-dark);
	background: color-mix(in srgb, var(--color-dark) 6%, transparent);
	font-weight: 500;
}

.funnel-contact-form {
	height: 220px;
	width: 80%;
	margin: 0 auto;
}

.funnel-contact-form .form-group {
	margin-bottom: 10px;
}

.funnel-contact-form .btn {
	height: 42px;
}

/* Navegación */
.funnel-nav {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
}

.funnel-btn-prev {
	grid-column: 1;
}

.funnel-dots {
	grid-column: 2;
	justify-self: center;
}

.funnel-btn-next {
	grid-column: 3;
	justify-self: end;
}


.funnel-nav .btn {
	/* height: 32px;
	width: 32px;
	border-radius: 50%;
	padding: 0; */
	border-radius: 24px;
	background-color: #ffffff;
	border: solid 1px #ffffff;
	height: 48px;
	width: 80px;
}

.funnel-nav .btn i {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}


/* Formulario de contacto */
.funnel-contact-form .form-control {
	border-radius: 0px;
	background-color: #fff;
	/* border: 1.5px solid #e0e0e0; */
}

.funnel-contact-form .form-control:focus {
	border-color: var(--color-dark);
	box-shadow: none;
}

.funnel-contact-form .form-control.is-invalid {
	border-color: #E53935;
}

.funnel-contact-form .invalid-feedback {
	font-size: 10px;
	margin-top: 0;
}

/* Confirmación */
.funnel-success {
	text-align: center;
	padding: 24px 0;
}

.funnel-success i {
	font-size: 40px;
	color: #1D9E75;
	display: block;
	margin-bottom: 12px;
}

.funnel-success h5 {
	margin-bottom: 8px;
}

.funnel-success p {
	color: #666;
	font-size: 15px;
}

body.blog .funnel-steps-wrapper {
	overflow: hidden;
}

body.blog .funnel-steps-track {
	display: flex;
	transition: transform 0.35s ease;
}

body.blog .funnel-step {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
}

.funnel-step .bootstrap-select>.dropdown-toggle {
	width: 90px;
	background: #fff;
	height: 100%;
}

.funnel-step .funnel-answers-feedback {
	font-size: 10px;
	margin-top: 0;
}


/* Social */
.social>a {
	opacity: .6;
	text-decoration: none !important;
	height: 100%;
	display: inline-block;
}

.social>a:hover,
.social>a:focus,
.social>a:hover {
	opacity: 1;
	text-decoration: none !important;
}

.social a span {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 16px;
}

.social>a i {
	color: #171819;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	width: 32px;
	border-radius: 50%;
	border: solid 1px #000;
}

.social>a i:before {
	/* margin-left: 2px; */
}

.social>a i.icon-envelope,
.social>a i.icon-upload2,
.social>a i.icon-link2 {
	font-weight: 600
}

.social>a i.icon-logo-telegram:before {
	margin-left: -1px;
	margin-top: 1px;
}

.social>a i.icon-envelope:before,
.social>a i.icon-upload2:before {
	margin-bottom: 3px;
}


.icons {
	color: #a19f9f;
	height: 24px;
	width: 24px;
	font-size: 16px;
}


/* -----------------------------------------
   RESPONSIVE — el par Featured/Subscribe
   apila en pantallas angostas
----------------------------------------- */
@media (max-width: 991px) {
	body.blog.blog-article section.featured-properties-section .featured-properties-flex {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	body.blog.blog-article section.featured-properties-section .featured-properties-col {
		width: 100%;
	}

	body.blog.blog-article section.featured-properties-section .subscribe-col {
		flex: 0 1 420px;
		max-width: 420px;
		width: 100%;
	}

	body.blog .blog-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 25px;
	}

	body.blog .blog-card-title {
		font-size: 24px;
		min-height: 60px;
		/* 24px × 1.25 × 2 líneas */
	}
}

@media (max-width: 767px) {
	body.blog .blog-featured-listings-grid {
		grid-template-columns: 1fr !important;
		justify-content: stretch;
	}

	body.blog .blog-featured-listings-grid .mls-card {
		max-width: 100%;
	}

	body.blog .main_content section {
		padding-bottom: 0 !important;
	}

	body.blog .blog-grid {
		grid-template-columns: 1fr;
		padding: 50px 20px;
		gap: 40px;
	}

	body.blog .blog-card-title {
		font-size: 22px;
		min-height: 55px;
		/* 22px × 1.25 × 2 líneas */
	}

	body.blog .banner-profile-70vh {
		height: 45vh;
		min-height: 320px;
	}

	body.blog .banner .txt h1.hero-title {
		font-size: 40px;
	}

	/* BLOG SUBSCRIBE */
	body.blog .blog-subscribe {
		padding: 60px 20px;
	}

	body.blog .blog-subscribe-button {
		width: 100%;
		min-width: auto;
		height: 50px;
	}

}