/* ══════════════════════════════════════════════════════════════
   SAS (Sales Automation Suite) Dedicated Theme Stylesheet
   Matches Peanut Square Brand (#0072bc) & Odoo CMS Aesthetic
   ══════════════════════════════════════════════════════════════ */

:root {
  --sas-brand: #0072bc;
  --sas-brand-hover: #005a96;
  --sas-brand-light: #f0f7fb;
  --sas-brand-border: #d6ebf7;
  --sas-slate-900: #0f172a;
  --sas-slate-800: #1e293b;
  --sas-slate-600: #475569;
  --sas-slate-400: #94a3b8;
}

/* ── Hero Section with PS CMS Theme Background (Full Viewport Height) ── */
.peanutsquare-theme-root .section-hero.hero-section-home {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px 40px 16px;
  background-color: transparent;
}

.peanutsquare-theme-root .section-hero.hero-section-home .hero-image {
  position: absolute;
  inset: 0 16px 0 16px;
  border-radius: 40px;
  background-image: url(/themes/peanutsquare/images/section/hero-1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

/* ── 12-Icon Grid: Clean, Centered, Blended In ── */
.sas-blended-grid-section {
  position: relative;
  z-index: 3;
}

.sas-icon-tile {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.sas-icon-tile:hover {
  transform: translateY(-4px) !important;
}

.sas-icon-tile img {
  transition: transform 0.2s ease;
}

.sas-icon-tile:hover img {
  transform: scale(1.08);
}

/* ── Solution Cards ── */
.sas-solution-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.sas-solution-card:hover {
  transform: translateY(-4px) !important;
}

/* ── Brand Button Overrides ── */
.tf-btn {
  background-color: #0072bc !important;
  color: #ffffff !important;
  border: 1.5px solid #0072bc !important;
  transition: all 0.2s ease !important;
}

.tf-btn:hover {
  background-color: #005a96 !important;
  border-color: #005a96 !important;
  color: #ffffff !important;
}

.tf-btn-2 {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  transition: all 0.2s ease !important;
}

.tf-btn-2:hover {
  border-color: #0072bc !important;
  color: #0072bc !important;
}

/* ── High Contrast Footer Legibility ── */
.site-footer a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease !important;
}

.site-footer a:hover {
  color: #ffffff !important;
}

/* ── FAQ Right-Icon Color Matching Theme ── */
.peanutsquare-theme-root .section-faqs .accordion-asked .accordion-button span.right-icon {
  background: #0072bc !important;
}

.site-footer p {
  color: #cbd5e1 !important;
}

/* ══════════════════════════════════════════════════════════════
   SAS Services Accordion (Standalone Self-Contained Styles)
   Eliminates legacy template black ::before artifacts and
   applies active plum theme & neutral closed states.
   ══════════════════════════════════════════════════════════════ */
.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item .accordion-action::before {
  display: none !important;
}

.peanutsquare-theme-root #sas-services .col-left {
  margin-bottom: 0 !important;
}

/* Closed state: soft porcelain neutral card (compact) */
.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="closed"] {
  background-color: var(--neutral-100) !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  box-shadow:
    0 3px 10px 0 rgba(0, 0, 0, 0.03),
    0 -3px 0 0 rgba(0, 0, 0, 0.02) inset,
    0 1.5px 0 0 rgba(255, 255, 255, 0.7) inset !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 8px !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="closed"] .accordion-title {
  color: #475569 !important;
  font-size: 23.25px !important;
  line-height: 33px !important;
  letter-spacing: -0.01em !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="closed"] .accordion-title br {
  display: none !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="closed"] .accordion-title .num {
  color: #94a3b8 !important;
  font-size: 19.5px !important;
}

