/* 
 * LeanPress Main Stylesheet
 * A lean, grid-based WordPress theme
 */

/* Font Face Declarations */
@font-face {
    font-family: 'FormaDJR';
    src: url('../fonts/FormaDJRVariable-VF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FormaDJR';
    src: url('../fonts/FormaDJRVariable-Italic-VF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Variables */
:root {


    /* Colors */
    --c-bg: #FFFFFF;
    --c-fg: #1F1F1F;
    --c-accent: #7DED06;
    --c-accent-alt: #7DED06;
    --c-surface: #EBEBEB;
    --c-border: #E0E4E2;
    
    /* Layout */
    --site-width: 1140px;
    --site-padding: 1rem;
    --content-width: 70ch;
    --content-max-width: 768px;
    
    /* Button System */
    --button-transition: all 0.3s ease;
    --button-border-radius: 4px;
    --button-shadow: rgba(125, 237, 6, 0.3);
    --button-hover-shadow: rgba(0, 0, 0, 0.3);
    
    /* Button on White Background */
    --button-on-white-bg: #7DED06;
    --button-on-white-text: #000000;
    --button-on-white-hover-bg: #000000;
    --button-on-white-hover-text: #FFFFFF;
    
    /* Button on Black Background */
    --button-on-black-bg: #7DED06;
    --button-on-black-text: #000000;
    --button-on-black-hover-bg: #FFFFFF;
    --button-on-black-hover-text: #000000;
    
    /* Button on Green Background */
    --button-on-green-bg: #000000;
    --button-on-green-text: #FFFFFF;
    --button-on-green-hover-bg: #FFFFFF;
    --button-on-green-hover-text: #000000;
}

/* Base styles */

/* Enable smooth scrolling for the entire site */
html {
    scroll-behavior: smooth;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* Improve anchor link scrolling */
[id] {
    scroll-margin-top: 80px; /* Adjust based on header height */
}

/* Common text size for content elements */
.content-text-size {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
}

body {
    margin: 0;
    font-family: 'FormaDJR', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 390;
    font-size: clamp(1.1rem, 3vw, 1.22rem);
    line-height: 1.625;
    letter-spacing: 0.01rem;
    color: var(--c-fg);
    background: #fff;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Responsive typography with clamp() */
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
h3 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
h4 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 5vw, 1.25rem); }
h6 { font-size: clamp(1rem, 5vw, 1.1rem); }

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

a {
    color: var(--c-accent);
    text-decoration: none;
}

a:hover {
    color: var(--c-accent-alt);
}

/* Post content links - black text with black underline */
.entry-content a {
    color: var(--c-fg);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--c-fg);
}

.entry-content a:hover {
    color: var(--c-fg);
    text-decoration-thickness: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

/* WordPress Block Image Fixes */
.entry-content figure,
.wp-block-image {
    margin-left: 0;
    margin-right: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.entry-content .wp-block-image img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.entry-content .wp-block-image.size-full {
    max-width: 100%;
    width: 100%;
}

/* Layout */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 700px); /* Account for hero height */
    margin-top: -2rem; /* Remove gap between hero and content */
    position: relative;
    z-index: 2;
    background: var(--c-bg);
    border-radius: 8px 8px 0 0;
}

/* Layout containers */
.container, .container--narrow {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
}

.container {
    max-width: var(--site-width);
}

.container--narrow {
    max-width: var(--content-max-width);
}

.site-main {
    flex: 1;
    width: 100%;
}

.content-area {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .content-area {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}


/* Posts */
/* Page headers */
.page-header {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

.page-header h1 {
    margin-top: 0;
}


/* Hero reviews section */
.hero-reviews {
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
}

.hero-reviews img {
    max-width: 400px;
    height: auto;
}

@media (max-width: 768px) {  
    .hero-reviews {
        justify-content: center;
        width: 100%;
    }
    
    .hero-reviews img {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-reviews img {
        max-width: 280px;
    }
}

/* Post Header Styles - Moved to hero.css */

/* Post grid for single posts with sidebars - DEPRECATED */
.post-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* Single column layout for content-focused design */
.single-column-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Post header container */
.post-header-wrapper {
  padding: 2rem 0 0;
}

.post-header-content {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Center-align all content */
}

.post-header-content .hero-breadcrumbs {
  margin-bottom: 1rem;
}

/* Entry title styles */
.entry-title {
  margin-top: 0;
  line-height: 1.2;
}

.entry-title a {
  color: var(--c-fg);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--c-accent);
}

/* Post header specific title */
.post-header-content .entry-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--c-fg);
  font-weight: 700;
}

/* Entry content */
.entry-content {
  margin: 0.2rem 0 2rem;
}

/* Meta information */
.entry-meta {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.1rem;
  font-weight: 450;
  margin-bottom: 1.5rem;
}

.post-header-content .entry-meta {
  margin-bottom: 1rem;
}

/* Author info */
.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.post-header-content .author-info {
  flex-wrap: wrap;
  justify-content: center;
}

/* Meta separator */
.meta-separator {
  margin: 0 0.1rem;
}

.post-header-content .meta-separator {
  color: var(--c-fg);
  opacity: 0.6;
}


/* Quote Styling */
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: rgba(125, 237, 6, 0.08);
  border-left: 4px solid var(--c-accent);
  border-radius: 4px;
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.18rem);
  line-height: 1.7;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

/* Citation styling */
.entry-content blockquote cite,
.entry-content blockquote footer {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
}

.entry-content blockquote cite::before,
.entry-content blockquote footer::before {
  content: '— ';
}

/* Pull Quote variant */
.entry-content blockquote.pull-quote {
  background-color: var(--c-accent);
  border-left: none;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
  padding: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .entry-content blockquote,
  .entry-content blockquote.pull-quote {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
}

.post-thumbnail {
  margin-bottom: 1.5rem;
}

/* Buttons - Base styles for all buttons */

/* Base button styles */
/* Base Button */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--button-border-radius);
  cursor: pointer;
  transition: var(--button-transition);
  box-sizing: border-box;
  border: 2px solid transparent;
}

