/* ============================================================
   FICHA INDIVIDUAL GEODIRECTORY
   ============================================================ */

/* DIRECTORIO RESTAURANTES — FICHA INDIVIDUAL v3
   Selectores reales: body.single-gd_place, article.gd_place
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- Fondo general --- */
body.single-gd_place {
  background: #FAFAF8 !important;
  font-family: 'DM Sans', sans-serif;
}

/* --- Elementor container principal sin padding extra --- */
body.single-gd_place .e-con-inner {
  padding: 0;
}

/* --- HERO: título blanco sobre fondo oscuro --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_title h1,
body.single-gd_place .elementor-widget-wp-widget-gd_post_title h1 a,
body.single-gd_place .elementor-widget-wp-widget-gd_post_title .geodir-post-title,
body.single-gd_place .elementor-widget-wp-widget-gd_post_title .geodir-post-title a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 52px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  text-decoration: none !important;
}

/* --- Sidebar: título H3 en dark --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_title h3,
body.single-gd_place .elementor-widget-wp-widget-gd_post_title h3 a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #1A1A2E !important;
  text-decoration: none !important;
}

/* --- Descripción larga --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_content p {
  font-size: 16px;
  line-height: 1.75;
  color: #1A1A2E;
  margin-bottom: 16px;
}

/* --- Tags / taxonomías (categorías tipo de cocina) --- */
body.single-gd_place .elementor-widget-wp-widget-gd_cpt_meta a {
  display: inline-block;
  background: #F5EFE6 !important;
  color: #1A1A2E !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  padding: 5px 12px;
  margin: 3px 4px 3px 0;
  text-decoration: none !important;
}

body.single-gd_place .elementor-widget-wp-widget-gd_cpt_meta a:hover {
  background: #E85D26 !important;
  color: #fff !important;
}

/* --- Campos meta (web, instagram, precio, zona) --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1A1A2E;
}

body.single-gd_place .elementor-widget-wp-widget-gd_post_meta a {
  color: #E85D26;
  text-decoration: none;
}

body.single-gd_place .elementor-widget-wp-widget-gd_post_meta a:hover {
  text-decoration: underline;
}

/* --- Dirección --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_address {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1A1A2E;
  line-height: 1.5;
}

/* --- Imagen hero: fuerza height y object-fit --- */
body.single-gd_place .elementor-widget-wp-widget-gd_post_images img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Sidebar card blanca con sombra --- */
body.single-gd_place .e-con.sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 24px;
}

/* --- Ocultar advertencia admin en frontend --- */
body.single-gd_place .geodir-notifications,
body.single-gd_place .gd-place-admin-tip {
  display: none !important;
}

/* --- Ocultar tabs nativos de GD (ya no se usan) --- */
body.single-gd_place .geodir-single-tabs-container {
  display: none !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body.single-gd_place .elementor-widget-wp-widget-gd_post_title h1 {
    font-size: 32px !important;
  }
  body.single-gd_place .elementor-widget-wp-widget-gd_post_images img {
    height: 260px;
  }
}

/* ============================================================
   HERO FICHA: IMAGEN COMO FONDO
   ============================================================ */

.hero-ficha-gd {
        position: relative;
        overflow: hidden;
        min-height: 420px;
        background-color: #1A1A2E;
    }

    /* Convertimos el widget de imagen en una capa de fondo */
    .hero-ficha-gd .elementor-widget-wp-widget-gd_post_images {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        margin: 0;
    }

    .hero-ficha-gd .elementor-widget-wp-widget-gd_post_images .elementor-widget-container,
    .hero-ficha-gd .geodir-post-slider,
    .hero-ficha-gd .geodir-image-container,
    .hero-ficha-gd .geodir-images,
    .hero-ficha-gd .carousel-item,
    .hero-ficha-gd .embed-responsive,
    .hero-ficha-gd .ratio {
        width: 100%;
        height: 100%;
        display: block;
    }

    .hero-ficha-gd .elementor-widget-wp-widget-gd_post_images img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

    /* Capa oscura sobre la imagen */
    .hero-ficha-gd::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(26, 26, 46, 0.65);
        z-index: 1;
        pointer-events: none;
    }

    /* Todo lo demás por encima */
    .hero-ficha-gd > *:not(.elementor-widget-wp-widget-gd_post_images) {
        position: relative;
        z-index: 2;
    }

    .hero-ficha-gd .gd-hero-title,
    .hero-ficha-gd .gd-hero-meta,
    .hero-ficha-gd .gd-badge-widget {
        position: relative;
        z-index: 2;
    }

/* ============================================================
   HORARIO FICHA
   ============================================================ */

