/* web/themes/techprosolutions/css/components/editor-content.css */
/**
 * ============================================================================
 * Stripe & Investopedia Editorial Component Design System for EasyTax
 * ============================================================================
 * 
 * High-readability typography & component design system for CKEditor content,
 * single blog posts, service guides, and legal pages.
 *
 * Scopes: .et-post__prose, [data-blog-body], .et-svc__section-body, .field--name-body
 *
 * Brand Palette:
 *  - Deep Navy: #1C3557, #070B3B, #0F172A
 *  - Brand Green: #3CB944 (primary), #2E7D32 (accessible dark), #1B5E20 (deep forest)
 *  - Slate Surfaces: #FFFFFF (card), #F8FAFC (wash), #F1F5F9 (fill), #E2E8F0 (border), #CBD5E1 (divider)
 *  - Text: #1C3557 (headlines), #45464F (body prose), #64748B (muted/captions)
 *
 * Components Engineered:
 *  1. Typography (Plus Jakarta Sans headlines, Inter 17px/1.8 prose)
 *  2. Key Takeaways & Executive Summary Box (radial gradient, 4px green accent, lightbulb icon)
 *  3. Numbered Step Headings (.et-step-heading, .et-step-num, counter fallbacks)
 *  4. Sub-Kicker Badges (Why It Happens, How to Avoid It, Pro Tip, Statutory Warning)
 *  5. Do's & Don'ts Comparison Cards (.et-dos-donts, .et-do, .et-dont)
 *  6. Responsive Financial Data Tables (10px rounded, #F1F5F9 headers, scroll wrapper)
 *  7. Calculation & Example Callouts (.et-callout--example, #1C3557 left border)
 *  8. Interactive FAQ Accordions (details/summary, animated chevron, smooth open state)
 *  9. Author E-E-A-T Credentials Card (.et-author-card, ICAI registration badge)
 */

/* ----------------------------------------------------------------------------
   1. GLOBAL PROSE CONTAINER & BASE TYPOGRAPHY
---------------------------------------------------------------------------- */
.et-post__prose,
.et-svc__section-body,
.field--name-field-service-text,
[data-blog-body],
.field--name-body,
.ck-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem; /* 17px Investopedia reading standard */
  line-height: 1.8;
  color: #45464F;
  letter-spacing: -0.005em;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Margin collapsing guards */
.et-post__prose > :first-child,
.et-svc__section-body > :first-child,
.field--name-field-service-text > :first-child,
[data-blog-body] > :first-child,
.ck-content > :first-child {
  margin-top: 0 !important;
}

.et-post__prose > :last-child,
.et-svc__section-body > :last-child,
.field--name-field-service-text > :last-child,
[data-blog-body] > :last-child,
.ck-content > :last-child {
  margin-bottom: 0 !important;
}

/* ---------------- Paragraphs & Text Elements ---------------- */
.et-post__prose p,
.et-svc__section-body p,
.field--name-field-service-text p,
[data-blog-body] p,
.field--name-body p,
.ck-content p {
  margin-top: 0;
  margin-bottom: 1.4rem;
  line-height: 1.8;
  color: #45464F;
}

.et-post__prose :is(strong, b),
.et-svc__section-body :is(strong, b),
.field--name-field-service-text :is(strong, b),
[data-blog-body] :is(strong, b),
.field--name-body :is(strong, b),
.ck-content :is(strong, b) {
  font-weight: 700;
  color: #1C3557;
}

.et-post__prose em,
.et-svc__section-body em,
.field--name-field-service-text em,
[data-blog-body] em,
.ck-content em {
  font-style: italic;
  color: #334155;
}

/* ---------------- Headings Hierarchy (Plus Jakarta Sans) ---------------- */
.et-post__prose :is(h1, h2, h3, h4, h5, h6),
.et-svc__section-body :is(h1, h2, h3, h4, h5, h6),
.field--name-field-service-text :is(h1, h2, h3, h4, h5, h6),
[data-blog-body] :is(h1, h2, h3, h4, h5, h6),
.field--name-body :is(h1, h2, h3, h4, h5, h6),
.ck-content :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, sans-serif !important;
  color: #1C3557 !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  scroll-margin-top: 100px;
}

