/**
 * OneHealthGrid Resources & Knowledge Center Stylesheet
 * Covers: /resources/ Parent Hub, 7 Child Section Hubs, Single Resource CPT Views,
 *         Unified Search & Faceted Filters, FAQ Accordions, and A-Z Glossary Directory.
 * Package: jupiterx-child
 */

/* Full-width enterprise layout for Single Resource CPT templates (hide default blog sidebar & duplicate title bar) */
body.single-ohg_whitepaper .jupiterx-main-header,
body.single-ohg_knowledge .jupiterx-main-header,
body.single-ohg_guide .jupiterx-main-header,
body.single-ohg_case_study .jupiterx-main-header,
body.single-ohg_brochure .jupiterx-main-header,
body.single-ohg_webinar .jupiterx-main-header,
body.single-ohg_glossary .jupiterx-main-header,
body.single-ohg_whitepaper .jupiterx-sidebar,
body.single-ohg_knowledge .jupiterx-sidebar,
body.single-ohg_guide .jupiterx-sidebar,
body.single-ohg_case_study .jupiterx-sidebar,
body.single-ohg_brochure .jupiterx-sidebar,
body.single-ohg_webinar .jupiterx-sidebar,
body.single-ohg_glossary .jupiterx-sidebar,
body.single-ohg_whitepaper .jupiterx-post-Meta,
body.single-ohg_whitepaper .jupiterx-post-title {
  display: none !important;
}

