.buyers-box {
  transition: transform .3s ease, box-shadow .3s ease;
}
.buyers-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  cursor: pointer;
}
/* 🌐 ABOUT SECTION TABLET LAYOUT FIX */
@media (max-width: 1024px) and (min-width: 768px) {

  /* Overall section padding for tablet */
  #about-section {
    padding: 30px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Heading (ABOUT MARCELA) spacing adjustment */
  #about-section h2 {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  /* Paragraph styling — tighter line spacing */
  #about-section p {
    margin-top: 0 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Image styling — smaller, centered, rounded */
  #about-section img {
    width: 70% !important;
    max-width: 320px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    margin: 15px auto !important;
    display: block !important;
    object-fit: cover !important;
  }

}
body, html {
    margin: 0 !important;
    padding: 0 !important;
}

header, .elementor-location-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.elementor-section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Remove Astra header bottom border / divider */
.main-header-bar,
.ast-primary-header-bar,
.site-header {
  border-bottom: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove page top spacing */
#content,
.site-content,
.page-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove possible section gap (Elementor first section) */
.elementor-section.elementor-top-section:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Handle sticky or transparent header */
.ast-header-break-point .main-header-bar {
  border: none !important;
  box-shadow: none !important;
}
#toc_container, 
.lwptoc_i, 
.toc-widget, 
.toc_title, 
.toc_list li a {
    color: #FFD700 !important;       /* Golden Text */
}

#toc_container {
    border: 2px solid #FFD700 !important;   /* Golden Border */
    background-color: rgba(255, 215, 0, 0.05); /* Light Golden BG */
}

#toc_container .toc_title {
    color: #FFD700 !important;
    font-weight: bold;
}
/* Buying Process page se sirf menu hide karo, logo nahi */
body.page-id-2357 header nav,
body.page-id-2357 header .menu,
body.page-id-2357 header .elementor-nav-menu,
body.page-id-2357 header .main-navigation {
    display: none !important;
}
/* Buying Process page se sirf menu hide karo, logo nahi */
body.page-id-2357 header nav,
body.page-id-2357 header .menu,
body.page-id-2357 header .elementor-nav-menu,
body.page-id-2357 header .main-navigation {
    display: none !important;
}
/* Hide menu ONLY on Page ID 2415 */
body.page-id-2415 header nav,
body.page-id-2415 header .elementor-nav-menu,
body.page-id-2415 header .main-navigation,
body.page-id-2415 header .site-navigation,
body.page-id-2415 header .menu,
body.page-id-2415 header .header-menu {
    display: none !important;
}
/* Hide only the navbar menu on page ID 2396 */
body.page-id-2396 .main-header-menu,
body.page-id-2396 .main-header-bar-navigation,
body.page-id-2396 .ast-main-header-bar .ast-container > .ast-flex {
    display: none !important;
}

/* Keep logo area visible */
body.page-id-2396 .site-branding,
body.page-id-2396 .custom-logo-link,
body.page-id-2396 .ast-site-identity {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Sirf Smart Financial Strategies page par logo ko center karo */
body.page-id-2396 .ast-main-header-bar .ast-container {
    display: flex;
    justify-content: center !important;  /* center horizontally */
    align-items: center;
}

/* Logo ko beech me rakhne ke liye */
body.page-id-2396 .ast-main-header-bar .site-branding,
body.page-id-2396 .ast-main-header-bar .custom-logo-link {
    margin: 0 auto !important;
    text-align: center;
}
/* Sirf Smart Financial Strategies page par logo ko center karo */
body.page-id-2396 .ast-main-header-bar .ast-container {
    display: flex;
    justify-content: center !important;  /* center horizontally */
    align-items: center;
}

/* --- Smart Financial Strategies page only (ID: 2396) --- */

/* Menu hide karo sirf is page pe */
body.page-id-2396 .main-header-bar .main-header-bar-navigation,
body.page-id-2396 .main-header-bar .ast-main-header-bar-alignment,
body.page-id-2396 .main-header-bar .main-header-menu {
    display: none !important;
}

/* Header container ko flex bana kar center align karo */
body.page-id-2396 .main-header-bar .ast-container {
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
}

/* Logo / site identity ko beech me laao */
body.page-id-2396 .main-header-bar .site-branding,
body.page-id-2396 .main-header-bar .ast-site-identity,
body.page-id-2396 .main-header-bar .custom-logo-link {
    margin: 0 auto !important;
    text-align: center;
}
/* ---------------------------
   CENTER LOGO + HIDE MENU
   JUST THESE TWO PAGES:
   - Smart Financial Strategies (ID:2396)
   - Buying Process (ID:2357)
-----------------------------*/

/* Hide menu */
body.page-id-2396 .main-header-bar .main-header-menu,
body.page-id-2357 .main-header-bar .main-header-menu {
    display: none !important;
}

/* Center logo container */
body.page-id-2396 .main-header-bar .ast-container,
body.page-id-2357 .main-header-bar .ast-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Center logo itself */
body.page-id-2396 .site-branding,
body.page-id-2357 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
}