.et-post__prose h1,
.et-svc__section-body h1,
.field--name-field-service-text h1,
[data-blog-body] h1,
.ck-content h1 {
  font-size: 2.125rem; /* 34px */
  line-height: 1.25;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
}

.et-post__prose h2,
.et-svc__section-body h2,
.field--name-field-service-text h2,
[data-blog-body] h2,
.ck-content h2 {
  font-size: 1.6875rem; /* 27px */
  font-weight: 800;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.625rem;
  margin-top: 2.75rem;
  margin-bottom: 1.125rem;
  position: relative;
}

.et-post__prose h3,
.et-svc__section-body h3,
.field--name-field-service-text h3,
[data-blog-body] h3,
.ck-content h3 {
  font-size: 1.3125rem; /* 21px */
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.et-post__prose h4,
.et-svc__section-body h4,
.field--name-field-service-text h4,
[data-blog-body] h4,
.ck-content h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  margin-top: 1.625rem;
  margin-bottom: 0.625rem;
}

.et-post__prose h5,
.et-post__prose h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ---------------- Links (High-Trust Accessible Green) ---------------- */
.et-post__prose a,
.et-svc__section-body a,
.field--name-field-service-text a,
[data-blog-body] a,
.field--name-body a,
.ck-content a {
  color: #2E7D32;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(46, 125, 50, 0.35);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.et-post__prose a:hover,
.et-svc__section-body a:hover,
.field--name-field-service-text a:hover,
[data-blog-body] a:hover,
.field--name-body a:hover,
.ck-content a:hover {
  color: #1C3557;
  text-decoration-color: #1C3557;
}

/* ---------------- Lists (Clean Modern Green Bullet Dots) ---------------- */
.et-post__prose ul,
.et-svc__section-body ul,
.field--name-field-service-text ul,
[data-blog-body] ul,
.field--name-body ul,
.ck-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.625rem 0;
}

.et-post__prose ul > li,
.et-svc__section-body ul > li,
.field--name-field-service-text ul > li,
[data-blog-body] ul > li,
.field--name-body ul > li,
.ck-content ul > li {
  position: relative;
  padding-left: 1.875rem;
  margin-bottom: 0.6875rem;
  line-height: 1.75;
  color: #374151;
}

.et-post__prose ul > li::before,
.et-svc__section-body ul > li::before,
.field--name-field-service-text ul > li::before,
[data-blog-body] ul > li::before,
.field--name-body ul > li::before,
.ck-content ul > li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.6875rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3CB944;
  box-shadow: 0 0 0 2.5px rgba(60, 185, 68, 0.18);
}

.et-post__prose ol,
.et-svc__section-body ol,
.field--name-field-service-text ol,
[data-blog-body] ol,
.field--name-body ol,
.ck-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.625rem 0;
}

.et-post__prose ol > li,
.et-svc__section-body ol > li,
.field--name-field-service-text ol > li,
[data-blog-body] ol > li,
.field--name-body ol > li,
.ck-content ol > li {
  margin-bottom: 0.6875rem;
  line-height: 1.75;
  color: #374151;
  padding-left: 0.375rem;
}

.et-post__prose ol > li::marker,
.et-svc__section-body ol > li::marker,
.field--name-field-service-text ol > li::marker,
[data-blog-body] ol > li::marker,
.ck-content ol > li::marker {
  color: #1C3557;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.et-post__prose li > ul,
.et-post__prose li > ol,
.et-svc__section-body li > ul,
.et-svc__section-body li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

/* ---------------- Horizontal Rules ---------------- */
.et-post__prose hr,
.et-svc__section-body hr,
.field--name-field-service-text hr,
[data-blog-body] hr,
.ck-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, #E2E8F0 0%, #CBD5E1 50%, #E2E8F0 100%);
  margin: 2.75rem 0;
}


