Theme Name: ObisCastrense
Theme URI: https://obispadocastrensecolombia.org/
Author: Tu Equipo
Author URI: https://guapacho.com/
Description: Tema derivado del framework Guapacho
Version: 1.0.0

body {
  font-family: 'Inter', sans-serif;
}

/* ========================== */
/* CONTENIDO DE ENTRADAS     */
/* ========================== */

.post-content {
  font-size: 1.25rem;
  line-height: 2rem;
  color: #1a202c;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: underline;
}

.post-content a:hover {
  color: #15803d;
}

/* ========================== */
/* PÁGINAS ESTÁTICAS (cookies, legales, etc.) */
/* ========================== */

.page article {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.9;
  color: #1a202c;
}

.page article h1,
.page article h2,
.page article h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #111827;
}

.page article h1 {
  font-size: 2rem;
}

.page article h2 {
  font-size: 1.5rem;
}

.page article h3 {
  font-size: 1.25rem;
}

.page article p {
  margin-bottom: 1.5rem;
}

.page article a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: underline;
}

.page article ul,
.page article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page article ul li,
.page article ol li {
  margin-bottom: 0.75rem;
}

/* ========================== */
/* CITA EDITORIAL PRO         */
/* ========================== */

.prose blockquote p::before,
.prose blockquote p::after {
  content: none !important;
}

.prose blockquote {
  border-left: 4px solid #22c55e; /* green-500 */
  background-color: #f9fafb; /* gray-50 */
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-style: italic;
  color: #1f2937; /* gray-800 */
}

/* ========================== */
/* GALERÍA ESTILO PINTEREST   */
/* ========================== */

.prose .wp-block-gallery {
  column-count: 2;
  column-gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .prose .wp-block-gallery {
    column-count: 3;
  }
}

.prose .wp-block-gallery figure {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.prose .wp-block-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.prose .wp-block-gallery img:hover {
  transform: scale(1.03);
}

/* ========================== */
/* LIGHTBOX SIMPLE            */
/* ========================== */

.prose .wp-block-gallery a {
  display: block;
  cursor: zoom-in;
}

.prose .wp-block-gallery a:focus {
  outline: none;
}

.comment-author .avatar {
  border-radius: 9999px;
  margin-right: 0.75rem;
}


.comment-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #1f2937; /* gray-800 */
}

.comment-author {
  font-weight: 600;
  color: #16a34a; /* green-600 */
}


/* Estilos para Contact Form 7 con Tailwind */

.wpcf7-form {
  @apply space-y-6;
}

.wpcf7-form p {
  @apply flex flex-col;
}

.wpcf7-form label {
  @apply text-sm font-semibold text-gray-700 mb-1;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  @apply w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 shadow-sm;
}

.wpcf7-form textarea {
  @apply resize-y;
}

.wpcf7-submit {
  @apply bg-green-600 text-white font-bold py-3 px-8 rounded-md hover:bg-green-700 transition duration-300 shadow-md cursor-pointer;
}

/* Mensaje de éxito y error */
.wpcf7-response-output {
  @apply mt-4 text-sm p-3 border rounded;
}

.wpcf7-mail-sent-ok {
  @apply bg-green-100 border-green-400 text-green-700;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
  @apply bg-red-100 border-red-400 text-red-700;
}

