/* ═══════════════════════════════════════════════════════════════
   Formación Teórica — /auditoria/hacerse-auditor-de-cuentas/formacion-teorica
   Figma node 22889:76279
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Section: y=150 h=288 ── */
.ft-hero {
  position: relative;
  width: 100%;
  height: 288px;
  overflow: hidden;
  background: #0a0a0a;
}

.ft-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/formacion-teorica-hero.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center 36%;
  z-index: 0;
}

.ft-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.ft-hero__container {
  position: relative;
  z-index: 2;
  width: 1280px;
  max-width: calc(100% - 48px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.ft-hero__content {
  width: 100%;
  max-width: 1152px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ft-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.ft-breadcrumb__link,
.ft-breadcrumb__current {
  color: #fafafa;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.ft-breadcrumb__link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.ft-breadcrumb__sep {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ft-breadcrumb__sep path {
  stroke: #fafafa;
}

.ft-hero__title {
  width: 100%;
  margin: 0;
  color: #fafafa;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

/* ── Links Section: y=438 h=612 ── */
.ft-links {
  width: 100%;
  background: #ffffff;
}

.ft-links__container {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ft-links__header {
  width: 772px;
  max-width: 100%;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ft-links__tag {
  width: 100%;
  margin: 0;
  color: #b91c1c;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ft-links__title {
  width: 100%;
  margin: 0;
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

.ft-cards-section {
  padding-bottom: 80px;
}

.ft-cards {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  min-height: 388px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.ft-card {
  width: calc(33.333% - 14px);
  box-sizing: border-box;
  height: 184px;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.ft-card__inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.ft-card__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.95)), #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ft-card__icon-wrap svg {
  width: 20px;
  height: 20px;
}

.ft-card__title {
  width: 100%;
  margin: 0;
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.ft-card__action {
  padding: 0 24px;
}

.ft-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #b91c1c;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ft-card__btn:disabled,
.ft-card__btn[aria-disabled='true'] {
  opacity: 1;
  cursor: not-allowed;
}

.ft-card__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .ft-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .ft-hero {
    height: auto;
    min-height: 220px;
    padding: 40px 0;
  }

  .ft-hero__title,
  .ft-links__title {
    font-size: 28px;
    line-height: 34px;
  }

  .ft-links__container {
    padding: 40px 0;
  }

  .ft-cards-section {
    padding-bottom: 48px;
  }

  .ft-cards {
    gap: 10px;
    min-height: auto;
  }
  .ft-card {
    width: calc(50% - 5px);
  }
}
