/* Viajando / Blogs — Aether */

/* Sin hueco grande entre último banner y el footer del sitio */
.aether-body.aether-page-vlog .aether-footer {
  margin-top: 0;
  border-top: none;
}

.aether-vlogs-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 767px) {
  .aether-vlogs-hero--has-movil {
    background-image: var(--aether-movil) !important;
    background-size: cover;
    background-position: center;
  }
  .aether-vlogs-hero--has-movil .aether-vlogs-hero__slide,
  .aether-vlogs-hero--has-movil .aether-hero-nav,
  .aether-vlogs-hero--has-movil .aether-hero-dots {
    display: none;
  }
}
.aether-vlogs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.75), transparent 55%);
}
.aether-vlogs-hero__inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-bottom: 2.5rem;
}
.aether-vlogs-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 42rem;
}
.aether-vlogs-hero__sub {
  max-width: 36rem;
  opacity: 0.92;
}
.aether-vlogs-hero__desc {
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-top: 0.5rem;
}
.aether-vlogs-hero__desc .cms-c-white,
.aether-vlogs-hero__desc .cms-c-inherit {
  color: #fff !important;
}

.aether-vlogs-hero--carousel {
  min-height: 320px;
  background-image: none !important;
  overflow: hidden;
}
.aether-vlogs-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.aether-vlogs-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.aether-vlogs-hero__slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.aether-vlogs-hero--carousel {
  display: block;
}
.aether-vlogs-hero--carousel .aether-vlogs-hero__inner {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
}
.aether-vlogs-hero--carousel .aether-hero-nav,
.aether-vlogs-hero--carousel .aether-hero-dots {
  z-index: 3;
}

/* Listado /viajando — banner inferior del hub */
.aether-vlogs-hub-footer {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: hsl(var(--foreground) / 0.06);
}
.aether-vlogs-hub-footer__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: min(400px, 40vw);
  min-height: 100px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.aether-vlogs-hub-footer__link.is-static {
  pointer-events: none;
  cursor: default;
}
.aether-vlogs-hub-footer__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.aether-vlogs-hub-footer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(var(--foreground) / 0.55),
    transparent 55%
  );
  z-index: 1;
}
.aether-vlogs-hub-footer__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem 1.5rem;
  color: #fff;
  line-height: 1.35;
}
.aether-vlogs-hub-footer__title {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
}
.aether-vlogs-hub-footer__sub {
  display: block;
  font-size: 0.875rem;
  opacity: 0.92;
  margin-top: 0.25rem;
}

.aether-vlogs-featured__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.aether-vlogs-featured__card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: inherit;
}
.aether-vlogs-featured__img {
  aspect-ratio: 16/9;
  background: hsl(var(--muted));
  background-size: cover;
  background-position: center;
}

.aether-vlogs-filter {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}
.aether-vlogs-filter.is-active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.aether-vlogs-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: stretch;
}
.aether-vlogs-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.aether-vlogs-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
  color: inherit;
}
.aether-vlogs-card:hover {
  box-shadow: 0 12px 32px hsl(var(--foreground) / 0.08);
  transform: translateY(-2px);
}
.aether-vlogs-card__media {
  aspect-ratio: 4/3;
  background: hsl(var(--muted));
  background-size: cover;
  background-position: center;
}
.aether-vlogs-card__body {
  padding: 1rem 1.15rem 1.25rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.aether-vlogs-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.aether-vlogs-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.35rem 0;
  color: hsl(var(--foreground));
}
.aether-vlogs-card__excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  flex: 1 1 auto;
}
.aether-vlogs-card__date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.aether-vlogs-card__cta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

