/* RezepteChef Child — reprise de « ABOUT HOME » (Simple Custom CSS and JS n°1344).
*/

/* =========================================================
   RC AUTHOR BLOCK — Wer kocht hier?
   Same homepage style + clean spacing
   ========================================================= */

.rc-author {
  max-width: 1140px;
  margin: 38px auto 85px;
  padding: 0 20px;
}

/* Title style like homepage blocks */
.rc-author-title {
  margin: 0 auto 0;
  padding: 0 0 18px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 90, 42, 0.16);
}

.rc-author-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff5a2a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rc-author-title h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.rc-author-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5a2a, #ffb08a);
}

.rc-author-title p {
  max-width: 720px;
  margin: 14px auto 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.65;
}

/* Main author layout */
.rc-author-box {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
  padding-top: 0;
  margin-top: 22px;
}

.rc-author-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 8px solid #ffffff;
}

.rc-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.rc-author-text {
  position: relative;
  background: #f4eeeb;
  border-radius: 28px;
  padding: 48px 54px;
  color: #333333;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.055);
}

.rc-author-text::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 72px;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-right: 22px solid #f4eeeb;
}

.rc-author-text h3 {
  margin: 0 0 22px;
  color: #111111;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.rc-author-text p {
  margin: 0 0 20px;
  color: #333333;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 500;
}

.rc-author-text strong {
  color: #222222;
  font-weight: 900;
}

.rc-author-cta-text {
  margin-bottom: 14px !important;
  color: #555555 !important;
  font-size: 18px !important;
}

/* Premium button */
.rc-author-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a2a, #ff7a45);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(255, 90, 42, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.rc-author-btn span {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.rc-author-btn::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.rc-author-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #111111, #242424);
  color: #ffffff !important;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.18);
}

.rc-author-btn:hover::before {
  opacity: 1;
}

.rc-author-btn:hover span {
  transform: translateX(5px);
}

/* Tablet */
@media (max-width: 1024px) {
  .rc-author {
    margin: 34px auto 75px;
  }

  .rc-author-title {
    margin-bottom: 0;
    padding-bottom: 16px;
  }

  .rc-author-box {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding-top: 0;
    margin-top: 22px;
  }

  .rc-author-img {
    width: 290px;
    height: 290px;
  }

  .rc-author-text {
    padding: 40px 34px;
  }

  .rc-author-text::before {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .rc-author {
    margin: 28px auto 65px;
    padding: 0 16px;
  }

  .rc-author-title {
    margin-bottom: 0;
    padding-bottom: 16px;
  }

  .rc-author-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .rc-author-title h2 {
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: -0.045em;
  }

  .rc-author-title h2::after {
    margin-top: 10px;
  }

  .rc-author-title p {
    max-width: 340px;
    font-size: 15px;
  }

  .rc-author-box {
    gap: 22px;
    padding-top: 0;
    margin-top: 20px;
  }

  .rc-author-img {
    width: 220px;
    height: 220px;
    border-width: 7px;
  }

  .rc-author-text {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .rc-author-text h3 {
    margin-bottom: 18px;
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: -0.045em;
  }

  .rc-author-text p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .rc-author-cta-text {
    font-size: 16px !important;
  }

  .rc-author-btn {
    width: 100%;
    max-width: 300px;
    min-height: 52px;
    padding: 0 22px;
    font-size: 16px;
  }

  .rc-author-btn span {
    font-size: 20px;
  }
}
