/* ========================= GLOBAL RESET & VARS ========================= */
    :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:#ffffff;
      color:#111827;
    }
      
    /* Wrapper to handle sticky footer logic */
    .esp-page-wrap {
      display: flex;
      flex-direction: column;
      min-height: 100vh; 
      padding-top: 0; 
      box-sizing: border-box;
    }
      
    img{max-width:100%; height:auto; display:block}

.esp-container {
        flex: 1; 
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 40px; 
    }

    .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;
    }
      
    .wrap-blog h1 { 
        color: #111827; 
        line-height: 1.2; 
        font-weight: 700; 
        font-size: clamp(28px, 4.5vw, 40px); 
        margin-bottom: 20px; 
        margin-top: 0; 
        text-align: left;
    }
      
    .wrap-blog h2 { 
        color: #111827; 
        line-height: 1.2; 
        font-weight: 700; 
        font-size: clamp(24px, 4vw, 32px); 
        margin-top: 40px; 
        margin-bottom: 16px; 
        text-align: left;
    }
      
    .wrap-blog h3 { 
        color: #111827; 
        line-height: 1.2; 
        font-weight: 700; 
        font-size: 20px; 
        margin-top: 24px; 
        margin-bottom: 10px; 
        text-align: left;
    }

    .wrap-blog p { margin: 0 0 12px; font-size: 15px; color: #374151; line-height: 1.7; }
    .wrap-blog ul { margin: 0 0 12px 18px; padding: 0; color: #374151; }
    .wrap-blog li { margin: 8px 0; font-size: 15px; line-height: 1.6; }
    .meta { font-size: 13px; color: #666666; margin-bottom: 24px; text-align: left; display: block; }
    .meta strong { font-weight: 600; }
      
    .note { 
        background: #fff7e6; 
        padding: 20px; 
        border-radius: 12px; 
        margin: 20px 0; 
        font-size: 15px; 
        color: #444; 
        line-height: 1.6; 
        text-align: left; 
        border: none; 
    }
      
    .check { 
        background: #ffffff; 
        padding: 20px; 
        border-radius: 12px; 
        margin-bottom: 20px; 
        border: 1px solid rgba(0,0,0,0.05); 
    }
      
    .check b { display: block; font-size: 18px; color: #000; margin-bottom: 8px; text-align: left; }
    .check p { text-align: left; }
    .check ul { text-align: left; display: block; }

    .hero-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; display: block; }
      
    .internal-link-box {
        margin-top: 15px;
        font-weight: 700;
        font-size: 15px;
        text-align: left;
    }
    .internal-link-box a {
        color: var(--esp-brand);
        text-decoration: none;
        border-bottom: 1px dashed var(--esp-brand);
    }
    .internal-link-box a:hover {
        border-bottom-style: solid;
    }

    .sub-heading-lead {
        font-weight: 600;
        color: #475569;
        margin-bottom: 20px;
        font-size: 14.5px;
        font-style: italic;
        text-align: left;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Sidebar Styles */
    .esp-sidebar {
      flex: 1 1 300px; 
      max-width: 380px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      position: sticky;
      top: 40px; 
    }

    .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;
      padding-bottom: 10px;
      margin-bottom: 16px;
      display: block;
      color: #111;
      text-align: left;
      border-bottom: none; 
      font-weight: 700;
    }
      
    .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;
    }

    /* Related Posts */
    .related-posts-custom .widget-title-custom {
        display: block; 
        border-bottom: none !important;
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 15px;
        font-weight: 700;
        font-size: 20px;
        color: #111;
        text-align: left;
    }
    .related-posts-custom .widget-title-custom::after {
        display: none;
    }
    .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);
    }

    /* Hover effects for widget links */
    .esp-widget a:hover {
      color: var(--esp-brand);
    }
    .esp-widget a:hover span {
        transform: translateX(4px);
    }
    .esp-widget a span {
        font-size: 15px;
        transition: transform 0.2s;
    }

    /* CTA Widget */
    .widget-cta {
        background: #111;
        color: #fff;
        text-align: center;
        border: none;
    }
    .widget-cta h3 {
        color: #fff;
        border: none;
        text-align: center;
    }
    .widget-cta p {
        color: #ccc;
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .esp-widget :is(a.esp-header__btn, button.esp-header__btn, .esp-header__btn a){
      background: var(--esp-brand) !important;
      color: #111 !important;
      border: 2px solid var(--esp-brand) !important;
      border-radius: 999px !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
      padding: 18px 30px !important;
      font-weight: 700;
      text-decoration: none;
    }
    .esp-widget :is(a.esp-header__btn, button.esp-header__btn, .esp-header__btn a):hover{
      background: #fff !important;
      color: var(--esp-brand) !important;
      border-color: var(--esp-brand) !important;
      box-shadow: 0 6px 16px rgba(252,176,23,.35) !important;
    }

    /* Contact Widget */
    .contact-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        color: #555;
        font-size: 14px;
        text-decoration: none;
        justify-content: flex-start;
    }
    .contact-row svg {
        width: 18px;
        height: 18px;
        color: var(--esp-brand);
        flex-shrink: 0;
    }
    .contact-row:hover {
        color: var(--esp-brand);
    }

    /* Media Queries for Blog Section */
    @media (max-width: 900px) { 
      .esp-blog-layout {
         flex-direction: column; 
         padding: 0 16px;
      }
      .wrap-blog { 
         width: 100%; 
         margin-bottom: 20px;
      } 
      .esp-sidebar {
         width: 100%;
         max-width: 100%;
         position: static; 
      }
      .hero-img { max-height: 260px; } 
    }
    @media (max-width: 768px){
      .widget-cta .esp-header__btn{
        padding-top:18px;
        padding-bottom:18px;
        font-size:16px;
      }
    }
    @media (max-width: 640px) {
        .widget-cta .esp-header__btn {
            padding: 16px 26px;
            font-size: 16px;
        }
    }

