:root{
      --esp-brand:#FCB017;
      --esp-ink:#111111;
      --esp-text:#222222;
      --esp-line:rgba(0,0,0,.08);
      --esp-dark:#000000;
      --esp-contact-radius:18px;
    }

    /* FIX: Force full height to prevent white space below footer */
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
    }

    body{
      font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:#fafafa;
      color:#111827;
    }
    
    /* Wrapper to handle sticky footer logic */
    .esp-page-wrap {
      display: flex;
      flex-direction: column;
      min-height: 100vh; 
      padding-top: 120px; 
      box-sizing: border-box;
    }
    
    img{max-width:100%; height:auto; display:block}


    /* ========================= BLOG CONTENT & SIDEBAR STYLES ========================= */
    .esp-container {
        flex: 1; 
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .esp-blog-layout {
      display: flex;
      flex-wrap: wrap; 
      gap: 30px;
      max-width: 1200px; 
      width: 100%;
      margin: 0 auto 60px;
      padding: 0 24px;
      align-items: flex-start; 
      box-sizing: border-box;
    }

    .wrap-blog {
      flex: 1 1 60%; 
      min-width: 300px;
      margin: 0;
      padding: 30px 24px;
      background: #fff;
      border: 1px solid rgba(0,0,0,.12);
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.03);
      box-sizing: border-box;
    }
    
    /* FIX: Font weights max 700. Turned red h1 to black */
    .wrap-blog h1 { color: #111827; line-height: 1.2; font-weight: 700; font-size: clamp(24px,4.5vw,34px); margin-bottom: 12px; margin-top: 0; }
    .wrap-blog h2 { color: #111827; line-height: 1.2; font-weight: 700; font-size: 21px; margin-top: 26px; margin-bottom: 10px; }
    .wrap-blog h3 { color: #111827; line-height: 1.2; font-weight: 700; font-size: 18px; margin-top: 22px; margin-bottom: 8px; }
    .wrap-blog p { margin: 0 0 16px; font-size: 16px; color: #374151; line-height: 1.6; }
    .wrap-blog ul { margin: 0 0 16px 18px; padding: 0; color: #374151; }
    .wrap-blog li { margin: 5px 0; font-size: 15px; }
    .meta { font-size: 13px; color: #666666; margin-bottom: 24px; border-bottom: 1px solid #eee; padding-bottom: 15px;}
    .meta strong { font-weight: 700; color: #111; }
    
    /* Image Placeholder styling */
    .hero-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 12px; margin-bottom: 18px; display: block; }

    /* New Author Bio Box */
    .author-bio-box {
      background: #f8fafc;
      border-left: 4px solid var(--esp-brand);
      padding: 20px;
      border-radius: 0 8px 8px 0;
      margin: 30px 0;
    }
    .author-bio-box strong { display: block; font-size: 16px; margin-bottom: 5px; color: #111;}
    .author-bio-box p { margin: 0; font-size: 15px; color: #475569; }

    .esp-sidebar {
      flex: 1 1 300px; 
      max-width: 380px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      position: sticky;
      top: 140px; 
    }

    .esp-widget {
      background: #fff;
      border: 1px solid rgba(0,0,0,.08);
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }
    
    .esp-widget h3 {
      margin-top: 0;
      font-size: 18px;
      border-bottom: 2px solid var(--esp-brand);
      padding-bottom: 10px;
      margin-bottom: 16px;
      display: inline-block;
      color: #111;
    }
    
    .esp-widget ul { list-style: none; padding: 0; margin: 0; }
    .esp-widget li { margin-bottom: 12px; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }
    .esp-widget li:last-child { border: none; margin: 0; padding: 0; }
    .esp-widget a { text-decoration: none; color: #555; font-size: 16px; transition: color 0.2s; display: flex; align-items: center; }

    /* === CUSTOM RELATED POSTS === */
    .related-posts-custom .widget-title-custom {
        display: block; 
        border-bottom: none !important; 
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 25px;
        font-weight: 700;
        font-size: 20px;
        color: #111;
    }
    .related-posts-custom .widget-title-custom::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: var(--esp-brand);
    }
    .related-posts-custom ul li a { justify-content: space-between; font-weight: 600; color: #4b5563; padding: 5px 0; }
    .related-posts-custom ul li a span { color: #9ca3af; font-size: 18px; transition: transform 0.3s ease, color 0.3s ease; }
    .related-posts-custom ul li a:hover { color: var(--esp-brand); }
    .related-posts-custom ul li a:hover span { color: var(--esp-brand); transform: translateX(5px); }

    /* === FIX: CTA SECTION REDESIGN TO MATCH IMAGE === */
    .widget-cta {
        background: #111 !important; /* Kept Dark Design for contrast */
        color: #fff !important;
        text-align: center;
        border: none;
        padding: 24px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }
    .widget-cta h3 { 
        color: #fff !important; 
        border-color: rgba(255,255,255,0.2) !important; 
        display: inline-block; 
        margin-bottom: 20px; 
    }
    .widget-cta p { color: #ccc; font-size: 14px; margin-bottom: 20px; line-height: 1.5; }

    /* Yellow Button Style */
    .widget-cta .esp-header__btn {
        background-color: #fcb017 !important; 
        color: #111 !important; 
        text-transform: uppercase;
        padding: 16px 20px !important;
        border-radius: 50px !important; 
        text-decoration: none;
        display: block; /* Full width */
        font-weight: 700;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .widget-cta .esp-header__btn:hover {
        background-color: #fff !important; 
        color: var(--esp-brand) !important; 
        transform: translateY(-2px);
    }

    .live-ops-counter {
        background: rgba(255, 255, 255, 0.1); 
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 8px;
        font-size: 14px;
        color: #fff; 
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
        font-weight: 600;
        margin-top: 20px;
    }
    
    /* Blinking green dot */
    .live-ops-counter span.dot {
        position: absolute;
        left: 15px;
        height: 10px;
        width: 10px;
        background-color: #10b981;
        border-radius: 50%;
        animation: blink 1.5s infinite;
    }

    @keyframes blink {
        0% { opacity: 1; }
        50% { opacity: 0.3; }
        100% { opacity: 1; }
    }
    /* === END CTA FIX === */

    /* Widget Contact */
    .contact-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        color: #555;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .contact-row svg {
        width: 18px;
        height: 18px;
        color: var(--esp-brand);
        flex-shrink: 0;
        transition: color 0.2s ease;
    }
    
    .contact-row:hover,
    .contact-row:hover a {
        color: var(--esp-brand);
        cursor: pointer;
    }

    /* === MOBILE EXCEPTION - CRO OPTIMIZATION === */
    .mobile-sticky-cta {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
        z-index: 9999;
        text-align: center;
        box-sizing: border-box;
        border-top: 2px solid var(--esp-brand);
    }

    .mobile-sticky-cta a {
        background-color: #fcb017;
        color: #111;
        text-transform: uppercase;
        padding: 16px 20px;
        border-radius: 50px;
        text-decoration: none;
        display: block;
        font-weight: 700;
        font-size: 16px;
        box-shadow: 0 4px 10px rgba(252, 176, 23, 0.3);
    }

    @media (max-width: 900px) { 
      .esp-blog-layout {
         flex-direction: column; 
         padding: 0 16px;
      }
      .wrap-blog { 
         width: 100%; 
         margin-bottom: 20px;
      } 
      /* Hide sidebar completely on mobile as requested */
      .esp-sidebar {
         display: none; 
      }
      .hero-img { max-height: 260px; } 
      
      /* Show mobile sticky CTA and add padding to body so content isn't hidden behind it */
      .mobile-sticky-cta {
          display: block;
      }
      .esp-page-wrap {
          padding-bottom: 80px;
      }
    }

    /* ========================= TRENDY SECTION STYLES ========================= */
    .trendy-section {
        background-color: #f1f1f1;
        padding: 60px 20px;
        border-top: 1px solid rgba(0,0,0,0.05);
        margin-top: auto; 
    }

    .trendy-container { max-width: 1100px; margin: 0 auto; }
    .trendy-header { text-align: center; margin-bottom: 40px; }
    .trendy-header h2 { font-size: 28px; font-weight: 700; color: #111; margin: 0; text-transform: uppercase; letter-spacing: -0.5px; }
    .trendy-header .divider { width: 50px; height: 5px; background: var(--esp-brand); margin: 15px auto 0; border-radius: 3px; }

    .trendy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
    .trendy-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        text-decoration: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(0,0,0,0.03);
    }
    .trendy-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(252, 176, 23, 0.15); border-color: rgba(252, 176, 23, 0.3); }

    .trendy-img-box { height: 200px; overflow: hidden; position: relative; }
    .trendy-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .trendy-card:hover .trendy-img-box img { transform: scale(1.1); }

    .trendy-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
    .trendy-cat { color: var(--esp-brand); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
    .trendy-title { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 12px; line-height: 1.4; }
    .trendy-excerpt { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    
    .trendy-read-more { margin-top: auto; font-size: 14px; font-weight: 700; color: #111; display: flex; align-items: center; gap: 5px; }
    .trendy-read-more span { color: var(--esp-brand); transition: transform 0.2s ease; }
    .trendy-card:hover .trendy-read-more span { transform: translateX(5px); }

/* === GLOBAL FOOTER ACCESSIBLE CONTRAST === */
.esp-global-footer,.esp-global-footer p,.esp-global-footer span,.esp-global-footer strong{color:#f3f4f6!important}
.esp-global-footer a{color:#fff!important;text-decoration-color:#fcb017!important}
.esp-global-footer a:hover,.esp-global-footer a:focus{color:#fcb017!important}


/* === GLOBAL HONEYPOT VISIBILITY FIX === */
input[name="company_site"] {
  position: fixed !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}