/*
Theme Name: Ferry Patagonia
Theme URI: https://www.ferrypatagonia.com
Author: Datactil
Description: Tema de bloques para Naviera Transal — Ferry Patagonia. Replica el sistema visual del sitio original en Wix (Josefin Sans, verde Transal) sin depender de ningún constructor de pago.
Version: 1.89
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: ferrypatagonia
*/

/* ------------------------------------------------------------------
   Escala tipográfica medida en el sitio original (escritorio ~1920px):
   título de página ~44px, sección ~31px, subtítulo ~22px, texto ~18px.
   El tema traía 60 / 40 / 24 / 17 y los títulos se veían desproporcionados.
   Estas reglas ganan a las de theme.json (:where) y se cachean con Version.
   ------------------------------------------------------------------ */
body {
  font-size: 1.125rem;
}

h1,
.wp-block-post-title {
  font-size: clamp(1.85rem, 1.2rem + 1.3vw, 2.75rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.4rem, 1.15rem + 0.65vw, 1.95rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.12rem, 1.05rem + 0.25vw, 1.375rem);
  line-height: 1.35;
}

/* ------------------------------------------------------------------
   Cabecera: la píldora del menú y «Comprar Pasajes» van separados,
   como en el sitio original. No hay logo en esta barra.
   ------------------------------------------------------------------ */
.fp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 27px 0 12px;
  background: transparent;
}

