
@import "https://unpkg.com/@lumeland/ds@0.5.2/ds.css";
/* Lume's design system */
/* Custom components */
/* Variables */
:root {
  /* PRIMARY PALETTE - General Brand */
  --color-dark-blue: #241A49; /* Updated primary brand color */
  --color-light-blue: #00a3c9; /* PMS 116-13 - Secondary brand color */
  
  /* PRIMARY PALETTE - Industry Specific */
  --color-banking: #51c605;     /* PMS 154-8 - Banking vertical */
  --color-education: #ff3000;   /* PMS 45-8 - Education vertical */
  --color-hr: #8a00c4;          /* PMS 91-8 - HR vertical */
  --color-nonprofit: #ff00b1;   /* PMS Process Magenta - Nonprofit vertical */
  
  /* SECONDARY PALETTE */
  --color-teal-blue: #2f7391;   /* Secondary palette - teal blue */
  --color-navy-blue: #2f5291;   /* Secondary palette - navy blue */
  --color-purple-blue: #434a9f; /* Secondary palette - purple blue */
  --color-bright-blue: #146bb5; /* Secondary palette - bright blue */
  --color-light-blue: #6ec8e4;  /* Secondary palette - light blue */
  
  /* Legacy colors - keeping for compatibility */
  --color-eggshell: #f3f4ed;
  --color-hover: #bf4040;
  
  /* Typography */
  --header-height: 48px;
  --font-heading: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --max-width: 1400px;
  
  /* Typography weights for Weaver Education brand */
  --font-weight-light: 300;    /* Poppins Light for body copy */
  --font-weight-medium: 500;   /* Poppins Medium for sub-headlines */
  --font-weight-bold: 700;     /* Poppins Bold for headlines and titles */
  
  /* Pagefind search variables */
  --pagefind-ui-scale: 1;
  --pagefind-ui-primary: #241A49; /* Updated to primary brand color */
  --pagefind-ui-text: #393939;
  --pagefind-ui-background: #FFF5F2;
  --pagefind-ui-border: #eeeeee;
  --pagefind-ui-tag: #eeeeee;
  --pagefind-ui-border-width: 2px;
  --pagefind-ui-border-radius: 2px;
  --pagefind-ui-image-border-radius: 2px;
  --pagefind-ui-image-box-ratio: 3/2;
  --pagefind-ui-font: 'Poppins', system-ui, sans-serif;
  --pagefind-ui-drawer: #00a3c9; /* Updated to secondary brand color */
  --pagefind-ui-drawer-text: #00a3c9;
  --pagefind-ui-title-color: #00a3c9;
}
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-body);
  background: #f3f4f6;
  color: #393939;
  overflow-x: hidden;
  font-size: 18px;
  line-height: 1.8;
}
h1, h2, h3, .logo {
  font-family: var(--font-heading);
}
/* Header */
.main-header {
  background: rgb(51 65 85 / var(--tw-bg-opacity, 1));
  height: 94px;
  position: relative;
  z-index: 10;
  font-family: var(--font-heading);
}
.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  margin-left: 24px;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.left-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}
.logo {
  color: var(--color-light-blue);
  border-bottom: 2px solid var(--color-blue);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.certification-seals {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* margin-left: 2rem; */
  align-self: center;
}
.certification-seals img {
  opacity: 0.9;
  transition: opacity 0.2s;
}
.certification-seals img:hover {
  opacity: 1;
}
.brand-wordmark {
  height: 3rem;
  width: auto;
  padding-bottom: 5px;
}
.blog-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-light-blue);
  line-height: 1;
}
.footer-nav a:hover {
  color: var(--color-hover); /* red hover color */
}
.logo:hover img {
  filter: drop-shadow(0 0 8px var(--color-hover));
}
.logo:hover .blog-text {
  color: var(--color-hover); /* Red hover like other nav links */
}
.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}
.main-nav a:hover {
  color: var(--color-hover); /* green-600 */
  /* border-bottom: 2px solid var(--color-blue); blue-600 */
}
.theme-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.theme-toggle:hover {
  color: #bf4040;
}
/* Update the nav-links styles */
.nav-links {
  display: flex;
  gap: 2rem;  /* Increase gap between nav items */
  align-items: center;
}
.categories-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.categories-list a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}
.categories-list a:hover {
  color: var(--color-hover);
}
@media (max-width: 768px) {
  .main-header {
    height: 94px;
  }
  
  .certification-seals {
    /* margin-left: 1rem; */
    gap: 0.25rem;
  }
  
  .certification-seals img {
    width: 30px;
    height: 30px;
  }

  /* Rest of existing mobile styles */
  .main-nav a:not(.logo) {
    display: none;
  }
  
  .header-content {
    padding: 0 1rem 0;
  }

  .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
  }

  .hamburger::before {
    top: -8px;
  }

  .hamburger::after {
    bottom: -8px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--color-dark-blue);
    padding: 1rem 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-toggle-label {
    display: none;
  }

  .categories-list {
    display: none;
    margin: 0;
    padding-top: 0.5rem;
  }

  .categories-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .categories-list a {
    padding: 0.5rem 1rem;
    display: block;
    color: white;
  }
}
/* Footer Styles */
.site-footer {
  background-color: var(--color-eggshell);
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 20% 41% 27%;
  gap: 4rem;
}
.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  /* margin-bottom: 1rem; */
}
.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.footer-section p {
  color: #4b5563;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav a {
  color: var(--color-dark-blue);
  -webkit-text-decoration: var(--color-blue);
          text-decoration: var(--color-blue);
  transition: color 0.2s;
  width: fit-content;
}
.footer-bottom {
  /* max-width: var(--max-width); */
  padding: 1rem;
  background-color: var(--color-gray);
  text-align: center;
  color: #666;
}
/* Newsletter Footer Signup 
   ========================================================================== */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-dark-blue);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.newsletter-form h4 {
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.4;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-blue);
  border-radius: 0.5rem;
  background: white;
  color: var(--color-dark-blue);
  font-size: 1rem;
}
.newsletter-form button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--color-light-blue);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  text-transform: uppercase;
  font-size: 1rem;
}
.newsletter-form button:hover {
  background: color-mix(in srgb, var(--color-light-blue) 80%, black);
}
/* HubSpot Form Styling (same as newsletter-form)
   ========================================================================== */
