/* ==========================================================================
   7. PÁGINA FAQ
========================================================================== */

/* #region FAQ */
.faq-hero {
  position: relative;
  background-image: url('../assets/images/historia-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  color: white;
}

.faq-hero .overlay {
  background: linear-gradient(180deg, rgba(83, 2, 204, 0.6), rgba(238, 195, 248, 0.6))!important;
  padding: 4rem 2rem;
  width: 100%;
}

.faq-hero h1 {
  color: white;
  font-size: 40px;
  margin-top: 210px;
  margin-left: 110px;
}

.faq-hero p {
  color: white;
  font-size: 16px;
  margin-left: 110px;
}
body.page-template-template-faq .custom-header {
  background-color: #022e47 !important;
  color: white !important;
}

body.page-template-template-faq .custom-header a {
  color: white !important;
}

.faq-title {
  background: linear-gradient(90deg, #e1aff9, #5302cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-align: center!important;
  font-weight: 800;
  font-size: 3rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  width: 100%;
}
.faq-main {
  background-color: #f4f5f5;
  min-height: 100vh;
  padding-bottom: 1rem;
}

.faq-single-content {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  padding: 3rem 2rem;
}

.faq-logo-vertical {
  position: absolute;
  top: 5.5%;
  right: 32px;
  transform: translateY(-50%);
  z-index: 10;
}
.faq-logo-vertical img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.faq-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}
.faq-content-col {
  flex: 1;
}
.faq-main-text {
  font-size: 16px;
  color: #022e47;
}

.faq-back {
  margin-top: 2rem;
}
.faq-main-text h2,
.faq-main-text .wp-block-heading {
  font-size: 18px;
  color: #5302cc!important;
}
/* #endregion */

/* #region responsive */
@media (max-width: 760px) {
  .faq-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .faq-logo-vertical {
    display:none;
  }

  .faq-back {
    text-align: center;
  }
  .faq-hero h1 {
    margin-left: 0px;
  }
  .faq-hero p {
    margin-left: 0px;
  }
}

/* #endregion */


@media (min-width: 1600px) {
  body {
    font-size: 18px; /* o más */
  }

  .faq-container {
    font-size: 1.05rem;
  }
}