.fp-header__bar {
  display: flex;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Barco de la portada: línea punteada entre las tarjetas de ruta y
   «Estado de los Puertos». El vector se desplaza en horizontal con el scroll. */
body.home { overflow-x: clip; }

body.home .fp-rumbo {
  position: relative;
  height: 42px;
  margin-top: 4.5rem;
  margin-bottom: 1.5rem;
  /* 100vw más un margen negativo corría la página y dejaba un borde blanco. */
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.fp-rumbo__linea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background-image: radial-gradient(circle, #c5cad1 1.15px, transparent 1.25px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
  background-position: center;
}

.fp-rumbo__barco {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 30px;
}

.fp-rumbo__barco svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .fp-rumbo__barco { transform: none !important; }
}

.fp-nav a {
  color: var(--wp--preset--color--texto);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.fp-nav a:hover,
.fp-nav a:focus-visible {
  background: var(--wp--preset--color--gris);
  color: var(--wp--preset--color--texto);
}

/* ------------------------------------------------------------------
   Barra verde de sección ("Horarios", "Tarifario"): el elemento más
   reconocible de las páginas de ruta en el sitio original.
   ------------------------------------------------------------------ */
.fp-seccion-verde {
  background: var(--wp--preset--color--verde);
  color: #fff;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.entry-content h2 {
  margin-top: 2.5rem;
}

/* En las rutas, los h2 del cuerpo («Horarios», «Tarifario») usan el
   encabezado de sección. El tamaño lo define .fp-encabezado__titulo. */
.single-rutas .entry-content > h2 {
  background: none;
  text-align: left;
  padding: 0;
  border-radius: 0;
}

/* ------------------------------------------------------------------
   Ficha de ruta: mapa junto a «Tarifas y Horarios», y viajes privados
   en recuadro verde con la foto, como en el original.
   ------------------------------------------------------------------ */
.single-rutas main.fp-ruta {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.fp-ruta-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.fp-ruta-hero .fp-ruta-hero__texto { order: 1; text-align: left; }
.fp-ruta-hero .fp-mapa { order: 2; }

.fp-ruta-hero .fp-mapa {
  margin: 0;
  min-height: 440px;
}

.fp-ruta-hero .fp-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  aspect-ratio: auto;
  border-radius: 0;
}

.single-rutas .fp-mapa figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fp-ruta-hero__texto h1 {
  margin: 0;
}

.fp-ruta-hero__nombre {
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.fp-ruta-hero__texto p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.single-rutas .entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1120px;
}

/* Horarios y tarifario, centrados. La hora va al borde derecho
   para que las filas queden en columna, como en el original. */
.single-rutas .entry-content.is-layout-constrained > :is(.schedule-container, .pricing-container, .ferry-widget) {
  max-width: 560px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-rutas .entry-content .schedule-row {
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.single-rutas .entry-content .time-pills {
  flex: 0 0 auto;
  margin-left: auto;
}

.fp-ruta-comprar {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0.25rem;
}

.fp-ruta-privados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.75rem;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
}

.fp-ruta-privados__texto {
  background: #032238;
  color: #fff;
  text-align: center;
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-ruta-privados__texto h2 {
  color: #fff;
  background: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: clamp(1.45rem, 1.2rem + 0.5vw, 1.85rem);
}

.fp-ruta-privados__texto p { margin: 0 0 1rem; }
.fp-ruta-privados__texto p:last-child { margin-bottom: 0; }
.fp-ruta-privados__texto a { color: #fff; }

.fp-ruta-privados__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.fp-ruta-noticias {
  margin-top: 3rem;
}

.fp-ruta-noticias .wp-block-post-title {
  font-size: 1.15rem;
  line-height: 1.3;
}

@media (max-width: 781px) {
  .fp-ruta-hero,
  .fp-ruta-privados { grid-template-columns: 1fr; }
  .fp-ruta-hero .fp-mapa,
  .fp-ruta-hero .fp-mapa iframe { min-height: 320px; }
  .fp-ruta-privados__foto img { height: 240px; }
}

/* ------------------------------------------------------------------
   Blog: fila de categorías, como el índice original.
   ------------------------------------------------------------------ */
.fp-solo-lectores {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fp-blog-nav {
  margin: 0.4rem auto 2.4rem;
}

.fp-blog-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-blog-nav a {
  display: inline-block;
  color: #192328;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.35rem 0.05rem 0.4rem;
  border-bottom: 2px solid transparent;
}

.fp-blog-nav a:hover,
.fp-blog-nav a:focus-visible,
.fp-blog-nav a.is-active {
  color: rgb(9, 107, 198);
}

.fp-blog-nav a.is-active {
  border-bottom-color: rgb(9, 107, 198);
}

/* ------------------------------------------------------------------
   Nosotros (/naviera-transal): banda menta, dos columnas y foto ancha,
   como la página original.
   ------------------------------------------------------------------ */
body.page-naviera-transal { overflow-x: clip; }

.page-naviera-transal main {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.fp-nosotros-hero {
  background: #032238;
  padding: 3.25rem 1.5rem;
  text-align: left;
}

.fp-nosotros-hero__fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.fp-nosotros-hero__texto { max-width: 42rem; }

.fp-nosotros-hero .fp-encabezado {
  margin: 0;
}

.fp-nosotros-hero .fp-encabezado__etiqueta { color: #9ee9cb; }

.fp-nosotros-hero .fp-encabezado__titulo {
  color: #f7fbf9;
}

.fp-nosotros-hero .fp-encabezado__bajada,
.fp-nosotros-hero__texto > p {
  max-width: 40rem;
  color: #d5e4ea;
}

.fp-nosotros-hero__texto > p {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.fp-nosotros-hero__texto > p strong { color: #fff; }

.fp-nosotros-hero__sello {
  width: 148px;
  height: auto;
  flex: 0 0 auto;
}

.fp-nosotros-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3.5rem;
  max-width: 1080px;
  margin: 3.5rem auto 3.25rem;
  padding: 0 1.5rem;
}

.fp-nosotros-columnas h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  margin-top: 0;
}

.fp-nosotros-columnas h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.fp-nosotros-columnas h3 + p + h3 {
  margin-top: 1.75rem;
}

.fp-nosotros-foto figure {
  margin: 0;
}

.entry-content .fp-nosotros-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 0;
}

@media (max-width: 780px) {
  .fp-nosotros-hero { padding: 2.4rem 1.35rem; }
  .fp-nosotros-hero__fila { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .fp-nosotros-hero__sello { width: 96px; order: -1; }
  .fp-nosotros-columnas {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
  }
  .entry-content .fp-nosotros-foto img { aspect-ratio: 1.7 / 1; }
}

/* ------------------------------------------------------------------
   Tarjetas de listado (destinos, noticias)
   ------------------------------------------------------------------ */
.fp-card {
  background: #fff;
  border: 1px solid var(--wp--preset--color--borde);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 35, 40, 0.1);
}

.fp-card .wp-block-post-title a {
  text-decoration: none;
  color: var(--wp--preset--color--texto);
}

.fp-card .wp-block-post-title a:hover {
  color: var(--wp--preset--color--verde-oscuro);
}

.fp-card .wp-block-post-featured-image img {
  border-radius: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* ------------------------------------------------------------------
   Botón flotante de WhatsApp — en Wix está presente en todo el sitio.
   ------------------------------------------------------------------ */
.fp-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.fp-whatsapp svg { width: 30px; height: 30px; fill: #fff; }
.fp-whatsapp:hover { background: #1fb457; }

/* ------------------------------------------------------------------
   Pie de página. La cubierta del ferry va de fondo, velada en navy
   para que el texto claro se lea y la foto se siga viendo.
   Marca y oficinas van en la misma franja; el crédito cierra abajo.
   Las columnas pueden achicarse: un ancho fijo empujaba la página
   y dejaba un borde blanco a la derecha.
   ------------------------------------------------------------------ */
.fp-footer {
  position: relative;
  isolation: isolate;
  color: #f4f7f8;
  margin: 0;
  padding: 2.35rem 0 1.45rem;
  background: #032238;
  border-top: 3px solid #76e4bc;
  overflow-x: clip;
}

.fp-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/footer-ferry.webp") center 58% / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.fp-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 34, 56, 0.28);
  pointer-events: none;
}

.fp-footer__panel {
  position: relative;
  box-sizing: border-box;
  width: min(1120px, calc(100% - 2.5rem));
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 2.75rem;
  row-gap: 1.35rem;
  align-items: center;
}

.fp-footer a { color: #fff; text-decoration: none; }
.fp-footer a:hover { text-decoration: underline; color: #fff; }

.fp-footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

.fp-footer__marca {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
}

.fp-footer__marca-datos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.fp-footer__sello {
  width: 108px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
}

.fp-footer__webpay {
  width: 128px;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.fp-footer__enlaces {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.fp-footer__enlaces a {
  padding: 0.12rem 0;
}

.fp-footer__oficinas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.35rem;
  min-width: 0;
}

.fp-footer__oficina {
  min-width: 0;
}

.fp-footer__oficina p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(244, 247, 248, 0.92);
  overflow-wrap: anywhere;
}

.fp-footer__credito {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem 0.7rem;
  margin: 0.15rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: rgba(244, 247, 248, 0.92);
}

.fp-footer__credito a::before {
  content: "·";
  margin-right: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
  .fp-footer { padding: 2rem 0 1.35rem; }
  .fp-footer__panel {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 1.5rem;
  }
  .fp-footer__marca { justify-content: center; }
  .fp-footer__oficinas { justify-self: stretch; width: 100%; }
}

@media (max-width: 720px) {
  .fp-footer { padding: 1.75rem 0 1.25rem; }
  .fp-footer__panel { width: calc(100% - 1.5rem); }
  .fp-footer__marca {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .fp-footer__marca-datos,
  .fp-footer__enlaces { align-items: center; }
  .fp-footer__enlaces a { padding: 0.4rem 0.35rem; }
  .fp-footer__oficinas {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .fp-footer__oficina {
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    text-align: center;
  }
  .fp-footer h3,
  .fp-footer__credito { text-align: center; }
}

/* ------------------------------------------------------------------
   Contenido migrado desde Wix
   ------------------------------------------------------------------ */
.entry-content figure img { border-radius: 10px; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--wp--preset--color--borde);
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.entry-content th {
  background: var(--wp--preset--color--gris);
  font-weight: 700;
}

/* Los widgets de horarios y tarifas vienen con su propio CSS, que
   functions.php imprime en la página. Esto sólo los encuadra. */
.entry-content .schedule-container,
.entry-content .ferry-widget,
.entry-content .pricing-container {
  margin: 1.5rem 0;
}

.entry-content .promo-banner h3 {
  color: #fff;
}

.single-rutas .entry-content > .fp-encabezado {
  max-width: 680px;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .pricing-container table,
.entry-content .schedule-container table {
  width: 100%;
  margin: 0 0 12px;
  font-size: 14px;
}

.entry-content .pricing-container th,
.entry-content .pricing-container td,
.entry-content .schedule-container th,
.entry-content .schedule-container td {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 10px;
}

.entry-content .pricing-container tr:last-child td,
.entry-content .schedule-container tr:last-child td {
  border-bottom: 0;
}

.single-rutas .entry-content > .fp-encabezado + .schedule-container,
.single-rutas .entry-content > .fp-encabezado + .pricing-container,
.single-rutas .entry-content > .fp-encabezado + .ferry-widget {
  margin-top: 0;
}

@media (max-width: 781px) {
  .fp-nav { gap: 0.2rem !important; }
  .fp-nav a { font-size: 0.85rem; padding: 0.4rem 0.55rem; }
}

/* ------------------------------------------------------------------
   Menú de destinos (bloque dinámico): se alimenta del CPT, no de una
   lista escrita a mano.
   ------------------------------------------------------------------ */
.fp-destinos-menu { position: relative; }

.fp-destinos-menu__toggle {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wp--preset--color--texto);
  background: none;
  border: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
}

.fp-destinos-menu__toggle::after { content: " ▾"; font-size: 0.8em; }
.fp-destinos-menu__toggle:hover { background: var(--wp--preset--color--gris); }

.fp-destinos-menu__lista {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  min-width: 230px;
  max-height: 60vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--wp--preset--color--borde);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(25, 35, 40, 0.14);
  display: none;
}

.fp-destinos-menu__lista li { margin: 0; }

.fp-destinos-menu__lista a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--wp--preset--color--texto);
  text-decoration: none;
}

.fp-destinos-menu__lista a:hover { background: var(--wp--preset--color--gris); }

.fp-destinos-menu__toggle[aria-expanded="true"] + .fp-destinos-menu__lista,
.fp-destinos-menu:hover .fp-destinos-menu__lista,
.fp-destinos-menu:focus-within .fp-destinos-menu__lista { display: block; }

/* ------------------------------------------------------------------
   Mapa de ubicación
   ------------------------------------------------------------------ */
.fp-mapa { margin: 2.5rem 0 0; }

.fp-mapa iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border: 0;
  border-radius: 12px;
  display: block;
}

.fp-mapa figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--wp--preset--color--texto-suave);
  text-align: center;
}

/* ------------------------------------------------------------------
   Ficha de destino. Foto y mapa comparten una franja contenida:
   antes iban uno bajo el otro, a 1600px y con más de 400px de alto.
   ------------------------------------------------------------------ */
body.single-destinos { overflow-x: clip; }

.single-destinos main.fp-destino {
  max-width: none;
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.single-destinos main.fp-destino > .fp-destino-hero,
.single-destinos main.fp-destino > .fp-destino-media { margin-block-start: 0; }

.fp-destino-hero {
  background: #0f3152;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.6rem 1.25rem 2.35rem;
}

.fp-destino-hero .wp-block-post-title,
.fp-destino-hero .fp-encabezado {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.fp-destino-hero .fp-encabezado__titulo {
  color: #fff;
  text-align: center;
  font-size: clamp(34px, 4vw, 46px);
}

.fp-destino-hero .fp-encabezado__titulo::before {
  content: none;
  display: none;
}

.fp-destino-hero .fp-encabezado__etiqueta {
  justify-content: center;
  color: #d7fff1;
}

.fp-destino-hero .fp-encabezado__etiqueta::before { display: none; }

.fp-destino-hero .fp-encabezado__bajada {
  max-width: 38rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

.fp-destino-media {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 1.5rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.85fr);
  gap: 0.9rem;
  align-items: stretch;
}

.fp-destino-media > * { margin: 0; }

.fp-destino-foto,
.single-destinos .fp-destino-media .fp-mapa {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e7eef2;
}

.fp-destino-foto .wp-block-post-featured-image {
  margin: 0;
}

.fp-destino-foto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.single-destinos .fp-destino-media .fp-mapa {
  position: relative;
  align-self: stretch;
  min-height: 220px;
}

.single-destinos .fp-mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.single-destinos .fp-mapa figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fp-destino-media:not(:has(img)) { grid-template-columns: minmax(0, 640px); }
.fp-destino-foto:not(:has(img)) { display: none; }
.fp-destino-media:not(:has(.fp-mapa)) { grid-template-columns: 1fr; }

@media (max-width: 781px) {
  .fp-destino-media { grid-template-columns: 1fr; }
  .single-destinos .fp-destino-media .fp-mapa { height: 220px; }
}

.fp-destino-cuerpo {
  width: min(1080px, calc(100% - 2.5rem));
  max-width: none;
  margin: 1.85rem auto 3.5rem;
  padding: 0;
  text-align: left;
}

.single-destinos .fp-destino-cuerpo.has-global-padding {
  padding-left: 0;
  padding-right: 0;
}

.single-destinos .fp-destino-cuerpo .entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 46rem;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-destinos .fp-destino-cuerpo > .entry-content {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-destinos .entry-content h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: left;
  text-wrap: balance;
  margin: 1.7rem 0 0.55rem;
}

.single-destinos .entry-content h2::before {
  content: none;
  display: none;
}

.single-destinos .entry-content > h2:first-child { margin-top: 0; }

.single-destinos .entry-content > :where(p, ul, ol) {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  color: #243038;
  font-size: 17px;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

.single-destinos .entry-content li {
  text-align: justify;
  hyphens: auto;
}

.single-destinos .entry-content h2:first-child + p strong { font-weight: 400; }

.single-destinos .entry-content li { margin: 0.35rem 0; }
.single-destinos .entry-content li strong { font-weight: 700; }

.fp-destino-explora {
  background: none;
  color: #032238;
  text-align: left;
  max-width: 1600px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
}

.fp-destino-explora h2 {
  margin: 0;
}

.fp-slider--explora {
  position: relative;
  max-width: 1600px;
  margin: 1.5rem auto 3.5rem;
  padding: 0 1.25rem;
}

.fp-slider--explora .fp-slider__item {
  flex-basis: calc((100% - 1.25rem) / 2);
}

.fp-slider--explora .fp-slider__card {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.fp-slider--explora .fp-slider__titulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fp-slider--explora .fp-slider__nav {
  position: absolute;
  inset: 0 0.4rem;
  margin: 0;
  pointer-events: none;
  justify-content: space-between;
}

.fp-slider--explora .fp-slider__paginas { display: none; }

.fp-slider--explora .fp-slider__flecha {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25, 35, 40, 0.22);
}

@media (max-width: 781px) {
  .fp-slider--explora .fp-slider__item { flex-basis: 100%; }
}

/* ------------------------------------------------------------------
   Portada. La imagen viaja dentro del tema y se referencia con una ruta
   relativa a esta hoja de estilos: así el tema se mueve de servidor sin
   que haya que reapuntar ninguna URL.
   ------------------------------------------------------------------ */
.fp-hero {
  background-image: url("assets/portada.webp");
  background-size: cover;
  background-position: center;
}

.fp-hero .wp-block-cover__background { border-radius: inherit; }
.fp-hero h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }

/* ------------------------------------------------------------------
   Sliders de la portada (destinos, noticias, datos)
   ------------------------------------------------------------------ */
.fp-slider { margin: 0 0 2.5rem; }
#destinos { scroll-margin-top: 7.5rem; }

.fp-slider .fp-seccion-verde { margin: 0 0 1.25rem; }
.fp-slider .fp-seccion-verde a { color: #fff; text-decoration: none; }
.fp-slider .fp-seccion-verde a:hover { text-decoration: underline; }

.fp-slider__pista {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.fp-slider__pista::-webkit-scrollbar { display: none; }

.fp-slider__item {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  margin: 0;
}

.fp-slider__card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 16 / 10;
  background: var(--wp--preset--color--gris);
}

.fp-slider__card img,
.fp-slider__sinimagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.fp-slider__card:hover img { transform: scale(1.04); }

/* El título va sobre la foto, como en el sitio original. El degradado
   asegura contraste legible sin importar qué tan clara sea la imagen. */
.fp-slider__titulo {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.fp-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fp-slider__flecha,
.fp-slider__pagina {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--wp--preset--color--borde);
  background: #fff;
  color: var(--wp--preset--color--texto);
  border-radius: 8px;
  min-width: 34px;
  height: 34px;
  line-height: 1;
}

.fp-slider__flecha { font-size: 1.2rem; }
.fp-slider__paginas { display: flex; gap: 0.35rem; }

.fp-slider__pagina.is-activa {
  background: var(--wp--preset--color--verde);
  border-color: var(--wp--preset--color--verde);
  color: #fff;
  font-weight: 700;
}

.fp-slider__flecha:hover,
.fp-slider__pagina:hover { background: var(--wp--preset--color--gris); }
.fp-slider__pagina.is-activa:hover { background: var(--wp--preset--color--verde-oscuro); }

@media (max-width: 900px) {
  .fp-slider__item { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 600px) {
  .fp-slider__item { flex-basis: 85%; }
}

/* ------------------------------------------------------------------
   Portada, debajo del barco: botones centrados, barras a todo el ancho
   y carruseles con el tamaño medido en el sitio original (~1920px).
   ------------------------------------------------------------------ */
body.home { overflow-x: clip; }

body.home .fp-accesos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(1200px, calc(100% - 2rem));
  max-width: min(1200px, calc(100% - 2rem));
  margin: 0.25rem auto 2rem;
}

body.home .fp-accesos > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.fp-acceso {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  box-sizing: border-box;
  min-height: 88px;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #f2f4f6;
  color: #192328;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}

.fp-acceso strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.fp-acceso span,
.fp-acceso span a {
  color: #5c6770;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.fp-acceso:hover,
.fp-acceso:focus-visible {
  background: #e7eef0;
  color: #192328;
}

.fp-acceso span a:hover,
.fp-acceso span a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  body.home .fp-accesos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body.home .fp-accesos { grid-template-columns: 1fr; }
}

body.home .wp-block-group-is-layout-constrained > .fp-slider {
  max-width: none !important;
  width: auto;
  margin-left: calc(50% - 50vw + var(--fp-barra, 0px) / 2) !important;
  margin-right: calc(50% - 50vw + var(--fp-barra, 0px) / 2) !important;
  margin-bottom: 1.75rem;
}

body.home .fp-slider .fp-seccion-verde {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 89px;
  margin: 0 0 12px;
  padding: 0 1rem;
  border-radius: 0;
  font-size: 2.26rem;
  font-weight: 700;
  line-height: 1.2;
}

body.home .fp-slider__pista {
  gap: 16px;
  padding: 0 30px 0.35rem;
  scroll-padding-left: 30px;
}

body.home #destinos .fp-slider__item { flex-basis: 539px; }

body.home #destinos .fp-slider__card {
  aspect-ratio: 539 / 303;
  border-radius: 20px;
}

body.home #noticias .fp-slider__item,
body.home #datos .fp-slider__item { flex-basis: 603px; }

body.home #noticias .fp-slider__card,
body.home #datos .fp-slider__card {
  aspect-ratio: 603 / 339;
  border-radius: 20px;
}

/* El nombre ya está impreso en la foto del destino. En noticias y datos
   el título va abajo, en blanco y chico, como en la galería original. */
body.home #destinos .fp-slider__titulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  padding: 0;
  background: none;
}

body.home #noticias .fp-slider__titulo,
body.home #datos .fp-slider__titulo {
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  padding: 1.6rem 0.85rem 0.75rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.home .fp-slider__nav { gap: 0.35rem; }

body.home .fp-slider__flecha,
body.home .fp-slider__pagina {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: 1.35rem;
  height: auto;
  padding: 0.15rem 0.2rem;
  color: #8a939a;
  font-size: 1.15rem;
  font-weight: 500;
}

body.home .fp-slider__pagina.is-activa {
  background: transparent;
  border: 0;
  color: #192328;
  font-weight: 700;
}

body.home .fp-slider__flecha:hover,
body.home .fp-slider__pagina:hover,
body.home .fp-slider__pagina.is-activa:hover {
  background: transparent;
  color: #192328;
}

body.home .fp-slider__flecha:disabled {
  opacity: 0.35;
  cursor: default;
  color: #8a939a;
}

/* Destinos: flecha circular sobre la foto, sin números. */
body.home #destinos { position: relative; }

body.home #destinos .fp-slider__paginas,
body.home #destinos .fp-slider__flecha[data-dir="inicio"],
body.home #destinos .fp-slider__flecha[data-dir="fin"] { display: none; }

body.home #destinos .fp-slider__nav {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 6.4rem 1.15rem 0;
  justify-content: space-between;
  pointer-events: none;
}

body.home #destinos .fp-slider__flecha {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #192328;
  font-size: 1.35rem;
  box-shadow: 0 2px 12px rgba(25, 35, 40, 0.22);
  opacity: 1;
}

body.home #destinos .fp-slider__flecha:hover { background: #fff; }

body.home #destinos .fp-slider__flecha:disabled {
  opacity: 0;
  pointer-events: none;
}

.fp-slider__extracto { display: none; }

@media (max-width: 700px) {
  body.home #destinos .fp-slider__item,
  body.home #noticias .fp-slider__item,
  body.home #datos .fp-slider__item { flex-basis: 86%; }

  body.home .fp-slider .fp-seccion-verde {
    min-height: 45px;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  body.home .fp-slider__pista { padding-left: 12px; scroll-padding-left: 12px; }

  /* En el teléfono la noticia es una ficha: foto, título y bajada, no un
     título blanco encima de la imagen. */
  body.home #noticias .fp-slider__card,
  body.home #datos .fp-slider__card {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    background: #fff;
    border: 1px solid #e6e6e6;
    overflow: hidden;
  }

  body.home #noticias .fp-slider__card img,
  body.home #datos .fp-slider__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  body.home #noticias .fp-slider__titulo,
  body.home #datos .fp-slider__titulo {
    position: static;
    background: none;
    color: #192328;
    text-align: left;
    text-shadow: none;
    padding: 0.75rem 0.85rem 0.2rem;
    font-size: 15px;
  }

  body.home #noticias .fp-slider__extracto,
  body.home #datos .fp-slider__extracto {
    display: block;
    padding: 0 0.85rem 0.9rem;
    color: #192328;
    font-size: 13px;
    line-height: 1.4;
  }

  body.home .fp-slider__nav { flex-wrap: wrap; }
}

/* ------------------------------------------------------------------
   Menú principal de tres niveles
   ------------------------------------------------------------------ */
.fp-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(1596px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.fp-menu__lista {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  margin: 0;
  padding: 0 10px;
  list-style: none;
  flex: 1;
  min-height: 51px;
  background-color: #fff;
  background-image: linear-gradient(rgba(236, 241, 255, 0.33), rgba(236, 241, 255, 0.33));
  border-radius: 8px;
  box-shadow: 3.54px 3.54px 6px 2px rgba(169, 190, 250, 0.4);
}

.fp-menu__item { position: relative; margin: 0; }

.fp-menu__lista > .fp-menu__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-width: 0;
}

.fp-menu__enlace {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 31px;
  padding: 5px 8px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 15px;
  color: #1e1e1e;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}

/* En el inicio, «Naviera Transal» es la página actual: pastilla azul y texto azul. */
.fp-menu__lista > .fp-menu__item.is-actual > .fp-menu__enlace {
  background: #d6def5;
  color: #045aff;
}

.fp-menu__sub .fp-menu__enlace {
  justify-content: flex-start;
  width: auto;
  min-height: 0;
}

.fp-menu__sub .fp-menu__item.is-actual > .fp-menu__enlace {
  color: #045aff;
  background: transparent;
}

.fp-menu__lista > .fp-menu__item--padre > .fp-menu__enlace { padding-right: 8px; }

/* La flecha es el botón: ocupa toda la fila para que sea fácil de acertar,
   pero sólo se ve el triángulo. */
.fp-menu__abrir {
  position: absolute;
  inset: 0 0 auto auto;
  width: 1.6rem;
  height: 100%;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.fp-menu__abrir::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--wp--preset--color--texto-suave);
  transition: transform 0.15s ease;
}

.fp-menu__abrir[aria-expanded="true"]::after { transform: rotate(180deg); }

/* El original no muestra flecha en la barra. El botón sigue ahí para
   abrir con teclado; en Destinos y Horarios cubre toda la columna. */
@media (min-width: 861px) {
  .fp-menu__lista > .fp-menu__item > .fp-menu__abrir::after { content: none; }

  .fp-menu__lista > .fp-menu__item--padre:not(.fp-menu__item--enlace) > .fp-menu__abrir {
    inset: 0;
    width: auto;
  }

  .fp-menu__lista > .fp-menu__item--enlace > .fp-menu__abrir {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.fp-menu__enlace:hover,
.fp-menu__item--padre:hover > .fp-menu__enlace,
.fp-menu__item:focus-within > .fp-menu__enlace {
  background: transparent;
  color: #1e1e1e;
}

.fp-menu__lista > .fp-menu__item.is-actual > .fp-menu__enlace:hover,
.fp-menu__lista > .fp-menu__item.is-actual:hover > .fp-menu__enlace,
.fp-menu__lista > .fp-menu__item.is-actual:focus-within > .fp-menu__enlace {
  background: #d6def5;
  color: #045aff;
}

.fp-menu__sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--wp--preset--color--borde);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(25, 35, 40, 0.15);
  z-index: 80;
  display: none;
}

/* Puente invisible: el hueco entre el ítem y el panel dejaba de estar
   bajo el cursor y el submenú se cerraba antes de poder elegir. */
.fp-menu__lista > .fp-menu__item--padre > .fp-menu__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

/* Tercer nivel: se despliega al costado, como en el sitio original. */
.fp-menu__item--n2 > .fp-menu__sub {
  top: -0.4rem;
  left: 100%;
  margin-left: 0;
}

.fp-menu__item--n2 > .fp-menu__sub::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -18px;
  width: 18px;
  height: auto;
  right: auto;
}

.fp-menu__item--padre:hover > .fp-menu__sub,
.fp-menu__item--padre:focus-within > .fp-menu__sub,
.fp-menu__item--padre.is-abierto > .fp-menu__sub,
.fp-menu__abrir[aria-expanded="true"] + .fp-menu__sub { display: block; }

.fp-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 237px;
  width: 237px;
  min-height: 46px;
  padding: 0 1.35rem;
  border-radius: 8px;
  background: #019801;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1.22px 5px rgba(0, 0, 0, 0.6);
}

.fp-menu__cta:hover { background: #017a01; color: #fff; }

.fp-menu__hamburguesa { display: none; }

@media (max-width: 860px) {
  .fp-header {
    background: #fff;
    padding: 14px 12px 8px;
  }

  .fp-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .fp-menu__hamburguesa { display: none; }

  .fp-menu__cta {
    order: -1;
    align-self: center;
    flex: 0 0 auto;
    width: 209px;
    min-height: 34px;
    border-radius: 3px;
    box-shadow: none;
    font-size: 14px;
  }

  .fp-menu__lista {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-height: 47px;
    max-height: none;
    overflow: visible;
    padding: 0 8px;
    gap: 0;
  }

  .fp-menu__lista > .fp-menu__item {
    flex: 1 1 0;
    display: flex;
    min-width: 0;
  }

  .fp-menu__lista > .fp-menu__item > .fp-menu__enlace {
    font-size: 12px;
    font-weight: 400;
    min-height: 31px;
    padding: 4px 2px;
  }

  .fp-menu__lista > .fp-menu__item > .fp-menu__sub {
    top: calc(100% + 6px);
    min-width: 190px;
    max-width: min(280px, calc(100vw - 24px));
  }

  .fp-menu__lista > .fp-menu__item:last-child > .fp-menu__sub {
    left: auto;
    right: 0;
  }

  /* El toque cae en el botón invisible que cubre la columna. */
  .fp-menu__lista > .fp-menu__item > .fp-menu__abrir {
    display: block;
    inset: 0;
    width: auto;
    height: 100%;
  }

  .fp-menu__lista > .fp-menu__item > .fp-menu__abrir::after { content: none; }

  .fp-menu__item--n2 > .fp-menu__sub {
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.2rem 0.75rem;
  }

  .fp-menu__item--n2 > .fp-menu__abrir {
    display: block;
    width: 2.2rem;
  }

  .fp-menu__sub .fp-menu__enlace {
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 400;
    white-space: normal;
  }

  /* En el teléfono el :hover queda pegado después del toque y no dejaría
     cerrar el submenú. Sólo se abre con la clase que pone el botón. */
  .fp-menu__item--padre:hover > .fp-menu__sub,
  .fp-menu__item--padre:focus-within > .fp-menu__sub { display: none; }

  .fp-menu__item--padre.is-abierto > .fp-menu__sub,
  .fp-menu__abrir[aria-expanded="true"] + .fp-menu__sub { display: block; }
}

/* ------------------------------------------------------------------
   Contacto: dos columnas (foto y datos) y galería, como el original.
   ------------------------------------------------------------------ */
.fp-contacto__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
}

.fp-contacto__datos h1 { margin: 0 0 0.2rem; }

.fp-contacto__datos h1 + p {
  max-width: 40rem;
  margin-top: 14px;
  color: #5f7481;
  font-size: 15px;
  line-height: 1.5;
}
.fp-contacto__datos > p {
  margin: 1.35rem 0 0 !important;
  color: #032238;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.fp-contacto__datos > p br { display: none; }

.fp-contacto__datos > p strong {
  display: block;
  margin: 0;
  color: #5f7481;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.fp-contacto__datos > p:first-of-type {
  margin-top: 1.35rem !important;
  color: #3d5160;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.fp-contacto__datos > p:first-of-type strong {
  color: #032238;
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fp-contacto__datos > p a {
  color: inherit;
  text-underline-offset: 0.18em;
}

body.fp-terminos .entry-content p {
  margin: 0 0 0.9rem !important;
  text-align: justify;
  hyphens: auto;
  line-height: 1.55;
}

body.fp-terminos .entry-content .fp-terminos__titulo {
  margin: 1.75rem 0 0.35rem !important;
  color: #032238;
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: left;
}

body.fp-terminos .entry-content .fp-terminos__titulo + ul,
body.fp-terminos .entry-content .fp-terminos__titulo + p {
  margin-top: 0 !important;
}

body.fp-terminos .entry-content .fp-terminos__datos {
  margin: 0 0 0.15rem;
}

body.fp-terminos .entry-content .fp-terminos__horas {
  margin: 0.9rem 0 0.2rem;
}

@media (max-width: 781px) {
  .fp-contacto__foto img { aspect-ratio: 4 / 3; }
}

main .fp-oficinas {
  width: min(1200px, calc(100% - 2rem));
  max-width: min(1200px, calc(100% - 2rem));
  margin: 2.5rem auto 3rem;
}

.fp-oficinas > h2 {
  margin: 0 0 1rem;
}

.fp-oficinas__lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.fp-oficina {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  border-radius: 12px;
  background: #f2f4f6;
}

.fp-oficina h3 {
  margin: 0;
  font-size: 1.15rem;
}

.fp-oficina p {
  margin: 0;
  line-height: 1.45;
}

.fp-oficina iframe {
  width: 100%;
  height: 200px;
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  display: block;
}

.fp-oficina__maps {
  font-weight: 700;
  text-underline-offset: 0.15em;
}

@media (max-width: 800px) {
  .fp-oficinas__lista { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Ferries: banda de tres naves y fichas sobre fondo gris.
   ------------------------------------------------------------------ */

main:has(.fp-flota-banda) .wp-block-post-title {
  margin-bottom: 1.1rem;
}

/* En Wix el párrafo corto va antes del título de la flota y el largo, después.
   El import los dejó al revés y el título, centrado y grande. */
.entry-content:has(> .fp-flota-banda) {
  display: flex;
  flex-direction: column;
}

.entry-content:has(> .fp-flota-banda) > .wp-block-group:not(.fp-flota-ficha) {
  display: contents;
}

.entry-content:has(> .fp-flota-banda) > .wp-block-group:not(.fp-flota-ficha) > p {
  max-width: 820px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  font-size: 1.35rem;
  line-height: 1.45;
}

.entry-content:has(> .fp-flota-banda) > .wp-block-group:not(.fp-flota-ficha) > p { order: 3; }

.entry-content:has(> .fp-flota-banda) > .fp-encabezado {
  order: 2;
  align-self: center;
  width: min(720px, 100%);
  margin-top: 1.75rem;
}

.entry-content:has(> .fp-flota-banda) > .fp-flota-banda { order: 4; }
.entry-content:has(> .fp-flota-banda) > .fp-flota-ficha { order: 5; }

/* Cada nave: el dibujo, el nombre y la bajada, siempre visibles.
   El recuadro con foto ya no se usa. */
.entry-content > .fp-flota-banda {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
  width: min(1080px, calc(100% - 2rem));
  max-width: 1080px;
  margin: 0.5rem auto 2.75rem !important;
}

.fp-flota-banda .wp-block-column {
  margin: 0 !important;
  min-width: 0;
}

.fp-nave {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: #192328;
}

.fp-nave__dibujo {
  width: min(100%, 280px);
  height: auto;
  margin: 0 0 0.9rem;
}

.fp-nave h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #032238;
}

.fp-nave p {
  margin: 0;
  max-width: 28rem;
  color: #5f7481;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.fp-nave__mas {
  margin-top: 0.85rem;
  color: #198867;
  font-size: 0.875rem;
  font-weight: 700;
}

.fp-nave:hover .fp-nave__mas,
.fp-nave:focus-visible .fp-nave__mas {
  text-decoration: underline;
}

.fp-nave.is-abierta .fp-nave__mas {
  color: #032238;
}

/* Sin el script las tres fichas se ven. Con él parten cerradas y se abre una. */
html.fp-fichas .entry-content > .fp-flota-ficha {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

html.fp-fichas .entry-content > .fp-flota-ficha.is-abierta {
  max-height: 70rem;
  margin-top: 0.85rem !important;
  margin-bottom: 0.35rem !important;
}

.fp-flota-ficha h3 { scroll-margin-top: 6.5rem; }

.fp-flota-banda__item {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

/* El nombre y los datos de la nave aparecen recién al pasar el cursor. */
.fp-flota-banda__item .has-background-dim,
.fp-flota-banda__item .wp-block-cover__inner-container {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fp-flota-banda__item:hover .has-background-dim,
.fp-flota-banda__item:focus-within .has-background-dim {
  opacity: 0.55;
}

.fp-flota-banda__item:hover .wp-block-cover__inner-container,
.fp-flota-banda__item:focus-within .wp-block-cover__inner-container {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fp-flota-banda__item .has-background-dim { opacity: 0.55; }
  .fp-flota-banda__item .wp-block-cover__inner-container { opacity: 1; }
  html.fp-fichas .entry-content > .fp-flota-ficha { transition: none; }
}

.fp-flota-banda__item .wp-block-cover__inner-container { padding-bottom: 0.5rem; }
.fp-flota-banda__item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.fp-flota-banda__item p { margin: 0; line-height: 1.4; font-size: 0.84rem; }

.fp-flota-ficha { margin-top: 0 !important; }

.fp-flota-ficha__cuerpo {
  box-sizing: border-box;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto 0.25rem;
  padding: 1.45rem 1.6rem;
  background: #032238;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(3, 34, 56, 0.18);
  overflow: hidden;
}

.fp-flota-ficha h3,
.fp-flota-ficha h3.has-text-align-center {
  margin: 0 0 1.15rem;
  padding-left: 0;
  color: #fff;
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
}

.fp-flota-ficha .wp-block-columns {
  margin-top: 0 !important;
  align-items: center;
  gap: 1.6rem;
}

.fp-flota-ficha .wp-block-column:first-child {
  flex-basis: 42% !important;
}

.fp-flota-ficha__foto {
  margin: 0;
}

.fp-flota-ficha__foto img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.fp-flota-ficha .wp-block-column p {
  margin: 0 0 0.9rem;
  max-width: 62ch;
  color: #f4f7f8;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

.fp-flota-ficha .wp-block-column p:last-child { margin-bottom: 0; }

@media (max-width: 781px) {
  .entry-content > .fp-flota-banda {
    grid-template-columns: 1fr;
    width: min(420px, calc(100% - 2rem));
  }
  .fp-flota-banda__item { min-height: 220px; }
  .fp-flota-ficha__cuerpo {
    width: min(1080px, calc(100% - 1.5rem));
    padding: 1.15rem;
  }
  .fp-flota-ficha__foto img { margin-bottom: 0.25rem; }

  /* En una pantalla táctil no hay hover: el nombre de la nave tiene que verse. */
  .fp-flota-banda__item .has-background-dim { opacity: 0.55; }
  .fp-flota-banda__item .wp-block-cover__inner-container { opacity: 1; }
}

/* La banda y las fichas van de borde a borde, como en el original. El bloque
   queda dentro de un contenedor con ancho máximo, así que se lo saca con
   márgenes negativos. Se usa 100% + calc en vez de 100vw para no provocar
   scroll horizontal cuando hay barra de desplazamiento vertical. */
/* El !important es necesario: WordPress emite su propia regla para
   `.has-global-padding > .alignfull` y gana por especificidad. */
.entry-content > .fp-flota-ficha {
  max-width: 1080px;
  width: min(1080px, calc(100% - 2rem));
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0;
  padding-right: 0;
}

/* ------------------------------------------------------------------
   Encabezados: la misma pieza que «Nuestras rutas» en la portada.
   Etiqueta chica con una línea, título grande y bajada en gris.
   No entra en títulos de fichas, de la flota ni del hero con foto.
   ------------------------------------------------------------------ */
h1.wp-block-post-title,
h1.wp-block-heading,
h1.wp-block-query-title,
.fp-encabezado__titulo,
.fp-nosotros-hero__titulo,
.fp-oficinas > h2,
.fp-destino-explora h2,
.fp-destino-hero .wp-block-post-title,
.single-rutas .entry-content > h2,
.entry-content h2.wp-block-heading {
  margin: 0;
  color: #032238;
  background: none;
  padding: 0;
  border-radius: 0;
  text-align: left;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1.wp-block-post-title::before,
h1.wp-block-heading::before,
h1.wp-block-query-title::before,
.fp-encabezado__titulo::before,
.fp-nosotros-hero__titulo::before,
.fp-oficinas > h2::before,
.fp-destino-explora h2::before,
.fp-destino-hero .wp-block-post-title::before,
.single-rutas .entry-content > h2::before,
.entry-content h2.wp-block-heading::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: #76e4bc;
}

.fp-encabezado {
  max-width: 720px;
  margin: 0 0 28px;
}

.fp-encabezado:has(.fp-encabezado__etiqueta) :is(h1, h2)::before {
  content: none;
  display: none;
  margin: 0;
}

.fp-encabezado__etiqueta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  color: #198867;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fp-encabezado__etiqueta::before {
  content: "";
  width: 36px;
  height: 3px;
  flex: 0 0 36px;
  border-radius: 5px;
  background: #76e4bc;
}

.fp-temporadas {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fp-temporadas li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: #5f7481;
  font-size: 15px;
  line-height: 1.35;
}

.fp-temporadas li::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
}

.fp-temporada--alta::before {
  background: #3cce7a;
  box-shadow: 0 0 0 4px rgba(60, 206, 122, 0.22);
}

.fp-temporada--media::before {
  background: #f0b429;
  box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.24);
}

.fp-temporada--baja::before {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.fp-temporadas strong {
  color: #032238;
  font-weight: 700;
}

.fp-encabezado__bajada,
main > .wp-block-heading + p {
  max-width: 40rem;
  margin: 14px 0 0;
  color: #5f7481;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

.fp-aviso-ruta {
  width: fit-content;
  max-width: 34rem;
  margin: 18px auto 8px;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  background: #e7f6ef;
  color: #032238;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.fp-encabezado__titulo a {
  color: inherit;
  text-decoration: none;
}

.fp-encabezado__titulo a:hover {
  text-decoration: underline;
}

body.home .fp-slider > .fp-encabezado {
  max-width: 720px;
  margin: 0 0 28px;
  padding: 0 30px;
}

@media (max-width: 700px) {
  body.home .fp-slider > .fp-encabezado { padding-left: 12px; padding-right: 12px; }
}

/* ------------------------------------------------------------------
   Uso: fechas en los carruseles, toques de 44px, compra fija en móvil,
   tarifas que se leen sin scroll horizontal, y datos de la ruta.
   ------------------------------------------------------------------ */
.fp-slider__fecha {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
}

body.home .fp-slider__flecha,
body.home .fp-slider__pagina {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.fp-blog-nav a,
.wp-block-query-pagination a,
.wp-block-query-pagination span.page-numbers {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fp-encabezado__bajada a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 781px) {
  body { padding-bottom: 72px; }

  .fp-whatsapp {
    width: 48px;
    height: 48px;
  }

  .fp-whatsapp svg { width: 26px; height: 26px; }

  .fp-footer__enlaces a,
  .fp-footer__oficina a,
  .fp-footer__credito a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.fp-compra-barra { display: none; }

@media (max-width: 781px) {
  .fp-compra-barra {
    display: flex;
    position: fixed;
    z-index: 65;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
    background: #032238;
  }

  .fp-compra-barra a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.1rem;
    border-radius: 8px;
    background: #0e6a28;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  body.fp-compra-fija { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }

  body.fp-compra-fija .fp-whatsapp {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  .single-rutas .entry-content .pricing-container .table-wrapper { overflow: visible; }

  .single-rutas .entry-content .pricing-container table {
    display: block;
    min-width: 0;
  }

  .single-rutas .entry-content .pricing-container thead { display: none; }

  .single-rutas .entry-content .pricing-container tbody,
  .single-rutas .entry-content .pricing-container tr {
    display: block;
  }

  .single-rutas .entry-content .pricing-container tr {
    margin: 0 0 0.65rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
  }

  .single-rutas .entry-content .pricing-container td {
    display: block;
    width: auto;
    border: 0;
    padding: 0.15rem 0;
  }

  .single-rutas .entry-content .pricing-container td:first-child {
    font-weight: 700;
    padding-bottom: 0.35rem;
  }

  .single-rutas .entry-content .pricing-container td.price-col {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }

  .single-rutas .entry-content .pricing-container td.price-col::before {
    font-weight: 600;
    color: #475569;
  }

  .single-rutas .entry-content .pricing-container td.price-col:nth-child(2)::before { content: "Residente"; }
  .single-rutas .entry-content .pricing-container td.price-col:nth-child(3)::before { content: "No residente"; }
}

.fp-destino-practico {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 1.15rem auto 0;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  box-sizing: border-box;
  border: 1px solid #d5dee3;
  border-radius: 12px;
  background: #f4f7f8;
}

.fp-destino-practico__dato {
  margin: 0;
  color: #243038;
}

.fp-destino-practico__dato span {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f7481;
}

.fp-destino-practico__dato a {
  color: #032238;
  font-weight: 700;
}

.fp-destino-practico__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0 auto;
}

.fp-accion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid #032238;
  border-radius: 8px;
  color: #032238;
  font-weight: 700;
  text-decoration: none;
}

.fp-accion--comprar {
  background: #0e6a28;
  border-color: #0e6a28;
  color: #fff;
}

@media (max-width: 700px) {
  .fp-destino-practico__acciones { margin-left: 0; }
}

.fp-noticia-cierre { margin-top: 2.25rem; }

.fp-noticia-volver { margin: 0 0 1.25rem; }

.fp-noticia-volver a {
  font-weight: 700;
  color: #032238;
}

.fp-noticia-viaje h2,
.fp-noticia-relacionadas h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.fp-noticia-viaje .fp-destino-practico__acciones { margin: 0; }

.fp-noticia-relacionadas { margin-top: 1.75rem; }

.fp-noticia-relacionadas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fp-noticia-relacionadas li { margin: 0; }

.fp-noticia-relacionadas a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  min-height: 44px;
  padding: 0.4rem 0;
  color: #032238;
  font-weight: 700;
  text-decoration: none;
}

.fp-noticia-relacionadas time {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5f7481;
}

/* ------------------------------------------------------------------
   Sistema visual 1.67. Navy de la marca, aqua como acento, una sola
   familia de superficies. Gana a las reglas de más arriba.
   ------------------------------------------------------------------ */
:root {
  --fp-navy: #032238;
  --fp-aqua: #5ed4a8;
  --fp-ink: #102833;
  --fp-paper: #f3f6f7;
  --fp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--fp-paper);
  color: var(--fp-ink);
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4,
.wp-block-post-title,
.fp-seccion-verde {
  font-family: Sora, "Source Sans 3", ui-sans-serif, sans-serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.entry-content p,
.fp-destino-cuerpo p,
.wp-block-post-content p {
  max-width: 68ch;
}

::selection {
  background: #b7f0db;
  color: var(--fp-navy);
}

:focus-visible {
  outline: 2px solid var(--fp-aqua);
  outline-offset: 3px;
}

.fp-header {
  background: var(--fp-navy);
  padding: 0.65rem 0;
}

.fp-nav a {
  color: #f4faf8;
  border-radius: 999px;
  transition: background-color 0.22s var(--fp-ease), color 0.22s var(--fp-ease), transform 0.22s var(--fp-ease);
}

.fp-nav a:hover,
.fp-nav a:focus-visible {
  background: rgba(94, 212, 168, 0.18);
  color: #fff;
}

.fp-nav a:active {
  transform: scale(0.98);
}

.fp-seccion-verde,
body.home .fp-slider .fp-seccion-verde {
  background: var(--fp-navy);
  color: #f7fbf9;
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(3, 34, 56, 0.16);
}

.fp-acceso {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(3, 34, 56, 0.08);
  transition: transform 0.22s var(--fp-ease), box-shadow 0.22s var(--fp-ease);
}

.fp-acceso:hover,
.fp-acceso:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(3, 34, 56, 0.12);
}

.transal-home,
.transal-home * {
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
}

.transal-home h1,
.transal-home h2,
.transal-home .transal-hero h1 {
  font-family: Sora, "Source Sans 3", sans-serif;
  letter-spacing: -0.03em;
}

@media (prefers-reduced-motion: reduce) {
  .fp-nav a,
  .fp-acceso {
    transition: none;
  }
  .fp-acceso:hover,
  .fp-nav a:active {
    transform: none;
  }
}


/* ------------------------------------------------------------------
   Noticia individual (single.html), con la estructura de Wix:
   datos del autor arriba del título, imagen dentro del texto (donde la
   puso quien escribió, no como portada) y el artículo en una hoja blanca
   compacta. La tipografía y los colores son los del sitio nuevo.

   Todo el artículo comparte un solo borde. Antes había cuatro: el
   encabezado a 720 px, los párrafos a 68ch centrados por la regla general
   de .entry-content p y los h2 y listas a 820 px.
   ------------------------------------------------------------------ */
:root {
  --fp-hoja-noticia: 47.5rem;
}

main.fp-noticia > * {
  max-width: var(--fp-hoja-noticia);
}

.fp-noticia__hoja {
  padding: 2.75rem 3.5rem 3rem;
  background: #fff;
  border: 1px solid #dfe7eb;
  border-radius: 12px;
}

/* Datos: logo · autor · fecha · lectura. */
.fp-noticia-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.1rem;
  color: #5f7481;
  font-size: 0.875rem;
  line-height: 1.3;
}

.fp-noticia-meta__logo {
  width: 28px;
  height: 28px;
  margin-right: 0.15rem;
  border-radius: 50%;
  background: #eef3f5;
  object-fit: contain;
}

.fp-noticia-meta__autor {
  color: var(--fp-ink);
  font-weight: 600;
}

.fp-noticia-meta__sep {
  color: #9aabb4;
}

/* Título: sin la línea menta, que acá quedaría entre los datos y el título. */
.fp-noticia__hoja > .fp-encabezado {
  max-width: none;
  margin: 0 0 1.75rem;
}

.fp-noticia__hoja .fp-encabezado__titulo {
  font-size: clamp(1.875rem, 1.3rem + 1.8vw, 2.625rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.fp-noticia__hoja .fp-encabezado__titulo::before {
  content: none;
  display: none;
}

/* Cuerpo. */
.fp-noticia__hoja .wp-block-post-content > * {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
}

.fp-noticia__hoja .wp-block-post-content > * + * {
  margin-top: 1.25rem;
}

.fp-noticia__hoja .wp-block-post-content > :is(h2, h3) {
  margin-top: 2.5rem;
  color: var(--fp-navy);
  line-height: 1.2;
}

.fp-noticia__hoja .wp-block-post-content > h2 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
}

.fp-noticia__hoja .wp-block-post-content > h3 {
  font-size: 1.2rem;
}

.fp-noticia__hoja .wp-block-post-content > :is(h2, h3) + * {
  margin-top: 0.75rem;
}

/* Listas alineadas con el texto: la viñeta cuelga dentro del margen. */
.fp-noticia__hoja .wp-block-post-content :is(ul, ol) {
  padding-left: 1.25em;
}

.fp-noticia__hoja .wp-block-post-content li + li {
  margin-top: 0.35rem;
}

.fp-noticia__hoja .wp-block-post-content li::marker {
  color: #13694f;
}

/* Imágenes del texto: ocupan la columna, como en Wix. */
.fp-noticia__hoja .wp-block-post-content > figure {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.fp-noticia__hoja .wp-block-post-content > figure + * {
  margin-top: 0;
}

.fp-noticia__hoja .wp-block-post-content :is(figure, img) {
  max-width: 100%;
  height: auto;
}

.fp-noticia__hoja .wp-block-post-content figure img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* Cierre fuera de la hoja: volver, «¿Vas a viajar?» y más noticias. */
main.fp-noticia > .fp-noticia-cierre {
  margin-top: 2.5rem;
  padding: 0 3.5rem;
}

@media (max-width: 700px) {
  /* En el teléfono la hoja llega al borde: con el margen de la página y su
     propio relleno, el texto quedaba en menos de 300 px de ancho. */
  main.fp-noticia {
    margin-top: 0 !important;
  }

  .fp-noticia__hoja {
    margin-left: calc(-1 * var(--wp--style--root--padding-left, 20px)) !important;
    margin-right: calc(-1 * var(--wp--style--root--padding-right, 20px)) !important;
    padding: 1.75rem 20px 2.25rem;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  main.fp-noticia > .fp-noticia-cierre {
    padding: 0;
  }
}