.hbspt-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-dark-blue);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.hbspt-form h4 {
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.4;
}
.hbspt-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-blue);
  border-radius: 0.5rem;
  background: white;
  color: var(--color-dark-blue);
  font-size: 1rem;
}
.hbspt-form button,
.hbspt-form input[type="submit"] {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--color-light-blue);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  text-transform: uppercase;
  font-size: 1rem;
}
.hbspt-form button:hover,
.hbspt-form input[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-light-blue) 80%, black);
}
/* HubSpot specific element overrides */
.hbspt-form .hs-input {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--color-light-blue) !important;
  border-radius: 0.5rem !important;
  background: white !important;
  color: var(--color-dark-blue) !important;
  font-size: 1rem !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}
/* Target the submit button container and remove margins */
.hbspt-form .hs_submit.hs-submit {
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.hbspt-form .hs_submit .actions {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
/* Remove any field wrapper margins/padding */
.hbspt-form .hs-form-field {
  margin: 0 !important;
  padding: 0 !important;
}
.hbspt-form .input {
  margin: 0 !important;
  padding: 0 !important;
}
/* Target the actual submit button with all its classes */
.hbspt-form .hs-button.primary.large,
.hbspt-form input[type="submit"].hs-button.primary.large,
.hbspt-form .actions input[type="submit"].hs-button,
.hbspt-form input[type="submit"].hs-button {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  padding: 0.75rem 1.5rem !important;
  background: var(--color-light-blue) !important;
  color: white !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  text-transform: uppercase !important;
  font-size: 1rem !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}
.hbspt-form .hs-button.primary.large:hover,
.hbspt-form input[type="submit"].hs-button.primary.large:hover,
.hbspt-form .actions input[type="submit"].hs-button:hover {
  background: color-mix(in srgb, var(--color-light-blue) 80%, black) !important;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .footer-nav {
    align-items: center;
  }

  .footer-section {
    width: 100%;
  }
}
/* Hero Section */
.hero {
  padding: 4rem 2rem 0.2rem;
  position: relative;
  background: var(--color-background);
  overflow: hidden;
  border-bottom: 0.5px solid var(--color-gold);
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  max-width: 900px;
  /* Try filter drop-shadow for text background */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 2rem;
  margin-bottom: 2rem;
  padding-left: 3px;
  max-width: 500px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.cta-button {
  background: var(--color-orange);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(255,138,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-heading);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,138,0,0.3);
}
/* Hero Shape */
.hero-shape {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 800px;
  height: 800px;
  background: url("/blog/images/hero-background.png") no-repeat center center;
  /* background-size: 120%; */
  background-position: center -350px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.9;
  z-index: 1;
  box-shadow: 0 0 100px rgba(234, 198, 122, 0.4);
  animation: morphShape 10s linear infinite;
}
@keyframes morphShape {
  0% { border-radius: 55% 45% 50% 50% / 50% 45% 55% 50%; }
  50% { border-radius: 50% 55% 45% 50% / 55% 50% 45% 50%; }
  100% { border-radius: 55% 45% 50% 50% / 50% 45% 55% 50%; }
}
.hero-illustration {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 2;
  width: 500px;
  height: 400px;
}
/* Decorative Elements */
.decorative-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.star {
  position: absolute;
  color: white;
}
.star::before {
  content: '✦';
  /* position: absolute; */
  text-shadow: 
    /* Inside/around the sun */
    100px 50px var(--color-gold),
    200px 80px var(--color-gold),
    150px 150px var(--color-gold),
    300px 120px var(--color-gold),
    250px 200px var(--color-gold),
    /* Outside the sun, left side */
    -50px 100px var(--color-gold),
    -120px 200px var(--color-gold),
    -80px 300px var(--color-gold),
    /* Outside the sun, top */
    100px -50px var(--color-gold),
    200px -80px var(--color-gold),
    300px -60px var(--color-gold),
    /* Outside the sun, right side */
    450px 100px var(--color-gold),
    500px 200px var(--color-gold),
    550px 150px white;
  animation: twinkle 4s infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}
/* Common star styles */
.star-layer-1::before,
.star-layer-2::before,
.star-layer-3::before,
.star-layer-4::before {
  content: '✦';
  position: absolute;
  color: white;
  opacity: 0.8;
}
/* Individual star positions and animations */
.star-layer-1::before {
  font-size: 1.2rem;
  top: 15%;
  left: 10%;
  animation: twinkle 4s infinite;
}
.star-layer-2::before {
  font-size: 1.5rem;
  top: 25%;
  right: 15%;
  animation: twinkle 4s infinite 1s; /* 1s delay */
}
.star-layer-3::before {
  font-size: 1.3rem;
  top: 40%;
  left: 30%;
  animation: twinkle 4s infinite 2s; /* 2s delay */
}
.star-layer-4::before {
  font-size: 1.4rem;
  bottom: 30%;
  right: 25%;
  animation: twinkle 4s infinite 1.5s; /* 1.5s delay */
}
@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}
@media (max-width: 768px) {

  .hero-title {
    font-size: 2.5rem;
  }
}
/* Post Layout Structure
   ========================================================================== */
.post-layout.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 65% 33%;
    gap: 3rem;
  }
