/* 
 * Estructura Principal
 * --------------------------------------------------
 */
 .post {  
  padding: 1rem;
  margin-bottom: 4rem;
}

/* 
 * Entrada - cabecera del post
 * --------------------------------------------------
 */
.entry-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2d2d40;
}

/* 
 * Entrada - títulos
 * --------------------------------------------------
 */
.entry-title {
  font-size: 2.2rem;
  margin: 0 0 1rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
}

/* Iconos en títulos */
.entry-title i {
  color: #188ef4;
  font-size: 1.8rem;
}

/* 
 * Entrada - metadatos (fecha, autor, categorías)
 * --------------------------------------------------
 */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #a0a0c0;
}

/* Aliniación y espaciado en meta */
.entry-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Enlaces metadatos */
.entry-meta a {
  color: #d0d0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover color para enlaces metadatos */
.entry-meta a:hover {
  color: #5ab0ff;
}

/* Iconos en metadatos */
.entry-meta i {
  font-size: 0.9em;
  color: #188ef4;
}

/* Comas entre categorías y etiquetas */
.entry-meta .cat-links a:after,
.entry-meta .tags-links a:after {
  content: ",";
  margin-right: 0.3em;
}

/* No poner coma al último enlace */
.entry-meta .cat-links a:last-child:after,
.entry-meta .tags-links a:last-child:after {
  content: "";
  margin-right: 0;
}

/* 
 * Entrada - contenido principal
 * --------------------------------------------------
 */
.entry-content {
  color: #d0d0e0;
  line-height: 1.7;
}

/* Espaciado interno entre párrafos y elementos */
.entry-content > * {
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Estilos para párrafos */
.entry-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Estilos para encabezados h2 */
.entry-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

/* Icono en encabezado h2 */
.entry-content h2 i {
  color: #188ef4;
  font-size: 1.5rem;
}

/* Estilos para encabezados h3 */
.entry-content h3 {
  font-size: 1.75rem;
  color: #d0d0e0;
  margin: 2.2rem 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Iconos en h3 */
.entry-content h3 i {
  color: #188ef4;
  font-size: 1.3rem;
}

/* Estilos para encabezados h4 */
.entry-content h4 {
  font-size: 1.5rem;
  color: #e0e0e0;
  margin: 1.6rem 0 0.9rem;
}

/* Estilos para encabezados h5 */
.entry-content h5 {
  font-size: 1.25rem;
  color: #e0e0e0;
  margin: 1.3rem 0 0.7rem;
}

/* Estilos para encabezados h6 */
.entry-content h6 {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
}

/* Enlaces en contenido */
.entry-content a {
  color: #5ab0ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 176, 255, 0.3);
  transition: all 0.3s ease;
}

/* Hover enlaces */
.entry-content a:hover {
  color: #8ac8ff;
}

/* 
 * Bloques específicos de Gutenberg
 * --------------------------------------------------
 */

/* Imágenes y galerías */
.wp-block-image,
.wp-block-gallery {
  margin: 2.5rem 0;
}

.wp-block-image img,
.wp-block-gallery img {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2d2d40;
}

/* Pie de foto para imágenes */
.wp-element-caption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #acacaf;
  text-align: center;
  font-style: italic;
}

/* Galerías con imágenes anidadas en grid */
.wp-block-gallery.has-nested-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

/* Estilos para cada figura en la galería */
.wp-block-gallery.has-nested-images figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2d2d40;
  display: flex;
  flex-direction: column;
  background: #1e1e2e;
}

/* Hover efecto en figuras */
.wp-block-gallery.has-nested-images figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(24, 142, 244, 0.3);
}

/* Imagen dentro de figura */
.wp-block-gallery.has-nested-images img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}

/* Texto pie de foto en galería */
.wp-block-gallery.has-nested-images figcaption {
  padding: 0.8rem;
  font-size: 0.9rem;
  color: #d0d0e0;
  text-align: center;
  background: rgba(30, 30, 46, 0.8);
  position: static;
  transform: none;
  transition: none;
}

/* 
 * Citas
 * --------------------------------------------------
 */
