/**
 * TNF LearnDirect-style breadcrumb — all pages
 */

/* —— Page hero (About, CMS, blogs, etc.) —— */
.tnf-ld-page-hero {
 position: relative;
 overflow: hidden;
 background: #0a1628;
 padding: clamp(3.25rem, 6.5vw, 5.25rem) 0;
}

.tnf-ld-page-hero__bg {
 position: absolute;
 inset: 0;
 background-image: var(--tnf-hero-bg);
 background-size: cover;
 background-position: center;
 transform: scale(1.02);
}

.tnf-ld-page-hero__overlay {
 position: absolute;
 inset: 0;
 background: linear-gradient(
  118deg,
  rgba(0, 26, 77, 0.9) 0%,
  rgba(18, 12, 58, 0.82) 48%,
  rgba(0, 20, 60, 0.88) 100%
 );
}

.tnf-ld-page-hero__mesh {
 position: absolute;
 right: -4%;
 top: 50%;
 transform: translateY(-50%);
 width: min(44vw, 540px);
 height: 115%;
 opacity: 0.42;
 pointer-events: none;
 background:
  radial-gradient(circle at 18% 42%, rgba(255, 140, 60, 0.22) 0%, transparent 42%),
  linear-gradient(125deg, transparent 38%, rgba(255, 255, 255, 0.08) 39%, rgba(255, 255, 255, 0.08) 40%, transparent 41%),
  linear-gradient(55deg, transparent 48%, rgba(255, 255, 255, 0.06) 49%, rgba(255, 255, 255, 0.06) 50%, transparent 51%),
  linear-gradient(75deg, transparent 58%, rgba(255, 255, 255, 0.05) 59%, rgba(255, 255, 255, 0.05) 60%, transparent 61%);
 mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.tnf-ld-page-hero__bg,
.tnf-ld-page-hero__overlay,
.tnf-ld-page-hero__mesh {
 pointer-events: none;
}

.tnf-ld-page-hero__inner {
 position: relative;
 z-index: 2;
 text-align: center;
 max-width: 52rem;
 margin: 0 auto;
}

.tnf-ld-page-hero__title {
 margin: 0 0 0.85rem;
 font-family: var(--fontFamily1, "Plus Jakarta Sans", sans-serif);
 font-size: clamp(2rem, 4.2vw, 2.85rem);
 font-weight: 800;
 line-height: 1.15;
 color: #fff;
 text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.tnf-ld-page-hero__crumb {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 gap: 0.35rem;
 margin: 0;
 font-size: 0.9375rem;
 line-height: 1.5;
 color: rgba(255, 255, 255, 0.88);
}

.tnf-ld-page-hero__crumb a {
 color: #fff;
 font-weight: 600;
 text-decoration: none;
}

.tnf-ld-page-hero__crumb a:hover {
 text-decoration: underline;
}

.tnf-ld-page-hero__sep {
 color: rgba(255, 255, 255, 0.65);
 font-weight: 400;
}

.tnf-ld-page-hero__current {
 color: rgba(255, 255, 255, 0.92);
 font-weight: 500;
}

.tnf-ld-page-hero__lead {
 margin: 0 0 0.85rem;
 font-size: 1.0625rem;
 line-height: 1.65;
 color: rgba(255, 255, 255, 0.88);
 max-width: 40rem;
 margin-left: auto;
 margin-right: auto;
}

/* —— Content pages: consistent vertical rhythm —— */
.tnf-ld-content-page {
 padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.tnf-ld-breadcrumb-band {
 background: #f2f2f2;
 border-bottom: 1px solid #e0e0e0;
 padding: 0.875rem 0;
}

.tnf-ld-breadcrumbs ol {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 row-gap: 0.35rem;
 margin: 0;
 padding: 0;
 list-style: none;
 font-size: 0.875rem;
 line-height: 1.5;
 min-height: 1.5rem;
}

.tnf-ld-breadcrumbs li {
 display: inline-flex;
 align-items: center;
 max-width: 100%;
}

.tnf-ld-breadcrumbs li + li::before {
 content: "»";
 margin: 0 0.65rem;
 color: #9aa3ad;
 font-weight: 400;
 line-height: 1;
 flex-shrink: 0;
}

.tnf-ld-breadcrumbs__link {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 color: #2b2f36;
 font-weight: 700;
 text-decoration: none;
}

.tnf-ld-breadcrumbs__link:hover {
 color: #001a4d;
 text-decoration: underline;
}

.tnf-ld-breadcrumbs__link i {
 font-size: 0.8125rem;
 color: #4a5560;
 line-height: 1;
}

.tnf-ld-breadcrumbs__current {
 color: #7a8490;
 font-style: italic;
 font-weight: 400;
 line-height: 1.45;
 word-break: break-word;
}

 .tnf-ld-cms-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #1f2b40;
 }

 .tnf-ld-cms-content h2,
 .tnf-ld-cms-content h3,
 .tnf-ld-cms-content h4 {
  font-family: var(--fontFamily1, "Plus Jakarta Sans", sans-serif);
  color: #001a4d;
  font-weight: 700;
  margin: 1.75rem 0 0.85rem;
 }

 .tnf-ld-cms-content p {
  margin-bottom: 1rem;
 }

 .tnf-ld-cms-content ul,
 .tnf-ld-cms-content ol {
  margin-bottom: 1rem;
  padding-left: 1.35rem;
 }

@media (max-width: 767.98px) {
 .tnf-ld-breadcrumb-band {
  padding: 0.9rem 0 1.05rem;
 }

 .tnf-ld-breadcrumbs ol {
  font-size: 0.8125rem;
  line-height: 1.5;
  row-gap: 0.45rem;
  align-items: flex-start;
 }

 .tnf-ld-breadcrumbs li {
  align-items: flex-start;
 }

 .tnf-ld-breadcrumbs li + li::before {
  margin: 0.1rem 0.45rem 0;
 }

 .tnf-ld-breadcrumbs__current {
  display: inline-block;
  max-width: min(100%, 18rem);
  padding-bottom: 0.1rem;
  line-height: 1.45;
 }
}

@media (max-width: 575px) {
 .tnf-ld-breadcrumb-band {
  padding: 0.85rem 0 1.1rem;
 }

 .tnf-ld-breadcrumbs ol {
  font-size: 0.8rem;
 }

 .tnf-ld-breadcrumbs__current {
  max-width: 100%;
 }
}