/* Post Content Area
     ========================================================================== */
.post-content {
    width: 100%;
  }
.post-content.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
  }
.post-content .post {
    margin: 0;
    padding: 0;
  }
/* Post Header
     ========================================================================== */
.post-header {
    margin-bottom: 3rem;
  }
.post-title {
    font-family: var(--font-heading);
    font-size: 2.375rem; /* 38px equivalent using rem for better responsiveness */
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #2B2B5E;
    line-height: 1.26; /* 48px equivalent line height */
  }
.post-title a {
    color: var(--color-text);
    text-decoration: none;
    display: block;
  }
.post-title a:hover {
    color: var(--color-hover);
  }
/* Post Metadata
     ========================================================================== */
.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem !important;
    color: #666;
    font-size: 1rem;
    margin-top: 1rem;
  }
.post-author-line,
  .post-reviewer-line {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
  }
.post-author-label,
  .post-reviewer-label {
    color: #666;
    font-weight: 400;
  }
.post-author-name,
  .post-reviewer-name {
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: color 0.2s;
  }
.post-author-name:hover,
  .post-reviewer-name:hover {
    color: var(--color-hover);
  }
.post-date {
    color: #666;
    font-weight: 400;
  }
/* Post Body Content
     ========================================================================== */
.post-body p {
    margin-bottom: 1.5rem;
  }
.post-body ul,
  .post-body ol {
    padding: 0;
    margin: 0 0 1rem 0;
    list-style-position: outside;
    line-height: 1.5rem;
  }
.post-body ul li,
  .post-body ol li {
    margin-left: 1rem;
    padding-left: 0;
    text-indent: 0;
    margin-bottom: 0.8rem;
  }
