/* LocalBridge Insight
   Generated pages reuse the homepage tokens and components from style.css. */

.insight-page {
  min-width: 0;
  overflow-x: clip;
  background: var(--bg-main);
}

.insight-page img,
.insight-page table {
  max-width: 100%;
}

.insight-page .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.insight-main {
  min-width: 0;
  padding-top: var(--header-height);
}

.insight-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 132px) 0 clamp(76px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 18%, rgba(165, 141, 96, .12), transparent 28%),
    linear-gradient(135deg, #fff 0%, var(--bg-main) 58%, #eef2f3 100%);
}

.insight-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.insight-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(39px, 4.2vw, 58px);
  line-height: 1.16;
}

.insight-lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.78;
}

.insight-bridge-mark {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 16 / 10;
  justify-self: end;
}

.insight-bridge-mark::before,
.insight-bridge-mark::after {
  content: "";
  position: absolute;
  bottom: 15%;
  width: 13px;
  height: 42%;
  border-radius: 3px 3px 0 0;
  background: var(--navy-deep);
}

.insight-bridge-mark::before { left: 13%; }
.insight-bridge-mark::after { right: 13%; }

.insight-bridge-mark span {
  position: absolute;
  inset: 14% 10% 18%;
  border: 10px solid var(--navy);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.insight-bridge-mark i {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 14%;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.insight-bridge-mark b {
  position: absolute;
  top: 31%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: -76px 28px 0 var(--gold), 76px 28px 0 var(--gold);
  transform: translateX(-50%);
}

.insight-category-hero {
  padding-block: clamp(78px, 8vw, 110px);
}

.insight-breadcrumb {
  padding: 22px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.insight-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-breadcrumb li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.insight-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #a7b1b7;
}

.insight-breadcrumb a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.insight-breadcrumb a:hover {
  text-decoration-color: currentColor;
}

.insight-section {
  padding: clamp(72px, 7vw, 108px) 0;
}

.insight-latest,
.insight-category-list {
  border-top: 1px solid var(--line);
  background: var(--bg-white);
}

.insight-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.insight-section-heading h2 {
  margin: 0;
}

.insight-section-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.insight-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-category-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.insight-category-card a {
  min-height: 222px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: inherit;
}

.insight-category-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.insight-category-card h3 {
  margin: 34px 0 0;
  font-size: 21px;
}

.insight-category-card p {
  flex: 1;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.insight-category-card strong {
  margin-top: 22px;
  color: var(--navy);
  font-size: 13.5px;
}

.insight-category-card:hover,
.insight-category-card:focus-within {
  border-color: #aebbc1;
  box-shadow: var(--shadow-soft);
}

.insight-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.insight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.insight-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.insight-card-media,
.insight-card-placeholder {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.insight-card-media {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.insight-card-placeholder {
  position: relative;
  overflow: hidden;
}

.insight-card-placeholder::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 24%;
  height: 42%;
  border: 5px solid rgba(16, 42, 59, .42);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.insight-card-placeholder::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 22%;
  height: 4px;
  background: rgba(165, 141, 96, .72);
}

.insight-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.insight-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 12px;
}

.insight-card-meta span {
  color: var(--gold);
  font-weight: 800;
}

.insight-card h3 {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.38;
}

.insight-card p {
  flex: 1;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.68;
}

.insight-card strong {
  margin-top: 24px;
  color: var(--navy);
  font-size: 13.5px;
}

.insight-card:hover,
.insight-card:focus-within {
  border-color: #aebbc1;
}

.insight-empty {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 54px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 145%, rgba(165, 141, 96, .16), transparent 48%),
    var(--bg-main);
  text-align: center;
}

.insight-empty::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -56%;
  height: 100%;
  border: 7px solid rgba(16, 42, 59, .08);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.insight-empty > div {
  position: relative;
  max-width: 560px;
}

.insight-empty h3 {
  margin: 0;
  font-size: 22px;
}

.insight-empty p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.72;
}

.insight-pagination {
  margin-top: 42px;
}

.insight-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-pagination a,
.insight-pagination span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-weight: 750;
}

.insight-pagination [aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.insight-service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin: clamp(64px, 7vw, 96px) auto 0;
  padding: clamp(34px, 4vw, 50px);
  border-radius: 8px;
  background: var(--navy-deep);
  color: #fff;
}

.insight-service-cta h2 {
  color: #fff;
  font-size: clamp(24px, 2.5vw, 31px);
}

.insight-service-cta p:not(.eyebrow) {
  max-width: 670px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.72;
}

.insight-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insight-service-cta .btn-primary {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
}

.insight-service-cta .btn-primary:hover {
  background: #fff;
  color: var(--navy-deep);
}

.insight-article-breadcrumb {
  padding-top: 0;
}

.insight-article-header {
  padding: clamp(48px, 6vw, 88px) 0 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.insight-article-header-inner {
  max-width: 940px;
}

.insight-article-header h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.17;
}

.insight-article-summary {
  max-width: 770px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.76;
}

.insight-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
}

