/* about.css - Estilos específicos para la página About */

/* Heredar estilos base de overview.css */
.page-template-about-page .hero-content {
  max-width: 90%;
  position: relative;
  z-index: 2;
}

.page-template-about-page .hero-title {
  margin: 1rem 0;
}

/* Estilos específicos para About */
.about-cards-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin: 0px auto 0 auto;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.about-card {
  background: var(--color-bg-dark);
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(14, 177, 229, 0.10);
  max-width: 700px;
  padding: 2% 2% 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1.5px solid transparent;
  color: var(--color-white);
  z-index: 2;
}

.about-card-image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0a222a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.about-card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

.about-card-desc {
  color: var(--color-white);
  font-size: 1.08rem;
  margin-top: 0;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

/* Media queries */
@media (max-width: 900px) {
  .about-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .about-card {
    width: 98vw;
    min-width: unset;
    max-width: 400px;
    padding: 3% 2% 7%;
  }
}

@media (max-width: 575px) {
  .about-cards-row {
    max-width: none;
  }

  .about-card {
    max-width: none;
    width: 95%;
  }
}

/* Correcciones para el scroll y z-index */
body,
html {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  position: relative;
}

.site-main.about-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  overflow-y: auto;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.site-footer {
  position: relative;
  z-index: 2;
}

/* Ajustes para el canvas de fondo */
canvas[data-waves] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}