/* ----------------------------------------------------------------------------
   2. KEY TAKEAWAYS & EXECUTIVE SUMMARY BOX (Stripe / Investopedia Standard)
---------------------------------------------------------------------------- */
.et-takeaways-box,
.et-takeaways,
.et-executive-summary,
.et-key-takeaways {
  background: radial-gradient(120% 120% at 0% 0%, #F0FDF4 0%, #F8FAFC 70%, #FFFFFF 100%);
  border: 1px solid #DCFCE7;
  border-left: 4.5px solid #3CB944;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2rem 0 2.5rem;
  box-shadow: 0 4px 20px -2px rgba(60, 185, 68, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.et-takeaways-box::after,
.et-takeaways::after,
.et-executive-summary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(60, 185, 68, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.et-takeaways-box__head,
.et-takeaways__title,
.et-executive-summary__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.0625rem !important; /* 17px */
  font-weight: 800 !important;
  color: #1C3557 !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.et-takeaways-box__icon,
.et-takeaways__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #DCFCE7;
  color: #166534;
  flex-shrink: 0;
}

.et-takeaways-box__icon svg,
.et-takeaways__icon svg {
  width: 16px;
  height: 16px;
}

.et-takeaways-box__body,
.et-takeaways__body,
.et-executive-summary__body {
  font-size: 0.96875rem; /* 15.5px */
  line-height: 1.75;
  color: #334155;
}

.et-takeaways-box__body ul,
.et-takeaways__body ul,
.et-executive-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.et-takeaways-box__body ul > li,
.et-takeaways__body ul > li,
.et-executive-summary ul > li {
  position: relative;
  padding-left: 1.875rem;
  margin-bottom: 0.625rem;
  line-height: 1.7;
  color: #1E293B;
}

.et-takeaways-box__body ul > li:last-child,
.et-takeaways__body ul > li:last-child {
  margin-bottom: 0;
}

.et-takeaways-box__body ul > li::before,
.et-takeaways__body ul > li::before,
.et-executive-summary ul > li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  background-color: #3CB944;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  border-radius: 0;
  box-shadow: none;
}


/* ----------------------------------------------------------------------------
   3. NUMBERED STEP HEADINGS (.et-step-heading, .et-step-num)
---------------------------------------------------------------------------- */
.et-post__prose counter-reset: et-step-counter;

.et-step-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.4375rem !important; /* 23px */
  font-weight: 800 !important;
  color: #1C3557 !important;
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 3rem 0 1.25rem !important;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid #E2E8F0 !important;
  position: relative;
  scroll-margin-top: 100px;
  line-height: 1.35 !important;
}

/* Green underline indicator matching Stripe & Investopedia style */
.et-step-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 52px;
  height: 3px;
  background: #3CB944;
  border-radius: 2px;
}

.et-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1C3557 0%, #0F172A 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(28, 53, 87, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fallback badge if .et-step-num element was not manually inserted */
.et-step-heading:not(:has(.et-step-num))::before {
  counter-increment: et-step-counter;
  content: counter(et-step-counter, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1C3557 0%, #0F172A 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(28, 53, 87, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


/* ----------------------------------------------------------------------------
   4. SUB-KICKER BADGES (Why, How to Avoid, Pro Tip, Statutory Warning)
---------------------------------------------------------------------------- */
.et-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin: 1.5rem 0 0.875rem;
  line-height: 1.3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.et-kicker-badge svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* 4A. Why It Happens: Amber Pill */
.et-kicker-badge--why {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.et-kicker-badge--why:not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #92400E;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* 4B. How to Avoid It: Green Pill */
.et-kicker-badge--how {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #A7F3D0;
}

.et-kicker-badge--how:not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #1B5E20;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* 4C. Pro Tip: Emerald / Teal Soft Pill */
.et-kicker-badge--tip,
.et-kicker-badge--protip {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.et-kicker-badge--tip:not(:has(svg))::before,
.et-kicker-badge--protip:not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #065F46;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* 4D. Warning / Statutory Warning: Red / Amber Pill */
.et-kicker-badge--warn,
.et-kicker-badge--warning,
.et-kicker-badge--statutory,
.et-kicker-badge--danger {
  background: #FFF1F2;
  color: #991B1B;
  border: 1px solid #FECDD3;
}

.et-kicker-badge--warn:not(:has(svg))::before,
.et-kicker-badge--warning:not(:has(svg))::before,
.et-kicker-badge--statutory:not(:has(svg))::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #991B1B;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}


/* ----------------------------------------------------------------------------
   5. DO'S & DON'TS / PROS & CONS COMPARISON CARDS
---------------------------------------------------------------------------- */
.et-dos-donts,
.et-comparison-grid,
.et-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 2.25rem 0;
  width: 100%;
}

.et-do,
.et-dos,
.et-pro,
.et-pros,
.et-dont,
.et-donts,
.et-con,
.et-cons {
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  background: #FFFFFF;
}

/* Do's (Green Positive Card) */
.et-do,
.et-dos,
.et-pro,
.et-pros {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 64px);
  border: 1px solid #BBF7D0;
  border-top: 4px solid #3CB944;
}

.et-do__title,
.et-dos__title,
.et-pro__title,
.et-do h3,
.et-do h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.0625rem !important;
  font-weight: 800 !important;
  color: #14532D !important;
  margin: 0 0 14px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.et-do__title::before,
.et-dos__title::before,
.et-do h3::before,
.et-do h4::before {
  content: "";
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #3CB944;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: 12px;
  -webkit-mask-size: 12px;
  mask-position: center;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  flex-shrink: 0;
}

.et-do ul,
.et-dos ul,
.et-pro ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.et-do ul > li,
.et-dos ul > li,
.et-pro ul > li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  line-height: 1.65;
  color: #1E293B;
  font-size: 0.9375rem;
}

.et-do ul > li::before,
.et-dos ul > li::before,
.et-pro ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #2E7D32;
  font-size: 0.9375rem;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
}

