/*
Theme Name: Elegant Fashion
Theme URI: https://rarathemes.com/wordpress-themes/elegant-fashion/
Template: chic-lite
Author: Rara Theme
Author URI: https://rarathemes.com/
Description: Elegant Fashion is a feature-rich and easy to use feminine blog theme for professional bloggers. This theme is for you if you want to share your expert fashion tips, travel expertise, your favorite food recipes, or create a lifestyle, beauty and makeup, coaching, or any other niche blog. The theme is mobile friendly, SEO optimized, Schema friendly, and loads faster to help you rank your website higher on search engines.  You can easily choose from unlimited colors and 900+ Google fonts to change your website look and feel with a single click. This theme comes with a strategically placed newsletter section that can help you generate more leads, and Instagram section to flaunt your Instagram posts. Feminine Fashion is translation ready, WooCommerce and RTL compatible. Check demo at https://rarathemes.com/theme-demo/?theme=elegant-fashion, read the documentation at https://docs.rarathemes.com/docs/elegant-fashion/, and get support at https://rarathemes.com/support-ticket/.
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, footer-widgets, custom-background, custom-header, custom-menu, custom-logo, featured-images, threaded-comments, full-width-template, rtl-language-support, translation-ready, theme-options, e-commerce
Version: 1.0.4
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 5.7
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: elegant-fashion
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, footer-widgets, custom-background, custom-header, custom-menu, custom-logo, featured-images, threaded-comments, full-width-template, rtl-language-support, translation-ready, theme-options, e-commerce

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Chic Lite is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# varible
--------------------------------------------------------------*/

:root {
    --primary-font: 'DM Sans', sans-serif;
    --secondary-font: 'Nanum Myeongjo', serif;
    --font-color: #333333;
    --primary-color: #cf9c88;
    --primary-color-rgb: 207, 156, 136;
    --black-color: #000000;
    --black-color-rgb: 0, 0, 0;
    --white-color: #ffffff;
    --white-color-rgb: 255, 255, 255;
}

/*============================
HOMEPAGE LAYOUT TWO
============================*/
body.post-layout-two .site-main article {
    border-bottom: 1px solid rgba(var(--primary-color-rgb),0.2);
    padding-bottom: 48px;
    margin-bottom: 48px;
}
body.post-layout-two .site-main article .entry-header {
    margin-bottom: 25px;
}
body.post-layout-two .site-main article .entry-title {
    margin-top: 10px;
    font-size: 2.22em;
}

.post-layout-two .site-main article span.category{
	display: inline-block;
    font-size: 0.6666em;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.49;
    letter-spacing: 1px;
}
.post-layout-two .site-main article span.category a:hover{
	color: #121212;
    text-decoration: none;
}

.owl-carousel>.owl-nav button[class*="owl-"]{
	background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px !important;
}

.nav-menu .close {
    display: none;
    background-color: transparent;
    padding: 0;
}
.secondary-menu .secondary-menu-list  .close {
    display: none;
}

