/**
 * Startseite – st_startseite block_1 (Kommentar-Swiper).
 * Container: #st-homepage-swiper (.st-swiper)
 */

#st-homepage-swiper,
#st_chrome_widgets .view-id-st_startseite.view-display-id-block_1 {
  width: 100%;
  min-width: 0;
}

.view-id-st_startseite.view-display-id-block_1 .pager,
.view-id-st_startseite.view-display-id-block_1 nav.pager {
  display: none !important;
}

.st-swiper {
  --st-swiper-bg: var(--st-bg-card, var(--card-bg, var(--bg)));
  --st-swiper-text: var(--st-text, var(--text));
  --st-swiper-muted: var(--st-text-muted, var(--muted-text));
  --st-swiper-dot: color-mix(in srgb, var(--st-swiper-text) 35%, var(--st-swiper-bg));
  --st-swiper-gap: var(--st-space-20, 20px);
  --st-swiper-slide-count: 2;
  box-sizing: border-box;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
  background: var(--st-swiper-bg);
  color: var(--st-swiper-text);
}

/* Wie .category-card: dünner Rahmen, ohne Hover am Container */
#st-homepage-swiper.st-swiper {
  border: 1px solid var(--st-border);
}

.st-swiper__viewport {
  overflow: hidden;
  width: 100%;
}

.st-swiper__track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--st-swiper-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
  will-change: transform;
}

.st-swiper__slide {
  flex: 0 0 calc((100% - var(--st-swiper-gap) * (var(--st-swiper-slide-count) - 1)) / var(--st-swiper-slide-count));
  min-width: 0;
  margin: 0;
  padding: 0;
}

.st-swiper-card,
.st-swiper .swipper-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 100%;
  padding: clamp(12px, 2vw, 20px) clamp(8px, 1.5vw, 16px);
  box-sizing: border-box;
}

.st-swiper-card__head,
.st-swiper .swipper-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--st-space-10, 10px);
  width: 100%;
  margin: 0 0 clamp(16px, 2.5vw, 28px);
}

.st-swiper-card__kicker,
.st-swiper .swipper-card__meta.grid-swipper:first-of-type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--st-swiper-text);
}

.st-swiper-card__kicker a,
.st-swiper .swipper-card__meta.grid-swipper:first-of-type a {
  color: inherit;
  text-decoration: none;
}

.st-swiper .st-swiper-card__kicker .category-icon,
.st-swiper .swipper-card__meta .category-icon {
  --st-category-icon-color: var(--st-swiper-text);
  background-color: var(--st-category-icon-color);
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.st-swiper-card__title,
.st-swiper .swipper-card__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  max-width: 28em;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--st-swiper-text);
}

.st-swiper-card__title a,
.st-swiper .swipper-card__title a {
  color: inherit;
  text-decoration: none;
}

.st-swiper-card__title a:hover {
  opacity: 0.88;
}

.st-swiper-card__author,
.st-swiper .swipper-card__author,
.st-swiper .swipper-card__meta:last-of-type {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  color: var(--st-swiper-text);
}

.st-swiper-card__author-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.st-swiper-card__author-avatar,
.st-swiper-card__author-avatar img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.st-swiper .st-swiper-card__author-avatar--fallback .category-icon {
  width: 2.75rem;
  height: 2.75rem;
  --st-category-icon-color: var(--st-swiper-text);
  background-color: var(--st-category-icon-color);
}

.st-swiper-card__author-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.st-swiper-card__author-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--st-swiper-muted);
}

.st-swiper-card__author-name,
.st-swiper-card__author-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--st-swiper-text);
  text-decoration: none;
}

.st-swiper-card__author-link:hover {
  text-decoration: underline;
}

.st-swiper-card__teaser,
.st-swiper .swipper-card__teaser {
  margin: 0;
  max-width: 32em;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.55;
  color: var(--st-swiper-muted);
}

.st-swiper .swipper-card__media {
  display: none;
}

.st-swiper__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(24px, 4vw, 40px);
}

.st-swiper__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.st-swiper__dot {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--st-swiper-dot);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.st-swiper__dot.is-active {
  background: var(--st-swiper-text);
  transform: scale(1.15);
}

.st-swiper__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--st-swiper-text);
  background: transparent;
  cursor: pointer;
}

.st-swiper__next:hover,
.st-swiper__next:focus-visible {
  opacity: 0.75;
}

.st-swiper__next:disabled {
  opacity: 0.35;
  cursor: default;
}

#st-homepage-swiper a,
#st-homepage-swiper a:hover,
#st-homepage-swiper a:focus {
  text-decoration: none;
}

@media (max-width: 720px) {
  .st-swiper {
    --st-swiper-slide-count: 1;
  }
}