body.single-ohg_whitepaper .jupiterx-primary,
body.single-ohg_knowledge .jupiterx-primary,
body.single-ohg_guide .jupiterx-primary,
body.single-ohg_case_study .jupiterx-primary,
body.single-ohg_brochure .jupiterx-primary,
body.single-ohg_webinar .jupiterx-primary,
body.single-ohg_glossary .jupiterx-primary {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

.ohg-res-wrap {
  font-family: inherit;
  color: #1E293B;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 1. Hero Section */
.ohg-res-hero {
  background: linear-gradient(135deg, #071D2B 0%, #0A2E46 55%, #0D4A4D 100%);
  border-radius: 24px;
  padding: 56px 52px;
  margin: 28px auto 44px auto;
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(7, 29, 43, 0.16);
  position: relative;
  overflow: hidden;
}

.ohg-res-eyebrow {
  display: inline-block;
  background: rgba(22, 156, 89, 0.22);
  border: 1px solid rgba(94, 194, 52, 0.45);
  color: #7CE89B;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ohg-res-hero h1 {
  color: #FFFFFF !important;
  font-size: clamp(26px, 3.4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  margin: 0 0 16px 0 !important;
}

.ohg-res-hero p.ohg-res-hero-lead {
  color: #E2E8F0 !important;
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  margin: 0 0 26px 0 !important;
}

.ohg-res-hero-visual img {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

/* 2. Unified Search & Discovery Bar */
.ohg-res-search-box {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 36px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(8, 36, 73, 0.06);
}

.ohg-res-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.ohg-res-search-input {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 15px;
  color: #082449;
  background: #F8FAFC;
}

.ohg-res-search-input:focus {
  outline: 2px solid #0D8A6A;
  background: #FFFFFF;
  border-color: #0D8A6A;
}

.ohg-res-select {
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
  color: #082449;
  background: #F8FAFC;
  min-width: 150px;
  max-width: 100%;
  box-sizing: border-box;
}

.ohg-res-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #169C59 0%, #2EB872 100%);
  color: #FFFFFF !important;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ohg-res-btn:hover,
.ohg-res-btn:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(22, 156, 89, 0.28);
}

.ohg-res-btn-outline {
  background: #FFFFFF;
  color: #082449 !important;
  border: 1.5px solid #169C59;
}

.ohg-res-btn-outline:hover {
  background: #EAF9F5;
}

/* 3. Section Headings & Grids */
.ohg-res-section {
  margin-bottom: 56px;
}

.ohg-res-sec-head {
  margin-bottom: 26px;
}

.ohg-res-sec-head h2 {
  color: #082449 !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
}

.ohg-res-sec-bar {
  width: 48px;
  height: 4px;
  background: #169C59;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ohg-res-sec-head p {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 820px;
}

.ohg-res-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ohg-res-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 4. Resource Cards & Category Cards */
.ohg-res-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(8, 36, 73, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.ohg-res-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(8, 36, 73, 0.10);
  border-color: #94D8C1;
}

.ohg-res-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ohg-res-badge {
  display: inline-block;
  background: #EAF9F5;
  color: #0B7A58;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #C6EFE5;
}

.ohg-res-badge-warn {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

.ohg-res-card h3 {
  color: #082449 !important;
  font-size: 18.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
}

.ohg-res-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.ohg-res-card h3 a:hover {
  color: #0D8A6A !important;
}

.ohg-res-card p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.58;
  margin: 0 0 16px 0;
}

.ohg-res-meta {
  font-size: 12.5px;
  color: #64748B;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ohg-res-link {
  color: #0D8A6A !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ohg-res-link:hover {
  color: #082449 !important;
  text-decoration: underline !important;
}

/* 5. Explanatory Editorial Prose Blocks */
.ohg-res-prose {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 34px 36px;
  margin-bottom: 44px;
  line-height: 1.72;
  color: #1E293B;
  box-sizing: border-box;
}

.ohg-res-prose h2,
.ohg-res-prose h3 {
  color: #082449 !important;
  margin-top: 20px;
  margin-bottom: 10px;
}

.ohg-res-prose p {
  margin-bottom: 16px;
  font-size: 15.5px;
}

/* 6. Topic Pills & Alphabet Bar */
.ohg-res-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ohg-res-pill {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #082449 !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid #E2E8F0;
  transition: all 0.18s ease;
}

.ohg-res-pill:hover,
.ohg-res-pill.active {
  background: #0D8A6A;
  color: #FFFFFF !important;
  border-color: #0D8A6A;
}

/* 7. Accessible FAQ Accordion (<details>) */
.ohg-faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.ohg-faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #082449;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ohg-faq-item summary::-webkit-details-marker {
  display: none;
}

.ohg-faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: #0D8A6A;
  font-weight: 700;
}

.ohg-faq-item[open] summary {
  background: #F2FBF7;
  border-bottom: 1px solid #E2E8F0;
}

.ohg-faq-item[open] summary::after {
  content: "\2212";
}

.ohg-faq-body {
  padding: 18px 20px;
  color: #334155;
  font-size: 15px;
  line-height: 1.68;
}

/* 8. Bottom CTA Banner */
.ohg-res-cta-banner {
  background: linear-gradient(135deg, #082449 0%, #0D4A4D 100%);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 44px 48px;
  margin: 48px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
}

.ohg-res-cta-banner h2 {
  color: #FFFFFF !important;
  font-size: 28px !important;
  margin: 0 0 8px 0 !important;
}

.ohg-res-cta-banner p {
  color: #CBD5E1 !important;
  font-size: 15.5px !important;
  margin: 0 !important;
  max-width: 680px;
}

/* 9. Responsive Rules */
@media (max-width: 1024px) {
  .ohg-res-hero {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .ohg-res-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ohg-res-wrap {
    padding: 0 12px;
  }
  .ohg-res-hero {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .ohg-res-search-box {
    padding: 14px;
  }
  .ohg-res-search-input,
  .ohg-res-select,
  .ohg-res-search-form .ohg-res-btn {
    width: 100%;
    flex: 1 1 100%;
  }
  .ohg-res-grid-3,
  .ohg-res-grid-2 {
    grid-template-columns: 1fr;
  }
  .ohg-res-prose {
    padding: 20px 16px;
  }
  .ohg-res-cta-banner {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   10. Enterprise Single Resource & Deep-Dive Use Case Architecture (UC-005+)
   ========================================================================== */
.ohg-res-breadcrumb {
  margin-bottom: 18px;
  font-size: 13.5px;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ohg-res-breadcrumb a {
  color: #0D8A6A !important;
  text-decoration: none !important;
  font-weight: 600;
}

.ohg-res-breadcrumb a:hover {
  text-decoration: underline !important;
}

.ohg-res-bc-sep {
  color: #94A3B8;
}

.ohg-res-bc-current {
  color: #1E293B;
  font-weight: 500;
}

.ohg-res-hero-single {
  grid-template-columns: 1.28fr 0.72fr;
  padding: 46px 48px;
  margin-top: 0;
  margin-bottom: 28px;
}

.ohg-res-hero-spec-card {
  margin-top: 14px;
  background: rgba(7, 29, 43, 0.72);
  border: 1px solid rgba(124, 232, 155, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ohg-res-hero-spec-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7CE89B;
  margin-bottom: 2px;
}

.ohg-res-hero-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12.2px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 6px;
}

.ohg-res-hero-spec-row span {
  color: #94A3B8;
}

.ohg-res-hero-spec-row strong {
  color: #F8FAFC;
  font-weight: 600;
  text-align: right;
}

.ohg-res-hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ohg-res-hero-meta-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ohg-res-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  font-weight: 600;
}

.ohg-res-meta-val {
  font-size: 13px;
  color: #F8FAFC;
  font-weight: 700;
}

.ohg-res-governance-banner {
  background: linear-gradient(90deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 28px;
  color: #78350F;
  font-size: 14px;
  line-height: 1.58;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.ohg-res-gov-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Executive KPI & Boundary Strip */
.ohg-uc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.ohg-uc-kpi-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-top: 4px solid #169C59;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(8, 36, 73, 0.05);
}

.ohg-uc-kpi-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0D8A6A;
  background: #EAF9F5;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ohg-uc-kpi-val {
  font-size: 21px;
  font-weight: 800;
  color: #082449;
  line-height: 1.25;
  margin-bottom: 8px;
}

.ohg-uc-kpi-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.52;
  margin: 0;
}

/* Quick Jump Table of Contents Bar */
.ohg-uc-toc-bar {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(8, 36, 73, 0.04);
}

.ohg-uc-toc-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #082449;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ohg-uc-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ohg-uc-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #082449 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.ohg-uc-toc-link span {
  background: #EAF9F5;
  color: #0B7A58;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.ohg-uc-toc-link:hover {
  background: #EAF9F5;
  border-color: #169C59;
  color: #0B7A58 !important;
}

/* Deep-Dive Section Cards */
.ohg-uc-sec-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 36px 38px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(8, 36, 73, 0.04);
  box-sizing: border-box;
}

.ohg-uc-sec-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 18px;
}

.ohg-uc-sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0D8A6A;
  background: #EAF9F5;
  border: 1px solid #C6EFE5;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ohg-uc-sec-header h2 {
  color: #082449 !important;
  font-size: clamp(21px, 2.3vw, 27px) !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  margin: 0 0 8px 0 !important;
}

.ohg-uc-sec-header p {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.62;
  margin: 0;
}

.ohg-uc-sec-card p {
  color: #334155;
  font-size: 15.2px;
  line-height: 1.68;
  margin: 0 0 16px 0;
}

.ohg-uc-sec-card h3 {
  color: #082449 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 20px 0 10px 0 !important;
}

/* Grids inside Use Case Sections */
.ohg-uc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ohg-uc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ohg-uc-subcard {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 20px;
  box-sizing: border-box;
}

.ohg-uc-subcard-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EAF9F5;
  border: 1px solid #C6EFE5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ohg-uc-subcard-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ohg-uc-subcard h4 {
  color: #082449 !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
}

.ohg-uc-subcard p {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.56 !important;
  margin: 0 !important;
}

.ohg-uc-list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.62;
}