.wp-block-quote {
  border-left: 5px solid #188ef4;
  padding: 1.5rem 2rem 1.5rem 3.5rem;
  background: rgba(24, 142, 244, 0.08);
  font-style: italic;
  border-radius: 0 8px 8px 0;
  position: relative;
  margin: 2rem 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  color: #f0f0f5;
  font-family: "Georgia", serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Icono de comillas en cita */
.wp-block-quote::before {
  content: "\f10d";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 1.3rem;
  color: rgba(24, 142, 244, 0.25);
  font-size: 2.5rem;
  line-height: 1;
  user-select: none;
}

/* Estilo párrafos en citas */
.wp-block-quote p {
  margin: 0;
  position: relative;
  color: inherit;
}

/* Estilo para citas con autor */
.wp-block-quote.has-citation cite {
  display: block;
  font-style: normal;
  font-size: 1rem;
  color: #8a8fc0;
  text-align: right;
  margin-top: 0.5rem;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.02em;
}

/* Guion antes del autor en cita */
.wp-block-quote.has-citation cite:before {
  content: "— ";
}

/* Cita destacada */
.wp-block-pullquote {
  border-top: 5px solid #188ef4;
  border-bottom: 5px solid #188ef4;
  padding: 3rem 2rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
  position: relative;
  background: rgba(24, 142, 244, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Icono grande en pullquote */
.wp-block-pullquote::before {
  content: "\f10d";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  color: rgba(24, 142, 244, 0.18);
  font-size: 4rem;
  z-index: 0;
  user-select: none;
}

/* Bloque de texto dentro de pullquote */
.wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border-left: none;
  position: relative;
  z-index: 1;
}

/* Texto principal de pullquote */
.wp-block-pullquote p {
  font-size: 1.6rem;
  color: #98989b;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  font-family: "Georgia", serif;
  line-height: 1.5;
}

/* Autor en pullquote */
.wp-block-pullquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: #6f7392;
  font-size: 1rem;
  font-weight: 600;
}

/* 
 * Código
 * --------------------------------------------------
 */
.wp-block-code {
  background: rgba(30, 30, 46, 0.9);
  padding: 1.8rem 2rem;
  border-radius: 8px;
  font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;
  color: #9aa2ff;
  border: 1px solid #2d2d40;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
  overflow-x: auto;
  font-size: .8rem;
  line-height: 1.6;
  position: relative;
  margin: 2.5rem 0;
  transition: box-shadow 0.3s ease;

}

/* Estilo enfoque para código */
.wp-block-code:focus-within {
  box-shadow: 0 0 10px 2px #5ab0ff;
  outline: none;
}

/* Scroll bar personalizado en código */
.wp-block-code::-webkit-scrollbar {
  height: 6px;
}

.wp-block-code::-webkit-scrollbar-track {
  background: #2d2d40;
  border-radius: 6px;
}

.wp-block-code::-webkit-scrollbar-thumb {
  background: #5ab0ff;
  border-radius: 6px;
}

/* Icono decorativo para bloques de código */
.wp-block-code::before {
  content: "\f121";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  top: 12px;
  right: 18px;
  color: rgba(154, 162, 255, 0.3);
  font-size: 1.4rem;
  user-select: none;
  pointer-events: none;
  text-shadow:none;
}

/* Código dentro del bloque */
.wp-block-code code {
  font-family: inherit;
  background: transparent;
  padding: 0;
  color: inherit;
  display: block;
  white-space: pre-wrap; 
  word-break: break-word;
}

/* 
 * Listas
 * --------------------------------------------------
 */
.wp-block-list {
  margin: 1.8rem 0;
  padding-left: 1.8rem;
}

.wp-block-list li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5rem;
}

.wp-block-list ul,
.wp-block-list ol {
  margin: 0.7rem 0 0.7rem 1.5rem;
}

/* Listas con checkmarks */
.wp-block-list.has-checkmarks {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.has-checkmarks li {
  padding-left: 2rem;
}

.wp-block-list.has-checkmarks i {
  position: absolute;
  left: 0;
  color: #188ef4;
}

/* 
 * Tablas
 * --------------------------------------------------
 */
.wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2d2d40;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.wp-block-table table {
  width: 100%;
}

.wp-block-table th,
.wp-block-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #2d2d40;
}

.wp-block-table th {
  background: rgba(24, 142, 244, 0.2);
  font-weight: 700;
  color: #8ac8ff;
}

/* Sin borde en la última fila */
.wp-block-table tr:last-child td {
  border-bottom: none;
}

/* Filas pares con fondo distinto */
.wp-block-table tr:nth-child(even) {
  background: rgba(30, 30, 46, 0.5);
}

/* Hover filas */
.wp-block-table tr:hover {
  background: rgba(24, 142, 244, 0.1);
}

/* 
 * Videos embebidos
 * --------------------------------------------------
 */
