/* Abanto Law — magazine article layout (Legal Insights) */

body.insight-ready,
body:has(.blog-details),
body:has(.insight-article) {
  --insight-gold: #c4a36a;
  --insight-gold-dark: #a67c52;
  --insight-ink: #2c241c;
  --insight-muted: #6b5d50;
  --insight-line: #e6d9c8;
  --insight-paper: #faf7f2;
  --insight-card: #f4ece1;
  background: #faf7f2 !important;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--insight-ink);
}

body.insight-ready::before,
body.insight-ready::after,
body:has(.blog-details)::before,
body:has(.blog-details)::after,
body:has(.insight-article)::before,
body:has(.insight-article)::after,
body.insight-ready #abanto-fx,
body:has(.blog-details) #abanto-fx,
body:has(.insight-article) #abanto-fx,
body.insight-ready .breadcumb,
body:has(.blog-details) .breadcumb,
body:has(.insight-article) .breadcumb {
  display: none !important;
}

.insight-article {
  background: var(--insight-paper);
}

body:has(.blog-details) .blog-details.section-padding,
body.insight-ready .blog-details {
  padding-top: 168px !important;
  padding-bottom: 0 !important;
  background: var(--insight-paper) !important;
}

.insight-article h1,
.insight-article h2,
.insight-article h3,
.insight-quote p,
.insight-banner__title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.insight-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 56px;
}

.insight-hero {
  max-width: 920px;
  margin-bottom: 28px;
}

.insight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--insight-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.insight-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--insight-gold);
}

.insight-hero h1 {
  margin: 0 0 14px;
  color: var(--insight-ink);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.insight-dek {
  margin: 0 0 18px;
  max-width: 720px;
  color: var(--insight-muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--insight-muted);
  font-size: 0.88rem;
}

.insight-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insight-meta i {
  color: var(--insight-gold-dark);
  font-size: 0.82rem;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas:
    "img aside"
    "body aside"
    "tags aside";
  gap: 28px 48px;
  align-items: start;
}

.insight-hero-img { grid-area: img; }
.insight-body { grid-area: body; }
.insight-tags-share { grid-area: tags; }
.insight-aside { grid-area: aside; }

.insight-hero-img {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
}

.insight-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
}

.insight-section {
  margin: 0 0 28px;
}

.insight-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--insight-ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

.insight-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--insight-gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.insight-body > p,
.insight-section > p {
  margin: 0 0 12px;
  color: #4a3d32;
  font-size: 0.98rem;
  line-height: 1.75;
}

.insight-section h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

.insight-body ul,
.insight-section ul {
  list-style: none;
  margin: 10px 0 16px;
  padding: 0;
}

.insight-body ul li,
.insight-section ul li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 18px;
  color: #4a3d32;
  font-size: 0.95rem;
  line-height: 1.6;
}

.insight-body ul li::before,
.insight-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--insight-gold);
}

.insight-body ol,
.insight-section ol {
  margin: 10px 0 16px;
  padding-left: 1.2rem;
}

.insight-body ol li,
.insight-section ol li {
  margin-bottom: 8px;
  color: #4a3d32;
  font-size: 0.95rem;
  line-height: 1.6;
}

.insight-statgrid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 22px !important;
  padding: 0 !important;
  list-style: none !important;
}

.insight-statgrid li {
  margin: 0 !important;
  padding: 16px 14px 14px !important;
  background: #fff;
  border: 1px solid var(--insight-line);
  border-radius: 8px;
  font-size: 0.88rem !important;
  font-weight: 600;
  color: var(--insight-ink) !important;
  line-height: 1.4 !important;
}

.insight-statgrid li::before {
  display: none !important;
}

.insight-section ul.insight-takeaways li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 0 !important;
}

.insight-section ul.insight-takeaways li::before {
  content: "✓" !important;
  display: inline-flex !important;
  position: static !important;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0 !important;
  top: auto;
  left: auto;
  border-radius: 50%;
  background: var(--insight-gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.insight-aside {
  position: relative;
}

.insight-aside-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 108px;
}

.insight-quote {
  margin: 0;
  padding: 28px 24px 22px;
  background: var(--insight-card);
  border-radius: 8px;
}

.insight-quote::before {
  content: "“";
  display: block;
  margin-bottom: 6px;
  color: var(--insight-gold);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 0.8;
}

.insight-quote p {
  margin: 0 0 16px;
  color: var(--insight-ink);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
}

.insight-quote cite {
  display: block;
  color: var(--insight-gold-dark);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight-toc {
  padding: 20px 20px 16px;
  background: #fff;
  border: 1px solid var(--insight-line);
  border-radius: 8px;
}

.insight-toc h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--insight-ink);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

.insight-toc h2::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--insight-gold);
}

.insight-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-toc a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  color: var(--insight-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid #f0e7db;
}

.insight-toc li:last-child a {
  border-bottom: 0;
}

.insight-toc a:hover {
  color: var(--insight-gold-dark);
}

.insight-toc .n {
  color: var(--insight-gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.insight-cta-card {
  padding: 22px 20px 20px;
  background: var(--insight-card);
  border-radius: 8px;
}

.insight-cta-card h3 {
  margin: 0 0 8px;
  color: var(--insight-ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.insight-cta-card p {
  margin: 0 0 16px;
  color: var(--insight-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.insight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--insight-gold);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.insight-btn:hover {
  background: var(--insight-gold-dark);
  color: #fff !important;
}

.insight-btn--dark {
  background: var(--insight-gold);
  color: #2c241c !important;
  min-width: 220px;
}

.insight-disclaimer {
  margin-top: 8px;
  color: var(--insight-muted);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.6;
}

.insight-tags-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--insight-line);
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.insight-tags > span {
  margin-right: 4px;
  color: var(--insight-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.insight-tags a {
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--insight-line);
  color: var(--insight-muted);
  font-size: 0.75rem;
  text-decoration: none;
}

.insight-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insight-share > span {
  margin-right: 4px;
  color: var(--insight-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-share a,
.insight-share button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--insight-line);
  border-radius: 50%;
  background: #fff;
  color: var(--insight-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
}

.insight-share a:hover,
.insight-share button:hover {
  border-color: var(--insight-gold);
  color: var(--insight-gold-dark);
}

.insight-banner {
  background: #2a221c;
  color: #fff;
}

.insight-banner__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.insight-banner__title {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--insight-gold);
}

.insight-banner p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-details .col-xl-8.mx-auto > .mt-48,
.blog-details .insight-article ~ .mt-48 {
  display: none !important;
}

@media (max-width: 991.98px) {
  .insight-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img"
      "aside"
      "body"
      "tags";
    gap: 24px;
  }

  .insight-aside-inner {
    position: static;
  }

  body:has(.blog-details) .blog-details.section-padding,
  body.insight-ready .blog-details {
    padding-top: 108px !important;
  }

  .insight-statgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .insight-wrap {
    width: calc(100% - 28px);
  }

  .insight-hero h1 {
    font-size: 1.85rem;
  }

  .insight-dek {
    font-size: 1rem;
  }

  .insight-hero-img img {
    max-height: none;
  }

  .insight-statgrid {
    grid-template-columns: 1fr;
  }

  .insight-banner__inner {
    padding: 28px 0;
  }

  .insight-btn {
    width: 100%;
  }
}
