.list-item {
  list-style: none;
  border: 1px solid black;
  border-radius: 10px;
  margin: 10px;
  padding: 0 5px;
}
html, body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: #343a40;
}

nav {
}

/* ————————————————————————————————————————
   Estilo para todos los h2, secciones: texto + línea de acento
   ———————————————————————————————————————— */
h1 {
  position: relative;
  padding-bottom: 0.25em;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.25;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h2 {
  position: relative;
  padding-bottom: 0.4em;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
}

/* Línea de acento a lo ancho del encabezado */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #3498db;
}


/* ————————————————————————————————————————
   Estilo para banner titulo del articulo
   ———————————————————————————————————————— */

.titulo-principal {
  position: relative;
  margin: 1rem 0;
  padding: 1.75rem 2rem;
  background: #2c3e50;
  color: #fff;
  border-radius: 6px;
}

/* Título principal */
.titulo-principal h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
  color: #fff;
}

/* Autor */
.titulo-principal .autor {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

/* Fecha discreta, conservando el color de acento */
.titulo-principal .fecha {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Etiquetas sencillas con el acento existente */
.titulo-principal .tags {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.titulo-principal .tags a {
  color: #1abc9c;
  text-decoration: none;
  margin: 0 0.65rem 0.4rem 0;
  padding: 0;
  transition: color 0.2s ease;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
}

.titulo-principal .tags a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .titulo-principal {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .titulo-principal {
    padding: 1.25rem 1rem;
  }
  
  .titulo-principal h1 {
    font-size: 1.5rem;
  }
}

.paralelo {
	background-color: #f8f9fa;
	border-left: 4px solid #007bff;
	padding: 20px;
	margin: 20px 0;
	position: relative;
	border-radius: 4px;
}

.juicio {
	border-left-color: #dc3545;
	background: #fdf2f2;
}

.encarnacion { 
	border-left-color: #a119d2;  
	background: #d8a3ff;
}

.restauracion {
	border-left-color: #28a745;
	background: #f2fdf4;
}

/* ————————————————————————————————————————
   WRAPPER EXTERNO: borde y fondo suave, con padding
   ———————————————————————————————————————— */
blockquote.biblia {
  margin: 20px 0;                         /* separación arriba/abajo */
  padding: 20px;                          /* ← ahora 20px para dejar margen tintado */
  border-left: 4px solid transparent;     /* ancho de borde fijo, color en variaciones */
  background: rgba(0, 0, 0, 0.02);        /* fondo muy suave */
  border-radius: 4px;                     /* esquinas redondeadas exteriores */
  position: relative;
}

/* ————————————————————————————————————————
   CAJA INTERIOR: fondo blanco, padding y sombra
   ———————————————————————————————————————— */
blockquote.biblia .biblia-inner {
  background: #fff;
  padding: 20px;
  border-radius: 2px;
}

/* ————————————————————————————————————————
   VARIACIONES DE COLOR (borde + fondo suave exterior)
   ———————————————————————————————————————— */
blockquote.biblia.paralelo {
  border-left-color: #007bff;
  background: rgba(0, 123, 255, 0.05);
}
blockquote.biblia.juicio {
  border-left-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}
blockquote.biblia.encarnacion {
  border-left-color: #a119d2;
  background: rgba(161, 25, 210, 0.05);
}
blockquote.biblia.restauracion {
  border-left-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}
/* …añade aquí tus otras clases de color… */

/* ————————————————————————————————————————
   PIE DE CITA: referencia alineada a la derecha
   ———————————————————————————————————————— */
/* TÍTULO DE LA CITA */
.biblia-ref {
  display: block;
  margin: 0 0 0.75em;    /* espacio abajo del título */
  font-size: 1em;
  font-weight: 600;
  color: #444;
}

/* Asegurar que el título del versículo sea negrita y normal (no cursiva) */
blockquote.biblia > .biblia-ref {
  font-style: normal !important;   /* quita la cursiva heredada */
  font-weight: bold !important;    /* fuerza negrita */
  margin: 0 0 10px;
  font-size: 1.1em;
  color: #444;
}

/* ————————————————————————————————————————
   CITAS GENÉRICAS (sin clases): caja blanca con sombra
   ———————————————————————————————————————— */
blockquote {
  background: #fff;
  border: 0;
  border-left: 3px solid #3498db;
  padding: 0.5rem 1.25rem;
  margin: 15px 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.75;
  position: relative;
}



/* 3) (Opcional) Si tu cita incluye una línea de referencia al final, la alineas */
blockquote > p + p {
  margin-top: 1em;
  margin-bottom: 0;
  text-align: right;
  font-size: 0.9em;
  color: #666;
  background: none;     /* quita fondo en la segunda línea */
  box-shadow: none;     /* quita sombra ahí también */
  padding: 0;
}

/* Solo blockquotes SIN la clase .biblia reciben las comillas */
blockquote:not(.biblia)::before {
  content: "“";
  position: absolute;
  left: -1.5rem;
  top: -0.4rem;
  font-size: 1.5em;
  color: #d0d0d0;
  font-family: serif;
}

blockquote:not(.biblia)::after {
  content: none;
}


/* ————————————————————————————————————————
   Cita que concluye
   ———————————————————————————————————————— */
   
   
.conclusion {
	background: #e8f5e8;
	border: 1px solid #4caf50;
	border-left-width: 4px;
	padding: 1.25rem;
	border-radius: 4px;
	margin: 1.25rem 0;
	text-align: left;
	font-weight: bold;
	color: #2e7d32;
}


/* ————————————————————————————————————————
   Observaciones
   ———————————————————————————————————————— */
   
   
.observacion {
	background: #f0f8ff;
	border-left: 4px solid #4a90e2;
	padding: 1.25rem;
	margin: 1.25rem 0;
	border-radius: 4px;
}
/* ————————————————————————————————————————
   subrayado
   ———————————————————————————————————————— */
   

/* Resaltado tipo “subrayado” */
.subrayado {
  /* línea debajo en lugar de background, o combina ambos */
  text-decoration: underline;
  text-decoration-color: #f1c40f;
  text-decoration-thickness: 2px;

  /* opcional: un ligero fondo amarillo pastel */
  background-color: rgba(241, 196, 15, 0.2);

  /* mejora el contraste si quieres */
  /* color: #b7950b; */
}

/* === LIST ITEM Diseño horizontal por defecto (escritorio) === */
.horizontal-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 4px;
  background-color: #fff;
}

.card-thumb img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.card-body {
  flex: 1;
}

.posts-index #content > ul {
  padding-left: 0;
  list-style: none;
}

.posts-index .card-thumb {
  flex-shrink: 0;
}

.posts-index .card-body {
  min-width: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.posts-index .card-body h4 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

/* === Versión mobile-friendly === */
@media screen and (max-width: 600px) {
  .horizontal-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-thumb img {
    width: 100%;
    max-width: 350px;
  }

  .card-body {
    width: 100%;
  }
}

/* === ICONOS REDES SOCIALES === */
.social-header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.social-header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
}

.social-header-icons img {
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
}

.social-header-icons img:hover {
  opacity: 0.75;
}

.header-content {
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

#header-wrapper {
  background: #fffefb;
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  padding: 0.85rem 0;
}

.brand-area {
  height: auto;
  min-height: 44px;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
  color: #2c3e50;
  text-decoration: none;
}

.brand-text:hover { color: #087f6a; }

#header a:focus-visible {
  outline: 3px solid #6654c0;
  outline-offset: 4px;
  border-radius: 6px;
}

#header .header-content > a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

#header .header-content > a img {
  display: block;
  max-width: 100%;
}