[data-theme="dark"] .post-excerpt {
    color: #aaa;
  }
/* Post Sidebar
     ========================================================================== */
.post-sidebar {
    padding: 4rem 2rem 0;
    width: 100%;
  }
.sidebar-section {
    margin-bottom: 2.5rem;
  }
.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
.sidebar-title .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-gold);
  }
/* Sidebar Section Titles
     ========================================================================== */
.post-sidebar .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid var(--color-gold);
    display: block;
  }
/* Social Links
     ========================================================================== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }
.social-link:hover {
    color: var(--color-hover);
  }
.social-link .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
  }
/* Disclosure Box
     ========================================================================== */
.disclosure-box {
    background-color: #E5EFE6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
  }
.disclosure-box p {
    margin: 0;
  }
/* Categories/Tags Section
     ========================================================================== */
.post-sidebar .categories-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
.post-sidebar .category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0;
    background-color: transparent;
  }
.post-sidebar .category-link:hover {
    color: var(--color-hover);
    background-color: transparent;
  }
/* Post Tags Section */
.post-tags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
.post-tags .badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }
.post-tags .badge:hover {
    color: var(--color-hover);
  }
/* Popular Posts Section - Override existing styles */
.post-sidebar .popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
.post-sidebar .popular-post-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0;
    background-color: transparent;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }
.post-sidebar .popular-post-item:hover {
    color: var(--color-hover);
    background-color: transparent;
  }
.post-sidebar .popular-post-item .post-title {
    color: #333 !important;
    font-weight: 500;
    font-size: inherit;
    line-height: inherit;
  }
.post-sidebar .popular-post-item:hover .post-title {
    color: var(--color-hover) !important;
  }
/* Breadcrumb Navigation
     ========================================================================== */
.post-content .breadcrumb {
    margin: 2rem 0 2rem;
  }
.breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 0.875rem;
  }
.breadcrumb li:not(:last-child):after {
    content: "/";
    margin-left: 0.5rem;
    color: #ccc;
  }
.breadcrumb a {
    color: inherit;
    text-decoration: none;
  }
.breadcrumb a:hover {
    color: var(--color-hover);
  }
/* Popular Posts Section
     ========================================================================== */
.popular-posts {
    margin: 2rem 0;
  }
.popular-posts h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid var(--color-gold);
  }
.popular-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
.popular-post-item:last-child {
    border-bottom: none;
  }
.popular-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: top;
    margin-right: 0.7rem;
    border-radius: 1px;
    flex-shrink: 0;
    aspect-ratio: 1;
  }
.popular-post-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
    min-width: 0;
  }
.popular-post-item .post-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #4b5563;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.2;
  }
.popular-post-item a:hover {
    color: var(--color-hover);
  }
/* Responsive Adjustments
     ========================================================================== */
@media (max-width: 768px) {
    .post-layout.container {
      display: flex !important;
      flex-direction: column;
      gap: 2rem;
      padding: 0 2rem !important;
      grid-template-columns: unset;
    }
  
    .post-content {
      order: 1;
      width: 100%;
    }
  
    .post-layout.container .post-sidebar {
      order: 2;
      width: 100%;
      padding: 0;
      margin: 0;
    }
  
    .post-meta {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      color: #666;
      font-size: 0.9rem;
      line-height: 1.4;
    }
  
    .post-meta > span:not(:last-child):after {
      content: none;
    }
  
    .post-date:after {
      content: " By ";
    }
  
    .post-author:after,
    .post-reading-time:before {
      content: none;
    }
  
    .post-reading-time {
      display: block;
    }
  }
@media (max-width: 768px) {
    /* Fix sidebar reordering styles */
    .post-layout.container {
      display: flex !important; /* Override grid */
      flex-direction: column;
      gap: 2rem;
      padding: 0 2rem !important; /* Override the 3rem padding */
      grid-template-columns: unset; /* Remove grid columns */
    }
  
    .post-content {
      order: 1;
      width: 100%;
    }
  
    .post-title {
      padding-top: 2rem;
    }
  }
