html,
body {
  background-color: #f5f7f7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
}

a:not(.project-link) img {
  transition: transform 0.15s ease;
}

a:not(.project-link):hover img {
  transform: scale(1.05);
}

article a:not(.btn),
p a:not(.btn),
li a:not(.btn) {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 400;
  display: inline-block;
  transition: color 0.15s ease;
}

article a:not(.btn):hover,
p a:not(.btn):hover,
li a:not(.btn):hover {
  color: #0052a3;
  text-decoration: underline;
}

body.news-article-page > .page-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body.news-article-page .topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #1f1414;
  box-shadow: inset 0 8px 16px rgba(255, 255, 255, 0.08);
}

body.news-article-page .topbar-inner {
  max-width: 1100px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

body.news-article-page .topbar-logo img {
  display: block;
  height: 44px;
  width: auto;
  transition: transform 0.15s ease;
}

body.news-article-page .topbar-logo:hover img {
  transform: scale(1.05);
}

body.news-article-page .topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

body.news-article-page .topbar nav a {
  margin: 0;
  text-decoration: none;
  color: #fff;
  text-transform: lowercase;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.15s ease;
}

body.news-article-page .topbar nav a:hover {
  opacity: 0.82;
}

@media (min-width: 901px) {
  body.news-article-page .topbar-inner {
    min-height: 78px;
  }
  
  body.news-article-page .topbar-logo img {
    height: 48px;
  }
  
  body.news-article-page .topbar-logo {
    flex: 0 0 130px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  body.news-article-page .topbar nav {
    flex: 1;
    justify-content: center;
    transform: translateX(125px);
  }
}

body.news-article-page .main-footer {
  margin-top: 3rem;
  background: #1f1414;
  width: 100%;
}

body.news-article-page .main-footer-inner {
  max-width: 1100px;
  min-height: 322px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 2.6rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

body.news-article-page .main-footer,
body.news-article-page .main-footer p,
body.news-article-page .main-footer h2,
body.news-article-page .main-footer a,
body.news-article-page .main-footer li {
  color: #f2f5f7;
}

body.news-article-page .footer-title {
  margin: 0 0 1.4rem 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

body.news-article-page .footer-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.75rem 2.2rem;
}

body.news-article-page .footer-items a {
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  opacity: 0.95;
  display: inline-block;
  transform-origin: left center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

body.news-article-page .footer-items a:hover {
  opacity: 1;
  transform: scale(1.05);
}

body.news-article-page .footer-brand {
  justify-self: end;
  text-align: right;
}

body.news-article-page .footer-umu-link {
  display: inline-block;
}

body.news-article-page .footer-umu-logo {
  width: min(420px, 100%);
  height: auto;
  transition: transform 0.15s ease;
}

body.news-article-page .footer-umu-link:hover .footer-umu-logo {
  transform: scale(1.05);
}

body.news-article-page .footer-social {
  margin-top: 3.4rem;
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

body.news-article-page .footer-social a {
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

body.news-article-page .footer-social-strong {
  display: inline-block;
  transition: transform 0.15s ease;
}

body.news-article-page .footer-social a:hover .footer-social-strong {
  transform: scale(1.06);
}

body.news-article-page .footer-top {
  align-self: end;
  justify-self: end;
}

body.news-article-page .footer-top-link {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

body.news-article-page .footer-top-link:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  body.news-article-page .main-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }
  
  body.news-article-page .footer-brand,
    body.news-article-page .footer-social {
    justify-self: start;
    text-align: left;
    justify-items: start;
  }
  
  body.news-article-page .footer-top {
    justify-self: start;
  }
}

body.news-article-page .article-menu-toggle {
  display: none;
  background: transparent;
}

@media (max-width: 980px) {
  html,
    body {
    overflow-x: hidden;
  }
  
  body.news-article-page .page-wrap {
    overflow-x: clip;
  }
  
  body.news-article-page .topbar-inner {
    min-height: 0;
    padding: 0.75rem 1rem;
    row-gap: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  body.news-article-page .article-menu-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
  }
  
  body.news-article-page .article-menu-toggle-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    display: inline-block;
    transform: translateY(-1px);
  }
  
  body.news-article-page .topbar-logo {
    order: 1;
    margin-right: auto;
  }
  
  body.news-article-page .topbar nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0.2rem 0 0;
    padding: 0.55rem 0 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    overflow: visible;
    white-space: normal;
    gap: 0.45rem;
    -webkit-overflow-scrolling: touch;
  }
  
  body.news-article-page .topbar nav a {
    font-size: 1.12rem;
    width: 100%;
    padding: 0.55rem 0;
    flex: 0 0 auto;
    line-height: 1.25;
  }
}

@media (max-width: 980px) {
  body.news-article-page .topbar {
    z-index: 90;
  }
}

@media (max-width: 640px) {
  body.news-article-page .topbar-logo img {
    height: 34px;
    width: auto;
  }
  
  body.news-article-page .topbar nav a {
    font-size: 1.08rem;
  }
  
  body.news-article-page .footer-title {
    font-size: 1.35rem;
    line-height: 1.15;
  }
}

.news-article-page {
  --ink: #102c29;
  --line: #d3dbcd;
}

.news-main {
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
}

.news-detail {
  background: #fbfcf8;
}

.article-frame {
  width: min(92%, 1280px);
  margin-inline: auto;
  padding: 2.5rem 0 4rem;
}

.article-masthead {
  max-width: 1020px;
  padding-bottom: 1.8rem;
}

.article-masthead nav {
  margin-bottom: 2.4rem;
}

.news-detail .article-back {
  color: #23574c;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.news-detail .article-back:hover {
  text-decoration: underline;
}

.news-detail .article-kicker {
  margin: 0 0 .6rem;
  color: #23574c;
  font: 600 .8rem/1.4 'IBM Plex Mono', monospace;
  text-transform: uppercase;
}

.news-detail .article-masthead h1 {
  max-width: 26ch;
  color: var(--ink);
  font: 700 3.65rem/1.08 'Space Grotesk', sans-serif;
  text-align: left;
  margin: 0 0 1.1rem;
}

.news-detail .article-deck {
  max-width: 64ch;
  color: #354843;
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.news-detail .article-date {
  color: #4f635b;
  font-size: .9rem;
  margin: 0;
}

.news-detail figure {
  margin: 0;
  min-width: 0;
}

.news-detail figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 6px;
}

.news-detail figure img:hover {
  transform: none;
}

.news-detail .article-cover img {
  aspect-ratio: 2/1;
  object-fit: cover;
  object-position: center 42%;
}

.news-detail figcaption {
  color: #4f635b;
  font-size: .85rem;
  line-height: 1.45;
  margin-top: .6rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.article-project {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 110px;
  border-top: 3px solid #23574c;
  padding-top: 1rem;
}

.article-project strong {
  display: block;
  font: 700 1.8rem 'Space Grotesk', sans-serif;
  margin-bottom: .8rem;
}

.article-project .news-project-link + .news-project-link {
  margin-top: .55rem;
}

.article-prose {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.news-detail .article-prose p {
  color: var(--ink);
  text-align: left;
  font-size: 1.12rem;
  line-height: 1.72;
  max-width: 65ch;
  margin: 0 0 1.25rem;
}

.news-detail .article-prose h2 {
  color: var(--ink);
  text-align: left;
  font-size: 1.85rem;
  line-height: 1.18;
  margin: 2rem 0 .85rem;
}

.news-detail .article-diptych {
  margin: 1.65rem 0;
}

.article-diptych > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.article-diptych--3 > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-detail .article-diptych--3 img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.news-detail .article-inline {
  margin: 1.4rem 0 2rem;
}

.news-detail .article-inline--portrait {
  max-width: 34rem;
}

.news-detail .article-inline--portrait img {
  max-height: 46rem;
  width: auto;
  max-width: 100%;
}

.article-prose > div > ul, .article-prose > ul {
  max-width: 65ch;
  padding-left: 1.5rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.article-prose li + li {
  margin-top: .45rem;
}

.article-prose a {
  overflow-wrap: anywhere;
}

.article-prose blockquote {
  border-left: 3px solid #23574c;
  margin: 1.5rem 0;
  padding: .35rem 1rem;
}

.news-detail .article-prose blockquote p:last-child {
  margin-bottom: 0;
}

.article-translation {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.news-detail .article-closing {
  margin-top: 1.75rem;
}

.article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.news-detail .news-project-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: .7rem .9rem;
  font-weight: 600;
  text-decoration: none;
}

.news-detail .news-project-link:hover {
  background: #23574c;
}

.news-detail a:focus-visible {
  outline: 2px solid #23574c;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .news-detail .article-masthead h1 {
    font-size: 2.9rem;
  }
  
  .article-layout {
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) 190px;
  }
}

@media (max-width: 680px) {
  .article-frame {
    padding-top: 1.5rem;
  }
  
  .article-masthead nav {
    margin-bottom: 1.5rem;
  }
  
  .news-detail .article-masthead h1 {
    font-size: 2.2rem;
  }
  
  .news-detail .article-deck {
    font-size: 1.1rem;
  }
  
  .news-detail .article-cover img {
    aspect-ratio: 3/2;
  }
  
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .article-project {
    position: static;
    width: 100%;
  }
  
  .article-diptych > div {
    gap: .5rem;
  }
  
  .article-diptych--3 > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .article-diptych--3 img:last-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 980px) {
  body.article-menu-open {
    overflow-y: hidden;
  }
  
  body.news-article-page.article-menu-open .topbar nav {
    position: fixed;
    inset: var(--article-header-bottom, 72px) 0 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 1rem 1rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(26, 18, 18, 0.97);
    overflow: hidden auto;
    gap: 0;
  }
  
  body.news-article-page.article-menu-open .topbar nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 1.2rem;
    line-height: 1.3;
  }
}
