/*
Theme Name: Alcazaba Theme
Theme URI: Final URL
Author: Estudio Squembri
Author URI: http://www.squembri.com
Description: Tema desarrollado para Alcazaba
Text Domain: alcazaba-theme
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Alcazaba
Text Domain:

This theme, like WordPress, is licensed under the GPL.
*/

/*
 * --------------------------------------------->>>  Ir a Library > CSS > style.css NO ESCRIBIR NADA AQUÍ <<<---------------------------------------------
 * --------------------------------------------->>>  Y a  CSS > style.css <<<---------------------------------------------
*/
.WebC_banner_hotel {
  margin-top: 50px;
}
.WebC_banner_hotel_img {
  width: 100%;
  max-width: 1100px;
}
.WebC_blog_info {
  display: flex;
  flex-direction: column;
}
.posts .item .kk-star-ratings {
  /* transform: scale(0.7) translateX(-38px); */
  transform: scale(1) translateX(0px) !important;
  margin-top: 10px;
}
.kk-star-ratings .kksr-stars .kksr-star .kksr-icon {
  height: 15px !important;
  width: 15px !important;
}
.kk-star-ratings .kksr-stars .kksr-star .kksr-icon,
.kk-star-ratings:not(.kksr-disabled)
  .kksr-stars
  .kksr-star:hover
  ~ .kksr-star
  .kksr-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.WebC_caja_botones_flex {
  display: flex;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 100%;
}
.masonry-grid .item img {
  max-width: 100%;
}
.masonry-grid .item {
  display: block !important;
}
.comoLlegar {
  padding: 30px 0px !important;
}
/* Ajustes slider home */
h2.title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
h2.title em.total {
  font-family: "Open Sans", sans-serif;
  font-size: 31px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
  padding-bottom: 5px;
  line-height: 1;
  margin: 0;
}
h2.title strong.total {
  font-size: 57px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 30px;
}
div.fancybox__container {
  z-index: 99999;
}

/* Quitar el texto gris del blog */
.detalle .cont p {
	color: black !important;
}
.detalle h1,
.detalle .cont h2 {
	color: #106d7e !important;
}
.detalle .cont h3,
.detalle .cont h4,
.detalle .cont h5 {
	color: #2db0ad !important;
}
/* Quitar el texto gris del blog */

@media screen and (max-width: 768px) {
  section.o-slider article.item em.total {
    font-size: 18px;
  }
  section.o-slider article.item strong.total {
    padding-bottom: 10px;
    font-size: 27px;
  }
  section.o-slider article.item .overlay,
  section.o-slider article.item #video-fondo {
    max-height: 300px !important;
    min-height: 300px !important;
  }
  section.o-slider article.item .overlay svg,
  section.o-slider article.item #video-fondo svg {
    max-width: 40px;
    max-height: 40px;
  }
}
/* Ajuste para nuevo formulario de newsletter del form. CF7 mete un párrafo intermedio y se desmaqueta */
.c-footer .o-right__news .cont--send {
  display: block !important;
}
.c-footer .o-right__news .cont--send p {
  display: grid;
  grid-template-columns: 1fr 95px;
  grid-gap: 10px;
}
.c-footer .o-right__news .cont--send p label {
  padding-left: 0px;
}
.wpcf7-response-output {
  color: #fff !important;
}
.c-footer .o-right__news p {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
}
.c-footer .o-right__news p label {
  padding-left: 0px;
  margin-top: 0px;
}
.c-footer .o-right__news .cont--send span {
  width: 100%;
}
.c-footer .o-right__news .cont--send p {
  width: 100%;
}
.c-footer .o-right__news .cont--send p input[type="email"] {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  background: none;
  font-weight: 300;
  font-style: italic;
  color: #d5d5d5;
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  padding: 12px 11px;
  width: 100%;
  outline: 0;
}
/* Cambio Logo 2024 */
.c-header .o-first .nav > li.h-logo a {
  background-image: url("library/images/APH-logo-2024.png") !important;
  background-size: contain !important;
}

@media screen and (max-width: 1024px) {
  .c-header .o-mobile figure img {
    margin-top: 2rem;

    max-width: 65px;
    width: 100%;
    height: auto;

    display: block;
    object-fit: contain;
  }
}
/* Para los bloques y uso de columnas usar el ancho completo */
.wp-block-columns {
  width: 100%;
}
/* Para los bloques de botones usar ancho completo */
.wp-block-buttons.is-content-justification-center {
  width: 100%;
}

.terraza>div img {
	max-width: 100%;
	width:100%;
	height:auto;
}

