/* Racing Division - FAQ page */

.page-template-page-preguntas-frecuentes,
.page-template-page-preguntas-frecuentes body {
  background: #050706;
}

.page-template-page-preguntas-frecuentes .site-content,
.page-template-page-preguntas-frecuentes .content-area,
.page-template-page-preguntas-frecuentes .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-template-page-preguntas-frecuentes .inside-article,
.page-template-page-preguntas-frecuentes .widget-area {
  padding: 0;
  background: transparent;
}

.page-template-page-preguntas-frecuentes .widget-area {
  display: none;
}

.rd-faq-page {
  --faq-bg: #050706;
  --faq-surface: #0c110e;
  --faq-surface-2: #111914;
  --faq-border: rgba(255, 255, 255, .12);
  --faq-border-strong: rgba(0, 200, 83, .48);
  --faq-text: #f5f7f5;
  --faq-muted: rgba(235, 242, 237, .68);
  --faq-green: #00c853;
  position: relative;
  overflow: hidden;
  color: var(--faq-text);
  background:
    radial-gradient(circle at 12% 25%, rgba(0, 200, 83, .055), transparent 28rem),
    var(--faq-bg);
}

.rd-faq-page,
.rd-faq-page * {
  box-sizing: border-box;
}

.rd-faq-page .rd-container {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.rd-faq-page h1,
.rd-faq-page h2,
.rd-faq-page h3,
.rd-faq-page h4,
.rd-faq-page p {
  margin-top: 0;
}

.rd-faq-hero {
  --rd-faq-hero-image: none;
  position: relative;
  min-height: 455px;
  display: flex;
  isolation: isolate;
  overflow: hidden;
  background-color: #070907;
  background-image: var(--rd-faq-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--faq-border);
}

.rd-faq-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, .98) 0%, rgba(3, 5, 4, .9) 34%, rgba(3, 5, 4, .48) 72%, rgba(3, 5, 4, .2) 100%),
    linear-gradient(180deg, rgba(3, 5, 4, .15), rgba(3, 5, 4, .92));
}

.rd-faq-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 7%;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(0, 200, 83, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(0, 200, 83, .025), 0 0 0 68px rgba(0, 200, 83, .018);
}

.rd-faq-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 22% 52%, rgba(0, 200, 83, .11), transparent 27rem);
}

.rd-faq-hero__container {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 94px 44px;
}

.rd-faq-hero__content {
  width: min(680px, 75%);
}

.rd-faq-eyebrow,
.rd-faq-content__eyebrow,
.rd-faq-bottom-cta__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--faq-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rd-faq-hero__title {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--faq-text);
  font-size: clamp(48px, 7vw, 60px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .92;
}

.rd-faq-hero__title span {
  display: block;
  color: var(--faq-green);
}

.rd-faq-hero__description {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--faq-muted);
  font-size: 16px;
  line-height: 1.75;
}

.rd-faq-hero__line {
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 28px;
  background: var(--faq-green);
  box-shadow: 0 0 24px rgba(0, 200, 83, .5);
}

.rd-faq-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 55px;
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
}

.rd-faq-breadcrumbs a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}

.rd-faq-breadcrumbs a:hover,
.rd-faq-breadcrumbs a:focus-visible {
  color: var(--faq-green);
}

.rd-faq-breadcrumbs span:last-child {
  color: var(--faq-green);
}

.rd-faq-content {
  position: relative;
  padding: clamp(68px, 8vw, 112px) 0 112px;
}

.rd-faq-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1440px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}

.rd-faq-content__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 56px;
  align-items: end;
  margin-bottom: 46px;
}

.rd-faq-content__title {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--faq-text);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
}

.rd-faq-content__intro {
  margin-bottom: 0;
  color: var(--faq-muted);
  font-size: 15px;
  line-height: 1.75;
}

.rd-faq-shortcode {
  min-width: 0;
  color: var(--faq-text);
}

.rd-faq-shortcode .rd-faqs,
.rd-faq-shortcode .rd-faqs-wrapper,
.rd-faq-shortcode .rd-faqs-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--faq-text);
}

.rd-faq-shortcode .rd-faqs-categories,
.rd-faq-shortcode .rd-faqs-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 54px;
}

.rd-faq-shortcode .rd-faqs-category,
.rd-faq-shortcode .rd-faqs-category-card,
.rd-faq-shortcode [data-rd-faq-category] {
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0px;
  background: linear-gradient(160deg, #151e18, #0b100d);
  border: 1px solid var(--faq-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.rd-faq-shortcode .rd-faqs-category:hover,
.rd-faq-shortcode .rd-faqs-category-card:hover,
.rd-faq-shortcode [data-rd-faq-category]:hover,
.rd-faq-shortcode .rd-faqs-category.is-active,
.rd-faq-shortcode .rd-faqs-category.active,
.rd-faq-shortcode .rd-faqs-category-card.is-active,
.rd-faq-shortcode [data-rd-faq-category].is-active {
  border-color: var(--faq-border-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .25), inset 0 -2px 0 var(--faq-green);
  transform: translateY(-3px);
}

.rd-faq-shortcode .rd-faqs-category::after,
.rd-faq-shortcode .rd-faqs-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 5, 4, .9));
  pointer-events: none;
}

