/*
 Theme Name: Women Wide Web
 Theme URI: https://elsatapia.com/
 Description: Tema hijo de Twenty Twenty Five optimizado con tipografía Nexa y colores corporativos
 Author: Elsa Tapia
 Author URI: https://elsatapia.com/
 Template: twentytwentyfive
 Version: 1.0
 Text Domain: women-wide-web
*/

/* Tipografía Nexa: cargada vía theme.json */
body {
  background-color: var(--wp--preset--color--fondo-web);
  color: var(--wp--preset--color--texto-principal);
  font-family: 'Nexa', sans-serif, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nexa', sans-serif, Arial, sans-serif;
  margin-top: 0;
  margin-bottom: 1rem;
}

button, .wp-block-button__link {
  background-color: var(--wp--preset--color--rojo-corporativo);
  color: var(--wp--preset--color--color-claro);
  border-radius: 8px;
  font-weight: 600;
  padding: 1rem 2.25rem;

  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover, .wp-block-button__link:hover {
  background-color: #c71636; /* Un rojo más oscuro para hover */
}

a {
  color: var(--wp--preset--color--rojo-corporativo);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.lema {
  font-family: 'Nexa', sans-serif;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 23px;
}
.name {
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}
img.jet-listing-dynamic-image__img.attachment-thumbnail.size-thumbnail {
  object-fit: cover;   /* Recorta la imagen para que cubra el área sin deformarse */
  border-radius: 50%;  /* Hace la imagen circular */
  display: block; 
}
.columna-fija {
  position: sticky;
  top: 40px;
  align-self: start;
}
:root :where(.is-style-post-terms-1 a:where(:not(.wp-element-button))) {
    border-radius: 8px;
    border-color: var(--wp--preset--color--accent-6);
    border-width: 0.8px;
    border-style: solid;
    font-weight: 400;
    line-height: 2.8;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
    text-decoration: none;
    font-size: small;
}
wp-element-button{
 border-radius: 8px;}

h3#reply-title {
    font-size: small;
}
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]), .wp-block-post-comments-form .comment-form textarea {
    color: var(--wp--preset--color--rojo-corporativo);
}
textarea#comment {
    background: #FCE5E4;
}

/* Contenedor del loop de entradas */
.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch; /* clave: todas las filas se igualan */
}

/* Cada tarjeta o entrada */
.wp-block-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* Contenido interno para ocupar todo el alto */
.wp-block-post > * {
  flex-grow: 1;
}

/* botón Leer más */
.wp-block-read-more {
  margin-top: auto; /* empuja el botón al fondo */
}
/* Contenedor padre que agrupa las dos columnas */
.bloque-servicios {
  display: flex;              /* Hace que las columnas estén en fila y tengan igual altura */
  align-items: stretch;      /* Para que las columnas tengan la misma altura */
}

/* Cada columna */
.bloque-servicios > div {
  flex: 1;                   /* Que cada columna ocupe el mismo espacio */
  display: flex;             /* Para centrar vertical y horizontalmente */
  flex-direction: column;    /* Apilar contenido verticalmente */
  justify-content: center;   /* Centrar verticalmente */
  align-items: center;       /* Centrar horizontalmente */
  text-align: center;        /* Para que el texto dentro quede centrado */
  padding: 20px;             /* Opcional: espacio interno */
  box-sizing: border-box;    /* Para que padding no afecte el tamaño */
}