/* ============================================================
   ELL Single Post — blog-post.css
   All classes prefixed with .ell- to avoid Beaver Builder conflicts.
   Enqueue via functions.php on single CPT posts only.
============================================================ */
/* 🔥 FIX: Scope Font Awesome ONLY inside your layout */
.ell-post-layout i.fa,
.ell-post-layout i.fa-solid,
.ell-post-layout i.fa-regular,
.ell-post-layout i.fa-brands {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

/* Brand icons */
.ell-post-layout i.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Ensure icon renders */
.ell-post-layout i.fa::before {
  display: inline-block !important;
}
/* 🔥 Fix FA variable issue */
/* .ell-post-layout i::before {
  content: unset !important;
} */

/* Force correct icon rendering */
.ell-post-layout i.fa-brands.fa-linkedin::before {
  content: "\f08c" !important;
}

.ell-post-layout i.fa-brands.fa-x-twitter::before {
  content: "\e61b" !important;
}
/* ── CSS Variables (match insights page) ───────────────────── */
:root {
  --ell-blue:        #0075C1;
  --ell-blue-dark:   #005a96;
  --ell-white:       #ffffff;
  --ell-off-white:   #f8f9fa;
  --ell-light-grey:  #f2f3f4;
  --ell-mid-grey:    #e0e2e5;
  --ell-text-dark:   #1a1a2e;
  --ell-text-body:   #444444;
  --ell-text-muted:  #888888;
  --ell-radius:      6px;
  --ell-shadow:      0 2px 16px rgba(0,0,0,0.08);
  --ell-shadow-hover:0 6px 28px rgba(0,117,193,0.15);
}

/* ── Reading Progress Bar ──────────────────────────────────── */
#ell-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--ell-blue);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Post Hero Banner ──────────────────────────────────────── */
.ell-post-hero {
  background: var(--ell-blue);
  padding: 48px 40px 44px;
}
.ell-post-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ell-category-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--ell-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.ell-post-hero h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--ell-white);
  line-height: 1.25;
  max-width: 780px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.ell-post-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ell-post-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
}
.ell-post-hero-meta i { font-size: 12px; }
.ell-reviewed-date {
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.ell-breadcrumb-bar {
  background: var(--ell-off-white);
  border-bottom: 1px solid var(--ell-mid-grey);
  padding: 10px 0;
}
.ell-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ell-text-muted);
  flex-wrap: wrap;
}
.ell-breadcrumb-inner a {
  color: var(--ell-blue);
  text-decoration: none;
  transition: opacity 0.2s;
}
.ell-breadcrumb-inner a:hover { opacity: 0.75; }
.ell-breadcrumb-inner i { font-size: 10px; color: var(--ell-mid-grey); }
.ell-breadcrumb-current {
  color: var(--ell-text-dark);
  font-weight: 500;
}

/* ── Main Two-Column Layout ────────────────────────────────── */
.ell-post-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* ── Featured Image ────────────────────────────────────────── */
.ell-post-featured-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--ell-shadow);
  aspect-ratio: 16 / 7;
}
.ell-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Social Share Bar ──────────────────────────────────────── */
.ell-share-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ell-light-grey);
  flex-wrap: wrap;
}
.ell-share-bar span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ell-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-right: 4px;
}
/* Strong specificity to override Beaver Builder button resets */
.ell-article button.ell-share-btn,
button.ell-share-btn,
.ell-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: var(--ell-radius) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border: none !important;
  transition: opacity 0.2s !important;
  color: var(--ell-white) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  width: auto !important;
}
.ell-article button.ell-share-btn:hover,
button.ell-share-btn:hover,
.ell-share-btn:hover { opacity: 0.85 !important; }

.ell-article button.ell-share-linkedin,
button.ell-share-linkedin,
.ell-share-linkedin { background: #0077b5 !important; }

.ell-article button.ell-share-x,
button.ell-share-x,
.ell-share-x { background: #000000 !important; color: var(--ell-white) !important; }

.ell-article button.ell-share-email,
button.ell-share-email,
.ell-share-email { background: #888888 !important; }

.ell-article button.ell-share-copy,
button.ell-share-copy,
.ell-share-copy { background: var(--ell-light-grey) !important; color: var(--ell-text-dark) !important; }

/* ── Article Body Typography ───────────────────────────────── */
.ell-article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ell-text-body);
}
.ell-article-body p {
  margin-bottom: 22px;
}
.ell-article-body a {
  color: var(--ell-blue);
  text-decoration: underline;
}
.ell-article-body a:hover {
  color: var(--ell-blue-dark);
}
.ell-article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--ell-blue);
  line-height: 1.3;
  border-radius: 0;
  letter-spacing: 0;
}
.ell-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin: 28px 0 12px;
}
.ell-article-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin: 20px 0 8px;
}

