/**
 * skTheme Custom Styles
 * Custom styles for Soziales Kapital
 */

/* Local Fonts */
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/Noto_Sans/NotoSans-VariableFont_wdth,wght.woff2') format('woff2'),
       url('../fonts/Noto_Sans/NotoSans-VariableFont_wdth,wght.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/Noto_Sans/NotoSans-Italic-VariableFont_wdth,wght.woff2') format('woff2'),
       url('../fonts/Noto_Sans/NotoSans-Italic-VariableFont_wdth,wght.woff') format('woff');
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.woff') format('woff');
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

/* Playfair Display: use lining (uppercase) numerals so numbers in headings
   sit on the baseline instead of dropping below it (oldstyle figures). */
h1, h2, h3, h4, h5, h6 {
  font-variant-numeric: lining-nums;
}

/* ==========================================================================
   Color Variables
   ========================================================================== */
:root {
  /* Brand Colors */
  --sk-color-primary: #b8a276;          /* Gold/Sand - Hero, Footer */
  --sk-color-primary-80: #c6b491;
  --sk-color-primary-60: #d4c7ad;
  --sk-color-primary-light: #e7dac3;    /* Light Sand - Issue Hero Background */
  --sk-color-primary-lighter: #f4ebdb;  /* Cream - Info Pages Background */
  --sk-color-primary-extralight: #faf1e0;      

  /* Neutral Colors */
  --sk-color-white: #fefefe;            /* Off-white - Background, Text on dark */
  --sk-color-black: rgba(0, 0, 0, 0.95); /* Near-black - Text, UI elements */

  /* Text Colors */
  --sk-color-text: var(--sk-color-black);
  --sk-color-text-muted: rgba(0, 0, 0, 0.65);
  --sk-color-text-light: rgba(0, 0, 0, 0.5);

  /* UI Colors */
  --sk-color-border: rgba(0, 0, 0, 0.1);
  --sk-color-overlay: rgba(0, 0, 0, 0.7);
  --sk-color-overlay-dark: rgba(0, 0, 0, 0.9);

  /* Status Colors */
  --sk-color-success: #2e7d32;
  --sk-color-error: #c62828;

  /* Layout Variables */
  --sk-max-width: 1200px;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   Unified Button Style
   ========================================================================== */
.sk-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  border: 2px solid var(--sk-color-black);
  background-color: var(--sk-color-black);
  color: var(--sk-color-primary-lighter);
  transition: all 0.2s ease;
}

.sk-btn:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

.sk-btn--secondary {
  background-color: transparent;
  color: var(--sk-color-black);
}

.sk-btn--secondary:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-primary-lighter);
}

/* Typography */
body {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

/* General background color and sticky footer layout */
body {
  background-color: var(--sk-color-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.sk-hero {
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0;
}

.sk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/plugins/themes/skTheme/resources/images/hero-image-sz.webp');
  background-size: cover;
  background-position: center right;
  opacity: 0;
  animation: sk-fade-in 0.8s ease-out forwards;
  z-index: 0;
}

.sk-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  justify-content: flex-end;
}

.sk-hero__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.sk-hero__logo {
  width: 100%;
  max-width: 290px;
  height: auto;
  margin-bottom: 1.5rem;
}

.sk-hero__tagline {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  text-wrap: balance;
  color: var(--sk-color-text);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.sk-hero__buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.sk-hero__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.2s ease;
}

.sk-hero__btn--primary {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
  border: 2px solid var(--sk-color-black);
}

.sk-hero__btn--primary:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

.sk-hero__btn--secondary {
  background-color: transparent;
  color: var(--sk-color-black);
  border: 2px solid var(--sk-color-black);
}

.sk-hero__btn--secondary:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

.main__homepage {
  margin-top: 0;
}


@media (max-width: 991px) {
  .sk-hero {
    min-height: 50vh;
  }

  .sk-hero__logo {
    width: 180px;
  }
}

@media (max-width: 767px) {
  .sk-hero {
    min-height: 60vh;
    align-items: flex-end;
  }

  .sk-hero::before {
    background-position: left top;
    background-repeat: no-repeat;
    background-color: #e3e0d5;
    background-size: contain;
  }

  .sk-hero__inner {
    justify-content: center;
    padding-bottom: 0;
  }

  .sk-hero__content {
    background-color: #e3e0d5ee;
    width: 90%;
    align-items: center;
    text-align: center;
  }

  .sk-hero__tagline {
    font-size: 1rem;
  }

  .sk-hero__btn {
    text-align: center;
  }
}

/* ==========================================================================
   Current Issue Section
   ========================================================================== */
.sk-current-issue {
  background-color: var(--sk-color-primary-lighter);
  padding: 11vh 2rem;
  margin: 0;
}

.sk-current-issue__inner {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.sk-current-issue__cover {
  flex: 0 0 280px;
  filter: drop-shadow(-10px 10px 20px rgba(0, 0, 0, 0.25));
}

.sk-current-issue__cover-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.sk-current-issue__cover-link:hover {
  transform: translateY(-5px);
}

.sk-current-issue__info {
  flex: 1;
  min-width: 0;
}

.sk-current-issue__label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sk-current-issue__label, --sk-color-text-muted);
  margin: 0 0 0.5rem 0;
}

.sk-current-issue__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

.sk-current-issue__volume,
.sk-current-issue__number {
  display: inline;
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
}

.sk-current-issue__issue-title {
  display: block;
  font-size: 2rem;
  margin-top: 0.25rem;
}

.sk-current-issue__date {
  font-size: 0.875rem;
  color: var(--sk-color-text-muted);
  margin: 0 0 1.5rem 0;
}

.sk-current-issue__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sk-color-text);
  margin-bottom: 1.5rem;
}

.sk-current-issue__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  border: 2px solid var(--sk-color-black);
  transition: all 0.2s ease;
}

.sk-current-issue__btn:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

@media (max-width: 767px) {
  .sk-current-issue__inner {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .sk-current-issue__cover {
    flex: 0 0 auto;
    width: 200px;
  }

  .sk-current-issue__info {
    text-align: center;
  }

  .sk-current-issue__title {
    font-size: 1.5rem;
  }

  .sk-current-issue__issue-title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Homepage Section Common Styles
   ========================================================================== */
.sk-section__inner {
  max-width: var(--sk-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.sk-section__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: var(--sk-color-text);
}

/* ==========================================================================
   Recent Issues Section
   ========================================================================== */
.sk-recent-issues {
  padding: 3rem 0;
  background-color: var(--sk-color-primary-light);
}

.sk-recent-issues__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.sk-recent-issues__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sk-recent-issues__cover-link {
  display: block;
  width: 100%;
  max-width: 180px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  filter: drop-shadow(-5px 5px 10px rgba(0, 0, 0, 0.2));
}

.sk-recent-issues__cover-link:hover {
  transform: translateY(-5px);
}

.sk-recent-issues__item .archive-cover {
  width: 100%;
}

.sk-recent-issues__date {
  font-size: 0.8rem;
  margin: 0.75rem 0 0 0;
}
.sk-recent-issues .sk-section__title {
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  .sk-recent-issues__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sk-contribute__cta {
    text-align: center;
    align-items: center;
  }
}

/* Archive button item in grid - bottom aligned */
.sk-recent-issues__archive {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem
}

@media (max-width: 480px) {
  .sk-recent-issues__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sk-recent-issues__cover-link {
    max-width: 140px;
  }
  .sk-recent-issues__archive {
    margin-top: 1.5rem;
  }
  .sk-section__title {
    text-align: center;
  }

}

/* ==========================================================================
   About Section (Journal Description & Announcements)
   ========================================================================== */
.sk-about-section {
  padding: 3rem 0;
  background-color: var(--sk-color-primary-lighter);
}

.sk-about-section__inner {
  max-width: var(--sk-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
}

.sk-journal-desc {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.sk-journal-desc__content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sk-color-text);
  margin-bottom: 1.5rem;
  max-width: 660px;
}

.sk-journal-desc__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--sk-color-black);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  transition: all 0.2s ease;
}

.sk-journal-desc__btn:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

.sk-announcements {
  flex: 1;
  min-width: 0;
}

.sk-announcements__carousel {
  position: relative;
}

.sk-announcements__items {
  position: relative;
}

.sk-announcements__item {
  display: none;
}

.sk-announcements__item--active {
  display: block;
}

.sk-announcements__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.sk-announcements__date {
  font-size: 0.8rem;
  color: var(--sk-color-text-muted);
  margin: 0 0 1rem 0;
}

.sk-announcements__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sk-announcements__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--sk-color-black);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  transition: all 0.2s ease;
}

