/* Variantes aisladas para reproducir el Portal de Alumnos con componentes
 * editables de Página flexible. No altera los estilos institucionales base. */
[data-tabs-variant="students_tabs"] .tabs-panels {
  width: 100%;
  max-width: none;
}

[data-tabs-variant="students_tabs"] [data-component="block-tab"] > .layout,
[data-tabs-variant="students_tabs"] [data-component="block-tab"] > .layout > .layout__region {
  width: 100%;
}

[data-tabs-variant="students_tabs"] .layout-section--grid-embedded {
  width: 100%;
}

[data-tabs-variant="students_tabs"] [data-component="block-heading"] {
  margin-bottom: 4rem;
  text-align: center;
}

[data-section-variant="students_content_section"] [data-component="block-heading"],
[data-section-variant="students_content_narrow"] [data-component="block-heading"],
[data-section-variant="students_content_compact"] [data-component="block-heading"] {
  margin-bottom: 4rem;
  text-align: center;
}

[data-section-variant="students_content_regular"] [data-component="block-heading"],
[data-section-variant="students_content_wide"] [data-component="block-heading"],
[data-section-variant="students_directory_section"] [data-component="block-heading"],
[data-section-variant="students_selection_route"] [data-component="block-heading"],
[data-section-variant="students_selection_videos"] [data-component="block-heading"],
[data-section-variant="students_selection_docs"] [data-component="block-heading"] {
  margin-bottom: 4rem;
  text-align: center;
}

[data-section-variant="students_selection_route"] [data-component="block-heading"] { margin-bottom: 3rem; }
[data-section-variant="students_selection_videos"] [data-component="block-heading"],
[data-section-variant="students_selection_docs"] [data-component="block-heading"] { margin-bottom: 3.5rem; }

