@charset "UTF-8";
dialog.lightbox {
  padding: 0;
  border: 0 none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
}
dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
dialog.lightbox .lightbox__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  display: block;
  touch-action: none;
}
dialog.lightbox.is-loading .lightbox__img {
  visibility: hidden;
}
dialog.lightbox .lightbox__spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lightbox-spin 0.8s linear infinite;
  z-index: 5;
}
dialog.lightbox.is-loading .lightbox__spinner {
  display: block;
}
dialog.lightbox button {
  position: fixed;
  border: 0 none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  z-index: 10;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
dialog.lightbox button:hover {
  opacity: 0.7;
}
dialog.lightbox button[hidden] {
  display: none;
}
dialog.lightbox .lightbox__close {
  top: 20px;
  right: 30px;
  font-size: 4rem;
}
dialog.lightbox .lightbox__prev,
dialog.lightbox .lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}
@media (min-width: 35.5em) {
  dialog.lightbox .lightbox__prev,
  dialog.lightbox .lightbox__next {
    font-size: 3rem;
  }
}
dialog.lightbox .lightbox__prev {
  left: 10px;
}
@media (min-width: 50em) {
  dialog.lightbox .lightbox__prev {
    left: 20px;
  }
}
dialog.lightbox .lightbox__next {
  right: 10px;
}
@media (min-width: 50em) {
  dialog.lightbox .lightbox__next {
    right: 20px;
  }
}
dialog.lightbox .lightbox__caption {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
}
dialog.lightbox .lightbox__caption[hidden] {
  display: none;
}

@keyframes lightbox-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==========================================================================
   Fonts (self-hosted Inter — no external CDN, GDPR-safe)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: optional;
  src: url("/assets/fonts/InterVariable-Italic.woff2") format("woff2");
}
/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-text: #1c1c1c;
  --color-muted: #5d5d5d;
  --color-accent: #b90707;
  --color-accent-hover: #8f0505;
  --color-border: #e4e4e4;
  --color-surface: #f7f7f8;
  --color-highlight-bg: #ffeff1;
  --maxw: 1240px;
  --sidebar: 220px;
  --measure: 76ch;
  --radius: 10px;
  --card-radius: 18px;
  --shadow: 0 1px 2px rgba(20, 20, 22, 0.05), 0 12px 32px rgba(20, 20, 22, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #17191e;
    --color-text: #e8e8ea;
    --color-muted: #a2a2a8;
    --color-accent: #ff6b6b;
    --color-accent-hover: #ff8a8a;
    --color-border: #2c2f36;
    --color-surface: #212530;
    --color-highlight-bg: #2a1618;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}
/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  /* reserve the scrollbar gutter so pages with/without a scrollbar don't shift */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  /* one single surface for the whole page — no separate backdrop, no card */
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
iframe {
  max-width: 100%;
  border: 0;
}

img {
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   Skip link and SR-only
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Layout — asymmetric two columns: sticky sidebar + wide content
   ========================================================================== */
.layout {
  max-width: var(--maxw);
  /* just a centered column sitting directly on the page — no card */
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 2.5rem);
  /* fill the viewport height so the footer sits at the bottom on short pages */
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: var(--sidebar) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}
/* ==========================================================================
   Sidebar header + navigation
   ========================================================================== */
@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: clamp(1.5rem, 4vw, 3rem);
    align-self: start;
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
    border-right: 1px solid var(--color-border);
  }
}
/* on mobile the sidebar sits above the content, divided by a rule */
@media (max-width: 899px) {
  .site-header {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }
}
.logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--color-text);
  /* signature red accent dot */
}
.logo::after {
  content: ".";
  color: var(--color-accent);
}
.logo-link:hover .logo {
  color: var(--color-accent);
}

.site-nav {
  margin-top: 1.75rem;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  position: relative;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  padding: 0.15rem 0;
}
.site-nav a:hover, .site-nav a.current {
  color: var(--color-accent);
}

/* vertical nav in the sidebar on wide screens, with an accent marker */
@media (min-width: 900px) {
  .site-nav {
    margin-top: 2rem;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.35rem 0 0.35rem 1rem;
    border-left: 2px solid transparent;
  }
  .site-nav a.current {
    border-left-color: var(--color-accent);
    font-weight: 700;
  }
  .site-nav a:hover {
    border-left-color: var(--color-accent);
  }
}
/* ==========================================================================
   Content column
   ========================================================================== */
.content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.site-main {
  padding: 0;
}
.site-main > :first-child {
  margin-top: 0;
}

/* keep running prose at a comfortable measure even in the wide column */
.site-main p,
.biggertext,
.prose p,
.projdesc {
  max-width: var(--measure);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   Headings
   ========================================================================== */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
h1::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 4px;
  border-radius: 2px;
  background: var(--color-accent);
}