.sk-announcements__btn:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

.sk-announcements__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sk-announcements__control {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--sk-color-black);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.sk-announcements__control:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

@media (max-width: 767px) {
  .sk-about-section__inner {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ==========================================================================
   Contribute Section (30/70 Layout with Upcoming Issues)
   ========================================================================== */
.sk-contribute {
  padding: 4rem 2rem;
  background-color: var(--sk-color-primary-80);
  margin: 0;
  position: relative;
}

.sk-contribute__inner {
  max-width: var(--sk-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 2rem;
  align-items: start;
  padding: 0 2rem;
}

/* Left column: CTA */
.sk-contribute__cta {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.sk-contribute__cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--sk-color-black);
  margin: 0 0 1rem 0;
}

.sk-contribute__cta p {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--sk-color-text);
  margin: 0 0 1.5rem 0;
}

.sk-contribute__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  transition: all 0.2s ease;
}

.sk-contribute__btn:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

/* Right column: Upcoming Issues */
.sk-upcoming-issues__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.sk-upcoming-issues__card {
  background: var(--sk-color-primary-light);
  border: 1px solid var(--sk-color-border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sk-upcoming-issues__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sk-upcoming-issues__card--cfp {
  background: var(--sk-color-primary-lighter);
  transform: scale(1.04);
  box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.1);
}

.sk-upcoming-issues__card--cfp:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 3px 5px 20px rgba(0, 0, 0, 0.14);
}

.sk-upcoming-issues__number {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sk-color-text-muted);
  margin-bottom: 0.35rem;
}

.sk-upcoming-issues__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--sk-color-text);
  margin: 0 0 0.75rem 0;
  flex: 1;
}

.sk-upcoming-issues__dates {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
  font-family: 'Noto Sans', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sk-upcoming-issues__dates li {
  display: flex;
  flex-direction: column;
}

.sk-upcoming-issues__date-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sk-color-text-muted);
  line-height: 1.2;
}

.sk-upcoming-issues__date-value {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--sk-color-text);
  line-height: 1.3;
}

.sk-upcoming-issues__cfp-badge {
  display: inline-block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--sk-color-primary);
  color: var(--sk-color-white);
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.sk-upcoming-issues__link {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sk-color-black);
  text-decoration: none;
  border-bottom: 1px solid var(--sk-color-black);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.sk-upcoming-issues__link:hover {
  opacity: 0.6;
}

/* Outline button for CFP link */
.sk-upcoming-issues__btn-outline {
  display: inline-block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--sk-color-black);
  background-color: transparent;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  border: 1px solid var(--sk-color-black);
  transition: all 0.2s ease;
  margin-top: auto;
}

.sk-upcoming-issues__btn-outline:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

/* Edit button for admins */
/* Base style for all edit buttons */
.sk-edit-btn,
.sk-page-editor__toggle,
.sk-desc-editor__toggle {
  position: absolute;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--sk-color-overlay);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
  z-index: 999;
}

/* SVG icon via CSS - pencil/edit icon */
.sk-edit-btn::before,
.sk-page-editor__toggle::before,
.sk-desc-editor__toggle::before {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/><path d="m15 5 4 4"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hide any SVG children (for backwards compatibility) */
.sk-edit-btn svg,
.sk-page-editor__toggle svg,
.sk-desc-editor__toggle svg {
  display: none;
}

/* Hover states */
.sk-edit-btn:hover,
.sk-page-editor__toggle:hover,
.sk-desc-editor__toggle:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Specific positioning for sk-edit-btn (upcoming issues) and for the btn for sk-journal-desc__content */
.sk-edit-btn, #skHomeDescEditToggle {
  top: 2rem;
  right: 2rem;
  bottom: unset;
  margin:0;
  position: absolute;
}

.sk-contribute:hover .sk-edit-btn {
  opacity: 1;
}

/* Upcoming Issues Editor (inside modal) */
.sk-upcoming-editor__item {
  border: 1px solid var(--sk-color-border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  position: relative;
}

.sk-upcoming-editor__item legend {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 1rem 1.2rem;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px 3px 0 0;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  margin-top: -1rem;
  margin-bottom: 0.75rem;
  width: calc(100% + 2.5rem);
}

.sk-upcoming-editor__row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.sk-upcoming-editor__row label {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--sk-color-text-muted);
}

.sk-upcoming-editor__wide {
  flex: 3 !important;
}

.sk-upcoming-editor__row input[type="text"],
.sk-upcoming-editor__row input[type="date"] {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--sk-color-border);
  border-radius: 3px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.sk-upcoming-editor__row input[type="text"]:focus,
.sk-upcoming-editor__row input[type="date"]:focus {
  outline: none;
  border-color: var(--sk-color-black);
}

.sk-upcoming-editor__checkbox {
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.4rem;
}

.sk-upcoming-editor__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
}

.sk-upcoming-editor__hint {
  font-size: 0.7rem;
}

.sk-upcoming-editor__legend {
  display: flex;
  align-items: center;
  width: 100%;
}