[data-section-variant="students_content_regular"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_content_wide"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_directory_section"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_selection_route"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_selection_videos"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_selection_docs"] [data-component="block-heading"] .component-heading__description {
  max-width: 42rem;
  margin-inline: auto;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

[data-section-variant="students_content_regular"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_content_wide"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_directory_section"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_selection_route"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_selection_videos"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_selection_docs"] [data-component="block-heading"] .component-heading__title {
  color: #111827;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

[data-section-variant="students_content_regular"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_content_wide"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_directory_section"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_selection_route"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_selection_videos"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_selection_docs"] [data-component="block-heading"] .component-heading__title::after {
  margin-inline: auto;
  background: #FF5900;
}

[data-section-variant="students_welcome_section"] > div {
  text-align: center;
}

[data-rich-text-variant="students_welcome_one"] p,
[data-rich-text-variant="students_welcome_two"] p {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.625;
}

[data-rich-text-variant="students_welcome_one"] p { margin-bottom: 1rem; }
[data-rich-text-variant="students_welcome_two"] p { margin-bottom: 1.5rem; }

[data-rich-text-variant="students_welcome_closing"] p {
  color: #FF5900;
  font-family: "Zilla Slab", serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2rem;
}

[data-section-variant="students_welcome_section"] [data-heading-variant="students_subheading"] {
  margin-top: 2.5rem;
}

[data-grid-variant="students_school_grid"] > .layout > .layout__region {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
}

[data-link-variant="students_school"] { width: 100%; }

[data-grid-variant="students_planning_grid"] {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
}

[data-grid-variant="students_planning_grid"] > .layout > .layout__region {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.students-program-grid > div > .layout > .layout__region {
  gap: 2rem;
}

[data-grid-variant="students_video_grid"] > .layout > .layout__region,
[data-grid-variant="students_docs_grid"] > .layout > .layout__region {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

[data-grid-variant="students_degree_grid"] {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.layout-section[data-component="section-grid"][data-grid-variant="students_degree_grid"] > .layout > .layout__region {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

[data-grid-variant="students_video_grid"] > .layout > .layout__region { gap: 2rem; }
[data-grid-variant="students_docs_grid"] > .layout > .layout__region { gap: 1.5rem; }

[data-section-variant="students_content_wide"] [data-grid-variant="embedded"] > .layout > .layout__region {
  gap: 1.5rem;
}

[data-section-variant="students_content_wide"] [data-heading-variant="students_subheading"] {
  margin-top: 2.5rem;
  text-align: center;
}

[data-section-variant="students_content_wide"] [data-heading-variant="students_subheading"] + [data-grid-variant="embedded"] > .layout > .layout__region {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: .75rem;
}

[data-section-variant="students_content_section"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_content_narrow"] [data-component="block-heading"] .component-heading__description,
[data-section-variant="students_content_compact"] [data-component="block-heading"] .component-heading__description {
  max-width: 42rem;
  margin-inline: auto;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

[data-section-variant="students_content_section"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_content_narrow"] [data-component="block-heading"] .component-heading__title,
[data-section-variant="students_content_compact"] [data-component="block-heading"] .component-heading__title {
  color: #111827;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

[data-section-variant="students_content_section"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_content_narrow"] [data-component="block-heading"] .component-heading__title::after,
[data-section-variant="students_content_compact"] [data-component="block-heading"] .component-heading__title::after {
  margin-inline: auto;
  background: #FF5900;
}

[data-section-variant="students_content_section"] .layout-section--grid-embedded > .layout > .layout__region {
  gap: 1.5rem;
}

[data-grid-variant="students_calendar_grid"] > .layout > .layout__region {
  gap: 2rem;
}

[data-button-group-variant="students_links"] .material-symbols-outlined {
  font-size: 20px;
}

[data-section-variant="students_content_compact"] [data-feature-variant="students_requirement"]:not(:last-of-type)::after {
  position: absolute;
  top: 3rem;
  bottom: 0;
  left: 21px;
  width: 2px;
  content: "";
  background: #fed7aa;
}

[data-section-variant="students_content_compact"] [data-feature-variant="students_requirement"]:last-of-type {
  padding-bottom: .5rem;
}

[data-section-variant="students_content_compact"] [data-feature-variant="students_requirement"] + [data-feature-variant="students_requirement"] {
  margin-top: .5rem;
}

[data-tabs-variant="students_tabs"] [data-component="block-heading"] .component-heading__description {
  max-width: 42rem;
  margin-inline: auto;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

[data-tabs-variant="students_tabs"] [data-component="block-heading"] .component-heading__title {
  color: #111827;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

[data-tabs-variant="students_tabs"] [data-component="block-heading"] .component-heading__title::after {
  margin-inline: auto;
  background: #FF5900;
}

[data-tabs-variant="students_tabs"] [data-component="block-simple-card"] {
  height: 100%;
  margin-bottom: 0;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
}

[data-tabs-variant="students_tabs"] [data-component="block-simple-card"] > .content-block--simple-card__content > .layout,
[data-tabs-variant="students_tabs"] [data-component="block-simple-card"] > .content-block--simple-card__content > .layout > .layout__region {
  display: flex;
  flex-direction: column;
}

[data-tabs-variant="students_tabs"] [data-link-variant="students_legacy"] {
  justify-self: center;
}

@media (max-width: 767px) {
  [data-hero-variant="microsite"] .relative.z-10 {
    min-height: 50vh;
  }
}

@media (min-width: 768px) {
  [data-section-variant="students_content_section"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_content_narrow"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_content_compact"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_content_regular"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_content_wide"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_directory_section"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_selection_route"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_selection_videos"] [data-component="block-heading"] .component-heading__title,
  [data-section-variant="students_selection_docs"] [data-component="block-heading"] .component-heading__title,
  [data-tabs-variant="students_tabs"] [data-component="block-heading"] .component-heading__title {
    font-size: 3rem;
    line-height: 1;
  }

  [data-grid-variant="students_school_grid"] > .layout > .layout__region {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-grid-variant="students_planning_grid"] > .layout > .layout__region {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-grid-variant="students_video_grid"] > .layout > .layout__region,
  [data-grid-variant="students_docs_grid"] > .layout > .layout__region {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-section[data-component="section-grid"][data-grid-variant="students_degree_grid"] > .layout > .layout__region {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  [data-grid-variant="students_video_grid"] [data-video-variant="students_support_video"]:last-child {
    grid-column: span 2 / span 2;
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  [data-grid-variant="students_school_grid"] > .layout > .layout__region {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
