/*
Theme Name: Cornelia Seibeld WP-Theme
Theme URI: https://keinedomain.xyz/
Author: Dino Brčić
Description: Ein Layout für die persönliche Webseite von Cornelia Seibeld
Version: 1.0.1
Text Domain: cornelia-seibeld
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("assets/fonts/ibm_plex_serif/IBMPlexSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Serif";
  src: url("assets/fonts/ibm_plex_serif/IBMPlexSerif-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, serif;
  --ink: #111111;
  --ink-dark: #000000;
  --muted: #555f61;
  --blue: #52b7c1;
  --blue-light: #e9f7f8;
  --turquoise: #52b7c1;
  --turquoise-soft: #d8f0f2;
  --rhondorf-blue: #2d3c4b;
  --gold: #ffa600;
  --gold-light: #ffda95;
  --magenta: #e6007e;
  --magenta-light: #ffe6f4;
  --gray: #dadada;
  --cream: #f6f6f4;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  padding: .7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem clamp(1.2rem, 5vw, 5.5rem);
  color: var(--white);
  background: var(--ink-dark);
  border-bottom: 5px solid var(--turquoise);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.brand,
h1,
h2 {
  font-family: var(--font-sans);
  line-height: 1.1;
}

.brand {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 900;
}

.quick-nav,
.primary-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.quick-nav a,
.primary-menu a {
  font-size: .88rem;
}

.current-menu-item > a,
.current_page_item > a,
.current-menu-ancestor > a {
  color: var(--magenta);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: .65rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
}

.menu-toggle::before {
  content: "";
}

.menu-toggle::before {
  width: 1.15rem;
  height: 2px;
  display: block;
  background: currentColor;
  box-shadow: 0 -.38rem 0 currentColor, 0 .38rem 0 currentColor;
}

.nav-item,
.menu-item-has-children {
  position: relative;
}

.has-dropdown > a,
.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.has-dropdown > a::after,
.menu-item-has-children > a::after {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown,
.sub-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 2.15rem);
  width: min(300px, 90vw);
  display: grid;
  gap: .2rem;
  padding: .75rem;
  margin: 0;
  list-style: none;
  color: var(--ink-dark);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-top: 5px solid var(--magenta);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-.35rem);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown::before,
.sub-menu::before {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: -.5rem;
  width: .9rem;
  height: .9rem;
  background: var(--magenta);
  transform: rotate(45deg);
}

.dropdown a,
.sub-menu a {
  display: block;
  border-radius: 6px;
  padding: .85rem .9rem;
  color: var(--ink-dark);
  text-shadow: none;
}

.dropdown a:hover,
.dropdown a:focus,
.sub-menu a:hover,
.sub-menu a:focus {
  color: var(--white);
  background: var(--ink-dark);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 0 clamp(1.2rem, 7vw, 5.5rem);
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  overflow: hidden;
  background: var(--turquoise);
}

.hero-photo::after {
  content: none;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  width: min(76vw, 980px);
  max-height: 96%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(8%);
}

.hero-statement {
  position: absolute;
  left: clamp(1.2rem, 7vw, 5.5rem);
  bottom: clamp(3.5rem, 9vw, 7rem);
  z-index: 2;
  --hero-label-x: clamp(.65rem, 1vw, .95rem);
  width: min(980px, calc(100% - 2.4rem));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--ink-dark);
}

.hero-statement h1 {
  margin: 0;
  display: block;
  max-width: 100%;
  color: var(--ink-dark);
  font-size: clamp(2.4rem, 5.4vw, 5.1rem);
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 901px) {
  .hero-portrait {
    transform: translateX(15%);
  }

  .hero-statement {
    left: clamp(2.4rem, 10vw, 9rem);
  }

  .hero-statement h1 {
    white-space: nowrap;
  }
}

.hero-statement h1 span {
  display: inline-block;
  max-width: 100%;
  padding: .07em var(--hero-label-x) .11em;
  background: var(--white);
  line-height: 1.04;
}

.hero-statement p {
  max-width: 620px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
  font-size: clamp(1.1rem, 2.05vw, 1.86rem);
  font-weight: 900;
  line-height: 1;
}

.hero-statement p span {
  display: block;
  max-width: 100%;
  padding: .1em var(--hero-label-x) .14em;
  background: var(--ink-dark);
  line-height: 1.08;
}

.eyebrow {
  margin: 0 0 .7rem;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: .18em .42em .22em;
  color: var(--white);
  background: var(--ink-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.container {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.narrow {
  width: min(860px, calc(100% - 2.4rem));
}

.section-pad {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.intro-grid > div:first-child,
.topic > div:not(.topic-image) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.intro-grid > div > h2,
.section-title h2,
.topic h2 {
  display: inline-block;
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: var(--ink-dark);
  font-weight: 900;
  line-height: 1.28;
}

.intro-grid > div > h2 span,
.section-title h2 span,
.topic h2 span {
  padding: .02em .18em .06em;
  background: var(--white);
  line-height: 1.2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.intro-grid > div > h2:not(:has(span)),
.section-title h2:not(:has(span)),
.topic h2:not(:has(span)) {
  padding: .02em .18em .06em;
  background: var(--white);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.intro-copy {
  font-size: 1.05rem;
}

.signature {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.55rem;
}

.news {
  background: var(--blue-light);
}

.front-page-events-band {
  color: var(--ink);
  background: var(--cream);
}

.front-page-events-band .cse-events {
  background: transparent;
}

.front-page-events-band .section-title h2,
.front-page-events-band .section-title .text-link {
  color: var(--ink);
}

.front-page-events-band .eyebrow {
  color: var(--white);
}

.front-page-events-band .text-link {
  border-bottom-color: currentColor;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 1.5rem;
  row-gap: 0;
  margin-bottom: 2rem;
}

.section-title .eyebrow {
  grid-column: 1;
  justify-self: start;
  margin-bottom: 0;
}

.intro-grid .eyebrow,
.topic .eyebrow {
  margin-bottom: 0;
}

.section-title h2 {
  grid-column: 1;
  justify-self: start;
  margin-top: 0;
}

.section-title .text-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.text-link {
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.news-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-carousel {
  position: relative;
}

.news-carousel .news-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.news-carousel .news-grid::-webkit-scrollbar {
  display: none;
}

.news-card {
  min-height: 260px;
  display: flex;
  flex: 0 0 calc((100% - 2.5rem) / 3);
  flex-direction: column;
  background: var(--white);
  border-top: 5px solid var(--turquoise);
  scroll-snap-align: start;
}

.news-card-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .25rem;
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 800;
  background: var(--ink-dark);
}

.news-card-thumb-label,
.news-card-thumb-category {
  display: block;
}

.news-card-thumb-label {
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-card-thumb-category {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  line-height: 1.15;
}

.news-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  align-items: center;
}

.news-card-meta span,
.news-card time {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.news-card-meta span::before {
  content: "";
  width: .35rem;
  height: .35rem;
  display: inline-block;
  margin-right: .75rem;
  vertical-align: .12em;
  border-radius: 50%;
  background: var(--turquoise);
}

.news-card h3 {
  margin: 1rem 0 .55rem;
  color: var(--ink-dark);
  font-size: 1.35rem;
  line-height: 1.25;
}

.news-card-link {
  margin-top: auto;
  font-weight: 800;
}

.news-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  cursor: pointer;
  transform: translateY(-50%);
}

.news-arrow span {
  display: block;
  line-height: .8;
  transform: translateY(-.08em);
}

.news-arrow:hover,
.news-arrow:focus {
  background: var(--ink-dark);
}

.news-arrow-prev {
  left: -1.35rem;
}

.news-arrow-next {
  right: -1.35rem;
}

.topic-list {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.topic {
  display: grid;
  grid-template-columns: 44% 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.topic-reverse {
  grid-template-columns: 1fr 44%;
}

.topic-reverse .topic-media {
  order: 2;
}

.topic-media {
  margin: 0;
}

.topic-image {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--turquoise);
}

.topic-image img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.topic-image.city {
  background: var(--gray);
}

.topic-image.parliament {
  background: var(--magenta);
}

.topic-image-credit {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  margin-top: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: .8rem 1.25rem;
  font-weight: 800;
}

.button.compact {
  margin-top: .4rem;
  padding: .65rem 1rem;
  font-size: .9rem;
}

.button.secondary {
  color: var(--white);
  border-color: var(--magenta);
  background: var(--ink-dark);
}

.insights {
  color: var(--white);
  background: var(--ink-dark);
}

.section-title.light .eyebrow,
.section-title.light .text-link {
  color: var(--white);
}

.insight-grid a {
  min-height: 190px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}

.insight-grid span,
.insight-grid small {
  display: block;
  color: var(--turquoise-soft);
  font-weight: 800;
}

.insight-grid strong {
  display: block;
  margin: 1rem 0 1.7rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.site-footer {
  padding: 2.8rem 0;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px minmax(300px, 1fr) minmax(320px, .95fr) minmax(150px, auto);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.footer-brand strong,
.footer-contact strong {
  display: inline-block;
  padding: .14em .36em .18em;
  color: var(--white);
  background: var(--ink-dark);
  line-height: 1.1;
}

.footer-brand p,
.footer-contact p {
  margin: .7rem 0 0;
}

.footer-contact {
  font-style: normal;
}

.footer-contact a {
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.footer-logo {
  display: inline-flex;
  align-items: flex-start;
  justify-self: start;
}

.footer-logo img {
  width: min(150px, 100%);
  height: auto;
  display: block;
}

.footer-copyright {
  margin-top: 1.6rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: .88rem;
  border-top: 1px solid var(--line);
}

.footer-copyright p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

.site-footer nav ul,
.plain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer nav ul {
  display: grid;
  gap: .45rem;
}

.side-box .plain-list {
  display: grid;
  gap: .55rem;
}

.real-media {
  overflow: hidden;
}

.real-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.content-hero {
  padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  color: var(--ink-dark);
  background: var(--turquoise);
}

.page-content-hero .container > div,
.content-hero .container,
.not-found .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.content-hero h2,
.not-found h1 {
  color: var(--white);
}

.content-hero h1,
.not-found h1 {
  margin: 0;
  display: block;
  padding: .02em .18em .06em;
  color: var(--ink-dark);
  background: var(--white);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.2;
}

.content-hero p {
  max-width: 720px;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.content-hero .eyebrow,
.not-found .eyebrow {
  display: inline-block;
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: .9rem;
  font-weight: 900;
}

.content-hero h1 + p {
  max-width: 860px;
  color: var(--ink-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 700;
}

.compact-hero {
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.page-content-hero.has-hero-image {
  min-height: clamp(360px, 52vw, 620px);
  display: flex;
  align-items: end;
  background: var(--turquoise);
}

.page-content-hero.has-hero-image .container {
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 34%);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-thumb,
.featured-media,
.list-thumb {
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--ink-dark);
}

.hero-thumb {
  min-height: 290px;
}

.featured-media {
  min-height: 420px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.post-meta span,
.post-meta time,
.result-note {
  display: inline-flex;
  border-radius: 999px;
  padding: .45rem .8rem;
  color: var(--ink-dark);
  font-size: .86rem;
  font-weight: 800;
  background: var(--turquoise-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(2rem, 5vw, 4rem);
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.page-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.single-article-layout {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.article-content {
  color: var(--ink-dark);
  font-size: 1.08rem;
}

.intro-copy a,
.topic p a,
.content-hero p a,
.article-content a,
.list-card p a,
.result-card p a,
.news-card-content p a {
  color: var(--turquoise);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.intro-copy a:hover,
.intro-copy a:focus,
.topic p a:hover,
.topic p a:focus,
.content-hero p a:hover,
.content-hero p a:focus,
.article-content a:hover,
.article-content a:focus,
.list-card p a:hover,
.list-card p a:focus,
.result-card p a:hover,
.result-card p a:focus,
.news-card-content p a:hover,
.news-card-content p a:focus {
  color: var(--rhondorf-blue);
}

.article-content .lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.article-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.article-content ul {
  padding-left: 1.2rem;
}

.article-content li + li {
  margin-top: .5rem;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.45;
  border-left: 6px solid var(--magenta);
  background: var(--blue-light);
}

.article-content img,
.wp-caption img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: .4rem 1.4rem 1rem 0;
}

.alignright {
  float: right;
  margin: .4rem 0 1rem 1.4rem;
}

.aligncenter {
  display: block;
  margin: 2rem auto;
}

.alignwide {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .88rem;
}

.share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.1rem 1.25rem;
  background: var(--blue-light);
  border-left: 6px solid var(--turquoise);
}

.share-strip h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.share-links a {
  border-radius: 999px;
  padding: .65rem .9rem;
  color: var(--white);
  font-weight: 800;
  background: var(--blue);
}

.related-posts {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--blue-light);
}

.related-card {
  padding: 0;
  overflow: hidden;
}

.related-thumb {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--ink-dark);
}

.related-thumb.blue {
  background: var(--turquoise);
}

.related-thumb.gold {
  background: var(--magenta);
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.side-box {
  display: grid;
  gap: .75rem;
  padding: 1.25rem;
  background: var(--white);
  border-top: 5px solid var(--turquoise);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .08);
}

.side-box h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.side-box a {
  font-weight: 800;
}

.side-box ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-box.accent {
  color: var(--white);
  background: var(--blue);
  border-top-color: var(--magenta);
}

.side-box.accent h2 {
  color: var(--white);
}

.post-navigation,
.pagination,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.post-navigation a,
.pagination a,
.pagination span {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: .75rem 1rem;
  font-weight: 800;
  background: var(--white);
}

.pagination .current,
.pagination span.current {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.archive-tools {
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.filter-bar a {
  border-radius: 999px;
  padding: .65rem 1rem;
  font-weight: 800;
  background: var(--blue-light);
}

.filter-bar .is-active {
  color: var(--white);
  background: var(--blue);
}

.post-list {
  display: grid;
  gap: 1.1rem;
}

.list-card {
  display: grid;
  grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.1rem;
  background: var(--white);
  border-left: 6px solid var(--turquoise);
}

.list-thumb {
  align-content: center;
  gap: .25rem;
  min-height: 190px;
  height: 190px;
  overflow: hidden;
  text-align: center;
}

.list-thumb.real-media {
  display: block;
}

.list-thumb.real-media img {
  min-height: 0;
}

.list-thumb.blue {
  background: var(--turquoise);
}

.list-thumb.gold {
  background: var(--magenta);
}

.list-card time {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.list-card h2,
.result-card h2 {
  margin: .45rem 0 .5rem;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
  max-width: 720px;
  margin-top: 1.7rem;
}

.search-form label {
  grid-column: 1 / -1;
  color: var(--turquoise-soft);
  font-weight: 800;
}

.search-form input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.1rem;
  font: inherit;
}

.search-form button {
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.25rem;
  color: var(--ink-dark);
  font: inherit;
  font-weight: 900;
  background: var(--gold);
  cursor: pointer;
}

.search-results {
  margin-top: 1.4rem;
}

.result-card {
  padding: 1.4rem;
  background: var(--white);
  border-top: 5px solid var(--turquoise);
}

.not-found {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: var(--white);
  background: var(--ink-dark);
  border-left: 12px solid var(--magenta);
}

.not-found p {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .main-navigation {
    grid-column: 1 / -1;
    width: 100%;
  }

  .quick-nav,
  .primary-menu {
    display: none;
    align-items: stretch;
    gap: .25rem;
    padding: .85rem;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .2);
    border-top: 5px solid var(--magenta);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
  }

  .nav-toggle-input:checked ~ .main-navigation .quick-nav,
  .nav-toggle-input:checked ~ .main-navigation .primary-menu,
  .menu-toggle[aria-expanded="true"] ~ .main-navigation .quick-nav,
  .menu-toggle[aria-expanded="true"] ~ .main-navigation .primary-menu,
  .main-navigation.toggled .quick-nav,
  .main-navigation.toggled .primary-menu,
  .main-navigation.is-open .quick-nav,
  .main-navigation.is-open .primary-menu {
    display: grid;
  }

  .quick-nav > .menu-item > a,
  .primary-menu > .menu-item > a,
  .quick-nav .has-dropdown > a,
  .primary-menu .has-dropdown > a,
  .quick-nav .menu-item-has-children > a,
  .primary-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    border-radius: 6px;
    padding: .9rem 1rem;
    color: var(--ink-dark);
    text-shadow: none;
  }

  .quick-nav > .menu-item > a:hover,
  .quick-nav > .menu-item > a:focus,
  .primary-menu > .menu-item > a:hover,
  .primary-menu > .menu-item > a:focus,
  .quick-nav .has-dropdown > a:hover,
  .quick-nav .has-dropdown > a:focus,
  .primary-menu .has-dropdown > a:hover,
  .primary-menu .has-dropdown > a:focus,
  .quick-nav .menu-item-has-children > a:hover,
  .quick-nav .menu-item-has-children > a:focus,
  .primary-menu .menu-item-has-children > a:hover,
  .primary-menu .menu-item-has-children > a:focus {
    color: var(--white);
    background: var(--blue);
  }

  .dropdown,
  .sub-menu {
    position: static;
    width: 100%;
    display: none;
    gap: .15rem;
    margin: -.15rem 0 .65rem;
    padding: 0 0 0 1.35rem;
    color: var(--ink-dark);
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-dropdown.submenu-open > .dropdown,
  .menu-item-has-children.submenu-open > .sub-menu {
    display: grid;
  }

  .dropdown::before,
  .sub-menu::before {
    content: none;
  }

  .dropdown a,
  .sub-menu a {
    position: relative;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    padding: .55rem .85rem .55rem 1.15rem;
    color: var(--muted);
    background: transparent;
  }

  .dropdown a::before,
  .sub-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: .45rem;
    height: 2px;
    background: var(--turquoise);
  }

  .dropdown a:hover,
  .dropdown a:focus,
  .sub-menu a:hover,
  .sub-menu a:focus {
    color: var(--ink-dark);
    background: transparent;
  }

  .hero {
    min-height: 620px;
  }

  .hero-portrait {
    width: min(92vw, 760px);
    transform: translateX(4%);
  }

  .hero-statement {
    width: min(420px, calc(100% - 2.4rem));
  }

  .intro-grid,
  .topic,
  .topic-reverse,
  .news-grid,
  .insight-grid,
  .page-hero-grid,
  .article-layout,
  .archive-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topic-reverse .topic-media {
    order: 0;
  }

  .site-footer nav {
    grid-column: auto;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .news-arrow-prev {
    left: -.7rem;
  }

  .news-arrow-next {
    right: -.7rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 1rem 1.2rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 510px;
    padding-inline: 1rem;
  }

  .hero-portrait {
    width: min(126vw, 640px);
    max-height: 102%;
    transform: translateX(3%);
  }

  .hero-statement {
    left: .9rem;
    right: auto;
    bottom: .9rem;
    width: calc(100% - 1.8rem);
  }

  .hero-statement h1 {
    font-size: clamp(1.75rem, 8.8vw, 2.45rem);
  }

  .hero-statement p {
    max-width: 100%;
    font-size: clamp(.92rem, 4.3vw, 1.2rem);
    line-height: 1.36;
  }

  .section-title,
  .footer-grid {
    display: grid;
    align-items: start;
  }

  .content-hero {
    padding-top: 4rem;
  }

  .featured-media {
    min-height: 260px;
  }

  .list-card,
  .sidebar,
  .search-form {
    grid-template-columns: 1fr;
  }

  .share-strip {
    display: grid;
  }

  .share-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .list-thumb {
    min-height: 190px;
  }

  .search-form button {
    width: 100%;
  }

  .post-navigation,
  .pagination,
  .error-actions {
    justify-content: flex-start;
  }

  .news-card {
    flex-basis: 100%;
  }

  .news-arrow-prev {
    left: -.7rem;
  }

  .news-arrow-next {
    right: -.7rem;
  }
}