/* Open state: rich Peanut Square brand plum card (compact & polished) */
.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] {
  background-color: #58394f !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  box-shadow:
    0 12px 28px -4px rgba(88, 57, 79, 0.3),
    0 3px 3px 0 rgba(0, 0, 0, 0.12),
    0 -4px 0 0 rgba(0, 0, 0, 0.18) inset,
    0 2px 0 0 rgba(255, 255, 255, 0.12) inset !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-bottom: 8px !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-title {
  color: #ffffff !important;
  font-size: 25.5px !important;
  line-height: 34.5px !important;
  letter-spacing: -0.01em !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-title br {
  display: none !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-title .num {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 20.25px !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-content .text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 19.5px !important;
  line-height: 28.5px !important;
  margin-bottom: 15px !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .list-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .list-tags a.tags-item,
.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .list-tags a {
  color: #ffffff !important;
  background-color: #00a09d !important;
  border: 1px solid #00a09d !important;
  border-radius: 9999px !important;
  padding: 5px 15px !important;
  font-size: 16.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .list-tags a:hover,
.peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .list-tags a.tags-item:hover {
  background-color: #008885 !important;
  border-color: #008885 !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
  .peanutsquare-theme-root #accordion-sas-services .accordion-faq_item {
    border-radius: 14px !important;
    padding: 12px 16px !important;
  }

  .peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="closed"] .accordion-title,
  .peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-title {
    font-size: 22.5px !important;
    line-height: 31.5px !important;
  }

  .peanutsquare-theme-root #accordion-sas-services .accordion-faq_item[data-state="open"] .accordion-content .text {
    font-size: 18.75px !important;
    line-height: 27px !important;
  }
}

/* ── Solutions Cards White CTA Button Override ── */
.peanutsquare-theme-root .section-pricing .pricing-item .tf-btn {
  background-color: #ffffff !important;
  color: #0072bc !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.2s ease !important;
}

.peanutsquare-theme-root .section-pricing .pricing-item .tf-btn:hover {
  background-color: #f0f7fb !important;
  color: #0072bc !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
}

/* ══════════════════════════════════════════════════════════════
   SECTION SPACING & WHITE CONTAINER BREATHING ROOM
   Ensures white sections have ample white blank space INSIDE
   the card, with no awkward off-white gap before Flexible Deployment.
   ══════════════════════════════════════════════════════════════ */
.peanutsquare-theme-root .box-white {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.peanutsquare-theme-root #sas-services {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.peanutsquare-theme-root #sas-services .heading-section .heading-sub {
  font-size: 21px !important;
  line-height: 1.4 !important;
}

.peanutsquare-theme-root #sas-services .heading-section .heading-title {
  font-size: clamp(42px, 4.8vw, 60px) !important;
}

.peanutsquare-theme-root #sas-services .heading-section .text-secondary {
  font-size: clamp(24px, 2.4vw, 27px) !important;
  line-height: 42px !important;
}

.peanutsquare-theme-root #solutions.section-pricing {
  padding-top: 70px !important;
  padding-bottom: 80px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.peanutsquare-theme-root .section-features {
  padding-top: 100px !important;
  padding-bottom: 140px !important;
}

.peanutsquare-theme-root .section-benefits {
  padding-top: 100px !important;
  padding-bottom: 110px !important;
}

.peanutsquare-theme-root .section-testimonials {
  padding-top: 100px !important;
  padding-bottom: 110px !important;
}

/* ══════════════════════════════════════════════════════════════
   SAS DYNAMIC DETAIL PAGE STYLES
   World-class SaaS Product Page Aesthetic
   ══════════════════════════════════════════════════════════════ */

.sas-detail-hero-section {
  position: relative;
  background: radial-gradient(ellipse at 85% 20%, rgba(0, 114, 188, 0.10) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 75%, rgba(0, 114, 188, 0.06) 0%, transparent 45%),
              #ffffff;
  border-bottom: 1px solid rgba(0, 114, 188, 0.08);
  padding: 60px 0 80px 0;
  overflow: hidden;
}

.sas-breadcrumbs-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
}

.sas-breadcrumbs-bar a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sas-breadcrumbs-bar a:hover {
  color: #0072bc;
}

.sas-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  background-color: #f0f7fb;
  color: #0072bc;
  border: 1px solid #d6ebf7;
  box-shadow: 0 2px 8px rgba(0, 114, 188, 0.08);
}

/* ── Clean Hero Showcase Frame ── */
.sas-hero-showcase-frame {
  position: relative;
  background-color: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 114, 188, 0.12);
  box-shadow: 0 20px 50px rgba(0, 114, 188, 0.08);
  overflow: hidden;
  padding: 24px;
}

/* ── Stats Strip ── */
.sas-stats-strip {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 36px 0;
}

.sas-stat-item {
  text-align: center;
  padding: 12px 16px;
}

.sas-stat-number {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #0072bc 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.sas-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}

/* ── Feature Cards (Authentic Peanut Square 1st Template Design) ── */
.sas-feature-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 114, 188, 0.09);
  border-radius: 32px;
  padding: 38px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0px 8px 22px 0px rgba(0, 0, 0, 0.05), 0px 3px 3px 0px rgba(0, 0, 0, 0.08), 0px -8px 0px 0px rgba(0, 114, 188, 0.04) inset, 0px 4px 0px 0px rgba(255, 255, 255, 0.85) inset;
  position: relative;
}