/* Detalle — banners tipo hero (altura por proporción, sin bandas grises) */
.aether-vlog-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(460px, 56vw);
  min-height: 200px;
  background: hsl(var(--foreground) / 0.08);
}
.aether-vlog-banner--compact {
  aspect-ratio: 3 / 1;
  max-height: min(400px, 34vw);
  min-height: 120px;
}
@media (min-width: 768px) {
  .aether-vlog-banner {
    max-height: 460px;
  }
  .aether-vlog-banner--compact {
    max-height: 400px;
  }
}
.aether-vlog-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.aether-vlog-banner__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.aether-vlog-banner__slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.aether-vlog-banner__movil {
  display: none;
}
@media (max-width: 767px) {
  .aether-vlog-banner--has-movil > .aether-vlog-banner__movil {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .aether-vlog-banner--has-movil > .aether-vlog-banner__movil img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .aether-vlog-banner--has-movil .aether-vlog-banner__slide > img {
    visibility: hidden;
  }
  .aether-vlog-banner--has-movil .aether-hero-nav,
  .aether-vlog-banner--has-movil .aether-hero-dots {
    display: none !important;
  }
  .aether-vlog-banner--has-movil .aether-vlog-banner__slide {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .aether-vlog-banner--has-movil .aether-vlog-banner__slide:first-child {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1;
  }
}
.aether-vlog-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--foreground) / 0.72),
    hsl(var(--foreground) / 0.35),
    transparent
  );
  z-index: 1;
}
.aether-vlog-banner.is-text-center .aether-vlog-banner__overlay {
  background: linear-gradient(
    to top,
    hsl(var(--foreground) / 0.75),
    hsl(var(--foreground) / 0.25),
    transparent
  );
}
.aether-vlog-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40rem;
  color: #fff;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.aether-vlog-banner.is-text-center .aether-vlog-banner__content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  max-width: 48rem;
}
.aether-vlog-banner__title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #fff;
}
.aether-vlog-banner__sub,
.aether-vlog-banner__desc {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}
.aether-vlog-banner__content .cms-c-white,
.aether-vlog-banner__content .cms-c-inherit {
  color: #fff !important;
}