.sk-upcoming-editor__delete {
  background: none;
  border: none;
  color: var(--sk-color-text-muted);
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.sk-upcoming-editor__delete svg {
  width: 14px;
  height: 14px;
}

.sk-upcoming-editor__delete:hover {
  color: #c00;
}

.sk-upcoming-editor__cfp-row {
  align-items: flex-end;
}

.sk-upcoming-editor__cfp-row input[readonly] {
  background: var(--sk-color-bg);
  color: var(--sk-color-text-muted);
  cursor: default;
  width: 7rem;
}

.sk-upcoming-editor__cfp-btn {
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Arrow icon for "Seite öffnen" button (up-right external link arrow) */
.sk-upcoming-editor__cfp-btn[data-exists="1"]::after {
  content: '';
  width: 11px;
  height: 11px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="m20.7 512c-5.3 0-10.6-2-14.6-6.1-8.1-8.1-8.1-21.2 0-29.2l467.2-467.3c8.1-8.1 21.2-8.1 29.2 0 8.1 8.1 8.1 21.2 0 29.2l-467.2 467.3c-4 4.1-9.3 6.1-14.6 6.1z"/><path fill="white" d="m491.3 235.5c-11.4 0-20.6-9.2-20.7-20.6l-.6-172.9-172.9-.6c-11.4 0-20.6-9.3-20.6-20.8 0-11.4 9.3-20.6 20.7-20.6h.1l184.2.7c16.4.1 29.7 13.4 29.8 29.8l.7 184.2c0 11.4-9.2 20.7-20.7 20.8z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.sk-upcoming-editor__add {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Responsive: Contribute section */
@media (max-width: 991px) {
  .sk-contribute__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .sk-contribute__cta {
    position: static;
    text-align: center;
    align-items: center;
  }
  .sk-upcoming-issues__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .sk-upcoming-issues__grid {
    grid-template-columns: 1fr;
  }
  .sk-upcoming-editor__row {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Additional Content Section
   ========================================================================== */
.sk-additional-content {
  padding: 3rem 0;
  background-color: var(--sk-color-white);
}

.sk-additional-content p {
  line-height: 1.7;
}

/* ==========================================================================
   Legacy Hero Section (kept for compatibility)
   ========================================================================== */
.hero-container {
  height: calc(80vh - 200px);
  background: var(--sk-color-primary);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  overflow: visible;
  margin-bottom: 160px;
}

.hero-cover-wrapper {
  height: 100%;
  transform: translateY(100px);
  filter: drop-shadow(-15px 15px 25px rgba(0, 0, 0, 0.3));
}

.hero-cover-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-cover {
  aspect-ratio: 2 / 3;
  height: 100%;
  background-image: url('/plugins/themes/skTheme/resources/images/cover-background.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6.8%;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
}

.hero-cover__meta {
  position: absolute;
  top: 7%;
  right: 7%;
  text-align: right;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 4.75cqi;
  line-height: 1.4;
}

.hero-cover__title {
  margin-top: auto;
  width: 100%;
  margin-bottom: 7%;
}

/* Cover title text styling with clamp() for fluid sizing */
.hero-cover__title-text {
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: left;
  color: white;
  z-index: 9;
  position: relative;
}

.hero-cover__title-line {
  display: block;
}

/* Hero cover: larger title sizing based on container */
.hero-cover .hero-cover__title-text,
.hero-cover .hero-cover__title--lines-2 .hero-cover__title-text,
.hero-cover .hero-cover__title--lines-3 .hero-cover__title-text {
    font-size: clamp(0.8rem, 8cqi, 4rem);
}

/* Archive cover: smaller title sizing */
.archive-cover .hero-cover__title-text {
  font-size: clamp(0.6rem, 8cqi, 1.5rem);
}

.archive-cover .hero-cover__title--lines-2 .hero-cover__title-text {
  font-size: clamp(0.5rem, 8cqi, 1.2rem);
}

.archive-cover .hero-cover__title--lines-3 .hero-cover__title-text {
  font-size: clamp(0.45rem, 8cqi, 1rem);
}

/* Enable container queries */
.hero-cover,
.archive-cover {
  container-type: inline-size;
}

.hero-cover__overlay,
.archive-cover__overlay {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  height: 50%;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Archive Cover (smaller version for listings) */
.archive-cover {
  aspect-ratio: 2 / 3;
  width: 100%;
  background-image: url('/plugins/themes/skTheme/resources/images/cover-background.webp');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 7%;
  display: flex;
  flex-direction: column;
  border-radius: 2px;
  box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  transition: box-shadow 0.25s ease;
}

.archive-cover__meta {
  position: absolute;
  top: 7%;
  right: 7%;
  text-align: right;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.3;
}

.archive-cover .hero-cover__title {
  margin-top: auto;
  width: 100%;
  margin-bottom: 7%;
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 576px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Footer */
.main-footer {
  background-color: var(--sk-color-primary);
}
.main-footer p {
  font-size: 0.8em;
}
.main-footer__credit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.7rem;
  border-top: 1px solid var(--sk-color-border);
}

.main-footer__credit a {
  color: inherit;
  text-decoration: none;
}

.main-footer__credit a:hover {
  text-decoration: underline;
}

.main-footer__credit img {
  height: 55px;
  width: auto;
}


/* ==========================================================================
   Header & Navigation
   Overrides theme.css base styles (dark header → light header)
   ========================================================================== */

/* --- Header Container --- */

.main-header {
  background-color: var(--sk-color-white);
}

.main-header a {
  color: var(--sk-color-black);
}

.main-header--auto-hide {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.main-header--hidden {
  transform: translateY(-100%);
}

/* --- Primary Nav Bar --- */

.main-menu {
  justify-content: space-between;
  align-items: center;
}

.main-menu__nav {
  margin-left: auto;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
  }
}

/* --- Logo --- */

.main-menu__title {
  font-size: 0;
  line-height: 0;
}

.main-menu__title a {
  display: block;
  background-image: url('/plugins/themes/skTheme/resources/images/sk-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  width: 80px;
  height: 50px;
  text-indent: -9999px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.main-menu__title a:hover {
  transform: scale(1.03);
}

/* --- Nav Links (Two-Phase Hover Animation) ---
   Phase 1: Underline expands from center (::before)
   Phase 2: Fill expands upward with delay (::after)
   Text color transitions with same delay as fill */

.main-menu__nav-link {
  color: var(--sk-color-black);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.15s ease 0.45s;
}

.main-menu__nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background-color: var(--sk-color-black);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: -1;
}

.main-menu__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--sk-color-black);
  transition: height 0.15s ease 0.45s;
  z-index: -1;
}

.main-menu__nav-link:hover,
.main-menu__nav-link:focus,
.main-menu__nav-link:active {
  color: var(--sk-color-white);
}

.main-menu__nav-link:hover::before,
.main-menu__nav-link:focus::before,
.main-menu__nav-link:active::before {
  width: 100%;
}

.main-menu__nav-link:hover::after,
.main-menu__nav-link:focus::after,
.main-menu__nav-link:active::after {
  height: 100%;
}

/* --- Hamburger Menu (Mobile) --- */

.hamburger__icon,
.hamburger__icon:before,
.hamburger__icon:after {
  background-color: var(--sk-color-black);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.hamburger:focus,
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.hamburger[aria-expanded="true"] .hamburger__icon {
  background-color: transparent;
}

.hamburger[aria-expanded="true"] .hamburger__icon:before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__icon:after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Mobile Menu (max-width: 991px) --- */

@media (max-width: 991px) {
  /* Left-align menu items (override .main-header ul { text-align: center } from theme.css) */
  .main-header .navbar-nav {
    text-align: left;
    padding: 1rem 0;
  }

  /* Override .main-header li { display: inline-block } from theme.css */
  .main-header .main-menu__nav-item,
  .main-header .dropdown-item {
    display: block;
    margin: 0;
  }

  .main-menu__nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow: visible;
    transition: background-color 0.35s ease, color 0.35s ease;
  }

  /* Remove the two-phase hover animation on mobile */
  .main-menu__nav-link::before,
  .main-menu__nav-link::after {
    display: none;
  }

  .main-menu__nav-link:hover {
    background-color: var(--sk-color-black);
    color: var(--sk-color-white);
  }

  /* Remove blue focus outline on dropdown toggles (Bootstrap default) */
  .main-menu__nav-link:focus,
  .main-menu__nav-link:active,
  .main-menu__nav-link[aria-expanded="true"] {
    outline: none;
    box-shadow: none;
    color: var(--sk-color-black);
    background-color: transparent;
  }

  /* Indent submenu items */
  .dropdown-menu {
    padding: 0;
    border: none;
    background-color: transparent;
    box-shadow: none;
  }

  .dropdown-menu .dropdown-item {
    border-top: none;
    text-align: left;
  }

  .dropdown-menu .dropdown-item a {
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    font-size: 0.9rem;
    color: var(--sk-color-black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.35s ease, color 0.35s ease;
  }

  .dropdown-menu .dropdown-item a:hover,
  .dropdown-menu .dropdown-item a:focus,
  .dropdown-menu .dropdown-item a:active {
    background-color: var(--sk-color-black);
    color: var(--sk-color-white);
  }

  .dropdown-menu .dropdown-item:last-child a {
    border-bottom: none;
  }

  /* Search: show text with icon on mobile */
  .nmi_type_search .main-menu__nav-link span {
    display: inline;
    text-indent: 0;
    width: auto;
    height: auto;
    background-position: left center;
    background-size: 0.9rem 0.9rem;
    padding-left: 1.4rem;
    overflow: visible;
    font-size: 1rem;
  }
}

/* --- Dropdown Menus (Desktop) --- */

@media (min-width: 992px) {
  .main-menu__nav-item.dropdown:hover > .dropdown-menu,
  .main-header__admin .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown-menu {
    text-align: left;
    min-width: 180px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .dropdown-menu .dropdown-item {
    padding: 0;
    font-size: 0.9rem;
    text-align: left;
  }

  .dropdown-menu .dropdown-item.profile {
    font-size: 0.8em;
  }

  .dropdown-menu .dropdown-item a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 1rem 1.6rem;
  }

  .dropdown-menu .dropdown-item.profile a {
    padding: 8px 16px;
  }
}

/* --- Search Menu Item (Icon Only) --- */

.nmi_type_search .main-menu__nav-link span {
  display: inline-flex;
  align-items: center;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 489.71 489.62" xmlns="http://www.w3.org/2000/svg"><path d="M483.4,454.4l-121.3-121.4c28.7-35.2,46-80,46-128.9C408.1,91.6,316.6,0,204,0S0,91.6,0,204.1s91.5,204,204.1,204c48.8,0,93.7-17.3,128.9-46l121.3,121.3c8.3,8.3,20.9,8.3,29.2,0s8.3-20.7-.1-29ZM40.7,204.1c0-90.1,73.2-163.3,163.3-163.3s163.4,73.3,163.4,163.4-73.3,163.4-163.4,163.4S40.7,294.2,40.7,204.1Z"/></svg>');
  background-size: 1.15rem 1.15rem;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-image 0.15s ease 0.45s;
  hyphens: none;
  word-break: normal;
  text-indent: 30px;
}

.nmi_type_search .main-menu__nav-link:hover span,
.nmi_type_search .main-menu__nav-link:focus span,
.nmi_type_search .main-menu__nav-link:active span {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 489.71 489.62" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M483.4,454.4l-121.3-121.4c28.7-35.2,46-80,46-128.9C408.1,91.6,316.6,0,204,0S0,91.6,0,204.1s91.5,204,204.1,204c48.8,0,93.7-17.3,128.9-46l121.3,121.3c8.3,8.3,20.9,8.3,29.2,0s8.3-20.7-.1-29ZM40.7,204.1c0-90.1,73.2-163.3,163.3-163.3s163.4,73.3,163.4,163.4-73.3,163.4-163.4,163.4S40.7,294.2,40.7,204.1Z"/></svg>');
}

/* --- Login Link (Logged-Out State) --- */

@media (min-width: 992px) {
  .nmi_type_user_login.dropdown-item {
    border-top: 1px dashed var(--sk-color-primary);
  }
}

/* --- User Dashboard Menu (Logged-In State) --- */

@media (min-width: 992px) {
  .nmi_type_user_dashboard > .main-menu__nav-link {
    color: var(--sk-color-white);
    background-color: var(--sk-color-primary);
  }

  .nmi_type_user_dashboard > .main-menu__nav-link::before {
    background-color: var(--sk-color-black);
  }

  .nmi_type_user_dashboard > .main-menu__nav-link::after {
    background-color: var(--sk-color-black);
  }

  .nmi_type_user_dashboard > .main-menu__nav-link:hover,
  .nmi_type_user_dashboard > .main-menu__nav-link:focus,
  .nmi_type_user_dashboard > .main-menu__nav-link:active {
    color: var(--sk-color-white);
  }

  .nmi_type_user_dashboard > .main-menu__nav-link .dropdown-toggle::after {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline fill='none' stroke='%23fff' stroke-width='2' points='13 1 7 7 1 1'/%3E%3C/svg%3E");
  }

  .nmi_type_user_dashboard .dropdown-menu {
    border: 1px dashed var(--sk-color-primary);
    background-color: #fff;
  }

  .nmi_type_user_dashboard .dropdown-menu .dropdown-item {
    border-bottom: 1px dashed var(--sk-color-primary);
  }

  .nmi_type_user_dashboard .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .nmi_type_user_dashboard .dropdown-menu .dropdown-item a:hover,
  .nmi_type_user_dashboard .dropdown-menu .dropdown-item a:focus {
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
  }
}

/* --- Task Count Badge --- */

.task_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: var(--sk-color-primary);
  border-radius: 10px;
  vertical-align: super;
}

.task_count:empty {
  display: none;
}

/* Selection color */
::selection {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

/* Primary button colors */
.btn-primary {
  color: var(--sk-color-white);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
  color: var(--sk-color-white);
}

/* Alert colors */
[role=alert] {
  color: var(--sk-color-white);
}

[role=alert] a {
  color: var(--sk-color-white);
}

/* Issue Detail Hero Section */
.issue-hero {
  background: var(--sk-color-primary-light);
  padding: 80px 0;
  margin-bottom: 40px;
  position: relative;
}

.issue-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--sk-cover-color, transparent);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.issue-hero > .container {
  position: relative;
  z-index: 1;
}

.issue-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 70px;
  align-items: start;
}

.issue-hero__cover-wrapper {
  filter: drop-shadow(-15px 15px 25px rgba(0, 0, 0, 0.3));
}

.issue-hero__cover {
  width: 300px;
  height: auto;
  aspect-ratio: 2 / 3;
}

/* TOC Box on the right */
.issue-hero__toc {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.issue-hero__toc-inner {
  background: var(--sk-color-white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.issue-hero__toc-header {
  margin-bottom: 20px;
}

.issue-hero__toc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 10px;
  line-height: 1.2;
}

.issue-hero__toc-meta {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--sk-color-text-muted);
  margin: 0;
}

.issue-hero__toc-desc {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 40px;
  color: rgba(0, 0, 0, 0.85);
}

.issue-hero__toc-nav {
  margin-top: auto;
}

.issue-hero__toc-nav-title {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sk-color-text-muted);
  margin: 0 0 10px;
}

.issue-hero__toc-sections {
  list-style: none;
  padding: 0;
  margin: 0;
}

.issue-hero__toc-sections li {
  border-bottom: 1px solid var(--sk-color-border);
}

.issue-hero__toc-sections li:last-child {
  border-bottom: none;
}

.issue-hero__toc-section-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.issue-hero__toc-section-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.issue-hero__toc-section-link:hover .issue-hero__toc-section-title {
  text-decoration: underline;
}

.issue-hero__toc-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1rem;
}

.issue-hero__toc-section-count {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--sk-color-text-light);
}

.issue-hero__toc-galleys {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--sk-color-border);
}

/* Issue galley download buttons (full issue PDF etc.) */
.issue-hero__galleys {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sk-color-border);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.issue-hero__galley-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--sk-color-black);
  background-color: transparent;
  color: var(--sk-color-black);
  text-decoration: none;
  transition: all 0.2s ease;
}