/* Ajustes https://app.asana.com/0/1202847422553602/1208638478584732/f */
@media screen and (max-width: 767px) {
  body.blog {
    margin-top: 145px;
  }
}
@media screen and (max-width: 767px) {
  body.single-post {
    margin-top: 130px;
  }
}
/* CAMBIOS PLANTILLA EL ARTE EN EL HOTEL */
.c-arte .o-content__first__text h2 {
	max-width: auto !important;
}
.c-arte .o-content__first__text {
    padding-left: 0 !important;
}

/* Añadimos CSS al club de Mirai - Los textos están en el footer.php*/
.club-acceso {
  display: flex;
  align-items: center;        /* Alinea verticalmente */
  justify-content: center;    /* Centra horizontalmente */
  gap: 1rem;                  /* Fija la separación */
  padding: 0.25rem 1rem;
}

#club-premium {
  display: inline-block;
  width: 230px;               /* Fijo para evitar empujones */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

#login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2 !important;
  min-width: 24px;            /* o el tamaño del icono */
}

/* La siguiente línea es para readaptar lo estilos predefinidos de Wordpress y heredados en las tablas */
.wp-block-table {
    width: 100%;
    margin: 2rem 0;
}

/* -------------------------- ENTRADAS DE BLOG Y NOTICIAS - EDICION SEPT 2025 -------------------------- */
.fullwidth { width:100%; }
.post-header { margin-bottom:1rem; }
.post-hero img { display:block; width:100%; height:auto; }
.post-content { margin: 1.5rem 0; }
.post-footer-categories { margin-top:2rem; padding-top:1rem; border-top:1px solid #eee; }
.post-footer-categories .lista-categorias { display:flex; flex-wrap:wrap; gap:.5rem 1rem; list-style:none; padding:0; }
.post-footer-categories .lista-categorias li { margin:0; }
.post-hero {
  position: relative;
  width: 100%;
  max-height: 500px;   /* controlas la altura visible */
  overflow: hidden;
  border-radius: 12px; /* esquinas redondeadas */
  margin-bottom: 2rem;
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recorta la imagen sin deformarla */
  display: block;
  filter: brightness(0.9); /* un pelín más oscura para el overlay */
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Espaciado lateral en móvil para los posts */
@media (max-width: 767px) {
  .single .container.bgWhite {
    padding-left: 4%;
  }
	
@media (max-width: 768px) {


/*-------------------------- FIN DE MODIFICACION DE ENTRADAS --------------------------*/

/* ===== FIX SLIDER VIDEO MOBILE ===== */
@media (max-width: 768px) {

  /* Slide principal */
  #sliderHome .item {
    max-height: none !important;
    height: auto !important;
  }

  /* Overlay del texto */
  #sliderHome .overlay {
    min-height: auto !important;
    max-height: none !important;
    height: 100% !important;
    aspect-ratio: auto !important;
  }

  /* Video */
  #video-fondo {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;

    object-fit: contain !important;
    aspect-ratio: auto !important;
  }

}

/* ===== Banner responsive ===== */
.o-noticias__intro img.WebC_banner_hotel_img{
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
	
@media screen and (max-width: 1024px) {
  /* Botón de reserva */
  .c-header .o-first .nav>li.book-now a {
    display: inline-block !important;
    background-color: #f7931e; /* Color destacado */
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 6px;
    text-align: center;
    margin-top: 10px;
  }

  /* Ocultar span secundario si lo hay */
  .c-header .o-first .nav>li.book-now a span {
    display: none;
  }

  /* Header / nav en móvil */
  .c-header .o-first .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 👈 Alinea todo a la derecha */
    padding-right: 16px;   /* opcional: separación del borde */
  }
}
	
/* Desktop: ocultar el botón extra */
.book-now-mobile {
    display: none;
}

/* Móvil: mostrar el botón fuera del menú */
@media screen and (max-width: 1024px) {
    .book-now-mobile {
        display: block;
        text-align: right; /* alineado a la derecha */
        margin: 10px 0;    /* separación del menú */
    }

    .book-now-mobile .btn-reserva {
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        padding: 10px 20px;
        background-color: #74c6c7; /* mismo color que tu botón actual */
        color: #fff !important;
        border-radius: 5px;
        text-decoration: none;
    }
}

@media screen and (max-width: 1024px) {
   .book-now-mobile {
        display: flex;             /* activa flexbox */
        justify-content: flex-end; /* lo alinea a la derecha */
        align-items: center;       /* lo centra verticalmente */
        height: 50px;              /* altura del header o del contenedor deseado */
        margin: 10px 10px 10px 10px;            /* opcional: separación superior/inferior */
    }

    .book-now-mobile .btn-reserva {
        display: inline-block;
        background: #74c6c7;
        border-radius: 5px;
        font-weight: 700;
        font-size: 13px;
        color: #fff !important;
        padding: 12px 20px;
        text-decoration: none;
    }
}

	
	.cta-page-section-122 .icon-cta-122 img {
		display: none !important;
	}