/* Blog Posts */
.posts-list {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.postList {
  list-style: none;
  padding: 0;

  & article.post + article.post {
    margin-top: var(--row-gap-medium);
  }
  & li.post + li.post {
    margin-top: var(--row-gap-small);
  }

  & .post-details {
    font: var(--font-small);
  }

  & .post-title {
    font: var(--font-title);
    letter-spacing: var(--font-title-spacing);
    display: block;

    & a {
      text-decoration: none;
    }
  }
}
.post-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  min-height: 400px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Dark overlay gradient */
.post-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
}
.post-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.read-more {
  color: var(--color-coral);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
}
.read-more::after {
  content: '»';
  margin-left: 0.5rem;
  transition: transform 0.2s;
}
.post-card:hover .read-more::after {
  transform: translateX(4px);
}
/* For posts without images */
.post-card.no-image {
  background: white;
  box-shadow: var(--shadow-sm);
}
/* Dark mode adjustments */
[data-theme="dark"] .post-card.no-image {
  background: #2d2d2d;
}
.post-card.no-image .post-title {
  color: var(--color-text);
}
[data-theme="dark"] .post-card.no-image .post-title {
  color: white;
}
/* Blog Post Card */
.blog-post-card {
  background: white;
  /* border-radius: 8px;
  border-radius: 12px; */
  overflow: hidden;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
  border-bottom: 1px solid var(--color-gold);
  transition: transform 0.2s;
}
.blog-post-card:hover {
  transform: translateY(-4px);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card-title a:hover {
  color: var(--color-hover);
}
.card-excerpt {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
}
[data-theme="dark"] .post-card {
  background: #2d2d2d;
}
.page-header {
  margin-bottom: var(--row-gap-medium);

  & > p:first-child {
    margin-top: 0;
  }
}
.page-title {
  font: var(--font-display);
  letter-spacing: var(--font-display-spacing);
  margin: 0;
  text-wrap: balance;
  color: var(--color-base);
}
.page-navigation {
  margin-bottom: var(--row-gap-medium);

  & ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
  }

  & h2 {
    font: var(--font-body-bold);
    letter-spacing: var(--font-body-spacing);
    margin: .5em 0;
  }
}
.page-pagination {
  border-top: solid 1px var(--color-line);
  margin-top: var(--row-gap-medium);
}
/* @import "css/search.css"; */
/* Dark mode adjustments */
[data-theme="dark"] {
  --color-peach: #1a1a1a;
}
.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
}
.decorative-dots {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(#e5e7eb 2px, transparent 2px);
  background-size: 8px 8px;
  opacity: 0.5;
}
/* Recent Posts Section */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
}
.recent-posts {
  padding: 2rem;
  background: var(--color-background);
}
/* Blog Post Section */
.section-title, .section-title-hot {
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  max-width: var(--max-width);
  margin: 0 auto 2rem auto;
  display: block;
  text-align: left;
}
.section-title span, .section-title-hot span {
  border-bottom: 5px solid #2563eb;
  display: inline-block;
}
.section-title-hot span {
  border-bottom-color: var(--color-hover);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: 1rem;
}
.post-image {
  position: relative;
  padding-top: 65%;
  background: #f5f5f5;
  overflow: hidden;
}
.post-image img,
.default-illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.default-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8F7F7;
}
/* Fix for popular posts - override absolute positioning */
.popular-posts .default-illustration {
  position: static;
  width: 80px;
  height: 80px;
}
.default-illustration svg {
  width: 60%;
  height: 60%;
}
.news-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: black;
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.category-layout {
  background: white;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.category-header p:first-of-type {
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .social-links {
    margin: 0;
    padding: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .categories-nav {
    background: var(--color-dark-blue);
    position: relative;
    padding: 0.75rem 0;
    display: none;
  }

  .categories-nav .container {
    padding: 0;
  }

  .breadcrumb {
    display: none;
  }

  .nav-toggle-label {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 2;
  }

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    display: block;
    cursor: pointer;
    padding: 1rem;
  }
  
  .article-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .article-image {
    height: 250px;  /* Make image taller */
  }
  
  .article-content {
    padding: 0 1rem 0;
  }
  
  .article-meta {
    margin-top: 0;
  }
  
  .article-category {
    display: none;  /* Hide category */
  }
  
  .article-title a {
    font-size: 2rem;  /* Larger title */
    margin: 1rem 0;
    display: block;
  }
  
  .article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
  }

  .categories-nav .nav-toggle-label {
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .categories-nav .nav-toggle:checked ~ .container .categories-list {
    display: block;
  }

  .post-meta {
    display: inline;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .post-meta > span {
    display: inline;
  }

  .post-meta > span:not(:last-child):after {
    content: none;
  }

  /* Add comma after date */
  .post-date:after {
    content: ", ";
  }

  /* Add separator before reading time */
  .post-reading-time:before {
    content: " | ";
  }

  .post-header .post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .post-header .post-meta > span:not(:last-child):after {
    content: none;
  }

  /* First line: date and author */
  .post-date:after {
    content: " By ";
  }

  /* Remove any separators */
  .post-author:after,
  .post-reading-time:before {
    content: none;
  }

  /* Put reading time on its own line */
  .post-reading-time {
    display: block;
  }

  .latest-articles .article-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }

  .latest-articles .article-image {
    height: 300px;
    margin: 0 -2rem;
  }

  .latest-articles .article-meta {
    margin: 0;
  }

  .latest-articles .article-date {
    font-size: 0.9rem;
  }

  .latest-articles .article-title {
    margin: 0.5rem 0;
  }

  .latest-articles .article-title a {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .category-layout .article-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }

  .category-layout .article-image {
    height: 300px;
    margin: 0 -2rem;
  }

  /* .category-layout .article-content, .latest-articles .article-content  {
    padding: 0.75rem 0 2rem;
  } */

  .category-layout .article-meta {
    margin: 0;
  }

  .category-layout .article-category {
    display: none;
  }

  .category-layout .article-date {
    font-size: 0.9rem;
  }

  .category-layout .article-title {
    margin: 0.25rem 0;
  }

  .category-layout .article-title a {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .latest-articles .article-card,
  .category-layout .article-card {
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  /* Remove border from last item */
  .latest-articles .article-card:last-child,
  .category-layout .article-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
/* Latest Articles */
.latest-articles {
  padding: 4rem 2rem;
  background: var(--color-background);
}
.section-title-underline.orange {
  background: #FF6B35;
}
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.article-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}
.article-image {
  height: 200px;
  background: #f5f5f5;
  overflow: hidden;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-content {
  padding: 1.5rem 1rem 0;
}
.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  align-items: center;
  margin-top: -24px;
}
.article-category {
  background: black;
  color: white;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-date {
  color: #999;
  font-size: 1rem;
  font-weight: 400;
}
.article-title, .blog-post-title {
  margin: 0;
  line-height: 1.2;
}
.blog-post-title {
  margin-top: 0.5rem;
}
.article-title a, .blog-post-title a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
}
.article-title a:hover,
.blog-post-title a:hover {
  color: var(--color-hover);
}
.article-excerpt {
  color: #666;
  line-height: 1.6;
  margin: 0;
}
/* Breadcrumb */
.post-content .breadcrumb {
  margin: 2rem 0 2rem;
}
.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #666;
  font-size: 0.875rem;
}
.breadcrumb li:not(:last-child):after {
  content: "/";
  margin-left: 0.5rem;
  color: #ccc;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-hover);
}
.post-meta {
  display: flex;
  gap: 1.5rem;
  color: #666;
  font-size: 1rem;
  margin-top: 1rem;
}
.post-meta > span:not(:last-child):after {
  content: "|";
  margin-left: 1.5rem;
  color: #ddd;
}
/* Categories Navigation */
.categories-nav {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  background: var(--color-eggshell);
}
.categories-nav .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3.1rem;
}
/* Breadcrumb */
.breadcrumb {
  margin: 4rem 0 2rem;
}
.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #666;
  font-size: 0.875rem;
}
/* Disclosure Box */
.disclosure-box {
  background-color: #E5EFE6;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}
.disclosure-box p {
  margin: 0;
}
.popular-posts {
  margin: 2rem 0;
}
.popular-posts h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid var(--color-gold);
}
.popular-post-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.popular-post-item:last-child {
  border-bottom: none;
}
.popular-post-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  margin-right: 0.7rem;
  border-radius: 1px;
  flex-shrink: 0;
  aspect-ratio: 1;
}
.popular-post-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  min-width: 0;
}
.popular-post-item .post-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #4b5563;
  font-weight: 300;
  /* font-size: 1rem; */
  line-height: 1.2;
}
.popular-post-item a:hover {
  color: var(--color-hover);
}
.blog-post-card .post-title {
  margin-top: 0.5rem;
}
.category-item {
  margin-bottom: 0.5rem;
}
.category-link {
  display: block;
  padding: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.category-link:hover {
  background-color: var(--accent-color-light);
  color: var(--accent-color);
}
.post-count {
  font-size: 0.9em;
  color: var(--text-muted);
}