#nav ul {
  gap: 0.3rem;
}

#nav ul li a,
#nav ul li span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  color: #4b5560;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#nav ul li:hover a { color: #087f6a; background: rgba(26, 188, 156, 0.07); }
#nav ul li.current a { color: #fff; }

#nav ul li a img { display: block; width: 22px; height: 22px; object-fit: contain; }

.article-content {
  max-width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.article-content > p,
.article-content > ul,
.article-content > ol {
  margin-bottom: 1.2em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  line-height: 1.35;
  margin-top: 1.8em;
  margin-bottom: 0.75em;
}

.article-content img,
.article-content iframe {
  max-width: 100%;
}

@media screen and (max-width: 980px) {
  .header-content {
    justify-content: center;
  }

  #nav,
  .social-header-icons {
    margin-left: 0;
  }

  #nav { flex-basis: 100%; justify-content: center; }
  #nav ul { justify-content: center; }
}

@media screen and (max-width: 768px) {
  .header-content { flex-direction: row; align-items: center; gap: 0.4rem 0.75rem; }
  .brand-area { justify-content: center; flex-basis: 100%; }
  #nav { margin-top: 0; }
  #nav ul { gap: 0.1rem; }
  #nav ul li a, #nav ul li span { padding: 0.5rem; font-size: 0.78rem; }
}

@media screen and (max-width: 480px) {
  #nav ul { width: 100%; max-width: 280px; }
}

/* Aportes voluntarios */
#header .header-donate,
.donation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid #c2a360;
  border-radius: 8px;
  background: #165c58;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

#header .header-donate {
  flex-shrink: 0;
  white-space: nowrap;
}