/* Don'ts (Red Negative Card) */
.et-dont,
.et-donts,
.et-con,
.et-cons {
  background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 64px);
  border: 1px solid #FECDD3;
  border-top: 4px solid #EF4444;
}

.et-dont__title,
.et-donts__title,
.et-con__title,
.et-dont h3,
.et-dont h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.0625rem !important;
  font-weight: 800 !important;
  color: #991B1B !important;
  margin: 0 0 14px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.et-dont__title::before,
.et-donts__title::before,
.et-dont h3::before,
.et-dont h4::before {
  content: "";
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #EF4444;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  mask-size: 11px;
  -webkit-mask-size: 11px;
  mask-position: center;
  -webkit-mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  flex-shrink: 0;
}

.et-dont ul,
.et-donts ul,
.et-con ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.et-dont ul > li,
.et-donts ul > li,
.et-con ul > li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  line-height: 1.65;
  color: #1E293B;
  font-size: 0.9375rem;
}

.et-dont ul > li::before,
.et-donts ul > li::before,
.et-con ul > li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #DC2626;
  font-size: 0.875rem;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
}


/* ----------------------------------------------------------------------------
   6. RESPONSIVE MODERN FINANCIAL DATA TABLES
---------------------------------------------------------------------------- */
.et-post__prose table,
.et-svc__section-body table,
.field--name-field-service-text table,
[data-blog-body] table,
.field--name-body table,
.ck-content table,
.et-svc__table table,
.et-table-wrapper table {
  width: 100% !important;
  margin: 2rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9375rem;
  background: #FFFFFF;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.et-post__prose th,
.et-svc__section-body th,
.field--name-field-service-text th,
[data-blog-body] th,
.ck-content th,
.et-svc__table th,
.et-table-wrapper th {
  background: #F1F5F9;
  color: #1C3557;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1.5px solid #CBD5E1;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.et-post__prose td,
.et-svc__section-body td,
.field--name-field-service-text td,
[data-blog-body] td,
.ck-content td,
.et-svc__table td,
.et-table-wrapper td {
  padding: 12px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: middle;
  line-height: 1.6;
}

.et-post__prose tr:last-child td,
.et-svc__section-body tr:last-child td,
.field--name-field-service-text tr:last-child td,
[data-blog-body] tr:last-child td,
.ck-content tr:last-child td,
.et-svc__table tr:last-child td {
  border-bottom: none;
}

.et-post__prose tbody tr:nth-child(even),
.et-svc__section-body tbody tr:nth-child(even),
.field--name-field-service-text tbody tr:nth-child(even),
[data-blog-body] tbody tr:nth-child(even),
.ck-content tbody tr:nth-child(even) {
  background-color: #FAFCFE;
}

.et-post__prose tbody tr:hover,
.et-svc__section-body tbody tr:hover,
.field--name-field-service-text tbody tr:hover,
[data-blog-body] tbody tr:hover,
.ck-content tbody tr:hover {
  background-color: #F1F5F9;
  transition: background-color 0.15s ease;
}

/* Align numeric data */
.et-post__prose td.num,
.et-post__prose th.num,
.et-post__prose td.amount,
.et-post__prose th.amount,
.et-post__prose td.text-right,
.et-post__prose th.text-right {
  text-align: right;
}

/* Table mobile wrapper with smooth horizontal touch-scrolling */
.table-responsive,
.et-table-wrapper,
.et-svc__table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-radius: 10px;
}


/* ----------------------------------------------------------------------------
   7. CALCULATION & EXAMPLE CALLOUTS (.et-callout--example)
---------------------------------------------------------------------------- */
.et-callout--example,
.et-callout--calc,
.et-calculation-box,
.et-example-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4.5px solid #1C3557;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 2.25rem 0;
  box-shadow: 0 2px 12px rgba(28, 53, 87, 0.04);
  position: relative;
}

