/* Horeca Content UI Enhancer - frontend only, existing content only */
.hhcuie-content {
  --hhcuie-text: #111827;
  --hhcuie-muted: #64748b;
  --hhcuie-border: #e5e7eb;
  --hhcuie-soft: #f8fafc;
  --hhcuie-card: #ffffff;
  --hhcuie-blue-soft: #eff6ff;
  --hhcuie-blue-border: #bfdbfe;
  --hhcuie-blue: #2563eb;
  --hhcuie-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  max-width: var(--hhcuie-max-width, 780px);
  margin-left: auto;
  margin-right: auto;
  color: var(--hhcuie-text);
  overflow-wrap: break-word;
}

.hhcuie-content.hhcuie-typography {
  font-size: clamp(16px, 1.05vw, var(--hhcuie-font-size, 18px));
  line-height: var(--hhcuie-line-height, 1.78);
}

.hhcuie-content p { margin-top: 0; margin-bottom: 1.15em; }
.hhcuie-content.hhcuie-comfortable p { margin-bottom: 1.35em; }
.hhcuie-content a { text-underline-offset: 0.18em; }

.hhcuie-style-premium {
  --hhcuie-soft: #f8fafc;
  --hhcuie-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.hhcuie-style-compact { --hhcuie-shadow: none; }
.hhcuie-style-compact.hhcuie-typography { line-height: 1.65; }
.hhcuie-style-compact p { margin-bottom: 1em; }
.hhcuie-style-editorial { --hhcuie-blue: #334155; --hhcuie-blue-soft: #f8fafc; }

.hhcuie-heading {
  color: #0f172a;
  line-height: 1.22;
  letter-spacing: -0.018em;
  scroll-margin-top: 96px;
}
.hhcuie-h2 {
  margin-top: 2.25em;
  margin-bottom: 0.72em;
  padding-top: 0.15em;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}
.hhcuie-h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hhcuie-blue), rgba(37, 99, 235, 0));
  margin-top: 0.58em;
}
.hhcuie-style-editorial .hhcuie-h2::after { width: 48px; background: #0f172a; }
.hhcuie-style-compact .hhcuie-h2::after { display: none; }
.hhcuie-h3 { margin-top: 1.75em; margin-bottom: 0.55em; font-size: clamp(1.22rem, 1.7vw, 1.45rem); }
.hhcuie-h4 { margin-top: 1.45em; margin-bottom: 0.5em; font-size: 1.08rem; }

.hhcuie-list { margin-top: 0.8em; margin-bottom: 1.35em; padding-left: 1.35em; }
.hhcuie-list li { margin-bottom: 0.58em; padding-left: 0.1em; }
.hhcuie-list li::marker { color: var(--hhcuie-blue); font-weight: 700; }

.hhcuie-checklist,
.hhcuie-step-list {
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--hhcuie-border);
  border-radius: var(--hhcuie-radius, 18px);
  background: var(--hhcuie-card);
  box-shadow: var(--hhcuie-shadow);
}
.hhcuie-checklist { list-style: none; }
.hhcuie-checklist li { position: relative; padding-left: 1.85em; margin-bottom: 0.76em; }
.hhcuie-checklist li:last-child,
.hhcuie-step-list li:last-child { margin-bottom: 0; }
.hhcuie-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.04em;
  width: 1.28em;
  height: 1.28em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--hhcuie-blue);
  font-size: 0.72em;
  font-weight: 700;
}
.hhcuie-step-list { padding-left: 2.5rem; }
.hhcuie-step-list li { padding-left: 0.35rem; margin-bottom: 0.8em; }
.hhcuie-step-list li::marker { font-weight: 800; color: var(--hhcuie-blue); }

.hhcuie-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.45em 0;
  border-radius: var(--hhcuie-radius, 18px);
}
.hhcuie-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--hhcuie-border);
  border-radius: var(--hhcuie-radius, 18px);
  background: var(--hhcuie-card);
  box-shadow: var(--hhcuie-shadow);
  margin: 1.45em 0;
}
.hhcuie-table-wrap .hhcuie-table { margin: 0; }
.hhcuie-table th,
.hhcuie-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--hhcuie-border); vertical-align: top; }
.hhcuie-table tr:last-child th,
.hhcuie-table tr:last-child td { border-bottom: 0; }
.hhcuie-table th { background: var(--hhcuie-soft); color: #0f172a; font-weight: 700; }
.hhcuie-zebra-tables .hhcuie-table tbody tr:nth-child(even) td { background: #fbfdff; }

.hhcuie-note {
  margin: 1.5em 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--hhcuie-blue);
  border-radius: 0 var(--hhcuie-radius, 18px) var(--hhcuie-radius, 18px) 0;
  background: var(--hhcuie-blue-soft);
  color: #1e293b;
}

.hhcuie-button,
.hhcuie-content .wp-block-button__link,
.hhcuie-content .wp-element-button {
  border-radius: 999px;
  padding: 0.78em 1.22em;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.16);
}
.hhcuie-style-compact .hhcuie-button,
.hhcuie-style-compact .wp-block-button__link { box-shadow: none; }