.cibeles-horario-ficha{
				margin:30px 0;
			}
			.cibeles-horario-titulo{
				font-size:14px;
				font-weight:700;
				text-transform:uppercase;
				letter-spacing:.08em;
				margin-bottom:14px;
				color:#7b6f67;
			}
			.cibeles-horario-row{
				display:flex;
				justify-content:space-between;
				align-items:center;
				gap:20px;
				padding:14px 18px;
				margin-bottom:8px;
				border:1px solid #ddd6d0;
				border-radius:10px;
				background:#fff;
			}
			.cibeles-horario-day{
				font-size:18px;
				line-height:1.3;
				color:#5d5d5d;
			}
			.cibeles-horario-time{
				font-size:18px;
				line-height:1.3;
				font-weight:500;
				color:#1d1d1d;
				text-align:right;
				white-space:nowrap;
			}
			.cibeles-horario-row.is-today{
				border-color:#e57d45;
			}
			.cibeles-horario-row.is-today .cibeles-horario-day{
				color:#e57d45;
				font-weight:600;
			}

			@media (max-width: 767px){
				.cibeles-horario-row{
					flex-direction:column;
					align-items:flex-start;
				}
				.cibeles-horario-time{
					text-align:left;
					white-space:normal;
				}
			}

/* ============================================================
   GALERÍA LOCAL SLIDER
   ============================================================ */

.cibeles-gallery-slider-wrap{
				margin: 32px 0;
			}

			.cibeles-gallery-slider-title{
				font-size: 14px;
				font-weight: 700;
				text-transform: uppercase;
				letter-spacing: .08em;
				margin-bottom: 14px;
				color: #7b6f67;
			}

			.cibeles-gallery-slider{
				position: relative;
			}

			.cibeles-gallery-viewport{
				overflow: hidden;
			}

			.cibeles-gallery-track{
				display: flex;
				gap: 14px;
				transition: transform .35s ease;
				will-change: transform;
			}

			.cibeles-gallery-slide{
				flex: 0 0 calc((100% - 28px) / 3);
			}

			.cibeles-gallery-slide-link{
				display: block;
				border-radius: 14px;
				overflow: hidden;
				background: #f4f4f4;
			}

			.cibeles-gallery-slide img{
				display: block;
				width: 100%;
				height: 210px;
				object-fit: cover;
			}

			.cibeles-gallery-arrow{
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				width: 42px;
				height: 42px;
				border: 0;
				border-radius: 50%;
				background: rgba(255,255,255,.92);
				box-shadow: 0 2px 10px rgba(0,0,0,.12);
				cursor: pointer;
				z-index: 3;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 28px;
				line-height: 1;
				color: #2b2b2b;
			}

			.cibeles-gallery-prev{
				left: -8px;
			}

			.cibeles-gallery-next{
				right: -8px;
			}

			.cibeles-gallery-arrow:hover{
				background: #fff;
			}

			@media (max-width: 1024px){
				.cibeles-gallery-slide{
					flex: 0 0 calc((100% - 14px) / 2);
				}
			}

			@media (max-width: 767px){
				.cibeles-gallery-slide{
					flex: 0 0 100%;
				}

				.cibeles-gallery-slide img{
					height: 220px;
				}

				.cibeles-gallery-arrow{
					width: 38px;
					height: 38px;
					font-size: 24px;
				}

				.cibeles-gallery-prev{
					left: 6px;
				}

				.cibeles-gallery-next{
					right: 6px;
				}
			}

/* ============================================================
   NOTICIAS RELACIONADAS POR URL
   ============================================================ */