/* Hide right-side icons on these pages */
body.page-id-2396 .main-header-bar .ast-header-custom-item,
body.page-id-2357 .main-header-bar .ast-header-custom-item {
    display: none !important;
}
/* -----------------------------------------
/* -----------------------------------------
/* ==========================
   HIDE MENU – KEEP LOGO
   ========================== */

/* Smart Financial Strategies (2396) */
body.page-id-2396 .main-header-bar .main-header-menu {
    display: none !important;
}

/* Buying Process (2357) */
body.page-id-2357 .main-header-bar .main-header-menu {
    display: none !important;
}

/* Key Details (2432) */
body.page-id-2432 .main-header-bar .main-header-menu {
    display: none !important;
}

/* (Optional) Center logo only on hidden-menu pages */
body.page-id-2396 .main-header-bar .ast-container,
body.page-id-2357 .main-header-bar .ast-container,
body.page-id-2432 .main-header-bar .ast-container {
    justify-content: center !important;
}

/* Make sure logo stays centered */
body.page-id-2396 .site-branding,
body.page-id-2357 .site-branding,
body.page-id-2432 .site-branding {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ===============================
   CRUCIAL PROPERTY INSIGHTS PAGE
   HIDE MENU + CENTER LOGO
   PAGE ID: 2461
   =============================== */

/* Hide menu only */
body.page-id-2461 .main-header-bar .main-header-menu,
body.page-id-2461 .main-header-menu {
    display: none !important;
}

/* Center the logo */
body.page-id-2461 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

/* Center header container so logo aligns perfectly */
body.page-id-2461 .main-header-bar .ast-container {
    display: flex;
    justify-content: center;
}
/* Home Buyer Checklist page (ID:2466) – hide menu only */
body.page-id-2466 .main-header-bar .main-header-menu,
body.page-id-2466 .main-header-menu {
    display: none !important;
}

/* Logo center sirf is page pe */
body.page-id-2466 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

body.page-id-2466 .main-header-bar .ast-container {
    display: flex;
    justify-content: center;
}
/* ======================================
   BUYER GUIDE INNER PAGES
   Menu Hide + Logo Center
   Pages: 2468, 2473, 2478, 2483, 2505, 2511
   ====================================== */

/* ---- MENU HIDE ---- */
body.page-id-2468 .main-header-menu,
body.page-id-2473 .main-header-menu,
body.page-id-2478 .main-header-menu,
body.page-id-2483 .main-header-menu,
body.page-id-2505 .main-header-menu,
body.page-id-2511 .main-header-menu {
    display: none !important;
}

/* ---- LOGO CENTER ---- */
body.page-id-2468 .site-branding,
body.page-id-2473 .site-branding,
body.page-id-2478 .site-branding,
body.page-id-2483 .site-branding,
body.page-id-2505 .site-branding,
body.page-id-2511 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
}

