:root{
      --esp-brand:#FCB017;
      --esp-ink:#111111;
      --esp-text:#222222;
      --esp-line:rgba(0,0,0,.08);
      --esp-dark:#000000;
      --esp-contact-radius:18px;
      --container: 1200px;
    }

    body{
      margin:0;
      font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:#ffffff;
      color:#111827;
    }

    /* ========================= HERO SECTION ========================= */
    .esp-locations-hero {
      --brand: #FCB017;
      --ink: #ffffff;
      --overlay: rgba(0,0,0,.64);
      --minh: 30vh;
      position: relative;
      isolation: isolate;
      min-height: var(--minh);
      display: grid;
      place-items: center;
      color: var(--ink);
      background: url("https://eaglesecurityprotection.co.uk/wp-content/uploads/2025/12/Terrorism-banner.webp") center / cover no-repeat #222;
      padding-block: clamp(80px, 10vw, 120px);
    }

    .esp-locations-hero .esp-loc__overlay {
      position: absolute;
      inset: 0;
      background: var(--overlay);
      z-index: 0;
    }

    .esp-locations-hero .esp-loc__in {
      position: relative;
      z-index: 1;
      width: min(1200px, calc(100% - 48px));
      margin-inline: auto;
      text-align: left;
    }

    .esp-locations-hero .esp-loc__bar {
      display: inline-block;
      width: 88px; height: 8px;
      background: var(--brand);
      border-radius: 6px;
      margin-bottom: 14px;
    }

    .esp-locations-hero .esp-loc__title {
      margin: 0 0 8px;
      font: 700 clamp(32px, 6vw, 64px)/1.05 Nunito, system-ui, sans-serif;
      color: #fff;
    }

    .esp-locations-hero .esp-loc__subtitle {
      margin: 10px 0 0;
      font: 600 clamp(16px, 2.7vw, 20px)/1.5 Nunito, system-ui, sans-serif;
      color: #e5e7eb;
      max-width: 46rem;
    }

    @media (max-width: 768px) {
      .esp-locations-hero {
        --minh: 50vh;
        padding-block: 50px;
      }
    }

    /* =========================================
       BLOG LIST & SIDEBAR LAYOUT
       ========================================= */
    .esp-blog {
      padding: 40px 12px 48px;
    }

    @media(min-width: 640px) {
      .esp-blog { padding: 56px 16px; }
    }

    .esp-blog__in {
      max-width: 1200px !important;
      margin: 0 auto !important;
    }

    /* --- LAYOUT WRAPPER --- */
    .esp-blog-layout {
      display: grid;
      gap: 40px;
      grid-template-columns: 1fr;
    }

    @media(min-width: 1024px) {
      .esp-blog-layout {
        grid-template-columns: 2.4fr 1fr;
        gap: 40px;
        align-items: start;
      }
    }

    /* --- MAIN CONTENT AREA --- */
    .esp-main-content {
      display: flex;
      flex-direction: column;
    }

    .esp-controls-title {
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 16px 0;
        color: var(--esp-text);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .esp-controls-title::before {
        content: '';
        display: block;
        width: 6px;
        height: 24px;
        background: var(--esp-brand);
        border-radius: 4px;
    }

    /* --- UPDATED CONTROLS GRID --- */
    .esp-blog__controls {
      display: grid;
      gap: 12px;
      grid-template-columns: 1fr; /* Mobile: Stacked */
      margin: 0 0 30px;
    }

    @media(min-width: 820px) {
      .esp-blog__controls {
        /* UPDATED LAYOUT: 
           1fr (Search - Biggest) 
           240px (Category - Medium) 
           150px (Sort - Smallest/50%) */
        grid-template-columns: 1fr 240px 150px;
        align-items: center;
        gap: 20px;
      }
    }

    /* --- INPUT STYLES --- */
    
    .esp-field { 
      position: relative; 
      display:flex; 
      flex-direction:column; 
    }

    .esp-input {
      font-family: 'Nunito', sans-serif;
      width: 100%; 
      height: 54px;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 22px 16px 6px;
      font-size: 15px;
      background: #ffffff;
      outline: 0;
      color: #1f2937;
      transition: border-color .15s ease, box-shadow .15s ease;
      box-sizing: border-box;
    }

    .esp-input:focus-visible, 
    .esp-input:focus {
      border-color: var(--esp-brand);
      box-shadow: 0 0 0 4px rgba(252,176,23,.25);
    }

    /* Floating Label Styling */
    .esp-label {
      position: absolute;
      left: 16px;
      top: 18px;
      font-size: 15px;
      font-weight: 400;
      color: #9ca3af;
      pointer-events: none;
      transition: all 0.2s ease-out;
      transform-origin: left top;
      font-family: 'Nunito', sans-serif;
    }

    /* Label Animation State */
    .esp-input:focus ~ .esp-label,
    .esp-input:not(:placeholder-shown) ~ .esp-label {
      top: 6px;
      transform: scale(0.85);
      color: var(--esp-brand);
      font-weight: 700;
    }

    /* =======================================================
       CUSTOM DROPDOWN STYLES
       ======================================================= */
    .esp-dd-wrap { position: relative; width: 100%; }
    
    .esp-dd-native {
      position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; z-index: -1;
    }

    .esp-dd-btn {
      width: 100%; 
      padding: 10px 16px 10px; 
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      background: #fff;
      color: #111;
      font-family: 'Nunito', system-ui;
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      cursor: pointer;
      transition: border-color .18s ease, box-shadow .18s ease;
      height: 54px;
      text-align: left;
      margin-left: 0; 
      box-sizing: border-box;
    }

    .esp-dd-btn:focus, 
    .esp-dd-wrap.is-open .esp-dd-btn {
      outline: none;
      border-color: var(--esp-brand);
      box-shadow: 0 0 0 4px rgba(252,176,23,.25);
    }

    /* Text Container inside Button to mimic floating label */
    .esp-dd-text-grp {
        display: flex; flex-direction: column;
        overflow: hidden; /* Prevent text overflow */
    }
    .esp-dd-caption {
        font-size: 13px; color: var(--esp-brand); font-weight: 700; line-height: 1; margin-bottom: 2px; display: block;
        transform: scale(0.98); transform-origin: left;
        white-space: nowrap;
    }
    .esp-dd-val {
        font-size: 15px; color: #111; line-height: 1.2;
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis;
    }

    /* Yellow Chevron */
    .esp-dd-chev {
      width: 20px; height: 20px; display: grid; place-items: center;
      border-radius: 50%; border: 1px solid #d9d9d9; flex-shrink: 0;
    }
    .esp-dd-chev::after {
      content: ""; display: inline-block; width: 7px; height: 7px;
      border-right: 2.5px solid var(--esp-brand); border-bottom: 2.5px solid var(--esp-brand);
      transform: rotate(45deg); margin-bottom: 3px; transition: transform .2s;
    }
    .esp-dd-wrap.is-open .esp-dd-chev::after { transform: rotate(-135deg); margin-bottom: -2px; }

    /* Dropdown Menu */
    .esp-dd-menu {
      position: absolute; left: 0; right: 0; top: calc(100% + 8px);
      background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
      box-shadow: 0 14px 30px rgba(0,0,0,.10); padding: 6px; display: none; z-index: 50;    
      width: 100%; 
      margin-left: 0; 
    }
    .esp-dd-wrap.is-open .esp-dd-menu { display: block; }

    .esp-dd-opt {
      width: 100%; border: 0; background: #fff; color: #111;
      font:  15px/1.2 Nunito, system-ui; padding: 15px 17px;
      border-radius: 8px; cursor: pointer; text-align: left;
      transition: background .15s, color .15s;
      display: block;
      box-sizing: border-box;
    }
    .esp-dd-opt:hover, 
    .esp-dd-opt:focus, 
    .esp-dd-opt.is-selected {
      background: var(--esp-brand); color: #111; outline: none;
    }
    /* =================== END DROPDOWN STYLES =================== */


    /* Grid & Cards */
    .post-grid {
      display: grid;
      gap: 16px;
      opacity: 0;
      transition: opacity .2s ease;
      grid-template-columns: 1fr;
    }

    @media(min-width: 600px) {
      .post-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(min-width: 1300px) {
      .post-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
    }

    .post-grid.is-ready { opacity: 1; }

    .post {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--esp-line);
      border-radius: 18px !important;
      border: 2px solid #FCB017 !important;
      overflow: hidden;
      box-shadow: 0 1px 0 rgba(0,0,0,.02);
      transition: border-color .15s ease;
      will-change: transform;
    }

    @media(hover: hover) {
      .post { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
      .post:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,.06);
        border-color: var(--esp-brand);
      }
    }

    .post__img {
      display: block;
      aspect-ratio: 16/9;
      overflow: hidden;
      background: #ddd;
    }

    .post__img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .post__body {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 14px;
      flex: 1;
    }

    @media(min-width: 640px) {
      .post__body { padding: 16px; gap: 10px; }
    }

    .post__tag {
      display: inline-block;
      align-self: flex-start;
      text-decoration: none;
      color: #111;
      background: #fff;
      border: 1px solid var(--esp-line);
      border-radius: 999px;
      padding: 6px 10px;
      font: 700 12px/1 'Nunito', system-ui, sans-serif;
    }

    .post__title {
      margin: 0;
      font: 700 clamp(17px, 3.6vw, 22px)/1.2 'Nunito', system-ui, sans-serif;
      letter-spacing: -.01em;
    }

    .post__title a { color: var(--esp-ink); text-decoration: none; }
    .post__title a:hover { color: #000; }

    .post__excerpt {
      margin: 0;
      color: var(--esp-text);
      font:  15px/1.6 'Nunito', system-ui, sans-serif;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .post__meta {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--esp-line);
      padding-top: 10px;
      gap: 10px;
      font: 600 14px/1.3 'Nunito', system-ui, sans-serif;
      color: #6b7280;
      flex-wrap: wrap;
    }

    .post__more {
      text-decoration: none;
      color: #111;
      font-weight: 700;
      font-size: 14px;
    }

    .post__more:hover { color: var(--esp-brand); }

    .esp-blog__more { text-align: center; margin: 22px 0 0; }

    .esp-btn {
      padding: 13px 20px;
      min-height: 48px;
      min-width: 160px;
      border-radius: 999px;
      border: 1.5px solid #111;
      background: #111;
      color: #fff;
      font: 700 15px/1 'Nunito', system-ui, sans-serif;
      cursor: pointer;
      touch-action: manipulation;
    }

    @media(hover: hover) {
      .esp-btn:hover { transform: translateY(-1px); }
    }

    .esp-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

    /* --- SIDEBAR STYLES --- */
    .esp-sidebar {
      display: flex;
      flex-direction: column;
      gap: 30px;
      position: relative;
    }
      
    @media(min-width: 1024px) {
        .esp-sidebar {
            position: sticky;
            top: 20px;
        }
    }

    .esp-widget {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }
      
    .esp-widget-title {
        font-size: 19px;
        font-weight: 700;
        margin: 0 0 16px 0;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--esp-brand);
        display: inline-block;
    }

    /* Widget 3: CTA - CENTER ALIGNED */
    .esp-widget--cta {
        background: #111;
        color: #fff;
        border-color: #333;
        text-align: center; 
    }

    .esp-widget--cta .esp-widget-title {
        color: #fff;
    }

    .esp-widget-cta p {
        font-size: 14px;
        line-height: 1.6;
        color: #ccc;
        margin-bottom: 16px;
    }

    /* Recent Posts Widget */
    .esp-recent-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
      
    .esp-recent-item {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }
      
    .esp-recent-thumb {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover;
        background: #eee;
        flex-shrink: 0;
    }
      
    .esp-recent-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }
      
    .esp-recent-link {
        color: #222;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        line-height: 1.4;
        transition: color 0.2s;
    }
      
    .esp-recent-link:hover {
        color: var(--esp-brand);
    }
      
    .esp-recent-date {
        font-size: 12px;
        color: #888;
        font-weight: 600;
    }

    /* Categories Widget */
    .esp-cat-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
      
    .esp-cat-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        color: #444;
        text-decoration: none;
        border-bottom: 1px dashed #eee;
        transition: all 0.2s;
    }
      
    .esp-cat-item a:hover {
        color: var(--esp-brand);
        padding-left: 5px;
    }
      
    .esp-cat-item:last-child a {
        border-bottom: none;
    }

    /* Sidebar Button */
    .esp-sidebar-btn {
        background: var(--esp-brand);
        color: var(--esp-ink);
        border: 2px solid var(--esp-brand);
        border-radius: 999px;
        font-weight: 700;
        font-family: Nunito, sans-serif;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all .25s ease;
        letter-spacing: 0.5px;
        box-shadow: none;
        text-decoration: none;
        white-space: nowrap;
        width: 100%;
        padding: 18px 30px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .esp-sidebar-btn:hover {
        background: #ffffff;
        color: var(--esp-brand);
        border-color: var(--esp-brand);
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(252,176,23,.35);
    }

    /* Trust strip */
    .esp-trust-logo {
      display: block; margin: 0 auto; max-height: 140px; width: auto; max-width: 100%; object-fit: contain;
    }
    .esp-trust{
      --tc-yellow:#FCB017; --tc-ink:#0f172a; --tc-line:rgba(0,0,0,.06);
      background:#fafafa; padding: 70px 0 60px; 
    }

    @media (max-width: 480px) {
        .esp-trust{
            padding: 40px 0;
        }
    }

    .esp-trust .esp-trust-in{ max-width:1100px; margin:0 auto; padding:0 16px; }
    .tc-eyebrow{
      display:inline-flex;align-items:center;gap:8px; padding:8px 14px;border:2px solid var(--esp-line);border-radius:999px;
      font:700 12px/1 Nunito;letter-spacing:.06em;text-transform:uppercase; color:var(--tc-yellow);background:#fff;margin:0 0 10px;
    }
    .esp-trust h2{ margin:0 0 8px; text-align:center; color:#000; font: 700 clamp(28px, 4vw, 40px)/1.2 Nunito, system-ui, sans-serif; }
    .esp-trust p{ margin:0 0 40px; text-align:center; color:#475569; font:600 14.5px/1.55 Nunito,system-ui; }
    .esp-trust-grid{ display:grid; gap:18px; grid-template-columns:repeat(2,1fr); max-width:1100px; margin:0 auto; padding-inline:16px; }
    @media (min-width:960px){ .esp-trust-grid{ grid-template-columns:repeat(4,1fr); } }
    .esp-trust-card{
      display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
      min-height:150px; padding:16px; border:2px solid var(--tc-yellow); border-radius:16px; background:#fff;
      box-shadow:0 8px 20px rgba(0,0,0,.06); transition:all .25s ease; text-decoration:none; color:inherit;
    }
    .esp-trust-card:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.12); border-color:#f7b615; }

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