/* Detalle — portada fallback */
.aether-vlog-article__hero {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}
.aether-vlog-article__hero-overlay {
  min-height: 220px;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.4), transparent);
}
.aether-vlog-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 992px) {
  .aether-vlog-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
  .aether-vlog-aside {
    position: sticky;
    top: 5.5rem;
  }
}
.aether-vlog-layout.is-centered .aether-vlog-main {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.aether-vlog-layout.has-sidebar.is-centered .aether-vlog-main {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.aether-vlog-layout.is-centered .aether-vlog-title,
.aether-vlog-layout.is-centered .aether-landing-resumen,
.aether-vlog-layout.is-centered .aether-vlogs-cat,
.aether-vlog-layout.is-centered .aether-vlog-date {
  text-align: center;
}
.aether-vlog-layout.is-centered .aether-vlog-body {
  text-align: center;
}
.aether-vlog-layout.is-centered .aether-vlog-body ul,
.aether-vlog-layout.is-centered .aether-vlog-body ol {
  text-align: left;
  display: inline-block;
}
.aether-vlog-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.28;
  overflow: visible;
  padding-top: 0.08em;
  margin: 0.5rem 0 0.75rem;
}
.aether-vlog-date {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

/* Barra de título (blogs/prensa sin banner; mismo look que landings) */
.aether-landing-legal-hero {
  background: #E40046;
  color: #fff;
  padding: 3rem 0;
}
.aether-landing-legal-hero h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.aether-landing-legal-hero.is-left .aether-landing-legal-hero__sub {
  margin-left: 0;
  margin-right: auto;
}
.aether-vlog-body {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}
.aether-vlog-body p { margin-bottom: 1rem; }
.aether-vlog-body ul, .aether-vlog-body ol {
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.5rem;
}
/* Bloque + márgenes automáticos en párrafos centrados (alinea con el texto) */
.aether-vlog-body img,
.aether-vlog-inline-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1rem 0;
}
.aether-vlog-body img.aether-vlog-inline-img {
  width: 100%;
}
.aether-landing-page .aether-vlog-body img,
.aether-landing-cards .aether-vlog-body img,
.aether-landing-faqs .aether-vlog-body img {
  width: 100%;
  height: auto;
}
.aether-vlog-body :is(p, div)[style*="text-align: center"] img,
.aether-vlog-body :is(p, div)[style*="text-align:center"] img,
.aether-vlog-body :is(p, div)[align="center"] img {
  margin-left: auto;
  margin-right: auto;
}
.aether-vlog-body :is(p, div)[style*="text-align: right"] img,
.aether-vlog-body :is(p, div)[style*="text-align:right"] img,
.aether-vlog-body :is(p, div)[align="right"] img {
  margin-left: auto;
  margin-right: 0;
}
.aether-vlog-layout.is-centered .aether-vlog-body img,
.aether-vlog-layout.is-centered .aether-vlog-body .aether-vlog-inline-img {
  margin-left: auto;
  margin-right: auto;
}
.aether-vlog-aside__block {
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.25rem;
  background: hsl(var(--surface));
  margin-bottom: 1rem;
}
.aether-vlog-aside__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.aether-vlog-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-decoration: none;
}
.aether-vlog-social__link:hover {
  text-decoration: underline;
}
.aether-vlog-social {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aether-vlog-social li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aether-vlog-social li + li {
  margin-top: 0.5rem;
}
.aether-vlog-related {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aether-vlog-related li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Fuentes por artículo (admin) */
.aether-vlog-f-title-unbounded .aether-vlog-title,
.aether-vlog-f-body-unbounded .aether-vlog-body {
  font-family: 'Unbounded', system-ui, sans-serif;
}
.aether-vlog-f-title-arial .aether-vlog-title,
.aether-vlog-f-body-arial .aether-vlog-body {
  font-family: Arial, Helvetica, sans-serif;
}
.aether-vlog-f-title-inter .aether-vlog-title,
.aether-vlog-f-body-inter .aether-vlog-body {
  font-family: 'Inter', system-ui, sans-serif;
}
.aether-vlog-body .cms-f-unbounded { font-family: 'Unbounded', system-ui, sans-serif; }
.aether-vlog-body .cms-f-arial { font-family: Arial, Helvetica, sans-serif; }
.aether-vlog-body .cms-f-inter { font-family: 'Inter', system-ui, sans-serif; }
.aether-vlog-related li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
}
.aether-vlog-related__link {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: inherit;
}
.aether-vlog-related__link:not(:has(.aether-vlog-related__thumb)) {
  display: block;
}
.aether-vlog-related__thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
  background-size: cover;
}
.aether-vlog-related__text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Cuerpo del artículo — encabezados del editor */
.aether-vlog-body.cms-rich-content,
.aether-vlog-body.cms-rich-content h2,
.aether-vlog-body.cms-rich-content h3,
.cms-rich-content,
.cms-rich-content h1,
.cms-rich-content h2,
.cms-rich-content h3,
.cms-rich-content p,
.cms-rich-content li {
  font-feature-settings: normal;
  font-variant-ligatures: none;
}
.aether-vlog-body.cms-rich-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  line-height: 1.25;
}
.aether-vlog-body.cms-rich-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
  line-height: 1.3;
}