.issue-hero__galley-btn:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

.issue-hero__galley-btn--primary {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

.issue-hero__galley-btn--primary:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

.issue-hero__galley-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .issue-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .issue-hero__cover-wrapper {
    justify-self: center;
  }

  .issue-hero__toc-inner {
    padding: 20px;
  }

  .issue-hero__toc-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 992px) {
  .issue-hero__cover {
    width: 200px;
  }
}


/* Inline Color Editor for Managers */
.sk-color-editor {
  position: relative;
  margin-top: 15px;
}

.sk-color-editor__toggle {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--sk-color-overlay);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
  opacity: 0;
}

.issue-hero__cover-wrapper:hover .sk-color-editor__toggle {
  opacity: 1;
}

.sk-color-editor__toggle:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.sk-color-editor--open .sk-color-editor__toggle {
  background: rgba(0, 0, 0, 0.9);
}

.sk-color-editor__panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  padding: 12px 15px;
  background: var(--sk-color-overlay-dark);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
  min-width: 320px;
}

.sk-color-editor--open .sk-color-editor__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sk-color-editor__palettes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-color-editor__palette {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sk-color-editor__palette-name {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  width: 40px;
  flex-shrink: 0;
}

.sk-color-editor__swatches {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.sk-color-editor__swatch {
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s, border-color 0.1s;
}

.sk-color-editor__swatch:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.sk-color-editor__swatch--active {
  border-color: var(--sk-color-white);
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.sk-color-editor__status {
  display: block;
  margin-top: 8px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  min-height: 1em;
}

.sk-color-editor__status--success {
  color: #90EE90;
}

.sk-color-editor__status--error {
  color: #ff6b6b;
}

/* Archive Page Styles */
.archive-page {
  background-color: var(--sk-color-primary-lighter);
}

.archive-page .main__content {
  padding-top: 40px;
  padding-bottom: 60px;
}

.archive-header {
  margin-bottom: 40px;
}

.archive-header .main__title {
  margin-bottom: 10px;
}

.archive-empty {
  text-align: center;
  padding: 40px;
}

/* Archive Grid Layout */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 56px;
}

.archived-issue {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.archived-issue:hover {
  transform: scale(1.02);
}

.archived-issue:hover .archive-cover {
  box-shadow: -12px 12px 25px rgba(0, 0, 0, 0.18);
}

/* Responsive Archive Grid */
@media (max-width: 1200px) {
  .archive-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
  }
}

@media (max-width: 992px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 280px;
    margin: 0 auto;
  }
}

.archive-pagination {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--sk-color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Pagination info text */
.archive-pagination .cmp_pagination__info,
.archive-pagination p {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--sk-color-text-muted);
  margin: 0;
}

/* Pagination navigation */
.archive-pagination nav,
.archive-pagination .cmp_pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Pagination links */
.archive-pagination a,
.archive-pagination .cmp_pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 1rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--sk-color-black);
  background-color: transparent;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  transition: all 0.2s ease;
}