.cibeles-noticias-relacionadas-url-wrap{
				margin:42px 0;
			}

			.cibeles-noticias-relacionadas-url-title{
				font-family:Georgia, serif;
				font-size:22px;
				line-height:1.2;
				font-weight:500;
				margin-bottom:18px;
				color:#111;
			}

			.cibeles-noticias-relacionadas-url-list{
				display:grid;
				gap:16px;
			}

			.cibeles-noticia-relacionada-url-item{
				background:#fff;
				border:1px solid #e7ddd4;
				border-radius:14px;
				padding:18px 16px;
				transition:box-shadow .2s ease, transform .2s ease;
			}

			.cibeles-noticia-relacionada-url-item:hover{
				box-shadow:0 4px 14px rgba(0,0,0,.06);
				transform:translateY(-1px);
			}

			.cibeles-noticia-relacionada-content{
				display:flex;
				align-items:flex-start;
				gap:14px;
			}

			.cibeles-noticia-relacionada-cat{
				flex:0 0 auto;
				display:inline-flex;
				align-items:center;
				justify-content:center;
				background:#f07b2d;
				color:#fff;
				font-size:11px;
				font-weight:700;
				letter-spacing:.04em;
				text-transform:uppercase;
				padding:6px 10px;
				border-radius:6px;
				line-height:1;
				margin-top:2px;
			}

			.cibeles-noticia-relacionada-textos{
				flex:1 1 auto;
				min-width:0;
			}

			.cibeles-noticia-relacionada-thumb{
				display:block;
				margin-bottom:12px;
				border-radius:12px;
				overflow:hidden;
			}

			.cibeles-noticia-relacionada-thumb img{
				display:block;
				width:100%;
				height:180px;
				object-fit:cover;
			}

			.cibeles-noticia-relacionada-title{
				font-size:18px;
				line-height:1.3;
				font-weight:500;
				margin:0 0 6px;
			}

			.cibeles-noticia-relacionada-title a{
				color:#111;
				text-decoration:none;
			}

			.cibeles-noticia-relacionada-title a:hover{
				text-decoration:underline;
			}

			.cibeles-noticia-relacionada-meta{
				font-size:14px;
				color:#6d6d6d;
				line-height:1.4;
			}

			@media (max-width:767px){
				.cibeles-noticia-relacionada-content{
					flex-direction:column;
					gap:10px;
				}

				.cibeles-noticia-relacionada-title{
					font-size:17px;
				}
			}

/* ============================================================
   CATEGORÍAS COMO TAGS
   ============================================================ */

.cibeles-categorias-tags-wrap{
				margin:28px 0;
			}

			.cibeles-categorias-tags-title{
				font-size:14px;
				font-weight:700;
				text-transform:uppercase;
				letter-spacing:.08em;
				margin-bottom:12px;
				color:#7b6f67;
			}

			.cibeles-categorias-tags-list{
				display:flex;
				flex-wrap:wrap;
				gap:10px;
			}

			.cibeles-categoria-tag{
				display:inline-flex;
				align-items:center;
				justify-content:center;
				padding:10px 14px;
				border-radius:10px;
				background:#f4eee7;
				color:#222;
				font-size:15px;
				line-height:1;
				text-decoration:none;
				transition:background .2s ease, color .2s ease, transform .2s ease;
			}

			.cibeles-categoria-tag:hover{
				background:#eadfd3;
				color:#111;
				transform:translateY(-1px);
			}

/* ============================================================
   CHIPS CARACTERÍSTICAS / OCASIÓN
   ============================================================ */

.cibeles-gd-chips-wrap{
				margin: 28px 0;
			}

			.cibeles-gd-chips-title{
				font-size: 14px;
				font-weight: 700;
				text-transform: uppercase;
				letter-spacing: .08em;
				margin-bottom: 12px;
				color: #7b6f67;
			}

			.cibeles-gd-chips-list{
				display: flex;
				flex-wrap: wrap;
				gap: 10px 12px;
			}

			.cibeles-gd-chip{
				display: inline-flex;
				align-items: center;
				gap: 8px;
				padding: 9px 12px;
				border-radius: 10px;
				background: #f4eee7;
				color: #222;
				font-size: 15px;
				line-height: 1;
			}

			.cibeles-gd-chip-icon{
				display: inline-flex;
				align-items: center;
				justify-content: center;
				font-size: 15px;
				line-height: 1;
			}

			.cibeles-gd-chip-text{
				line-height: 1.2;
			}

			@media (max-width: 767px){
				.cibeles-gd-chips-list{
					gap: 8px;
				}

				.cibeles-gd-chip{
					font-size: 14px;
					padding: 8px 10px;
				}
			}

/* ============================================================
   BADGE DESTACADO EN FICHA
   ============================================================ */


.gd-badge-destacado{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:6px;
    background:#E85D26;
    color:#fff;
    font-size:12px;
    line-height:1;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.03em;
}


/* ============================================================
   BUSCADOR CABECERA
   ============================================================ */


.cibeles-buscador-sitios{
    margin:0;
}
.cibeles-buscador-sitios__inner{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
}
.cibeles-buscador-sitios__icono{
    flex:0 0 auto;
    font-size:15px;
    line-height:1;
}
.cibeles-buscador-sitios__input{
    min-width:0;
    width:100%;
    height:38px;
    padding:0 10px;
    border:1px solid #ded1c2;
    border-radius:8px;
    background:#fff;
    font-size:14px;
}
.cibeles-buscador-sitios__boton{
    height:38px;
    padding:0 14px;
    border:0;
    border-radius:8px;
    background:#18162d;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}
