/* Cabecera siempre visible, barra oscura */
.custom_header_wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--azul-oscuro) !important;
  padding-top: 8px;
  padding-bottom: 8px;
}
.home .custom_header_wrapper:not(.is-fixed) .logo,
.home .custom_header_wrapper .logo {
  opacity: 1 !important;
}
.custom_header.container::before,
.is-fixed .custom_header.container::before {
  opacity: 1 !important;
  background-color: var(--azul-oscuro) !important;
}
.custom_header .wpml-ls a span,
.custom_header .wpml-ls-current-language a span,
.azul .custom_header .wpml-ls-current-language a span {
  color: var(--marron-claro) !important;
}
.custom_header .menu {
  display: flex;
  align-items: center;
  gap: 18px;
}
.neptura-persona {
  display: inline-flex;
  width: 26px;
  height: 26px;
}
.neptura-persona img {
  width: 100%;
  height: 100%;
}

/* Menú a pantalla partida */
.menu_overlay {
  z-index: 10000;
}
.menu_overlay .cerrar_menu .logo {
  display: none;
}
.menu_overlay.open .cerrar_menu {
  width: 50%;
  left: auto;
  right: 0;
  background: transparent;
  padding-top: 28px;
}
.menu_overlay.open .cerrar_menu .container {
  justify-content: flex-end;
  width: 100%;
  max-width: none;
  padding-right: 28px;
}
.menu_overlay .menu_content {
  padding-top: 72px;
  background: var(--marron-claro);
}
.neptura-idiomas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.neptura-idiomas a {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 22px;
  color: #9a9a9a;
  text-decoration: none;
}
.neptura-idiomas .activa a {
  color: var(--azul-oscuro);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.neptura-menu-cols {
  display: flex;
  gap: 24px;
}
.neptura-menu-izq,
.neptura-menu-der {
  width: 50%;
}
.neptura-menu-cols .menu_links {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.neptura-menu-cols .menu_links li {
  width: auto;
  margin: 0 0 22px;
}
.neptura-menu-cols .menu_links a,
.neptura-menu-cols .neptura-way,
.neptura-pie-col a,
.neptura-pie-col .neptura-way {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  color: var(--azul-oscuro);
  text-decoration: none;
}
.neptura-menu-cols .menu_links a.actual,
.neptura-menu-cols .actual a {
  text-decoration: underline;
}
.neptura-way {
  cursor: default;
}
.menu_overlay .menu_rrss {
  margin-top: 12px;
}

/* Pie */
.et-l--footer {
  display: none !important;
}
.neptura-pie {
  background: var(--azul-oscuro);
  color: var(--marron-claro);
}
.neptura-pie-marca {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.5fr;
  gap: 28px 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 28px;
  align-items: start;
}
.neptura-pie-logo img {
  width: 150px;
  height: auto;
}
.neptura-pie .menu_rrss ul,
.neptura-pie .rrss {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.neptura-pie .menu_rrss a {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  text-indent: -9999px;
  overflow: hidden;
}
.neptura-pie .menu_rrss .linkedin a::before,
.neptura-pie .menu_rrss .instagram a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}
.neptura-pie .menu_rrss .linkedin a::before {
  background-image: url("../images/linkedin_blanco.svg");
}
.neptura-pie .menu_rrss .instagram a::before {
  background-image: url("../images/instagram_blanco.svg");
}
.neptura-pie-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.neptura-pie-col li {
  margin: 0 0 12px;
}
.neptura-pie-col a,
.neptura-pie-col .neptura-way {
  color: var(--marron-claro);
  font-size: 16px;
}
.neptura-pie-premios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: flex-end;
  justify-content: flex-end;
}
.neptura-pie-premios img {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.neptura-pie-legal img {
  height: 34px;
  width: auto;
  display: block;
}
.neptura-pie-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px 28px;
  border-top: 1px solid rgba(237, 231, 217, 0.25);
}
.neptura-pie-legal p {
  margin: 0;
  font-size: 13px;
}
.neptura-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.neptura-legal-menu a {
  color: var(--marron-claro);
  font-size: 13px;
  text-decoration: none;
}
.neptura-pie-legal img {
  height: 36px;
  width: auto;
}

/* Listado y ficha */
body.neptura-recetas {
  background: var(--marron-claro);
}
.neptura-listado,
.neptura-ficha {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 64px;
  color: #1c1c1c;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.neptura-listado-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}
.neptura-migas,
.neptura-producto {
  font-size: 14px;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.neptura-migas a {
  color: inherit;
  text-decoration: none;
}
.neptura-listado h1,
.neptura-ficha h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  margin: 0 0 16px;
  color: #1c1c1c;
}
.neptura-listado-texto p {
  max-width: 42ch;
  line-height: 1.45;
}
.neptura-cta,
.neptura-ver,
.neptura-banner b {
  display: inline-block;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}
.neptura-listado-foto,
.neptura-ficha-media img,
.neptura-ficha-media video {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
}
.neptura-ficha-media video {
  background: #111;
}
.neptura-filtro {
  margin: 8px 0 20px;
}
.neptura-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.neptura-tarjeta,
.neptura-ficha-media {
  position: relative;
}
.neptura-tarjeta {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.neptura-tarjeta-media {
  position: relative;
  display: block;
}
.neptura-tarjeta-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.neptura-ver {
  position: absolute;
  right: 12px;
  bottom: 12px;
}
.neptura-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
}
.neptura-play img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
.neptura-fav {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.neptura-fav img {
  width: 28px;
  height: 28px;
  position: absolute;
  left: 4px;
  top: 4px;
}
.neptura-fav .on {
  display: none;
}
.neptura-fav[aria-pressed="true"] .off {
  display: none;
}
.neptura-fav[aria-pressed="true"] .on {
  display: block;
}
.neptura-tarjeta h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
  padding: 0 16px;
}
.neptura-tarjeta h2 a {
  color: inherit;
  text-decoration: none;
}
.neptura-producto {
  padding: 12px 16px 0;
}
.neptura-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 12px 16px 16px;
  font-size: 14px;
}
.neptura-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.neptura-meta img {
  width: 18px;
  height: 18px;
}
.neptura-share {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.neptura-share img {
  width: 18px;
  height: 18px;
}
.neptura-paginacion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
  font-size: 15px;
}
.neptura-paginacion a,
.neptura-paginacion span {
  color: inherit;
  text-decoration: none;
}
.neptura-pag-flecha.off {
  opacity: 0.35;
}
.neptura-pag-nums {
  display: inline-flex;
  gap: 10px;
}
.neptura-pag-nums .on {
  font-weight: 700;
  text-decoration: underline;
}
.neptura-ficha-top,
.neptura-ficha-cuerpo,
.neptura-ficha-bajo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.neptura-ficha h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
.neptura-ficha h3 {
  font-size: 16px;
  margin: 16px 0 6px;
}
.neptura-ficha ul,
.neptura-ficha ol {
  margin: 0 0 8px;
  padding-left: 18px;
}
.neptura-ficha li {
  margin: 0 0 4px;
  line-height: 1.4;
}
.neptura-paso {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.neptura-paso-n {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: var(--azul-oscuro);
}
.neptura-emp {
  background: #e4dece;
  border-radius: 12px;
  padding: 20px 22px;
}
.neptura-consejo {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
}
.neptura-consejo p {
  margin: 0;
}
.neptura-banner {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 180px;
  color: #fff;
  text-decoration: none;
}
.neptura-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.neptura-banner span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px 28px;
  max-width: 460px;
}
.neptura-banner strong {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
}
.neptura-banner em {
  font-style: normal;
  line-height: 1.35;
}
.neptura-banner b {
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .neptura-listado-hero,
  .neptura-ficha-top,
  .neptura-ficha-cuerpo,
  .neptura-ficha-bajo,
  .neptura-pie-marca,
  .neptura-grid {
    grid-template-columns: 1fr;
  }
  .menu_overlay .menu_image {
    display: none;
  }
  .menu_overlay.open .cerrar_menu,
  .menu_overlay .contenido > div,
  .neptura-menu-izq,
  .neptura-menu-der {
    width: 100%;
  }
  .neptura-menu-cols {
    flex-direction: column;
  }
  .neptura-pie-premios img {
    height: 56px;
  }
}


/* La barra fija deja el hueco, el menu cubre las fichas y no hay scroll horizontal */
html {
  overflow-x: clip;
}
.et-l--header .et_pb_section {
  background-color: var(--azul-oscuro) !important;
}
.et-l--header .et_builder_inner_content {
  z-index: 40;
}
@media (min-width: 901px) {
  .et-l--header {
    min-height: 113px;
  }
}
@media (max-width: 900px) {
  .et-l--header {
    min-height: 92px;
  }
}