@media screen and (max-width: 1024px) {


	/*=====================
	HEADER T
	=====================*/
	.header-t {
		position: relative;
	}

	.secondary-menu .toggle-btn {
		display: block;
	}


	.secondary-menu .secondary-menu-list {
		display: none;
		position: absolute;
		top: 100%;
		left: 15px;
		right: 15px;
		width: auto;
		height: auto;
		background: var(--white-color);
		box-shadow: 0 5px 10px rgba(var(--black-color-rgb),0.1);
		padding: 0 20px;
		max-height: 44vh;
		overflow: auto;
		visibility: visible;
		z-index: 9;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
		-webkit-transform: none;
		-moz-transform: none;
		transform: none;
	}
    .secondary-menu .secondary-menu-list  .close {
		display: block;
		width: 20px;
		height: 20px;
		position: relative;
		cursor: pointer;
        background: transparent;
        margin-left: auto;
        margin-top: 10px;
	}

	.secondary-menu .secondary-menu-list  .close::before, 
	.secondary-menu .secondary-menu-list  .close::after {
		content: "";
		background: #333;
		height: 2px;
		width: 60%;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
		-webkit-transition: all ease 0.35s;
		-moz-transition: all ease 0.35s;
		transition: all ease 0.35s;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.secondary-menu .secondary-menu-list  .close::after {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.secondary-menu .secondary-menu-list  .close:hover::before, 
	.secondary-menu .secondary-menu-list  .close:hover::after {
		background: #f00;
	}

	.secondary-menu ul li {
		display: block;
	}

	.secondary-menu ul li a {
		padding: 20px 0;
		border-bottom: 1px solid rgba(var(--black-color-rgb),0.1);
		display: block;
	}

	.secondary-menu ul li .submenu-toggle {
		top: 0;
		right: 0;
		width: 20px;
		height: 55px;
		line-height: 55px;
	}

	.secondary-menu ul ul li.menu-item-has-children .submenu-toggle {
		right: 0;
		transform: none;
		top: 0;
	}

	.secondary-menu ul li.menu-item-has-children .submenu-toggle.active {
		-webkit-transform: rotate(180deg);
		-moz-transform: rotate(180deg);
		transform: rotate(180deg);
	}

	.secondary-menu ul ul {
		padding-left: 10px;
		position: static;
		visibility: visible;
		opacity: 1;
		box-shadow: none;
		width: auto;
		display: none;
		-webkit-transition: none;
		-moz-transition: none;
		transition: none;
	}

	.secondary-menu ul ul li {
		padding-left: 0;
		padding-right: 0;
	}

	.secondary-menu ul ul li a {
		border-bottom-style: solid;
	}


}
.post-layout-two  .site-main article span.category a + a::before {
    content: "";
    background: rgba(var(--primary-color-rgb), 0.3);
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: middle;
    margin: -2px 8px 0 5px;
}
.secondary-menu ul.nav-menu.ps{
	overflow:unset !important;
}

@media(min-width:1025px) {
	.style-one .secondary-menu ul li.menu-item-has-children > a{
		position: relative;
	}
	.style-one .secondary-menu ul li.menu-item-has-children > a::after {
        content: '';
        position: absolute;
        background-image: url("data:image/svg+xml,%3Csvg class='svg-inline--fa fa-chevron-down fa-w-14' aria-hidden='true' data-prefix='fas' data-icon='chevron-down' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' data-fa-i2svg=''%3E%3Cpath fill='currentColor' d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: no-repeat;
        top: 4px;
        width: 17px;
        height: 13px;
		right: 2px;
    }
	.style-one .secondary-menu ul li.menu-item-has-children .sub-menu li > a::after{
		top:17px;
	}
	.style-one .secondary-menu ul li .submenu-toggle{
		display: none;
	}
	.style-one .secondary-menu ul li.menu-item-has-children .sub-menu li > a::after,
	.main-navigation ul li.menu-item-has-children .sub-menu li > a::after{
       transform: rotate(-90deg);
   	}
	.secondary-menu .nav-menu>li:nth-last-of-type(1)>ul ul, .secondary-menu .nav-menu>li:nth-last-of-type(2)>ul ul, .secondary-menu .nav-menu>li:nth-last-of-type(3)>ul ul,
	.main-navigation ul.nav-menu>li:nth-last-of-type(1)>ul ul, .main-navigation ul.nav-menu>li:nth-last-of-type(2)>ul ul, .main-navigation ul.nav-menu>li:nth-last-of-type(3)>ul ul{
		left: 100%;
		right: auto;
	}
	.main-navigation ul li.menu-item-has-children:hover > a::after {
      
        background-image: url("data:image/svg+xml,%3Csvg class='svg-inline--fa fa-chevron-down fa-w-14' aria-hidden='true' data-prefix='fas' data-icon='chevron-down' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' data-fa-i2svg=''%3E%3Cpath fill='%23CF9C88' d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'%3E%3C/path%3E%3C/svg%3E");
       
    }

}

@media(max-width: 575px){
	.anwp-pg-wrap .anwp-pg-post-teaser--layout-d .anwp-pg-post-teaser__title{font-size: 3vw;}
}
/*Nuevo header BRGIN*/
.header-bottom{
	background-color: transparent;
    margin-bottom: -44px;
    z-index: 2;
    position: relative;
}
.header-mid{
	display:none;
}
/*Nuevo header END*/

@keyframes parpadeoColor {
  0%, 100% { color: white; }
  50% { color: #ea3540; }
}

.parpadeo {
  animation: parpadeoColor 2s infinite;
}

.subrayado-decorativo {
  position: relative;
  display: inline-block;
  z-index: 1;
  animation: parpadeoColor 2s infinite ease-in-out;
}

.subrayado-decorativo::after {
  content: '';
  position: absolute;
  bottom: -23px;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url('https://linguistancia.es/fr/wp-content/uploads/2025/12/subrayado_fr.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: -1;
}

/* ====== ESTILOS SOLO PARA LA SECCIÓN Testimonios HOME ====== */
/* CONTENEDOR GENERAL DE LA TARJETA (sin sombra) */
.testimonios-cards .elementor-image-box-wrapper {
    text-align: center;
    background: transparent;
    box-shadow: none !important; /* quitar cualquier sombra */
    position: relative;
    padding-bottom: 40px; /* espacio para el botón + */
}

/* IMAGEN ARRIBA */
.testimonios-cards .elementor-image-box-img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 18px !important; /* ya lo tenías, lo reforzamos */
    display: block;
}

/* CAJA DE TEXTO QUE SE SUPERPONE A LA IMAGEN */
.testimonios-cards .elementor-image-box-content {
    background: #ffffff;
    border: 2px solid #d0dff3;          /* color del borde */
    border-radius: 22px;                /* redondeado en los 4 lados */
    margin: -40px 0 0;               /* 🔹 sube la caja sobre la imagen */
    padding: 20px 22px 35px;            /* espacio interno, extra abajo para el + */
    position: relative;                 /* para posicionar el botón + */
    z-index: 2;                         /* queda por encima de la imagen */
}

/* TÍTULO */
.testimonios-cards .elementor-image-box-title {
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 8px;
    color: #154b8b;
}

/* DESCRIPCIÓN */
.testimonios-cards .elementor-image-box-description {
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

/* BOTÓN + BAJO LA CAJA DE TEXTO */
.testimonios-cards .elementor-image-box-content::after {
    content: "+";
    position: absolute;
    left: 50%;
    bottom: -16px;                 /* sale por fuera de la caja */
    transform: translateX(-50%);
    
    width: 36px;
    height: 24px;
    border-radius: 6px;
    background: #c7d0e4;
    
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    text-align: center;
}

/* OPCIONAL: algo de espacio debajo de cada tarjeta */
.testimonios-cards .elementor-image-box-wrapper {
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .testimonios-cards .elementor-image-box-img img {
      height: 160px;
  }
  .testimonios-cards .elementor-image-box-description {
      font-size: 14px;
  }
}

/*Nueva sección de testimonios Homepage*/
/* ==============================
    TARJETAS TESTIMONIOS FINAL
   ============================== */

/* Caja completa */
.testimonios-home .wpmtst-testimonial-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding-top: 0;
}


/* IMAGEN ARRIBA FULL WIDTH */
.testimonios-home .testimonial-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  display: block;
  margin-bottom: -20px; /* para solaparse con caja */
}


/* CAJA BLANCA SOLO PARA NOMBRE Y TEXTO */
.testimonios-home .wpmtst-testimonial {
  position: relative;
}

.testimonios-home .wpmtst-testimonial-inner {
  background: #ffffff;
  border: 2px solid #cbd7ea;
  border-radius: 6px;
  padding: 60px 20px 45px;
  /*margin-top: -40px;*/
  box-sizing: border-box;
}


/* NOMBRE */
.testimonios-home .testimonial-name {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
  color: #003366;
  margin-bottom: 12px;
}


/* TEXTO */
.testimonios-home .testimonial-content,
.testimonios-home .readmore-excerpt {
  text-align: center;
  font-size: 15px;
  color: #003366;
  line-height: 1.45;
}


/* BOTÓN + */
.testimonios-home .wpmtst-inline-readme {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #c7d0e4;
  width: 36px;
  height: 24px;
  border-radius: 6px;
  text-align: center;
}

.testimonios-home .readmore-text {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

/* Contenedor del "+" */
.testimonios-home .readmore {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #c7d0e4;
  width: 36px;
  height: 24px;
  border-radius: 6px;
  text-align: center;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff !important;
  font-size: 16px;
}

/* Reset link */
.testimonios-home .wpmtst-testimonial-content a.readmore {
  text-decoration: none !important;
}

/* Para que el párrafo tenga espacio debajo */
.testimonios-home .wpmtst-testimonial-content p {
  position: relative;
  padding-bottom: 40px;
}



/* OCULTAR COSAS QUE ESTORBAN */
.testimonios-home .clear {
  display: none;
}

.testimonios-container .strong-view.wpmtst-modern .wpmtst-testimonial-image img{
	border-radius: 6px;
}
.testimonios-container .wpmtst-testimonial-image.testimonial-image{
	margin-top: 0px;
}
.testimonios-container .testimonios-home .testimonial-image img{
	width: 100% !important;
	height: 230px;
	margin-top: 0px;
}
.testimonios-home .testimonial-image img{
	margin-bottom: 0px;
}
.testimonios-container .wpmtst-testimonial-field.testimonial-field.testimonial-name{
	padding-left: unset;
	font-size: 16px;
	font-family: 'Open Sans';
}
.testimonios-container .strong-view.wpmtst-modern .wpmtst-testimonial-content:before, .testimonios-container .strong-view.wpmtst-modern .wpmtst-testimonial-content:after{
	display:none;
}
.testimonios-container .wpmtst-testimonial-content.testimonial-content span{
	display: block;
}
.testimonios-container .wpmtst-testimonial.testimonial{
	border-bottom: unset;
}
.testimonios-container .strong-view.wpmtst-modern .wpmtst-testimonial-inner{
	padding: 0px 0px 30px 0px;
}
.testimonios-container .strong-view.wpmtst-modern .wpmtst-testimonial-image{
	    width: 100%;
}

.testimonios-container .wpmtst-testimonial-content p{
	padding: 0px 20px;
	font-size: 14px;
	font-family: 'Open Sans';
}

/* === Sección del nuevo blog === */

/* Contenedor de imagen: asegura posición relativa */
.blog-home .anwp-pg-post-teaser__thumbnail {
  position: relative;
  overflow: hidden;
}

/* Fondo de oscurecimiento al hacer hover */
.blog-home .anwp-pg-post-teaser__thumbnail-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* Sin hover */
  transition: background 0.3s ease-in-out;
  z-index: 1;
}

.blog-home .anwp-pg-post-teaser:hover .anwp-pg-post-teaser__thumbnail-bg {
  background: rgba(0, 0, 0, 0.5); /* Con hover */
}

/* Título: centrado, oculto por defecto */
.blog-home .anwp-pg-post-teaser__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 1em 1.2em;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5em;
  width: 85%;
  max-width: 90%;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  white-space: normal;
  pointer-events: none; /* ← no bloquea el hover */
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Mostrar título al hacer hover */
.blog-home .anwp-pg-post-teaser:hover .anwp-pg-post-teaser__title {
  opacity: 1;
  visibility: visible;
  /* pointer-events permanece en none para mantener el hover activo */
}

/* Enlace dentro del título: clickeable */
.blog-home .anwp-pg-post-teaser__title a {
  pointer-events: auto;
  background-color: transparent;
  color: #fff !important;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {
  .blog-home .anwp-pg-posts-wrapper {
    flex-direction: column;
    gap: 20px; /* Puedes ajustar este valor */
  }
	.blog-home .anwp-pg-post-teaser__title {
		opacity: 1;
		visibility: visible;
		/* pointer-events permanece en none para mantener el hover activo */
	}
	.blog-home .anwp-pg-post-teaser .anwp-pg-post-teaser__thumbnail-bg {
	  background: rgba(0, 0, 0, 0.5); /* Con hover */
	}
}

.first-section{
	/*z-index: -1 !important*/
}
.page .content-area, .page .widget-area, .page .site-main .page-header+.post-thumbnail, .page-content, .entry-content, .entry-summary, .first-section .elementor-widget-container
 {
    margin-top: -41px !important;
}
.entry-content{
	margin-top: 0px !important;
}

.first-section .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	padding-top: 0px;
}

.first-section-title {
	    margin-top: 80px;
}

#tahefobu-header .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	padding: 0px;
}
#tahefobu-header .elementor-column-gap-default>.elementor-column.w-pad-10>.elementor-element-populated{
	padding-top: 2px;
}