/* Unordered lists */
.ell-article-body ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.ell-article-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
}
.ell-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ell-blue);
}

/* Ordered lists */
.ell-article-body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}
.ell-article-body ol li {
  padding: 4px 0;
  font-size: 15px;
}

/* Blockquote / intro questions style */
.ell-article-body blockquote,
.ell-article-body .intro-questions {
  background: var(--ell-off-white);
  border-left: 4px solid var(--ell-blue);
  border-radius: 0 var(--ell-radius) var(--ell-radius) 0;
  padding: 20px 24px;
  margin: 0 0 28px;
  font-style: italic;
  color: var(--ell-text-dark);
}
.ell-article-body blockquote p,
.ell-article-body .intro-questions p {
  font-size: 15px;
  margin-bottom: 10px;
}
.ell-article-body blockquote p:last-child,
.ell-article-body .intro-questions p:last-child {
  margin-bottom: 0;
}

/* Numbered feature blocks */
.ell-article-body .feature-block {
  background: var(--ell-off-white);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ell-article-body .feature-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ell-blue);
  color: var(--ell-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.ell-article-body .feature-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin: 0 0 6px;
}
.ell-article-body .feature-content p {
  font-size: 14px;
  color: var(--ell-text-body);
  margin: 0;
  line-height: 1.6;
}
.ell-article-body .feature-content ul { margin: 8px 0 0; }
.ell-article-body .feature-content ul li { font-size: 14px; padding: 4px 0 4px 20px; }
.ell-article-body .feature-content ul li::before { top: 12px; width: 6px; height: 6px; }

/* FAQ accordion — semantic details/summary */
/* Strong specificity to override Beaver Builder theme styles */
.ell-article-body .faq-list { margin-bottom: 8px; }

.ell-article-body details.faq-item {
  border-bottom: 1px solid var(--ell-mid-grey) !important;
  display: block !important;
}
.ell-article-body details.faq-item:first-child {
  border-top: 1px solid var(--ell-mid-grey) !important;
}

/* Make details open/close work even if BB adds display:none */
.ell-article-body details.faq-item > *:not(summary) {
  display: none;
}
.ell-article-body details.faq-item[open] > *:not(summary) {
  display: block;
}

.ell-article-body details.faq-item summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 0 !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ell-text-dark) !important;
  gap: 12px !important;
  list-style: none !important;
  user-select: none !important;
  background: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
}
.ell-article-body details.faq-item summary::-webkit-details-marker { display: none !important; }
.ell-article-body details.faq-item summary::marker { display: none !important; }
.ell-article-body details.faq-item summary:hover { color: var(--ell-blue) !important; }

.ell-article-body details.faq-item summary .faq-icon {
  flex-shrink: 0 !important;
  font-size: 13px !important;
  color: var(--ell-blue) !important;
  transition: transform 0.25s !important;
  margin-left: auto !important;
}
.ell-article-body details.faq-item[open] summary .faq-icon {
  transform: rotate(180deg) !important;
}

.ell-article-body .faq-answer {
  padding: 0 0 18px !important;
  font-size: 14px !important;
  color: var(--ell-text-body) !important;
  line-height: 1.7 !important;
  display: block !important;
}

/* Tables */
.ell-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.ell-article-body th {
  background: var(--ell-blue);
  color: var(--ell-white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.ell-article-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ell-light-grey);
  color: var(--ell-text-body);
}
.ell-article-body tr:last-child td { border-bottom: none; }
.ell-article-body tr:nth-child(even) td { background: var(--ell-off-white); }

