/* ===== page background + layout ===== */
body {
  background: #f8fafc;
}

h2 {
  font-size: 20px;
}

/* Keep footer/copyright transparent as you had */
.footer .container,
.copyright .container {
  background: none;
}

/* Make the article feel modern and readable */
.tg-article-shell {
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
  overflow: hidden;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* Container inside your existing structure */
.tg-article-shell .container {
  background: transparent;
}

.tg-article-header {
  padding: 26px 16px 10px;
  text-align: center;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(
    90deg,
    rgba(52, 55, 193, 0.06),
    rgba(44, 156, 195, 0.05)
  );
  margin-right: -16px;
  margin-left: -16px;
}

.tg-article-header h1 {
  margin: 0 0 8px 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0b1020;
  line-height: 1.2;
  font-size: clamp(26px, 3vw, 34px);
  text-align: center;
}

.tg-article-meta {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 10px 0;
  text-align: center;
  line-height: 1.6;
}

.tg-hero-figure {
  margin: 14px auto 6px auto;
  max-width: 920px;
}

.tg-hero-figure img {
  width: min(560px, 85%);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(17, 24, 39, 0.1));
}

.tg-hero-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

/* ===== typography ===== */
.center-column {
  margin: 18px auto;
}

/* Main content readability */
.tg-article-content {
  font-size: 16px;
  line-height: 1.75;
  color: #111827;
  text-align: left;
  padding: 24px 4px 18px;
}

.tg-article-content p {
  margin: 0 0 14px 0;
  max-width: 760px;
}

/* Headings: remove your global center on h3 and make consistent */
h2,
h3,
h4,
h6 {
  text-align: left;
  margin-top: 34px;
  margin-bottom: 10px;
  line-height: 1.35;
  color: #0b1020;
  letter-spacing: -0.01em;
  max-width: 760px;
}

h2 {
  font-size: 22px;
  font-weight: 900;
}

h3 {
  font-size: 18px;
  font-weight: 900;
}

h4 {
  font-size: 16px;
  font-weight: 900;
}

/* Lists */
.tg-article-content ul,
.tg-article-content ol {
  padding-left: 18px;
  max-width: 760px;
  margin: 0 0 14px 0;
}

.tg-article-content li {
  margin: 0 0 8px 0;
  font-size: 16px;
}

/* ===== intro summary box ===== */
.tg-intro-box {
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(52, 55, 193, 0.08),
    rgba(44, 156, 195, 0.06)
  );
  border: 1px solid rgba(52, 55, 193, 0.14);
  padding: 14px 14px;
  margin: 16px 0 18px 0;
  max-width: 760px;
}

.tg-intro-box p {
  margin: 0;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.65;
  max-width: none;
}

.tg-intro-box strong {
  color: #0b1020;
}

/* ===== section cards to break up the wall of text ===== */
.tg-section-card {
  background: #f9fafb;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  margin: 24px 0;
  max-width: 860px;
}

.tg-section-card > *:first-child {
  margin-top: 0 !important;
}

/* ===== blockquote / callout ===== */
blockquote.tg-callout {
  max-width: 760px;
  margin: 16px 0;
  padding: 14px 14px;
  border-left: 4px solid #3437c1;
  background: rgba(52, 55, 193, 0.06);
  border-radius: 12px;
}

blockquote.tg-callout p {
  margin: 0 0 10px 0;
  max-width: none;
  font-size: 14px;
  color: #1f2937;
}

blockquote.tg-callout p:last-child {
  margin-bottom: 0;
}

/* ===== table styling ===== */
.tg-checklist {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin: 10px 0 12px 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
}

.tg-checklist th,
.tg-checklist td {
  padding: 10px 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 14px;
}

.tg-checklist thead th {
  background: rgba(17, 24, 39, 0.04);
  font-weight: 900;
  color: #111827;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.tg-checklist tbody tr:last-child td {
  border-bottom: none;
}

/* ===== buttons ===== */
.tg-article-content .btn.btn-primary {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
}

/* ===== sidebar spacing ===== */
.tg-sidebar {
  font-size: 14px;
  text-align: left;
  padding-top: 12px;
}

/* ===== share area ===== */
.tg-share-footer {
  text-align: center;
  clear: both;
  padding: 8px 0 0;
}

.tg-share-footer span {
  font-size: 11px;
  color: #6b7280;
}

/* ===== responsive ===== */
@media (max-width: 991px) {
  .col-md-9.col-md-push-3 {
    float: none;
    width: 100%;
    left: auto;
  }

  .col-md-3.col-md-pull-9 {
    float: none;
    width: 100%;
    right: auto;
    margin-top: 10px;
  }
}

/* FAQ accordion styling */
.tg-faq details {
  max-width: 760px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 16px;
}

.tg-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: #0b1020;
  list-style: none;
}

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

.tg-faq p {
  margin: 10px 0 0 0;
  max-width: none;
  color: #111827;
}