.sas-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 114, 188, 0.22);
  box-shadow: 0px 20px 38px 0px rgba(0, 114, 188, 0.12), 0px 4px 8px 0px rgba(0, 0, 0, 0.08), 0px -8px 0px 0px rgba(0, 114, 188, 0.08) inset, 0px 4px 0px 0px rgba(255, 255, 255, 0.95) inset;
}

.sas-feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0072bc 0%, #4a2e42 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0px -3px 0px 0px rgba(0, 0, 0, 0.3) inset, 0px 1.5px 0px 0px rgba(255, 255, 255, 0.35) inset, 0px 10px 20px -3px rgba(0, 114, 188, 0.35);
  transition: transform 0.25s ease;
}

.sas-feature-card:hover .sas-feature-icon-box {
  transform: scale(1.06);
}

.sas-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #f0f7fb;
  color: #0072bc;
  border: 1px solid #d6ebf7;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
  margin-top: 10px;
}

/* ── App Tile Cards for Ecosystem Grid ── */
.sas-app-tile-card {
  display: block;
  background-color: #ffffff;
  border: 1.5px solid #d6ebf7;
  border-radius: 22px;
  padding: 28px 24px;
  height: 100%;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 114, 188, 0.04);
}

.sas-app-tile-card:hover {
  transform: translateY(-5px);
  border-color: #0072bc;
  box-shadow: 0 16px 36px rgba(0, 114, 188, 0.10);
}

.sas-app-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0f7fb;
  border: 1px solid #d6ebf7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

.sas-app-tile-card:hover .sas-app-tile-icon {
  transform: scale(1.1);
}

/* ── Split Showcase Row ── */
.sas-split-showcase-row {
  padding: 50px 0;
  align-items: center;
}

.sas-showcase-number {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0072bc;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sas-showcase-number::after {
  content: "";
  height: 2px;
  width: 32px;
  background-color: #0072bc;
  display: inline-block;
}

.sas-showcase-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.25;
}

.sas-showcase-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
}

.sas-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

.sas-bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #f0f7fb;
  color: #0072bc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Article / Knowledge Prose ── */
.sas-article-wrapper {
  background-color: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 114, 188, 0.10);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
  padding: 48px;
}

@media (max-width: 768px) {
  .sas-article-wrapper {
    padding: 24px 18px;
  }
}

.sas-article-content h1,
.sas-article-content h2,
.sas-article-content h3,
.sas-article-content h4 {
  color: #0f172a;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 16px;
}

.sas-article-content h2 {
  font-size: 26px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.sas-article-content h3 {
  font-size: 20px;
}

.sas-article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

.sas-article-content ul,
.sas-article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.sas-article-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 8px;
}

.sas-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin: 24px 0;
}

.sas-article-content blockquote {
  border-left: 4px solid #0072bc;
  background-color: #f0f7fb;
  padding: 18px 24px;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #0072bc;
  margin: 24px 0;
}

/* ── FAQ Accordion for Detail Pages ── */
.sas-detail-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.sas-detail-faq-item[data-state="open"] {
  border-color: #0072bc;
  box-shadow: 0 8px 24px rgba(0, 114, 188, 0.08);
  background: #faf6f9;
}

.sas-detail-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.sas-detail-faq-item[data-state="open"] .sas-detail-faq-trigger {
  color: #0072bc;
}

.sas-detail-faq-item[data-state="open"] .sas-detail-faq-trigger svg {
  transform: rotate(90deg);
}