.archive-pagination a:hover,
.archive-pagination .cmp_pagination a:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

/* Previous/Next buttons with arrows */
.archive-pagination a[rel="prev"]::before {
  content: '←';
  margin-right: 0.5rem;
}

.archive-pagination a[rel="next"]::after {
  content: '→';
  margin-left: 0.5rem;
}

/* Disabled state */
.archive-pagination .disabled,
.archive-pagination a.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Page number separator */
.archive-pagination .cmp_pagination__separator {
  color: var(--sk-color-text-muted);
  padding: 0 0.25rem;
}

/* Description Editor Wrapper */
.issue-hero__toc-desc-wrapper {
  position: relative;
}

.issue-hero__toc-desc--empty {
  min-height: 20px;
}

/* Specific positioning for sk-desc-editor__toggle (issue description) */
.sk-desc-editor__toggle {
  top: 0;
  right: 0;
}

.issue-hero__toc-desc-wrapper:hover .sk-desc-editor__toggle {
  opacity: 1;
}

/* Modal Styles */
.sk-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.sk-modal h2, .sk-modal h3, .sk-modal h2, .sk-modal h4  {
    font-family: ui-sans-serif, system-ui, sans-serif;
    margin:0;
}

.sk-modal--open {
  opacity: 1;
  visibility: visible;
}

.sk-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.sk-modal__content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  transition: transform 0.2s;
}

.sk-modal--open .sk-modal__content {
  transform: translateY(0);
}

.sk-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sk-color-border);
  background-color: rgba(0, 0, 0, 0.09);
}

.sk-modal__title {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.sk-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.sk-modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.8);
}

.sk-modal__body {
  padding: 20px;
  flex: 1;
  overflow: auto;
}

.sk-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--sk-color-border);
}

.sk-modal__status {
  margin-right: auto;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.sk-modal__status--success {
  color: var(--sk-color-success);
}

.sk-modal__status--error {
  color: var(--sk-color-error);
}

.sk-modal__btn {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sk-modal__btn--cancel {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.7);
}

.sk-modal__btn--cancel:hover {
  background: rgba(0, 0, 0, 0.12);
}

.sk-modal__btn--save {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
}

.sk-modal__btn--save:hover {
  background: rgba(0, 0, 0, 0.95);
}

.sk-modal__btn--secondary {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.sk-modal__btn--secondary:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Rich Text Editor */
.sk-editor__toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--sk-color-border);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.sk-editor__btn {
  min-width: 32px;
  height: 32px;
  border: none;
  background: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
  text-wrap-mode: nowrap;
}

.sk-editor__btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.sk-editor__separator {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 4px;
}

.sk-editor__content {
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--sk-color-border);
  border-radius: 0 0 4px 4px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  outline: none;
}

.sk-editor__content:focus {
  border-color: rgba(0, 0, 0, 0.3);
}

.sk-editor__content p {
  margin: 0 0 1em;
}

.sk-editor__content p:last-child {
  margin-bottom: 0;
}

.sk-editor__content ul,
.sk-editor__content ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.sk-editor__content li {
  margin-bottom: 0.25em;
}

/* Active state for toolbar buttons (e.g. HTML toggle) */
.sk-editor__btn--active {
  background: rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.9);
}

/* HTML Editor Overlay Wrapper */
.sk-editor__html-wrapper {
  position: relative;
  display: block;
  border: 1px solid var(--sk-color-border);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}

/* Highlighted background layer */
.sk-editor__html-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px;
  border: none;
  overflow: auto;
  pointer-events: none; /* Klicks gehen durch zum Textarea */
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: normal;
  z-index: 1;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  tab-size: 2;
}

.sk-editor__html-highlight code {
  display: block;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  white-space: inherit !important;
  word-wrap: inherit !important;
  tab-size: inherit !important;
}

/* HTML source textarea (shown when HTML mode is active) */
.sk-editor__html-source {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  min-height: 200px;
  max-height: 400px;
  margin: 0;
  padding: 16px;
  border: none; /* Border ist jetzt am wrapper */
  border-radius: 0 0 4px 4px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  tab-size: 2;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: normal;
  background: transparent;
  color: transparent;
  caret-color: #000; /* Cursor sichtbar machen */
  -webkit-text-fill-color: transparent; /* Safari fix */
}

/* Focus state for wrapper */
.sk-editor__html-wrapper:focus-within {
  border-color: rgba(0, 0, 0, 0.3);
}

/* Scrollbar styling für beide Elemente synchron */
.sk-editor__html-highlight::-webkit-scrollbar,
.sk-editor__html-source::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Large variant for full page editing */
.sk-editor__content--large + .sk-editor__html-wrapper .sk-editor__html-source,
.sk-editor__content--large ~ .sk-editor__html-wrapper .sk-editor__html-source,
.sk-editor__content--large + .sk-editor__html-wrapper .sk-editor__html-highlight,
.sk-editor__content--large ~ .sk-editor__html-wrapper .sk-editor__html-highlight {
  min-height: 350px;
  max-height: 60vh;
}

/* Large editor content for full page editing */
.sk-editor__content--large {
  min-height: 350px;
  max-height: 60vh;
}

/* Large modal for page editing */
.sk-modal__content--large {
  max-width: 800px;
  width: 95%;
}

/* Page content wrapper */
.sk-page-content {
  position: relative;
}

/* Page editor toggle button - fixed at bottom, horizontally centered on content */
/* Specific positioning for sk-page-editor__toggle (floating button) */
.sk-page-editor__toggle {
  position: fixed;
  bottom: 2rem;
  right: unset;
  margin-left: 50%;
}