#tahefobu-header .menu-item-has-children > a::after {
  content: "▼"; /* flechita básica */
  font-size: 0.7em;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}

#tahefobu-header a:hover{
	text-decoration: none;
}

#tahefobu-header .elementor-widget-hfe-search-button .hfe-search-form__container, #tahefobu-header .elementor-widget-hfe-search-button .hfe-search-icon-toggle .hfe-search-form__input, #tahefobu-header .elementor-widget-hfe-search-button .hfe-input-focus .hfe-search-icon-toggle .hfe-search-form__input {
    border-color: unset !important;
}
#tahefobu-header input:not([type="checkbox"]):not([type="radio"]){
	border: unset !important;
}
#tahefobu-header .hfe-search-icon-toggle{
	color: #fff;
}
#tahefobu-header .svg-inline--fa{
	height: 1.5em !important;
}
#tahefobu-header .elementor-social-icon{
	color: #fff;
}

/* Línea fija solo para el elemento activo */
#tahefobu-header .current-menu-item > a {
    border-bottom: 2px solid #EA3540;
    padding-bottom: 8px;
}

/* Hover para todos los enlaces del menú */
#tahefobu-header .menu-item > a:hover {
    border-bottom: 2px solid #EA3540;
    padding-bottom: 8px;
}

/* Evitar que el activo repita el efecto en hover */
#tahefobu-header .current-menu-item > a:hover {
    border-bottom: 2px solid #EA3540 !important; /* ya estaba */
}

