/* =========================================================
   MENÚ PRINCIPAL
   ========================================================= */

.menu-item.current-menu-item a {
  border-bottom: 2px solid #800020 !important;
  padding-bottom: 4px !important;
  color: #800020 !important;
}

/* Estilo base del menú */
.menu-item a {
  text-transform: uppercase;
  font-size: 16px !important;
  letter-spacing: 0.5px;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
}

/* Hover elegante */
.menu-item a:hover {
  color: #800020 !important;
  background-color: #fffde7 !important;
  text-transform: uppercase;
}


/* =========================================================
   H1 SEMÁNTICO (NO DISEÑO)
   ========================================================= */
/* Existe para SEO y estructura. No participa en el diseño */

h1 {
  font-family: inherit;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.4;
  color: inherit;
  text-align: left;
  margin: 0;
  padding: 0;
}


/* =========================================================
   PÁGINAS (NO ENTRADAS)
   ========================================================= */

body.page h1,
body.page .entry-title,
body.page .page-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto;
  max-width: 1100px;
  padding: 0 1rem;
}


/* =========================================================
   RITMO VERTICAL GLOBAL (BASE)
   ========================================================= */

main p {
  margin-bottom: 1.2rem;
}

main h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

main h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

h2:first-child {
  margin-top: 0;
}

h2 + p,
h3 + p {
  margin-top: 0;
}


/* =========================================================
   AVISOS Y DESTACADOS
   ========================================================= */

p.notice,
.aviso,
.advertencia {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background-color: #fef9f5;
  border-left: 4px solid #c05c00;
}


/* =========================================================
   ENTRADAS (POSTS)
   ========================================================= */

.single-post .entry-header .entry-title {
  text-align: left;
}

.single-post .entry-header .entry-meta {
  text-align: left;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #666666;
}

.single-post h2 {
  color: #083f63;
  font-size: 1.4rem;
  font-weight: 500;
}

.single-post h3 {
  color: #083f63;
  font-size: 1.2rem;
  font-weight: 500;
}

.single-post p {
  line-height: 1.6;
}


/* =========================================================
   HOME / HERO (SOLO CLASES EXISTENTES)
   ========================================================= */

.jiwa-nutricion-titulo {
  font-size: 64px;
  white-space: nowrap;
  line-height: 1.1;
  text-align: center;
  color: #fef9ed;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .jiwa-nutricion-titulo {
    font-size: 7vw;
    white-space: normal;
    padding: 0 1em;
  }
}

.subtitulo-jiwa {
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2em auto;
  padding: 0 1em;
}

@media screen and (max-width: 768px) {
  .subtitulo-jiwa {
    font-size: 4.5vw;
    line-height: 1.5;
  }
}


/* =========================================================
   TÍTULOS INTERMEDIOS
   ========================================================= */

.titulo-entrada {
  color: #801728;
  font-size: 1.6em;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 1.2em;
  margin-bottom: 0.75em;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .titulo-entrada {
    font-size: 1.3em;
  }
}


/* =========================================================
   BLOG / LISTADOS DE ENTRADAS
   ========================================================= */