/* ---- HEADER CONTAINER CENTER ---- */
body.page-id-2468 .main-header-bar .ast-container,
body.page-id-2473 .main-header-bar .ast-container,
body.page-id-2478 .main-header-bar .ast-container,
body.page-id-2483 .main-header-bar .ast-container,
body.page-id-2505 .main-header-bar .ast-container,
body.page-id-2511 .main-header-bar .ast-container {
    display: flex !important;
    justify-content: center !important;
}
/* Center logo only on Property Exploration page */
body.page-id-2415 .main-header-bar .ast-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body.page-id-2415 .site-branding {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

body.page-id-2415 .main-header-menu {
    justify-content: center !important;
}
.offcanvas-menu {
    background: #fff !important;
    padding: 30px;
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}

.offcanvas-menu a {
    font-size: 18px;
    color: #333 !important;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: block;
    font-weight: 600;
}

.offcanvas-menu a:hover {
    color: #e63946 !important;
    padding-left: 10px;
    transition: 0.3s;
}
/* ================================
   PREMIUM SUB-MENU (FONT SIZE 14PX)
   Only dropdown items — main menu NOT affected
   ================================ */

/* Desktop Submenu */
.main-header-menu .sub-menu .menu-link {
    font-size: 14px !important;
    font-weight: 600;
    padding: 6px 10px !important;
    line-height: 1.3;
    border-bottom: 1px solid #eee;
    display: block;
    transition: 0.25s ease;
}

/* Remove last border */
.main-header-menu .sub-menu li:last-child .menu-link {
    border-bottom: none !important;
}

/* Hover effect */
.main-header-menu .sub-menu .menu-link:hover {
    padding-left: 14px !important;
    color: #e63946 !important;
}



/* ================================
   OFF-CANVAS (Mobile Sidebar) SUB-MENU ONLY
   ================================ */

.ast-mobile-popup-drawer .sub-menu .menu-link {
    font-size: 14px !important;
    font-weight: 600;
    padding: 6px 10px !important;
    border-bottom: 1px solid #e5e5e5;
}

.ast-mobile-popup-drawer .sub-menu li:last-child .menu-link {
    border-bottom: none !important;
}

.ast-mobile-popup-drawer .sub-menu .menu-link:hover {
    padding-left: 12px !important;
    color: #e63946 !important;
}
/* Communities page header ko Home jaisa overlay bana do */
@media (min-width: 921px) {

  /* Header background hatao + image ke upar overlay karo */
  body.page-id-31388 .main-header-bar {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Content ka upar wala gap hatao */
  body.page-id-31388 .site-content,
  body.page-id-31388 .site-main,
  body.page-id-31388 .ast-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
.transparent-header .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
}
.page-id-31388 .elementor-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* BUYER dropdown list ko slim karo – ASTRA selectors */

/* Dropdown ka overall box */
.main-header-menu .sub-menu,
.ast-builder-menu-1 .sub-menu,
.ast-builder-menu-2 .sub-menu {
    padding: 0 !important;
    margin-top: 0 !important;      /* BUYER aur list ke beech gap kam */
    min-width: 230px !important;   /* dropdown ki width – chahe to 210 bhi kar sakti ho */
}

/* Har item ka padding / height kam */
.main-header-menu .sub-menu .menu-link,
.ast-builder-menu-1 .sub-menu .menu-link,
.ast-builder-menu-2 .sub-menu .menu-link,
.main-header-menu .sub-menu a {
    padding: 4px 12px !important;  /* upar-neeche 4px – items patle ho jayen */
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* Items ke darmiyan extra gap hatao */
.main-header-menu .sub-menu li,
.ast-builder-menu-1 .sub-menu li,
.ast-builder-menu-2 .sub-menu li {
    margin: 0 !important;
}
/* BUYER dropdown width fix */
.main-header-menu .sub-menu,
.ast-builder-menu-1 .sub-menu,
.ast-builder-menu-2 .sub-menu {
    width: auto !important;
    min-width: 180px !important;    /* Dropdown ki width kam */
    max-width: 200px !important;    /* Safe width limit */
    padding: 0 !important;
}

/* Submenu ke andar text ke around spacing */
.main-header-menu .sub-menu a,
.ast-builder-menu-1 .sub-menu a,
.ast-builder-menu-2 .sub-menu a {
    padding: 6px 10px !important;    /* top/bottom, left/right */
    font-size: 13px !important;
}
/* Buyer Dropdown — Search bar ke upar rahe without breaking menu */
.ast-desktop .main-header-menu .sub-menu {
    position: absolute !important;
    z-index: 9999 !important;
    top: 100% !important;  /* ALWAYS buyer ke neeche hi open hogi */
    left: 0 !important;
}
/* Hide menu only on this page */
.page-showings-open-houses nav,
.page-showings-open-houses .main-navigation,
.page-showings-open-houses .menu {
    display: none !important;
}

/* Center logo only on this page */
.page-showings-open-houses .site-branding,
.page-showings-open-houses .custom-logo-link,
.page-showings-open-houses .site-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
}
/* ===========================
   HEADER: sirf logo, no menu
   Home Seller Checklist (ID: 645)
   =========================== */

.page-id-645 header#masthead .main-header-bar-navigation,
.page-id-645 header#masthead .ast-mobile-menu-buttons {
    display: none !important;   /* menu + mobile icons hide */
}

.page-id-645 header#masthead .main-header-bar .ast-container {
    justify-content: center !important;  /* logo ko center lane ke liye */
}