.rd-faq-shortcode .rd-faqs-category > *,
.rd-faq-shortcode .rd-faqs-category-card > * {
  position: relative;
  z-index: 1;
}

.rd-faq-shortcode .rd-faqs-category img,
.rd-faq-shortcode .rd-faqs-category-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  transition: opacity .25s ease, transform .35s ease;
}

.rd-faq-shortcode .rd-faqs-category:hover img,
.rd-faq-shortcode .rd-faqs-category-card:hover img {
  opacity: .36;
  transform: scale(1.04);
}

.rd-faq-shortcode .rd-faqs-category-title,
.rd-faq-shortcode .rd-faqs-category-card__title {
  margin: 0 0 6px;
  color: var(--faq-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.rd-faq-shortcode .rd-faqs-category-description,
.rd-faq-shortcode .rd-faqs-category-card__description {
  margin: 0;
  color: var(--faq-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rd-faq-shortcode .rd-faqs-layout,
.rd-faq-shortcode .rd-faqs-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.rd-faq-shortcode .rd-faqs-list,
.rd-faq-shortcode .rd-faqs-questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rd-faq-shortcode .rd-faqs-item,
.rd-faq-shortcode .rd-faq-item {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(19, 28, 22, .98), rgba(10, 14, 11, .98));
  border: 1px solid var(--faq-border);
  border-radius: 9px;
  transition: border-color .2s ease, background .2s ease;
}

.rd-faq-shortcode .rd-faqs-item:hover,
.rd-faq-shortcode .rd-faq-item:hover,
.rd-faq-shortcode .rd-faqs-item.is-open,
.rd-faq-shortcode .rd-faq-item.is-open,
.rd-faq-shortcode .rd-faqs-item.active,
.rd-faq-shortcode .rd-faq-item.active {
  border-color: rgba(0, 200, 83, .42);
}

.rd-faq-shortcode .rd-faqs-question,
.rd-faq-shortcode .rd-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 21px;
  color: var(--faq-text);
  background: transparent !important;
  border: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

.rd-faq-shortcode .rd-faqs-question:hover,
.rd-faq-shortcode .rd-faq-question:hover,
.rd-faq-shortcode .rd-faqs-question:focus-visible,
.rd-faq-shortcode .rd-faq-question:focus-visible {
  color: var(--faq-green);
  background: transparent !important;
}

.rd-faq-shortcode .rd-faqs-answer,
.rd-faq-shortcode .rd-faq-answer {
  padding: 0 21px 22px;
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 1.75;
}

.rd-faq-shortcode .rd-faqs-answer p:last-child,
.rd-faq-shortcode .rd-faq-answer p:last-child {
  margin-bottom: 0;
}

.rd-faq-shortcode .rd-faqs-toggle,
.rd-faq-shortcode .rd-faq-icon,
.rd-faq-shortcode .rd-faqs-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--faq-green);
}

.rd-faq-shortcode .rd-faqs-sidebar,
.rd-faq-shortcode .rd-faqs-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rd-faq-shortcode .rd-faqs-sidebar-card,
.rd-faq-shortcode .rd-faqs-help-card,
.rd-faq-shortcode .rd-faqs-trust-card {
  padding: 24px;
  background: linear-gradient(150deg, #151e18, #0b100d);
  border: 1px solid var(--faq-border);
  border-radius: 9px;
}

.rd-faq-shortcode .rd-faqs-sidebar h2,
.rd-faq-shortcode .rd-faqs-sidebar h3,
.rd-faq-shortcode .rd-faqs-aside h2,
.rd-faq-shortcode .rd-faqs-aside h3 {
  margin: 0 0 12px;
  color: var(--faq-text);
  font-size: 18px;
  line-height: 1.2;
}

.rd-faq-shortcode .rd-faqs-sidebar p,
.rd-faq-shortcode .rd-faqs-aside p {
  color: var(--faq-muted);
  font-size: 13px;
  line-height: 1.7;
}

.rd-faq-shortcode .rd-faqs-button,
.rd-faq-shortcode .rd-faqs-contact-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 18px;
  color: #fff;
  background: linear-gradient(135deg, #00c853, #008f3d) !important;
  border: 1px solid rgba(0, 200, 83, .65);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rd-faq-shortcode .rd-faqs-button:hover,
.rd-faq-shortcode .rd-faqs-contact-button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.rd-faq-empty {
  display: grid;
  gap: 8px;
  padding: 28px;
  color: var(--faq-muted);
  background: var(--faq-surface);
  border: 1px solid var(--faq-border);
  border-radius: 9px;
}

.rd-faq-empty strong {
  color: var(--faq-text);
  font-size: 17px;
}

.rd-faq-bottom-cta {
  padding: 0 0 112px;
}

.rd-faq-bottom-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  background: radial-gradient(circle at 8% 50%, rgba(0, 200, 83, .13), transparent 30%), linear-gradient(135deg, #111914, #0a0e0b);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
}

.rd-faq-bottom-cta__inner::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(0, 200, 83, .18);
  border-radius: 50%;
  pointer-events: none;
}

.rd-faq-bottom-cta__content,
.rd-faq-bottom-cta__actions {
  position: relative;
  z-index: 1;
}

.rd-faq-bottom-cta__content h2 {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--faq-text);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight:500;
  letter-spacing: -.05em;
  line-height: 1.03;
}

.rd-faq-bottom-cta__content p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 1.7;
}

