﻿/* Lovable-style theme CSS */

:root {
  --lc-bg: #ffffff;
  --lc-surface: #ffffff;
  --lc-surface-2: #f8fafc;
  --lc-border: rgba(15, 23, 42, 0.08);
  /* slight border */
  --lc-text: #0f172a;
  --lc-muted: #64748b;
  --lc-muted-2: #94a3b8;
  --lc-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --lc-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --lc-radius: 16px;
  --lc-radius-lg: 24px;

  /* Brand extracted colors */
  --lc-primary: rgb(29, 58, 93);
  --lc-primary-foreground: #ffffff;
  --lc-secondary: rgb(242, 155, 74);
  --lc-accent: var(--lc-secondary);
  /* Use secondary as accent */

  --lc-cta: var(--lc-secondary);

  --lc-font-sans: "Source Sans 3", system-ui, sans-serif;
  --lc-font-heading: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lc-body {
  margin: 0;
  background: var(--lc-bg);
  color: var(--lc-text);
  font-family: var(--lc-font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--lc-font-heading);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.lc-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* Header */
.lc-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: transparent;
  transition: all 0.3s ease;
}

/* Header scrolled state - full width with background */
.lc-header.scrolled {
  top: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08), 0 4px 20px -1px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 8px 12px;
  box-shadow: 0 4px 20px -1px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* Header inner when scrolled - remove floating styles */
.lc-header.scrolled .lc-header__inner {
  max-width: 1180px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 12px 24px;
}

/* Brand */
.lc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 10;
}

.lc-brand:hover .lc-brand__logo-box {
  transform: scale(1.05);
}

.lc-brand__logo-box {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lc-primary), rgba(29, 58, 93, 0.8));
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.lc-brand__icon {
  width: 20px;
  height: 20px;
  z-index: 1;
}

.lc-brand__pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lc-secondary);
  animation: lc-pulse 2s infinite;
}

@keyframes lc-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(242, 155, 74, 0.7);
  }

  70% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(242, 155, 74, 0);
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(242, 155, 74, 0);
  }
}

.lc-brand__text {
  font-family: var(--lc-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--lc-text);
  line-height: 1;
}

.lc-text-primary {
  color: var(--lc-primary);
}

/* Navigation */
.lc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 960px) {
  .lc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--lc-border);
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .lc-nav.lc-nav--open {
    display: flex;
  }
}

.lc-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  /* Reset previous styles */
  border: none;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 960px) {
  .lc-nav__menu {
    flex-direction: column;
    width: 100%;
  }

  .lc-nav__menu a {
    width: 100%;
    justify-content: center;
  }
}


.lc-nav__menu a {
  display: inline-flex;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lc-muted);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.lc-nav__menu a:hover {
  color: var(--lc-primary);
  background: rgba(29, 58, 93, 0.05);
  /* primary/5 */
}

/* Header Toggle */
.lc-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .lc-header__toggle {
    display: flex;
  }
}

.lc-header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lc-text);
  border-radius: 2px;
}


/* Buttons */
.lc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--lc-border);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-soft);
}

.lc-btn--ghost:hover {
  background: var(--lc-surface-2);
}

.lc-btn--primary {
  background: rgba(243, 161, 60, .18);
  border-color: rgba(243, 161, 60, .35);
}

.lc-btn--primary:hover {
  background: rgba(243, 161, 60, .24);
}

/* Hero */
.lc-hero {
  padding: 60px 0 40px;
}

.lc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #EAF2F8;
  /* Light blue/grey pill bg */
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--lc-primary);
  font-weight: 700;
  font-size: 14px;
}

.lc-pill__icon {
  opacity: .8;
}

.lc-hero__row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lc-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lc-text);
  font-weight: 800;
}

.lc-title__accent {
  background: linear-gradient(135deg, #1D3A5D 0%, #306F97 100%);
  /* Teal/Blue gradient */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--lc-primary);
}

/* Cards grid */
.lc-grid {
  display: grid;
  gap: 18px;
}

.lc-grid--cards {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .lc-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lc-header__inner {
    grid-template-columns: 1fr auto;
  }

  .lc-header__right {
    display: none;
  }

  .lc-nav {
    justify-content: flex-end;
  }

  .lc-grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-hero__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .lc-grid--cards {
    grid-template-columns: 1fr;
  }
}

