/* ===================================== */
/* VARIABLES & GLOBAL SETTINGS           */
/* ===================================== */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --accent: #C99A22;
  --panel: rgba(255, 255, 255, 0.82);
  --page-bar-height: 170px;
  --page-title-size: 46px;
  --section-bar-height: 150px;
  --section-title-size: 40px;
  --section-title-size-mobile: 32px;
  --section-title-gap: 1.7rem;
  --section-header-gap: 3.5rem;
  --section-first-gap: 4.5rem;
  --section-light-end-gap: 8rem;
  --section-dark-end-gap: 6rem;
  --section-next-top-gap: 7rem;
  --section-overlap: 50px;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "DINLight";
  src: url("../fonts/DINNeuzeitGroteskLT-Light.woff2") format("woff2");
}

@font-face {
  font-family: "DINBoldCond";
  src: url("../fonts/DINNeuzeitGroteskLT-BoldCond.woff2") format("woff2");
}

body {
  margin: 0;
  font-family: "DINLight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}


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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.brand {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: "DINLight", sans-serif;
  font-weight: 300;
}

.site-nav a,
.submenu-toggle {
  color: white;
  text-decoration: none;
  position: relative;
}

.site-nav > .nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.site-nav > .nav-item > a:hover::after {
  width: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.submenu-toggle {
  border: 0;
  padding: 0 0 0 0.25rem;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  min-width: 130px;
  padding: 0.45rem 0;
  background: rgba(44, 44, 44, 0.98);
  border-top: 2px solid var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.35rem);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.8rem;
}

.nav-submenu a {
  display: block;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--accent);
}

.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}


/* ===================================== */
/* HOME HERO BACKGROUND                  */
/* ===================================== */

.home-wix {
  min-height: 75vh;
  background: #ffffff url("../img/home/backgroundhome2.jpg") center bottom / cover no-repeat;
  position: relative;
}


/* ===================================== */
/* HOME HERO IDENTITY BLOCK              */
/* ===================================== */

.home-identity {
  position: absolute;
  top: 145px;
  left: 50%;
  display: flex;
  align-items: flex-start;
  gap: 1.7rem;
}

.vertical-bar {
  width: 5px;
  height: 190px;
  background: var(--accent);
  margin-top: -110px;
}

.identity-text {
  max-width: 390px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.identity-text h1 {
  font-size: 91px;
  white-space: nowrap;
  line-height: 1.05;
  margin: -35px 0 0.5rem;
  font-family: "DINBoldCond", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: white;
}

.identity-text h2 {
  font-size: 38px;
  white-space: nowrap;
  margin: 0 0 1.8rem;
  font-family: "DINBoldCond", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: white;
}

.identity-text p {
  margin: 0;
}

.identity-text a {
  text-decoration: none;
}


/* ===================================== */
/* AFFILIATION BLOCK                     */
/* ===================================== */

.affiliation-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.affiliation-logo img {
  width: 100px;
  height: auto;
  display: block;
}

.affiliation-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.affiliation-name {
  font-size: 28px;
  white-space: nowrap;
  color: white;
  margin: 0;
  line-height: 1;
  font-family: "DINBoldCond", sans-serif;
  font-weight: 400;
}

.affiliation-mail {
  margin-top: 12px;
  line-height: 1;
}

.affiliation-mail a {
  font-family: "DINLight", sans-serif;
  font-size: 16px;
  white-space: nowrap;
  color: white;
  font-weight: 400;
  text-decoration: none;
}


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

.profile-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-buttons img {
  width: 42px;
  height: 42px;
}


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

.nav-toggle {
  display: none;
}

@media (max-width: 820px) {
  .site-nav {
    gap: 1rem;
    font-size: 0.72rem;
  }

  .home-identity {
    position: static;
    padding: 8rem 7vw 2rem;
  }

  .identity-text {
    max-width: 100%;
  }

}


/* ===================================== */
/* BIO SECTION                           */
/* ===================================== */

.bio-intro {
  background: #ffffff;
  padding: calc(var(--section-first-gap) + 5rem) 0 7rem;
  color: #222222;
}

.bio-split {
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
}

.bio-left {
  text-align: right;
  padding-right: 1.7rem;
}

.bio-right {
  text-align: left;
  padding-left: 1.7rem;
}

.bio-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-left: 0;
}

.bio-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.bio-title h2 {
  margin: 0 0 0 var(--section-title-gap);
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #222222;
}

@media (max-width: 820px) {
  .bio-title h2 {
    font-size: var(--section-title-size-mobile);
  }
}

.bio-text-left,
.bio-text-right {
  font-family: "DINLight", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #444444;
  text-align: justify;
  max-width: 460px;
}

.bio-text-left p,
.bio-text-right p {
  margin-bottom: 1rem;
}

.bio-text-left {
  margin-left: auto;
  padding-right: 2rem;
  margin-top: 2rem;
}

.bio-text-right {
  margin-right: auto;
  padding-left: 2rem;
  margin-top: 50px;
}

.accent-link {
  color: var(--accent);
  text-decoration: none;
  font-family: "DINLight", sans-serif;
}

.accent-link:hover {
  text-decoration: underline;
}

.bio-image-left {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 3rem auto 0;
}

.bio-image-right {
  display: block;
  width: 50%;
  max-width: 350px;
  margin: 2rem auto 2.5rem auto;
}

.travel-map-thumb {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  width: 96vw;
  height: 96vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 3rem;
  text-decoration: none;
  line-height: 1;
}

.dante-quote {
  max-width: 400px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.dante-quote p {
  font-family: "DINLight", sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: #444444;
  margin: 0;
}

.dante-quote span {
  display: block;
  margin-top: 0.8rem;
  font-family: "DINLight", sans-serif;
  font-size: 10px;
  color: var(--accent);
}

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

.site-footer {
  background: rgba(44,44,44,0.95);
  color: white;
  font-family: "DINLight", sans-serif;
  padding: 0.9rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
}

.footer-quote {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 100;
}

.footer-copyright {
  grid-column: 3;
  text-align: right;
  font-size: 12px;
  font-weight: 100;
}

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

.publications-page {
  width: min(900px, 86vw);
  margin: 0 auto;
  padding: 0rem 0 6rem;
}

.pubs-year {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-family: "DINBoldCond", sans-serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--accent);
}