.trendy-section {
        background-color: #ffffff;
        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 {
        display: none;
    }

    .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;
        text-align: left;
    }

    .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);
    }

/* Inline styles for essential-for-active-building-sites.html */
.st-862bdb8d { background-color: #f8fafc !important; border-color: var(--esp-brand) !important; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 16px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--esp-ink);
        width: 100%; }
p { margin: 0 0 24px;
        color: var(--esp-text-muted);
        font-size: 16.5px; }
.esp-btn { display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--esp-brand);
      color: var(--esp-ink);
      font-weight: 700;
      font-size: 16px;
      padding: 16px 36px;
      border-radius: 999px;
      text-decoration: none;
      transition: background 0.2s, transform 0.2s;
      border: 2px solid var(--esp-brand);
      cursor: pointer; }
.esp-btn:hover { background: #ffffff; color: var(--esp-brand); transform: translateY(-1px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.esp-btn-outline { background: var(--esp-brand);
      color: #121010; }
.esp-btn-outline:hover { background: #ffffff; color: var(--esp-brand); transform: translateY(-1px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.esp-founder-hero { --brand: #FCB017;
      --ink: #ffffff;
      --overlay: rgba(17, 17, 17, 0.85);
      position: relative;
      isolation: isolate;
      min-height: 40vh;
      display: flex;
      align-items: center;
      color: var(--ink);
      background: url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2026/02/Crem.-banner.webp") center / cover no-repeat #222;
      padding-block: clamp(80px, 10vw, 120px); }
.esp-founder-hero .esp-loc__overlay { position: absolute;
      inset: 0;
      background: var(--overlay);
      z-index: 0; }
.esp-founder-hero .esp-loc__in { position: relative;
      z-index: 1;
      width: min(1200px, calc(100% - 48px));
      margin-inline: auto;
      text-align: left; }
.esp-founder-hero .esp-loc__title { margin: 0 0 16px;
      font: 700 clamp(36px, 5vw, 60px)/1.1 Nunito, system-ui, sans-serif;
      color: #fff;
      max-width: 25ch; }
.esp-founder-hero .esp-loc__lead { margin: 0 0 24px;
      font: 600 18px/1.6 Nunito, system-ui, sans-serif;
      max-width: 65ch;
      color: #e5e7eb; }
.esp-hero-buttons { display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 32px; }
.esp-founder-hero { min-height: 50vh; padding-block: 60px; }
.esp-founder-hero .esp-loc__title { font-size: 32px; }
.esp-section-white { background: #ffffff;
      padding: clamp(60px, 8vw, 80px) 24px; }
.esp-section-gray { background: #fafafa;
      padding: clamp(60px, 8vw, 80px) 24px;
      border-top: 1px solid var(--esp-line);
      border-bottom: 1px solid var(--esp-line); }
.esp-container { max-width: 900px;
      margin: 0 auto; }
.esp-container-wide { max-width: 1200px;
      margin: 0 auto; }
.esp-quote-block { background: #fff8eb;
      border-left: 6px solid var(--esp-brand);
      padding: 32px 40px;
      margin: 40px 0;
      border-radius: 0 16px 16px 0;
      position: relative; }
.esp-quote-block::before { content: "“";
      position: absolute;
      top: 10px;
      left: 20px;
      font-size: 80px;
      line-height: 1;
      color: rgba(252, 176, 23, 0.3);
      font-family: Georgia, serif; }
.esp-quote-block p { font-size: 20px;
      font-weight: 700;
      font-style: italic;
      color: var(--esp-ink);
      line-height: 1.6;
      margin-bottom: 12px;
      position: relative;
      z-index: 1; }
.esp-quote-block span { font-size: 16px;
      font-weight: 700;
      color: var(--esp-text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em; }
.esp-leadership-wrapper { display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      align-items: stretch; }
.esp-leadership-wrapper { grid-template-columns: 1fr 450px;
        gap: 80px; }
.esp-leadership-content { position: relative;
      padding-left: 32px;
      border-left: 6px solid var(--esp-brand); }
.esp-leadership-content h2 { font-size: clamp(32px, 4vw, 48px);
      margin-bottom: 32px;
      position: relative;
      z-index: 1; }
.esp-expertise-list { list-style: none;
      padding: 0;
      margin: 0;
      position: relative;
      z-index: 1; }
.esp-expertise-list li { position: relative;
      margin-bottom: 16px;
      font-size: 16px;
      font-weight: 600;
      color: var(--esp-ink);
      line-height: 1.6;
      padding-left: 20px; }
.esp-expertise-list li:last-child { margin-bottom: 0; }
.esp-expertise-list li::before { content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 6px;
      height: 6px;
      background-color: var(--esp-ink);
      border-radius: 50%; }
.esp-founder-card { position: relative;
      border-radius: 12px;
      overflow: hidden;
      background: #e2e8f0;
      box-shadow: 0 16px 40px rgba(0,0,0,0.1);
      z-index: 1;
      height: 420px;
      width: 100%; }
.esp-founder-card img { position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: grayscale(100%); 
      transition: filter 0.4s ease, transform 0.4s ease; }
.esp-founder-card:hover img { filter: grayscale(0%);
      transform: scale(1.02); }
.esp-founder-overlay { position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
      padding: 60px 32px 32px;
      color: #ffffff; }
.esp-founder-overlay h3 { color: #ffffff;
      margin: 0 0 6px;
      font-size: 26px; }
.esp-founder-overlay p { color: #e5e7eb;
      margin: 0;
      font-size: 16px;
      font-weight: 600; }
.esp-skills-grid { display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-top: 40px; }
.esp-skills-grid.grid-2x2 { grid-template-columns: repeat(2, 1fr); }
.esp-skill-card { background: #ffffff;
      border: 1px solid var(--esp-line);
      border-radius: 16px;
      padding: 32px 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.esp-skill-card:hover { transform: translateY(-4px);
      border-color: var(--esp-brand);
      box-shadow: 0 12px 24px rgba(252, 176, 23, 0.1); }
.esp-skill-card h4 { font-size: 18px;
      margin-bottom: 12px;
      color: var(--esp-ink); }
.esp-skill-card p { font-size: 15px;
      margin: 0;
      line-height: 1.6; }
.esp-location__item { background: #fafafa;
      border: 2px solid var(--esp-line);
      border-radius: 999px;
      padding: 12px 24px 12px 20px;
      display: flex; align-items: center; gap: 10px;
      font-weight: 700; color: var(--esp-ink); transition: all 0.2s; font-size: 16px; }
.esp-calc-wrapper { background: #fff; border: 2px solid var(--esp-brand); border-radius: var(--esp-card-radius);
        padding: 40px; max-width: 600px; margin: 0 auto 50px;
        box-shadow: 0 10px 30px rgba(252, 176, 23, 0.1); text-align: left; }
.esp-calc-field { margin-bottom: 20px; }
.esp-calc-label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--esp-ink); }
.esp-calc-input, .esp-calc-select { width: 100%; padding: 14px 16px; border: 2px solid var(--esp-line);
        border-radius: 8px; font-family: inherit; font-size: 16px;
        transition: border-color 0.2s; box-sizing: border-box; }
.esp-calc-input:focus, .esp-calc-select:focus { outline: none; border-color: var(--esp-brand); }
.esp-calc-result-box { margin-top: 24px; padding: 20px; background: #fff8eb;
        border-radius: 8px; text-align: center; border: 1px dashed var(--esp-brand); }
.esp-calc-result-text { font-size: 28px; font-weight: 900; color: var(--esp-ink); margin: 0; }
.esp-cta-section { background-color: #fafafa; padding: 70px 24px; text-align: center; border-bottom: 1px solid var(--esp-line); }
.esp-form-card { max-width: 1000px;
      width: 100%;
      margin: 40px auto 0;
      background: #fff;
      padding: clamp(32px, 5vw, 64px);
      border-radius: 24px;
      border: 1px solid var(--esp-line);
      text-align: left;
      box-shadow: 0 16px 50px rgba(0,0,0,0.06); }
.esp-form-badges { margin-top: 50px;
      padding-top: 50px;
      border-top: 1px solid var(--esp-line);
      text-align: center; }
.esp-form-badges-grid { display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-top: 32px; }
.esp-badge-item { border: 1px solid var(--esp-brand);
      border-radius: 12px;
      padding: 24px 16px;
      width: 160px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: #fff;
      transition: transform 0.2s; }
.esp-badge-item:hover { transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(252, 176, 23, 0.15); }
.esp-internal-links { background: #ffffff;
      padding: 30px 24px;
      text-align: center;
      border-top: 1px solid var(--esp-line); }
.esp-internal-links p { font-size: 14.5px;
      color: var(--esp-text-muted);
      margin: 0;
      line-height: 2; }
.esp-internal-links a { color: var(--esp-brand);
      font-weight: 700;
      text-decoration: none;
      transition: color 0.2s; }
.esp-internal-links a:hover { color: var(--esp-ink); }
.esp.mg-faqs-birmingham.v2 { all: revert;
        --brand:#FCB017; --ink:#111; --line:#d9d9d9;
        font-family: Nunito, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
        color:#222; 
        background: #ffffff; /* Adjusted to white to flow better with CTA */
        padding: 60px 16px 50px;
        border: none;
        scroll-margin-top:100px; }

/* === 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;
}