.page-id-645 header#masthead .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
}
/* Hide header menu & center logo for Selling Process page */
.page-id-3434 header#masthead .main-header-bar-navigation,
.page-id-3434 header#masthead .ast-desktop-toggle-buttons,
.page-id-3434 header#masthead .ast-mobile-menu-buttons,
.page-id-3434 header#masthead .ast-builder-menu-1,
.page-id-3434 header#masthead .ast-builder-menu-2 {
    display: none !important;
}

.page-id-3434 header#masthead .ast-container {
    justify-content: center !important;
}

.page-id-3434 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
}
/* ===========================
   HEADER: Sirf Logo, No Menu
   Apply on Multiple Pages
   =========================== */

.page-id-3508 header#masthead .main-header-bar-navigation,
.page-id-3498 header#masthead .main-header-bar-navigation,
.page-id-3493 header#masthead .main-header-bar-navigation,
.page-id-3485 header#masthead .main-header-bar-navigation,
.page-id-3476 header#masthead .main-header-bar-navigation,
.page-id-3470 header#masthead .main-header-bar-navigation,
.page-id-3463 header#masthead .main-header-bar-navigation,
.page-id-3594 header#masthead .main-header-bar-navigation,
.page-id-3586 header#masthead .main-header-bar-navigation,
.page-id-3600 header#masthead .main-header-bar-navigation,
.page-id-3610 header#masthead .main-header-bar-navigation,
.page-id-3616 header#masthead .main-header-bar-navigation,

.page-id-3508 header#masthead .ast-desktop-toggle-buttons,
.page-id-3498 header#masthead .ast-desktop-toggle-buttons,
.page-id-3493 header#masthead .ast-desktop-toggle-buttons,
.page-id-3485 header#masthead .ast-desktop-toggle-buttons,
.page-id-3476 header#masthead .ast-desktop-toggle-buttons,
.page-id-3470 header#masthead .ast-desktop-toggle-buttons,
.page-id-3463 header#masthead .ast-desktop-toggle-buttons,
.page-id-3594 header#masthead .ast-desktop-toggle-buttons,
.page-id-3586 header#masthead .ast-desktop-toggle-buttons,
.page-id-3600 header#masthead .ast-desktop-toggle-buttons,
.page-id-3610 header#masthead .ast-desktop-toggle-buttons,
.page-id-3616 header#masthead .ast-desktop-toggle-buttons,

.page-id-3508 header#masthead .ast-mobile-menu-buttons,
.page-id-3498 header#masthead .ast-mobile-menu-buttons,
.page-id-3493 header#masthead .ast-mobile-menu-buttons,
.page-id-3485 header#masthead .ast-mobile-menu-buttons,
.page-id-3476 header#masthead .ast-mobile-menu-buttons,
.page-id-3470 header#masthead .ast-mobile-menu-buttons,
.page-id-3463 header#masthead .ast-mobile-menu-buttons,
.page-id-3594 header#masthead .ast-mobile-menu-buttons,
.page-id-3586 header#masthead .ast-mobile-menu-buttons,
.page-id-3600 header#masthead .ast-mobile-menu-buttons,
.page-id-3610 header#masthead .ast-mobile-menu-buttons,
.page-id-3616 header#masthead .ast-mobile-menu-buttons,

.page-id-3508 header#masthead .ast-builder-menu-1,
.page-id-3498 header#masthead .ast-builder-menu-1,
.page-id-3493 header#masthead .ast-builder-menu-1,
.page-id-3485 header#masthead .ast-builder-menu-1,
.page-id-3476 header#masthead .ast-builder-menu-1,
.page-id-3470 header#masthead .ast-builder-menu-1,
.page-id-3463 header#masthead .ast-builder-menu-1,
.page-id-3594 header#masthead .ast-builder-menu-1,
.page-id-3586 header#masthead .ast-builder-menu-1,
.page-id-3600 header#masthead .ast-builder-menu-1,
.page-id-3610 header#masthead .ast-builder-menu-1,
.page-id-3616 header#masthead .ast-builder-menu-1,