.et-callout__badge,
.et-callout__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1C3557;
  background: #E2E8F0;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.et-callout__title,
.et-callout--example h3,
.et-callout--example h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  color: #1C3557 !important;
  margin: 0 0 10px 0 !important;
}

.et-callout__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #334155;
}

.et-callout__formula {
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: #0F172A;
  margin: 12px 0;
  line-height: 1.6;
}

.et-callout__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #166534;
  font-size: 0.9375rem;
}

.et-callout__result-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: #14532D;
}


/* ----------------------------------------------------------------------------
   8. INTERACTIVE FAQ ACCORDIONS (details/summary standard)
---------------------------------------------------------------------------- */
.et-faq,
.et-faq-accordion {
  margin: 2.5rem 0;
}

.et-faq__heading,
.et-faq-accordion__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.625rem !important;
  font-weight: 800 !important;
  color: #1C3557 !important;
  margin: 0 0 1.25rem 0 !important;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.625rem;
  position: relative;
}

.et-faq__heading::after,
.et-faq-accordion__title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 44px;
  height: 3px;
  background: #3CB944;
  border-radius: 2px;
}

.et-faq-item,
details.et-faq__item,
details.et-faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.et-faq-item:hover,
details.et-faq__item:hover {
  border-color: #CBD5E1;
}

details.et-faq__item[open],
details.et-faq-item[open] {
  border-color: #94A3B8;
  box-shadow: 0 4px 16px rgba(28, 53, 87, 0.05);
}

.et-faq__q,
details.et-faq-item summary,
details.et-faq__item summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 16px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1C3557;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.45;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.et-faq__q::-webkit-details-marker,
details.et-faq-item summary::-webkit-details-marker,
details.et-faq__item summary::-webkit-details-marker {
  display: none;
}

.et-faq__q::marker,
details.et-faq-item summary::marker,
details.et-faq__item summary::marker {
  display: none;
}

.et-faq__q:hover,
details.et-faq-item summary:hover,
details.et-faq__item summary:hover {
  background-color: #F8FAFC;
  color: #070B3B;
}

details.et-faq-item[open] > summary,
details.et-faq__item[open] > summary {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

/* Animated chevron indicator */
.et-faq__q::after,
details.et-faq-item summary::after,
details.et-faq__item summary::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid #3CB944;
  border-bottom: 2.5px solid #3CB944;
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

details.et-faq-item[open] summary::after,
details.et-faq__item[open] summary::after {
  transform: rotate(-135deg);
  border-color: #1C3557;
}

.et-faq__a,
.et-faq-answer,
details.et-faq-item .et-faq-answer,
details.et-faq__item .et-faq__a {
  padding: 18px 20px;
  font-size: 0.96875rem;
  line-height: 1.75;
  color: #45464F;
  background: #FFFFFF;
}

.et-faq__a p:last-child,
.et-faq-answer p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------------------------
   9. AUTHOR E-E-A-T CREDENTIALS CARD (.et-author-card)
---------------------------------------------------------------------------- */
.et-author-card,
.et-author {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAF9 100%);
  border: 1px solid #E2E8F0;
  border-left: 4.5px solid #3CB944;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 2.75rem 0;
  box-shadow: 0 4px 16px rgba(28, 53, 87, 0.04);
}