/* Button Sizes */
/* Default size for buttons without a size modifier */
.btn:not(.btn--sm):not(.btn--md):not(.btn--lg) {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.25rem 0.8rem;
  font-size: 0.9rem;
}

.btn--md {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn--lg {
  padding: 0.8em 1.8rem;
  font-size: 1.125rem;
}

/* Filter Buttons are defined in blog.css */

/* Button on White Background */
.btn--on-white {
  background-color: var(--button-on-white-bg);
  color: var(--button-on-white-text);
  border-color: var(--button-on-white-bg);
}

.btn--on-white:hover {
  background-color: var(--button-on-white-hover-bg);
  color: var(--button-on-white-hover-text);
  border-color: var(--button-on-white-hover-bg);
  box-shadow: 0 6px 20px var(--button-hover-shadow);
  transform: translateY(-2px);
}

/* Button on Black Background */
.btn--on-black {
  background-color: var(--button-on-black-bg);
  color: var(--button-on-black-text);
  border-color: var(--button-on-black-bg);
}

.btn--on-black:hover {
  background-color: var(--button-on-black-hover-bg);
  color: var(--button-on-black-hover-text);
  border-color: var(--button-on-black-hover-bg);
  box-shadow: 0 6px 20px var(--button-hover-shadow);
  transform: translateY(-2px);
}

/* Button on Green Background */
.btn--on-green {
  background-color: var(--button-on-green-bg);
  color: var(--button-on-green-text);
  border-color: var(--button-on-green-bg);
}

.btn--on-green:hover {
  background-color: var(--button-on-green-hover-bg);
  color: var(--button-on-green-hover-text);
  border-color: var(--button-on-green-hover-bg);
  box-shadow: 0 6px 20px var(--button-hover-shadow);
  transform: translateY(-2px);
}

/* Outline Button Variants */
.btn--outline {
  background-color: transparent;
  box-shadow: none;
}

/* Outline on White */
.home-btn--outline {
  border: 2px solid var(--button-on-white-hover-bg);
  color: var(--button-on-white-hover-bg);
  padding: 0.5rem 1.5rem !important;
  font-size: 1rem !important;
}

.home-btn--outline:hover {
  background-color: var(--button-on-white-bg);
  color: var(--button-on-white-text);
  border-color: var(--button-on-white-bg);
}

/* Outline on Black */
.btn--outline.btn--on-black {
  border: 2px solid var(--button-on-black-hover-bg);
  color: var(--button-on-black-hover-bg);
}

.btn--outline.btn--on-black:hover {
  background-color: var(--button-on-black-bg);
  color: var(--button-on-black-text);
  border-color: var(--button-on-black-bg);
}

/* Outline on Green */
.btn--outline.btn--on-green {
  border: 2px solid var(--button-on-green-bg);
  color: var(--button-on-green-bg);
}

.btn--outline.btn--on-green:hover {
  background-color: var(--button-on-green-bg);
  color: var(--button-on-green-text);
}

/* Responsive button styles for mobile devices */
@media (max-width: 768px) {
  /* Adjust button padding and font size for better mobile experience */
  .btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.95rem;
  }
  
  /* Adjust specific button sizes for mobile */
  .btn--sm {
      padding: 0.2rem 0.6rem!important;
      font-size: 0.85rem!important;
  }
  
  .btn--md {
      padding: 0.6rem 1.2rem!important;
      font-size: 0.95rem!important;
  }
  
  .btn--lg {
      padding: 0.8rem 1.5rem!important;
      font-size: 1rem!important;
  }
}

