.campus-resources-page {max-width:68rem;margin:auto;padding:clamp(1rem,4vw,2rem);color:#18342b}
.campus-resources-page h1 {text-align:center;font:500 clamp(2rem,5vw,3.5rem)/1.1 Georgia,serif}
.resource-directory-section,.room-resource-links > section {background:#fff;border:1px solid var(--campus-border,#d9dcd1);border-radius:.75rem;padding:clamp(.85rem,3vw,1.4rem);margin:1rem 0;min-width:0}
.resource-directory-section,.room-resource-links > section,#imagenes-y-atlas {scroll-margin-top:7rem}
.resource-directory-section summary {min-height:44px;padding:.6rem .15rem;cursor:pointer;font-weight:650}
.campus-resources-page li,.room-resource-links li {margin:.55rem 0;line-height:1.5}
.resources-muted {color:#53655b}
.room-resource-links .campus-action,.campus-resources-page .campus-action {min-height:44px;white-space:normal;text-align:center;max-width:100%}

/* Accesos a los recursos, compartidos por el aula y el directorio. */
.student .resource-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: .65rem;
  margin-block: 1rem;
}
.student a.resource-shortcut {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .38rem;
  min-inline-size: 0;
  min-block-size: 44px;
  padding: .75rem;
  border: 1px solid #cbdad0;
  border-radius: 14px;
  background: #fff;
  color: #153e32;
  box-shadow: 0 2px 5px #153e320b;
  text-align: start;
  text-decoration: none;
  line-height: 1.25;
}
.student a.resource-shortcut::before { content: none; }
.student a.resource-shortcut img { width: 32px; height: 32px; object-fit: contain; }
.student a.resource-shortcut strong { font-size: 1rem; }
.student .resource-shortcut-description { color: #435951; font-size: .875rem; font-weight: 400; }
.student a.resource-shortcut-podcast { background: #eff7f0; border-color: #90b49f; }
.student a.resource-shortcut:hover { background: #eaf4ed; border-color: #6a907b; }
.student a.resource-shortcut:active { background: #dcece2; }
.student a.resource-shortcut:focus-visible { outline: 3px solid #153e32; outline-offset: 2px; }
@media (max-width: 768px) {
  .student .resource-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .student a.resource-shortcut { overflow-wrap: anywhere; }
}

.student .student-header a.campus-server-channel { display: none; }
@media (max-width: 850px) {
  /* La marca cede espacio, mientras iVoox y Menú mantienen su anchura. */
  .student .student-header { column-gap: 6px; }
  .student .student-header .student-brand {
    flex: 1 1 auto;
    min-inline-size: 0;
    gap: 6px;
    font-size: clamp(.75rem, .7rem + .45vw, .93rem);
    line-height: 1.25;
    letter-spacing: .025em;
  }
  .student .student-brand .campus-brand-mark {
    flex: 0 0 30px;
    inline-size: 30px;
    block-size: 30px;
    font-size: 1.15rem;
  }
  .student .student-header .student-header-links { flex: 0 0 auto; display: flex; margin-inline-start: auto; }
  .student .student-header-links > :not(.student-channel-link) { display: none; }
  .student .student-header .student-header-links .student-channel-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
    min-inline-size: 0;
    min-block-size: 44px;
    padding: 4px 6px;
    font-size: .8125rem;
    line-height: 1;
    white-space: nowrap;
    --ivoox-mark-size: 19px;
  }
  .student .student-channel-link :is(.campus-channel-prefix,svg) { display: none; }
  .student .student-header .student-menu {
    flex: 0 0 auto;
    min-block-size: 44px;
    padding-inline: 6px;
    gap: 4px;
    font-size: .8125rem;
    white-space: nowrap;
  }
}
@media (max-width: 390px) {
  .student .student-brand small { display: none; }
}

.resource-return-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-block: .5rem 1rem;
}
.resource-return-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}