.lc-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.02);
  /* Soft shadow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.lc-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.lc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lc-card:hover .lc-card__img {
  transform: scale(1.05);
}

.lc-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 110, 234, .14), rgba(243, 161, 60, .12));
}

.lc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  /* Slightly rounded rect */
  background: #1D3A5D;
  /* Dark blue specific */
  color: white;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.02em;
}

.lc-badge__dot {
  display: none;
}

.lc-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lc-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.lc-card__title a {
  color: var(--lc-text);
  transition: color 0.2s;
}

.lc-card__title a:hover {
  color: var(--lc-secondary);
}

.lc-card__excerpt {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-card__meta {
  margin-top: auto;
  /* Push to bottom */
  display: flex;
  align-items: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.lc-meta-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lc-meta-spacer {
  flex-grow: 1;
}

/* Archive Card Specifics */
.lc-card--archive .lc-card__body {
  padding: 24px;
}

.lc-card__footer {
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lc-card__author-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.lc-card__author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.lc-card__author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--lc-text);
}

.lc-card__read-time {
  font-size: 12px;
  color: var(--lc-muted);
}

.lc-card__read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--lc-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.lc-card__read-more:hover {
  gap: 8px;
  text-decoration: none;
}

/* Explore Cards Grid */
.lc-explore {
  margin-top: 60px;
}

.lc-explore__title {
  text-align: center;
  font-family: var(--lc-font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}

.lc-explore__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .lc-explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lc-explore__grid {
    grid-template-columns: 1fr;
  }
}

.lc-explore-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  /* border-border */
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lc-explore-card:hover {
  border-color: rgba(29, 58, 93, 0.3);
  /* primary/30 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* shadow-medium */
}

.lc-explore-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lc-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-text);
}

.lc-explore-card__icon svg {
  width: 24px;
  height: 24px;
}

.lc-explore-card__content {
  display: flex;
  flex-direction: column;
}

.lc-explore-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--lc-text);
  line-height: 1.3;
}

.lc-explore-card__count {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--lc-muted);
}

.lc-card__read {
  font-weight: 800;
  color: var(--lc-text);
}

.lc-card__read:hover {
  color: var(--lc-accent);
}

/* Category/Archive Hero */
.lc-archive-hero {
  background-color: var(--lc-surface-2);
  /* Light gray/blue bg */
  padding: 80px 0 60px;
  text-align: center;
  margin-top: -86px;
    padding-top: 150px;
}

.lc-archive-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.lc-archive-title {
  font-family: var(--lc-font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #131720;
  margin: 24px 0 16px;
  line-height: 1.1;
}

.lc-archive-desc {
  font-size: 18px;
  color: #676f7e;
  line-height: 1.6;
  max-width: 600px;
}

.lc-archive-count {
  margin-top: 24px;
  font-size: 14px;
  color: var(--lc-muted-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Archive Grid */
.lc-grid--archive {
  grid-template-columns: 1fr 1fr;
  /* 2 Columns */
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .lc-grid--archive {
    grid-template-columns: 1fr;
  }
}

.lc-archive-body {
  padding: 34px 0 64px;
}

.lc-grid--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .lc-grid--archive {
    grid-template-columns: 1fr;
  }
}

.lc-explore {
  margin-top: 54px;
  text-align: center;
}

.lc-explore__title {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--lc-muted);
  font-weight: 800;
}

.lc-explore__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lc-chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--lc-border);
  background: var(--lc-surface);
  color: var(--lc-muted);
  font-weight: 700;
}

.lc-chip:hover {
  background: var(--lc-surface-2);
  color: var(--lc-text);
}