h2,
h3,
h4 {
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  /* short accent rule before section headings */
}
h2::before {
  content: "";
  flex: none;
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* legal-page headings read as prose, not accented sections */
.prose h2 {
  display: block;
}
.prose h2::before {
  display: none;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Content links
   ========================================================================== */
.site-main a {
  color: var(--color-accent);
  text-decoration: none;
}
.site-main a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* automatic styling of inline links in text blocks */
.site-main p a,
.site-main li a,
.biggertext a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* project tiles are whole-card links — the hover border is the affordance,
   so never underline them */
.site-main a.tile,
.site-main a.tile:hover {
  text-decoration: none;
}

/* arrow-prefixed links — icon uses currentColor via mask so it adapts to theme */
a.arrow {
  padding-left: 1.1em;
  background-image: none;
  position: relative;
}
a.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 0.8em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat left center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat left center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ==========================================================================
   Intro / lead paragraphs
   ========================================================================== */
.biggertext {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.biggertext p {
  margin: 0 0 1rem;
}

/* ==========================================================================
   Publikationen
   ========================================================================== */
.publications {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin-bottom: 4.5rem;
}

.publication header h2 {
  margin: 0;
  font-size: 1.1rem;
}
.publication header h2::before {
  display: none;
}
.publication header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.15rem 0 1rem;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.publication-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .publication-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .publication-cover {
    flex: 0 0 200px;
  }
}
.publication-cover img {
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  display: block;
}

.publication-info p {
  margin-top: 0;
  margin-bottom: 1rem;
}
.publication-info p:last-child {
  margin-bottom: 0;
}

.software-projects {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin-bottom: 4.5rem;
}
.software-projects .project h2 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.software-projects .project h2::before {
  display: none;
}
.software-projects .project p {
  margin-top: 0;
  margin-bottom: 1rem;
}
.software-projects .project p:last-child {
  margin-bottom: 0;
}

/* Back link on project subpages */
.projekteback {
  clear: both;
  text-align: center;
  padding-top: 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Konferenzen list
   ========================================================================== */
.conflist h2 {
  margin-top: 2.75rem;
}
.conflist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.conflist li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}
.conflist li:last-child {
  border-bottom: 0;
}
.conflist .title {
  font-weight: 600;
}
.conflist .title a {
  color: var(--color-text);
}
.conflist .title a:hover {
  color: var(--color-accent);
}
.conflist span.type {
  display: inline;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  font-size: 0.8em;
  font-weight: 700;
}
.conflist .location {
  color: var(--color-text);
}
.conflist .date {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.conflist .link {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.conflist .link a {
  color: var(--color-muted);
}
.conflist .link a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Projekte Liste
   ========================================================================== */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0 0 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  text-decoration: none;
  color: var(--color-text);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: transparent;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.tile:hover {
  background-color: var(--color-surface);
  transform: translateX(4px);
}

.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)) 0%, var(--color-surface) 100%);
  color: var(--color-text);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.tile-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--color-highlight-bg) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tile-icon svg {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.2;
  transition: color 0.3s ease;
}
.tile:hover .tile-icon::before {
  opacity: 1;
}
.tile:hover .tile-icon svg {
  color: var(--color-accent);
}

.tile-label {
  font-size: 1.25rem;
  font-weight: 600;
}
.tile:hover .tile-label {
  color: var(--color-accent);
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

a.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
  text-decoration: none;
}
a.contact-card:hover .contact-icon {
  color: var(--color-accent);
}
a.contact-card:hover .contact-details span {
  color: var(--color-accent);
}

.contact-icon {
  color: var(--color-text);
  margin-bottom: 1.25rem;
  transition: color 0.2s ease;
}

.contact-details h2 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
  text-transform: none;
  letter-spacing: normal;
}
.contact-details h2::before {
  display: none;
}
.contact-details p, .contact-details span {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* ==========================================================================
   Musik video list
   ========================================================================== */
.video-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.video-list h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: var(--color-accent);
}
.video-list h2::before {
  display: none;
}
.video-list iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
}
.video-list .yt-thumbnail-link {
  display: block;
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-border);
  box-shadow: var(--shadow);
}
.video-list .yt-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-list .yt-thumbnail-link .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(2px);
}
.video-list .yt-thumbnail-link .play-button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px; /* adjust for optical centering */
}
.video-list .yt-thumbnail-link:hover img, .video-list .yt-thumbnail-link:focus-visible img {
  transform: scale(1.05);
}
.video-list .yt-thumbnail-link:hover .play-button, .video-list .yt-thumbnail-link:focus-visible .play-button {
  background-color: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   Impressum / Datenschutz (legal pages read as normal prose)
   ========================================================================== */
.prose h2,
.prose h3,
.prose h4 {
  font-family: inherit;
  color: var(--color-accent);
  text-transform: none;
  letter-spacing: normal;
}
.prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2rem;
}
.prose h3 {
  font-size: 1.25rem;
}
.prose h4 {
  font-size: 1.05rem;
}

/* ==========================================================================
   Home tag cloud
   ========================================================================== */
#tagcloud {
  width: 100%;
  max-width: 800px;
  min-height: 400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 25px;
  align-content: center;
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
}
#tagcloud li {
  font-size: var(--tc-size);
  opacity: var(--tc-opacity);
  color: var(--color-accent);
  line-height: 1;
  font-weight: bold;
  transition: color 0.2s, transform 0.2s, opacity 0.2s;
  cursor: default;
}
#tagcloud li.second {
  color: var(--color-text);
}
#tagcloud li:hover {
  color: var(--color-text);
  transform: scale(1.05);
  opacity: 1;
}
#tagcloud li.second:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Blog Grid & Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.blog-card {
  display: flex;
  height: 100%;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
  text-decoration: none !important;
}
.blog-card-link:hover .blog-card-title span {
  color: var(--color-accent);
}
.blog-card-link:hover .read-more-link {
  color: var(--color-accent);
}

.blog-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-border);
  position: relative;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.blog-card-meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-date {
  font-weight: 600;
}

.blog-card-lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-highlight-bg);
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
}

.blog-card-authors {
  color: var(--color-muted);
  line-height: 1.4;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.8rem 0;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.blog-card-title::before {
  display: none;
}
.blog-card-title span {
  transition: color 0.2s ease;
}
.blog-card-title .external-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  opacity: 0.5;
  color: var(--color-muted);
  transition: opacity 0.2s ease, color 0.2s ease;
}

.blog-card-link:hover .blog-card-title .external-icon {
  opacity: 1;
  color: var(--color-accent);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.blog-card-excerpt p {
  margin: 0;
  max-width: none;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.read-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/*# sourceMappingURL=styles.css.map */