.wp-block-embed {
  margin: 2.5rem 0;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2d2d40;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 
 * Botones
 * --------------------------------------------------
 */
.wp-block-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.wp-block-button {
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}

/* Botones con fondo */
.wp-block-button__link:not(.has-background) {
  background: #188ef4;
  color: white !important;
  box-shadow: 0 4px 6px rgba(24, 142, 244, 0.3);
}

/* Hover botones */
.wp-block-button__link:not(.has-background):hover {
  background: #0d7bd9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(24, 142, 244, 0.4);
}

/* Botones outline */
.is-style-outline .wp-block-button__link:not(.has-text-color) {
  background: transparent;
  color: #d0d0e0 !important;
  border: 1px solid #188ef4;
}

.is-style-outline .wp-block-button__link:not(.has-text-color):hover {
  background: rgba(24, 142, 244, 0.1);
  border-color: #5ab0ff;
  transform: translateY(-2px);
}

/* 
 * Notas al pie
 * --------------------------------------------------
 */
.is-style-footnotes {
  background: rgba(30, 30, 46, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid #2d2d40;
}

.is-style-footnotes h4 {
  margin-top: 0;
  color: #8ac8ff;
  font-size: 1.2rem;
}

.is-style-footnotes ol {
  padding-left: 1.5rem;
}

.is-style-footnotes li {
  margin-bottom: 0.8rem;
  position: relative;
}

/* Enlaces para regresar a la referencia */
.footnote-backlink {
  margin-left: 0.5rem;
  color: #5ab0ff;
  text-decoration: none;
  font-size: 0.8rem;
}

/* 
 * Pie de entrada o footer post
 * --------------------------------------------------
 */
.entry-footer {
  padding: 1.5rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid #2d2d40;
}

.entry-footer .entry-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.entry-footer i {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .entry-footer .cat-links,
  .entry-footer .tags-links {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .entry-footer a {
    margin-left: 1.5rem;
  }
}

@media (max-width: 576px) {
  .entry-footer {
    padding: 1rem 0 0;
    margin-top: 1.5rem;
  }
  
  .entry-footer a:after {
    content: ",";
  }
  
  .entry-footer a:last-child:after {
    content: "";
  }
}

/* 
 * Utilerias para el post
 * --------------------------------------------------
 */
/* Separador profesional */
.wp-block-separator {
  border: none;
  border-top: 2px dashed #188ef4;
  margin: 2.5rem auto;
  opacity: 0.6;
  width: 80%;
  max-width: 300px;
}

/* Espaciador controlado */
.wp-block-spacer {
  height: 2rem;
  display: block;
  margin: 0;
}

/* Columnas profesionales */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
  align-items: flex-start;
}

.wp-block-column {
  flex: 1;
  min-width: calc(33% - 1rem);
}

@media (max-width: 768px) {
  .wp-block-column {
    min-width: 100%;
    margin-bottom: 1.5rem;
  }
}

/* Grupo elegante */
.wp-block-group {
  padding: 1.5rem;
  background-color: rgba(24, 142, 244, 0.08);
  border-radius: 8px;
  margin: 2.5rem 0;
  border-left: 4px solid #188ef4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Media y texto clásico profesional */
.wp-block-media-text {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin: 4rem 0;
  position: relative;
}

/* Imagen contenedor */
.wp-block-media-text__media {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-media-text__media:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.2);
}

.wp-block-media-text__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.wp-block-media-text__media:hover img {
  transform: scale(1.03);
}

/* Texto contenedor */
.wp-block-media-text__content {
  flex: 1;
  padding: 0 1rem;
}

.wp-block-media-text__content h2,
.wp-block-media-text__content h3,
.wp-block-media-text__content h4 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.wp-block-media-text__content p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

/* Borde decorativo estilo elegante */
.wp-block-media-text.is-style-decorative .wp-block-media-text__content {
  position: relative;
  padding-left: 3rem;
}

.wp-block-media-text.is-style-decorative .wp-block-media-text__content:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #188ef4, #5ab0ff);
  border-radius: 2px;
}

/* Responsive media y texto */
@media (max-width: 1024px) {
  .wp-block-media-text {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .wp-block-media-text {
    flex-direction: column;
    gap: 2rem;
  }
  
  .wp-block-media-text__media {
    flex: 1 1 100%;
    width: 100%;
  }
  
  .wp-block-media-text.is-style-decorative .wp-block-media-text__content {
    padding-left: 1rem;
    padding-top: 2rem;
  }
  
  .wp-block-media-text.is-style-decorative .wp-block-media-text__content:before {
    height: 4px;
    width: 100%;
    top: 0;
    left: 0;
  }
}

/* 
 * Audio - estilo moderno
 * --------------------------------------------------
 */
audio {
  width: 100%;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 
 * Archivo 
 * --------------------------------------------------
 */
.wp-block-file__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #188ef4;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wp-block-file__button:hover {
  background-color: #0d7bd9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Bloques de código con mejor legibilidad */
.wp-block-custom-html pre,
.wp-block-shortcode pre {
  background: #1e1e2e;
  color: #5ab0ff;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  tab-size: 2;
  margin: 1.5rem 0;
  border-left: 4px solid #188ef4;
}

/* 
 * Listas con mejor espaciado
 * --------------------------------------------------
 */
.wp-block-latest-posts,
.wp-block-categories {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.wp-block-latest-posts li,
.wp-block-categories li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(24, 142, 244, 0.1);
}

.wp-block-latest-posts a,
.wp-block-categories a {
  color: #188ef4;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.wp-block-latest-posts a:hover,
.wp-block-categories a:hover {
  color: #0d7bd9;
  text-decoration: none;
  transform: translateX(4px);
}

/* 
 * Twitter embed más integrado
 * --------------------------------------------------
 */
.twitter-tweet {
  margin: 2.5rem auto;
  max-width: 550px;
  padding: 1.5rem;
  border-left: 4px solid #188ef4;
  border-radius: 8px;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Responsive ajustes */
@media (max-width: 600px) {
  .wp-block-media-text {
    flex-direction: column;
  }
  
  .wp-block-media-text__media {
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }
}

/* 
 * Estilos para comentarios 
 * --------------------------------------------------
 */
.comments-area {
  margin: 3rem 0;
  padding: 0;
  border-radius: 12px;
  color: #e2e8f0;
}

.comments-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(119, 117, 117, 0.5);
  position: relative;
  color: #f8fafc;
}

.comments-title:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, #188ef4, #5ab0ff);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.comment-list .children {
  list-style: none;
  padding-left: 4rem;
  margin-left: 2rem;
  border-left: 1px solid rgba(119, 117, 117, 0.5);
}

.comment {
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(119, 117, 117, 0.5);
}

.comment:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
}

.comment-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(24, 142, 244, 0.5);
}

.comment-author .fn {
  font-weight: 600;
  font-style: normal;
  color: #f8fafc;
}

.comment-author .fn:before {
  font-family: 'Font Awesome 7 Free';
  content: '\f007';
  margin-right: 8px;
  font-weight: 900;
  color: #5ab0ff;
}

.comment-metadata {
  margin-left: auto;
  font-size: 0.85rem;
  color: #a0aec0;
}

.comment-metadata a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #a0aec0;
}