/* Single */
.lc-trash-hero {
  position: relative;
  padding: 86px 0 46px;
  background: radial-gradient(900px 400px at 50% 10%, rgba(15, 23, 42, .18), transparent 62%),
    linear-gradient(180deg, rgba(246, 247, 251, .2), rgba(246, 247, 251, 1));

  /* Single Post Hero */
  .lc-trash-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
  }

  .lc-trash-hero[style] {
    background:
      radial-gradient(900px 400px at 50% 10%, rgba(15, 23, 42, .22), transparent 62%),
      linear-gradient(180deg, rgba(246, 247, 251, .2), rgba(246, 247, 251, 1)),
      var(--lc-hero-bg);
    background-size: cover;
    background-position: center;
  }

  .lc-trash-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 60%, #ffffff 100%);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    /* This is tricky to get exact "vignette" with just css */
    /* Simpler approach: inner shadow inset + gradient overlay */
  }

  .lc-container.lc-trash-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .lc-trash-hero__content {
    max-width: 800px;
  }

  .lc-pill--hero {
    background: var(--lc-primary);
    color: white;
    border: none;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-flex;
  }

  .lc-pill--hero .lc-pill__icon {
    color: white;
  }

  .lc-single-title {
    font-family: var(--lc-font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    /* Dark text because overlay fades to white */
  }

  /* Adjust title color based on overlay strategy - Reference has fade to white, so text is dark at bottom? 
   Correction: The reference has text over the image but the bottom fades to white. 
   Actually, looking closer at reference: The text is on the image. 
   Let's keep text dark if it sits on the white fade area, or light if on image.
   Reference: Text is Black. Background is faded to white. */
  .lc-trash-hero__overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.8) 60%, #ffffff 100%);
    backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    /* This is tricky to get exact "vignette" with just css */
    /* Simpler approach: inner shadow inset + gradient overlay */
  }

  .lc-trash-hero {
    align-items: flex-end;
    /* Push content to bottom */
    padding-bottom: 60px;
  }

  .lc-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--lc-text);
    /* Dark text */
    font-weight: 500;
    font-size: 15px;
  }

  .lc-meta__author {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lc-meta__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* Single Body Layout */
  .lc-single-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    /* Left Sidebar */
    gap: 60px;
    align-items: start;
  }

  @media (max-width: 1024px) {
    .lc-single-body {
      grid-template-columns: 1fr;
    }
  }

}

/* Sidebar TOC */
.lc-single-aside {
  position: sticky;
  top: 100px;
}

.lc-toc-container {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 16px;
  padding: 24px;
}

.lc-toc-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.lc-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.lc-toc-item {
  margin-bottom: 12px;
}

.lc-toc-link {
  color: var(--lc-muted);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}

.lc-toc-link:hover,
.lc-toc-link.is-active {
  color: var(--lc-primary);
  font-weight: 600;
}

/* Related Posts */
.lc-related {
  padding: 80px 0;
  background: var(--lc-surface-2);
  margin-top: 140px;
}

.lc-related__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* Tags in content */
.lc-single-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--lc-border);
  display: flex;
  gap: 12px;
}

.lc-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  border: 1px solid var(--lc-border);
  color: var(--lc-muted);
  font-weight: 800;
  font-size: 12px;
}

.lc-tag:hover {
  background: rgba(15, 23, 42, .09);
  color: var(--lc-text);
}

.lc-single-body {
  padding: 34px 0 80px;
}

@media (max-width: 980px) {
  .lc-single-body {
    grid-template-columns: 1fr;
  }
}

.lc-single-aside {
  position: sticky;
  top: 92px;
}

@media (max-width: 980px) {
  .lc-single-aside {
    position: static;
  }
}

.lc-toc {
  /* Removed styling to rely on lc-toc-container */
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.lc-toc__title {
  font-weight: 900;
  font-size: 14px;
  color: var(--lc-text);
  margin-bottom: 10px;
}

.lc-toc__list {
  margin: 0;
  padding-left: 18px;
  color: var(--lc-muted);
}

.lc-toc__item {
  margin: 8px 0;
  font-weight: 700;
  font-size: 13px;
}

.lc-toc__item--h3 {
  margin-left: 8px;
  font-weight: 650;
  opacity: .95;
}

.lc-toc a:hover {
  color: var(--lc-accent);
}

.lc-entry {
  border: 1px solid var(--lc-border);
  background: var(--lc-surface);
  border-radius: var(--lc-radius-lg);
  box-shadow: var(--lc-shadow);
  padding: 22px;
}

.lc-entry p {
  color: var(--lc-muted);
  line-height: 1.8;
  font-size: 15px;
}

.lc-entry h2,
.lc-entry h3 {
  color: var(--lc-text);
  letter-spacing: -0.02em;
  margin-top: 28px;
}

.lc-entry h2 {
  font-size: 22px;
}

.lc-entry h3 {
  font-size: 18px;
}

.lc-entry a {
  color: var(--lc-accent);
  font-weight: 700;
}

.lc-cta {
  margin-top: 18px;
  border-radius: var(--lc-radius-lg);
  border: 1px solid rgba(243, 161, 60, .3);
  background: rgba(243, 161, 60, .10);
  box-shadow: var(--lc-shadow-soft);
}

.lc-cta__inner {
  padding: 18px 18px 20px;
}

.lc-cta__title {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.lc-cta__text {
  margin: 0 0 14px;
  color: var(--lc-muted);
}

.lc-post-nav {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lc-post-nav__item a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--lc-radius);
  border: 1px solid var(--lc-border);
  background: var(--lc-surface);
  box-shadow: var(--lc-shadow-soft);
  color: var(--lc-muted);
  font-weight: 800;
}

.lc-post-nav__item--right {
  text-align: right;
}

.lc-post-nav__item a:hover {
  color: var(--lc-text);
  background: var(--lc-surface-2);
}

/* Pagination */
.lc-pagination {
  margin-top: 24px;
}

.lc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid var(--lc-border);
  background: var(--lc-surface);
  color: var(--lc-muted);
  font-weight: 800;
}