@media (max-width: 480px) {
/* Adjust button padding and font size for better mobile experience */
.btn, .btn--lg {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    /* Ensure buttons don't overflow on small screens */
    max-width: 100%;
    white-space: normal;
}

/* Home outline button */
.home-btn--outline {
    padding: 0.4rem 1rem !important;
    font-size: 0.9rem !important;
}
}

/* Responsive layouts - Mobile First Approach */

/* Base styles for all screen sizes */
.post-grid {
  display: grid;
  margin: 0 auto;
}

.post-grid article {
  width: 100%;
}

/* Medium-sized screens */
@media (min-width: 992px) {
  .post-grid {
    /* Legacy grid layout - deprecated */
    grid-template-columns: minmax(auto, var(--content-width));
    justify-content: center;
    max-width: var(--content-max-width);
    margin: 0 auto;
  }
  
  .single-column-layout {
    max-width: var(--content-max-width);
    padding: 0;
  }
  
  .post-grid article {
    grid-column: 2;
    width: 100%;
    max-width: var(--content-max-width);
  }
  
  .promo {
    display: none;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .post-grid {
    /* Legacy grid layout - deprecated */
    grid-template-columns: minmax(auto, var(--content-width));
    max-width: var(--content-max-width);
    justify-content: center;
    margin: 0 auto;
  }
  
  .single-column-layout {
    max-width: var(--content-max-width);
    padding: 0;
  }
  
  .promo {
    display: block;
  }
}

/* Tablet screens - Single column with same content width */
@media (min-width: 768px) and (max-width: 991px) {
  .post-grid {
    grid-template-columns: minmax(auto, var(--content-width));
    justify-content: center;
    margin: 0 auto;
    max-width: var(--content-width);
  }
  
  .single-column-layout {
    max-width: var(--content-width);
  }

  .post-grid article {
    grid-column: 1;
    max-width: var(--content-width);
  }
}

/* Mobile screens - Maintain readable width with consistent padding */
@media (max-width: 767px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-grid article {
    padding: 0;
  }

  /* Ensure content has a reasonable reading width on small screens */
  .entry-content {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Section Headers */
.section-header {
  text-align: left;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--c-fg);
}

.section-header--light {
  color: white;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.section-header-row .section-header {
  margin-bottom: 0;
}

.section-description-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-description-row .section-description {
  margin-top: 0;
  margin-bottom: 0;
  flex: 1;
  padding-right: 2rem;
}

/* Section Descriptions */
.section-description {
  margin-top: -1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  max-width: 800px;
  color: var(--c-fg-light);
}

/* Apply common text size to all content elements */
.section-description,
.service-card__list li a,
.service-card__list li span,
.service-card__link,
.small-changes-section p.small-changes-text,
.section-intro,
.home-section p,
.home-section__content p,
.step-title {
  font-size: clamp(1.15rem, 2vw, 1.25rem);
}

.section-description--light {
  color: rgba(255, 255, 255, 0.85);
}


/* Homepage Sections */

/* Service Cards for What We Offer section */
.services-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

/* Specific override for homepage service grid to ensure 2 columns */
.home-services-section .services-section__grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 992px) {
    .home-services-section .services-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .home-services-section .services-section__grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
    margin-bottom: 1.5rem;
    color: var(--c-accent);
}

.service-card__header {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    color: white;
}

.service-card__description {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

/* Style for bullet points in the second card */
.service-card:nth-child(2) .service-card__list {
    list-style: none;
    padding-left: 1.5rem;
}

.service-card:nth-child(2) .service-card__list li {
    position: relative;
}

.service-card:nth-child(2) .service-card__list li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--c-accent);
    border-radius: 50%;
}

.service-card__list li {
    margin-bottom: 1rem;
}

.service-card__list li a {
    display: block;
    font-weight: 600;
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    
    margin-bottom: 0.25rem;
}

.service-card__list li a:hover {
    text-decoration: underline;
}

.service-card__list li span {
    display: block;
    color: #ccc;
}

.service-card__link {
    font-weight: 600;
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
}

.service-card__link:hover {
    text-decoration: underline;
}

/* Home section variations */
.home-section--alt {
    background-color: var(--c-surface);
    padding: 5rem 0;
}

.home-section--dark {
    background-color: rgba(0, 0, 0, 1);
    color: #ffffff;
    padding: 5rem 0;
}

/* Text colors for dark sections */
.home-section--dark h2,
.home-section--dark h3,
.home-section--dark .service-card h3,
.home-section--dark .home-section__header h2 {
    color: #ffffff;
}

.home-section--dark .section-intro,
.home-section--dark .founder-content p,
.home-section--dark .service-card p {
    color: rgba(255, 255, 255, 0.85);
}

.home-section--dark .section-tag {
    background-color: rgba(125, 237, 6, 0.2);
    color: var(--c-accent);
}

/* Section-specific padding adjustments */
.home-overview-section {
    padding: 1.5rem 0 2.5rem;
}

.home-services-section {
    padding: 5rem 0 6rem;
}

.home-methodology-section {
    padding: 2rem 0 5rem;
}

/* Text alignment utility */
.text-center {
    text-align: center;
}

.text-center .hero-buttons {
    justify-content: center;
    margin-top: 2rem;
}

/* Small Changes Section specific styles */

.small-changes-section {
    padding: 4.5rem 0 5.5rem;
}

.small-changes-section p.small-changes-text {
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.small-changes-section h2 {
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

/* Section tag styling */
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--c-fg, #1F1F1F);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid layouts */
.home-section__grid {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem 0;
}

.home-section__grid--reverse {
    grid-template-columns: 4fr 3fr;
    direction: rtl;
}

.home-section__grid--reverse .home-section__content,
.home-section__grid--reverse .home-section__image {
    direction: ltr;
}

/* Section headers */
.home-section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro {
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Content styling */
.home-section h2,
.founder-content h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--c-fg);
    line-height: 1.2;
    font-weight: 700;
}

.home-section p {
    color: var(--c-fg);
    margin-bottom: 1.2rem;
}

.home-section__content h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin: 2rem 0 1rem;
    color: var(--c-fg);
    font-weight: 600;
}

.home-section__content p {
    margin-bottom: 1.5rem;
    color: #333;
}

/* Image styling */
.home-section__image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Image styling */
.home-section__image_2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0rem 1rem 1rem;
}