.sk-page-content:hover .sk-page-editor__toggle,
.sk-journal-desc__content:hover ~ .sk-page-editor__toggle,
.sk-journal-desc:hover .sk-page-editor__toggle,
.sk-page-editor__toggle:focus {
  opacity: 1;
}

/* Eraser button styling */
.sk-editor__btn--eraser {
  font-size: 1rem;
}

/* Title input row above editor content */
.sk-editor__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 16px;
  border: 1px solid var(--sk-color-border);
  border-top: none;
  background: rgba(0, 0, 0, 0.01);
}

.sk-editor__title-label {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sk-color-text-muted);
  white-space: nowrap;
}

.sk-editor__title-input {
  flex: 1;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.3rem 0.5rem;
  background: transparent;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.sk-editor__title-input:focus {
  border-color: var(--sk-color-border);
  background: #fff;
}

/* Editor Box Dropdown */
.sk-editor__dropdown {
  position: relative;
  display: inline-flex;
}

.sk-editor__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--sk-color-border);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  padding: 4px 0;
}

.sk-editor__dropdown-menu--open {
  display: block;
}

.sk-editor__dropdown-item {
  display: block;
  width: 100%;
  padding: 6px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.8);
}

.sk-editor__dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Content Boxes — used in editor and rendered pages */
.sk-box {
  margin: 1.5rem 0;
}

/* Override theme.css: aside { font-size: smaller } */
aside.sk-box {
  font-size: 17.5px;
}

/* Override theme.css: aside h1-h6 { font-size: 1rem } */
aside.sk-box h2 { font-size: 1.7em; }
aside.sk-box h3 { font-size: 1.55em; }
aside.sk-box h4 { font-size: 1.1em; }
aside.sk-box > h2:first-child,
aside.sk-box > h3:first-child { margin-top: 0; }

/* Override theme.css: blockquote { border-left: 2px solid ... ; padding: ... } */
blockquote.sk-box {
  border-left: none;
  padding: 0;
}

.sk-box--white {
  background-color: var(--sk-color-white);
  padding: 1.5rem 2rem;
}

.sk-box--beige {
  background-color: var(--sk-color-primary-60);
  padding: 1.5rem 2rem;
}

.sk-box--highlight {
  background-color: var(--sk-color-primary);
  color: var(--sk-color-white);
  padding: 2rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-left: none;
}

.sk-box--highlight a {
  color: var(--sk-color-white);
  text-decoration: underline;
}

.sk-box--small {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--sk-color-text-muted);
}

/* Heading styles in editor */
.sk-editor__content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5em 0 0.5em;
}

.sk-editor__content h2:first-child {
  margin-top: 0;
}

.sk-editor__content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.25em 0 0.5em;
}

.sk-editor__content h3:first-child {
  margin-top: 0;
}

/* White box needs a visible border inside the editor (both have white bg) */
.sk-editor__content .sk-box--white {
  border: 1px dashed var(--sk-color-border);
}
.sk-editor__content .sk-box p,
.sk-editor__content .sk-box li {
  font-size: 15px;
}
.sk-editor__content .sk-box h3 {
  font-size: 18.4px;
}

/* About page sections */
.sk-about-section {
  margin-bottom: 0;
}

.sk-about-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  color: var(--sk-color-text);
}

/* Issue TOC Sections with alternating background colors */
.issue-section {
  position: relative;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.issue-section--odd,
.issue-section--even {
  padding: 2.5rem 2rem 1rem 2rem;
}

.issue-section--odd::before,
.issue-section--even::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--sk-cover-color, transparent);
  z-index: -1;
  pointer-events: none;
}

.issue-section--odd::before {
  opacity: 0.4;
}

.issue-section--even::before {
  opacity: 0.2;
}

.issue-section__toc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.85);
}

/* Article items in TOC */
.issue-section__toc-item {
  border-bottom: 1px solid white;
  padding-bottom: 0;
  margin-bottom: 3rem;
}

.issue-section__toc-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.issue-section__toc-item .article.row {
  gap: 2rem;
}

/* ==========================================================================
   Article Detail Page Styling
   ========================================================================== */

/* Back-to-issue navigation bar */
.sk-article-nav {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--sk-color-border);
}

.sk-article-nav__back {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sk-color-black);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--sk-color-black);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sk-article-nav__back:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
}

/* Article page specific background - use consistent beige like other pages */
.page_article #main {
  background-color: var(--sk-color-primary-lighter);
}

/* Article header section */
.page_article .main__header {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--sk-color-border);
}

/* Article title */
.page_article .main__title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--sk-color-black);
}

/* Metadata styling (issue info, section, date, authors) */
.page_article .metadata {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--sk-color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.page_article .metadata a {
  color: var(--sk-color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page_article .metadata a:hover {
  color: var(--sk-color-black);
}

/* Authors list */
.page_article ul.metadata {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
}

.page_article ul.metadata li {
  font-weight: 400;
  color: var(--sk-color-text);
}

/* ORCID icon styling */
.page_article .metadata a[href*="orcid"] {
  display: inline-flex;
  align-items: center;
  margin-left: 0.25rem;
}

.page_article .metadata a[href*="orcid"] svg,
.page_article .metadata a[href*="orcid"] img {
  width: 16px;
  height: 16px;
}

/* Affiliation button - hidden for now, may be used later */
.page_article .btn-secondary[data-bs-target="#authorAffiliations"] {
  display: none;
}

/* Affiliations collapse content (hidden since button is hidden) */
.page_article #authorAffiliations {
  display: none;
}

/* Article main content area */
#articleMainWrapper {
  padding-right: 2rem;
}

.article-details-main {
  max-width: 750px;
}

.article-details-main section {
  margin-bottom: 2.5rem;
}

.article-details-main h2 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sk-color-text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sk-color-border);
}

/* Abstract text */
.article-details-main section > p,
.article-details-main section > div {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--sk-color-text);
}

/* Keywords */
.article-details-main section p span {
  display: inline-block;
  background-color: var(--sk-color-primary-lighter);
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
  font-size: 0.875rem;
  color: var(--sk-color-text);
}

/* Galley buttons (HTML, PDF) */
.article-details-main .btn.pdf,
.article-details-main .btn.file,
.article-details-main a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0.75rem 1.5rem;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  background-color: var(--sk-color-black);
  color: var(--sk-color-white);
  transition: all 0.2s ease;
}

.article-details-main .btn.pdf:hover,
.article-details-main .btn.file:hover,
.article-details-main a.btn:hover {
  background-color: transparent;
  color: var(--sk-color-black);
}

/* Sidebar styling */
#mainArticleContent aside {
  padding-left: 2rem;
  border-left: 1px solid var(--sk-color-border);
}

#mainArticleContent aside section {
  margin-bottom: 2rem;
}

#mainArticleContent aside h2 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sk-color-text-muted);
  margin-bottom: 0.75rem;
}

#mainArticleContent aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mainArticleContent aside li {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

#mainArticleContent aside a {
  color: var(--sk-color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

#mainArticleContent aside a:hover {
  color: var(--sk-color-black);
}

/* License/CC badge */
#mainArticleContent aside .cc-license-badge,
#mainArticleContent aside img[src*="creativecommons"] {
  max-width: 100%;
  height: auto;
}

/* Author biographies section */
.article-details-main h3 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* References/Citations */
.article-details-main ol {
  padding-left: 1.5rem;
}

.article-details-main ol li {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--sk-color-text);
}

/* Horizontal rules */
.article-details-main hr {
  border: none;
  border-top: 1px solid var(--sk-color-border);
  margin: 2.5rem 0;
}

/* Usage statistics chart */
.article-details-main .downloads_chart {
  background-color: var(--sk-color-primary-lighter);
  padding: 1.5rem;
}