.comment-metadata a:hover {
  color: #5ab0ff;
}

.comment-metadata a:before {
  font-family: 'Font Awesome 7 Free';
  content: '\f017';
  margin-right: 5px;
  font-weight: 900;
  font-size: 0.8em;
}

.comment-content {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-left: 3.5rem;
  color: #e2e8f0;
}

.comment-content p {
  margin-bottom: 1rem;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  background-color: #2d3748;
  color: #5ab0ff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(24, 142, 244, 0.3);
}

.comment-reply-link:before {
  font-family: 'Font Awesome 7 Free';
  content: '\f075';
  margin-right: 8px;
  font-weight: 900;
  font-size: 0.9em;
}

.comment-reply-link:hover {
  background-color: #188ef4;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 3px 12px rgba(24, 142, 244, 0.3);
}

/* Formulario de comentarios */
.comment-respond {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 12px;
}

.comment-reply-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: #f8fafc;
  border-bottom: 1px solid rgba(119, 117, 117, 0.5);
}

.comment-reply-title:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, #188ef4, #5ab0ff);
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #e2e8f0;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #4a5568;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
  background-color: #1a202c;
  color: #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  border-color: #188ef4;
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 142, 244, 0.2);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #a0aec0;
}

.comment-form-cookies-consent input {
  margin-right: 0.75rem;
}

/* Submit button */
#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #188ef4, #5ab0ff);
  color: white !important;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(24, 142, 244, 0.25);
}

#submit:before {
  font-family: 'Font Awesome 7 Free';
  content: '\f1d8';
  margin-right: 10px;
  font-weight: 900;
}

#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 142, 244, 0.35);
}

/* Cancel reply link */
#cancel-comment-reply-link {
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
  color: #fc8181 !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

#cancel-comment-reply-link:before {
  font-family: 'Font Awesome 7 Free';
  content: '\f057';
  margin-right: 5px;
  font-weight: 900;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
  color: #f56565 !important;
}

/* Responsive para comentarios */
@media (max-width: 768px) {
  .comments-area,
  .comment-respond {
      padding: 1.5rem;
  }

  .comment-list .children {
      padding-left: 2rem;
      margin-left: 1rem;
  }

  .comment-content {
      padding-left: 0;
  }

  .comment-meta {
      flex-direction: column;
      align-items: flex-start;
  }

  .comment-metadata {
      margin-left: 3.5rem;
      margin-top: 0.5rem;
  }
}

/* 
 * Post relacionados
 * --------------------------------------------------
 */
.related-posts .figure img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
}

.related-posts .figure img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(24, 142, 244, 0.5);
}

.related-posts .figure-caption {
  text-align: left;
  color: #6c757d;
  margin-top: 0.5rem;
  transition: none;
}