/* =========================================================
   LA SALLE ACADEMIC WEBSITE
   Shared stylesheet
   ========================================================= */


/* =========================================================
   GOOGLE FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

  /*
   * Replace this with the exact official La Salle Klein Blue
   * if you have the corporate HEX value.
   */
  --lasalle-blue: #0033A0;

  --lasalle-blue-light: #eef3fb;

  --text: #202124;
  --text-secondary: #5f6368;

  --background: #ffffff;
  --background-light: #f7f8fa;

  --border: #e4e6e8;

  --max-width: 1180px;

  --radius: 6px;
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  margin: 0;

  font-family: "Roboto", Arial, sans-serif;

  color: var(--text);
  background: var(--background);

  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}


img {
  max-width: 100%;
}


a {

  color: var(--lasalle-blue);

  text-decoration: none;
}


a:hover {
  text-decoration: underline;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

  color: var(--text);

  font-family: "Roboto", Arial, sans-serif;
}


h1 {

  margin-top: 0;

  font-size: clamp(2.2rem, 5vw, 3.8rem);

  line-height: 1.1;

  font-weight: 600;

  letter-spacing: -0.03em;
}


h2 {

  font-size: 28px;

  font-weight: 600;

  letter-spacing: -0.02em;
}


h3 {

  font-size: 21px;

  font-weight: 600;
}


h4 {

  font-size: 18px;

  font-weight: 600;
}


p {

  margin-top: 0;

  margin-bottom: 14px;
}


/* =========================================================
   HEADER
   ========================================================= */

header {

  width: 100%;

  background: white;

  border-bottom: 1px solid var(--border);

  position: sticky;

  top: 0;

  z-index: 1000;
}