.page-id-3508 header#masthead .ast-builder-menu-2,
.page-id-3498 header#masthead .ast-builder-menu-2,
.page-id-3493 header#masthead .ast-builder-menu-2,
.page-id-3485 header#masthead .ast-builder-menu-2,
.page-id-3476 header#masthead .ast-builder-menu-2,
.page-id-3470 header#masthead .ast-builder-menu-2,
.page-id-3463 header#masthead .ast-builder-menu-2,
.page-id-3594 header#masthead .ast-builder-menu-2,
.page-id-3586 header#masthead .ast-builder-menu-2,
.page-id-3600 header#masthead .ast-builder-menu-2,
.page-id-3610 header#masthead .ast-builder-menu-2,
.page-id-3616 header#masthead .ast-builder-menu-2 {
    display: none !important;
}

/* Center Logo on All Target Pages */
.page-id-3508 header#masthead .ast-container,
.page-id-3498 header#masthead .ast-container,
.page-id-3493 header#masthead .ast-container,
.page-id-3485 header#masthead .ast-container,
.page-id-3476 header#masthead .ast-container,
.page-id-3470 header#masthead .ast-container,
.page-id-3463 header#masthead .ast-container,
.page-id-3594 header#masthead .ast-container,
.page-id-3586 header#masthead .ast-container,
.page-id-3600 header#masthead .ast-container,
.page-id-3610 header#masthead .ast-container,
.page-id-3616 header#masthead .ast-container {
    justify-content: center !important;
}

.page-id-3508 .site-branding,
.page-id-3498 .site-branding,
.page-id-3493 .site-branding,
.page-id-3485 .site-branding,
.page-id-3476 .site-branding,
.page-id-3470 .site-branding,
.page-id-3463 .site-branding,
.page-id-3594 .site-branding,
.page-id-3586 .site-branding,
.page-id-3600 .site-branding,
.page-id-3610 .site-branding,
.page-id-3616 .site-branding {
    margin: 0 auto !important;
    text-align: center !important;
}
/* 🔴 Full search bar line = #c20f0f */

.elementor-widget-search-form .elementor-search-form__container,
.elementor-widget-search-form .elementor-search-form__input,
.elementor-widget-search-form .elementor-search-form__submit {
    background-color: #c20f0f !important;
    border-color: #c20f0f !important;
    color: #ffffff !important;
}

/* Placeholder text white */
.elementor-widget-search-form .elementor-search-form__input::placeholder {
    color: #ffffff !important;
}

/* Remove extra borders / shadow */
.elementor-widget-search-form .elementor-search-form__input,
.elementor-widget-search-form .elementor-search-form__submit {
    border: none !important;
    box-shadow: none !important;
}
/* 🔴 Full Ajax Search Lite bar background */
div.ajaxsearchlite,
div.ajaxsearchlite .probox,
div.ajaxsearchlite .proinput input {
    background-color: #c20f0f !important;
    border-color: #c20f0f !important;
}

/* Input text color */
div.ajaxsearchlite .proinput input {
    color: #ffffff !important;
}

/* Placeholder color */
div.ajaxsearchlite .proinput input::placeholder {
    color: #ffffff !important;
}

/* Search icon button */
div.ajaxsearchlite .probox .promagnifier {
    background-color: #c20f0f !important;
    border: none !important;
}
/* COMMUNITY SIDEBAR LIST FIX */
.ast-sidebar .widget ul,
.ast-sidebar .widget .menu,
.ast-sidebar .widget .sub-menu {
    max-height: 320px;   /* List ki height control */
    overflow-y: auto;    /* Scroll auto */
    padding-right: 10px; /* Scroll ke liye thodi space */
}
/* Fix search bar overlapping mobile menu */
.ast-mobile-header-wrap {
    z-index: 99999 !important;
}

.search-field,
.search-form,
.ast-search-menu-icon {
    z-index: 1 !important;
    position: relative !important;
}
/* Hide Elementor search bar when Astra mobile menu is open */
.ast-mobile-header-content-active .elementor-search-form,
.ast-mobile-header-content-active .elementor-widget-search,
.ast-mobile-header-content-active .elementor-widget-container .elementor-search-form {
    display: none !important;
}
.hide-menu-post header, 
.hide-menu-post .site-header, 
.hide-menu-post nav {
    display: none !important;
}
.hide-menu-post header, 
.hide-menu-post .site-header, 
.hide-menu-post nav {
    display: none !important;
}
/* WPForms - all forms submit buttons */
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form input[type=submit]{
  background:#c20f0f !important;
  border-color:#c20f0f !important;
  color:#fff !important;
}

