/* rx-help-css aus Snippet 1543, ausgelagert 20260921-232914 */

/* FOUC guard: hide root until JS hydrates */
#rxHelpRoot { opacity: 0; transition: opacity .18s ease-out; }
#rxHelpRoot.is-loaded { opacity: 1; }

/* Hide the default WP page title + content on the help page so we own the layout */
body.page-id-1542 .entry-header,
body.page-id-1542 .entry-title,
body.page-id-1542 .page-header,
body.page-id-1542 header.entry-header,
body.page-id-1542 .wp-block-post-title,
body.page-id-1542 .ast-archive-description { display: none !important; }
body.page-id-1542 .entry-content > :not(#rxHelpRoot):not(script):not(style) { display: none !important; }
body.page-id-1542 main, body.page-id-1542 .site-content { background: #F8FAFC; }

#rxHelpRoot {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0F172A;
  line-height: 1.6;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
#rxHelpRoot * { box-sizing: border-box; }

/* === Hero === */
.rxh-hero {
  position: relative;
  background: linear-gradient(135deg, #0A0F1E 0%, #0F172A 55%, #0C4A6E 100%);
  color: #fff;
  border-radius: 14px;
  padding: 48px 32px 40px;
  min-height: 260px;
  margin: 24px 0 32px;
  overflow: hidden;
  text-align: center;
}
.rxh-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(14,165,233,.18) 0%, transparent 60%);
  pointer-events: none;
}
.rxh-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7DD3FC;
  margin: 0 0 10px;
  position: relative;
}
.rxh-hero h1 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 12px;
  color: #fff;
  position: relative;
}
.rxh-hero-sub {
  font-size: 15px;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 26px;
  line-height: 1.55;
  position: relative;
}
.rxh-search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.rxh-search-input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 48px;
  background: rgba(255,255,255,.96);
  border: 1.5px solid rgba(148,163,184,.2);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.rxh-search-input:focus {
  border-color: #0EA5E9;
  box-shadow: 0 0 0 4px rgba(14,165,233,.18);
}
.rxh-search-input::placeholder { color: #94A3B8; }
.rxh-search-icon {
  position: absolute;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #64748B;
  pointer-events: none;
}

/* === Breadcrumb === */
.rxh-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 18px;
  letter-spacing: .01em;
}
.rxh-crumb a {
  color: #0EA5E9;
  text-decoration: none;
  transition: color .15s;
}
.rxh-crumb a:hover { color: #0369A1; }
.rxh-crumb .rxh-crumb-sep {
  color: #CBD5E1;
  font-size: 11px;
}
.rxh-crumb .rxh-crumb-current {
  color: #475569;
  font-weight: 500;
}

/* === Landing: category grid === */
.rxh-landing-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #475569;
  font-size: 15px;
}
.rxh-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.rxh-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s, box-shadow .18s;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.rxh-cat-card:hover {
  transform: translateY(-2px);
  border-color: #0EA5E9;
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.rxh-cat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #F0F9FF;
  color: #0EA5E9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.rxh-cat-icon svg { width: 22px; height: 22px; }
.rxh-cat-card h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -.005em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.rxh-cat-card p {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1 1 auto;
}
.rxh-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.rxh-cat-count {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rxh-cat-link {
  color: #0EA5E9;
  font-weight: 600;
  letter-spacing: .01em;
}

/* === Category detail: sidebar + content === */
.rxh-cat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.rxh-sidebar {
  position: sticky;
  top: 112px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}
.rxh-sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94A3B8;
  margin: 0 0 10px;
}
.rxh-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.rxh-sidebar-list li { margin: 0; }
.rxh-sidebar-list a {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  color: #334155;
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  line-height: 1.4;
  transition: background .12s, color .12s, border-color .12s;
}
.rxh-sidebar-list a:hover {
  background: #F0F9FF;
  color: #0EA5E9;
}
.rxh-sidebar-list a.is-active {
  background: #F0F9FF;
  color: #0369A1;
  border-left-color: #0EA5E9;
  font-weight: 600;
}
.rxh-sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0EA5E9;
  text-decoration: none;
  padding: 6px 0;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
  width: 100%;
}
.rxh-sidebar-back:hover { color: #0369A1; }
.rxh-sidebar-back svg { width: 13px; height: 13px; }

.rxh-content {
  max-width: 760px;
}
.rxh-content-head {
  margin-bottom: 24px;
}
.rxh-content-head h1 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  line-height: 1.2;
}
.rxh-content-head p {
  font-size: 15px;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}