#tahefobu-header {
	position: relative;
	z-index: 1;
}

#form-home p span input{
	border: 2px solid #ea3540!important;
}
#form-home p span textarea{
	border: 2px solid #ea3540!important;
}
#form-home .wpcf7-submit{
	background-color:#ea3540;
}

#wpcf7-f197-p19-o1 > form > p:nth-child(8) > span > span > span > label > span > a{
	color: #074987 !important;
}

#wpcf7-f197-p19-o1 > form > p:nth-child(8) > span > span > span > label > span > a:hover{
	color: #F5333F !important;
}

.elementor-3842 .elementor-element.elementor-element-af51460 .tahefobu-mobile-nav-menu a{
	color: #2e3194 !important;
}
.elementor-3842 .elementor-element.elementor-element-af51460 .tahefobu-mobile-nav-menu .current_page_item a{
	color: #fff !important;
}

@media(max-width: 991px){
	.first-section{
		margin-top: -41px;
	}
}

/*.full-width.post-layout-one .site-main article {
    width: 100%;
}*/

.post-layout-one .site-main article:first-child, .full-width.post-layout-one .site-main article:first-child{
	width: 30.33%;
}
@media(max-width: 768px){
	.post-layout-one .site-main article:first-child, .full-width.post-layout-one .site-main article:first-child {
		width: 100% !important;
	}
	.post-layout-one .site-main article:first-child .entry-content{
		margin-top: -40px !important;
	}
}
.blog img.wp-post-image{
	height: 150px;
    object-fit: cover;
	
}