.ohg-uc-list li {
  margin-bottom: 6px;
}

/* 3-Tier Reference Architecture Visual Diagram */
.ohg-uc-arch-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}

.ohg-uc-arch-tier {
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ohg-uc-tier-clinical {
  background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1.5px solid #86EFAC;
}

.ohg-uc-tier-bus {
  background: linear-gradient(180deg, #071D2B 0%, #0D3B4C 100%);
  border: 1.5px solid #169C59;
  color: #FFFFFF;
}

.ohg-uc-tier-erp {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1.5px solid #93C5FD;
}

.ohg-uc-tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.ohg-uc-tier-clinical .ohg-uc-tier-badge {
  background: #169C59;
  color: #FFFFFF;
}

.ohg-uc-tier-bus .ohg-uc-tier-badge {
  background: rgba(124, 232, 155, 0.2);
  color: #7CE89B;
  border: 1px solid rgba(124, 232, 155, 0.45);
}

.ohg-uc-tier-erp .ohg-uc-tier-badge {
  background: #1D4ED8;
  color: #FFFFFF;
}

.ohg-uc-arch-tier h3 {
  font-size: 17.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.ohg-uc-tier-bus h3 {
  color: #FFFFFF !important;
}

.ohg-uc-tier-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 36, 73, 0.1);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.2px;
  color: #1E293B;
  line-height: 1.45;
}

.ohg-uc-tier-bus .ohg-uc-tier-item {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #F1F5F9 !important;
}

.ohg-uc-tier-item strong {
  display: block;
  color: #082449 !important;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.ohg-uc-tier-bus .ohg-uc-tier-item strong {
  color: #7CE89B !important;
}

/* Enterprise Sub-Ledger Mapping Table */
.ohg-uc-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #CBD5E1;
  margin-top: 16px;
}