.wp-block-group.is-layout-flex > .wp-block-post {
  background-color: #f7fbfd;
  border-left: 3px solid #6a9fb5;
  padding: 1.2em 1.5em;
  margin-bottom: 1em;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.wp-block-group.is-layout-flex > .wp-block-post:hover {
  background-color: #eef6f9;
}

.wp-block-group.is-layout-flex .wp-block-post-title {
  color: #0a4c6a !important;
  font-weight: 500;
  font-size: 1.1em;
  margin-bottom: 0.4em;
  text-decoration: none;
}

.wp-block-group.is-layout-flex .wp-block-post-date {
  color: #666;
  font-size: 0.9em;
}

@media screen and (max-width: 768px) {
  .wp-block-group.is-layout-flex {
    flex-direction: column !important;
    gap: 16px;
  }

  .wp-block-group.is-layout-flex > .wp-block-post {
    padding: 1em 1.2em;
  }
}


/* Bloque general de entradas */

.wp-block-post {
  background-color: #f2f9fc;
  padding: 1em 1.5em;
  margin-bottom: 1em;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.wp-block-post-title {
  color: #222222 !important;
  font-weight: 500;
  font-size: 1.1em;
  text-decoration: none;
  margin-bottom: 0.4em;
}

.wp-block-post-date {
  color: #666666;
  font-size: 0.9em;
}

.wp-block-post-template ~ h2,
.wp-block-query-title {
  color: #083f63 !important;
  font-size: 1.7em;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
}

.wp-block-group h2,
.wp-block-group h2.has-text-align-left {
  color: #0a4c6a !important;
}

@media screen and (max-width: 768px) {
  .wp-block-post {
    padding: 1em 1.2em;
  }
}


/* =========================================================
   FOOTER
   ========================================================= */

footer a,
footer a:visited {
  color: #7b001c !important;
  text-decoration: none;
}

footer a:hover {
  color: #E3001B !important;
  text-decoration: underline;
}

footer .footer-bottom a,
footer .footer-bottom a:visited {
  color: #ffffff !important;
}

footer .footer-bottom a:hover {
  color: #E3001B !important;
}

.social-icons-footer {
  text-align: center;
  margin-top: 10px;
}

.social-icons-footer a {
  color: #7a001f;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons-footer a:hover {
  color: #c30030;
}

.site-footer {
  margin-top: 60px;
}


/* =========================================================
   AJUSTES LATERALES HOME
   ========================================================= */

.jn-hero-text,
.jn-stack {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

@media (min-width: 1100px) {
  .jn-hero-text,
  .jn-stack {
    padding-left: 0;
    padding-right: 0;
  }
}

/* =========================================
   FAQ / PREGUNTAS FRECUENTES – BLOQUE ESTÁNDAR
   No toca estilos globales: solo dentro de .jn-faq
   ========================================= */

.jn-faq {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.jn-faq__panel {
  background: #f2f9fc;          /* azul muy suave */
  border-left: 4px solid #800020;/* granate */
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
}

.jn-faq h2 {
  color: #083f63;               /* tu azul */
  font-size: 1.4rem;
  font-weight: 500;             /* NO negrita dura */
  line-height: 1.25;
  margin: 0 0 1.1rem 0;
  text-align: left;
}

.jn-faq__item {
  margin: 0 0 1rem 0;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.jn-faq__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.jn-faq__q {
  margin: 0 0 .35rem 0;
  font-weight: 500;             /* seminegrita */
  line-height: 1.35;
  color: #111;
}

.jn-faq__a {
  margin: 0;
  line-height: 1.55;            /* compacto, sin “líneas separadas” */
  color: #333;
}

/* Ajuste móvil: no se “infla” */
@media (max-width: 768px) {
  .jn-faq__panel { padding: 1.2rem 1.2rem; }
  .jn-faq h2 { font-size: 1.3rem; }
}

/* Bloques alternos guía renal */
.jn-guide-block {
  padding: 2.4rem 1.5rem;   /* antes demasiado alto */
}

.jn-guide-block--white {
  background: #ffffff;
}

.jn-guide-block--gray {
  background: #f3f4f5; /* un pelín más neutro y menos “caja” */
}

/* Títulos dentro de la guía */
.jn-guide-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;   /* baja peso visual */
  line-height: 1.35;
  font-weight: 600;
  color: #222;
}

/* Texto de los bloques */
.jn-guide-block p,
.jn-guide-block li {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
}

/* Listas: compactas y elegantes */
.jn-guide-block ol,
.jn-guide-block ul {
  margin-top: 0.6rem;
  padding-left: 1.2rem;
}

/* MENÚ: quitar subrayado por defecto en enlaces */
.menu-item a,
.menu-item a:visited,
.menu-item a:hover,
.menu-item a:focus {
  text-decoration: none !important;
}

/* Evitar doble línea: por defecto sin borde */
.menu-item a {
  border-bottom: none !important;
}

/* Activo: solo esta línea */
.menu-item.current-menu-item a {
  border-bottom: 2px solid #800020 !important;
  padding-bottom: 4px !important;
  color: #800020 !important;
}