/**
 * Autor-, Schlagwort- und Suchlisten (gleiches Raster wie Kategorie).
 */

.st-listing-page--author .category-card__author-link,
.st-listing-page--tag .category-card__author-link,
.st-listing-page--search .category-card__author-link,
.st-listing-page--saved .category-card__author-link,
.st-listing-page--recent .category-card__author-link,
.st-listing-page--saved-editors .category-card__author-link {
  text-decoration: none;
}

.st-listing-page--account .st-account-profile {
  margin: 0 auto;
  max-width: min(960px, 100%);
}

.st-listing-page--account .st-account-profile > article {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--color-transparent);
  background-color: var(--color-transparent);
  box-shadow: none;
}

/* Account: Content-Spalte ohne Karten-Hintergrund (Hero-Page-BG durchscheinen) */
.page-wrapper.st-page--account #sidebar-box-main.region-outer.main-box,
.page-wrapper.st-page--account #sidebar-box-main > .sidebar-box-main-inner {
  background: var(--color-transparent);
  background-color: var(--color-transparent);
}

.st-listing-page--account .st-account-profile .field {
  margin-bottom: var(--st-space-16, 16px);
}

.st-listing-page--account .st-account-profile .field:last-child {
  margin-bottom: 0;
}

/* Autorenseite: Kontakt- und Info-Buttons unter Hero-Beschreibung */
#st_hero_meta .st-hero__author-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  margin: 20px 0 0;
  width: 100%;
  text-align: center;
}

#st_hero_meta .st-hero__author-contact-button {
  display: inline-block;
  margin: 0;
  padding: 5px 25px;
  border: 1px solid color-mix(in srgb, var(--st-hero-meta-color) 55%, var(--color-transparent));
  border-radius: 4px;
  background: color-mix(in srgb, var(--st-hero-meta-color) 12%, var(--color-transparent));
  color: var(--st-hero-meta-color);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#st_hero_meta .st-hero__author-contact-button:hover,
#st_hero_meta .st-hero__author-contact-button:focus-visible {
  background: color-mix(in srgb, var(--st-hero-meta-color) 22%, var(--color-transparent));
  border-color: var(--st-hero-meta-color);
  color: var(--st-hero-meta-color);
}

.st-listing-page--author_info .st-author-public-info {
  margin: 0 auto;
  max-width: min(960px, 100%);
}

.st-listing-page--author_info .st-author-public-info__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
}

.st-listing-page--author_info .st-author-public-info__picture img {
  display: block;
  width: 300px;
  max-width: 300px;
  height: 300px;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
}

.st-listing-page--author_info .st-author-public-info__picture {
  width: 300px;
  max-width: 300px;
  height: 300px;
  max-height: 300px;
}

.st-listing-page--author_info .st-author-public-info__name {
  margin: clamp(10px, calc(7.733px + 0.597vw), 20px) 0 clamp(25px, calc(19.332px + 1.492vw), 50px);
  color: var(--st-color-text, var(--color-fff));
  font-weight: 700;
  line-height: 1.12;
}

.st-listing-page--author_info .st-author-public-info__biography > :last-child {
  margin-bottom: 0;
}

.st-listing-page--author_info .st-author-public-info__contact {
  margin: 0 clamp(10px, calc(0.931px + 2.387vw), 50px);
  color: var(--st-color-text, var(--color-fff));
  font-weight: 700;
  line-height: 1.12;
  padding: clamp(0px, 4vw, 52px) 0 0 0;
}

.st-listing-page--author_info .st-author-public-info__phone,
.st-listing-page--author_info .st-author-public-info__email {
  margin: 0;
  user-select: text;
}

.st-listing-page--author_info .st-author-public-info__phone a,
.st-listing-page--author_info .st-author-public-info__email a {
  color: inherit;
  text-decoration: none;
}

.st-listing-page--author_info .st-author-public-info__phone + .st-author-public-info__email {
  margin-top: 0.2rem;
}

.st-listing-page--author_info .st-author-public-info__contact-label {
  margin-right: 0.35em;
}

.st-listing-page--author_info .st-author-public-info__email a {
  text-decoration: none;
}

.st-listing-page--author_info .st-author-public-info__email a:hover {
  color: var(--st-link-hover, var(--color-b0004b));
  text-decoration: underline;
}

.st-listing-page--author_info .st-author-public-info__biography {
  margin-top: clamp(44px, 5vw, 76px);
  padding: 0 clamp(0px, 4vw, 52px);
}

@media (max-width: 640px) {
  .st-listing-page--author_info .st-author-public-info__top {
    grid-template-columns: 1fr;
    gap: var(--st-space-24, 24px);
  }

  .st-listing-page--author_info .st-author-public-info__picture {
    width: min(300px, 100%);
    height: auto;
  }

  .st-listing-page--author_info .st-author-public-info__picture img {
    width: min(300px, 100%);
    height: auto;
  }

  .st-listing-page--author_info .st-author-public-info__contact {
    margin-left: 0;
  }
}
