/* Single Post Template - Hosting You Blog */

.hy-hero-title { text-shadow: 0 2px 12px rgba(0,0,0,.35); }

.hy-breadcrumbs { font-size: 14px; color: #71717A; }
.hy-breadcrumbs a { color: #E76F2C; text-decoration: none; }
.hy-breadcrumbs a:hover { text-decoration: underline; }
.hy-bc-sep { color: #A1A1AA; margin: 0 4px; }

.hy-post-excerpt { border-left: 4px solid #E76F2C; padding-left: 16px; }

/* Estilos para contenido Gutenberg dentro del widget Post Content */
.hy-post-content { font-size: 17px; line-height: 1.75; color: #27272A; }
.hy-post-content h2 { font-size: 28px; font-weight: 700; margin-top: 40px; margin-bottom: 16px; color: #0F172A; }
.hy-post-content h3 { font-size: 22px; font-weight: 600; margin-top: 28px; margin-bottom: 12px; color: #0F172A; }
.hy-post-content p  { margin-bottom: 18px; }
.hy-post-content a  { color: #E76F2C; text-decoration: underline; }
.hy-post-content img,
.hy-post-content .wp-block-image img {
  border-radius: 8px;
  margin: 24px 0;
  max-width: 100%;
  height: auto;
}
/* Sombra suave SOLO para imágenes grandes alineadas wide/full o center */
.hy-post-content .wp-block-image.alignwide img,
.hy-post-content .wp-block-image.alignfull img,
.hy-post-content .wp-block-image.aligncenter img {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.hy-post-content .wp-block-image.alignwide img,
.hy-post-content .wp-block-image.alignfull img { width: 100%; }
/* Cursor neutro: el lightbox está deshabilitado, evitar dar pista de "click para zoom" */
.hy-post-content a > img,
.hy-post-content .wp-block-image a > img { cursor: default; }
.hy-post-content a:has(> img) { pointer-events: none; }
.hy-post-content blockquote {
  border-left: 4px solid #E76F2C;
  padding: 8px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #52525B;
  background: #FFF7ED;
  border-radius: 0 8px 8px 0;
}
.hy-post-content ul, .hy-post-content ol { padding-left: 24px; margin-bottom: 18px; }
.hy-post-content li { margin-bottom: 6px; }

/* Forzar columnas Gutenberg a una sola columna en posts del blog */
.hy-post-content .wp-block-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.hy-post-content .wp-block-column {
  width: 100% !important;
  flex: 0 0 100% !important;
  margin-left: 0 !important;
}

/* ── Bloque de alojamientos (inyectado a mitad del contenido) ── */
.hy-alojamientos-block {
  margin: 56px 0;
  padding: 40px 24px 32px;
  background: linear-gradient(180deg, #FFFBF5 0%, #FAFAF9 100%);
  border-radius: 20px;
  border: 1px solid #F1ECE5;
}
.hy-alojamientos-head { text-align: center; margin: 0 0 28px; }
.hy-alojamientos-title {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.hy-alojamientos-sub {
  font-size: 15px;
  color: #71717A;
  margin: 0;
  font-style: normal;
}
.hy-alojamientos-sub strong { color: #E76F2C; font-weight: 600; }

/* Wrapper que contiene el swiper y los botones de nav (fuera de las cards) */
.hy-alojamientos-carousel { position: relative; padding: 0 8px; }

/* Swiper */
.hy-alojamientos-swiper { padding: 4px 0 40px; overflow: hidden; }
.hy-alojamientos-swiper .swiper-wrapper { align-items: stretch; }

/* Card */
.hy-aloj-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04), 0 1px 2px rgba(15, 23, 42, .03);
  transition: transform .3s ease, box-shadow .3s ease;
  height: auto;
  display: flex;
  border: 1px solid #F1ECE5;
}
.hy-aloj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .06);
}
.hy-aloj-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* Imagen */
.hy-aloj-media {
  position: relative;
  overflow: hidden;
  background: #FEF3E7;
}
.hy-aloj-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.hy-aloj-card:hover .hy-aloj-img { transform: scale(1.06); }

/* Badge ubicación */
.hy-aloj-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #E76F2C;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  letter-spacing: 0.01em;
}

/* Body */
.hy-aloj-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 6px;
}
.hy-aloj-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #0F172A;
  line-height: 1.35;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.hy-aloj-price {
  font-size: 14px;
  color: #0F172A;
  margin: 0;
  font-weight: 600;
}
.hy-aloj-price span { color: #71717A; font-weight: 400; margin-right: 2px; }

/* CTA al fondo de la card */
.hy-aloj-cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #E76F2C;
  font-weight: 600;
  border-top: 1px solid #F4F0EA;
  padding-bottom: 0;
  transition: gap .2s ease, color .2s ease;
}
.hy-aloj-cta svg { transition: transform .2s ease; }
.hy-aloj-card:hover .hy-aloj-cta { color: #C95816; }
.hy-aloj-card:hover .hy-aloj-cta svg { transform: translateX(3px); }

/* Botones de navegación (fuera de las cards) — reset agresivo contra estilos de Astra */
.hy-alojamientos-block button.hy-aloj-nav {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #F1ECE5;
  color: #0F172A !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  outline: none;
}
.hy-alojamientos-block button.hy-aloj-nav svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.hy-alojamientos-block button.hy-aloj-nav:hover,
.hy-alojamientos-block button.hy-aloj-nav:focus {
  background: #E76F2C !important;
  background-color: #E76F2C !important;
  color: #ffffff !important;
  border-color: #E76F2C;
  transform: translateY(-50%) scale(1.05);
  outline: none;
}
.hy-aloj-nav--prev { left: -10px; }
.hy-aloj-nav--next { right: -10px; }
.hy-alojamientos-block button.hy-aloj-nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* Pagination dots — reset y simetría */
.hy-aloj-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 0;
}
.hy-aloj-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #D4D4D8;
  opacity: 1;
  border-radius: 999px;
  transition: width .25s ease, background-color .25s ease;
  display: inline-block;
  vertical-align: middle;
}
.hy-aloj-pagination .swiper-pagination-bullet-active {
  background: #E76F2C;
  width: 22px;
}

/* Responsive */
@media (max-width: 768px) {
  .hy-alojamientos-block { padding: 28px 16px 20px; margin: 40px 0; }
  .hy-alojamientos-title { font-size: 22px; }
  .hy-aloj-nav--prev { left: 0; }
  .hy-aloj-nav--next { right: 0; }
  .hy-aloj-nav { width: 36px; height: 36px; }
}

/* Caja autoras */
.hy-autoras-img img { object-fit: cover; aspect-ratio: 1/1; }

/* ── Archive (categoría / tag) ── */
.hy-breadcrumbs--archive { justify-content: center; text-align: center; }
.hy-bc-current { color: #0F172A; font-weight: 600; }
.hy-archive-desc { max-width: 720px; margin: 0 auto; }

/* Grid del archive (shortcode hy_archive_grid) */
.hy-archive-grid-wrap { width: 100%; }
.hy-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1024px) { .hy-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .hy-archive-grid { grid-template-columns: 1fr; gap: 20px; } }

.hy-archive-card {
  background: #fff;
  border: 1px solid #F1ECE5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
}
.hy-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.hy-archive-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.hy-archive-card__media {
  position: relative;
  overflow: hidden;
  background: #FEF3E7;
  aspect-ratio: 16 / 10;
}
.hy-archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.hy-archive-card:hover .hy-archive-card__media img { transform: scale(1.05); }
.hy-archive-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #FFF7ED 0%, #FED7AA 100%);
}
.hy-archive-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #E76F2C;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hy-archive-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.hy-archive-card__date {
  font-size: 12px;
  color: #71717A;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hy-archive-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #0F172A;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hy-archive-card:hover .hy-archive-card__title { color: #E76F2C; }
.hy-archive-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #52525B;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hy-archive-card__more {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  color: #E76F2C;
  font-weight: 600;
  border-top: 1px solid #F4F0EA;
  transition: color .2s ease;
}
.hy-archive-card:hover .hy-archive-card__more { color: #C95816; }

/* Paginación del shortcode hy_archive_grid */
.hy-archive-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.hy-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #F1ECE5;
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.hy-archive-pagination .page-numbers:hover {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #E76F2C;
}
.hy-archive-pagination .page-numbers.current {
  background: #E76F2C;
  border-color: #E76F2C;
  color: #fff;
}
.hy-archive-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

.hy-archive-empty {
  text-align: center;
  color: #71717A;
  padding: 40px 20px;
  font-size: 16px;
}