body.turbo-hide-theme-header.blog header.entry-header{
	display: block !important;
}

@media (max-width: 767px) {
  .reverse-movil > .elementor-widget-wrap {
    display: flex;
    flex-direction: row-reverse;
    /*align-items: center;*/
  }
}

@media (orientation: landscape) and (max-width: 900px), (orientation: portrait) and (max-width: 700px) {
    div#n2-ss-2 .n-uc-G0QB8jzwFqEU-inner, div#n2-ss-2 .n-uc-187d8f1049b03-inner, div#n2-ss-2 .n-uc-16424d978f4b9-inner {
        padding: 150px 25px 20px 25px !important;
    }
}

@media(max-width: 576px){
	.testimonios-container .wpmtst-testimonial-field.testimonial-field.testimonial-name{
		width: 100%;
		background-color: #00000069;
        color: #fff;
		margin-left: -2px;
	}
}

@media(max-width: 768px){
	.footer-contact{
		width: max-content;
	}
}

/* Ajustando Grid de destinos en página de Destination */
.classic-grid-clean .anwp-pg-post-teaser{
  display:flex;
  flex-direction:column;
  height:100%;
}
.classic-grid-clean .anwp-pg-post-teaser__thumbnail{
  flex-shrink:0;
}
.classic-grid-clean .anwp-pg-post-teaser__content{
  display:flex;
  flex-direction:column;
  margin-top:15px;
}
/* Título */
.classic-grid-clean .anwp-pg-post-teaser__title{
  position:static !important;
  margin:0 0 8px !important;
  padding:0 !important;
  text-align:left !important;
  background:none !important;
  font-size:20px !important;
  line-height:1.2em;
  min-height:2.4em; /* reserva espacio para 2 líneas */
}
/* Evitar cortes y fondos */
.classic-grid-clean .anwp-pg-post-teaser__title,
.classic-grid-clean .anwp-pg-post-teaser__title a{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
  background:none !important;
}
.classic-grid-clean .anwp-pg-post-teaser__title a{
  padding:0 !important;
  border-radius:0 !important;
  display:inline !important;
}
/* Descripción */
.classic-grid-clean 
.anwp-pg-post-teaser__excerpt,
.classic-grid-clean 
.rt-detail p{
  margin-top:-15px !important;
  text-align:left;
}
/* Leer más al fondo */
.classic-grid-clean .anwp-pg-post-teaser__read-more{
  margin-top:auto;
}
/* FIN Ajustando Grid de destinos en página de Destination */