.et-author-card__head,
.et-author__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.et-author-card__av,
.et-author__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E2E8F0;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.et-author-card__av--ph,
.et-author__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1C3557 0%, #070B3B 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
}

.et-author-card__kicker,
.et-author__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin: 0 0 3px;
  line-height: 1.2;
}

.et-author-card__name,
.et-author__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1875rem;
  font-weight: 800;
  color: #1C3557 !important;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.3;
}

.et-author-card__badge,
.et-author__badge,
.et-author-card__icai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.et-author-card__badge::before,
.et-author-card__icai::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #2E7D32;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.et-author-card__bio,
.et-author__bio {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #45464F;
  margin: 0;
}


/* ----------------------------------------------------------------------------
   10. MEDIA, QUOTES & CODE SURFACES
---------------------------------------------------------------------------- */
.et-post__prose blockquote,
.et-svc__section-body blockquote,
.field--name-field-service-text blockquote,
[data-blog-body] blockquote,
.field--name-body blockquote,
.ck-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.875rem;
  background: #F8FAF9;
  border-left: 4.5px solid #3CB944;
  border-radius: 0 10px 10px 0;
  color: #334155;
  font-style: normal;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.et-post__prose blockquote p:last-child {
  margin-bottom: 0;
}

.et-post__prose img,
.et-svc__section-body img,
.field--name-field-service-text img,
[data-blog-body] img,
.field--name-body img,
.ck-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.75rem auto;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.et-post__prose figure,
.et-svc__section-body figure,
.field--name-field-service-text figure,
[data-blog-body] figure,
.ck-content figure {
  margin: 2rem 0;
  text-align: center;
}

.et-post__prose figcaption,
.et-svc__section-body figcaption,
[data-blog-body] figcaption {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.625rem;
  font-style: italic;
}

.et-post__prose code,
.et-svc__section-body code,
.field--name-field-service-text code,
[data-blog-body] code,
.ck-content code {
  background: #F1F5F9;
  color: #1C3557;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.2em 0.45em;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}

.et-post__prose pre,
.et-svc__section-body pre,
.field--name-field-service-text pre,
[data-blog-body] pre,
.ck-content pre {
  background: #0F172A;
  color: #F8FAFC;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 2rem 0;
}

.et-post__prose pre code {
  background: transparent;
  color: inherit;
  border: none;
  padding: 0;
}


/* ----------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINT REFINEMENTS
---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .et-post__prose h1 { font-size: 1.875rem; }
  .et-post__prose h2 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .et-post__prose,
  .et-svc__section-body,
  [data-blog-body] {
    font-size: 1rem; /* 16px on mobile for optimal legibility */
    line-height: 1.75;
  }

  .et-post__prose h1 {
    font-size: 1.625rem;
    margin-top: 2rem;
  }

  .et-post__prose h2 {
    font-size: 1.375rem; /* 22px */
    margin-top: 2.25rem;
  }

  .et-post__prose h3 {
    font-size: 1.1875rem; /* 19px */
  }

  .et-step-heading {
    font-size: 1.25rem !important; /* 20px */
    gap: 10px;
  }

  .et-step-num,
  .et-step-heading:not(:has(.et-step-num))::before {
    min-width: 34px;
    height: 34px;
    font-size: 0.8125rem;
    border-radius: 8px;
  }

  .et-dos-donts,
  .et-comparison-grid,
  .et-pros-cons {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .et-takeaways-box,
  .et-takeaways,
  .et-executive-summary {
    padding: 18px 20px;
  }

  .et-callout--example,
  .et-author-card {
    padding: 18px 20px;
  }

  .et-author-card__head {
    gap: 12px;
  }

  .et-author-card__av {
    width: 48px;
    height: 48px;
  }

  .et-faq__q {
    padding: 14px 16px;
    font-size: 0.96875rem;
  }

  .et-faq__a {
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .et-takeaways-box,
  .et-takeaways,
  .et-callout--example,
  .et-author-card,
  .et-do,
  .et-dont {
    padding: 16px;
    border-radius: 10px;
  }

  .et-author-card__name {
    font-size: 1.0625rem;
  }
}
