.pagina-clase .contenido-clase {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%; }

.pagina-clase .player-section {
  --player-max-height: min(560px, 64sdvh);
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: var(--player-max-height);
  overflow: hidden;
  background-color: black; }
  @media (min-width: 995px) {
    .pagina-clase .player-section {
      --player-max-height: calc(
                100dvh - var(--page-nav-height) - var(--footer-height) - var(--page-header-height) - var(--player-info-peek)
            );
      min-height: 240px; } }
  .pagina-clase .player-section > * {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0; }

.pagina-clase .video__youtube {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0; }

.pagina-clase .video__player {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100% !important;
  overflow: hidden;
  background-color: black; }
  .pagina-clase .video__player > video[slot="media"] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto; }

.pagina-clase .info-clase {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  padding: 8px 0 16px;
  background-color: var(--color-secondary); }

.video__player:fullscreen,
.video__player:-webkit-full-screen,
.video__player:-moz-full-screen,
.video__player[media-is-fullscreen] {
  width: 100% !important;
  max-width: none;
  max-height: none !important;
  height: 100% !important;
  aspect-ratio: auto; }

.titulo-clase {
  flex: 1 0 0;
  align-self: anchor-center;
  min-width: 200px;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  margin: 0; }

.fecha-clase {
  display: block;
  font-size: 16px;
  margin: 0;
  font-style: normal;
  padding: 0;
  font-weight: 400;
  line-height: normal;
  color: var(--color-primary); }

.metadatos-clase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box; }

.tarjeta-metadatos-clase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #eaeaea;
  border-radius: 21px;
  box-sizing: border-box; }

.tarjeta-metadatos-clase--colapsable {
  color: var(--color-primary);
  cursor: pointer; }
  .tarjeta-metadatos-clase--colapsable:not(.tarjeta-metadatos-clase--expandida):hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light); }
  .tarjeta-metadatos-clase--colapsable:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px; }

.tarjeta-metadatos-clase--expandida {
  color: inherit;
  cursor: default; }

.clase-metadata {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%; }

.clase-metadata-resumen {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap; }

.clase-metadata-accion {
  color: inherit; }

.clase-metadata-detalle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%; }

.clase-metadata-detalle[hidden] {
  display: none; }

.descripcion-clase {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text); }
  .descripcion-clase p {
    margin: 0;
    white-space: pre-line; }

.docentes-clase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  line-height: normal;
  color: var(--color-text); }

.docentes-clase-titulo {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: normal; }

.docentes-clase-valor {
  margin: 0;
  min-width: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: normal; }

.institutos-clase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  line-height: normal;
  color: var(--color-text); }

.institutos-clase-titulo {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: normal; }

.institutos-clase-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%; }

.institutos-clase-valor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0;
  padding-block: 8px;
  padding-inline: 10px;
  border: 1px solid #eaeaea;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 1; }

.clase-metadata-ocultar {
  display: flex;
  align-items: center;
  width: 100%; }

.clase-metadata-ocultar[hidden] {
  display: none; }

.clase-metadata-ocultar-boton {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  font-synthesis: none;
  line-height: normal;
  text-align: left;
  cursor: pointer; }
  .clase-metadata-ocultar-boton:hover {
    font-weight: 700; }
  .clase-metadata-ocultar-boton:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px; }

.acciones-clase {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 16px; }
  .acciones-clase a {
    text-decoration: none; }

.encabezado-clase {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 8px;
  row-gap: 8px;
  padding: 0 16px; }

.boton-accion-clase {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background-color: var(--color-secondary);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  appearance: none; }
  .boton-accion-clase:hover {
    background-color: var(--color-primary-light); }
  .boton-accion-clase:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px; }

.boton-accion-clase__icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0; }

.boton-accion-clase__icon--compartir {
  width: 20px;
  height: 20px; }

.boton-accion-clase__icon--descargar {
  width: 19px;
  height: 20px; }

.dialog-container {
  display: grid;
  grid-template-areas: "header" "content";
  gap: 1.5rem; }

.share-header {
  grid-area: header;
  display: flex;
  width: 300px;
  align-items: center; }
  .share-header div {
    margin-left: 0;
    margin-right: auto;
    font-weight: bold; }
  .share-header span {
    cursor: pointer;
    margin-right: 0;
    margin-left: auto;
    font-size: 16px; }

.share-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 1rem; }
  .share-content .time-select {
    display: grid;
    grid-template-areas: "checkbox" "field";
    gap: .5rem; }
    .share-content .time-select label {
      grid-area: checkbox; }
    .share-content .time-select .time {
      grid-area: field;
      height: 30px; }
  .share-content .url {
    display: flex;
    flex-direction: row; }
    .share-content .url input {
      flex-grow: 1; }
    .share-content .url .url__icon {
      background-color: var(--color-primary);
      color: var(--color-secondary);
      border-radius: 0 5px 5px 0;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      width: auto;
      height: 32px; }
      .share-content .url .url__icon svg {
        margin: 0 8px; }
      .share-content .url .url__icon:hover {
        cursor: pointer; }