/* === Articles (accordion) === */
.rxh-article {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.rxh-article:hover { border-color: #CBD5E1; }
.rxh-article.is-open {
  border-color: #BAE6FD;
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.rxh-article-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.rxh-article-head:focus { outline: none; }
.rxh-article-head:focus-visible { outline: 2px solid #0EA5E9; outline-offset: -2px; }
.rxh-article-title {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
  margin: 0;
}
.rxh-article-chevron {
  width: 18px; height: 18px;
  color: #94A3B8;
  flex-shrink: 0;
  transition: transform .2s ease, color .15s;
}
.rxh-article.is-open .rxh-article-chevron {
  transform: rotate(180deg);
  color: #0EA5E9;
}
.rxh-article-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  border-top: 1px solid #F1F5F9;
  margin-top: 0;
}
.rxh-article.is-open .rxh-article-body { display: block; padding-top: 14px; }
.rxh-article-body p { margin: 0 0 10px; }
.rxh-article-body p:last-child { margin-bottom: 0; }
.rxh-article-body ul, .rxh-article-body ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}
.rxh-article-body li { margin: 4px 0; }
.rxh-article-body strong { color: #0F172A; font-weight: 600; }
.rxh-article-body em { color: #0369A1; font-style: normal; font-weight: 600; }
.rxh-article-body a { color: #0EA5E9; text-decoration: none; }
.rxh-article-body a:hover { text-decoration: underline; }

.rxh-helpful {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
}
.rxh-helpful-label { font-weight: 500; }
.rxh-helpful-btn {
  padding: 6px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all .15s;
}
.rxh-helpful-btn:hover { border-color: #0EA5E9; color: #0EA5E9; background: #F0F9FF; }
.rxh-helpful-btn.is-picked { border-color: #10B981; background: #D1FAE5; color: #065F46; }
.rxh-helpful-msg { color: #10B981; font-weight: 600; font-size: 12.5px; }

/* === Search state === */
.rxh-search-head {
  margin-bottom: 18px;
  font-size: 14px;
  color: #475569;
}
.rxh-search-head strong { color: #0F172A; }
.rxh-search-empty {
  padding: 40px 24px;
  text-align: center;
  color: #64748B;
  background: #fff;
  border: 1px dashed #E2E8F0;
  border-radius: 10px;
  font-size: 14px;
}
.rxh-search-result-cat {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0EA5E9;
  margin-bottom: 4px;
}
mark.rxh-hl {
  background: #FEF3C7;
  color: #92400E;
  padding: 0 2px;
  border-radius: 3px;
}

/* === Support CTA === */
.rxh-cta {
  margin-top: 48px;
  padding: 28px 28px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.rxh-cta-text h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.rxh-cta-text p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}
.rxh-cta-text a { color: #0369A1; font-weight: 600; text-decoration: none; }
.rxh-cta-text a:hover { text-decoration: underline; }
.rxh-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0EA5E9;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .15s, box-shadow .15s, transform .1s;
  box-shadow: 0 2px 6px rgba(14,165,233,.2);
  white-space: nowrap;
}
.rxh-cta-btn:hover {
  background: #0369A1;
  box-shadow: 0 6px 16px rgba(14,165,233,.3);
  color: #fff;
}
.rxh-cta-btn:active { transform: translateY(1px); }
.rxh-cta-btn svg { width: 16px; height: 16px; }

/* === Mobile === */
@media (max-width: 860px) {
  #rxHelpRoot { padding: 0 16px 60px; }
  .rxh-hero { padding: 36px 22px 30px; min-height: 220px; margin: 16px 0 24px; }
  .rxh-cat-layout { grid-template-columns: 1fr; gap: 20px; }
  .rxh-sidebar { position: static; top: auto; }
  .rxh-sidebar-list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0; }
  .rxh-sidebar-list li { flex: 0 0 auto; }
  .rxh-sidebar-list a { padding: 6px 12px; font-size: 12.5px; border-left: 0; border: 1px solid #E2E8F0; border-radius: 999px; }
  .rxh-sidebar-list a.is-active { border-color: #0EA5E9; }
  .rxh-sidebar-back { display: none; }
  .rxh-cta { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .rxh-hero h1 { font-size: 1.5rem; }
  .rxh-hero-sub { font-size: 14px; }
  .rxh-cat-card { padding: 20px; }
  .rxh-article-head { padding: 14px 16px; gap: 10px; }
  .rxh-article-title { font-size: 14.5px; }
  .rxh-article-body { padding: 0 16px 16px; font-size: 14px; }
  .rxh-article.is-open .rxh-article-body { padding-top: 12px; }
}
