/* === eventPIXX Ratgeber – Shared Article Styles === */

/* Hero */
.rg-article-hero {
  background: linear-gradient(135deg, #2a1458 0%, #742372 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.rg-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(168, 85, 247, 0.18), transparent 45%);
  pointer-events: none;
}
.rg-article-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.rg-article-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  font-weight: 700;
  margin: 12px 0 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.rg-article-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* Breadcrumb */
.rg-article-breadcrumb {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.rg-article-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.rg-article-breadcrumb a:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.rg-article-breadcrumb span {
  color: rgba(255, 255, 255, 0.65);
}

/* Hero meta line (read time + date) */
.rg-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.88em;
  backdrop-filter: blur(6px);
}
.rg-article-meta i {
  margin-right: 4px;
  opacity: 0.85;
}

/* Article Body */
.rg-article-body {
  padding: 60px 0;
  background: #fff;
}
.rg-intro {
  font-size: 1.12em;
  color: #2a2a3a;
  line-height: 1.7;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-color);
}
.rg-article-body h2 {
  color: var(--heading-color);
  font-size: 1.4em;
  font-weight: 700;
  margin: 36px 0 14px;
  line-height: 1.3;
}
.rg-article-body h3 {
  color: var(--heading-color);
  font-size: 1.1em;
  font-weight: 700;
  margin: 24px 0 10px;
}
.rg-article-body p {
  color: #3d3d4e;
  line-height: 1.7;
  font-size: 1em;
  margin-bottom: 16px;
}
.rg-article-body p strong {
  color: #1a1a2e;
}
.rg-article-body em {
  color: #1a1a2e;
  font-style: italic;
}
.rg-article-body a:not(.btn-hero) {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rg-article-body a:not(.btn-hero):hover {
  color: #5a1a58;
}

/* Lists in article */
.rg-article-body ul,
.rg-article-body ol {
  padding-left: 22px;
  margin: 0 0 18px;
  color: #3d3d4e;
}
.rg-article-body li {
  line-height: 1.65;
  margin-bottom: 6px;
}

/* Quote box */
.rg-quote {
  background: #faf8fb;
  border-left: 4px solid #ffb400;
  padding: 18px 22px;
  border-radius: 4px;
  font-style: italic;
  color: #3d3d4e;
  margin: 16px 0 24px;
  line-height: 1.65;
  position: relative;
}
.rg-quote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 3em;
  color: #ffb400;
  line-height: 1;
  font-family: 'Playfair Display', Georgia, serif;
}

/* Disclaimer / info note */
.rg-disclaimer {
  font-size: 0.9em;
  background: #fef3d0;
  border-left: 3px solid #ffb400;
  padding: 12px 16px;
  border-radius: 4px;
  color: #5a4a1a;
  margin: 0 0 24px;
}
.rg-disclaimer i {
  color: #c2410c;
}

/* Inline CTA box */
.rg-cta-box {
  background: linear-gradient(135deg, #faf8fb 0%, #fdf8fd 100%);
  border: 1px solid rgba(116, 35, 114, 0.18);
  border-radius: 14px;
  padding: 26px 24px;
  margin: 32px 0;
  text-align: center;
  box-shadow: 0 6px 20px rgba(116, 35, 114, 0.06);
}
.rg-cta-box h3 {
  color: var(--accent-color);
  font-size: 1.18em;
  font-weight: 700;
  margin: 0 0 8px;
}
.rg-cta-box p {
  color: #5a5a6a;
  font-size: 0.95em;
  margin: 0 0 16px;
  line-height: 1.55;
}

/* Final CTA at end of article */
.rg-article-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e3eb;
  text-align: center;
}

/* Buttons used inside articles (re-declared to ensure they always render) */
.rg-article a.btn-hero,
.rg-cta-box a.btn-hero,
.rg-article-cta a.btn-hero {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 18px rgba(116, 35, 114, 0.25);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rg-article a.btn-hero:hover,
.rg-cta-box a.btn-hero:hover,
.rg-article-cta a.btn-hero:hover {
  background: #5a1a58;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(116, 35, 114, 0.35);
  text-decoration: none;
}

/* "Mehr Ratgeber lesen" – related articles section (optional) */
.rg-related {
  background: #faf8fb;
  padding: 50px 0;
  border-top: 1px solid #e5e3eb;
}
.rg-related h2 {
  text-align: center;
  color: var(--heading-color);
  font-size: 1.5em;
  margin-bottom: 28px;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .rg-article-hero {
    padding: 60px 0 44px;
  }
  .rg-article-body {
    padding: 40px 0;
  }
  .rg-intro {
    font-size: 1.04em;
  }
  .rg-article-body h2 {
    font-size: 1.25em;
    margin-top: 28px;
  }
  .rg-article-meta {
    flex-wrap: wrap;
    gap: 8px 12px;
    text-align: left;
    justify-content: center;
  }
}