/* ── Post CTA Bar ──────────────────────────────────────────── */
.ell-post-cta-bar {
  background: var(--ell-blue);
  border-radius: 10px;
  padding: 32px 36px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ell-post-cta-bar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ell-white);
  line-height: 1.3;
  max-width: 480px;
  margin: 0;
}
.ell-post-cta-btn {
  display: inline-block;
  background: var(--ell-white);
  color: var(--ell-blue);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--ell-radius);
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ell-post-cta-btn:hover { background: #e8f4ff; }

/* ── Author Bio ────────────────────────────────────────────── */
.ell-author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--ell-off-white);
  border-radius: 10px;
  padding: 24px;
  margin-top: 40px;
}
.ell-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--ell-blue);
}
.ell-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ell-author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin: 0 0 4px;
  letter-spacing: 0;
}
.ell-author-role {
  font-size: 12px;
  color: var(--ell-blue);
  font-weight: 600;
  margin-bottom: 10px;
}
.ell-author-info p {
  font-size: 13px;
  color: var(--ell-text-body);
  line-height: 1.6;
  margin: 0;
}

/* ── Post Tags ─────────────────────────────────────────────── */
.ell-post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ell-light-grey);
}
.ell-tags-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ell-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.ell-post-tag {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--ell-mid-grey);
  font-size: 12px;
  color: var(--ell-text-dark);
  text-decoration: none;
  transition: all 0.2s;
}
.ell-post-tag:hover {
  border-color: var(--ell-blue);
  color: var(--ell-blue);
}

/* ── Legal Disclaimer ──────────────────────────────────────── */
.ell-disclaimer-box {
  background: var(--ell-light-grey);
  border-radius: var(--ell-radius);
  padding: 16px 20px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--ell-text-muted);
  line-height: 1.6;
  border-left: 3px solid var(--ell-mid-grey);
}

/* ── Related Posts ─────────────────────────────────────────── */
.ell-related-posts {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--ell-light-grey);
}
.ell-related-posts h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ell-text-dark);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--ell-blue);
  border-radius: 0;
  letter-spacing: 0;
}
.ell-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ell-related-card {
  background: var(--ell-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--ell-shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.ell-related-card:hover {
  box-shadow: var(--ell-shadow-hover);
  transform: translateY(-3px);
}
.ell-rc-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ell-rc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.ell-related-card:hover .ell-rc-image img { transform: scale(1.05); }
.ell-rc-body { padding: 14px 16px 18px; }
.ell-rc-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ell-blue);
  margin-bottom: 6px;
}
.ell-rc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ell-text-dark);
  line-height: 1.45;
  margin-bottom: 8px;
}
.ell-rc-title a {
  color: inherit;
  text-decoration: none;
}
.ell-rc-title a:hover { color: var(--ell-blue); }
.ell-rc-date {
  font-size: 11px;
  color: var(--ell-text-muted);
}
.ell-rc-date i {
  color: var(--ell-blue);
  margin-right: 4px;
  font-size: 10px;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.ell-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 24px;
}

/* CTA Widget */
.ell-cta-widget {
  background: var(--ell-blue);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  color: var(--ell-white);
}
.ell-cta-widget h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
  color: var(--ell-white);
  letter-spacing: 0;
}
.ell-cta-widget p {
  font-size: 13px;
  opacity: 0.88;
  margin: 0 0 20px;
  line-height: 1.55;
}
.ell-cta-btn {
  display: inline-block;
  background: var(--ell-white);
  color: var(--ell-blue);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 24px;
  border-radius: var(--ell-radius);
  text-decoration: none;
  transition: background 0.2s;
  border: 2px solid var(--ell-white);
}
.ell-cta-btn:hover {
  background: transparent;
  color: var(--ell-white);
}

/* Sidebar Widget */
.ell-sidebar-widget {
  background: var(--ell-white);
  border-radius: 10px;
  box-shadow: var(--ell-shadow);
  overflow: hidden;
}
.ell-widget-header {
  background: var(--ell-blue);
  color: var(--ell-white);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.ell-widget-body { padding: 20px; }

/* Table of Contents */
.ell-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ell-toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ell-text-dark);
  border-bottom: 1px solid var(--ell-light-grey);
  text-decoration: none;
  transition: color 0.2s;
}
.ell-toc-list a:last-child { border-bottom: none; }
.ell-toc-list a:hover { color: var(--ell-blue); }
.ell-toc-list a i { color: var(--ell-blue); font-size: 10px; flex-shrink: 0; }
.ell-toc-list a.active { color: var(--ell-blue); font-weight: 600; }