#header .header-donate:hover,
.donation-link:hover {
  background: #104945;
  color: #fff;
}

.donation-link:focus-visible {
  outline: 3px solid #6654c0;
  outline-offset: 4px;
}

.donation-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  line-height: 1.75;
}

.donation-content h1 { color: #165c58; }

.donation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.donation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid #d9cfb5;
  border-radius: 12px;
  background: #fffefb;
}

.donation-card h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  color: #165c58;
  font-size: 1.35rem;
  font-weight: 600;
}

.donation-card h2::after {
  width: 36px;
  background: #c2a360;
}

.donation-card p { flex-grow: 1; margin: 0 0 1.25rem; }
.donation-link { align-self: flex-start; }
.donation-external-notice { margin: 1rem 0 1.5rem; color: #59616b; font-size: 0.85rem; }
.donation-message { padding-top: 1.5rem; border-top: 1px solid #d9cfb5; }
.donation-message p { margin: 0; }

/* Sobre el proyecto */
.project-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.project-content h1,
.project-content h2,
.project-content h3 {
  color: #165c58;
}

.project-content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

.project-content p,
.project-content ul,
.project-content ol {
  margin-bottom: 1.2em;
}

.project-content hr {
  border: 0;
  border-top: 1px solid #d9cfb5;
  margin: 1.5rem 0;
}

.project-section {
  margin: 1rem 0;
  border: 1px solid #d9cfb5;
  border-radius: 12px;
  background: #fffefb;
}

.project-content summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  color: #165c58;
  border-radius: 10px;
}

.project-content summary::marker { color: #165c58; }

.project-content summary h2,
.project-content summary h3 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.project-content summary h2::after { content: none; }

.project-content summary:hover { background: #f4f1e8; }

.project-content summary:focus-visible,
.project-content a:focus-visible {
  outline: 3px solid #6654c0;
  outline-offset: 4px;
}

.project-section[open] > summary {
  border-bottom: 2px solid #c2a360;
  border-radius: 10px 10px 0 0;
}

.project-section-body { padding: 1.25rem; }

.project-conviction {
  margin: 0.75rem 0;
  border-left: 3px solid #c2a360;
}

.project-conviction-body { padding: 0.5rem 1.25rem; }

.project-content a { color: #165c58; }

/* Contacto */
.contact-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.contact-content h1 { color: #165c58; }
.contact-intro p { margin-bottom: 1.2em; }
.contact-content a { color: #165c58; }
.contact-form {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border: 1px solid #d9cfb5;
  border-top: 3px solid #c2a360;
  border-radius: 12px;
  background: #fffefb;
}
.contact-required { margin: 0 0 1.25rem; font-size: 0.9rem; }
.contact-field { margin-bottom: 1.25rem; }
.contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #165c58;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.contact-form .contact-field input,
.contact-form .contact-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #697b79;
  border-radius: 6px;
  background: #fff;
  color: #343a40;
  font: inherit;
  line-height: 1.5;
}
.contact-field textarea { resize: vertical; }
.contact-submit {
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 2px solid #165c58;
  border-radius: 6px;
  background: #165c58;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.contact-submit:hover:not(:disabled) { background: #104642; }
.contact-submit:disabled { background: #536865; border-color: #536865; cursor: not-allowed; }
.contact-content a:focus-visible,
.contact-field input:focus-visible,
.contact-field textarea:focus-visible,
.contact-submit:focus-visible,
.contact-status:focus-visible { outline: 3px solid #6654c0; outline-offset: 3px; }
.contact-notice { padding: 1rem; border-left: 3px solid #c2a360; background: #f4f1e8; }
.contact-status { margin: 1rem 0 0; }
.contact-status:empty { margin: 0; }
.contact-status[data-state="error"] { color: #9e2924; }
.contact-status[data-state="success"] { color: #165c58; }
.contact-honeypot { display: none; }
@media (prefers-reduced-motion: reduce) {
  .contact-content input,
  .contact-content textarea,
  .contact-content button,
  .contact-content a { transition: none; }
}
@media screen and (max-width: 600px) {
  .contact-form { padding: 1rem; }
  .contact-submit { width: 100%; }
}

@media screen and (max-width: 600px) {
  .project-content summary { padding: 1rem; }
  .project-section-body { padding: 1rem; }
  .project-conviction-body { padding: 0.5rem 0.75rem; }
}

@media screen and (max-width: 600px) {
  .donation-options { grid-template-columns: minmax(0, 1fr); }
  .donation-card { padding: 1.25rem; }
  .donation-link { align-self: stretch; }
}