.header-container {

  width: 100%;

  max-width: var(--max-width);

  margin: 0 auto;

  padding: 18px 30px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {

  display: flex;

  align-items: center;

  flex-shrink: 0;
}


.logo a {

  display: flex;

  align-items: center;
}


.logo img {

  width: 135px;

  height: auto;

  display: block;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav ul {

  margin: 0;

  padding: 0;

  list-style: none;

  display: flex;

  align-items: center;

  gap: 30px;
}


nav li {

  margin: 0;

  padding: 0;

  box-shadow: none;
}


nav a {

  position: relative;

  display: block;

  padding: 8px 0;

  color: var(--text);

  font-size: 14px;

  font-weight: 500;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  text-decoration: none;
}


nav a::after {

  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 0;

  height: 2px;

  background: var(--lasalle-blue);

  transition: width 0.2s ease;
}


nav a:hover {

  color: var(--lasalle-blue);

  text-decoration: none;
}


nav a:hover::after {

  width: 100%;
}


nav a.active {

  color: var(--lasalle-blue);

  font-weight: 600;
}


nav a.active::after {

  width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {

  display: none;

  border: 0;

  background: transparent;

  cursor: pointer;

  padding: 8px;
}


.menu-toggle span {

  display: block;

  width: 25px;

  height: 2px;

  margin: 5px 0;

  background: var(--text);

  transition: 0.2s ease;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

main {

  max-width: var(--max-width);

  margin: 0 auto;

  padding: 70px 30px 90px;
}


/* =========================================================
   PAGE HEADER
   Used by Projects, Publications, Teaching, Students...
   ========================================================= */

.page-header {

  margin-bottom: 45px;
}


.page-header h1 {

  margin-bottom: 10px;
}


.page-header p {

  max-width: 760px;

  color: var(--text-secondary);

  font-size: 17px;
}


/* =========================================================
   PUBLICATIONS PAGE
   ========================================================= */

.publications-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   PUBLICATION ICON
   ========================================================= */

.publication-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}


/* =========================================================
   CLICKABLE PUBLICATIONS
   ========================================================= */

.publication-clickable {
  cursor: pointer;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}


.publication-clickable:hover {
  transform: translateY(-2px);

  border-color: var(--lasalle-blue);

  box-shadow:
    0 6px 18px
    rgba(0, 0, 0, 0.07);
}


.publication-clickable h2 {
  transition:
    color 0.18s ease;
}


.publication-clickable:hover h2 {
  color: var(--lasalle-blue);
}


/* =========================================================
   EMPTY PUBLICATION LIST
   ========================================================= */

.empty-publications {
  padding: 40px 0;

  color: var(--text-secondary);

  text-align: center;
}


/* =========================================================
   SECRET CV TITLE
   ========================================================= */

.cv-secret-title {
  user-select: none;
}


/* =========================================================
   CV MODE
   ========================================================= */

.cv-mode-container {
  display: none;
}


body.cv-mode #normalPublications {
  display: none;
}


body.cv-mode .cv-mode-container {
  display: block;
}


/* =========================================================
   CV TOOLBAR
   ========================================================= */

.cv-toolbar {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px;

  margin-bottom: 40px;

  padding: 20px;

  background: var(--background-light);

  border-left:
    4px solid
    var(--lasalle-blue);
}


.cv-toolbar-label {
  width: 100%;

  margin-bottom: 3px;

  color: var(--lasalle-blue);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


/* =========================================================
   CV FILTERS
   ========================================================= */

.cv-filter-row {
  width: 100%;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}


.cv-filter {
  padding: 8px 12px;

  background: white;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  color: var(--text-secondary);

  font-family:
    "Roboto",
    Arial,
    sans-serif;

  font-size: 13px;

  font-weight: 500;

  cursor: pointer;

  box-shadow: none;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}


.cv-filter:hover {
  background: white;

  border-color: var(--lasalle-blue);

  color: var(--lasalle-blue);
}


.cv-filter.selected {
  background: var(--lasalle-blue);

  border-color: var(--lasalle-blue);

  color: white;
}


.cv-filter.selected:hover {
  background: var(--lasalle-blue);

  color: white;
}


/* =========================================================
   CV ACTIONS
   ========================================================= */

.cv-actions {
  width: 100%;

  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 9px;

  margin-top: 5px;
}


.cv-button {
  padding: 9px 15px;

  background: white;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  color: var(--text);

  font-family:
    "Roboto",
    Arial,
    sans-serif;

  font-size: 13px;

  font-weight: 500;

  cursor: pointer;

  box-shadow: none;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}


.cv-button:hover {
  background: white;

  border-color: var(--lasalle-blue);

  color: var(--lasalle-blue);
}


.cv-button.primary {
  background: var(--lasalle-blue);

  border-color: var(--lasalle-blue);

  color: white;
}


.cv-button.primary:hover {
  background: var(--lasalle-blue);

  color: white;
}


/* =========================================================
   CV YEAR
   ========================================================= */

.cv-year {
  margin: 45px 0 20px;

  color: var(--lasalle-blue);

  font-size: 27px;

  font-weight: 600;
}


.cv-year:first-child {
  margin-top: 0;
}


/* =========================================================
   CV REFERENCE
   ========================================================= */

.cv-reference {
  position: relative;

  margin-bottom: 16px;

  padding:
    18px 55px
    18px 20px;

  background: white;

  border:
    1px solid
    var(--border);

  border-left:
    3px solid
    var(--lasalle-blue);

  font-size: 15px;

  line-height: 1.65;
}


.cv-reference-text {
  margin: 0;
}


/* =========================================================
   INDIVIDUAL COPY
   ========================================================= */

.cv-copy {
  position: absolute;

  top: 12px;
  right: 12px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  padding: 0;

  background: white;

  border:
    1px solid
    var(--border);

  border-radius: 4px;

  color: var(--text-secondary);

  cursor: pointer;

  box-shadow: none;

  font-size: 15px;
}


.cv-copy:hover {
  background: white;

  border-color: var(--lasalle-blue);

  color: var(--lasalle-blue);
}


/* =========================================================
   CV EMPTY MESSAGE
   ========================================================= */

.cv-empty {
  padding: 45px 0;

  color: var(--text-secondary);

  text-align: center;
}


/* =========================================================
   COPY FEEDBACK
   ========================================================= */

.cv-copy-message {
  position: fixed;

  left: 50%;
  bottom: 30px;

  transform:
    translateX(-50%);

  padding: 10px 18px;

  background: var(--text);

  color: white;

  border-radius: 4px;

  font-size: 13px;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.2s ease;

  z-index: 2000;
}


.cv-copy-message.show {
  opacity: 1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .publications-container {
    padding: 0;
  }


  .cv-toolbar {
    padding: 16px;
  }


  .cv-filter-row {
    flex-direction: column;
  }


  .cv-filter {
    width: 100%;

    text-align: left;
  }


  .cv-actions {
    flex-direction: column;
  }


  .cv-actions .cv-button {
    width: 100%;
  }


  .cv-reference {
    padding:
      18px 48px
      18px 16px;
  }

}
/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {

  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 35px;
}


.section-heading h2 {

  margin: 0;
}


.section-heading::after {

  content: "";

  height: 2px;

  flex: 1;

  background: var(--border);
}


/* =========================================================
   HERO / PROFILE
   ========================================================= */

.hero {

  display: grid;

  grid-template-columns: 260px 1fr;

  gap: 60px;

  align-items: center;

  margin-bottom: 80px;
}


.profile-photo img {

  width: 260px;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;
}


.profile-info {

  max-width: 720px;
}


.profile-label {

  margin-bottom: 12px;

  color: var(--lasalle-blue);

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.profile-info h1 {

  margin: 0 0 12px;

  font-size: clamp(2.4rem, 5vw, 4rem);

  line-height: 1.05;
}


.profile-info h2 {

  margin: 0 0 25px;

  color: var(--text-secondary);

  font-size: 23px;

  line-height: 1.4;

  font-weight: 400;
}


.profile-info p {

  margin: 0 0 15px;

  max-width: 720px;

  font-size: 17px;
}


/* =========================================================
   RESEARCH TAGS
   ========================================================= */

.research-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 28px;
}


.research-tag {

  padding: 7px 13px;

  background: var(--background-light);

  border-left: 3px solid var(--lasalle-blue);

  font-size: 14px;

  font-weight: 500;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.content-section {

  margin-top: 70px;
}


/* =========================================================
   ACADEMIC BACKGROUND
   ========================================================= */

.academic-item {

  position: relative;

  padding: 0 0 32px 28px;

  border-left: 2px solid var(--border);
}


.academic-item:last-child {

  padding-bottom: 0;
}


.academic-item::before {

  content: "";

  position: absolute;

  left: -6px;

  top: 7px;

  width: 10px;

  height: 10px;

  background: var(--lasalle-blue);

  border-radius: 50%;
}


.academic-item h3 {

  margin: 0 0 6px;

  font-size: 19px;
}


.academic-meta {

  margin-bottom: 10px;

  color: var(--text-secondary);

  font-size: 15px;

  font-weight: 500;
}


/* =========================================================
   ACCREDITATIONS
   ========================================================= */

.accreditations {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 22px;
}


.accreditation {

  padding: 25px;

  background: var(--background-light);

  border-top: 4px solid var(--lasalle-blue);
}


.accreditation h3 {

  margin: 0 0 10px;

  font-size: 18px;
}


.accreditation p {

  margin: 0;

  color: var(--text-secondary);
}


/* =========================================================
   COLLABORATIONS
   ========================================================= */

.collaborations {

  padding: 0;

  margin: 0;

  list-style: none;
}


.collaborations li {

  position: relative;

  padding: 15px 0 15px 24px;

  border-bottom: 1px solid var(--border);

  box-shadow: none;
}


.collaborations li::before {

  content: "";

  position: absolute;

  left: 0;

  top: 27px;

  width: 7px;

  height: 7px;

  background: var(--lasalle-blue);
}


.collaborations li:last-child {

  border-bottom: none;
}


/* =========================================================
   FILTER BUTTONS
   Used by Projects / Publications
   ========================================================= */

.buttons {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 10px;

  margin: 30px 0 45px;
}


button,
.button {

  font-family: "Roboto", Arial, sans-serif;

  background: white;

  color: var(--text);

  border: 1px solid var(--border);

  padding: 10px 18px;

  border-radius: var(--radius);

  cursor: pointer;

  font-size: 14px;

  font-weight: 500;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}


button:hover,
.button:hover {

  background: var(--lasalle-blue-light);

  border-color: var(--lasalle-blue);

  color: var(--lasalle-blue);
}


button:active,
.button:active {

  transform: translateY(1px);
}


button.selected,
.button.selected,
.selected {

  background: var(--lasalle-blue);

  border-color: var(--lasalle-blue);

  color: white;
}


button.selected:hover,
.button.selected:hover,
.selected:hover {

  background: var(--lasalle-blue);

  color: white;
}


/* =========================================================
   PROJECTS / PUBLICATIONS CONTAINER
   ========================================================= */

.mybackground {

  list-style: none;

  padding: 0;

  width: 100%;

  margin: 0 auto;
}


.mybackground > ul {

  list-style: none;

  padding: 0;

  margin: 0;
}




/* =========================================================
   PROJECT / PUBLICATION ITEM
   ========================================================= */

.mybackground li {

  margin: 0 0 18px;

  padding: 24px;

  background: white;

  border: 1px solid var(--border);

  border-left: 4px solid var(--lasalle-blue);

  border-radius: var(--radius);

  box-shadow: none;

  opacity: 0;

  animation: fadeIn 0.5s ease-in-out forwards;
}


.mybackground li h2 {

  margin: 0 0 8px;

  font-size: 19px;

  line-height: 1.4;
}


.mybackground li p {

  margin: 0;

  color: var(--text-secondary);

  font-size: 15px;

  line-height: 1.6;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

}

.publications-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* =========================================================
   PROJECT TYPE BOX
   ========================================================= */

.box {

  display: flex;

  align-items: flex-start;

  gap: 20px;
}


/* =========================================================
   ICONS
   ========================================================= */

.icon {

  width: 42px;

  height: 42px;

  object-fit: contain;

  flex-shrink: 0;

  margin: 2px 0 0;
}


/* =========================================================
   PROJECT / PUBLICATION ID
   ========================================================= */

.pubId {

  margin-top: 6px;

  color: var(--text-secondary);

  font-size: 12px;

  text-align: center;

  font-weight: 500;
}


/* =========================================================
   YEAR LABEL
   Supports the custom <li_year> tag used in old code
   ========================================================= */

li_year,
.yearItem {

  display: block;

  margin: 45px 0 18px;

  padding: 0;

  color: var(--lasalle-blue);

  font-size: 26px;

  font-weight: 600;

  line-height: 1;

  opacity: 0;

  animation: fadeIn 0.5s ease-in-out forwards;
}


li_year:first-child,
.yearItem:first-child {

  margin-top: 0;
}


/* =========================================================
   PROJECT TYPE DIFFERENTIATION
   ========================================================= */

.private_proj {

  border-left-color: #606060 !important;
}


.pub_proj {

  border-left-color: var(--lasalle-blue) !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.mybackground li.hide,
.yearItem.hide {

  animation: fadeOut 0.35s ease-in-out forwards;
}


@keyframes fadeIn {

  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes fadeOut {

  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }

}

/* =========================================================
   STUDENTS
   ========================================================= */

/* =========================================================
   STUDENTS PAGE
   ========================================================= */

.students-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   PhD SECTION
   ========================================================= */

.phd-section {
  margin-top: 55px;
}


.phd-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.phd-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;

  align-items: start;

  padding: 26px 28px;

  background: var(--background-light);

  border-left: 5px solid var(--lasalle-blue);

  border-radius: var(--radius);
}


.phd-card-badge {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;

  background: var(--lasalle-blue);

  color: white;

  font-size: 17px;

  font-weight: 700;

  letter-spacing: 0.03em;
}


.phd-card-content {
  min-width: 0;
}


.phd-card-meta {
  margin-bottom: 6px;

  color: var(--lasalle-blue);

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}


.phd-card h3 {
  margin: 0 0 10px;

  font-size: 21px;

  line-height: 1.3;
}


.phd-title {
  margin-bottom: 10px;

  color: var(--text);

  font-size: 16px;

  line-height: 1.55;
}


.phd-supervisors {
  margin-bottom: 0;

  color: var(--text-secondary);

  font-size: 14px;
}


.no-phd {
  color: var(--text-secondary);
}


/* =========================================================
   THESIS LIST
   ========================================================= */

.student-content {
  flex: 1;
}


.student-content h2 {
  margin-top: 0;
  margin-bottom: 8px;
}


.student-thesis-title {
  margin-bottom: 7px !important;
}


/* TFM */

.student-tfm {
  border-left-color: #5f6368 !important;
}


/* TFG */

.student-tfg {
  border-left-color: #a0a4a8 !important;
}


/* =========================================================
   TFG / TFM BADGE
   ========================================================= */

.student-type-badge {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  background: var(--background-light);

  border: 1px solid var(--border);

  color: var(--lasalle-blue);

  font-size: 12px;

  font-weight: 700;
}


.publication-icon {
  display: flex;

  flex-direction: column;

  align-items: center;

  flex-shrink: 0;
}


/* =========================================================
   THESIS FILTERS
   ========================================================= */

.thesis-filters {
  justify-content: flex-start;

  margin-top: 0;

  margin-bottom: 35px;
}

/* =========================================================
   TEACHING PAGE
   ========================================================= */

.teaching-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   TEACHING GRID
   ========================================================= */

.teaching-grid {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;
}


/* =========================================================
   COURSE CARD
   ========================================================= */

.teaching-card {

  position: relative;

  display: flex;

  flex-direction: column;

  min-height: 190px;

  padding: 26px;

  background: white;

  border: 1px solid var(--border);

  border-top: 4px solid var(--lasalle-blue);

  border-radius: var(--radius);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


.teaching-card:hover {

  transform:
    translateY(-3px);

  border-color:
    rgba(0, 51, 160, 0.25);

  box-shadow:
    0 8px 24px
    rgba(0, 0, 0, 0.07);
}


.teaching-card h3 {

  margin:
    22px 0 10px;

  font-size:
    21px;

  line-height:
    1.35;
}


.teaching-card p {

  margin: 0;

  color:
    var(--text-secondary);

  font-size:
    15px;

  line-height:
    1.55;
}

/* =========================================================
   ACADEMIC COORDINATION
   ========================================================= */

.coordination-card {
  padding: 28px 30px;

  background: var(--background-light);

  border-left: 5px solid var(--lasalle-blue);

  border-radius: var(--radius);
}

.coordination-label {
  margin-bottom: 8px;

  color: var(--lasalle-blue);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.coordination-card h3 {
  margin: 0 0 8px;

  font-size: 22px;

  line-height: 1.35;
}

.coordination-role {
  margin-bottom: 5px;

  font-weight: 600;
}

.coordination-card p:last-child {
  margin-bottom: 0;

  color: var(--text-secondary);
}


/* =========================================================
   TOP ROW
   ========================================================= */

.teaching-card-top {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}


/* =========================================================
   LEVEL BADGE
   ========================================================= */

.teaching-level {

  display: inline-flex;

  align-items: center;

  padding:
    5px 9px;

  background:
    var(--lasalle-blue-light);

  color:
    var(--lasalle-blue);

  font-size:
    11px;

  font-weight:
    700;

  letter-spacing:
    0.06em;

  text-transform:
    uppercase;
}


.teaching-level.master {

  background:
    var(--lasalle-blue);

  color:
    white;
}


.teaching-level.bachelor {

  background:
    var(--lasalle-blue-light);

  color:
    var(--lasalle-blue);
}


/* =========================================================
   PERIOD
   ========================================================= */

.teaching-period {

  color:
    var(--text-secondary);

  font-size:
    13px;

  font-weight:
    500;

  white-space:
    nowrap;
}


/* =========================================================
   CURRENT COURSES
   ========================================================= */

.teaching-current {

  background:
    linear-gradient(
      180deg,
      rgba(0, 51, 160, 0.025),
      white 45%
    );
}


/* =========================================================
   PREVIOUS COURSES
   ========================================================= */

.teaching-grid-past {

  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}


.teaching-past {

  border-top-color:
    #a7abb0;
}


.teaching-past:hover {

  border-color:
    #a7abb0;
}


.teaching-past h3 {

  font-size:
    19px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

  .teaching-grid,
  .teaching-grid-past {

    grid-template-columns:
      1fr;

  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .teaching-container {

    padding: 0;

  }


  .teaching-card {

    min-height: 0;

    padding: 22px;

  }


  .teaching-card h3 {

    margin-top: 18px;

    font-size: 19px;

  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .teaching-card-top {

    align-items:
      flex-start;

    flex-direction:
      column;

    gap: 8px;

  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .students-container {
    padding: 0;
  }


  .phd-card {
    grid-template-columns: 1fr;

    gap: 16px;

    padding: 22px;
  }


  .phd-card-badge {
    width: 58px;
    height: 58px;

    font-size: 15px;
  }


  .thesis-filters {
    justify-content: stretch;
  }

}


/* =========================================================
   GENERIC CARDS
   Useful for Teaching / Students / Projects
   ========================================================= */

.card-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}


.card {

  padding: 26px;

  background: var(--background-light);

  border-top: 4px solid var(--lasalle-blue);
}


.card h2,
.card h3 {

  margin-top: 0;
}


.card p:last-child {

  margin-bottom: 0;
}


/* =========================================================
   GENERIC LIST
   ========================================================= */

.clean-list {

  list-style: none;

  padding: 0;

  margin: 0;
}


.clean-list li {

  padding: 15px 0;

  border-bottom: 1px solid var(--border);

  box-shadow: none;
}


.clean-list li:last-child {

  border-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

  background: var(--background-light);

  border-top: 1px solid var(--border);
}


.footer-container {

  max-width: var(--max-width);

  margin: 0 auto;

  padding: 30px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 30px;

  color: var(--text-secondary);

  font-size: 14px;
}


.footer-container p {

  margin: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .header-container {

    padding: 15px 22px;
  }


  .logo img {

    width: 115px;
  }


  nav ul {

    gap: 18px;
  }


  nav a {

    font-size: 13px;
  }


  main {

    padding: 50px 25px 70px;
  }


  .hero {

    grid-template-columns: 210px 1fr;

    gap: 40px;
  }


  .profile-photo img {

    width: 210px;
  }


  .card-grid {

    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  /* HEADER */

  .header-container {

    position: relative;

    padding: 14px 20px;
  }


  .logo img {

    width: 105px;
  }


  .menu-toggle {

    display: block;
  }


  nav {

    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    max-height: 0;

    overflow: hidden;

    background: white;

    border-bottom: 1px solid var(--border);

    transition: max-height 0.25s ease;
  }


  nav.open {

    max-height: 420px;
  }


  nav ul {

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 12px 20px 20px;
  }


  nav li {

    border-bottom: 1px solid var(--border);
  }


  nav li:last-child {

    border-bottom: none;
  }


  nav a {

    padding: 13px 4px;

    font-size: 14px;
  }


  nav a::after {

    display: none;
  }


  /* MAIN */

  main {

    padding: 40px 20px 60px;
  }


  /* HERO */

  .hero {

    grid-template-columns: 1fr;

    gap: 30px;

    margin-bottom: 60px;
  }


  .profile-photo {

    display: flex;

    justify-content: center;
  }


  .profile-photo img {

    width: 190px;

    height: 190px;
  }


  .profile-info h1 {

    font-size: 36px;
  }


  .profile-info h2 {

    font-size: 20px;
  }


  .profile-info p {

    font-size: 16px;
  }


  /* CONTENT */

  .content-section {

    margin-top: 55px;
  }


  .section-heading h2 {

    font-size: 24px;
  }


  /* ACCREDITATIONS */

  .accreditations {

    grid-template-columns: 1fr;
  }


  /* PROJECTS */

  .buttons {

    justify-content: flex-start;

    margin-bottom: 30px;
  }


  button,
  .button {

    flex: 1 1 auto;

    min-width: 130px;
  }


  .mybackground li {

    padding: 18px;
  }


  .box {

    gap: 14px;
  }


  .icon {

    width: 34px;

    height: 34px;
  }


  li_year,
  .yearItem {

    margin-top: 35px;

    font-size: 23px;
  }


  /* FOOTER */

  .footer-container {

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;

    padding: 25px 20px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .profile-info h1 {

    font-size: 31px;
  }


  .profile-photo img {

    width: 165px;

    height: 165px;
  }


  .mybackground li {

    padding: 16px;
  }


  .box {

    flex-direction: column;
  }


  .icon {

    width: 32px;

    height: 32px;
  }

}