/* Colores CMS en artículos */
.cms-rich-content .cms-c-primary { color: #e85d04; }
.cms-rich-content .cms-c-accent { color: #f97316; }
.cms-rich-content .cms-c-navy { color: #1e3a5f; }
.cms-rich-content .cms-c-muted { color: #6b7280; }
.cms-rich-content .cms-c-secondary { color: #fb7185; }
.cms-rich-content .cms-c-success { color: #16a34a; }
.cms-rich-content .cms-c-info { color: #0ea5e9; }
.cms-rich-content .cms-c-warning { color: #ca8a04; }
.cms-rich-content .cms-c-danger { color: #dc2626; }
.cms-rich-content .cms-c-white { color: #ffffff; }
.cms-rich-content .cms-c-foreground { color: #1a1a2e; }

.cms-rich-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
}
.cms-rich-content th,
.cms-rich-content td {
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  vertical-align: top;
  text-align: left;
}
.cms-rich-content th {
  font-weight: 600;
  background-color: #f3f4f6;
}

/* Modo oscuro: textos CMS / títulos que antes quedaban negros */
html.dark .cms-rich-content .cms-c-foreground {
  color: hsl(var(--foreground));
}
html.dark .cms-rich-content .cms-c-navy {
  color: #93c5fd;
}
html.dark .cms-rich-content .cms-c-muted {
  color: hsl(var(--muted-foreground));
}
html.dark .cms-rich-content th,
html.dark .cms-rich-content td {
  border-color: hsl(var(--border, 220 13% 30%));
}
html.dark .cms-rich-content th {
  background-color: hsl(var(--muted, 220 13% 20%));
}
html.dark .aether-vlog-title,
html.dark .aether-vlog-body {
  color: hsl(var(--foreground));
}
/* El color del CMS vive a veces en un span que envuelve el título.
   Si el título fija su propio color, ese span no se ve y el texto sale negro. */
html.dark .aether-vlog-body p:not([class*="cms-c-"]),
html.dark .aether-vlog-body li:not([class*="cms-c-"]),
html.dark .aether-vlog-body h2:not([class*="cms-c-"]),
html.dark .aether-vlog-body h3:not([class*="cms-c-"]),
.aether-vlog-body.cms-rich-content :is(h2, h3):not([class*="cms-c-"]),
.cms-rich-content :is(h2, h3):not([class*="cms-c-"]) {
  color: inherit;
}
html.dark .aether-vlogs-card__title,
html.dark .aether-prensa-title--centered {
  color: hsl(var(--foreground));
}
html.dark .aether-landing-intro,
html.dark .aether-landing-cards__content,
html.dark .aether-landing-legal__content {
  color: hsl(var(--foreground));
}
html.dark .aether-landing-intro {
  background: hsl(var(--surface));
}
html.dark .aether-landing-accordion .accordion-button {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}
html.dark .aether-landing-accordion .accordion-body {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

/* Pestañas CMS (un panel visible a la vez, como clicair.co/vuelos/bogota) */
.aether-cms-tabs {
  margin: 1.25rem 0 1.75rem;
}
.aether-cms-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.aether-cms-tabs__btn {
  border: 1px solid hsl(var(--border, 220 13% 80%));
  background: hsl(var(--surface, 0 0% 100%));
  color: hsl(var(--foreground));
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  line-height: 1.3;
}
.aether-cms-tabs__btn.is-active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #fff;
}
.aether-cms-tabs__pane {
  display: none;
}
.aether-cms-tabs__pane.is-active {
  display: block;
}
.aether-cms-tabs__pane[hidden] {
  display: none !important;
}

.aether-freq-placeholder {
  border: 2px dashed hsl(var(--primary) / 0.45);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: hsl(var(--muted) / 0.35);
  margin: 1rem 0;
}
.aether-freq-placeholder__hint {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  margin: 0.25rem 0 0.75rem;
}
.aether-freq-placeholder table {
  width: 100%;
  font-size: 0.8rem;
}
.aether-cards-placeholder,
.aether-faqs-placeholder {
  border: 2px dashed hsl(var(--primary) / 0.45);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: hsl(var(--muted) / 0.35);
  margin: 1rem 0;
}
.aether-freq-embed {
  padding-left: 0;
  padding-right: 0;
}

.aether-vlog-body .aether-cards-placeholder,
.aether-vlog-body .aether-faqs-placeholder,
.aether-vlog-body .aether-freq-placeholder {
  display: none;
}

.aether-cms-faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
}
.aether-cms-faq__item {
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  background: #fff;
  overflow: hidden;
}
.aether-cms-faq__q {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.45);
}
.aether-cms-faq__a {
  padding: 0.75rem 1rem 1rem;
}
.aether-cms-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 20rem));
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.aether-cms-cards > * {
  width: 100%;
  max-width: 20rem;
  justify-self: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
a.aether-cms-btn {
  text-decoration: none;
}


