:root {
  /* Paleta de colores EROSTOPIA */
  --color-bg: #F7F3F0;             /* Champagne Neutro - Fondo general */
  --color-text: #1A1A1A;           /* Negro Obsidiana - Texto principal */
  --color-accent: #7C0A02;         /* Rojo Borgoña Profundo - Detalles / énfasis */
  --color-soft-pink: #EED6D3;      /* Rosé suave - Cards / fondos suaves */
  --color-muted-gray: #A8A8A8;     /* Gris pizarra claro - bordes / texto secundario */

  /* Colores auxiliares */
  --color-white: #ffffff;
  --color-black: #1a1a1a;

  /* Tipografías */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}
html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #fff;
  color: #1a1a1a;
}

.editorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.editorial-logo-link {
  display: inline-flex;
  align-items: center;
}

.editorial-logo {
  display: block;
  width: 160px;
  height: auto;
}


.logo {
  max-width: 160px;
  height: auto;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 300;
  font-size: 1rem;
}

.editorial-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero-text {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-text h1,
.hero-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  padding: 1rem;
}


.editorial-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
}

/* .grid-item {
  text-align: center;
} */

.grid-item {
  display: inline-block; /* Ensures size is only the image size plus heading */
  position: relative;
  overflow: hidden;
  margin: 10px;
  text-align: center;
}

.grid-item img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(104, 103, 103, 0.1);
  transition: transform 0.3s ease;
}

.grid-item img:hover {
  transform: scale(1.02);
}

.grid-item h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.editorial-grid {
  display: grid;
  gap: 3rem;
  padding: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.btn-ver-mas:hover {
  background-color: #f4f4f4;
  border-color: #999;
}

.ver-mas-container {
  text-align: center;
  margin-top: 2rem;
}

.btn-ver-mas {
  background-color: transparent;
  color: #222;
  border: 1px solid #ccc;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

footer {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 1rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #999;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 0.75rem; /* Tamaño pequeño y elegante */
  color: #555;
  background-color: #fefefe; /* Ajusta según tu fondo */
  border-top: 1px solid #ddd;
}

.footer__text {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.footer__social {
  display: flex;
  gap: 0.8rem;
}

.footer__social a {
  color: #777;
  font-size: 0.9rem; /* Íconos pequeños */
  transition: color 0.3s ease;
}

.footer__social a:hover {
  color: #b06f6f; /* Sutil acento elegante al pasar el mouse */
}


.form-link{
   all: unset; 
   margin-left: 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 300;
    font-size: 1rem;
}

.link-button {
  all: unset; /* Reset most browser styles */
 
  cursor: pointer;
  /* margin-left: 1.5rem; */
  text-decoration: none;
  color: #333;
  font-weight: 300;
  font-size: 1rem;
}

@media (min-width: 1300px) {
  .editorial-grid {
    grid-template-columns: repeat(4, 1fr); /* Máximo 4 columnas */
  }
}

.bn {
    filter: grayscale(100%);
}