/* ========================== */
/* BASE GLOBAL                */
/* ========================== */

body {
  font-family: 'Inter', sans-serif;
  color: #111827;
  background: #ffffff;
}


/* ========================== */
/* 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          */
/* ========================== */

.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;
}


/* ========================== */
/* BLOCKQUOTE EDITORIAL       */
/* ========================== */

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

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


/* ========================== */
/* 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);
}

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

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


/* ========================== */
/* COMENTARIOS                */
/* ========================== */

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

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

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


/* ========================== */
/* CONTACT FORM 7             */
/* ========================== */

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wpcf7-form p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.wpcf7-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
}

.wpcf7-submit {
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.wpcf7-submit:hover {
  background: #15803d;
}

.wpcf7-response-output {
  margin-top: 1rem;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid;
  border-radius: 0.375rem;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  background: #dcfce7;
  border-color: #4ade80;
  color: #166534;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
}