.hhcuie-toc {
  margin: 1.5em 0 1.9em;
  padding: 1rem 1.15rem;
  border: 1px solid var(--hhcuie-border);
  border-radius: var(--hhcuie-radius, 18px);
  background: var(--hhcuie-soft);
}
.hhcuie-style-premium .hhcuie-toc { background: #fff; box-shadow: var(--hhcuie-shadow); }
.hhcuie-toc-title { font-weight: 800; color: #0f172a; margin-bottom: 0.4em; }
.hhcuie-toc ul,
.hhcuie-toc ol { margin-bottom: 0; }
.hhcuie-toc li { margin-bottom: 0.36em; }
.hhcuie-toc a { text-decoration: none; font-weight: 650; }
.hhcuie-toc a:hover { text-decoration: underline; }

.hhcuie-faq-accordion { margin: 1.5em 0; }
.hhcuie-faq-accordion .rank-math-list-item,
.hhcuie-faq-accordion .schema-faq-section,
.hhcuie-faq-accordion .yoast-faq-item {
  border: 1px solid var(--hhcuie-border);
  border-radius: var(--hhcuie-radius, 18px);
  background: var(--hhcuie-card);
  box-shadow: var(--hhcuie-shadow);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.hhcuie-faq-question {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.1rem;
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
}
.hhcuie-faq-question::after { content: "+"; flex: 0 0 auto; color: var(--hhcuie-blue); font-size: 1.2em; font-weight: 800; }
.hhcuie-faq-question[aria-expanded="true"]::after { content: "−"; }
.hhcuie-faq-icon-arrow .hhcuie-faq-question::after { content: "▾"; transform: rotate(-90deg); transition: transform .18s ease; }
.hhcuie-faq-icon-arrow .hhcuie-faq-question[aria-expanded="true"]::after { content: "▾"; transform: rotate(0deg); }
.hhcuie-faq-answer { padding: 0 1.1rem 1rem; }
.hhcuie-js .hhcuie-faq-answer { display: none; }
.hhcuie-js .hhcuie-faq-answer.is-open { display: block; }
.hhcuie-faq-question:focus { outline: 3px solid rgba(37, 99, 235, 0.28); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hhcuie-content * { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 720px) {
  .hhcuie-content { max-width: 100%; }
  .hhcuie-h2 { margin-top: 1.9em; }
  .hhcuie-checklist,
  .hhcuie-step-list,
  .hhcuie-toc,
  .hhcuie-note { padding: 0.9rem 1rem; }
  .hhcuie-table th,
  .hhcuie-table td { padding: 0.75rem 0.85rem; }
}

/* v1.2 trust, media, sources, and semantic enhancements */
.hhcuie-trust-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--hhcuie-border);
  border-radius: calc(var(--hhcuie-radius, 18px) - 6px);
  background: var(--hhcuie-soft);
  color: var(--hhcuie-muted);
  font-size: 0.92em;
  line-height: 1.4;
}
.hhcuie-trust-author,
.hhcuie-trust-updated { color: #334155; font-weight: 650; }
.hhcuie-trust-sep { color: #94a3b8; }

.hhcuie-figure {
  margin: 1.6em 0;
  border-radius: var(--hhcuie-radius, 18px);
}
.hhcuie-image {
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--hhcuie-radius, 18px) - 4px);
}
.hhcuie-figure .hhcuie-image,
.hhcuie-content figure img {
  display: block;
}
.hhcuie-caption,
.hhcuie-content figcaption,
.hhcuie-content .wp-element-caption,
.hhcuie-table-caption {
  margin-top: 0.6em;
  color: var(--hhcuie-muted);
  font-size: 0.92em;
  line-height: 1.55;
  text-align: center;
}
.hhcuie-table-caption {
  caption-side: bottom;
  padding: 0.7rem 1rem;
  text-align: left;
}

.hhcuie-sources-title {
  margin-top: 2.2em;
}
.hhcuie-sources {
  margin: 0.9em 0 1.7em;
  padding: 1rem 1.15rem;
  border: 1px solid var(--hhcuie-border);
  border-radius: var(--hhcuie-radius, 18px);
  background: #fff;
  box-shadow: var(--hhcuie-shadow);
  font-size: 0.96em;
}
.hhcuie-sources a,
.hhcuie-external-link {
  word-break: break-word;
}
.hhcuie-external-link[target="_blank"]::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.18em;
  font-size: 0.82em;
  text-decoration: none;
}

.hhcuie-content :focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
  border-radius: 6px;
}

@media print {
  .hhcuie-content {
    max-width: none;
    font-size: 12pt;
    line-height: 1.5;
  }
  .hhcuie-checklist,
  .hhcuie-step-list,
  .hhcuie-table,
  .hhcuie-toc,
  .hhcuie-note,
  .hhcuie-sources,
  .hhcuie-trust-meta {
    box-shadow: none !important;
  }
  .hhcuie-faq-answer {
    display: block !important;
  }
}

