/* ========================= 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 immediate-security-when-electronic-access-systems-fail.html */
.st-862bdb8d { background-color: #f8fafc !important; border-color: var(--esp-brand) !important; }
:root { --esp-brand: #FCB017;
      --esp-brand-hover: #e59d12;
      --esp-ink: #111111;
      --esp-text-muted: #424a57;
      --esp-line: rgba(0,0,0,.08);
      --esp-card-radius: 18px;
      --sect-pad-top: 70px;
      --sect-pad-btm: 60px; }
body { margin: 0;
      font-family: 'Nunito', system-ui, -apple-system, sans-serif;
      background: #ffffff;
      color: var(--esp-ink);
      overflow-x: hidden; }
.esp-locations-hero { position: relative;
      isolation: isolate;
      /* Adjusted to match reference code desktop height */
      min-height: 30vh; 
      padding-block: clamp(80px, 10vw, 120px);
      display: grid;
      align-items: center;
      color: #ffffff;
      
     background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.75)),
url(https://eaglesecurityprotection.co.uk/wp-content/uploads/2026/01/warehouse-security-.webp) center 34% / cover no-repeat #222; }
.esp-locations-hero { min-height: 50vh;
        padding-block: 50px; }
.esp-locations-hero .esp-loc__in { position: relative;
      z-index: 1;
      width: min(1200px, calc(100% - 40px));
      margin-inline: auto; }
.esp-locations-hero .esp-loc__bar { display: inline-block;
      width: 88px; 
      height: 8px;
      background: var(--esp-brand);
      border-radius: 6px;
      margin-bottom: 18px; }
.esp-locations-hero .esp-loc__title { margin: 10px 0;
      font: 700 clamp(34px, 5.5vw, 40px)/1.05 Nunito, sans-serif;
      max-width: 26ch; }
.esp-locations-hero .esp-loc__lead { margin: 16px 0 36px;
      font: 600 19px/1.6 Nunito, sans-serif;
      max-width: 60ch;
      color: #f3f4f6; }
.esp-hero-btn { display: inline-flex;
  align-items: center;
  background: var(--esp-brand);
  color: #000;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(252, 176, 23, 0.3);
  border: 2px solid transparent; }
.esp-hero-btn:hover { background: #ffffff;
  color: var(--esp-brand);
  border: 2px solid var(--esp-brand);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.trust-banner { margin-top: 45px;
        display: flex;
        gap: 20px;
        flex-wrap: wrap; }
.trust-banner span { font-weight: 700; 
        font-size: 13px; 
        color: #fff; 
        border: 1px solid rgba(255,255,255,0.4); 
        padding: 6px 14px; 
        border-radius: 6px;
        background: rgba(255,255,255,0.05); }
.esp-intro { background: #f5f7fa;
      padding-top: var(--sect-pad-top);
      padding-bottom: 50px; }
.esp-intro__container { max-width: 950px;
      margin: 0 auto;
      padding: 0 24px;
      text-align: center; }
.esp-intro__title { font: 700 clamp(28px, 4.5vw, 40px)/1.2 Nunito, sans-serif;
      color: var(--esp-ink);
      margin: 0 0 24px; }
.esp-intro__text { font: 17px/1.8 Nunito, sans-serif;
      color: var(--esp-text-muted);
      margin-bottom: 24px; }
.esp-slices { background: #f5f7fa;
      padding-bottom: var(--sect-pad-btm); }
.esp-slice { background: #ffffff;
      border-radius: var(--esp-card-radius);
      box-shadow: 0 30px 60px rgba(0,0,0,0.08);
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr;
      margin-bottom: 60px; }
.esp-slice { grid-template-columns: 1fr 1fr; min-height: 480px; }
.esp-slice__media { position: relative;
      background: #eee; }
.esp-slice__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.esp-slice__media::after { content: '';
        position: absolute;
        inset: 0;
        border-bottom: 6px solid var(--esp-brand); }
.esp-slice__media::after { border-bottom: 0; border-right: 6px solid var(--esp-brand); }
.esp-slice--reverse .esp-slice__media::after { border-right: 0; border-left: 6px solid var(--esp-brand); }
.esp-slice__body { padding: 45px;
      display: flex;
      flex-direction: column;
      justify-content: center; }
.esp-slice__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--esp-brand); margin-bottom: 12px; }
.esp-slice__title { font: 700 28px/1.2 Nunito, sans-serif; margin: 0 0 16px; }
.esp-slice__text { font: 16px/1.75 Nunito, sans-serif; color: var(--esp-text-muted); margin: 0; }
.esp-feature-grid { display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
      margin-top: 32px; }
.esp-feature-item { display: flex;
      gap: 16px;
      align-items: flex-start; }
.esp-feature-item .icon { font-size: 26px;
      flex-shrink: 0;
      line-height: 1; }
.esp-feature-item h4 { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.esp-feature-item p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--esp-text-muted); }
.esp-compliance { background: #fff;
        padding-block: 60px;
        border-top: 1px solid var(--esp-line);
        border-bottom: 1px solid var(--esp-line); }
.esp-compliance__grid { max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px; }
.compliance-card { padding: 30px;
        border-radius: 12px;
        background: #fdfdfd;
        border: 1px solid #f0f0f0; }
.compliance-card h3 { color: var(--esp-brand); font-weight: 700; margin-top: 0; }
.esp-local { background: #f8fafc;
        padding-block: var(--sect-pad-top); }
.esp-local__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; gap: 40px; }
.esp-local__container { grid-template-columns: 1fr 1fr; align-items: center; }
.esp-local__list { display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        list-style: none;
        padding: 0;
        margin-top: 20px; }
.esp-local__list li { background: #ffffff;
        padding: 14px 18px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 14px;
        border-left: 4px solid var(--esp-brand);
        box-shadow: 0 2px 4px rgba(0,0,0,0.03); }
.esp-final-cta { background: #fff;
        color: #111;
        padding-block: var(--sect-pad-top);
        text-align: center; }
.esp-final-cta h2 { font: 700 clamp(32px, 5vw, 40px)/1.1 Nunito, sans-serif; margin-bottom: 24px; }
.esp-final-cta p { font-size: 19px; color: #111; max-width: 750px; margin: 0 auto 40px; }
.esp-btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.btn-primary, .btn-secondary { background: var(--esp-brand);
  color: #000;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(252, 176, 23, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent; }
.btn-primary:hover, .btn-secondary:hover { background: #ffffff;
  color: var(--esp-brand);
  border: 2px solid var(--esp-brand);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.btn-primary, .btn-secondary { width: 100%; box-sizing: border-box; }

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