/* Recent posts */
.ell-recent-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ell-light-grey);
}
.ell-recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.ell-recent-post:first-child { padding-top: 0; }
.ell-recent-thumb {
  width: 64px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.ell-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ell-recent-info { flex: 1; min-width: 0; }
.ell-recent-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ell-text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ell-recent-title a { color: inherit; text-decoration: none; }
.ell-recent-title a:hover { color: var(--ell-blue); }
.ell-recent-date { font-size: 11px; color: var(--ell-text-muted); }

/* Popular topics */
.ell-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.ell-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--ell-mid-grey);
  font-size: 12px;
  color: var(--ell-text-dark);
  text-decoration: none;
  transition: all 0.2s;
}
.ell-tag-pill:hover {
  border-color: var(--ell-blue);
  color: var(--ell-blue);
  background: rgba(0,117,193,0.05);
}

/* ── Mobile Floating CTA ───────────────────────────────────── */
.ell-mobile-cta-float {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ell-blue);
  padding: 14px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.ell-mobile-cta-float a {
  display: block;
  text-align: center;
  background: var(--ell-white);
  color: var(--ell-blue);
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: var(--ell-radius);
  text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ell-post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ell-post-sidebar { position: static; }
  .ell-related-grid { grid-template-columns: 1fr 1fr; }
  .ell-post-hero h1 { font-size: 26px; }
  .ell-mobile-cta-float { display: block; }
  .ell-post-layout { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  .ell-post-layout { padding: 30px 16px 100px; }
  .ell-post-hero { padding: 36px 20px 32px; }
  .ell-related-grid { grid-template-columns: 1fr; }
  .ell-post-cta-bar { flex-direction: column; text-align: center; }
  .ell-post-cta-bar h3 { max-width: 100%; }
  .ell-share-bar { gap: 8px; }
}

/* ── Global FAQ Section (ACF Options Page) ─────────────────── */
.ell-faq-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 2px solid var(--ell-light-grey);
}
.ell-faq-heading {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--ell-text-dark) !important;
  margin: 0 0 20px !important;
  padding-left: 14px !important;
  border-left: 4px solid var(--ell-blue) !important;
  border-radius: 0 !important;
}
.ell-faq-list {
  border-top: 1px solid var(--ell-mid-grey);
}
.ell-faq-item {
  border-bottom: 1px solid var(--ell-mid-grey) !important;
  display: block !important;
}
.ell-faq-item > *:not(.ell-faq-summary) { display: none; }
.ell-faq-item[open] > *:not(.ell-faq-summary) { display: block; }

.ell-faq-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 0 !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ell-text-dark) !important;
  list-style: none !important;
  user-select: none !important;
  background: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  gap: 12px !important;
}
.ell-faq-summary::-webkit-details-marker { display: none !important; }
.ell-faq-summary::marker { display: none !important; }
.ell-faq-summary:hover { color: var(--ell-blue) !important; }

.ell-faq-icon {
  flex-shrink: 0 !important;
  font-size: 13px !important;
  color: var(--ell-blue) !important;
  transition: transform 0.25s !important;
  margin-left: auto !important;
}
.ell-faq-item[open] .ell-faq-icon { transform: rotate(180deg) !important; }

.ell-faq-answer {
  padding: 0 0 20px !important;
  font-size: 14px !important;
  color: var(--ell-text-body) !important;
  line-height: 1.75 !important;
  display: block !important;
}
.ell-faq-answer p { margin-bottom: 10px; }
.ell-faq-answer p:last-child { margin-bottom: 0; }
.ell-faq-answer a { color: var(--ell-blue); text-decoration: underline; }

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  gap: 12px;
  list-style: none;
  user-select: none;
}
details.faq-item summary:hover {
  color: var(--blue);
}
.faq-answer {
  padding: 0 0 18px 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}
details.faq-item[open] summary .faq-icon {
  transform: rotate(180deg);
}
details.faq-item {
  border-bottom: 1px solid #e0e2e5;
}
details.faq-item:first-child {
  border-top: 1px solid #e0e2e5;
}