/* Formacion practica
   /auditoria/hacerse-auditor-de-cuentas/formacion-practica */

.fp-hero {
  position: relative;
  width: 100%;
  min-height: 288px;
  overflow: hidden;
  background: #0a0a0a;
}

.fp-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;
}

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

.fp-hero__container,
.fp-page__container {
  width: 1280px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.fp-hero__container {
  position: relative;
  z-index: 2;
  min-height: 288px;
  display: flex;
  align-items: center;
}

.fp-hero__content {
  width: 100%;
  max-width: 1152px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-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;
}

.fp-breadcrumb__link,
.fp-breadcrumb__current {
  color: #fafafa;
  text-decoration: none;
  white-space: nowrap;
}

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

.fp-breadcrumb__sep {
  width: 15px;
  height: 15px;
  color: #fafafa;
  flex-shrink: 0;
}

.fp-hero__title {
  margin: 0;
  color: #fafafa;
  font-family: "Inter", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.fp-page {
  background: #ffffff;
}

.fp-page__container {
  padding: 64px 0;
}

.fp-notice {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.fp-notice__icon-wrap,
.fp-summary-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fp-notice__content,
.fp-notice__actions,
.fp-summary__header,
.fp-sidebar__panel,
.fp-main,
.fp-panel__header {
  min-width: 0;
}

.fp-notice__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-notice__eyebrow,
.fp-summary__eyebrow,
.fp-panel__eyebrow,
.fp-sidebar__eyebrow {
  margin: 0;
  color: #b91c1c;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.fp-notice__title,
.fp-panel__title {
  margin: 0;
  color: #0a0a0a;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.fp-notice__text,
.fp-sidebar__text {
  margin: 0;
  color: #525252;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.fp-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.fp-notice__button,
.fp-sidebar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-notice__button {
  background: #172554;
  color: #fafafa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fp-notice__button:hover,
.fp-sidebar__button:hover {
  text-decoration: none;
}

.fp-notice__button:hover {
  background: #1e3a6e;
  color: #fafafa;
}

.fp-notice__button--secondary {
  background: #ffffff;
  color: #172554;
  border: 1px solid #d4d4d8;
}

.fp-notice__button--secondary:hover {
  background: #f8fafc;
  color: #172554;
}

.fp-summary {
  margin-top: 32px;
}

.fp-summary__header {
  max-width: 772px;
  margin: 0 auto 24px;
  text-align: center;
}

.fp-summary__title {
  margin: 8px 0 0;
  color: #0a0a0a;
  font-family: "Inter", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.fp-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fp-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.fp-card {
  width: calc(33.333% - 16px);
  min-width: 290px;
  box-sizing: border-box;
}

.fp-summary-card,
.fp-sidebar__panel,
.fp-panel {
  background: #f8fafc;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
}

.fp-summary-card {
  padding: 24px;
}

.fp-summary-card__title,
.fp-sidebar__title {
  margin: 16px 0 8px;
  color: #0a0a0a;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.fp-summary-card__text {
  margin: 0;
  color: #525252;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.fp-layout {
  display: grid;
  grid-template-columns: 305px minmax(0, 1fr);
  gap: 20px;
  margin-top: 32px;
  align-items: start;
}

.fp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fp-sidebar__panel {
  padding: 24px;
}

.fp-sidebar__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-sidebar__links a {
  color: #172554;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.fp-sidebar__links a:hover {
  text-decoration: underline;
}

.fp-sidebar__panel--cta {
  background: #172554;
  border-color: #172554;
}

.fp-sidebar__panel--cta .fp-sidebar__eyebrow,
.fp-sidebar__panel--cta .fp-sidebar__title,
.fp-sidebar__panel--cta .fp-sidebar__text {
  color: #fafafa;
}

.fp-sidebar__button {
  margin-top: 16px;
  background: #fafafa;
  color: #172554;
}

.fp-panel {
  padding: 24px;
}

.fp-panel__header {
  margin-bottom: 24px;
}

.fp-table-shell {
  overflow-x: auto;
}

.fp-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.fp-table__head {
  padding: 16px 20px;
  background: #f8fafc;
  color: #0a0a0a;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.fp-table__head--actions {
  text-align: center;
  width: 96px;
}

.fp-table__cell {
  padding: 20px;
  color: #525252;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
}

.fp-table tbody tr:last-child .fp-table__cell {
  border-bottom: 0;
}

.fp-table__cell--strong {
  color: #0a0a0a;
  font-weight: 500;
}

.fp-table__cell--actions {
  text-align: center;
}

.fp-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: #525252;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fp-icon-button:hover {
  background: #f8fafc;
  color: #0a0a0a;
}

@media (max-width: 1024px) {
  .fp-summary__grid,
  .fp-layout {
    grid-template-columns: 1fr;
  }

  .fp-card {
    width: calc(50% - 12px);
  }

  .fp-notice {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .fp-notice__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .fp-hero {
    min-height: 220px;
  }

  .fp-hero__container {
    min-height: 220px;
    padding: 40px 0;
  }

  .fp-hero__title,
  .fp-summary__title {
    font-size: 28px;
    line-height: 34px;
  }

  .fp-hero__container,
  .fp-page__container {
    max-width: calc(100% - 32px);
  }

  .fp-page__container {
    padding: 48px 0;
  }

  .fp-notice,
  .fp-summary-card,
  .fp-sidebar__panel,
  .fp-panel {
    padding: 20px;
  }

  .fp-table {
    min-width: 640px;
  }

  .fp-cards {
    gap: 16px;
  }

  .fp-card {
    width: 100%;
  }
}