.pub-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.pub-title {
  margin: 0;
  font-family: "DINBoldCond", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #222222;
}

.pub-authors {
  margin-top: 0.25rem;
  font-family: "DINLight", sans-serif;
  font-size: 15px;
  color: #444444;
}

.pub-journal {
  margin-top: 0.15rem;
  font-family: "DINLight", sans-serif;
  font-size: 15px;
  font-style: italic;
  color: #666666;
}

.pub-actions {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.pub-actions a {
  min-width: 80px;
  height: 30px;

  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);

  font-family: "DINLight", sans-serif;
  font-size: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.pub-actions button {
  min-width: 80px;
  height: 30px;

  border: 1px solid rgb(44,44,44);
  background: transparent;
  color: rgb(44,44,44);

  font-family: "DINLight", sans-serif;
  font-size: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.pub-actions a:hover {
  background: var(--accent);
  color: white;
}

.pub-actions button:hover {
  background: rgb(44,44,44);
  color: white;
}

.pub-status {
  font-size: 13px;
  color: #777777;
}

.publications-intro {
  width: min(650px, calc(50% - var(--section-title-gap) - 7vw));
  margin: -2rem 7vw 2rem calc(50% + var(--section-title-gap));

  font-family: "DINLight", sans-serif;
  font-size: 18px;
  color: #555555;
  text-align: justify;
}

@media (max-width: 820px) {
  .publications-intro {
    width: 86vw;
    margin: -1rem auto 2rem;
  }
}

.inline-icon {
  width: 22px;
  height: 22px;

  vertical-align: middle;

  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.publications-intro a {

  text-decoration: none;

}

.publications-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.8rem;
}

.publications-links img {
  width: 32px;
  height: 32px;
}

.pubs-and {
  font-family: "DINLight", sans-serif;
  font-size: 16px;
  color: #555555;
}

.publications-note {
  margin-top: 1rem;
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: #777777;
}

/* ===================================== */
/* STANDARD PAGE HEADER                  */
/* ===================================== */

.page-header {
  position: relative;
  width: 100%;
  height: var(--page-bar-height);
  margin: 4rem 0;
}

.page-header-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--page-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.page-header-title {
  position: absolute;
  bottom: -7px;
  left: calc(50% + var(--section-title-gap));
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--page-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: left;
}

.page-intro {
  width: min(760px, 86vw);
  margin: -1rem auto 4rem;
  color: var(--muted);
  text-align: center;
}

.page-intro .eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-intro .lead {
  margin: 0;
  font-size: 17px;
}

@media (max-width: 820px) {
  .page-header-title {
    width: calc(50% - var(--section-title-gap));
    font-size: 40px;
  }
}

/* ===================================== */
/* RESEARCH PAGE                         */
/* ===================================== */

.research-intro {
  width: min(650px, calc(50% - var(--section-title-gap) - 7vw));
  margin: -1rem 7vw var(--section-light-end-gap) calc(50% + var(--section-title-gap));
  color: var(--muted);
  font-size: 17px;
  text-align: justify;
}

.research-intro p {
  margin: 0;
}

.research-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.research-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.research-section-header h2 {
  position: absolute;
  bottom: -7px;
  margin: 0;
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.research-section-header-left h2 {
  right: calc(50% + var(--section-title-gap));
  text-align: right;
}

.research-section-header-right h2 {
  left: calc(50% + var(--section-title-gap));
  text-align: left;
}

.research-highlights {
  padding: 0 7vw var(--section-dark-end-gap);
  background: rgba(44, 44, 44, 0.97);
}

.research-highlights .research-section-header {
  margin-bottom: 0.375rem;
  transform: translateY(calc(0px - var(--section-overlap)));
}

.research-highlights .research-section-header h2 {
  color: white;
}

.research-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.research-highlight {
  border: 1px solid #555555;
  background: rgba(255, 255, 255, 0.025);
}

.research-highlight[open] {
  grid-column: 1 / -1;
  border-color: var(--accent);
  background: rgba(20, 20, 20, 0.22);
}

.research-highlight summary {
  display: flex;
  min-height: 155px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  color: white;
  cursor: pointer;
  font-family: "DINBoldCond", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  list-style: none;
}

.research-highlight summary::-webkit-details-marker {
  display: none;
}

.research-highlight summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.research-highlight-toggle {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-bottom: 0.15rem;
}

.research-highlight-toggle::before,
.research-highlight-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.research-highlight-toggle::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.research-highlight[open] .research-highlight-toggle::after {
  transform: rotate(0deg);
}

.research-highlight[open] summary {
  min-height: auto;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #555555;
}

.research-highlight-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  padding: 2rem 1.5rem 2.25rem;
}

.research-highlight-overview {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
}

.research-highlight-summary {
  margin: 0;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

.research-highlight-papers h3 {
  margin: 0 0 0.75rem;
  color: white;
  font-family: "DINBoldCond", sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.research-highlight-papers ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-highlight-papers li {
  padding: 0.75rem 0;
  border-top: 1px solid #505050;
}

.research-highlight-papers a,
.research-highlight-papers span {
  display: block;
}

.research-highlight-papers a {
  color: var(--accent);
  line-height: 1.4;
  text-decoration: none;
}

.research-highlight-papers a:hover {
  text-decoration: underline;
}

.research-highlight-papers span {
  margin-top: 0.2rem;
  color: #aaaaaa;
  font-size: 13px;
  line-height: 1.4;
}

.research-highlight-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  margin: 1.5rem auto 0;
  align-self: center;
  justify-items: center;
}

.research-highlight-figures figure {
  width: min(var(--research-figure-width, 280px), 100%);
  margin: 0 auto;
  text-align: center;
}

.research-highlight-figures img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: white;
}

.research-highlight-figures figcaption {
  margin-top: 0.5rem;
  color: #aaaaaa;
  font-size: 13px;
  line-height: 1.4;
}

.research-collaborations {
  padding: var(--section-next-top-gap) 7vw var(--section-light-end-gap);
  background: white;
}

.research-collaborations-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(var(--section-title-gap) + var(--section-title-gap));
  row-gap: calc(var(--section-title-gap) + var(--section-title-gap) - 2rem);
  width: min(1100px, 100%);
  margin: 0 auto;
}

.research-collaborations-copy {
  grid-column: 2;
  min-width: 0;
}

.research-collaborations-intro {
  margin-top: 0;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: 17px;
  text-align: justify;
}

.research-collaborations-intro a {
  color: var(--accent);
  text-decoration: none;
}

.research-collaborations-intro a:hover {
  text-decoration: underline;
}

.research-collaboration-list {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border-top: 1px solid #dddddd;
  list-style: none;
}

.research-collaboration-list li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--section-title-gap) + var(--section-title-gap));
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #dddddd;
}

