
/* ==========================================================================
   GLOBAL CONSULTATION MODAL DIALOG (HIDDEN BY DEFAULT)
   ========================================================================== */
.modal-backdrop,
#consultModal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.modal-backdrop.active,
#consultModal.active {
  display: flex !important;
}

.modal-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  max-width: 580px !important;
  width: 100% !important;
  padding: 36px 32px !important;
  position: relative !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  color: #1a1a1a !important;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: #f1f5f9 !important;
  border: none !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  color: #64748b !important;
  cursor: pointer !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.modal-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.modal-card h3 {
  font-family: 'Cabin', sans-serif !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.modal-card p {
  font-size: 0.92rem !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin-bottom: 22px !important;
}

.modal-card .form-group {
  margin-bottom: 14px !important;
  text-align: left !important;
}

.modal-card label {
  display: block !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.modal-card input[type="text"],
.modal-card input[type="email"],
.modal-card input[type="tel"],
.modal-card textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.modal-card input:focus,
.modal-card textarea:focus {
  outline: none !important;
  border-color: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12) !important;
}

.modal-card .btn-primary {
  margin-top: 8px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.modal-card .btn-primary:hover {
  background: #000000 !important;
}

/* ==========================================================================
   GLOBAL LAYOUT STYLES (HEADER & FOOTER)
   Summit Commercial Group Monochrome Executive Theme (#222222)
   ========================================================================== */

/* Header Root */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: var(--border-light, 1px solid #e5e7eb);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

/* Logo: ONLY Summit Commercial Group */
.header-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Desktop Navigation Menu */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-sub, #525252);
  padding: 7px 11px;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item-link:hover,
.nav-item:hover > .nav-item-link,
.nav-item-link.active {
  color: #111827 !important;
  background-color: #f3f4f6 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  transition: transform 0.2s ease;
  color: var(--color-text-muted, #737373);
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
  color: var(--color-primary, #222222);
}

/* Single Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  list-style: none;
}

/* 2-Column Mega Dropdown for Services */
.nav-dropdown-services {
  min-width: 520px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dropdown-group-title {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 4px 10px 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: var(--color-text-sub, #525252);
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-link:hover {
  background: #f8fafc !important;
  color: #000000 !important;
  font-weight: 600 !important;
  border: none !important;
  border-left: none !important;
  padding-left: 12px !important;
}

.dropdown-link.active {
  background: #f1f5f9 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: none !important;
  border-left: none !important;
  padding-left: 12px !important;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-primary, #222222);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.header-phone-link:hover {
  background: var(--bg-surface-alt, #f5f5f5);
  color: #000000;
}

.btn-header-consult {
  background: var(--color-primary, #222222);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-primary, #222222);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-header-consult:hover {
  background: #000000;
  box-shadow: 0 4px 12px rgba(34, 34, 34, 0.22);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary, #222222);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Navigation Dropdown */
.mobile-menu-dropdown {
  display: none;
  background: #ffffff;
  border-bottom: var(--border-light, 1px solid #e5e7eb);
  padding: 18px 20px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu-dropdown.open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 5px;
}

.mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main, #1a1a1a);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  margin: 4px 0 8px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-subheading {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 4px 0 6px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  margin: 10px 0 6px 0 !important;
  display: block !important;
}

.mobile-sublink {
  font-size: 0.88rem;
  color: var(--color-text-sub, #525252);
  padding: 4px 0;
  text-decoration: none;
}

.mobile-sublink:hover {
  color: var(--color-primary, #222222);
}

/* ==========================================================================
   GLOBAL FOOTER STYLES
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-deep, #171717);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 28px;
  border-top: 1px solid #2e2e2e;
}

.footer-grid-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-item h4 {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-text-block {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.footer-nav-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
  display: inline-block;
}

.social-btn-group {
  display: flex;
  gap: 10px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-icon-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer-bottom-row {
  border-top: 1px solid #292929;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   GLOBAL TOAST NOTIFICATION
   ========================================================================== */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1.5px solid #222222;
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-box.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Media Queries for Layout */
@media (max-width: 1220px) {
  .header-phone-link {
    display: none;
  }
}

@media (max-width: 1120px) {
  .header-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

@media (max-width: 868px) {
  .footer-grid-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* ==========================================================================
   AUTHENTIC 3-COLUMN FOOTER WITH ARCHITECTURAL BACKGROUND
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #17212b;
  background-image: url('https://raphaelcollazo.com/wp-content/uploads/2024/10/adssystems-9-1.jpg');
  background-size: cover;
  background-position: center center;
  color: #ffffff;
  padding: 85px 0 35px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 27, 36, 0.93); /* Dark executive overlay */
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-heading {
  font-family: 'Cabin', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.footer-bio-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #d1d5db;
  margin: 0;
}

/* Column 2: Useful Links */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-caret {
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-nav-list li a:hover .footer-caret {
  color: #ffffff;
}

/* Column 3: Contact Details */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-val {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-val:hover {
  color: #ffffff;
}

/* Dashed Divider */
.footer-dashed-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  margin-bottom: 28px;
  width: 100%;
}

/* Bottom Row */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-link:hover {
  background: #ffffff;
  color: #17212b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   HOMEPAGE ABOUT SECTION STYLING
   ========================================================================== */
.home-about-section {
  padding: 95px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.home-about-image-wrap {
  position: relative;
}

.home-about-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.16);
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
}

.home-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-about-card:hover .home-about-img {
  transform: scale(1.02);
}

.home-about-overlay-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(23, 33, 43, 0.95) 0%, rgba(23, 33, 43, 0) 100%);
  padding: 35px 24px 22px;
}

.badge-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Cabin', sans-serif;
}

.badge-role {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.home-about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #222222;
  margin-bottom: 18px;
}

.home-about-title {
  font-size: 2.45rem;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
}

.home-about-lead {
  font-size: 1.05rem;
  line-height: 1.78;
  color: #4b5563;
  margin-bottom: 18px;
  font-weight: 500;
}

.home-about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #525252;
  margin-bottom: 30px;
}

.home-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  padding: 22px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.about-stat-item {
  position: relative;
  text-align: center;
}

.about-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e5e7eb;
}

.about-stat-item strong {
  display: block;
  font-size: 1.7rem;
  color: #222222;
  font-family: 'Cabin', sans-serif;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat-item span {
  font-size: 0.8rem;
  color: #737373;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERHAUL (100% FLUID)
   ========================================================================== */

/* Universal Reset & Anti-Overflow */
html, body {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100% !important;
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .site-header .header-nav {
    display: none !important;
  }
  
  .mobile-nav-toggle {
    display: flex !important;
  }
  
  .home-about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .home-about-image-wrap {
    max-width: 520px;
    margin: 0 auto;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
  
  .footer-col-contact {
    grid-column: span 2;
  }
  
  .hero-grid, .two-col-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  
  .sticky-form-col {
    position: static !important;
    top: auto !important;
    max-width: 100% !important;
    margin-top: 32px !important;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .container, .header-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  section {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  .home-about-section {
    padding: 60px 0 !important;
  }
  
  .home-about-title {
    font-size: 2rem !important;
  }

  .hero-title, h1 {
    font-size: 2.1rem !important;
    line-height: 1.24 !important;
  }
  
  .hero-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  h2 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  
  h3 {
    font-size: 1.35rem !important;
  }

  /* Grid Stackings */
  .grid-4, .grid-3, .grid-2, .services-grid, .properties-grid, .stories-grid, .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .form-row-dual, .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Form Elements */
  input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Footer Stack to 1 Column */
  .site-footer {
    padding: 60px 0 30px 0 !important;
  }

  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .footer-col-contact {
    grid-column: span 1 !important;
  }

  .footer-bottom-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 18px !important;
  }

  .footer-social-icons {
    justify-content: center !important;
  }

  /* Modal Dialog */
  .modal-card {
    width: 95% !important;
    max-width: 95% !important;
    padding: 24px 18px !important;
    margin: 16px auto !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
  }

  /* Buttons */
  .btn-primary, .btn-secondary, .btn-secondary-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .home-about-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .home-about-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    text-align: center !important;
  }
  
  .about-stat-item strong {
    font-size: 1.35rem !important;
  }
  
  .about-stat-item span {
    font-size: 0.72rem !important;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .header-actions .btn-header-consult {
    display: none !important;
  }
  
  .header-phone-link {
    font-size: 0.8rem !important;
    padding: 6px 9px !important;
  }

  .header-logo-img {
    height: 32px !important;
  }

  .hero-title, h1 {
    font-size: 1.85rem !important;
  }
  
  /* Horizontal about stats on mobile with small size */
  .home-about-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 14px 4px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
  }
  
  .about-stat-item {
    padding: 0 4px !important;
    text-align: center !important;
  }
  
  .about-stat-item strong,
  .about-stat-item .stat-number {
    font-size: 1.22rem !important;
    line-height: 1.1 !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
  }
  
  .about-stat-item span,
  .about-stat-item .stat-label {
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em !important;
    display: block !important;
  }
}

/* ==========================================================================
   UNIVERSAL STATS STRIP HORIZONTAL ON MOBILE WITH SMALL SIZE
   ========================================================================== */
@media (max-width: 768px) {
  .stats-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    padding: 18px 8px !important;
    border-radius: 12px !important;
    margin-bottom: 32px !important;
  }
  .stats-strip > div {
    padding: 0 3px !important;
  }
  .stats-strip > div:not(:last-child)::after {
    display: none !important;
  }
  .stats-strip > div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .stat-number-val {
    font-size: 1.22rem !important;
    line-height: 1.1 !important;
    margin-bottom: 3px !important;
  }
  .stat-star {
    font-size: 0.85em !important;
    color: #f59e0b !important;
  }
  .stat-title-label {
    font-size: 0.60rem !important;
    line-height: 1.22 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: 100% !important;
  }
}

@media (max-width: 380px) {
  .stats-strip {
    padding: 14px 4px !important;
    gap: 2px !important;
  }
  .stat-number-val {
    font-size: 1.05rem !important;
  }
  .stat-title-label {
    font-size: 0.54rem !important;
    line-height: 1.18 !important;
  }
  .about-stat-item strong,
  .about-stat-item .stat-number {
    font-size: 1.1rem !important;
  }
  .about-stat-item span,
  .about-stat-item .stat-label {
    font-size: 0.58rem !important;
  }
}

/* ==========================================================================
   UNIVERSAL HERO H1 NO UNDERLINE
   ========================================================================== */
.hero-h1 span,
.service-hero-h1 span,
.hero-title span,
h1 span,
h2 span {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE CARD GRIDS (VERTICAL UP & BELOW ON MOBILE)
   ========================================================================== */
@media (max-width: 868px) {
  .building-types-grid,
  .financing-grid-4,
  .advantage-grid,
  .case-stories-grid,
  .services-grid-4,
  .services-grid-2,
  .bento-grid-3,
  .deals-grid-3,
  .areas-grid-3,
  .resources-grid-3,
  .spaces-grid-4,
  .process-grid-5,
  .process-grid,
  .step-cards-grid,
  .card-grid,
  .two-col-grid {
    grid-template-columns: 1fr !important;
  }
  .building-type-card,
  .building-type-card-span2,
  .service-card,
  .bento-card,
  .deal-card,
  .space-card {
    grid-column: auto !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE TABLE HORIZONTAL SCROLL ON MOBILE
   ========================================================================== */
.table-container,
.comparison-table-scroll,
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  position: relative !important;
}

@media (max-width: 768px) {
  .table-container table,
  .comparison-table-scroll table,
  .lease-table,
  .process-table,
  .compare-table,
  .structure-table,
  .clean-table {
    min-width: 620px !important;
    width: 100% !important;
  }
  .table-container th,
  .table-container td,
  .lease-table th,
  .lease-table td {
    white-space: normal !important;
  }
}

/* ==========================================================================
   UNIVERSAL NUMBERED CARD BOX SIZE EXPANSIONS & SPACING
   ========================================================================== */
.roadmap-step-card,
.step-card,
.search-step-card,
.shield-card,
.pillar-card,
.trap-card,
.building-type-card,
.biz-card {
  padding: 36px 28px !important;
  min-height: 290px;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

.roadmap-num,
.step-number,
.search-step-num,
.shield-num-badge,
.trap-number {
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em !important;
}

.roadmap-title,
.step-title,
.search-step-title,
.shield-title,
.pillar-title,
.trap-title {
  font-size: 1.18rem !important;
  line-height: 1.35 !important;
  margin-bottom: 12px !important;
}

/* Mid-screen wrapping so 5-column grids don't get squished */
@media (min-width: 869px) and (max-width: 1240px) {
  .roadmap-grid-5,
  .process-grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 22px !important;
  }
}

/* ==========================================================================
   BOLD & HIGHLIGHTED MENU HEADINGS + ACTIVE PAGE HIGHLIGHTING
   ========================================================================== */
/* Dropdown group titles (Commercial Real Estate & Business Brokerage) */
.dropdown-group-title {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 4px 10px 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Mobile subheadings (Commercial Real Estate & Business Brokerage) */
.mobile-subheading {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  padding: 4px 0 6px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  margin: 10px 0 6px 0 !important;
  display: block !important;
}

/* Mobile main menu link headings */
.mobile-link {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding: 10px 0 !important;
}

.mobile-link:hover,
.mobile-link.active,
.mobile-accordion-btn.active {
  color: #111827 !important;
  font-weight: 800 !important;
}

/* Desktop Active Navigation Links */
.nav-item-link.active {
  color: #111827 !important;
  background-color: #f3f4f6 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

.dropdown-link.active {
  background: #f1f5f9 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: none !important;
  border-left: none !important;
  padding-left: 12px !important;
}

/* Mobile Active Navigation Links */
.mobile-sublink {
  font-size: 0.9rem !important;
  color: #475569 !important;
  padding: 6px 10px !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: all 0.15s ease !important;
  display: block !important;
}

.mobile-sublink:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

.mobile-sublink.active {
  color: #0f172a !important;
  background: #f1f5f9 !important;
  font-weight: 700 !important;
  border: none !important;
  border-left: none !important;
  padding-left: 10px !important;
}

/* ==========================================================================
   GLOBAL CONTAINER DEFINITION (Ensures all pages & headers align cleanly)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   SINGLE BLOG POST - UNIFIED 2-COLUMN EDITORIAL & STICKY SIDEBAR
   ========================================================================== */
.single-post-page-wrapper {
  background: #fbfcfd;
  min-height: 100vh;
}

.single-post-breadcrumbs {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 14px 0;
  font-size: 0.86rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
}

.breadcrumb-nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
  color: #111827;
}

.breadcrumb-sep {
  color: #cbd5e1;
  font-size: 1.1em;
}

.breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

/* Unified Main Section with 2-Column Grid */
.single-post-section {
  padding: 44px 0 80px;
}

.single-post-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}

/* Left Main Column */
.single-post-main-col {
  min-width: 0; /* Prevents flex/grid overflow */
}

/* Article Header */
.article-header-block {
  margin-bottom: 24px;
}

.single-cat-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.single-post-h1 {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

/* Metadata Strip */
.single-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 28px;
}

.author-meta-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.author-meta-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

.author-meta-role {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: #94a3b8;
}

/* Featured Image Frame */
.single-featured-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 36px;
  background: #f1f5f9;
}

.single-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Editorial Article Content */
.single-entry-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
  word-break: break-word;
}

.single-entry-content p {
  margin-bottom: 24px;
}

.single-entry-content h2 {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  margin: 44px 0 18px;
  line-height: 1.32;
  padding-left: 14px;
  border-left: 4px solid #111827;
}

.single-entry-content h3 {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px;
  line-height: 1.38;
}

.single-entry-content h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px;
}

.single-entry-content ul,
.single-entry-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.single-entry-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.single-entry-content strong {
  color: #0f172a;
}

.single-entry-content a {
  color: #111827;
  text-decoration: underline;
  font-weight: 600;
}

.single-entry-content a:hover {
  color: #4b5563;
}

.single-entry-content blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  background: #f8fafc;
  border-left: 4px solid #111827;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
}

.single-entry-content img,
.single-entry-content figure {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 24px 0;
}

.single-entry-content figure {
  margin-left: 0;
  margin-right: 0;
}

/* Tables in Content (Fully Responsive with horizontal scroll) */
.single-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-entry-content th,
.single-entry-content td {
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
}

.single-entry-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.single-entry-content tr:nth-child(even) td {
  background: #fafbfc;
}

/* Table of Contents Box */
.single-entry-content #ez-toc-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.single-entry-content #ez-toc-container ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.single-entry-content #ez-toc-container li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.single-entry-content #ez-toc-container a {
  color: #111827;
  text-decoration: none;
}

.single-entry-content #ez-toc-container a:hover {
  text-decoration: underline;
}

/* In-Article Callout */
.post-advisory-callout {
  margin: 44px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.callout-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.callout-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.btn-callout-action {
  display: inline-block;
  white-space: nowrap;
  background: #ffffff;
  color: #111827;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-callout-action:hover {
  background: #f3f4f6; color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Author Bio Card */
.post-author-bio-card {
  margin: 48px 0 36px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bio-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #f3f4f6;
}

.bio-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.bio-role {
  font-size: 0.84rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 10px;
}

.bio-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Single Post Prev/Next Nav */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-nav-item:hover {
  border-color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.nav-direction {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 6px;
}

.nav-post-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.post-nav-next {
  text-align: right;
}

/* ==========================================================================
   STICKY SIDEBAR (Right Column)
   ========================================================================== */
.single-post-sidebar-col {
  position: relative;
  min-width: 0;
}

.sidebar-sticky-inner {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  z-index: 20 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-height: calc(100vh - 110px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.15) transparent !important;
}

/* Card General */
.sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Sidebar Lead Form Card */
.sidebar-form-card {
  border-top: 4px solid #111827;
}

.sidebar-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.sidebar-title {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.sidebar-desc {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.sidebar-lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.sidebar-input,
.sidebar-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-input:focus,
.sidebar-select:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.btn-sidebar-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #111827;
  color: #ffffff;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 4px;
}

.btn-sidebar-submit:hover {
  background: #000000;
  transform: translateY(-1px);
}

.sidebar-disclaimer {
  text-align: center;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: -4px;
}

.sidebar-call-prompt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
  font-size: 0.84rem;
  color: #64748b;
}

.sidebar-call-prompt a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}

.sidebar-call-prompt a:hover {
  color: #000000; text-decoration: underline;
}

/* Sidebar Recent Posts Card */
.sidebar-heading {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}

.sidebar-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-post-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: center;
}

.sidebar-post-thumb {
  width: 70px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-info {
  flex-grow: 1;
  min-width: 0;
}

.sidebar-post-date {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 3px;
}

.sidebar-post-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.sidebar-post-item:hover .sidebar-post-title {
  color: #000000; text-decoration: underline;
}

/* Sidebar Free Books & Guides Card */
.sidebar-guide-card {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid #cbd5e1;
}

.guide-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.guide-title {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.guide-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.btn-guide-link {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.btn-guide-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RELATED POSTS SECTION (Bottom)
   ========================================================================== */
.single-related-section {
  padding: 60px 0 80px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.related-section-header {
  margin-bottom: 36px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 6px;
}

.section-h2 {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.related-post-thumb {
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}

.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumb img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-post-cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111827;
  margin-bottom: 8px;
}

.related-post-title {
  font-family: var(--font-display, 'Cabin', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.related-post-title a {
  color: #0f172a;
  text-decoration: none;
}

.related-post-title a:hover {
  color: #4b5563;
}

.related-post-excerpt {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.related-read-more {
  font-size: 0.84rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVENESS FOR SINGLE POST
   ========================================================================== */
/* Laptops & Tablets (769px to 1100px): KEEP 2 COLUMNS AND STICKY SIDEBAR */
@media (max-width: 1100px) and (min-width: 769px) {
  .single-post-layout-grid {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 24px !important;
  }
  .sidebar-sticky-inner {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  z-index: 20 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-height: calc(100vh - 110px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.15) transparent !important;
}
}

/* Mobile Screens Only (<= 768px): Stack columns */
@media (max-width: 768px) {
  .single-post-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .sidebar-sticky-inner {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  z-index: 20 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-height: calc(100vh - 110px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0,0,0,0.15) transparent !important;
}
  .related-posts-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .single-post-h1 {
    font-size: 1.75rem;
  }
  .single-meta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-advisory-callout {
    flex-direction: column;
    padding: 22px 18px;
    text-align: left;
  }
  .post-author-bio-card {
    flex-direction: column;
    padding: 22px 18px;
  }
  .single-post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav-next {
    text-align: left;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STICKY SIDEBAR FIX & REMOVE AUTHOR BIO
   ========================================================================== */
html, body {
  overflow-x: clip !important;
}

body.single-post,
body.single,
.single-post-page-wrapper,
.single-post-section {
  overflow: visible !important;
}

@media (min-width: 992px) {
  .single-post-layout-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 48px !important;
    align-items: stretch !important;
  }
  .single-post-sidebar-col {
    position: relative !important;
    height: 100% !important;
    align-self: stretch !important;
  }
  .sidebar-sticky-inner {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 96px !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0,0,0,0.15) transparent !important;
  }
}

@media (max-width: 991px) {
  .single-post-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    width: 100% !important;
  }
  .single-post-main-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .single-post-sidebar-col {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    height: auto !important;
    margin-top: 30px !important;
  }
  .sidebar-sticky-inner {
    position: static !important;
    top: auto !important;
    z-index: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
  }
}

/* Hide author box completely */
.elementor-widget-author-box,
.elementor-author-box,
.post-author-bio-card {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}


/* ==========================================================================
   SUCCESS STORIES - SINGLE STORY & MAP EMBEDS
   ========================================================================== */
.story-deal-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.deal-snapshot-item {
  display: flex;
  flex-direction: column;
}

.deal-snapshot-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 3px;
}

.deal-snapshot-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.map-embed-wrapper iframe {
  width: 100%;
  border: 0;
  display: block;
}

.story-ordered-list,
.story-bullet-list {
  margin: 20px 0;
  padding-left: 24px;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-ordered-list li,
.story-bullet-list li {
  margin-bottom: 10px;
}
