/* ===== RESET & BASE STYLES ===== */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Montserrat',sans-serif}
html,body{overflow-x:hidden}
html {
  scroll-behavior: smooth;
}

body{background-color:#fff;color:#000;line-height:1.6;padding-top:80px}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6,span{font-family:'Orbitron',sans-serif;font-weight:700;line-height:1.2}
h1{font-size:3.5rem;font-weight:800}
h2{font-size:2.5rem;text-align:center;margin-bottom:50px}
h3{font-size:1.5rem;margin-bottom:15px}
p{margin-bottom:20px;font-size:1.1rem}
.text-primary{color:#C01A28;font-weight:800}

/* ===== LAYOUT ===== */
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
section{padding:80px 0}
.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main{max-width:100%!important;padding:0!important}

/* ===== BUTTONS ===== */
.btn{display:inline-block;padding:12px 30px;background:#c8102e;color:#fff;font-family:'Orbitron';font-weight:600;text-transform:uppercase;text-decoration:none;position:relative;clip-path:polygon(10px 0,100% 0,100% 80%,calc(100% - 15px) 100%,0 100%,0 15px);transition:all .3s cubic-bezier(.4,0,.2,1)}
.btn:hover{background:#a50e24;transform:translateY(-2px) scale(1.02);box-shadow:0 10px 25px rgba(200,16,46,.5);color:#fff}
.btn-modern{display:inline-block!important;position:relative!important;padding:0!important;text-decoration:none!important;box-sizing:border-box!important;background:none!important;border:none!important}
.btn-modern::before{content:""!important;position:absolute!important;inset:0!important;background:#fff!important;clip-path:polygon(10px 0,100% 0,100% 80%,calc(100% - 15px) 100%,0 100%,0 15px)!important;transform:translate(4px,4px)!important;transition:transform .28s cubic-bezier(.4,0,.2,1)!important;z-index:1!important;pointer-events:none!important}
.btn-modern__top{display:inline-block!important;padding:16px 30px!important;background:#c8102e!important;color:#fff!important;font-family:'Orbitron',sans-serif!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.8px!important;clip-path:polygon(10px 0,100% 0,100% 80%,calc(100% - 15px) 100%,0 100%,0 15px)!important;transition:transform .28s cubic-bezier(.4,0,.2,1)!important;z-index:2!important;position:relative!important}
.btn-modern:hover .btn-modern__top{transform:translate(4px,4px)!important}
.button-modern-black {
  display: inline-block !important;
  position: relative !important;
  padding: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  background: none !important;
  border: none !important;
}

.button-modern-black::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: #000 !important; /* changed from white (#fff) to black */
  clip-path: polygon(10px 0, 100% 0, 100% 80%, calc(100% - 15px) 100%, 0 100%, 0 15px) !important;
  transform: translate(4px, 4px) !important;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* optional hover if you already have one — keep same */
.button-modern-black:hover .btn-modern__top{transform:translate(4px,4px)!important}

/* ===== HEADER ===== */
.site-header{position:fixed;top:0;left:0;right:0;width:100%;background:#000;z-index:1000;margin:0!important;max-width:100%!important;box-shadow:0 2px 10px rgba(0,0,0,.1);padding:0!important}
.site-header .header-container{max-width:1200px;margin:0 auto;padding:20px;display:flex;align-items:center;justify-content:space-between}
.site-header .custom-logo,.site-header .custom-logo-link img{height:36px;width:auto}
.logo span{color:#F00}
nav ul{display:flex;list-style:none}
nav ul li{margin-left:30px}
nav ul li a{color:#fff;text-decoration:none;font-weight:500;transition:color .3s ease}
nav ul li a:hover{color:#F00}

.mobile-menu-btn{display:none;width:40px;height:28px;position:relative;z-index:100;background:transparent;border:none}
.mobile-menu-btn span{display:block;position:absolute;height:4px;width:100%;background:#fff;border-radius:4px;opacity:1;left:0;transform:rotate(0);transition:.25s ease-in-out}
.mobile-menu-btn span:nth-child(1){top:0}
.mobile-menu-btn span:nth-child(2){top:12px}
.mobile-menu-btn span:nth-child(3){top:24px}
.mobile-menu-btn.is-active span:nth-child(1){top:12px;transform:rotate(135deg)}
button.mobile-menu-btn:focus,button.mobile-menu-btn:hover{outline:none!important;background:none!important}
.mobile-menu-btn.is-active span:nth-child(2){opacity:0;left:-30px}
.mobile-menu-btn.is-active span:nth-child(3){top:12px;transform:rotate(-135deg)}

/* OVERLAY (fixed) — off-canvas by default, non-blocking when closed */
.mobile-menu-bg{
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:#C01A28;opacity:1;z-index:98;
  transform:translateX(100%); /* closed */
  pointer-events:none;will-change:transform;
  transition:transform .8s cubic-bezier(.22,.61,.36,1)
}
body.nav-open .mobile-menu-bg{pointer-events:auto} /* can be tapped when open */

/* ===== HERO SECTION ===== */
.hero-slider-wrapper{position:relative;width:100%;color:#fff;padding:0}
.hero-slide{display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:600px!important;background-size:cover;background-position:center center}
.hero-slide h1{font-size:3rem;margin-bottom:1rem}
.hero-slide p{font-size:1.2rem;margin-bottom:2rem}
.hero.hero-split-layout{background:#000;padding:100px 0;text-align:left;position:relative;z-index:2;overflow:visible}
.hero.hero-split-layout .container{display:flex;align-items:center;justify-content:space-between;gap:80px}
.hero.hero-split-layout .hero-content{flex:1 1 91%;max-width:91%;color:#fff}
.hero.hero-split-layout .hero-image{flex:1 1 42%;max-width:42%;margin-bottom:-150px}
.hero.hero-split-layout .hero-image img{max-width:100%;height:auto;border-radius:8px}
.hero.hero-split-layout h1,.hero.hero-split-layout p{margin-left:0;margin-right:0;max-width:none;font-weight:400}
.hero.hero-split-layout p{font-size:1.1rem;margin-bottom:30px;width:82%}

/* ===== SLICK SLIDER ===== */
.slick-prev,.slick-next{z-index:10;height:50px;width:50px}
.slick-prev{left:25px}.slick-next{right:25px}
.slick-prev:before,.slick-next:before{font-size:40px;color:#fff}
.slick-dots{bottom:25px!important}
.slick-dots li{margin:0 4px!important}
.slick-dots li button{width:12px!important;height:12px!important;padding:0!important;border-radius:50%;background:#fff!important;opacity:.75;transition:all .3s ease}
.slick-dots li button:before{content:'';display:none}
.slick-dots li button:hover{opacity:1}
.slick-dots li.slick-active button{background:#F00!important;opacity:1;transform:scale(1.2)}

/* ===== COUNTER SECTION ===== */
.counter-section{padding:10px 0;color:#fff;position:relative;z-index:1}
.counter-section .container{max-width:1200px;margin:0 auto;padding:0 15px}
.counter-grid{display:flex;justify-content:flex-start;gap:50px}
.counter-item{text-align:center}
.counter-number{display:block;font-size:2rem;font-weight:700}
.counter-label{font-size:1rem;margin:0;opacity:.9}

/* ===== ABOUT SECTION ===== */
.about{background:#fff}
.about-content{display:flex;align-items:center;gap:60px}
.about-text{flex:1 1 55%}
.about-text h2{font-size:2.5rem;margin-bottom:20px;text-align:left;text-transform:uppercase;color:#c01a28}
.about-image{flex:1 1 45%}
.about-image img{max-width:100%;height:auto;border-radius:8px}

/* ===== SERVICES SECTION ===== */
.services{background:#f8f8f8}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.service-card{background:#fff;padding:40px 30px;border-radius:8px;text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.05);transition:transform .3s ease}
.service-card:hover{transform:translateY(-10px)}
.service-icon{font-size:3rem;color:#c01a2a;margin-bottom:20px}

/* ===== TRUSTED SECTION ===== */
.trusted{text-align:center;padding:60px 0;background:#fff}
.trusted-logo{max-width:300px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;height:100px}
.trusted-logo img{max-width:100%;max-height:100%;filter:grayscale(100%);transition:filter .3s ease}
.trusted-logo:hover img{filter:grayscale(0%)}

/* ===== WHY CHOOSE US ===== */
.why-choose{background:#f0f0f0}
.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px}
.feature-item{display:flex;align-items:flex-start;gap:20px}
.feature-icon{font-size:2rem;color:#F00;flex-shrink:0}
.feature-text h3{margin-bottom:10px}

/* ===== GALLERY ===== */
.gallery-section{padding:80px 0;text-align:center;background:#fff}
.gallery-heading{font-size:2.8rem;color:#C01A28;margin-bottom:10px}
.gallery-subheading{font-size:1.1rem;color:#555;max-width:700px;margin:0 auto 50px}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px}
.gallery-item{background:#f0f0f0;border-radius:8px;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,.1);transition:transform .2s ease-in-out,box-shadow .2s ease-in-out}
.gallery-item:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,.15)}
.gallery-item img{max-width:100%;height:auto;display:block;width:100%;object-fit:cover}
.gallery-item.is-hidden { display: none; }
 .gallery-actions { text-align: center; margin-top: 30px; }
/* ===== MISSION & VALUES ===== */
.mission-values-section{padding:80px 0;background:#f8f9fa}
.mission-values-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}
.mission-column{position:relative}
.mission-image-wrapper{clip-path:polygon(0 0,calc(100% - 80px) 0,100% 80px,100% 100%,0 100%)}
.mission-image-wrapper img{width:100%;height:auto;display:block}
.mission-text-block{background:#C01A28;color:#fff;padding:40px;margin-top:-80px;position:relative;width:100%}
.mission-text-block h3{font-family:'Orbitron',sans-serif;text-transform:uppercase;font-size:1.8rem;margin-bottom:15px}
.values-column h2{text-transform:uppercase;margin-bottom:30px;text-align:left}
.value-item{border:1px solid #C01A28;padding:20px;margin-bottom:20px;max-height:126px}
.value-item h4{color:#C01A28;text-transform:uppercase;margin-bottom:10px}
.value-item p{font-size:17px}

/* ===== CAPABILITIES ===== */
.capabilities-section{padding:80px 0;background:#f8f9fa}
.capabilities-section .section-heading{text-align:center;font-family:'Orbitron',sans-serif;color:#C01A28;text-transform:uppercase;font-size:2.5rem;margin-bottom:60px}
.capabilities-grid{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:1fr 1fr;gap:40px 80px;align-items:center}
.central-image{grid-column:2/3;grid-row:1/3}
.central-image img{max-width:100%;height:auto}
.capability-item{max-width:370px;text-align:center}
.capability-icon{font-size:2.5rem;color:#C01A28;margin-bottom:15px}
.capability-icon img{width:50px;height:auto}
.capability-item h3{color:#C01A28;margin-bottom:10px;text-transform:uppercase;font-weight:800}

/* --- Modern Expertise Section --- */
.expertise-section{padding:80px 0;background:#f8f9fa}
.expertise-section .section-heading{text-align:center;color:#333;text-transform:uppercase;font-size:2.5rem;margin-bottom:10px}
.expertise-section .section-heading::after{content:'';display:block;width:60px;height:4px;background:#C01A28;margin:15px auto 60px}
.expertise-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:30px}
.expertise-card{position:relative;height:450px;border-radius:12px;overflow:hidden;color:#fff;text-decoration:none;display:block;box-shadow:0 10px 30px rgba(0,0,0,.2);transition:box-shadow .3s ease}
.expertise-card:hover{box-shadow:0 15px 40px rgba(0,0,0,.3)}
.card-background{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;transition:transform .4s ease-out}
.expertise-card:hover .card-background{transform:scale(1.05)}
.card-content{position:absolute;bottom:0;left:0;right:0;padding:30px;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.6) 50%,rgba(0,0,0,0) 100%);transform:translateY(calc(100% - 130px));transition:transform .4s ease-out}
.expertise-card:hover .card-content{transform:translateY(0)}
.card-content h3{font-family:'Orbitron',sans-serif;text-transform:uppercase;font-size:1.6rem;margin-bottom:10px;line-height:1.2}
.card-content p{font-size:1rem;opacity:0;transition:opacity .3s ease .1s}
.expertise-card:hover .card-content p{opacity:1}
.expertise-subtext{text-align:center;margin-top:60px;font-size:1.2rem;font-weight:500;color:#555}

/* ===== CTA ===== */
.cta-banner{background:linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,.8)),url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');background-size:cover;background-position:center;color:#fff;text-align:center;padding:100px 0}
.cta-banner h2{color:#fff;margin-bottom:20px}
.cta-banner p{font-size:1.3rem;max-width:700px;margin:0 auto 40px}

/* --- Testimonials Section --- */
.testimonials-section{padding:80px 0;background:#f8f9fa}
.testimonials-section .section-heading::after{content:'';display:block;width:60px;height:4px;background:#C01A28;margin:15px auto 40px}
.testimonials-subheading{text-align:center;font-size:1.8rem;font-weight:600;color:#333;margin-bottom:50px;position:relative;max-width:800px;margin-left:auto;margin-right:auto}
.testimonials-subheading .quote-mark{font-family:Georgia,serif;font-size:4rem;color:#C01A28;position:absolute;top:-20px}
.testimonials-subheading .quote-mark.left{left:-26px}
.testimonials-subheading .quote-mark.right{right:-26px}
.testimonials-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.testimonial-card{background:#fff;padding:40px;border-radius:8px;box-shadow:0 5px 25px rgba(0,0,0,.07);border-left:5px solid #C01A28;display:flex;flex-direction:column}
.testimonial-quote{flex-grow:1;font-size:1rem;line-height:1.7;color:#555}
.testimonial-author{display:flex;align-items:center;margin-top:20px}
.author-avatar{width:50px;height:50px;border-radius:50%;background:#e9ecef;margin-right:15px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.author-avatar img{width:100%;height:100%;object-fit:cover}
.author-avatar span{font-family:'Orbitron',sans-serif;color:#C01A28;font-weight:700}
.author-info .author-name{display:block;font-weight:700;color:#333}
.author-info .author-title{display:block;font-size:.9rem;color:#777}

/* --- Contact Section --- */
.contact-section{padding:80px 0;background:#fff}
.contact-section .section-heading::after{content:'';display:block;width:60px;height:4px;background:#C01A28;margin:15px auto 60px}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px}
.contact-card{background:#f8f9fa;padding:40px;border-radius:12px;text-align:center;border:1px solid #e9ecef;transition:all .3s ease-in-out}
.contact-card:hover{transform:translateY(-10px);border-color:#C01A28;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.contact-icon{margin:0 auto 25px;background:#C01A28;width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .3s ease-in-out}
.contact-icon i{font-size:32px;color:#fff}
.contact-card:hover .contact-icon{transform:scale(1.1) rotate(10deg)}
.contact-card h3{font-family:'Orbitron',sans-serif;font-size:1.5rem;color:#333;margin-bottom:10px}
.contact-card .contact-desc{font-size:1rem;color:#777;margin-bottom:20px}
.contact-detail{font-size:1.1rem;font-weight:600;color:#333;line-height:1.5}
.contact-detail a{color:inherit;text-decoration:none;transition:color .2s ease}
.contact-detail a:hover{color:#C01A28}

/* --- Map & Form --- */
.map-form-section{padding:80px 0;background:#f8f9fa}
.map-form-section .section-heading::after{content:'';display:block;width:60px;height:4px;background:#C01A28;margin:15px auto 60px}
.map-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.google-map{position:relative;padding-bottom:100%;height:0;overflow:hidden;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.google-map iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}

/* Modern Form */
.modern-form{background:#fff;padding:40px 40px 0;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.modern-form form{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px}
.modern-form p:nth-of-type(3),
.modern-form p:nth-of-type(4),
.modern-form p:nth-of-type(5){grid-column:1/-1}
.modern-form label{display:block;font-weight:600;margin-bottom:8px;color:#333}
.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form textarea{width:100%;padding:12px 0;font-family:'Montserrat',sans-serif;font-size:1rem;border:none;border-bottom:2px solid #ced4da;border-radius:0;background:transparent;transition:border-color .2s ease}
.modern-form input[type="text"]:focus,
.modern-form input[type="email"]:focus,
.modern-form textarea:focus{outline:none;border-bottom-color:#C01A28}
.modern-form textarea{height:135px;resize:vertical}
.modern-form input[type="submit"]{display:inline-block;padding:12px 30px;background:#c8102e;color:#fff;font-family:'Orbitron',sans-serif;font-weight:600;text-transform:uppercase;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease,transform .3s ease}
.modern-form input[type="submit"]:hover{background:#a50e24;transform:translateY(-2px)}

/* ===== FOOTER ===== */
footer{background:#000;color:#fff;padding:60px 0 30px}
.footer-content{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-bottom:40px}
.footer-column h3{color:#c01a2a;margin-bottom:20px;font-size:1.3rem}
.footer-column ul{list-style:none}
.footer-column ul li{margin-bottom:10px}
.footer-column a,.footer-column ul li a{color:#fff;text-decoration:none;transition:color .3s ease}
.footer-column ul li a:hover{color:#F00}
.footer-column p{color:#ddd;margin-bottom:10px}
.social-icons{display:flex;gap:15px;margin-top:20px}
.social-icons a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#333;border-radius:50%;color:#fff;text-decoration:none;transition:all .3s ease}
.social-icons a:hover{background:#F00;transform:translateY(-3px)}
.social-icons {
    display: none;
}
.footer-bottom{text-align:center;padding-top:30px;border-top:1px solid #333;color:#999;font-size:.9rem}

/* ===== ACCESSIBILITY ===== */
.mobile-menu-btn:focus,header nav a:focus{outline:2px dashed #F00;outline-offset:2px}

/* ===== ADMIN BAR FIX ===== */
body.admin-bar .site-header{top:32px}
/* ============================================= */
/* >> CUSTOM BLOG & SIDEBAR STYLES <<           */
/* ============================================= */

.blog-archive-header {
    padding: 40px 0;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.blog-archive-header h1 {
    font-family: 'Orbitron', sans-serif;
    color: #C01A28;
    margin: 0;
}

#primary.content-area {
    padding: 60px 0;
}

.blog-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* --- Blog Post Card --- */
.post-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-posts-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two equal-width columns */
    gap: 40px; /* Adjust the space between the post cards */
}

/* We use 'gap' for spacing, so we can remove the old bottom margin */
.post-card {
    margin-bottom: 0;
}
.post-card-image a { display: block; height: 250px; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-content { padding: 30px; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}
.post-meta span { display: flex; align-items: center; }
.post-meta i { color: #C01A28; margin-right: 5px; }

h2.post-card-title {
    font-size: 25px;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: left;
}
.post-card-title a { text-decoration: none; color: #111; transition: color 0.2s ease; }
.post-card-title a:hover { color: #C01A28; }
main#content {
    padding: 40px !important;
}
.post-card-excerpt { color: #555; margin-bottom: 25px; }
.read-more-link { display: inline-block; color: #C01A28; text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
.read-more-link:hover { border-bottom-color: #C01A28; }

/* ============================================= */
/* >> UPDATED SIDEBAR CSS FOR BLOCK WIDGETS <<   */
/* ============================================= */

.sidebar-column .widget {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Use .wp-block-search__label or a generic h2 for widget titles */
.sidebar-column .widget-title,
.sidebar-column .wp-block-search__label,
.sidebar-column .wp-block-categories-list__label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem !important; /* Use !important if needed to override defaults */
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #C01A28; /* The red underline */
    font-weight: 700;
}

/* --- Search Widget --- */
.sidebar-column .wp-block-search__inside-wrapper {
    display: flex;
}

.sidebar-column .wp-block-search__input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px !important;
    border-right: none;
}

.sidebar-column .wp-block-search__button {
    background-color: #C01A28; /* Red button background */
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 0 5px 5px 0 !important;
    cursor: pointer;
    font-size: 1rem;
}

/* --- Categories Widget --- */
.sidebar-column .wp-block-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-column .wp-block-categories-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-column .wp-block-categories-list li:last-child {
    border-bottom: none;
}

.sidebar-column .wp-block-categories-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* The red circle for post counts */
.sidebar-column .wp-block-categories-list li .count {
    display: inline-block;
    background-color: #C01A28;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* --- Recent Posts Widget Styles --- */
/* (These may also need updating if you use the block version) */
.widget_recent_entries ul li { display: flex; align-items: flex-start; gap: 15px; }
.widget_recent_entries .wp-post-image { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; }
.widget_recent_entries ul li a { font-weight: 600; }
.widget_recent_entries .post-date { font-size: 0.8rem; color: #777; }
.sidebar-column .widget h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    
    padding-bottom: 10px;
    margin-bottom: 20px;
    
    /* This adds the red underline */
    border-bottom: 2px solid #C01A28; 
}
/* ===== RESPONSIVE ===== */

/* Desktop Override */
@media (min-width:769px){
  header nav ul li{transform:none!important;opacity:1!important}
  header nav ul{display:flex!important}
  .mobile-menu-btn,.mobile-menu-bg{display:none!important}
}

/* Tablets and Below */
@media (max-width:992px){
  .services-grid{grid-template-columns:1fr;gap:20px}
  .about-content{flex-direction:column}
  .features-grid,.footer-content{grid-template-columns:1fr;gap:30px}
  .counter-grid{justify-content:center;gap:40px}
  .mission-values-grid{gap:40px}
  .capabilities-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:40px}
  .central-image{grid-column:auto;grid-row:auto;order:3;margin:0 auto}
  .capability-item:nth-of-type(1){order:1}
  .capability-item:nth-of-type(2){order:2}
  .capability-item:nth-of-type(3){order:4}
  .capability-item:nth-of-type(4){order:5}
  .capability-item,.capability-item:nth-of-type(1),.capability-item:nth-of-type(2){text-align:center;justify-self:center;margin:0 auto}
  .map-form-grid{grid-template-columns:1fr}
  .modern-form form{grid-template-columns:1fr;gap:20px}
  .modern-form p{grid-column:1/-1}
      .blog-layout-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width:768px){
  section{padding:30px 0}
  h1{font-size:2.5rem}
  h2{font-size:2rem}
  .gallery-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
  .hero-image{display:none!important}
  .hero.hero-split-layout p{width:100%}
  .hero.hero-split-layout .hero-content{max-width:100%}
  .hero.hero-split-layout{padding:30px 0}
  .counter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
  .about-content{flex-direction:column;text-align:center}
  .about-text,.about-image{flex-basis:100%;max-width:100%}
  .about-text h2{text-align:center}
  .mission-values-grid{grid-template-columns:1fr}
  .mission-text-block{width:100%;margin-top:0}
  .mobile-menu-btn{display:block;margin-left:auto}

  /* Mobile nav container + list above overlay */
  header nav{position:fixed;top:80px;left:0;width:100%;height:calc(100vh - 80px);z-index:99;visibility:hidden;pointer-events:none;transition:visibility .3s ease}
  body.nav-open header nav{visibility:visible!important;pointer-events:auto!important}
  header nav ul{display:flex;visibility:visible!important;flex-direction:column;align-items:center;justify-content:center;gap:40px;text-align:center;position:fixed;top:100px;left:0;width:100%;padding:0;z-index:99;list-style:none}
  header nav ul li{color:#fff;font-size:30px;font-weight:600;margin:0;transform:translateX(100vw);transition:transform .3s ease}
  body.nav-open header nav ul li{transform:translateX(0)}
  body.nav-open header nav ul li:nth-child(1){transition-delay:.1s}
  body.nav-open header nav ul li:nth-child(2){transition-delay:.15s}
  body.nav-open header nav ul li:nth-child(3){transition-delay:.2s}
  body.nav-open header nav ul li:nth-child(4){transition-delay:.25s}
  body.nav-open header nav ul li:nth-child(5){transition-delay:.3s}
  body.nav-open header nav ul li:nth-child(6){transition-delay:.35s}
  .logo img{width:80%!important;object-fit:contain}
  .testimonials-grid{grid-template-columns:1fr}
  .testimonials-subheading .quote-mark{font-size:3rem;top:-10px}

  /* Lock page scroll when menu open */
  body.menu-lock{overflow:hidden}
  /* Fallback: if body has nav-open, panel is at 0 */
body.nav-open .mobile-menu-bg{ transform: translateX(0); }
.testimonials-section {
    padding: 30px 0;
    background: #f8f9fa;
}   
	.blog-posts-column {
        grid-template-columns: 1fr; /* Stack posts in a single column on mobile */
    }
	
}

/* Small Mobile */
@media (max-width:576px){
  .gallery-grid{grid-template-columns:1fr}
  .gallery-heading{font-size:2.2rem}
  .gallery-subheading{font-size:1rem}
}

@media (max-width:782px){body.admin-bar .site-header{top:46px}}
.site-header{pointer-events:auto}



/*sadddddddddddddddddddddddddddddddddddddddddddddddddddd*/


:root {
    /* Default top gap if no fixed header/admin bar is present */
    --sticky-offset: 16px;
  }
  /* The magic: sticky inside its column */
  .sticky-col {
    position: sticky;
    top: var(--sticky-offset);
    /* Prevent accidental clipping from parents */
    z-index: 2;
  }
  /* Nice spacing + ensure the card's width follows the column */
  #stickySidebar {
    width: 100%;
  }
  /* Safety: parents should not clip sticky */
  .single-post-code .container,
  .single-post-code .row,
  .single-post-code [class*="col-"] {
    overflow: visible;
  }