.article-details-main .downloads_chart h2.label {
  border-bottom: none;
  padding-bottom: 0;
}

/* Cover image in sidebar */
.page_article .main__header .col-md-3 img {
  max-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  #articleMainWrapper {
    padding-right: 0;
  }

  #mainArticleContent aside {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--sk-color-border);
    padding-top: 2rem;
    margin-top: 2rem;
  }

  .page_article .main__title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   HTML Galley View Styling
   ========================================================================== */

/* Galley page: full-viewport flex layout so the reading/original view scrolls internally.
   body becomes a flex column to account for the sticky header above <main>. */
body:has(.galley-page) {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body:has(.galley-page) > .main-footer {
  display: none;
}

.galley-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Galley page wrapper — fills remaining space below header */
.galley {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 1.5rem;
  padding-bottom: 0;
}

/* Toolbar: back button + view toggle in one row */
.galley__toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.galley__toolbar .btn {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border: 2px solid var(--sk-color-black);
  border-radius: 0;
  background-color: transparent;
  color: var(--sk-color-black);
  transition: all 0.2s ease;
}

.galley__toolbar .btn:hover {
  background-color: var(--sk-color-black);
  color: var(--sk-color-primary-lighter);
}

.galley__toolbar-right {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

/* Outdated version notice */
.galley_view_notice {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Galley content iframe container — fills remaining space */
.galley__content {
  background-color: var(--sk-color-white);
  border: 1px solid var(--sk-color-border);
  flex: 1;
  min-height: 0;
  width: 100%;
}

.galley__content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 767px) {
  .galley {
    padding-left: 0;
    padding-right: 0;
    margin: 1rem 0;
  }

  .galley__content {
    border-left: none;
    border-right: none;
  }
  .galley__toolbar {
    padding: 0 1rem;
  }
  .main__content {
    margin-top: 10px;
  }

  .galley__content iframe {
    padding: 0;
  }

}

/* Default beige background for main content */
#main {
  background-color: var(--sk-color-primary-lighter);
  flex: 1;
}

/* Exceptions: white background for issue page and homepage */
.page_issue #main,
.page_index #main {
  background-color: transparent;
}

/* Padding for pages with beige background */
#main > .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* No extra padding on issue page, homepage, and galley page */
.page_issue #main > .container,
.page_index #main > .container,
#main.galley-page > .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Search page layout */
.search-layout {
  display: flex;
  gap: 70px;
}

.search-layout__sidebar {
  flex: 0 0 280px;
}

.search-layout__results {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .search-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .search-layout__sidebar {
    flex: none;
    width: 100%;
  }
}

/* Search page notice (no results) */
.search-notice {
  background: var(--sk-color-white);
  color: var(--sk-color-primary);
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.95rem;
  padding: 1rem;
}

/* Edit link button (matching issue page style) */
.sk-edit-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--sk-color-overlay);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 1000;
  text-decoration: none;
}

.sk-edit-link:hover {
  background: var(--sk-color-overlay-dark);
  color: #fff;
  transform: scale(1.1);
}

/* Search input clear button (x) styling */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8a276' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* ==========================================================================
   CFP Pages - Header and Dates Grid
   ========================================================================== */

/* CFP Header (like upcoming issues cards) */
.sk-cfp-header {
  margin-bottom: 2rem;
}

.sk-cfp-header__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.sk-cfp-header__number {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sk-color-text-muted);
}

.sk-cfp-header__badge {
  display: inline-block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--sk-color-primary);
  color: var(--sk-color-white);
  padding: 0.25rem 0.6rem;
}

.sk-cfp-header .main__title {
  margin-top: 0;
}

/* Dates Grid */
.sk-cfp-dates {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sk-color-border);
}

.sk-cfp-dates__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: var(--sk-color-text);
}

.sk-cfp-dates__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sk-cfp-dates__item {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 2px;
}

/* Different background colors for each date type */
.sk-cfp-dates__item--abstract {
  background-color: #e8d5b7;
}

.sk-cfp-dates__item--feedback {
  background-color: #d5c4a1;
}

.sk-cfp-dates__item--submission {
  background-color: #c9b896;
}

.sk-cfp-dates__item--publication {
  background-color: #b8a276;
}

.sk-cfp-dates__label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
}

.sk-cfp-dates__value {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sk-color-text);
}

.sk-cfp-dates__cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Responsive: CFP Dates Grid */
@media (max-width: 767px) {
  .sk-cfp-dates__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sk-cfp-dates__grid {
    grid-template-columns: 1fr;
  }
}

/* Page header illustrations */
.sk-page-header__illustration {
  max-width: 100%;
  width: 400px;
  margin: 1.5rem auto;
  display: block;
}

/* ===========================
   404 Error Page
   =========================== */
.sk-error-page {
  padding: 3rem 0;
}

/* Mobile-first: single column, image on top */
.sk-error-page__illustration {
  margin-bottom: 2.5rem;
  text-align: center;
}

.sk-error-page__illustration img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.sk-error-page__content {
  text-align: center;
}

.sk-error-page__header {
  margin-bottom: 2rem;
}

.sk-error-page__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sk-error-page__message {
  font-size: 1.125rem;
  color: var(--sk-color-text-muted);
  line-height: 1.6;
}

.sk-error-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Secondary button variant */
.sk-btn--secondary {
  background-color: transparent;
  color: var(--sk-color-primary);
  border: 2px solid var(--sk-color-primary);
}

.sk-btn--secondary:hover,
.sk-btn--secondary:focus {
  background-color: var(--sk-color-primary-lighter);
  color: var(--sk-color-text);
  border-color: var(--sk-color-primary);
}

/* Desktop: two-column layout (768px and up) */
@media (min-width: 768px) {
  .sk-error-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
  }

  /* Content on the left */
  .sk-error-page__content {
    order: 1;
    text-align: left;
  }

  /* Image on the right */
  .sk-error-page__illustration {
    order: 2;
    margin-bottom: 0;
  }

  .sk-error-page__illustration img {
    max-width: 100%;
  }

  .sk-error-page__actions {
    justify-content: flex-start;
  }
}

/* Mobile: stack buttons vertically on very small screens */
@media (max-width: 576px) {
  .sk-error-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sk-error-page__actions .sk-btn {
    width: 100%;
  }
}


/* ==========================================================================
   Homepage Reveal Animations
   ========================================================================== */

/* --- Hero: CSS Keyframe Animations (immediate on load) --- */
@keyframes sk-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes sk-fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sk-fade-in-scale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Hero background image fades in first, content follows after 300ms */
.sk-hero__logo {
  opacity: 0;
  animation: sk-fade-in-scale 0.6s ease-out 0.4s forwards;
}

.sk-hero__tagline {
  opacity: 0;
  animation: sk-fade-in-up 0.6s ease-out 0.7s forwards;
}

.sk-hero__buttons {
  opacity: 0;
  animation: sk-fade-in-up 0.6s ease-out 1s forwards;
}

/* Current Issue section: delayed entrance after hero */
.sk-current-issue .sk-reveal-stagger {
  transition-delay: 0.65s;
}
.sk-current-issue .sk-reveal-stagger > .sk-reveal:nth-child(1) { transition-delay: 0.65s; }
.sk-current-issue .sk-reveal-stagger > .sk-reveal:nth-child(2) { transition-delay: 0.8s; }