/* Corrigiendo tres destinos aleatorios "buscar" */
/* Contenedor y estructura */
.tres-destinos-buscar .rt-detail {
  display: flex;
  flex-direction: column;
}
/* Título */
.tres-destinos-buscar .rt-detail h3 {
  position: static !important;
  margin: 0 0 0.6em !important;
  padding: 0 !important;
  background: transparent !important;
  width: auto !important;
  opacity: 1 !important;
  /* Reservar espacio para títulos de 2 líneas */
  min-height: 3em;
}
/* Enlace del título */
.tres-destinos-buscar .rt-detail h3 a {
  display: block;
  white-space: normal;
  line-height: 1.35;
}
/* Descripción alineada */
.tres-destinos-buscar .rt-detail p,
.tres-destinos-buscar .rt-detail .rt-excerpt {
  margin-top: 0;
}
/* FIN Corrigiendo tres destinos aleatorios "buscar"*/
@media(max-width: 768px){
	/* Apilamos los bloques uno debajo del otro y centramos su contenido */
	.footer-contact {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin-bottom: 15px;
		text-align: center;
	}

	/* Aseguramos que el contenido interno no se estire */
	.footer-contact .elementor-icon-box-wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px; /* Espacio entre icono y texto */
	}

	/* Aseguramos que no se limiten por algún max-width heredado */
	.footer-contact .elementor-icon-box {
		width: auto !important;
	}
	.fb-footer{
		margin-left: auto;
	}
	.inst-footer{
		margin-right: auto;
	}
}

#tahefobu-header a{
	color: #fff;
}
#tahefobu-header .sub-menu a{
	color: var(--primary-color);
}

@media (max-width: 768px){
	.tres-destinos-buscar .rt-row, .dos-articulos-fijos-buscar .rt-row{
		flex-direction: column;
	}
	.tres-destinos-buscar .rt-row .rt-col-xs-4, .dos-articulos-fijos-buscar .rt-row .rt-col-xs-6{
		width: 100%;
	}
}