/* =============================================================
   MeinePlantage — Author Styles (nur /autor/cannabis-doc/)
   Abhängigkeit: mp-main.css (Variablen, Full-Bleed, Label, Button)
   ============================================================= */

/* ─── Seiten-Wrapper ─────────────────────────────────────────── */
.mp-author-page {
  background: var(--mp-color-bg);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.mp-author-hero {
  background: var(--mp-color-surface);
  padding: 4rem 0;
}

.mp-author-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
}

.mp-author-hero__avatar img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--mp-color-white);
  padding: 1.25rem;
  box-shadow: 0 4px 32px rgba(46, 94, 46, 0.15);
}

.mp-author-hero__title {
  font-family: inherit;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 700;
  color: var(--mp-color-dark);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.2;
}

.mp-author-hero__subtitle {
  font-size: 1.1rem;
  color: var(--mp-color-gray-dark);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.mp-author-hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.mp-author-stat__number {
  display: block;
  font-family: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--mp-color-primary);
  line-height: 1;
}

.mp-author-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--mp-color-gray-dark);
  margin-top: 0.25rem;
}

/* ─── Über ───────────────────────────────────────────────────── */
.mp-author-about {
  background: var(--mp-color-white);
  padding: 4rem 0;
}

.mp-author-about__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mp-author-about__title {
  font-family: inherit;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 700;
  color: var(--mp-color-dark);
  margin-bottom: 1.5rem;
}

.mp-author-about__text p {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mp-color-black);
  margin-bottom: 1.25rem;
}

.mp-author-about__text p:last-child {
  margin-bottom: 0;
}

/* ─── Expertise ──────────────────────────────────────────────── */
.mp-author-expertise {
  background: var(--mp-color-bg);
  padding: 4rem 0;
}

.mp-author-expertise__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mp-author-expertise__title {
  font-family: inherit;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 700;
  color: var(--mp-color-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.mp-author-expertise__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.mp-author-expertise__card {
  background: var(--mp-color-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(46, 94, 46, 0.1);
  transition: box-shadow 0.2s ease;
}

.mp-author-expertise__card:hover {
  box-shadow: 0 4px 16px rgba(46,94,46,0.12);
}

.mp-author-expertise__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.mp-author-expertise__card-title {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mp-color-dark);
  margin-bottom: 0.5rem;
}

.mp-author-expertise__card p {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--mp-color-gray-dark);
  line-height: 1.65;
  margin: 0;
}

/* ─── Redaktionelle Richtlinien ──────────────────────────────── */
.mp-author-editorial {
  background: var(--mp-color-surface);
  padding: 4rem 0;
}

.mp-author-editorial__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mp-author-editorial__title {
  font-family: inherit;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 700;
  color: var(--mp-color-dark);
  margin-bottom: 2rem;
}

.mp-author-editorial__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mp-author-editorial__step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.mp-author-editorial__step-number {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mp-color-primary);
  padding-top: 0.1rem;
}

.mp-author-editorial__step-content h3 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--mp-color-dark);
  margin: 0 0 0.3rem;
}

.mp-author-editorial__step-content p {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--mp-color-gray-dark);
  line-height: 1.65;
  margin: 0;
}

/* ─── Artikel-Liste ──────────────────────────────────────────── */
.mp-author-articles {
  background: var(--mp-color-white);
  padding: 4rem 0;
}

.mp-author-articles__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mp-author-articles__title {
  font-family: inherit;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 700;
  color: var(--mp-color-dark);
  margin-bottom: 0.5rem;
}

.mp-author-articles__subtitle a {
  color: var(--mp-color-primary);
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
}

.mp-author-articles__subtitle a:hover {
  text-decoration: underline;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mp-author-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mp-author-hero__avatar {
    display: flex;
    justify-content: center;
  }

  .mp-author-hero__avatar img {
    width: 200px;
    height: 200px;
  }

  .mp-author-hero__stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .mp-author-expertise__grid {
    grid-template-columns: 1fr;
  }

  .mp-author-editorial__step {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
}

/* ─── Kadence Container Override + Grid Fixes ───────────────── */
.page-id-584 .entry-content,
.page-id-584 .entry-content-wrap,
.page-id-584 .content-area {
  overflow: visible !important;
}

/* Ensure inner containers always fill their parent */
.mp-author-editorial__inner,
.mp-author-about__inner,
.mp-author-expertise__inner,
.mp-author-hero__inner,
.mp-author-articles__inner {
  width: 100%;
  box-sizing: border-box;
}

/* Fix grid collapse when parent width is unresolved */
.mp-author-editorial__steps {
  width: 100%;
}
.mp-author-editorial__step {
  grid-template-columns: 3rem 1fr;
  width: 100%;
  min-width: 0;
}
.mp-author-editorial__step-content {
  min-width: 0;
  width: 100%;
}

/* Fix expertise grid collapse */
.mp-author-expertise__grid {
  width: 100%;
}