/* v1.3 performance/design polish */
.hhcuie-style-minimal {
  --hhcuie-shadow: none;
  --hhcuie-soft: #fafafa;
  --hhcuie-border: #e7e5e4;
}
.hhcuie-style-minimal .hhcuie-h2::after,
.hhcuie-style-minimal .hhcuie-table,
.hhcuie-style-minimal .hhcuie-checklist,
.hhcuie-style-minimal .hhcuie-step-list,
.hhcuie-style-minimal .hhcuie-note { box-shadow: none; }
.hhcuie-style-authority {
  --hhcuie-blue: #0f766e;
  --hhcuie-blue-soft: #ecfdf5;
  --hhcuie-blue-border: #99f6e4;
}
.hhcuie-style-authority .hhcuie-h2::after { background: linear-gradient(90deg, #0f766e, rgba(15,118,110,0)); }
.hhcuie-style-magazine {
  --hhcuie-blue: #7c3aed;
  --hhcuie-blue-soft: #f5f3ff;
  --hhcuie-blue-border: #ddd6fe;
}
.hhcuie-style-magazine .hhcuie-h2 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
.hhcuie-style-magazine .hhcuie-h2::after { width: 96px; background: linear-gradient(90deg, #7c3aed, rgba(124,58,237,0)); }

.hhcuie-table-mode-compact .hhcuie-table th,
.hhcuie-table-mode-compact .hhcuie-table td { padding: 0.62rem 0.75rem; font-size: 0.94em; }
.hhcuie-table-mode-card .hhcuie-table-wrap {
  padding: 0.35rem;
  border: 1px solid var(--hhcuie-border);
  background: var(--hhcuie-card);
  box-shadow: var(--hhcuie-shadow);
}
.hhcuie-table-mode-card .hhcuie-table { box-shadow: none; border-radius: calc(var(--hhcuie-radius, 18px) - 6px); }
.hhcuie-table-wrap::after {
  content: "";
  position: sticky;
  right: 0;
  top: 0;
  display: block;
  width: 26px;
  height: 1px;
  margin-top: -1px;
  pointer-events: none;
}
.hhcuie-sticky-first-column .hhcuie-table th:first-child,
.hhcuie-sticky-first-column .hhcuie-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--hhcuie-card);
}
.hhcuie-sticky-first-column .hhcuie-table th:first-child { background: var(--hhcuie-soft); z-index: 2; }

.hhcuie-image-style-card .hhcuie-figure {
  padding: 0.65rem;
  border: 1px solid var(--hhcuie-border);
  background: var(--hhcuie-card);
  box-shadow: var(--hhcuie-shadow);
}
.hhcuie-image-style-editorial .hhcuie-figure {
  margin-left: min(-4vw, -36px);
  margin-right: min(-4vw, -36px);
}
.hhcuie-image-style-editorial .hhcuie-caption { text-align: left; padding-inline: 0.25rem; }
.hhcuie-image-style-none .hhcuie-image,
.hhcuie-image-style-none .hhcuie-figure { border-radius: 0; }

.hhcuie-faq-answer[hidden] { display: none !important; }
.hhcuie-faq-answer.is-open { display: block; }
.hhcuie-faq-question { user-select: none; }
.hhcuie-faq-question:hover { color: var(--hhcuie-blue); }

.hhcuie-dark,
.hhcuie-dark-auto {
  color-scheme: light dark;
}
.hhcuie-dark {
  --hhcuie-text: #e5e7eb;
  --hhcuie-muted: #a8b3c7;
  --hhcuie-border: #334155;
  --hhcuie-soft: #111827;
  --hhcuie-card: #0f172a;
  --hhcuie-blue-soft: rgba(37, 99, 235, 0.16);
  --hhcuie-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.hhcuie-dark .hhcuie-heading,
.hhcuie-dark .hhcuie-table th,
.hhcuie-dark .hhcuie-faq-question,
.hhcuie-dark .hhcuie-toc-title { color: #f8fafc; }
.hhcuie-dark .hhcuie-note,
.hhcuie-dark .hhcuie-trust-author,
.hhcuie-dark .hhcuie-trust-updated { color: #dbeafe; }
.hhcuie-dark .hhcuie-sources { background: var(--hhcuie-card); }
.hhcuie-dark.hhcuie-zebra-tables .hhcuie-table tbody tr:nth-child(even) td { background: rgba(148, 163, 184, 0.06); }

@media (prefers-color-scheme: dark) {
  .hhcuie-dark-auto {
    --hhcuie-text: #e5e7eb;
    --hhcuie-muted: #a8b3c7;
    --hhcuie-border: #334155;
    --hhcuie-soft: #111827;
    --hhcuie-card: #0f172a;
    --hhcuie-blue-soft: rgba(37, 99, 235, 0.16);
    --hhcuie-shadow: 0 16px 40px rgba(0,0,0,0.35);
  }
  .hhcuie-dark-auto .hhcuie-heading,
  .hhcuie-dark-auto .hhcuie-table th,
  .hhcuie-dark-auto .hhcuie-faq-question,
  .hhcuie-dark-auto .hhcuie-toc-title { color: #f8fafc; }
  .hhcuie-dark-auto .hhcuie-note,
  .hhcuie-dark-auto .hhcuie-trust-author,
  .hhcuie-dark-auto .hhcuie-trust-updated { color: #dbeafe; }
  .hhcuie-dark-auto .hhcuie-sources { background: var(--hhcuie-card); }
  .hhcuie-dark-auto.hhcuie-zebra-tables .hhcuie-table tbody tr:nth-child(even) td { background: rgba(148, 163, 184, 0.06); }
}

@media (max-width: 640px) {
  .hhcuie-content.hhcuie-typography { font-size: min(var(--hhcuie-font-size, 18px), 17px); }
  .hhcuie-content p { margin-bottom: 1.08em; }
  .hhcuie-h2 { font-size: clamp(1.38rem, 8vw, 1.72rem); line-height: 1.18; }
  .hhcuie-h3 { font-size: clamp(1.15rem, 5.4vw, 1.32rem); }
  .hhcuie-faq-question { padding: 0.88rem 0.95rem; }
  .hhcuie-faq-answer { padding: 0 0.95rem 0.95rem; }
  .hhcuie-image-style-editorial .hhcuie-figure { margin-left: 0; margin-right: 0; }
  .hhcuie-trust-meta { font-size: 0.88em; }
}

/* v1.4 premium visual polish and FAQ reliability */
.hhcuie-content {
  --hhcuie-text: #0f172a;
  --hhcuie-heading: #0b1220;
  --hhcuie-muted: #64748b;
  --hhcuie-border: #e6eaf0;
  --hhcuie-soft: #f8fafc;
  --hhcuie-card: #ffffff;
  --hhcuie-accent: var(--hhcuie-blue, #2563eb);
  --hhcuie-shadow: 0 18px 52px rgba(15, 23, 42, 0.07);
}

.hhcuie-content.hhcuie-typography {
  font-size: clamp(17px, 1.06vw, var(--hhcuie-font-size, 18px));
  line-height: var(--hhcuie-line-height, 1.82);
}

.hhcuie-content p {
  color: var(--hhcuie-text);
  letter-spacing: -0.004em;
}

.hhcuie-heading {
  color: var(--hhcuie-heading);
  font-weight: 760;
  letter-spacing: -0.032em;
}

.hhcuie-h2 {
  margin-top: clamp(2.35rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.hhcuie-h2::after {
  width: 58px;
  height: 4px;
  margin-top: 0.62rem;
  background: linear-gradient(90deg, var(--hhcuie-accent), rgba(37, 99, 235, 0.08));
}

.hhcuie-h3 {
  margin-top: 2.1rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 730;
}

.hhcuie-h4 {
  margin-top: 1.7rem;
  margin-bottom: 0.62rem;
  font-weight: 720;
}

.hhcuie-trust-meta {
  gap: 0.55rem;
  margin: 0 0 1.65rem;
  padding: 0.82rem 1rem;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  color: #475569;
  font-size: 0.94em;
}

.hhcuie-trust-meta::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--hhcuie-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  margin-right: 0.12rem;
}

.hhcuie-trust-author,
.hhcuie-trust-updated {
  color: #1e293b;
  font-weight: 720;
}

.hhcuie-list:not(.hhcuie-checklist):not(.hhcuie-step-list) {
  padding-left: 1.55em;
}

.hhcuie-checklist {
  margin: 1.15rem 0 1.9rem;
  padding: 1.35rem;
  border: 1px solid #e6edf6;
  border-radius: calc(var(--hhcuie-radius, 18px) + 2px);
  background:
    radial-gradient(circle at 18px 18px, rgba(37,99,235,.075), transparent 24px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.hhcuie-checklist-many {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.3rem;
  row-gap: 0.75rem;
}

.hhcuie-checklist li {
  min-height: 1.7rem;
  margin: 0;
  padding-left: 2rem;
  color: #0f172a;
  font-weight: 530;
  line-height: 1.55;
}

.hhcuie-checklist li + li {
  margin-top: 0.74rem;
}

.hhcuie-checklist-many li + li {
  margin-top: 0;
}

.hhcuie-checklist li::before {
  top: 0.08em;
  width: 1.18rem;
  height: 1.18rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
  font-size: 0.7rem;
}

.hhcuie-step-list {
  margin: 1.15rem 0 1.9rem;
  padding: 1.25rem 1.25rem 1.25rem 2.85rem;
  border-color: #e6edf6;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.hhcuie-table-wrap {
  position: relative;
  margin: 1.35rem 0 2.1rem;
  padding: 0;
  border: 1px solid #e5ebf3;
  border-radius: calc(var(--hhcuie-radius, 18px) + 2px);
  background: #fff;
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.07);
}

.hhcuie-table {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.hhcuie-table th,
.hhcuie-table td {
  padding: 1rem 1.15rem;
  border: 0 !important;
  border-bottom: 1px solid #e8edf4 !important;
  vertical-align: middle;
}

.hhcuie-table th {
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.82em;
  font-weight: 820;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hhcuie-table tbody tr:last-child td,
.hhcuie-table tbody tr:last-child th {
  border-bottom: 0 !important;
}

.hhcuie-zebra-tables .hhcuie-table tbody tr:nth-child(even) td,
.hhcuie-zebra-tables .hhcuie-table tbody tr:nth-child(even) th {
  background: #fbfdff;
}

.hhcuie-table tbody tr:hover td,
.hhcuie-table tbody tr:hover th {
  background: #f8fbff;
}

.hhcuie-table-mode-compact .hhcuie-table th,
.hhcuie-table-mode-compact .hhcuie-table td {
  padding: 0.72rem 0.85rem;
}

.hhcuie-table-mode-card .hhcuie-table-wrap,
.hhcuie-table-premium {
  border-radius: calc(var(--hhcuie-radius, 18px) + 2px);
}

.hhcuie-sticky-first-column .hhcuie-table th:first-child,
.hhcuie-sticky-first-column .hhcuie-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
}

.hhcuie-sticky-first-column .hhcuie-table th:first-child {
  z-index: 3;
  background: #f8fafc;
}

.hhcuie-table-caption {
  padding: 0.8rem 1.15rem 1rem;
  color: #64748b;
  font-size: 0.9em;
  text-align: left;
}

.hhcuie-faq-accordion {
  margin: 1.4rem 0 2.2rem;
}

.hhcuie-faq-accordion .rank-math-list-item,
.hhcuie-faq-accordion .schema-faq-section,
.hhcuie-faq-accordion .yoast-faq-item {
  border: 1px solid #e6edf6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.hhcuie-faq-question {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  cursor: pointer;
  padding: 1.05rem 1.15rem;
  margin: 0 !important;
  color: #0f172a;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 760;
  line-height: 1.35;
  user-select: none;
}

.hhcuie-faq-question:hover {
  background: #f8fafc;
}

.hhcuie-faq-question::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  font-size: 1.25rem;
  font-weight: 760;
  line-height: 1;
}

.hhcuie-faq-question[aria-expanded="true"]::after {
  content: "−";
  color: #0f172a;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.hhcuie-faq-answer {
  padding: 0 1.15rem 1.1rem;
  color: #334155;
  border-top: 1px solid #eef2f7;
}

.hhcuie-js .hhcuie-faq-answer[hidden] {
  display: none !important;
}

.hhcuie-js .hhcuie-faq-answer.is-open {
  display: block !important;
}

.hhcuie-faq-answer > :last-child {
  margin-bottom: 0;
}

.hhcuie-faq-question:focus,
.hhcuie-faq-question:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.26);
  outline-offset: 2px;
}

.hhcuie-figure {
  overflow: hidden;
}

.hhcuie-image-style-card .hhcuie-figure,
.hhcuie-image-style-soft .hhcuie-figure {
  padding: 0.55rem;
  border: 1px solid #e6edf6;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.hhcuie-image {
  display: block;
  width: auto;
  max-width: 100%;
}

.hhcuie-caption,
.hhcuie-content figcaption,
.hhcuie-content .wp-element-caption {
  padding: 0.2rem 0.4rem 0.15rem;
  color: #64748b;
  font-size: 0.9em;
}

@media (max-width: 720px) {
  .hhcuie-content.hhcuie-typography {
    font-size: 17px;
    line-height: 1.78;
  }
  .hhcuie-h2 {
    margin-top: 2.2rem;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
  .hhcuie-h3 {
    font-size: 1.28rem;
  }
  .hhcuie-checklist,
  .hhcuie-checklist-many,
  .hhcuie-step-list {
    display: block;
    padding: 1.05rem;
  }
  .hhcuie-checklist-many li + li {
    margin-top: 0.74rem;
  }
  .hhcuie-table-wrap::after {
    content: "Swipe to view table";
    display: block;
    padding: 0.55rem 0.85rem;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 0.78rem;
    text-align: center;
  }
  .hhcuie-table th,
  .hhcuie-table td {
    padding: 0.82rem 0.9rem;
    white-space: nowrap;
  }
  .hhcuie-faq-question {
    padding: 0.95rem 1rem;
  }
  .hhcuie-faq-answer {
    padding: 0 1rem 1rem;
  }
  .hhcuie-trust-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
  .hhcuie-trust-sep {
    display: none;
  }
}


.hhcuie-dark .hhcuie-checklist,
.hhcuie-dark .hhcuie-step-list,
.hhcuie-dark .hhcuie-table-wrap,
.hhcuie-dark .hhcuie-faq-accordion .rank-math-list-item,
.hhcuie-dark .hhcuie-faq-accordion .schema-faq-section,
.hhcuie-dark .hhcuie-faq-accordion .yoast-faq-item,
.hhcuie-dark .hhcuie-trust-meta,
.hhcuie-dark .hhcuie-figure {
  background: #0f172a;
  border-color: #263244;
  box-shadow: none;
}

.hhcuie-dark .hhcuie-table,
.hhcuie-dark .hhcuie-table th,
.hhcuie-dark .hhcuie-table td,
.hhcuie-dark .hhcuie-faq-question,
.hhcuie-dark .hhcuie-faq-answer,
.hhcuie-dark .hhcuie-checklist li,
.hhcuie-dark .hhcuie-trust-author,
.hhcuie-dark .hhcuie-trust-updated {
  color: #e5e7eb;
}

.hhcuie-dark .hhcuie-table th,
.hhcuie-dark .hhcuie-faq-question:hover,
.hhcuie-dark .hhcuie-sticky-first-column .hhcuie-table th:first-child {
  background: #111827;
}

.hhcuie-dark .hhcuie-table td,
.hhcuie-dark .hhcuie-sticky-first-column .hhcuie-table td:first-child {
  background: #0f172a;
}

.hhcuie-dark .hhcuie-faq-answer,
.hhcuie-dark .hhcuie-table th,
.hhcuie-dark .hhcuie-table td {
  border-color: #263244 !important;
}

@media (prefers-color-scheme: dark) {
  .hhcuie-dark-auto .hhcuie-checklist,
  .hhcuie-dark-auto .hhcuie-step-list,
  .hhcuie-dark-auto .hhcuie-table-wrap,
  .hhcuie-dark-auto .hhcuie-faq-accordion .rank-math-list-item,
  .hhcuie-dark-auto .hhcuie-faq-accordion .schema-faq-section,
  .hhcuie-dark-auto .hhcuie-faq-accordion .yoast-faq-item,
  .hhcuie-dark-auto .hhcuie-trust-meta,
  .hhcuie-dark-auto .hhcuie-figure {
    background: #0f172a;
    border-color: #263244;
    box-shadow: none;
  }
  .hhcuie-dark-auto .hhcuie-table,
  .hhcuie-dark-auto .hhcuie-table th,
  .hhcuie-dark-auto .hhcuie-table td,
  .hhcuie-dark-auto .hhcuie-faq-question,
  .hhcuie-dark-auto .hhcuie-faq-answer,
  .hhcuie-dark-auto .hhcuie-checklist li,
  .hhcuie-dark-auto .hhcuie-trust-author,
  .hhcuie-dark-auto .hhcuie-trust-updated {
    color: #e5e7eb;
  }
  .hhcuie-dark-auto .hhcuie-table th,
  .hhcuie-dark-auto .hhcuie-faq-question:hover,
  .hhcuie-dark-auto .hhcuie-sticky-first-column .hhcuie-table th:first-child {
    background: #111827;
  }
  .hhcuie-dark-auto .hhcuie-table td,
  .hhcuie-dark-auto .hhcuie-sticky-first-column .hhcuie-table td:first-child {
    background: #0f172a;
  }
  .hhcuie-dark-auto .hhcuie-faq-answer,
  .hhcuie-dark-auto .hhcuie-table th,
  .hhcuie-dark-auto .hhcuie-table td {
    border-color: #263244 !important;
  }
}

/* v1.5 final production refinements */
.hhcuie-table-mode-premium .hhcuie-table,
.hhcuie-table-mode-salary .hhcuie-table,
.hhcuie-table-mode-comparison .hhcuie-table {
  overflow: hidden;
  border: 1px solid var(--hhcuie-border, #e5e7eb);
  border-radius: var(--hhcuie-radius, 18px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}
.hhcuie-table-mode-premium .hhcuie-table th,
.hhcuie-table-mode-salary .hhcuie-table th,
.hhcuie-table-mode-comparison .hhcuie-table th {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  color: #0f172a;
  font-size: 0.82em;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.hhcuie-table-mode-premium .hhcuie-table td,
.hhcuie-table-mode-salary .hhcuie-table td,
.hhcuie-table-mode-comparison .hhcuie-table td {
  border-left: 0 !important;
  border-right: 0 !important;
}
.hhcuie-table-mode-salary .hhcuie-table td:last-child,
.hhcuie-table-mode-salary .hhcuie-table th:last-child {
  font-weight: 700;
}
.hhcuie-table-mode-comparison .hhcuie-table td:first-child,
.hhcuie-table-mode-comparison .hhcuie-table th:first-child {
  font-weight: 700;
}
.hhcuie-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.hhcuie-trust-reviewer {
  font-weight: 650;
  color: var(--hhcuie-muted-strong, #334155);
}
.hhcuie-trust-note {
  margin-top: 0.45rem;
  color: var(--hhcuie-muted, #64748b);
  font-size: 0.92em;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .hhcuie-content {
    padding-left: 0.05rem;
    padding-right: 0.05rem;
  }
  .hhcuie-table-mode-card .hhcuie-table th,
  .hhcuie-table-mode-card .hhcuie-table td {
    padding: 0.85rem 0.95rem;
  }
  .hhcuie-trust-line {
    display: block;
  }
  .hhcuie-trust-sep {
    display: none;
  }
  .hhcuie-trust-line span {
    display: block;
    margin-bottom: 0.2rem;
  }
}

/* v1.6 premium polish: quick summary, stronger FAQ fallback, tables, lists, trust, mobile */
.hhcuie-quick-summary {
  margin: 0 0 2rem;
  padding: 1.15rem 1.35rem 1.2rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: calc(var(--hhcuie-radius, 18px) + 2px);
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 72%);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}
.hhcuie-quick-summary__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .55rem;
  color: #1d4ed8;
  font-size: .78em;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hhcuie-quick-summary__label::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.hhcuie-quick-summary__body,
.hhcuie-quick-summary__body p {
  margin: 0;
  color: #0f172a;
  font-size: 1.02em;
  line-height: 1.72;
  font-weight: 520;
}
.hhcuie-trust-meta {
  align-items: flex-start;
  gap: .6rem;
}
.hhcuie-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  align-items: center;
}
.hhcuie-trust-reviewer,
.hhcuie-source-note {
  color: #334155;
  font-weight: 650;
}
.hhcuie-trust-note {
  margin-top: .55rem;
  color: #475569;
  line-height: 1.55;
}
.hhcuie-checklist {
  border-color: rgba(37, 99, 235, .14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}
.hhcuie-checklist li {
  padding-left: 2rem;
  min-height: 1.6rem;
  line-height: 1.62;
}
.hhcuie-checklist li::before {
  top: .18em;
  width: 1.18rem;
  height: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(3, 105, 161, .16);
}
.hhcuie-step-list li::marker { font-weight: 800; color: #2563eb; }
.hhcuie-table-wrap {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: calc(var(--hhcuie-radius, 18px) + 2px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}
.hhcuie-table {
  border-collapse: separate;
  border-spacing: 0;
}
.hhcuie-table th {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
  color: #0f172a;
  font-size: .88em;
  letter-spacing: .015em;
}
.hhcuie-table td,
.hhcuie-table th {
  border-right: 0 !important;
}
.hhcuie-table tbody td,
.hhcuie-table tbody th {
  background-clip: padding-box;
}
.hhcuie-table-mode-salary .hhcuie-table th,
.hhcuie-table-mode-comparison .hhcuie-table th,
.hhcuie-table-premium th {
  text-transform: uppercase;
  font-size: .8em;
  letter-spacing: .055em;
}
.hhcuie-table-mode-card .hhcuie-table-wrap {
  padding: .6rem;
}
.hhcuie-js .hhcuie-faq-answer:not([hidden]) {
  display: block;
}
.hhcuie-faq-question {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.hhcuie-faq-answer {
  color: #334155;
  line-height: 1.68;
}
.hhcuie-faq-answer p:first-child { margin-top: .15rem; }
.hhcuie-faq-answer p:last-child { margin-bottom: 0; }
.hhcuie-content :focus-visible {
  outline: 3px solid rgba(37, 99, 235, .34);
  outline-offset: 3px;
}
.hhcuie-dark .hhcuie-quick-summary {
  background: linear-gradient(135deg, rgba(30, 64, 175, .25) 0%, rgba(15, 23, 42, .96) 72%);
  border-color: rgba(96, 165, 250, .25);
}
.hhcuie-dark .hhcuie-quick-summary__body,
.hhcuie-dark .hhcuie-quick-summary__body p { color: #e5eefc; }
@media (max-width: 700px) {
  .hhcuie-quick-summary { padding: 1rem 1rem 1.05rem; margin-bottom: 1.45rem; }
  .hhcuie-quick-summary__body,
  .hhcuie-quick-summary__body p { font-size: 1em; line-height: 1.68; }
  .hhcuie-checklist { padding: 1rem; }
  .hhcuie-checklist li { padding-left: 1.8rem; }
  .hhcuie-faq-question { font-size: 1rem; line-height: 1.35; }
  .hhcuie-table-wrap { border-radius: 16px; }
  .hhcuie-content p { overflow-wrap: anywhere; }
}

/* v1.7 premium editorial trust card and existing TOC polish: visible/crawler-safe, original content only */
.hhcuie-content {
  --hhcuie-ink: #0b1220;
  --hhcuie-navy: #0f172a;
  --hhcuie-brand: var(--hhcuie-blue, #2563eb);
  --hhcuie-brand-soft: #eef5ff;
  --hhcuie-ring: rgba(37, 99, 235, 0.16);
}

/* Premium author/trust card */
.hhcuie-content .hhcuie-trust-meta {
  position: relative;
  display: block;
  margin: 0 0 1.35rem;
  padding: 0.9rem 1rem 0.9rem 3.15rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: min(var(--hhcuie-radius, 18px), 18px);
  background:
    radial-gradient(circle at 24px 26px, rgba(37, 99, 235, 0.18), transparent 30px),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #f3f7ff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
  color: #475569;
  font-size: 0.925em;
  line-height: 1.45;
  overflow: hidden;
}
.hhcuie-content .hhcuie-trust-meta::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.98rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.10), 0 8px 16px rgba(37, 99, 235, 0.18);
}
.hhcuie-content .hhcuie-trust-meta::after {
  content: "✓";
  position: absolute;
  left: 1.31rem;
  top: 1.01rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.35rem;
}
.hhcuie-content .hhcuie-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0;
}
.hhcuie-content .hhcuie-trust-author,
.hhcuie-content .hhcuie-trust-updated,
.hhcuie-content .hhcuie-trust-reviewer {
  color: #1e293b;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.hhcuie-content .hhcuie-trust-sep {
  color: #94a3b8;
  font-weight: 800;
  margin: 0 0.05rem;
}
.hhcuie-content .hhcuie-trust-note {
  margin-top: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #475569;
  font-size: 0.95em;
}

/* Premium existing Table of Contents / Rank Math TOC. Links stay real anchors and fully visible. */
.hhcuie-content .hhcuie-toc,
.hhcuie-content .wp-block-rank-math-toc-block.hhcuie-toc,
.hhcuie-content nav.hhcuie-toc {
  position: relative;
  margin: 1.55rem 0 2.15rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: min(var(--hhcuie-radius, 18px), 20px);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(37,99,235,.28), rgba(14,165,233,.10), rgba(148,163,184,.18)) border-box;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.hhcuie-content .hhcuie-toc::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #93c5fd 56%, rgba(147, 197, 253, 0));
}
.hhcuie-content .hhcuie-toc > :first-child,
.hhcuie-content .hhcuie-toc-title,
.hhcuie-content .hhcuie-toc h2:first-child,
.hhcuie-content .hhcuie-toc h3:first-child,
.hhcuie-content .hhcuie-toc p:first-child {
  margin: 0 0 0.85rem !important;
  padding: 0 0 0.72rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: #0f172a;
  font-size: clamp(1.18rem, 1.75vw, 1.48rem);
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: -0.025em;
}
.hhcuie-content .hhcuie-toc ul,
.hhcuie-content .hhcuie-toc ol,
.hhcuie-content .hhcuie-toc-list {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  display: grid;
  gap: 0.28rem;
}
.hhcuie-content .hhcuie-toc li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
}
.hhcuie-content .hhcuie-toc li li {
  margin-left: 0.85rem !important;
}
.hhcuie-content .hhcuie-toc a,
.hhcuie-content .hhcuie-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  padding: 0.48rem 0.62rem;
  border-radius: 12px;
  color: #075eb9;
  text-decoration: none !important;
  font-weight: 720;
  line-height: 1.35;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.hhcuie-content .hhcuie-toc a::before,
.hhcuie-content .hhcuie-toc-link::before {
  content: "";
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.46em;
  border-radius: 999px;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}
.hhcuie-content .hhcuie-toc a:hover,
.hhcuie-content .hhcuie-toc a:focus-visible,
.hhcuie-content .hhcuie-toc-link:hover,
.hhcuie-content .hhcuie-toc-link:focus-visible {
  background: #eef5ff;
  color: #0f3f8c;
  transform: translateX(2px);
  outline: none;
}
.hhcuie-content .hhcuie-toc a:focus-visible,
.hhcuie-content .hhcuie-toc-link:focus-visible {
  box-shadow: 0 0 0 3px var(--hhcuie-ring);
}

/* Refine manual Quick Summary to pair better with premium trust/TOC */
.hhcuie-content .hhcuie-quick-summary {
  border-color: rgba(37, 99, 235, 0.18);
  background:
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.07);
}
.hhcuie-content .hhcuie-quick-summary__label {
  color: #1d4ed8;
  letter-spacing: .095em;
}

@media (min-width: 820px) {
  .hhcuie-content .hhcuie-toc ul,
  .hhcuie-content .hhcuie-toc ol,
  .hhcuie-content .hhcuie-toc-list {
    gap: 0.18rem;
  }
  .hhcuie-content .hhcuie-toc a,
  .hhcuie-content .hhcuie-toc-link {
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }
}

@media (max-width: 720px) {
  .hhcuie-content .hhcuie-trust-meta {
    padding: 0.82rem 0.9rem 0.82rem 2.9rem;
    border-radius: 16px;
  }
  .hhcuie-content .hhcuie-trust-meta::before { left: 0.9rem; top: 0.92rem; }
  .hhcuie-content .hhcuie-trust-meta::after { left: 1.21rem; top: 0.95rem; }
  .hhcuie-content .hhcuie-trust-line {
    display: grid;
    gap: 0.25rem;
  }
  .hhcuie-content .hhcuie-trust-sep { display: none; }
  .hhcuie-content .hhcuie-toc,
  .hhcuie-content .wp-block-rank-math-toc-block.hhcuie-toc,
  .hhcuie-content nav.hhcuie-toc {
    padding: 1.08rem 1rem 1rem;
    border-radius: 16px;
  }
  .hhcuie-content .hhcuie-toc a,
  .hhcuie-content .hhcuie-toc-link {
    padding: 0.5rem 0.5rem;
    font-size: 0.96em;
  }
}

.hhcuie-dark .hhcuie-trust-meta,
.hhcuie-dark-auto .hhcuie-trust-meta {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
  border-color: rgba(148, 163, 184, 0.24);
}
.hhcuie-dark .hhcuie-trust-author,
.hhcuie-dark .hhcuie-trust-updated,
.hhcuie-dark .hhcuie-trust-reviewer,
.hhcuie-dark-auto .hhcuie-trust-author,
.hhcuie-dark-auto .hhcuie-trust-updated,
.hhcuie-dark-auto .hhcuie-trust-reviewer { color: #e5eefc; }
.hhcuie-dark .hhcuie-trust-note,
.hhcuie-dark-auto .hhcuie-trust-note { color: #cbd5e1; border-top-color: rgba(148, 163, 184, 0.25); }
.hhcuie-dark .hhcuie-toc,
.hhcuie-dark-auto .hhcuie-toc {
  background: linear-gradient(135deg, #111827, #0f172a);
  border-color: rgba(148, 163, 184, 0.24);
}
.hhcuie-dark .hhcuie-toc > :first-child,
.hhcuie-dark .hhcuie-toc-title,
.hhcuie-dark-auto .hhcuie-toc > :first-child,
.hhcuie-dark-auto .hhcuie-toc-title { color: #f8fafc; border-bottom-color: rgba(148, 163, 184, 0.25); }
.hhcuie-dark .hhcuie-toc a,
.hhcuie-dark .hhcuie-toc-link,
.hhcuie-dark-auto .hhcuie-toc a,
.hhcuie-dark-auto .hhcuie-toc-link { color: #bfdbfe; }
.hhcuie-dark .hhcuie-toc a:hover,
.hhcuie-dark-auto .hhcuie-toc a:hover { background: rgba(37, 99, 235, 0.14); color: #dbeafe; }

/* v1.8.0 focused polish: clean premium Rank Math TOC + light editorial trust card */
.hhcuie-content {
  --hhcuie-toc-ink: #0f172a;
  --hhcuie-toc-muted: #475569;
  --hhcuie-toc-line: rgba(148, 163, 184, 0.22);
  --hhcuie-toc-bg: #ffffff;
  --hhcuie-toc-hover: #f8fafc;
  --hhcuie-toc-accent: #2563eb;
}

/* Force the author/trust bar back to a refined light editorial card on light articles. */
.hhcuie-content .hhcuie-trust-meta,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-meta,
.hhcuie-content.hhcuie-dark .hhcuie-trust-meta {
  display: block !important;
  margin: 0 0 1.45rem !important;
  padding: 0.9rem 1.1rem 0.9rem 3.2rem !important;
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #f3f7ff 100%) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
  color: #475569 !important;
  overflow: hidden !important;
}
.hhcuie-content .hhcuie-trust-meta::before,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-meta::before,
.hhcuie-content.hhcuie-dark .hhcuie-trust-meta::before {
  left: 1rem !important;
  top: 0.9rem !important;
  width: 1.42rem !important;
  height: 1.42rem !important;
  background: linear-gradient(135deg, #2563eb, #60a5fa) !important;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.10), 0 8px 18px rgba(37, 99, 235, 0.18) !important;
}
.hhcuie-content .hhcuie-trust-meta::after,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-meta::after,
.hhcuie-content.hhcuie-dark .hhcuie-trust-meta::after {
  left: 1.34rem !important;
  top: 0.94rem !important;
  color: #ffffff !important;
}
.hhcuie-content .hhcuie-trust-line {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.36rem 0.52rem !important;
  margin: 0 !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}
.hhcuie-content .hhcuie-trust-author,
.hhcuie-content .hhcuie-trust-updated,
.hhcuie-content .hhcuie-trust-reviewer,
.hhcuie-content.hhcuie-dark .hhcuie-trust-author,
.hhcuie-content.hhcuie-dark .hhcuie-trust-updated,
.hhcuie-content.hhcuie-dark .hhcuie-trust-reviewer,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-author,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-updated,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-reviewer {
  color: #0f172a !important;
  font-weight: 780 !important;
}
.hhcuie-content .hhcuie-trust-sep { color: #94a3b8 !important; }
.hhcuie-content .hhcuie-trust-note,
.hhcuie-content.hhcuie-dark .hhcuie-trust-note,
.hhcuie-content.hhcuie-dark-auto .hhcuie-trust-note {
  color: #475569 !important;
  border-top-color: rgba(148, 163, 184, 0.20) !important;
}

/* Professional TOC card. It keeps Rank Math's original real anchor links, but makes them readable and premium. */
.hhcuie-content .hhcuie-toc,
.hhcuie-content .wp-block-rank-math-toc-block,
.hhcuie-content .wp-block-rank-math-toc-block.hhcuie-toc,
.hhcuie-content nav.hhcuie-toc,
.hhcuie-content .rank-math-block-toc,
.hhcuie-content .rank-math-toc-block {
  position: relative !important;
  margin: 1.7rem 0 2.25rem !important;
  padding: 1.25rem 1.25rem 1.1rem !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.065) !important;
  overflow: hidden !important;
}
.hhcuie-content .hhcuie-toc::before,
.hhcuie-content .wp-block-rank-math-toc-block::before,
.hhcuie-content .rank-math-block-toc::before,
.hhcuie-content .rank-math-toc-block::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  width: auto !important;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 42%, rgba(96, 165, 250, 0.10) 100%) !important;
}
.hhcuie-content .hhcuie-toc > :first-child,
.hhcuie-content .wp-block-rank-math-toc-block > :first-child,
.hhcuie-content .rank-math-block-toc > :first-child,
.hhcuie-content .rank-math-toc-block > :first-child,
.hhcuie-content .hhcuie-toc-title,
.hhcuie-content .hhcuie-toc h2:first-child,
.hhcuie-content .hhcuie-toc h3:first-child,
.hhcuie-content .hhcuie-toc p:first-child {
  margin: 0 0 0.95rem !important;
  padding: 0 0 0.75rem !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #0f172a !important;
  font-size: clamp(1.1rem, 1.55vw, 1.35rem) !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  opacity: 1 !important;
}
.hhcuie-content .hhcuie-toc ul,
.hhcuie-content .hhcuie-toc ol,
.hhcuie-content .wp-block-rank-math-toc-block ul,
.hhcuie-content .wp-block-rank-math-toc-block ol,
.hhcuie-content .rank-math-block-toc ul,
.hhcuie-content .rank-math-block-toc ol,
.hhcuie-content .rank-math-toc-block ul,
.hhcuie-content .rank-math-toc-block ol {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 0.22rem !important;
}
.hhcuie-content .hhcuie-toc li,
.hhcuie-content .wp-block-rank-math-toc-block li,
.hhcuie-content .rank-math-block-toc li,
.hhcuie-content .rank-math-toc-block li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  opacity: 1 !important;
}
.hhcuie-content .hhcuie-toc li li,
.hhcuie-content .wp-block-rank-math-toc-block li li,
.hhcuie-content .rank-math-block-toc li li,
.hhcuie-content .rank-math-toc-block li li {
  margin-left: 0.72rem !important;
}
.hhcuie-content .hhcuie-toc a,
.hhcuie-content .wp-block-rank-math-toc-block a,
.hhcuie-content .rank-math-block-toc a,
.hhcuie-content .rank-math-toc-block a,
.hhcuie-content .hhcuie-toc-link {
  display: grid !important;
  grid-template-columns: 0.54rem 1fr !important;
  align-items: start !important;
  gap: 0.68rem !important;
  padding: 0.5rem 0.62rem !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #1e3a8a !important;
  text-decoration: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-size: 0.98rem !important;
  font-weight: 720 !important;
  line-height: 1.35 !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}
.hhcuie-content .hhcuie-toc a::before,
.hhcuie-content .wp-block-rank-math-toc-block a::before,
.hhcuie-content .rank-math-block-toc a::before,
.hhcuie-content .rank-math-toc-block a::before,
.hhcuie-content .hhcuie-toc-link::before {
  content: "" !important;
  width: 0.44rem !important;
  height: 0.44rem !important;
  margin-top: 0.42em !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10) !important;
}
.hhcuie-content .hhcuie-toc a:hover,
.hhcuie-content .hhcuie-toc a:focus-visible,
.hhcuie-content .wp-block-rank-math-toc-block a:hover,
.hhcuie-content .wp-block-rank-math-toc-block a:focus-visible,
.hhcuie-content .rank-math-block-toc a:hover,
.hhcuie-content .rank-math-block-toc a:focus-visible,
.hhcuie-content .rank-math-toc-block a:hover,
.hhcuie-content .rank-math-toc-block a:focus-visible,
.hhcuie-content .hhcuie-toc-link:hover,
.hhcuie-content .hhcuie-toc-link:focus-visible {
  background: #f8fbff !important;
  border-color: rgba(37, 99, 235, 0.14) !important;
  color: #0f172a !important;
  transform: translateX(2px) !important;
  outline: none !important;
}

@media (max-width: 720px) {
  .hhcuie-content .hhcuie-trust-meta,
  .hhcuie-content.hhcuie-dark-auto .hhcuie-trust-meta,
  .hhcuie-content.hhcuie-dark .hhcuie-trust-meta {
    padding: 0.82rem 0.85rem 0.82rem 2.85rem !important;
    border-radius: 15px !important;
  }
  .hhcuie-content .hhcuie-trust-line { display: grid !important; gap: 0.25rem !important; font-size: 0.9rem !important; }
  .hhcuie-content .hhcuie-trust-sep { display: none !important; }
  .hhcuie-content .hhcuie-toc,
  .hhcuie-content .wp-block-rank-math-toc-block,
  .hhcuie-content .rank-math-block-toc,
  .hhcuie-content .rank-math-toc-block {
    padding: 1.05rem 0.9rem 0.95rem !important;
    border-radius: 16px !important;
  }
  .hhcuie-content .hhcuie-toc a,
  .hhcuie-content .wp-block-rank-math-toc-block a,
  .hhcuie-content .rank-math-block-toc a,
  .hhcuie-content .rank-math-toc-block a,
  .hhcuie-content .hhcuie-toc-link {
    padding: 0.48rem 0.48rem !important;
    font-size: 0.95rem !important;
  }
}