/* --- Scroll-triggered sections: initial hidden state --- */
.sk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sk-reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sk-reveal.sk-visible,
.sk-reveal--left.sk-visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays for child elements within a stagger container */
.sk-reveal-stagger > .sk-reveal:nth-child(1) { transition-delay: 0s; }
.sk-reveal-stagger > .sk-reveal:nth-child(2) { transition-delay: 0.1s; }
.sk-reveal-stagger > .sk-reveal:nth-child(3) { transition-delay: 0.2s; }
.sk-reveal-stagger > .sk-reveal:nth-child(4) { transition-delay: 0.3s; }
.sk-reveal-stagger > .sk-reveal:nth-child(5) { transition-delay: 0.4s; }
.sk-reveal-stagger > .sk-reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- Respect reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
  .sk-hero::before {
    opacity: 1;
    animation: none;
  }

  .sk-hero__logo,
  .sk-hero__tagline,
  .sk-hero__buttons {
    opacity: 1;
    animation: none;
  }

  .sk-reveal,
  .sk-reveal--left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   Reading View (Leseansicht) — Semantic HTML from PDF
   ========================================================================== */

/* Reading mode toggle */
.reading-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reading-toggle__label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sk-color-black);
  user-select: none;
}

.reading-toggle__switch {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.reading-toggle__track {
  display: block;
  width: 48px;
  height: 28px;
  border: 2px solid var(--sk-color-black);
  background-color: transparent;
  position: relative;
  transition: background-color 0.25s ease;
}

.reading-toggle__switch.active .reading-toggle__track {
  background-color: var(--sk-color-black);
}

.reading-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 23px;
  width: 18px;
  height: 18px;
  background-color: var(--sk-color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.25s ease, background-color 0.25s ease;
}

.reading-toggle__switch.active .reading-toggle__thumb {
  left: 3px;
  background-color: var(--sk-color-primary-lighter);
}

.reading-toggle__icon {
  width: 10px;
  height: 10px;
  display: none;
}

.reading-toggle__icon--check {
  color: var(--sk-color-black);
}

.reading-toggle__icon--x {
  color: var(--sk-color-primary-lighter);
}

.reading-toggle__switch.active .reading-toggle__icon--check {
  display: block;
}

.reading-toggle__switch:not(.active) .reading-toggle__icon--x {
  display: block;
}

/* Loading state */
.galley__reading-view-loading {
  padding: 3rem 1rem;
  text-align: center;
  color: #888;
  font-style: italic;
}

/* Reading view container — scrolls internally within the viewport */
.galley__reading-view {
  background-color: var(--sk-color-primary-lighter);
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--sk-color-black, #1a1a1a);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.galley__reading-view > :first-child {
  margin-top: 0;
}

.galley__reading-view h2,
.galley__reading-view h3,
.galley__reading-view h4 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 600;
}

.galley__reading-view h2 {
  font-size: 1.5rem;
}

.galley__reading-view h3 {
  font-size: 1.25rem;
}

.galley__reading-view h4 {
  font-size: 1.3rem;
}

.galley__reading-view p {
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Figures and captions */
.galley__reading-view figure {
  margin: 2rem 0;
  text-align: center;
}

.galley__reading-view figure img {
  max-width: 100%;
  height: auto;
}

.galley__reading-view figcaption,
.galley__reading-view .standalone-caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.5;
}

.galley__reading-view .standalone-caption {
  margin: 1.5rem 0;
  font-style: italic;
}

/* Tables */
.galley__reading-view .table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.galley__reading-view table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.galley__reading-view th,
.galley__reading-view td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sk-color-border, #ddd);
  text-align: left;
  vertical-align: top;
}

.galley__reading-view th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.galley__reading-view tbody tr:nth-child(even) {
  background-color: #fafafa;
}

@media (max-width: 480px) {

  .galley__reading-view {
    padding: 1rem;
  }
}

/* =============================================
   Redaktionshandbuch — header link + page
   ============================================= */

/* --- Header link --- */

.sk-redaktion-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--sk-color-black);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  margin-left: 0.75rem;
}

.sk-redaktion-link:hover {
  opacity: 1;
  color: var(--sk-color-black);
  text-decoration: none;
}

/* --- Docs page layout --- */

#main.sk-docs {
  background: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sk-docs__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}

/* --- Sidebar --- */

.sk-docs__sidebar {
  border-right: 1px solid #e8e8e8;
  padding: 2rem 0;
}

.sk-docs__nav {
  position: sticky;
  top: 2rem;
  padding: 0 1.5rem 0 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.sk-docs__nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.75rem 0;
  padding: 0;
  border: none;
}

.sk-docs__toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sk-docs__toc-item {
  margin: 0;
}

.sk-docs__toc-item--sub {
  padding-left: 0.85rem;
}

.sk-docs__toc-link {
  display: block;
  padding: 0.3rem 0.65rem;
  font-size: 0.835rem;
  line-height: 1.4;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.sk-docs__toc-link:hover {
  color: var(--sk-color-black);
  background: #f5f5f5;
  text-decoration: none;
}

.sk-docs__toc-link--active {
  color: var(--sk-color-black);
  border-left-color: var(--sk-color-primary);
  font-weight: 500;
  background: #fdf8f0;
}

/* --- Main content --- */

.sk-docs__content {
  padding: 2rem 3rem 4rem;
  max-width: 800px;
  min-width: 0;
}

.sk-docs__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.sk-docs__title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--sk-color-black);
  font-family: inherit;
}

.sk-docs__subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* --- Content typography --- */

.sk-redaktion {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

.sk-redaktion h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  color: var(--sk-color-black);
  font-family: inherit;
  scroll-margin-top: 1.5rem;
}

.sk-redaktion h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.sk-redaktion h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--sk-color-black);
  font-family: inherit;
  scroll-margin-top: 1.5rem;
}

.sk-redaktion p {
  margin: 0 0 1rem;
}

.sk-redaktion table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.sk-redaktion th,
.sk-redaktion td {
  padding: 0.55rem 0.75rem;
  border: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}

.sk-redaktion th {
  background: #f8f9fa;
  color: var(--sk-color-black);
  font-weight: 600;
  font-size: 0.85rem;
}

.sk-redaktion tbody tr:nth-child(even) {
  background: #fafbfc;
}

.sk-redaktion blockquote {
  border-left: 3px solid var(--sk-color-primary);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  background: #fdf8f0;
  border-radius: 0 4px 4px 0;
  font-style: normal;
}

.sk-redaktion blockquote p:last-child {
  margin-bottom: 0;
}

.sk-redaktion code {
  background: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  color: #d63384;
}

.sk-redaktion hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 2rem 0;
}

.sk-redaktion ol > li,
.sk-redaktion ul > li {
  margin-bottom: 0.35rem;
}

.sk-redaktion a {
  color: var(--sk-color-black);
  text-decoration: underline;
  text-decoration-color: var(--sk-color-primary);
  text-underline-offset: 2px;
}

.sk-redaktion a:hover {
  text-decoration: underline;
}

.sk-redaktion strong {
  font-weight: 600;
  color: var(--sk-color-black);
}

/* --- Mobile: sidebar becomes horizontal or hides --- */

@media (max-width: 991px) {
  .sk-docs__layout {
    grid-template-columns: 1fr;
  }

  .sk-docs__sidebar {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.25rem 1.5rem;
    position: static;
  }

  .sk-docs__nav {
    position: static;
    max-height: none;
    padding: 0;
  }

  .sk-docs__nav-title {
    margin-bottom: 0.5rem;
  }

  .sk-docs__toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0;
  }

  .sk-docs__toc-item--sub {
    display: none;
  }

  .sk-docs__toc-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-left: none;
  }

  .sk-docs__toc-link--active {
    border-left: none;
    background: #fdf8f0;
    border-radius: 4px;
  }

  .sk-docs__content {
    padding: 1.5rem;
  }

  .sk-docs__title {
    font-size: 1.6rem;
  }

  .sk-redaktion table {
    font-size: 0.82rem;
  }

  .sk-redaktion th,
  .sk-redaktion td {
    padding: 0.35rem 0.5rem;
  }
}