.research-collaboration-media {
  display: grid;
  width: min(300px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px dashed #bdbdbd;
  place-items: center;
  background: #f5f5f5;
  color: #888888;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-collaboration-media-empty {
  border: 0;
  background: transparent;
}

.research-collaboration-media-loaded {
  aspect-ratio: auto;
  border: 0;
  background: white;
}

.research-collaboration-media-lisa {
  width: min(200px, 100%);
}

.research-collaboration-media-et {
  width: min(280px, 100%);
}

.research-collaboration-media-lgwa {
  width: min(110px, 100%);
}

.research-collaboration-media img {
  display: block;
  width: 100%;
  height: auto;
}

.research-collaboration-content a {
  display: block;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  text-decoration: none;
}

.research-collaboration-content a:hover {
  color: var(--accent);
}

.research-collaboration-content span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 15px;
  text-align: justify;
}

@media (max-width: 820px) {
  .research-intro {
    width: 86vw;
    margin-right: auto;
    margin-left: auto;
  }

  .research-section-header h2 {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  .research-highlight-grid {
    grid-template-columns: 1fr;
  }

  .research-highlight[open] {
    grid-column: auto;
  }

  .research-highlight summary {
    min-height: 120px;
    font-size: 23px;
  }

  .research-highlight-content,
  .research-highlight-figures {
    grid-template-columns: 1fr;
  }

  .research-highlight-content {
    gap: 2rem;
  }

  .research-collaborations-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .research-collaborations-copy,
  .research-collaboration-list {
    grid-column: 1;
  }

  .research-collaboration-list li {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .research-collaboration-media-empty {
    display: none;
  }
}

/* ===================================== */
/* THESIS PAGE                           */
/* ===================================== */

.thesis-timeline {
  position: relative;
  width: min(950px, 86vw);
  margin: 0 auto 7rem auto;
  padding: 2rem 0;
}

.thesis-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1.5px dashed #222222;
}

.thesis-entry {
  position: relative;
  width: 50%;
  margin-bottom: 1rem;
}

.thesis-left {
  margin-right: auto;
  padding-right: 1rem;
  text-align: right;
}

.thesis-right {
  margin-left: auto;
  padding-left: 1rem;
  text-align: left;
}

.thesis-year {
  font-family: "DINLight", sans-serif;
  font-size: 16px;
  color: #111111;
  margin-bottom: 0.25rem;
}

.thesis-student {
  font-family: "DINBoldCond", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #111111;
  margin-bottom: 0.25rem;
}

.thesis-advisor {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: #111111;
  margin-bottom: 0.35rem;
}

.thesis-title {
  font-family: "DINLight", sans-serif;
  font-size: 16px;
  color: var(--accent);
  line-height: 1.35;
}

@media (max-width: 820px) {
  .thesis-timeline::before {
    left: 0;
  }

  .thesis-entry {
    width: 100%;
    margin-left: 0;
    padding-left: 2rem;
    padding-right: 0;
    text-align: left;
  }
}

.thesis-jump-links {
  margin-left: calc(50% + var(--section-title-gap));
  margin-top: -2rem;
  margin-bottom: var(--section-first-gap);

  display: flex;
  gap: 1rem;
}

.thesis-jump-links a {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: rgb(44,44,44);
  text-decoration: none;
  border: 1px solid rgb(44,44,44);
  padding: 0.25rem 0.7rem;
}

.thesis-jump-links a:hover {
  background: rgb(44,44,44);
  color: white;
}

.phd-thesis-section {
  padding-bottom: var(--section-light-end-gap);
  scroll-margin-top: 70px;
}

.thesis-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.thesis-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.thesis-section-heading {
  position: absolute;
  bottom: -7px;
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.thesis-section-header-right .thesis-section-heading {
  left: calc(50% + var(--section-title-gap));
  color: #222222;
  text-align: left;
}

.thesis-section-header-left .thesis-section-heading {
  right: calc(50% + var(--section-title-gap));
  color: white;
  text-align: right;
}

.thesis-section-header-overlap {
  margin-bottom: 0.375rem;
  transform: translateY(calc(0px - var(--section-overlap)));
}

.phd-timeline {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .thesis-section-heading {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  .thesis-jump-links {
    margin-right: 7vw;
    margin-left: 7vw;
    flex-wrap: wrap;
  }
}


/* ===================================== */
/* MASTER THESIS SECTION                 */
/* ===================================== */

.master-thesis-section {
  background: rgba(44,44,44,0.95);
  padding: 0;
  margin-top: 0;
  scroll-margin-top: 70px;
}

.master-timeline {
  margin-bottom: 0;
  padding-bottom: var(--section-dark-end-gap);
}

.master-timeline::before {
  border-left: 1.5px dashed white;
}

.master-entry .thesis-year,
.master-entry .thesis-advisor {
  color: white;
  font-family: "DINLight", sans-serif;
}

.master-entry .thesis-student {
  color: white;
  font-family: "DINBoldCond", sans-serif;
}

.master-entry .thesis-title {
  color: var(--accent);
  font-family: "DINLight", sans-serif;
}

/* ===================================== */
/* BACHELORS AND INTERNSHIPS SECTION     */
/* ===================================== */

.bachelor-thesis-section {
  background: #ffffff;
  padding: var(--section-next-top-gap) 0 4rem;
  margin-top: 0;
  scroll-margin-top: 70px;
}

.bachelor-timeline {

  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;

}

/* Fine-tune thesis dashed-line endings */

.thesis-timeline::before {
  bottom: auto;
  height: calc(100% - 3.1rem);
}

.master-timeline::before {
  bottom: auto;
  height: 100%;
}

.bachelor-timeline::before {
  bottom: auto;
  height: 100%;
}


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

.teaching-jump-links {
  margin-left: calc(50% + var(--section-title-gap));
  margin-top: -2rem;
  margin-bottom: var(--section-first-gap);

  display: flex;
  gap: 1rem;
}

.teaching-jump-links a {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: rgb(44,44,44);
  text-decoration: none;
  border: 1px solid rgb(44,44,44);
  padding: 0.25rem 0.7rem;
}

.teaching-jump-links a:hover {
  background: rgb(44,44,44);
  color: white;
}


/* ===================================== */
/* UNIVERSITY COURSES                    */
/* ===================================== */

.teaching-section {
  background: #ffffff;
}

.teaching-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.teaching-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.teaching-section-title {
  position: absolute;
  left: calc(50% + var(--section-title-gap));
  bottom: -7px;

  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;

  color: #222222;
  text-align: left;
}

.teaching-subtitle {
  width: min(950px, 86vw);
  margin: 0 auto 2rem;

  font-family: "DINBoldCond", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #222222;
}


/* ===================================== */
/* TEACHING TIMELINE                     */
/* ===================================== */

.teaching-timeline {
  position: relative;
  width: min(950px, 86vw);
  margin: 0 auto 7rem auto;
  padding: 2rem 0;
}

.teaching-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1.5px dashed #222222;
}

.teaching-entry {
  position: relative;
  width: 50%;
  margin-bottom: 1rem;
}

.teaching-left {
  margin-right: auto;
  padding-right: 1rem;
  text-align: right;
}

.teaching-right {
  margin-left: auto;
  padding-left: 1rem;
  text-align: left;
}

.teaching-year {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: #111111;
  margin-bottom: 0.25rem;
}

.teaching-course {
  font-family: "DINBoldCond", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #111111;
  margin-bottom: 0.25rem;
}

.teaching-info {
  font-family: "DINLight", sans-serif;
  font-size: 13px;
  color: #111111;
  margin-bottom: 0.25rem;
}

.teaching-details {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: var(--accent);
  line-height: 1.35;
}

.teaching-syllabus {
  position: absolute;
  bottom: 0;
  left: calc(100% + 1rem);
  width: calc(100% - 1rem);
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.teaching-syllabus a {
  color: var(--accent);
  text-decoration: none;
}

.teaching-syllabus a:hover,
.teaching-syllabus a:focus-visible {
  color: #111111;
}


/* ===================================== */
/* PAST COURSES                          */
/* ===================================== */

.past-courses-section {
  background: rgba(44,44,44,0.95);
  padding: 0;
  margin-top: var(--section-light-end-gap);
}

.past-courses-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: 0.375rem;
  transform: translateY(calc(0px - var(--section-overlap)));
}

.past-courses-title {
  position: absolute;
  right: calc(50% + var(--section-title-gap));
  bottom: -7px;
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: white;
  text-align: right;
}

.past-courses-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.past-teaching-timeline {
  margin-bottom: 0;
  padding-bottom: var(--section-dark-end-gap);
}

.past-teaching-timeline::before {
  border-left: 1.5px dashed white;
}

.past-teaching-entry .teaching-year,
.past-teaching-entry .teaching-info {
  color: white;
}

.past-teaching-entry .teaching-course {
  color: white;
}

.past-teaching-entry .teaching-details {
  color: var(--accent);
}


/* ===================================== */
/* PHD SCHOOLS                           */
/* ===================================== */

.phd-schools-section {
  background: #ffffff;
  padding: var(--section-next-top-gap) 0 4rem;
  margin-top: 0;
}

.phd-schools-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.phd-schools-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.phd-schools-title {
  position: absolute;
  left: calc(50% + var(--section-title-gap));
  bottom: -7px;

  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;

  color: #222222;
  text-align: left;
}

.phd-schools-timeline {
  margin-bottom: 0;
  padding-bottom: 0;
}

.teaching-course a {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.teaching-course a:hover {
  color: var(--accent);
}


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

@media (max-width: 820px) {

  .teaching-jump-links {
    margin-left: 7vw;
    margin-right: 7vw;
    flex-wrap: wrap;
  }

  .teaching-section-title,
  .past-courses-title,
  .phd-schools-title {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  .teaching-timeline::before {
    left: 0;
  }

  .teaching-entry {
    width: 100%;
    margin-left: 0;
    padding-left: 2rem;
    padding-right: 0;
    text-align: left;
  }

  .teaching-syllabus {
    position: static;
    width: auto;
    margin-top: 0.35rem;
  }
}

/* ===================================== */
/* OUTREACH PAGE                         */
/* ===================================== */

.outreach-jump-links {
  margin-left: calc(50% + var(--section-title-gap));
  margin-top: -2rem;
  margin-bottom: var(--section-first-gap);

  display: flex;
  gap: 1rem;
}

.outreach-jump-links a {
  font-family: "DINLight", sans-serif;
  font-size: 14px;
  color: rgb(44,44,44);
  text-decoration: none;
  border: 1px solid rgb(44,44,44);
  padding: 0.25rem 0.7rem;
}

.outreach-jump-links a:hover {
  background: rgb(44,44,44);
  color: white;
}


/* ===================================== */
/* OUTREACH SECTIONS                     */
/* ===================================== */

.outreach-section {
  background: #ffffff;
  padding: 0;
}

.outreach-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.outreach-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.outreach-section-title {
  position: absolute;
  left: calc(50% + var(--section-title-gap));
  bottom: -7px;

  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;

  color: #222222;
  text-align: left;
}


/* Reversed section title */

.outreach-title-left {
  left: auto;
  right: calc(50% + var(--section-title-gap));
  text-align: right;
}


/* ===================================== */
/* OUTREACH ITEMS                        */
/* ===================================== */

.outreach-item {
  width: 100%;
  margin: 0 auto 6rem;

  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
}

#listen .outreach-item:last-child,
#read .outreach-item:last-child {
  margin-bottom: var(--section-light-end-gap);
}


/* ===================================== */
/* NORMAL ROW                            */
/* Image LEFT / Text RIGHT               */
/* ===================================== */

.outreach-image {
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
}

.outreach-text {
  padding-left: 2rem;
}


/* ===================================== */
/* REVERSED ROW                          */
/* Text LEFT / Image RIGHT               */
/* ===================================== */

.outreach-reverse .outreach-image {
  order: 2;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 2rem;
}

.outreach-reverse .outreach-text {
  order: 1;
  text-align: right;
  padding-left: 0;
  padding-right: 2rem;
}


/* ===================================== */
/* OUTREACH IMAGES                       */
/* ===================================== */

.outreach-image img {
  display: block;
  width: 40%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.outreach-image img.img-small {
  width: 30%;
  max-width: 300px;
}

.outreach-image img.img-medium {
  width: 50%;
  max-width: 400px;
}

.outreach-image img.img-large {
  width: 65%;
  max-width: 500px;
}

/* ===================================== */
/* OUTREACH TEXT                         */
/* ===================================== */

.outreach-type {
  font-family: "DINLight", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #777777;
  margin-bottom: 0.4rem;
}

.outreach-text h3 {
  margin: 0 0 0.8rem;

  font-family: "DINBoldCond", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;

  color: #222222;
}

.outreach-text p {
  margin: 0 0 1.2rem;

  font-family: "DINLight", sans-serif;
  font-size: 16px;
  line-height: 1.55;

  color: #555555;
}


/* ===================================== */
/* READ / LISTEN / WATCH LINKS           */
/* ===================================== */

.outreach-link {
  display: inline-block;

  font-family: "DINLight", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;

  color: var(--accent);
  text-decoration: none;

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

.outreach-link:hover {
  color: rgb(44,44,44);
  border-bottom-color: rgb(44,44,44);
}


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

@media (max-width: 820px) {

  .outreach-jump-links {
    margin-left: 7vw;
    margin-right: 7vw;
    flex-wrap: wrap;
  }

  .outreach-section-title {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  /* Switch from two columns to one */

  .outreach-item {
    grid-template-columns: 1fr;
    width: 86vw;
    margin: 0 auto 4rem;
  }

  /* Images centered on mobile */

  .outreach-image,
  .outreach-reverse .outreach-image {
    order: initial;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  .outreach-image img {
    width: 70%;
    max-width: 400px;
  }

  /* Text always left-aligned on mobile */

  .outreach-text,
  .outreach-reverse .outreach-text {
    order: initial;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }

  .outreach-text h3 {
    font-size: 28px;
  }
}

/* ===================================== */
/* TALKS PAGE                            */
/* ===================================== */

.talks-jump-links {
  display: flex;
  gap: 1rem;
  margin: -2rem 0 var(--section-first-gap) calc(50% + var(--section-title-gap));
}

.talks-jump-links a {
  padding: 0.25rem 0.7rem;
  border: 1px solid rgb(44, 44, 44);
  color: rgb(44, 44, 44);
  font-size: 14px;
  text-decoration: none;
}

.talks-jump-links a:hover {
  background: rgb(44, 44, 44);
  color: white;
}

.talks-section {
  padding: 0 7vw var(--section-dark-end-gap);
  scroll-margin-top: 70px;
}

#invited {
  padding-bottom: var(--section-light-end-gap);
}

.talks-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin: 0 auto var(--section-header-gap);
}

.talks-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.talks-section-heading {
  position: absolute;
  bottom: -7px;
}

.talks-section-header-right .talks-section-heading {
  left: calc(50% + var(--section-title-gap));
  text-align: left;
}

.talks-section-header-left .talks-section-heading {
  right: calc(50% + var(--section-title-gap));
  text-align: right;
}

.talks-section-heading p,
.talks-section-heading h2 {
  margin: 0;
}

.talks-section-heading p {
  color: #777777;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.talks-section-heading h2 {
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.talks-list {
  width: min(950px, 100%);
  margin: 0 auto;
}

.talk-entry {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 1.7rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.talk-meta {
  padding-top: 0.2rem;
  text-align: right;
}

.talk-meta time,
.talk-meta span {
  display: block;
}

.talk-meta time {
  color: #222222;
  font-size: 15px;
}

.talk-meta span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.talk-content h3 {
  margin: 0 0 0.25rem;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.talk-content p {
  margin: 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.45;
}

.talk-note {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.talks-section-dark {
  margin: 0;
  padding-top: 0;
  background: rgba(44, 44, 44, 0.97);
}

.talks-section-dark .talks-section-header {
  margin-bottom: 0.375rem;
  transform: translateY(calc(0px - var(--section-overlap)));
}

.talks-section-dark .talks-section-heading h2,
.talks-section-dark .talk-meta time,
.talks-section-dark .talk-content h3 {
  color: white;
}

.talks-section-dark .talks-section-heading p,
.talks-section-dark .talk-content p {
  color: #c5c5c5;
}

.talks-section-dark .talk-entry {
  border-bottom-color: #505050;
}

.talks-map-section {
  padding: var(--section-next-top-gap) 7vw var(--section-dark-end-gap);
  background: white;
}

.talks-map-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.talks-map-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.talks-map-header h2 {
  position: absolute;
  bottom: -7px;
  left: calc(50% + var(--section-title-gap));
  margin: 0;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.talks-map {
  width: min(950px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 1px solid #d8d8d8;
}

.talks-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 820px) {
  .talks-jump-links {
    margin-right: 7vw;
    margin-left: 7vw;
    flex-wrap: wrap;
  }

  .talks-section {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .talks-section-heading {
    width: calc(50% - var(--section-title-gap));
  }

  .talks-section-heading h2 {
    font-size: var(--section-title-size-mobile);
  }

  .talks-section-heading p {
    font-size: 11px;
    line-height: 1.35;
  }

  .talks-map-section {
    padding-top: var(--section-next-top-gap);
  }

  .talks-map-header h2 {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  .talks-map {
    aspect-ratio: 4 / 3;
  }

  .talk-entry {
    grid-template-columns: 82px 1fr;
    gap: 1rem;
  }

  .talk-meta {
    text-align: left;
  }

  .talk-content h3 {
    font-size: 21px;
  }
}

/* ===================================== */
/* MEETINGS PAGE                         */
/* ===================================== */

.meetings-list-section {
  padding: 0 7vw 7rem;
}

.meetings-list {
  width: min(950px, 100%);
  margin: 0 auto;
}

.meeting-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.7rem;
  align-items: center;
  padding: 1.3rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.meeting-entry.has-poster {
  min-height: 260px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.meeting-poster {
  grid-column: 1;
  width: 150px;
  justify-self: center;
  text-align: center;
}

.meeting-poster iframe {
  display: block;
  width: 150px;
  height: 210px;
  border: 1px solid #d8d8d8;
  background: #f5f5f5;
}

.meeting-poster a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.meeting-poster a:hover {
  color: #222222;
}

.meeting-content {
  grid-column: 2;
}

.meeting-content time {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.meeting-content h2 {
  margin: 0 0 0.3rem;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.meeting-content p {
  margin: 0 0 0.35rem;
  color: #666666;
  font-size: 15px;
  line-height: 1.45;
}

.meeting-content > span {
  color: #444444;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .meetings-list-section {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .meeting-entry {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .meeting-entry.has-poster {
    min-height: 0;
  }

  .meeting-poster,
  .meeting-content {
    grid-column: 1;
  }

  .meeting-poster {
    width: 180px;
  }

  .meeting-poster iframe {
    width: 180px;
    height: 240px;
  }

  .meeting-content h2 {
    font-size: 21px;
  }
}

/* ===================================== */
/* ME PAGE                               */
/* ===================================== */

.me-section {
  padding-right: 7vw;
  padding-left: 7vw;
  scroll-margin-top: 70px;
}

.me-travel-section {
  padding-top: var(--section-first-gap);
  padding-bottom: var(--section-light-end-gap);
}

.me-section-header {
  position: relative;
  width: 100%;
  height: var(--section-bar-height);
  margin-bottom: var(--section-header-gap);
}

.me-section-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: var(--section-bar-height);
  background: var(--accent);
  transform: translateX(-50%);
}

.me-section-header h2 {
  position: absolute;
  bottom: -7px;
  margin: 0;
  font-family: "DINBoldCond", sans-serif;
  font-size: var(--section-title-size);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.me-section-header-right h2 {
  left: calc(50% + var(--section-title-gap));
  color: #222222;
  text-align: left;
}

.me-section-header-left h2 {
  right: calc(50% + var(--section-title-gap));
  color: white;
  text-align: right;
}

.me-section-header-overlap {
  margin-bottom: 0.375rem;
  transform: translateY(calc(0px - var(--section-overlap)));
}

.me-section-copy {
  width: calc(50% - var(--section-title-gap));
  color: #444444;
  font-size: 17px;
  line-height: 1.65;
  text-align: justify;
}

.me-copy-right {
  margin-left: calc(50% + var(--section-title-gap));
}

.me-copy-left {
  margin-right: calc(50% + var(--section-title-gap));
}

.me-section-copy p {
  margin: 0;
}

.me-section-copy a,
.me-sunday-text a {
  color: var(--accent);
  text-decoration: none;
}

.me-section-copy a:hover,
.me-section-copy a:focus-visible,
.me-sunday-text a:hover,
.me-sunday-text a:focus-visible {
  text-decoration: underline;
}

.me-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1050px, 100%);
  margin: 4rem auto 0;
}

.me-gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #eeeeee;
  aspect-ratio: 5 / 6;
  border-radius: 12px;
}

.me-gallery-item a {
  display: block;
  height: 100%;
}

.me-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.me-gallery-placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid #d8d8d8;
  background: #f6f6f6;
}

.me-gallery-item:hover img {
  transform: scale(1.025);
}

.me-gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.8rem 1rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: white;
  font-size: 13px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.me-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 5vw;
  background: rgba(0, 0, 0, 0.94);
}

.me-lightbox:target {
  display: flex;
}

.me-lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
}

.me-lightbox p {
  position: absolute;
  bottom: 1rem;
  margin: 0;
  color: white;
  font-size: 14px;
}

.me-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 3rem;
  line-height: 1;
  text-decoration: none;
}

.me-section-dark {
  padding-top: 0;
  padding-bottom: var(--section-dark-end-gap);
  background: rgba(44, 44, 44, 0.97);
}

.me-section-dark .me-section-copy {
  color: #dddddd;
}

.me-sunday-section {
  padding-top: var(--section-next-top-gap);
  padding-bottom: var(--section-dark-end-gap);
}

.me-sunday-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(950px, 100%);
  margin: 0 auto;
}

.me-sunday-media {
  width: min(280px, calc(100% - var(--section-title-gap)));
  margin: 0 var(--section-title-gap) 0 auto;
}

.me-sunday-media img,
.me-sunday-placeholder {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.me-sunday-media img {
  height: auto;
  object-fit: cover;
}

.me-sunday-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px solid #d8d8d8;
  background: #f6f6f6;
}

.me-sunday-media figcaption {
  margin-top: 0.6rem;
  color: #777777;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.me-sunday-text {
  padding-left: var(--section-title-gap);
  color: #444444;
  font-size: 17px;
  line-height: 1.65;
  text-align: justify;
}

.me-sunday-text p {
  margin: 0;
}

@media (max-width: 820px) {
  .me-section-header h2 {
    width: calc(50% - var(--section-title-gap));
    font-size: var(--section-title-size-mobile);
  }

  .me-section-copy {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .me-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .me-sunday-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .me-sunday-media {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .me-sunday-media figcaption {
    text-align: left;
  }

  .me-sunday-text {
    padding-left: 0;
    text-align: left;
  }
}

@media (max-width: 540px) {
  .me-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===================================== */
/* NEWS                                  */
/* ===================================== */

.news-page {
  --news-rule: #d6d3cb;
  padding: 0 7vw var(--section-light-end-gap);
}

.news-masthead {
  position: relative;
  height: 235px;
  margin: 4rem 0 5rem;
}

.news-masthead-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
}

.news-masthead-copy {
  position: absolute;
  bottom: -7px;
  left: calc(50% + var(--section-title-gap));
  width: min(520px, calc(50% - var(--section-title-gap)));
}

.news-masthead-copy p,
.news-masthead-copy h1,
.news-masthead-copy div {
  margin: 0;
}

.news-masthead-copy p {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-masthead-copy h1 {
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 62px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.95;
}

.news-masthead-copy div {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.news-archive {
  width: min(1050px, 100%);
  margin: 0 auto;
}

.news-archive-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 0.65rem;
  border-bottom: 4px solid #222222;
}

.news-archive-header span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-archive-header h2 {
  margin: 0;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.news-entry {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--news-rule);
}

.news-entry-with-image {
  grid-template-columns: 145px minmax(0, 1fr) minmax(190px, 260px);
}

.news-entry-meta span,
.news-entry-meta time {
  display: block;
}

.news-entry-meta span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-entry-meta time {
  margin-top: 0.4rem;
  color: #777777;
  font-size: 13px;
}

.news-entry-copy h3 {
  margin: 0;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.news-entry-text {
  margin-top: 0.7rem;
  color: #444444;
  font-size: 16px;
  line-height: 1.65;
  text-align: justify;
}

.news-entry-text p {
  margin: 0 0 0.8rem;
}

.news-entry-text p:last-child {
  margin-bottom: 0;
}

.news-entry-text a {
  color: var(--accent);
  text-decoration: none;
}

.news-entry-text a:hover,
.news-entry-text a:focus-visible {
  text-decoration: underline;
}

.news-entry-copy > a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.news-entry-copy > a:hover,
.news-entry-copy > a:focus-visible {
  color: #222222;
}

.news-entry-media {
  margin: 0;
}

.news-entry-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
}

.news-entry-media figcaption {
  margin-top: 0.5rem;
  color: #777777;
  font-size: 12px;
  line-height: 1.4;
}

.news-empty {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 820px) {
  .news-masthead {
    height: 205px;
  }

  .news-masthead-copy h1 {
    font-size: 46px;
  }

  .news-entry,
  .news-entry-with-image {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .news-entry-media {
    grid-column: 2;
  }
}

@media (max-width: 540px) {
  .news-masthead {
    height: auto;
    min-height: 190px;
    margin-bottom: 3.5rem;
  }

  .news-masthead-line {
    left: 0;
  }

  .news-masthead-copy {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 2.5rem 0 0 1.4rem;
  }

  .news-archive-header h2 {
    font-size: 31px;
  }

  .news-entry,
  .news-entry-with-image {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-entry-media {
    grid-column: auto;
  }

  .news-entry-copy h3 {
    font-size: 28px;
  }
}

/* ===================================== */
/* THE QB ROOM                           */
/* ===================================== */

.nfl-landing {
  --nfl-green: #203731;
  --nfl-rule: #d6d3cb;
  padding: 0 7vw var(--section-light-end-gap);
}

.nfl-masthead {
  position: relative;
  height: 235px;
  margin: 4rem 0 5rem;
}

.nfl-masthead-line {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nfl-masthead-copy {
  position: absolute;
  bottom: -7px;
  left: calc(50% + var(--section-title-gap));
  width: min(520px, calc(50% - var(--section-title-gap)));
}

.nfl-masthead-copy p,
.nfl-masthead-copy h1,
.nfl-masthead-copy div {
  margin: 0;
}

.nfl-masthead-copy p {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nfl-masthead-copy h1 {
  color: var(--nfl-green);
  font-family: "DINBoldCond", sans-serif;
  font-size: 62px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 0.95;
}

.nfl-masthead-copy div {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.nfl-archive {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.nfl-season + .nfl-season {
  margin-top: 5rem;
}

.nfl-season-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 0.65rem;
  border-bottom: 4px solid var(--nfl-green);
}

.nfl-season-header span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nfl-season-header h2 {
  margin: 0;
  color: var(--nfl-green);
  font-family: "DINBoldCond", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.nfl-archive-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--nfl-rule);
}

.nfl-archive-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.nfl-archive-meta span,
.nfl-archive-meta time {
  display: block;
}

.nfl-archive-meta span {
  color: var(--nfl-green);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nfl-archive-meta span:last-child {
  margin-top: 0.15rem;
  color: #777777;
  font-size: 11px;
}

.nfl-archive-meta time {
  margin-top: 0.35rem;
  color: #777777;
  font-size: 13px;
}

.nfl-game-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.nfl-matchup-team {
  display: grid;
  width: 105px;
  justify-items: center;
}

.nfl-matchup-team span {
  color: #555555;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.nfl-matchup-team strong {
  margin-top: 0.15rem;
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.nfl-matchup-team img {
  width: 74px;
  height: 62px;
  margin-top: 0.65rem;
  object-fit: contain;
}

.nfl-game-matchup > i {
  color: var(--accent);
  font-size: 24px;
  font-style: normal;
}

.nfl-game-location span,
.nfl-game-location strong,
.nfl-game-location small {
  display: block;
}

.nfl-game-location {
  text-align: right;
}

.nfl-game-location span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.nfl-game-location strong {
  margin-top: 0.35rem;
  color: var(--nfl-green);
  font-family: "DINBoldCond", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
}

.nfl-game-location small {
  margin-top: 0.2rem;
  color: #777777;
  font-size: 12px;
}

.nfl-game-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.nfl-game-panel {
  border: 1px solid #c9c6bd;
  background: #ffffff;
}

.nfl-game-panel[open] {
  grid-column: 1 / -1;
  border-color: var(--accent);
}

.nfl-game-panel summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--nfl-green);
  cursor: pointer;
  font-family: "DINBoldCond", sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  list-style: none;
  text-transform: uppercase;
}

.nfl-game-panel summary::-webkit-details-marker {
  display: none;
}

.nfl-game-panel summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.nfl-panel-toggle {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.nfl-panel-toggle::before,
.nfl-panel-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.nfl-panel-toggle::after {
  transform: rotate(90deg);
}

.nfl-game-panel[open] .nfl-panel-toggle::after {
  transform: rotate(0deg);
}

.nfl-game-panel-content {
  padding: 1.5rem;
  border-top: 1px solid var(--nfl-rule);
}

.nfl-panel-placeholder {
  width: min(680px, 100%);
  margin: 0 auto;
  color: #777777;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.nfl-tactical {
  width: min(900px, 100%);
  margin: 0 auto;
}

.nfl-tactical section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nfl-rule);
}

.nfl-tactical h4,
.nfl-key-moments h4 {
  margin: 0 0 0.65rem;
  color: var(--nfl-green);
  font-family: "DINBoldCond", sans-serif;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}

.nfl-tactical p,
.nfl-key-moments p {
  margin: 0 0 1rem;
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
}

.nfl-tactical .nfl-section-placeholder {
  color: #777777;
  font-style: italic;
  text-align: left;
}

.nfl-tactical img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
}

.nfl-tactical figure {
  margin: 2rem 0;
}

.nfl-tactical figure img {
  margin: 0 auto;
}

.nfl-tactical figcaption {
  margin-top: 0.5rem;
  color: #777777;
  font-size: 12px;
  line-height: 1.45;
}

.nfl-key-moments {
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: nfl-moment;
}

.nfl-key-moments li {
  position: relative;
  padding: 1.4rem 0 1.4rem 3.4rem;
  border-bottom: 1px solid var(--nfl-rule);
  counter-increment: nfl-moment;
}

.nfl-key-moments li::before {
  content: counter(nfl-moment, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  left: 0;
  color: var(--accent);
  font-family: "DINBoldCond", sans-serif;
  font-size: 24px;
}

.nfl-moment-meta {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
  color: #777777;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nfl-key-moments figure {
  margin: 1.2rem 0 0;
}

.nfl-key-moments img {
  display: block;
  width: 100%;
  height: auto;
}

.nfl-key-moments figcaption {
  margin-top: 0.45rem;
  color: #777777;
  font-size: 12px;
}

.nfl-empty,
.nfl-landing-footer {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.nfl-empty {
  color: var(--muted);
  text-align: center;
}

.nfl-landing-footer {
  margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nfl-rule);
  color: #777777;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.nfl-stats-wrap {
  margin: 0;
  overflow-x: auto;
}

.nfl-stats {
  width: 100%;
  border-collapse: collapse;
  border-top: 4px solid var(--nfl-green);
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.nfl-stats th,
.nfl-stats td {
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid var(--nfl-rule);
}

.nfl-stats thead th {
  color: var(--nfl-green);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nfl-stats tbody th {
  color: #333333;
  font-weight: 400;
}

.nfl-stats-group th {
  padding-top: 1.2rem;
  padding-bottom: 0.45rem;
  background: #f5f4f0;
  color: var(--nfl-green) !important;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: left !important;
  text-transform: uppercase;
}

.nfl-stats td {
  color: #222222;
  font-family: "DINBoldCond", sans-serif;
  font-size: 19px;
}

.nfl-stats th:not(:first-child),
.nfl-stats td {
  text-align: right;
}

.nfl-stats-note {
  margin-top: 0.65rem !important;
  color: #777777;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 820px) {
  .nfl-landing {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .nfl-masthead {
    height: 205px;
  }

  .nfl-masthead-copy h1 {
    font-size: 46px;
  }

  .nfl-archive-heading {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }

  .nfl-tactical p,
  .nfl-key-moments p {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .nfl-masthead {
    height: auto;
    min-height: 190px;
    margin-bottom: 3.5rem;
  }

  .nfl-masthead-line {
    left: 0;
  }

  .nfl-masthead-copy {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 2.5rem 0 0 1.4rem;
  }

  .nfl-season-header h2 {
    font-size: 31px;
  }

  .nfl-archive-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nfl-archive-meta,
  .nfl-game-location {
    text-align: center;
  }

  .nfl-game-matchup {
    gap: 0.75rem;
  }

  .nfl-matchup-team {
    width: 90px;
  }

  .nfl-matchup-team img {
    width: 64px;
    height: 56px;
  }

  .nfl-game-panels {
    grid-template-columns: 1fr;
  }

  .nfl-game-panel[open] {
    grid-column: auto;
  }

  .nfl-game-panel-content {
    padding: 1.1rem;
  }

  .nfl-stats {
    min-width: 510px;
  }

  .nfl-key-moments li {
    padding-left: 2.8rem;
  }
}