/* Hover */
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:hover{
  background:#9c0c0c !important;
  border-color:#9c0c0c !important;
}
/* Normal */
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form input[type=submit]{
  background:#c20f0f !important;
  border-color:#c20f0f !important;
  color:#fff !important;
}

/* Hover + Focus + Active (force override) */
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:focus,
div.wpforms-container-full .wpforms-form button[type=submit]:active,
div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:focus,
div.wpforms-container-full .wpforms-form input[type=submit]:active{
  background:#c20f0f !important;
  border-color:#c20f0f !important;
  color:#fff !important;
  box-shadow:none !important;
}

/* If theme adds :before/:after overlay */
div.wpforms-container-full .wpforms-form button[type=submit]::before,
div.wpforms-container-full .wpforms-form button[type=submit]::after,
div.wpforms-container-full .wpforms-form input[type=submit]::before,
div.wpforms-container-full .wpforms-form input[type=submit]::after{
  background:transparent !important;
}
/* WPForms Submit Button - all forms */
div.wpforms-container-full .wpforms-form button[type=submit],
div.wpforms-container-full .wpforms-form input[type=submit]{
  background: #c20f0f !important;
  border-color: #c20f0f !important;
  color: #fff !important;
}

/* Hover */
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:hover{
  background: #a30c0c !important;
  border-color: #a30c0c !important;
}
/* ONLY these 3 WPForms submit buttons */
div.wpforms-container-full #wpforms-form-4335 button[type=submit],
div.wpforms-container-full #wpforms-form-4335 input[type=submit],
div.wpforms-container-full #wpforms-form-3553 button[type=submit],
div.wpforms-container-full #wpforms-form-3553 input[type=submit],
div.wpforms-container-full #wpforms-form-16 button[type=submit],
div.wpforms-container-full #wpforms-form-16 input[type=submit]{
  background-color: #c20f0f !important;
  border-color: #c20f0f !important;
  color: #ffffff !important;
}

/* Keep red on hover/focus too */
div.wpforms-container-full #wpforms-form-4335 button[type=submit]:hover,
div.wpforms-container-full #wpforms-form-4335 input[type=submit]:hover,
div.wpforms-container-full #wpforms-form-3553 button[type=submit]:hover,
div.wpforms-container-full #wpforms-form-3553 input[type=submit]:hover,
div.wpforms-container-full #wpforms-form-16 button[type=submit]:hover,
div.wpforms-container-full #wpforms-form-16 input[type=submit]:hover,
div.wpforms-container-full #wpforms-form-4335 button[type=submit]:focus,
div.wpforms-container-full #wpforms-form-3553 button[type=submit]:focus,
div.wpforms-container-full #wpforms-form-16 button[type=submit]:focus{
  background-color: #c20f0f !important;
  border-color: #c20f0f !important;
  color: #ffffff !important;
}
/* Mobile-only: remove right white strip / horizontal scroll */
@media (max-width: 767px){
  html, body{
    width:100% !important;
    overflow-x:hidden !important;
  }

  *{ max-width:100vw; }

  img, iframe, video{
    max-width:100% !important;
    height:auto !important;
  }

  .ast-off-canvas-overlay,
  .ast-mobile-popup-drawer,
  .ast-off-canvas-menu-wrap{
    max-width:100vw !important;
    overflow-x:hidden !important;
  }
}
/* Hide HEADER LOGO on BLOG POSTS only (menu stays visible) */
.single-post .site-branding,
.single-post .custom-logo-link,
.single-post .ast-site-identity {
  display: none !important;
}
.archive .site-content,
.blog .site-content{
  padding-top: 60px;
}
.entry-meta .author-name:before {
  content: "Published by ";
}
/* Single blog posts par logo replace */
.single-post .site-logo-img{
  content: url("https://amador-realestate.com/wp-content/uploads/2026/01/WhatsApp-Image-2026-01-04-at-9.03.26-AM-1.jpeg") !important;
}
