/* ============================================================
   GoSBA Loans — Post Content CSS (Option C "Soft Modern" + Boxes)
   Apply to Elementor Single Post Template > Custom CSS
   ============================================================ */

/* --- Tables --- */
.elementor-widget-theme-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.elementor-widget-theme-post-content thead th {
  background: #f0f7f4;
  color: #002d24;
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #d4e8dc;
}
.elementor-widget-theme-post-content tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.elementor-widget-theme-post-content tbody tr:last-child td {
  border-bottom: none;
}
.elementor-widget-theme-post-content tbody tr:hover {
  background: #fafffe;
  transition: background 0.15s;
}
.elementor-widget-theme-post-content tbody td a {
  color: #2f725e;
  text-decoration: none;
  font-weight: 500;
}
.elementor-widget-theme-post-content tbody td a:hover {
  text-decoration: underline;
}

/* --- Blockquote (Key Insight) --- */
.elementor-widget-theme-post-content blockquote {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2f725e;
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/* --- FAQ Accordion --- */
.elementor-widget-theme-post-content details {
  background: #fff;
  border: 1px solid #e8efe9;
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.elementor-widget-theme-post-content summary {
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  color: #002d24;
}
.elementor-widget-theme-post-content summary::-webkit-details-marker {
  display: none;
}
.elementor-widget-theme-post-content summary::after {
  content: "\203A";
  float: right;
  font-size: 1.4em;
  color: #2f725e;
  line-height: 1;
  transition: transform 0.2s;
}
.elementor-widget-theme-post-content details[open] summary::after {
  transform: rotate(90deg);
}
.elementor-widget-theme-post-content details[open] summary {
  background: #f7fbf9;
  
}
.elementor-widget-theme-post-content details > p,
.elementor-widget-theme-post-content details > div {
  padding: 16px 20px;
}

/* --- Lists --- */
.elementor-widget-theme-post-content ul {
  padding-left: 20px;
}
.elementor-widget-theme-post-content li {
  margin-bottom: 8px;
}

/* --- H2 Section Divider --- */
.elementor-widget-theme-post-content h2 {
  margin-top: 40px;
  padding-bottom: 8px;
  
}

/* ============================================================
   STAT BOXES (4-up grid for loan categories)
   ============================================================ */
.elementor-widget-theme-post-content .stat-boxes {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  margin: 24px 0;
}
.elementor-widget-theme-post-content .stat-boxes.two-col {
  grid-template-columns: 1fr 1fr !important;
}
.elementor-widget-theme-post-content .stat-box {
  background: #fff;
  border: 1px solid #e8efe9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.elementor-widget-theme-post-content .stat-label {
  font-size: 14px;
  color: #475d59;
  margin-bottom: 4px;
}
.elementor-widget-theme-post-content .stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #002d24;
  line-height: 1.2;
  margin-bottom: 4px;
}
.elementor-widget-theme-post-content .stat-detail {
  font-size: 13px;
  color: #6b7c78;
}

/* ============================================================
   COMPARISON SECTION (Live Oak vs National)
   ============================================================ */
.elementor-widget-theme-post-content .comparison-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  margin: 24px 0;
}
.elementor-widget-theme-post-content .comparison-card {
  background: #fff;
  border: 1px solid #e8efe9;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.elementor-widget-theme-post-content .comp-title {
  font-size: 14px;
  font-weight: 700;
  color: #002d24;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.elementor-widget-theme-post-content .comp-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 8px;
  gap: 10px;
}
.elementor-widget-theme-post-content .comp-label {
  width: 90px;
  font-size: 13px;
  color: #475d59;
  flex-shrink: 0;
}
.elementor-widget-theme-post-content .comp-bar-wrap {
  flex: 1;
  height: 24px;
  background: #f1f5f3;
  border-radius: 6px;
  overflow: hidden;
}
.elementor-widget-theme-post-content .comp-bar {
  height: 24px;
  border-radius: 6px;
  min-width: 4px;
}
.elementor-widget-theme-post-content .comp-num {
  width: 70px;
  text-align: right;
  font-size: 14px;
  color: #002d24;
  flex-shrink: 0;
}
.elementor-widget-theme-post-content .comp-verdict {
  font-size: 13px;
  color: #475d59;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

/* ============================================================
   RATE SPLIT (Variable vs Fixed)
   ============================================================ */
.elementor-widget-theme-post-content .rate-split {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  margin: 24px 0;
}
.elementor-widget-theme-post-content .rate-card {
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.elementor-widget-theme-post-content .rate-variable {
  background: #f0fdf4;
  border: 1px solid #d4e8dc;
}
.elementor-widget-theme-post-content .rate-fixed {
  background: #fff;
  border: 1px solid #e8efe9;
}
.elementor-widget-theme-post-content .rate-type {
  font-size: 14px;
  color: #475d59;
  margin-bottom: 4px;
}
.elementor-widget-theme-post-content .rate-pct {
  font-size: 32px;
  font-weight: 800;
  color: #002d24;
  line-height: 1.2;
  margin-bottom: 4px;
}
.elementor-widget-theme-post-content .rate-info {
  font-size: 13px;
  color: #6b7c78;
  margin-bottom: 6px;
}
.elementor-widget-theme-post-content .rate-avg {
  font-size: 13px;
  color: #475d59;
}

/* ============================================================
   RESPONSIVE (Mobile)
   ============================================================ */
@media (max-width: 600px) {
  .elementor-widget-theme-post-content .stat-boxes {
    grid-template-columns: 1fr;
  }
  .elementor-widget-theme-post-content .rate-split {
    grid-template-columns: 1fr;
  }
  .elementor-widget-theme-post-content .stat-value,
  .elementor-widget-theme-post-content .rate-pct {
    font-size: 28px;
  }
  .elementor-widget-theme-post-content .comp-row {
    flex-wrap: wrap;
  }
  .elementor-widget-theme-post-content .comp-label {
    width: 100%;
  }
  .elementor-widget-theme-post-content .comp-bar-wrap {
    min-width: 0;
  }
}