.lc-pagination .page-numbers.current,
.lc-pagination .page-numbers:hover {
  color: var(--lc-text);
  background: var(--lc-surface-2);
}


/* Footer */
.lc-footer {
  background: var(--lc-primary);
  color: var(--lc-primary-foreground);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.lc-footer__inner {
  position: relative;
  z-index: 10;
}

.lc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .lc-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer Brand */
.lc-brand--footer .lc-brand__text {
  color: white;
  font-size: 24px;
}

.lc-brand--footer .lc-brand__logo-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  box-shadow: none;
}

.lc-brand--footer .lc-brand__icon {
  color: var(--lc-secondary);
}

.lc-text-secondary {
  color: var(--lc-secondary);
}

/* Brand column styling moved to brand class */

.lc-footer__desc {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 15px;
}

/* Footer Links */
.lc-footer__heading {
  font-family: var(--lc-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px;
  color: white;
}

.lc-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-footer__menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lc-footer__menu a:hover {
  color: white;
  background: transparent;
}

/* Bottom Bar */
.lc-footer__bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
}

.lc-heart {
  color: var(--lc-secondary);
  display: inline-block;
  margin: 0 4px;
}

.lc-footer__bottom-right {
  text-align: right;
}

@media (max-width: 768px) {
  .lc-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .lc-footer__bottom-right {
    text-align: center;
  }
}


/* Floating */
.lc-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(243, 161, 60, .92);
  border: 1px solid rgba(243, 161, 60, .55);
  color: #1b1204;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

.lc-float:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.lc-float__dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.lc-float__arrow {
  opacity: .9;
}

/* WordPress content defaults */
.wp-block-image img {
  border-radius: 16px;
}

/* End of WordPress defaults */

/* 
 * FIXED SINGLE POST CSS 
 */
.lc-single-hero {
  position: relative;
  min-height: 500px;
  padding-top: 128px;
  padding-bottom: 128px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #f6f7f9;
  margin-bottom: 0px;
}

.lc-single-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.lc-single-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lc-overlay-left {
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 100%);
}

.lc-overlay-bottom {
  background: linear-gradient(to top, #ffffff 10%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.4) 70%, #ffffff 100%);
}

.lc-container.lc-single-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
}

.lc-single-hero__content {
  max-width: 650px;
}

.lc-pill--hero {
  background: var(--lc-primary);
  color: white;
  border: none;
  font-weight: 600;
  margin-bottom: 32px;
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
}

/* Hero Pill - Hide Icon for 100% match */
.lc-pill--hero .lc-pill__icon {
  display: none;
}

.lc-single-title {
  font-family: var(--lc-font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #131720;
  text-shadow: none;
}

.lc-single-excerpt {
  font-size: 20px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 32px;
  font-weight: 400;
}

.lc-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}

.lc-meta__author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 600;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Ensure avatar is circular and fits */
.lc-meta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.lc-meta__avatar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #78350f;
  /* Muted brown from reference */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.lc-meta__avatar-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.lc-meta__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-meta__icon {
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.lc-meta__icon svg {
  width: 16px;
  height: 16px;
}

/* Hero Tags */
.lc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  /* Slight buffer */
}

.lc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
}

.lc-hero-tag__icon {
  display: inline-flex;
  color: #9ca3af;
  /* Lighter grey for icon */
}

.lc-single-body {
  display: grid;
  grid-template-columns: 280px 768px;
  /* Strict widths */
  gap: 48px;
  justify-content: center;
  align-items: start;
  padding-top: 0;
  background: #ffffff;
}