.home-section__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.home-section__image_2 img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Stats section - full width */
.stats-section {
    width: 100%;
    margin: 3rem 0 2rem;
}

.stats-footnote {
    margin-top: 2rem;
    text-align: center;
}

.stats-footnote p {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
    color: var(--c-text-light#666);
    font-style: italic;
}

.stats-footnote a {
  color: var(--c-text-light, #666);
  text-decoration: underline;
}

/* Shared styles for horizontal steps (stats and process) */
.stats-steps-horizontal,
.process-steps-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stats-steps-horizontal {
    margin: 0;
}

.process-steps-horizontal {
    margin: 3rem 0 1rem;
}

.stats-step-horizontal,
.process-step-horizontal {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
}

/* Shared number indicator styling */
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-accent);
    color: var(--c-fg);
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Size difference between stats and process steps */
.stats-step-horizontal .step-number,
.process-step-horizontal .step-number {
    width: 60px;
    height: 60px;
}

/* Shared content styling */
.step-content,
.stats-step-horizontal .step-content,
.process-step-horizontal .step-content {
    flex: 1;
}

.step-title {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--c-fg);
    font-weight: 600;
}

.step-content p {
  font-size: clamp(1rem, 3vw, 1.15rem);
    margin-bottom: 0;
}

/* Responsive adjustments for all horizontal steps */
@media (max-width: 768px) {
    .stats-steps-horizontal,
    .process-steps-horizontal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-section {
        margin: 3rem 0 1.5rem;
    }
    
    .home-section__grid,
    .home-section__grid--reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    
    /* For the first section (about-overview-section), image should be below text */
    .home-overview-section .home-section__image {
        order: 2;
    }
    
    .home-overview-section .home-section__content {
        order: 1;
    }
}

/* Lean Tip Box Styles */
.lean-tip {
    position: relative;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background-color: rgba(125, 237, 6, 0.08);
    border-radius: 4px;
    border-left: 4px solid var(--c-accent);
    font-size: clamp(1.1rem, 3vw, 1.18rem);
    line-height: 1.6;
}

/* Ensure paragraphs inside lean-tip have proper spacing */
.lean-tip p {
    margin: 0;
}

/* Inline Code Style for Paragraphs */
/* Inline Code Style for Paragraphs and List Items */
.entry-content p code,
.content-area p code,
.entry-content li code,
.content-area li code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    background-color: rgba(125, 237, 6, 0.1);
    border: 1px solid rgba(125, 237, 6, 0.2);
    border-radius: 3px;
    padding: 0.1em 0.4em;
    color: #333;
    font-weight: 500;
    display: inline-block;
    vertical-align: baseline;
    position: relative;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* WordPress Table Styles */
.wp-block-table {
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    display: block;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.wp-block-table th,
.wp-block-table td {
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.wp-block-table th {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.wp-block-table thead {
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

/* Stripe effect removed from even table rows */

.wp-block-table.is-style-stripes {
    border-spacing: 0;
    border-collapse: inherit;
    background-color: transparent;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.wp-block-table.has-fixed-layout {
    table-layout: fixed;
}

/* Responsive tables */
@media screen and (max-width: 600px) {
    .wp-block-table.has-fixed-layout {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}