.rd-faq-bottom-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rd-faq-bottom-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  color: #fff;
  background: var(--faq-green);
  border: 1px solid var(--faq-green);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.rd-faq-bottom-cta__button:hover,
.rd-faq-bottom-cta__button:focus-visible {
  color: #fff;
  background: #00a844;
}

.rd-faq-bottom-cta__button span {
  font-size: 18px;
  line-height: 1;
}

.rd-faq-bottom-cta__link {
  color: var(--faq-muted);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.rd-faq-bottom-cta__link:hover,
.rd-faq-bottom-cta__link:focus-visible {
  color: var(--faq-green);
}

@media (max-width: 1023px) {
  .rd-faq-hero__content {
    width: min(720px, 100%);
  }

  .rd-faq-content__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rd-faq-shortcode .rd-faqs-layout,
  .rd-faq-shortcode .rd-faqs-main-grid {
    grid-template-columns: 1fr;
  }

  .rd-faq-shortcode .rd-faqs-sidebar,
  .rd-faq-shortcode .rd-faqs-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .rd-faq-page .rd-container {
    width: min(100% - 32px, 560px);
  }

  .rd-faq-hero {
    min-height: 410px;
    background-position: 65% center;
  }

  .rd-faq-hero::before {
    background: linear-gradient(90deg, rgba(3, 5, 4, .98), rgba(3, 5, 4, .76)), linear-gradient(180deg, rgba(3, 5, 4, .15), rgba(3, 5, 4, .94));
  }

  .rd-faq-hero__container {
    padding-block: 78px 30px;
  }

  .rd-faq-hero__title {
    font-size: clamp(44px, 14vw, 62px);
  }

  .rd-faq-hero__description {
    max-width: 440px;
    font-size: 14px;
  }

  .rd-faq-breadcrumbs {
    margin-top: 34px;
  }

  .rd-faq-content {
    padding: 60px 0 76px;
  }

  .rd-faq-content__title {
    font-size: 34px;
  }

  .rd-faq-shortcode .rd-faqs-categories,
  .rd-faq-shortcode .rd-faqs-category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 38px;
  }

  .rd-faq-shortcode .rd-faqs-category,
  .rd-faq-shortcode .rd-faqs-category-card,
  .rd-faq-shortcode [data-rd-faq-category] {
  }

  .rd-faq-shortcode .rd-faqs-question,
  .rd-faq-shortcode .rd-faq-question {
    padding: 16px;
    font-size: 14px;
  }

  .rd-faq-shortcode .rd-faqs-answer,
  .rd-faq-shortcode .rd-faq-answer {
    padding: 0 16px 19px;
    font-size: 13px;
  }

  .rd-faq-bottom-cta {
    padding-bottom: 76px;
  }

  .rd-faq-bottom-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 24px;
  }

  .rd-faq-bottom-cta__content h2 {
    font-size: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-faq-page *,
  .rd-faq-page *::before,
  .rd-faq-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Ajustes del shortcode [rd_faqs]. */
.rd-faq-shortcode .rd-faqs-category {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--faq-border);
  color: var(--faq-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.rd-faq-shortcode .rd-faqs-category.is-active,
.rd-faq-shortcode .rd-faqs-category:hover,
.rd-faq-shortcode .rd-faqs-category:focus-visible {
  color: var(--faq-text);
  background: linear-gradient(160deg, #193021, #0b100d);
}

.rd-faq-shortcode .rd-faq-question {
  cursor: pointer;
  list-style: none;
  text-align: left;
}

.rd-faq-shortcode .rd-faq-question::-webkit-details-marker {
  display: none;
}

.rd-faq-shortcode .rd-faq-item[open] .rd-faq-icon {
  transform: rotate(45deg);
}

.rd-faq-shortcode .rd-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.rd-faq-shortcode .rd-faq-item[hidden] {
  display: none;
}
