:root {
  --tl-navy: #102a43;
  --tl-navy-2: #173f5f;
  --tl-gold: #c7a34b;
  --tl-gold-dark: #9b7625;
  --tl-cream: #fffdf7;
  --tl-tint: #f4f6f4;
  --tl-ink: #17212b;
  --tl-muted: #5f6b76;
  --tl-line: #dfe5e8;
  --tl-white: #fff;
  --tl-radius: 14px;
  --tl-shadow: 0 14px 34px rgba(16, 42, 67, .09);
  --tl-shell: 1180px;
}

html { scroll-behavior: smooth; }
body.tl-platform {
  background: var(--tl-cream);
  color: var(--tl-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

body.tl-platform h1,
body.tl-platform h2,
body.tl-platform h3,
body.tl-platform h4,
body.tl-platform .site-title {
  color: var(--tl-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.18;
}

body.tl-platform h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
body.tl-platform h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
body.tl-platform h3 { font-size: 1.3rem; }
body.tl-platform a { color: var(--tl-navy-2); text-decoration-thickness: .08em; text-underline-offset: .15em; }
body.tl-platform a:hover { color: var(--tl-gold-dark); }

.tl-shell { width: min(calc(100% - 40px), var(--tl-shell)); margin-inline: auto; }
.tl-home { overflow: hidden; }
.tl-home .site-content { padding: 0; }

/* GeneratePress header and navigation */
.tl-platform .site-header { background: var(--tl-cream); border-bottom: 1px solid rgba(16, 42, 67, .1); }
.tl-platform .inside-header { padding-block: 22px; }
.tl-platform .site-branding { overflow: visible; }
.tl-platform .site-title { font-size: 1.65rem; }
.tl-platform .site-title a { color: var(--tl-navy); text-decoration: none; }
.tl-platform .site-title a::before {
  align-items: center;
  background: var(--tl-navy);
  border-radius: 10px;
  color: var(--tl-gold);
  content: "TL";
  display: inline-flex;
  font: 700 .78rem/1 Georgia, serif;
  height: 38px;
  justify-content: center;
  letter-spacing: -.02em;
  margin-right: 10px;
  vertical-align: middle;
  width: 38px;
}
.tl-platform .site-description { color: var(--tl-muted); font-size: .82rem; margin-left: 49px; margin-top: -5px; }
.tl-platform .main-navigation { background: var(--tl-navy); }
.tl-platform .main-navigation .main-nav ul li a,
.tl-platform .menu-toggle { color: var(--tl-white); font-weight: 650; }
.tl-platform .main-navigation .main-nav ul li:hover > a,
.tl-platform .main-navigation .main-nav ul li:focus > a,
.tl-platform .main-navigation .main-nav ul li[class*="current-menu-"] > a { background: rgba(255, 255, 255, .08); color: #f2d887; }
.tl-platform .main-navigation .main-nav ul ul { background: var(--tl-white); box-shadow: var(--tl-shadow); }
.tl-platform .main-navigation .main-nav ul ul li a { color: var(--tl-navy); }

/* Hero */
.tl-hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(199, 163, 75, .2), transparent 28%),
    linear-gradient(135deg, #0c2237 0%, var(--tl-navy) 55%, #173f5f 100%);
  color: rgba(255, 255, 255, .88);
  padding: clamp(64px, 9vw, 116px) 0;
  position: relative;
}
.tl-hero::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); bottom: 0; content: ""; height: 1px; left: 0; position: absolute; right: 0; }
.tl-hero__grid { align-items: center; display: grid; gap: clamp(40px, 7vw, 92px); grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); }
.tl-platform .tl-hero h1 { color: var(--tl-white); margin: 0 0 22px; max-width: 850px; text-shadow: 0 2px 18px rgba(0,0,0,.16); }
.tl-hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 730px; }
.tl-eyebrow { color: var(--tl-gold-dark); font-size: .76rem; font-weight: 800; letter-spacing: .15em; margin: 0 0 12px; text-transform: uppercase; }
.tl-hero .tl-eyebrow, .tl-cta .tl-eyebrow { color: #e4c56f; }
.tl-search { align-items: center; background: var(--tl-white); border: 5px solid rgba(255,255,255,.16); border-radius: 13px; display: flex; margin-top: 32px; max-width: 720px; padding: 5px; }
.tl-search > svg { color: var(--tl-muted); flex: 0 0 auto; height: 21px; margin-left: 12px; width: 21px; }
.tl-search input { background: transparent; border: 0; box-shadow: none; color: var(--tl-ink); flex: 1; font-size: 1rem; min-width: 80px; padding: 14px 12px; }
.tl-search input:focus { outline: 0; }
.tl-search button { background: var(--tl-gold); border: 0; border-radius: 8px; color: #17212b; cursor: pointer; font-weight: 800; padding: 14px 24px; }
.tl-search button:hover { background: #dab95d; }
.tl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tl-button { align-items: center; border: 1px solid transparent; border-radius: 9px; display: inline-flex; font-size: .92rem; font-weight: 800; justify-content: center; padding: 13px 20px; text-decoration: none !important; }
.tl-button--gold { background: var(--tl-gold); color: #17212b !important; }
.tl-button--gold:hover { background: #dab95d; color: #17212b !important; transform: translateY(-1px); }
.tl-button--ghost { border-color: rgba(255,255,255,.45); color: var(--tl-white) !important; }
.tl-button--ghost:hover { background: rgba(255,255,255,.09); }
.tl-hero__panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; box-shadow: 0 22px 50px rgba(0,0,0,.15); padding: 36px; }
.tl-hero__panel h2 { color: var(--tl-white); font-size: 1.6rem; margin: 24px 0 18px; }
.tl-hero__panel ul { list-style: none; margin: 0; padding: 0; }
.tl-hero__panel li { border-top: 1px solid rgba(255,255,255,.12); padding: 13px 0 13px 27px; position: relative; }
.tl-hero__panel li::before { color: var(--tl-gold); content: "✓"; font-weight: 900; left: 0; position: absolute; }
.tl-brand-emblem { align-items: center; border: 2px solid var(--tl-gold); border-radius: 50%; color: var(--tl-gold); display: flex; font: 700 1.5rem/1 Georgia, serif; height: 64px; justify-content: center; position: relative; width: 64px; }
.tl-brand-emblem::before, .tl-brand-emblem::after { background: var(--tl-gold); content: ""; height: 2px; position: absolute; top: 50%; width: 20px; }
.tl-brand-emblem::before { right: 100%; } .tl-brand-emblem::after { left: 100%; }

/* Homepage sections */
.tl-home-section { padding-block: clamp(64px, 8vw, 100px); }
.tl-home-section--tint { background: var(--tl-tint); border-block: 1px solid var(--tl-line); }
.tl-section-heading { margin-bottom: 34px; max-width: 720px; }
.tl-section-heading h2 { margin: 0; }
.tl-section-heading--center { margin-inline: auto; text-align: center; }
.tl-section-heading--split { align-items: end; display: flex; justify-content: space-between; max-width: none; }
.tl-pathways { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.tl-pathway { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: 0 7px 22px rgba(16,42,67,.04); color: var(--tl-ink) !important; display: flex; flex-direction: column; min-height: 235px; padding: 32px; text-decoration: none !important; transition: .2s ease; }
.tl-pathway:hover { border-color: rgba(199,163,75,.75); box-shadow: var(--tl-shadow); transform: translateY(-4px); }
.tl-pathway strong { color: var(--tl-navy); font: 700 1.35rem/1.25 Georgia, serif; margin: 24px 0 10px; }
.tl-pathway > span:last-child { color: var(--tl-muted); }
.tl-pathway__icon { align-items: center; background: rgba(199,163,75,.14); border-radius: 12px; color: var(--tl-gold-dark); display: flex; height: 52px; justify-content: center; width: 52px; }
.tl-pathway__icon svg { height: 24px; width: 24px; }
.tl-topic-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.tl-topic { align-items: center; background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: 11px; display: grid; grid-template-columns: 1fr auto; padding: 20px 22px; text-decoration: none !important; }
.tl-topic span { color: var(--tl-navy); font-weight: 750; }
.tl-topic small { color: var(--tl-muted); grid-column: 1; }
.tl-topic svg { grid-column: 2; grid-row: 1 / 3; height: 19px; transition: transform .2s ease; width: 19px; }
.tl-topic:hover { border-color: var(--tl-gold); box-shadow: 0 7px 22px rgba(16,42,67,.05); }
.tl-topic:hover svg { transform: translateX(4px); }
.tl-card-grid { display: grid; gap: 24px; }
.tl-card-grid--three { grid-template-columns: repeat(3, 1fr); }
.tl-card { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: 0 8px 24px rgba(16,42,67,.045); display: flex; flex-direction: column; overflow: hidden; }
.tl-card__image { aspect-ratio: 16 / 9; background: #e8ecee; display: block; overflow: hidden; }
.tl-card__image img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.tl-card:hover .tl-card__image img { transform: scale(1.035); }
.tl-card__body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.tl-card__body h3 { margin: 6px 0 12px; }
.tl-card__body h3 a { color: var(--tl-navy); text-decoration: none; }
.tl-card__body p { color: var(--tl-muted); font-size: .94rem; }
.tl-card__meta { color: var(--tl-muted); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tl-text-link { align-items: center; color: var(--tl-navy) !important; display: inline-flex; font-size: .88rem; font-weight: 800; gap: 5px; margin-top: auto; text-decoration: none !important; }
.tl-text-link svg { height: 17px; width: 17px; }
.tl-card--compact .tl-card__body { padding: 21px; }
.tl-cta { background: var(--tl-navy); color: rgba(255,255,255,.82); }
.tl-cta__inner { align-items: center; display: flex; gap: 35px; justify-content: space-between; }
.tl-cta h2 { color: var(--tl-white); margin: 0 0 12px; }
.tl-cta p:last-child { margin: 0; max-width: 760px; }

/* Articles and archives */
.tl-platform:not(.home) .site-content { gap: 34px; padding-block: 52px 80px; }
.tl-platform .content-area .site-main > article,
.tl-platform .widget-area .widget { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: 0 7px 25px rgba(16,42,67,.045); }
.tl-platform.single .content-area .site-main > article { padding: clamp(28px, 5vw, 58px); }
.tl-platform .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 15px; }
.tl-platform .entry-title a { color: var(--tl-navy); text-decoration: none; }
.tl-platform .entry-content { color: #263440; }
.tl-platform .entry-content h2 { border-top: 1px solid var(--tl-line); margin-top: 2.2em; padding-top: 1.35em; }
.tl-platform .entry-content h3 { margin-top: 1.8em; }
.tl-platform .entry-content a { font-weight: 650; }
.tl-platform .entry-content blockquote { background: #f3f6f7; border-left: 4px solid var(--tl-gold); font-style: normal; margin: 2em 0; padding: 22px 26px; }
.tl-platform .entry-content table { border-collapse: collapse; font-size: .93rem; width: 100%; }
.tl-platform .entry-content th { background: var(--tl-navy); color: var(--tl-white); text-align: left; }
.tl-platform .entry-content td, .tl-platform .entry-content th { border: 1px solid var(--tl-line); padding: 12px 14px; }
.tl-platform .entry-content img { border-radius: 10px; }
.tl-article-meta { align-items: center; color: var(--tl-muted); display: flex; flex-wrap: wrap; font-size: .82rem; gap: 8px; margin-bottom: 24px; }
.tl-legal-notice { background: #f6f3e8; border: 1px solid #e6d8a9; border-radius: 9px; color: #5d4b1c; display: flex; flex-direction: column; font-size: .85rem; line-height: 1.5; margin: 0 0 30px; padding: 15px 18px; }
.tl-related { border-top: 1px solid var(--tl-line); margin-top: 56px; padding-top: 48px; }
.tl-related .tl-section-heading { margin-bottom: 24px; }
.tl-related h2 { border: 0 !important; margin: 0 !important; padding: 0 !important; }
.tl-platform.blog .site-main article,
.tl-platform.archive .site-main article,
.tl-platform.search .site-main article { margin-bottom: 25px; padding: 30px; }
.tl-platform .paging-navigation { background: transparent; padding: 20px 0; }
.tl-platform .nav-links .page-numbers { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: 7px; display: inline-block; margin: 3px; padding: 8px 13px; text-decoration: none; }
.tl-platform .nav-links .current { background: var(--tl-navy); color: var(--tl-white); }
.tl-platform .widget-title { color: var(--tl-navy); font-family: Georgia, serif; font-size: 1.25rem; }
.tl-platform .widget-area .widget { padding: 26px; }
.tl-platform .widget ul { margin: 0; }
.tl-platform .widget li { border-bottom: 1px solid var(--tl-line); padding-block: 9px; }

/* Purpose-built editorial archive */
.tl-archive { width: 100%; }
.tl-archive-header { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); margin-bottom: 28px; padding: clamp(26px, 5vw, 48px); }
.tl-archive-header h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); margin: 0; }
.tl-archive-description { color: var(--tl-muted); margin-top: 14px; max-width: 800px; }
.tl-archive-description > *:last-child { margin-bottom: 0; }
.tl-archive-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-archive-card { margin: 0 !important; padding: 0 !important; }
.tl-archive-card .tl-card__body { min-height: 310px; padding: 30px; }
.tl-archive-card h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin: 8px 0 14px; }
.tl-archive-card h2 a { color: var(--tl-navy); text-decoration: none; }
.tl-archive-card p { color: var(--tl-muted); }
.tl-archive + .paging-navigation,
.tl-archive .navigation.pagination { grid-column: 1 / -1; margin-top: 30px; }
.tl-empty-state { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 40px; }

/* Footer */
.tl-platform .site-footer { background: #0b1d2d; color: rgba(255,255,255,.72); }
.tl-platform .footer-widgets { background: #102a43; color: rgba(255,255,255,.75); }
.tl-platform .footer-widgets .widget-title { color: var(--tl-white); }
.tl-platform .footer-widgets a, .tl-platform .site-info a { color: #e7cc7d; }
.tl-platform .site-info { background: #0b1d2d; color: rgba(255,255,255,.66); }

/* Accessibility */
.tl-platform :focus-visible { outline: 3px solid #e0b84e; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 960px) {
  .tl-hero__grid { grid-template-columns: 1fr; }
  .tl-hero__panel { max-width: 650px; }
  .tl-pathways, .tl-card-grid--three { grid-template-columns: repeat(2, 1fr); }
  .tl-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-related .tl-card:last-child { display: none; }
  .tl-platform .site-content { display: block; }
  .tl-platform .widget-area { margin-top: 35px; width: auto; }
}

@media (max-width: 680px) {
  body.tl-platform { font-size: 16px; }
  .tl-shell { width: min(calc(100% - 28px), var(--tl-shell)); }
  .tl-platform .inside-header { padding: 16px 18px; }
  .tl-platform .site-title { font-size: 1.35rem; }
  .tl-platform .site-description { display: none; }
  .tl-hero { padding-block: 64px; }
  .tl-hero__panel { padding: 27px; }
  .tl-search { align-items: stretch; flex-wrap: wrap; }
  .tl-search input { width: calc(100% - 50px); }
  .tl-search button { flex: 1 0 100%; }
  .tl-hero__actions .tl-button { width: 100%; }
  .tl-pathways, .tl-topic-grid, .tl-card-grid--three { grid-template-columns: 1fr; }
  .tl-section-heading--split, .tl-cta__inner { align-items: flex-start; flex-direction: column; }
  .tl-related .tl-card:last-child { display: flex; }
  .tl-platform:not(.home) .site-content { padding-block: 24px 55px; }
  .tl-platform.single .content-area .site-main > article { padding: 26px 22px; }
  .tl-platform .entry-title { font-size: 2rem; line-height: 1.13; }
  .tl-platform .entry-content h2 { font-size: 1.65rem; }
  .tl-platform .entry-content h3 { font-size: 1.3rem; }
  .tl-article-meta { font-size: .77rem; }
  .tl-archive-grid { grid-template-columns: 1fr; }
  .tl-archive-header { margin-bottom: 18px; padding: 25px 22px; }
  .tl-archive-header h1 { font-size: 2rem; }
  .tl-archive-card .tl-card__body { min-height: 0; padding: 25px 22px; }
  .tl-archive-card h2 { font-size: 1.65rem; line-height: 1.15; }
  .tl-platform .entry-content table { display: block; overflow-x: auto; }
}