.ohg-uc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
  min-width: 860px;
}

.ohg-uc-table thead th {
  background: #082449;
  color: #FFFFFF;
  font-weight: 700;
  text-align: left;
  padding: 13px 15px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ohg-uc-table tbody td {
  padding: 13px 15px;
  border-bottom: 1px solid #E2E8F0;
  color: #334155;
  vertical-align: top;
}

.ohg-uc-table tbody tr:nth-child(even) td {
  background: #F8FAFC;
}

.ohg-uc-sec-card p code,
.ohg-res-prose p code,
.ohg-res-prose li code {
  background: #EFF6FF !important;
  color: #1E40AF !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: Consolas, Monaco, monospace !important;
}

.ohg-uc-table code {
  background: #EFF6FF !important;
  color: #1E40AF !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  font-size: 11.5px !important;
  font-family: Consolas, Monaco, monospace !important;
  white-space: nowrap !important;
  display: inline-block !important;
  margin: 1px 0 !important;
}

/* Dark Code & Payload Block */
.ohg-uc-code-panel {
  background: #0B192C !important;
  border: 1px solid #1E3E62 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-top: 18px !important;
  box-shadow: 0 12px 28px rgba(7, 18, 32, 0.22) !important;
}

.ohg-uc-code-topbar {
  background: #071220 !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid #1E3E62 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  color: #E2E8F0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

.ohg-uc-code-topbar span:first-child {
  color: #7CE89B !important;
  font-family: Consolas, Monaco, monospace !important;
}

.ohg-uc-code-panel pre,
.ohg-uc-code-panel pre code,
.ohg-uc-code-panel code {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #F8FAFC !important;
  font-family: Consolas, Monaco, 'Courier New', monospace !important;
  font-size: 13px !important;
  line-height: 1.62 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.ohg-uc-code-panel pre {
  padding: 22px 24px !important;
  overflow-x: auto !important;
  background: #0B192C !important;
  background-color: #0B192C !important;
}

@media (max-width: 1024px) {
  .ohg-res-hero-single {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }
  .ohg-res-hero-meta-grid,
  .ohg-uc-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ohg-uc-arch-tiers,
  .ohg-uc-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ohg-res-hero-single {
    padding: 24px 18px;
  }
  .ohg-res-hero-meta-grid,
  .ohg-uc-kpi-grid,
  .ohg-uc-grid-2 {
    grid-template-columns: 1fr;
  }
  .ohg-uc-sec-card {
    padding: 22px 16px;
  }
}