.sas-detail-faq-content {
  padding: 0 26px 22px 26px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

/* Ensure gradient text descenders (g, y, j, p, q) never get clipped */
.peanutsquare-theme-root .title.text-gradient-1,
.peanutsquare-theme-root .heading-title.text-gradient-1,
.peanutsquare-theme-root .text-gradient-1 {
  padding-bottom: 8px !important;
  display: block !important;
  width: 100% !important;
}

/* SAS detail hero title — match homepage page-title scale (72px) */
.peanutsquare-theme-root .section-hero.hero-section-home h1.sas-detail-hero-title {
  font-size: 72px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

@media (max-width: 991px) {
  .peanutsquare-theme-root .section-hero.hero-section-home h1.sas-detail-hero-title {
    font-size: 56px !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 767px) {
  .peanutsquare-theme-root .section-hero.hero-section-home h1.sas-detail-hero-title {
    font-size: 48px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 480px) {
  .peanutsquare-theme-root .section-hero.hero-section-home h1.sas-detail-hero-title {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SAS Knowledge Base Rich Content, Step Cards & Enlarged Typography
   ══════════════════════════════════════════════════════════════ */

.knowledge-rich-content {
  font-size: 1.15rem !important;
  line-height: 1.9 !important;
  color: #334155 !important;
  letter-spacing: -0.01em !important;
}

.knowledge-rich-content p {
  font-size: 1.15rem !important;
  line-height: 1.9 !important;
  margin-bottom: 1.5rem !important;
  color: #334155 !important;
}

.knowledge-rich-content strong,
.knowledge-rich-content b {
  color: #0f172a !important;
  font-weight: 750 !important;
}

.knowledge-rich-content h1,
.knowledge-rich-content h2,
.knowledge-rich-content h3,
.knowledge-rich-content h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-top: 3rem !important;
  margin-bottom: 1.25rem !important;
  line-height: 1.35 !important;
  scroll-margin-top: 110px !important;
}

.knowledge-rich-content h2 {
  font-size: 1.85rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 0.75rem !important;
}

.knowledge-rich-content h3 {
  font-size: 1.55rem !important;
  border-bottom: 1px solid #f8fafc !important;
  padding-bottom: 0.5rem !important;
}

.knowledge-rich-content h4 {
  font-size: 1.3rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
}

.knowledge-rich-content ol {
  margin-bottom: 1.8rem !important;
  padding-left: 1.8rem !important;
}

.knowledge-rich-content ol > li {
  font-size: 1.125rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.8 !important;
  padding-left: 0.35rem !important;
}

.knowledge-rich-content ol > li::marker {
  font-weight: 750 !important;
  color: #0072bc !important;
  font-size: 1.15rem !important;
}

.knowledge-rich-content ul {
  margin-bottom: 1.8rem !important;
  padding-left: 1.8rem !important;
  list-style-type: disc !important;
}

.knowledge-rich-content ul > li {
  font-size: 1.125rem !important;
  margin-bottom: 0.65rem !important;
  line-height: 1.8 !important;
  padding-left: 0.25rem !important;
}

.knowledge-rich-content ul > li::marker {
  color: #94a3b8 !important;
}

/* ── Modern Designed Step Cards ── */
.knowledge-rich-content .doc-step-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 3.5rem !important;
  margin-bottom: 1.5rem !important;
  padding: 18px 24px !important;
  background: linear-gradient(135deg, #fdf8fc 0%, #ffffff 100%) !important;
  border: 1px solid rgba(0, 114, 188, 0.16) !important;
  border-left: 5px solid #0072bc !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px -4px rgba(0, 114, 188, 0.08) !important;
  scroll-margin-top: 110px !important;
}

.knowledge-rich-content .doc-step-badge {
  display: inline-flex !important;
  align-items: center !important;
}

.knowledge-rich-content .doc-step-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  font-size: 0.775rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: #0072bc !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 114, 188, 0.25) !important;
}

.knowledge-rich-content .doc-step-title {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em !important;
}

/* ── Subheadings ── */
.knowledge-rich-content .doc-subheading {
  font-size: 1.45rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin-top: 2.25rem !important;
  margin-bottom: 1rem !important;
  line-height: 1.35 !important;
}

/* ── Responsive Table Card & Styles ── */
.doc-table-card {
  width: 100% !important;
  overflow-x: auto !important;
  margin: 2.5rem 0 !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05) !important;
  scrollbar-width: thin !important;
}

.doc-table-card table,
.knowledge-rich-content table {
  width: 100% !important;
  min-width: 580px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  font-size: 1.05rem !important;
  border: none !important;
}

.doc-table-card thead th,
.knowledge-rich-content th {
  background-color: #f8fafc !important;
  color: #475569 !important;
  font-size: 0.825rem !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  text-align: left !important;
}

.doc-table-card tbody td,
.knowledge-rich-content td {
  padding: 16px 22px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  color: #334155 !important;
  line-height: 1.7 !important;
  vertical-align: top !important;
  font-size: 1.05rem !important;
}

.doc-table-card tbody tr:last-child td,
.knowledge-rich-content tbody tr:last-child td {
  border-bottom: none !important;
}

.doc-table-card tbody tr:nth-child(even),
.knowledge-rich-content tbody tr:nth-child(even) {
  background-color: #fafbfc !important;
}

.doc-table-card tbody tr:hover,
.knowledge-rich-content tbody tr:hover {
  background-color: #f1f5f9 !important;
}

.doc-table-card td:first-child,
.knowledge-rich-content td:first-child,
.knowledge-rich-content td.column-1 {
  font-weight: 750 !important;
  color: #0f172a !important;
  width: 230px !important;
  font-size: 1.05rem !important;
}

.knowledge-rich-content a {
  color: #0072bc !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
}