.insight-article-hero {
  width: min(calc(100% - (var(--side) * 2)), var(--container));
  overflow: hidden;
  margin: clamp(42px, 5vw, 62px) auto 0;
  border-radius: 8px;
  background: var(--bg-soft);
}

.insight-article-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.insight-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(230px, 300px);
  gap: clamp(54px, 7vw, 104px);
  justify-content: space-between;
  align-items: start;
  padding-block: clamp(64px, 7vw, 102px);
}

.insight-article-body {
  min-width: 0;
  color: #2b3a42;
  font-size: 17px;
  line-height: 1.86;
}

.insight-article-body > :first-child { margin-top: 0; }
.insight-article-body > :last-child { margin-bottom: 0; }

.insight-article-body h2 {
  margin: 3.1em 0 .85em;
  padding-top: .2em;
  font-size: clamp(27px, 3vw, 34px);
}

.insight-article-body h3 {
  margin: 2.4em 0 .72em;
  font-size: 23px;
}

.insight-article-body h4 {
  margin: 2em 0 .65em;
  color: var(--navy-deep);
  font-size: 19px;
}

.insight-article-body p,
.insight-article-body ul,
.insight-article-body ol,
.insight-article-body blockquote,
.insight-article-body figure,
.insight-article-body .insight-table-wrap {
  margin: 1.25em 0;
}

.insight-article-body ul,
.insight-article-body ol {
  padding-left: 1.4em;
}

.insight-article-body li + li {
  margin-top: .45em;
}

.insight-article-body a {
  color: #145b82;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.insight-article-body blockquote {
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--gold);
  color: #4b5d67;
}

.insight-article-body code {
  padding: .16em .4em;
  border-radius: 4px;
  background: #e8edef;
  color: var(--navy-deep);
  font-size: .9em;
  overflow-wrap: anywhere;
}

.insight-article-body hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.insight-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  -webkit-overflow-scrolling: touch;
}

.insight-article-body table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}

.insight-article-body th,
.insight-article-body td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.insight-article-body th {
  background: var(--bg-soft);
  color: var(--navy-deep);
}

.insight-article-body tr:last-child td {
  border-bottom: 0;
}

.insight-article-image {
  overflow: hidden;
  border-radius: 7px;
}

.insight-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.insight-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 24px;
  border-top: 2px solid var(--navy);
  background: rgba(255, 255, 255, .74);
}

.insight-toc h2 {
  margin: 0;
  font-size: 16px;
}

.insight-toc ol {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.insight-toc li + li {
  margin-top: 11px;
}

.insight-toc a {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.insight-toc a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insight-faq,
.insight-related {
  padding: clamp(70px, 7vw, 104px) 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.insight-faq .section-inner,
.insight-related .section-inner {
  max-width: 1040px;
}

.insight-faq h2,
.insight-related h2 {
  margin-bottom: 34px;
}

.insight-faq details {
  border-top: 1px solid var(--line);
}

.insight-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.insight-faq summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  color: var(--navy-deep);
  font-weight: 760;
  cursor: pointer;
}

.insight-faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 24px;
}

.insight-faq details[open] summary::after {
  content: "−";
}

.insight-faq details p {
  max-width: 820px;
  margin: 0;
  padding: 0 2px 24px;
  color: var(--text-muted);
  line-height: 1.76;
}

.insight-related .insight-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.insight-article-nav-link {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--navy-deep);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.insight-article-nav-link:hover {
  border-color: rgba(185, 145, 62, .62);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 39, 62, .08);
}

.insight-article-nav-link span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .08em;
}

.insight-article-nav-link strong {
  line-height: 1.45;
}

.insight-article-nav-next {
  text-align: right;
}

@media (max-width: 1024px) {
  .insight-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr);
    gap: 48px;
  }

  .insight-category-grid,
  .insight-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-article-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 54px;
  }

  .insight-service-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .insight-hero {
    padding-block: 68px 64px;
  }

  .insight-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .insight-bridge-mark {
    width: min(74%, 330px);
    justify-self: start;
  }

  .insight-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .insight-article-layout {
    grid-template-columns: 1fr;
  }

  .insight-toc {
    position: static;
    grid-row: 1;
  }

  .insight-service-cta {
    margin-inline: 0;
  }

  .insight-related .insight-card-grid {
    grid-template-columns: 1fr;
  }

  .insight-article-nav {
    grid-template-columns: 1fr;
  }

  .insight-article-nav-next {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .insight-hero h1,
  .insight-article-header h1 {
    font-size: clamp(31px, 9.5vw, 39px);
  }

  .insight-lead,
  .insight-article-summary {
    font-size: 16px;
  }

  .insight-category-grid,
  .insight-card-grid {
    grid-template-columns: 1fr;
  }

  .insight-category-card a {
    min-height: 0;
    padding: 24px;
  }

  .insight-category-card h3 {
    margin-top: 24px;
  }

  .insight-article-body {
    font-size: 16px;
    line-height: 1.82;
  }

  .insight-article-meta {
    display: grid;
    gap: 5px;
  }

  .insight-cta-actions {
    display: grid;
  }

  .insight-cta-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-page *,
  .insight-page *::before,
  .insight-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