@media (max-width: 1200px) {
  .lc-single-body {
    grid-template-columns: 1fr;
    max-width: 768px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.lc-single-aside {
  position: sticky;
  top: 100px;
  width: 100%;
}

/* 
 * SINGLE POST REFINEMENTS (100% Match) 
 */

/* 1. Sidebar Styles (Counters & Icons) */
/* 1. Sidebar Styles (Refined) */
.lc-toc-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

/* Custom Scrollbar for Chrome/Safari */
.lc-toc-container::-webkit-scrollbar {
  width: 5px;
}

.lc-toc-container::-webkit-scrollbar-track {
  background: transparent;
}

.lc-toc-container::-webkit-scrollbar-thumb {
  background-color: #e2e8f0;
  border-radius: 20px;
}

.lc-toc-container::-webkit-scrollbar-thumb:hover {
  background-color: #cbd5e1;
}

.lc-toc-title {
  position: sticky;
  top: -24px;
  margin-top: -24px;
  padding-top: 24px;
  padding-bottom: 16px;
  background: #ffffff;
  z-index: 10;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
}


/* Add List Icon to Title */
.lc-toc-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  /* Lucide List Icon (Blue) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231d3a5d%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cline x1=%278%27 y1=%276%27 x2=%2721%27 y2=%276%27/%3E%3Cline x1=%278%27 y1=%2712%27 x2=%2721%27 y2=%2712%27/%3E%3Cline x1=%278%27 y1=%2718%27 x2=%2721%27 y2=%2718%27/%3E%3Cline x1=%273%27 y1=%276%27 x2=%273.01%27 y2=%276%27/%3E%3Cline x1=%273%27 y1=%2712%27 x2=%273.01%27 y2=%2712%27/%3E%3Cline x1=%273%27 y1=%2718%27 x2=%273.01%27 y2=%2718%27/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.lc-toc__list {
  counter-reset: toc-counter;
  list-style: none;
  /* Remove default numbers */
  padding: 0;
  margin: 0;
}

.lc-toc-item {
  margin-bottom: 12px;
}

.lc-toc-link {
  font-family: var(--lc-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Number Circle Counter */
.lc-toc-link::before {
  counter-increment: toc-counter;
  content: counter(toc-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: #e8eaee;
  color: #676f7e;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

/* Active / Hover States */
/* Active / Hover States (Soft) */
.lc-toc-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.lc-toc-link.is-active {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.lc-toc-link.is-active::before,
.lc-toc-link:hover::before {
  background: #0f172a;
  color: #ffffff;
}

/* 2. Content Styles (Typography & Icons) */
.lc-entry h2 {
  font-family: var(--lc-font-heading);
  font-size: 30px;
  font-weight: 700;
  color: #131720;
  margin-top: 48px;
  margin-bottom: 24px;
}

.lc-entry h3 {
  font-family: var(--lc-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #131720;
  margin-top: 32px;
  margin-bottom: 16px;
}

.lc-entry p {
  font-size: 17px;
  /* Slightly larger reading size */
  line-height: 1.7;
  margin-bottom: 24px;
  color: #374151;
}

/* Custom Checkmark Lists */
.lc-entry ul {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.lc-entry ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #374151;
}

.lc-entry ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
}

.lc-entry ol {
  padding-left: 24px;
  margin: 32px 0;
}

.lc-entry ol li {
  margin-bottom: 12px;
  padding-left: 8px;
  line-height: 1.7;
  color: #374151;
}

/* Styled Blockquotes (Philippe Call Style) */
.lc-entry blockquote {
  position: relative;
  border-radius: 24px;
  padding: 30px 40px;
  margin: 48px 0;
  border: 1px solid #e2e8f0;
  background: #daf2ef;
    background: linear-gradient(144deg, #edeff3 23%, rgba(255, 255, 255, 1) 100%);
}

/* Quote Icon Circle */
.lc-entry blockquote::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 32px;
  width: 48px;
  height: 48px;
  /* Brown from reference */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: end;
  justify-content: center;
  font-family: serif;
  font-size: 32px;
  box-shadow: 0 4px 6px -1px rgba(148, 107, 78, 0.3);
  font-weight: bold;
  background: #946b4e;
    background: linear-gradient(180deg, #434b5a 23%, #ba834a 100%);
}

.lc-entry blockquote p {
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 24px !important;
  display: block;
}

.lc-entry blockquote cite {
  display: flex !important;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-style: normal;
}

/* Treat first letter of cite as avatar if we could, but better to use a before */
.lc-entry blockquote cite::before {
  content: "P";
  /* Default to P for Philippe or just a generic icon */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #946b4e;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* Allow text to wrap correctly */
.lc-entry blockquote cite {
  color: #0f172a;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

/* If the user puts a line break or secondary text */
.lc-entry blockquote cite span,
.lc-entry blockquote cite small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #64748b;
  margin-top: 2px;
}

/* Grid Table Styling */
.lc-entry table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.lc-entry th {
  background: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  padding: 16px 20px;
  text-align: left;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

/* Middle Post CTA Block (High Match) */
.lc-cta--middle {
  margin: 48px 0;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #2d3e58 0%, #0f172a 100%);
  color: #ffffff;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Subtle glow effect */
.lc-cta--middle::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(30, 58, 138, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.lc-cta--middle__inner {
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
}

.lc-cta--middle__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.lc-cta--middle__pill-icon {
  display: flex;
  color: #93c5fd;
  /* Soft blue for wand */
}

.lc-cta--middle__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

.lc-cta--middle__text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 32px;
}

.lc-btn--white {
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  border: none !important;
}

.lc-btn--white:hover {
  background: #f8fafc !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.lc-btn__arrow {
  margin-left: 8px;
  transition: transform 0.2s;
}

.lc-btn--white:hover .lc-btn__arrow {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .lc-cta--middle {
    padding: 40px 20px;
    margin: 32px 0;
  }

  .lc-cta--middle__title {
    font-size: 28px;
  }
}

.lc-entry td {
  padding: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 15px;
  color: #334155;
}

/* Post Navigation Buttons */
.lc-post-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f1f5f9;
  gap: 20px;
}

@media (max-width: 640px) {
  .lc-post-nav {
    flex-direction: column;
    align-items: stretch;
  }
}

.lc-post-nav__item {
  flex: 1;
}

.lc-post-nav__item--right {
  display: flex;
  justify-content: flex-end;
}

.lc-btn--secondary {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 12px 24px !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}

.lc-btn--secondary:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.lc-btn--dark {
  background: #1D3A5D !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px !important;
  transition: transform 0.2s, background 0.2s !important;
  border-radius: 999px !important;
}

.lc-btn--dark:hover {
  background: #0f172a !important;
  transform: translateY(-2px);
}

.lc-btn__arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.lc-btn--dark:hover .lc-btn__arrow {
  transform: translateX(4px);
}

.lc-btn__arrow--left {
  margin-right: 4px;
}

.lc-btn--secondary:hover .lc-btn__arrow--left {
  transform: translateX(-4px);
}
/* Footer */
.lc-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  margin-top:0px;
}

.lc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .lc-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.lc-footer__col--brand {
  max-width: 400px;
}

.lc-brand--footer {
  margin-bottom: 24px;
}

.lc-brand--footer .lc-brand__text {
  color: #ffffff;
}

.lc-footer__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.lc-footer__heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.lc-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-footer__menu a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  display: inline-block;
}

.lc-footer__menu a:hover {
  color: rgba(255, 255, 255, 1);
}

.lc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .lc-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.lc-heart {
  color: #ef4444;
}

/* Floating Button */
.lc-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1D3A5D, rgba(29, 58, 93, 0.9));
  color: white;
  padding: 14px 24px;
  border-radius: 15px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  z-index: 1000;
}

.lc-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2);
}

.lc-float__dot {
  font-size: 20px;
}

.lc-float__arrow {
  transition: transform 0.2s;
}

.lc-float:hover .lc-float__arrow {
  transform: translateX(4px);
}



/* Override floating button to match reference (orange) */
.lc-float {
  background: rgba(243, 161, 60, 0.92) !important;
  border: 1px solid rgba(243, 161, 60, 0.55) !important;
  color: #fff !important;
}

.lc-float:hover {
  background: rgba(243, 161, 60, 1) !important;
}



/* Footer Categories menu - orange dot bullets */
.lc-footer__col--categories .lc-footer__menu li {
  position: relative;
  padding-left: 20px;
}

.lc-footer__col--categories .lc-footer__menu li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--lc-secondary);
  font-size: 16px;
  line-height: 1.5;
}