/* IG Theme Config - Custom Styles v10.6 */

/* === HEADER BRANDING === */
.site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.site-branding .custom-logo-link,
.site-branding .site-logo-image,
.site-branding .logo-link,
#main-header .site-branding img:not(.custom-logo-fallback) {
  display: none !important;
}
.site-branding .site-title-wrap {
  display: block !important;
}
.site-branding .site-title {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  letter-spacing: 7px !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
}
.site-branding .site-title a {
  color: #5A5347 !important;
  text-decoration: none !important;
}
.site-branding .site-description {
  display: none !important;
}
.site-branding .site-title::after {
  content: "AT DOUGLAS ELLIMAN REAL ESTATE";
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #5A5347;
  margin-top: 4px;
  white-space: nowrap;
}

/* === HEADER === */
.site-header .site-branding img.custom-logo {
  max-height: 40px;
  width: auto;
}
#main-header .site-header-wrap {
  padding: 8px 0;
}
/* Fix nav menu link colors */
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.header-navigation .header-menu-container > ul > li.menu-item > a,
#main-header .primary-menu-container > ul > li.menu-item > a {
  color: #3D3530 !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  font-size: 13px !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#main-header .primary-menu-container > ul > li.menu-item > a:hover {
  color: #B09570 !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
#main-header .primary-menu-container > ul > li.menu-item.current-menu-item > a {
  color: #B09570 !important;
}
/* Rounded header buttons — Alligood Group style */
#main-header .header-html,
#main-header .header-html p {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
/* Header right actions container */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-signin-link {
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5A5347 !important;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}
.header-signin-link:hover {
  color: #3E7A8C !important;
}
#main-header .header-html a.header-phone-btn {
  color: #fff !important;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 24px !important;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
  background: #B09570 !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}
#main-header .header-html a.header-phone-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === VIDEO HERO === */
.hero-video-section,
.video-hero-section {
  position: relative;
  width: 100%;
  height: 55vh;
  margin-left: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-video-section video,
.video-hero-section video {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay,
.video-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.hero-de-logo img {
  display: block !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) brightness(1.15);
  max-height: 60px !important;
  width: auto !important;
  opacity: 1 !important;
}
.hero-video-content,
.video-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-de-logo,
.hero-bottom-content,
.hero-agent-brand {
  width: 100% !important;
  align-self: stretch !important;
  text-align: center !important;
}
.hero-video-content h1,
.video-hero-content h1 {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.hero-video-content p,
.video-hero-content p {
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #B09570;
  color: #fff;
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.hero-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === FIND YOUR NEXT HOME — Minimal Search === */
.has-palette-4-background-color:has([href="/buy/"]) .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === SEARCH BY LIFESTYLE — Editorial === */
.wp-block-group:has(.community-card):not(#new-developments):not(.has-palette-6-background-color) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === EXPLORE COMMUNITIES — Editorial === */
.has-palette-6-background-color:has(.community-card) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === FEATURED PROPERTIES — Editorial === */
.has-palette-6-background-color:has(.featured-properties-grid) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === WHY DOUGLAS ELLIMAN — Editorial === */
.has-palette-6-background-color:has(.wp-block-group.has-background) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === LOCAL LIFESTYLE BAR === */
.local-lifestyle-bar .wp-block-columns {
  display: flex !important;
  justify-content: center !important;
  gap: 0 !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.local-lifestyle-bar .wp-block-column {
  position: relative !important;
  padding: 0 24px !important;
}
.local-lifestyle-bar .wp-block-column div[style*="border-radius:50%"] {
  transition: all 0.3s ease;
}
.local-lifestyle-bar .wp-block-column:hover div[style*="border-radius:50%"] {
  border-color: #B09570 !important;
  background: rgba(176,149,112,0.08);
}

/* === LIFESTYLE CARDS — Magazine Hover + Symmetry === */
.community-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.community-card img {
  transition: transform 0.6s ease !important;
}
.community-card:hover img {
  transform: scale(1.05) !important;
}
.community-card > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.community-card > div:last-child > p {
  min-height: 48px !important;
}
.community-card > div:last-child > a:last-child,
.community-card > div:last-child > span:last-child {
  margin-top: auto !important;
}

/* === BLOG / INSIGHTS SECTION === */
.wp-block-group:has(.blog-grid) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.blog-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

/* === CTA VIDEO SECTION — Conversion Duo === */
.cta-video-section div[style*="gap"] a.hero-btn-primary {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  background: #B09570 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.cta-video-section div[style*="gap"] a.hero-btn-primary:hover {
  background: #9a8060 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}
.cta-video-section div[style*="gap"] a.hero-btn-secondary {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.cta-video-section div[style*="gap"] a.hero-btn-secondary:hover {
  background: #fff !important;
  color: #3D3530 !important;
  border-color: #fff !important;
  transform: scale(1.02) !important;
}
/* Fallback for unclassed CTA buttons */
.cta-video-section div[style*="gap"] a:not(.hero-btn-primary):not(.hero-btn-secondary) {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  display: inline-block !important;
  text-decoration: none !important;
}
.cta-video-section div[style*="gap"] a:not(.hero-btn-primary):not(.hero-btn-secondary):hover {
  background: #fff !important;
  color: #3D3530 !important;
  transform: scale(1.02) !important;
}

/* === GLOBAL: All card CTA links → proper buttons === */
.community-card > div:last-child > a:last-child {
  background: #B09570 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}
.community-card > div:last-child > a:last-child:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}
.service-card a:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}

/* === LOCAL LIFESTYLE BAR (legacy stat-item fallback) === */
.stat-item { text-align: center; }

/* === SECTION HEADINGS === */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #5A5347;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-heading .accent-line {
  width: 60px; height: 2px;
  background: #3E7A8C;
  margin: 0 auto;
}

/* Hide Home from desktop nav — accessible via logo click */
@media (min-width: 769px) {
  #main-header li.menu-item-27 {
    display: none !important;
  }
}

/* === HERO BUTTONS — Conversion Duo === */
/* Primary Button — Solid Gold Action */
.hero-bottom-content div[style*="gap"] a.hero-btn-primary,
.hero-bottom-content a.hero-btn-primary {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  background: #B09570 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.hero-bottom-content div[style*="gap"] a.hero-btn-primary:hover,
.hero-bottom-content a.hero-btn-primary:hover {
  background: #9a8060 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
  color: #fff !important;
}
/* Secondary Button — Ghost Explore */
.hero-bottom-content div[style*="gap"] a.hero-btn-secondary,
.hero-bottom-content a.hero-btn-secondary {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.hero-bottom-content div[style*="gap"] a.hero-btn-secondary:hover,
.hero-bottom-content a.hero-btn-secondary:hover {
  background: #fff !important;
  color: #3D3530 !important;
  border-color: #fff !important;
  transform: scale(1.02) !important;
}
/* Fallback for any unclassed hero buttons */
.hero-bottom-content div[style*="gap"] a:not(.hero-btn-primary):not(.hero-btn-secondary),
.hero-bottom-content a.wp-block-button__link:not(.hero-btn-primary):not(.hero-btn-secondary) {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease-in-out !important;
  text-decoration: none !important;
}
.hero-bottom-content div[style*="gap"] a:not(.hero-btn-primary):not(.hero-btn-secondary):hover,
.hero-bottom-content a.wp-block-button__link:not(.hero-btn-primary):not(.hero-btn-secondary):hover {
  background: #fff !important;
  color: #3D3530 !important;
  border-color: #fff !important;
  transform: scale(1.02) !important;
}
@media (min-width: 769px) {
  .hero-bottom-content div[style*="gap"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 16px !important;
    align-items: center !important;
  }
  .hero-de-logo {
    margin-bottom: 16px;
  }
  .hero-bottom-content {
    padding-bottom: 24px;
  }
}

/* === HAMBURGER MENU TOGGLE === */
.header-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  vertical-align: middle;
}
.header-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #5A5347;
  transition: all 0.3s;
}
.header-menu-toggle:hover span {
  background: #3E7A8C;
}

/* === KADENCE MOBILE MENU — white panel === */
.mobile-toggle-open .kadence-mobile-panel,
.kadence-mobile-panel,
#mobile-drawer .drawer-inner,
#mobile-drawer,
.popup-drawer .drawer-inner,
.popup-drawer {
  background: #fff !important;
  color: #5A5347 !important;
}
#mobile-drawer .drawer-header,
.popup-drawer .drawer-header {
  background: #fff !important;
}
#mobile-drawer .mobile-drawer-nav a,
.popup-drawer .drawer-navigation a,
#mobile-drawer a {
  color: #5A5347 !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}
#mobile-drawer .mobile-drawer-nav a:hover,
.popup-drawer .drawer-navigation a:hover {
  color: #3E7A8C !important;
}
#mobile-drawer .drawer-header .drawer-toggle,
.popup-drawer .drawer-header .drawer-toggle {
  color: #5A5347 !important;
}
#mobile-drawer .drawer-header .drawer-toggle svg,
.popup-drawer .drawer-header .drawer-toggle svg {
  color: #5A5347 !important;
  fill: #5A5347 !important;
}

/* === MEGA MENU OVERLAY === */
.ig-mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: #F8F6F3;
  z-index: 99999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.ig-mega-menu.open {
  opacity: 1;
  visibility: visible;
}
.ig-mega-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 40px;
  position: relative;
}
.ig-mega-brand {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #3D3530;
  margin: 0;
}
.ig-mega-close {
  position: absolute;
  right: 40px;
  top: 28px;
  background: none;
  border: none;
  font-size: 32px;
  color: #5A5347;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.ig-mega-close:hover {
  color: #B09570;
}
.ig-mega-body {
  display: flex;
  flex: 1;
  padding: 0 40px 40px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.ig-mega-photo {
  flex: 0 0 35%;
  max-width: 400px;
  border-radius: 4px;
  overflow: hidden;
}
.ig-mega-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.ig-mega-nav {
  flex: 1;
  display: flex;
  gap: 60px;
  padding-top: 20px;
}
.ig-mega-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ig-mega-link-main {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 22px;
  font-weight: 500;
  color: #3D3530;
  text-decoration: none;
  margin-top: 20px;
  transition: color 0.2s;
}
.ig-mega-link-main:first-child {
  margin-top: 0;
}
.ig-mega-link-main:hover {
  color: #B09570;
}
.ig-mega-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
}
.ig-mega-group .ig-mega-link-main {
  margin-top: 0;
  margin-bottom: 6px;
}
.ig-mega-group a:not(.ig-mega-link-main) {
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8A8279;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 3px 0;
  transition: color 0.2s;
}
.ig-mega-group a:not(.ig-mega-link-main):hover {
  color: #B09570;
}
.ig-mega-footer {
  padding: 20px 40px 32px;
  text-align: center;
}
.ig-mega-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.ig-mega-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(90,83,71,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #5A5347;
  font-size: 16px;
  transition: all 0.2s;
}
.ig-mega-social a:hover {
  border-color: #B09570;
  color: #B09570;
}

/* Legacy slide-out kept for backwards compat */
.ig-slideout-panel {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ig-slideout-panel.open {
  right: 0;
}
.ig-slideout-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.slideout-open .ig-slideout-backdrop {
  opacity: 1;
  visibility: visible;
}
body.slideout-open {
  overflow: hidden;
}
.ig-slideout-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 24px 0;
}
.ig-slideout-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #5A5347;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.ig-slideout-close:hover {
  color: #3E7A8C;
}
.ig-slideout-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
}
.ig-slideout-nav a {
  color: #5A5347;
  text-decoration: none;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid #d4cfc8;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.ig-slideout-nav a:hover {
  color: #3E7A8C;
}
.ig-slideout-contact {
  padding: 24px 32px;
  margin-top: auto;
  border-top: 1px solid #d4cfc8;
}
.ig-slideout-phone {
  display: block;
  text-align: center;
  color: #5A5347;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #5A5347;
  border-radius: 50px;
  padding: 12px 24px;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.ig-slideout-phone:hover {
  background: #5A5347;
  color: #fff;
}
.ig-slideout-text {
  display: block;
  text-align: center;
  color: #5A5347;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid #5A5347;
  border-radius: 50px;
  padding: 12px 24px;
  margin-bottom: 12px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.ig-slideout-text:hover {
  background: #5A5347;
  color: #fff;
}
/* Unified CTA button class - base for all primary CTAs */
.cta-button {
  display: inline-block;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: #B09570;
  border: none;
  border-radius: 0;
  padding: 12px 28px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ig-slideout-cta {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: #B09570;
  border-radius: 50px;
  padding: 14px 24px;
  margin-bottom: 20px;
  transition: opacity 0.3s;
}
.ig-slideout-cta:hover {
  opacity: 0.9;
}
.ig-slideout-contact p {
  color: rgba(90,83,71,0.6);
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
  text-align: center;
}
.ig-slideout-contact p a {
  color: #3E7A8C;
  text-decoration: none;
}

/* === MOBILE CONTACT BAR === */
.ig-mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  background: #fff;
  border-top: 1px solid #d4cfc8;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  height: 56px;
  box-sizing: border-box;
}
.ig-mcb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #5A5347;
  flex: 1;
  gap: 2px;
}
.ig-mcb-item svg {
  width: 22px;
  height: 22px;
  color: #3E7A8C;
  stroke: #3E7A8C;
}
.ig-mcb-item span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5A5347;
}

/* === STRATEGIC ADVANTAGE SECTION === */
.wp-block-group:has(.service-card) {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}
.wp-block-group:has(.service-card) > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #5A5347 !important;
  margin-bottom: 16px !important;
}
.wp-block-group:has(.service-card) > .wp-block-columns {
  display: flex !important;
  gap: 32px !important;
  align-items: stretch !important;
}
.wp-block-group:has(.service-card) > .wp-block-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
}
.service-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0% !important;
  height: 100% !important;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.service-card img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  height: auto !important;
  max-height: 220px !important;
  border-radius: 8px 8px 0 0 !important;
  margin-bottom: 0 !important;
}
.service-card h3 {
  text-align: center !important;
  min-height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 24px 0 !important;
  margin: 0 !important;
  font-size: 20px;
  color: #5A5347;
}
.service-card p {
  text-align: center !important;
  max-width: 350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 24px !important;
  color: #5A5347;
  font-size: 15px;
  line-height: 1.6;
}
.service-card a {
  margin-top: auto !important;
  text-align: center !important;
  display: block !important;
  padding: 16px 24px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  background: #B09570 !important;
  border-radius: 4px !important;
  margin: 0 24px 24px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* === FEATURED PROPERTIES — IDX/REC Shell === */
.featured-properties-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.featured-property-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
/* Image container — forced 16:9 symmetry */
.featured-property-card .property-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.featured-property-card .property-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
/* Badge overlay — top left */
.featured-property-card .property-badge {
  position: absolute;
  top: 16px;
  left: 0;
  background: rgba(61,53,48,0.88);
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px 6px 12px;
  z-index: 2;
}
.featured-property-card .property-badge.gold {
  background: rgba(176,149,112,0.9);
}
/* Card content */
.featured-property-card .property-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Price — editorial serif */
.featured-property-card .property-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: #3D3530;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
/* Address — clean uppercase sans */
.featured-property-card .property-address {
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8279;
  margin: 0 0 16px;
  min-height: 36px;
  display: flex;
  align-items: flex-start;
}
/* Stats bar — beds | baths | sqft */
.featured-property-card .property-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  border-top: 1px solid #d4cfc8;
  border-bottom: 1px solid #d4cfc8;
  margin-bottom: 16px;
}
.featured-property-card .property-stats span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5A5347;
  flex: 1;
  text-align: center;
}
.featured-property-card .property-stats span:not(:last-child) {
  border-right: 1px solid #d4cfc8;
}
.featured-property-card .property-stats strong {
  font-weight: 600;
  color: #3D3530;
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
/* Ghost button — appears on hover */
.featured-property-card .property-link {
  margin-top: auto;
  text-align: center;
}
.featured-property-card .property-link a {
  display: inline-block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #B09570;
  border: none;
  padding: 10px 24px;
  transition: all 0.3s ease;
}
.featured-property-card:hover .property-link a {
  opacity: 0.9;
  transform: translateY(-1px);
}
.featured-property-card .property-link a:hover {
  background: #B09570;
  color: #fff;
  border-color: #B09570;
}

/* === IDX Broker / Real Estate Candy Widget Overrides === */
.IDX-showcaseContainer,
.IDX-showcase {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.IDX-showcaseContainer .IDX-showcaseCell {
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: none !important;
}
.IDX-showcaseContainer .IDX-showcaseCell:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}
.IDX-showcaseContainer .IDX-showcasePhoto img {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
}
.IDX-showcaseContainer .IDX-showcasePrice {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  color: #3D3530 !important;
  letter-spacing: 0.02em !important;
}
.IDX-showcaseContainer .IDX-showcaseAddress {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #8A8279 !important;
}
.IDX-showcaseContainer .IDX-showcaseBeds,
.IDX-showcaseContainer .IDX-showcaseBaths,
.IDX-showcaseContainer .IDX-showcaseSqFt {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  color: #5A5347 !important;
}
.IDX-showcaseContainer .IDX-showcaseDetails a,
.IDX-showcaseContainer a.IDX-showcaseLink {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  background: #B09570 !important;
  color: #B09570 !important;
  border: 1px solid #B09570 !important;
  border-radius: 0 !important;
  padding: 10px 24px !important;
  transition: all 0.3s ease !important;
}
.IDX-showcaseContainer .IDX-showcaseDetails a:hover,
.IDX-showcaseContainer a.IDX-showcaseLink:hover {
  background: #B09570 !important;
  color: #fff !important;
}

/* === NEW DEVELOPMENTS — Symmetrical Pro === */
#new-developments .wp-block-columns {
  display: flex !important;
  gap: 40px !important;
}
#new-developments .wp-block-column {
  display: flex !important;
  flex: 1 !important;
}
#new-developments .wp-block-column > a {
  display: flex !important;
  flex: 1 !important;
}
#new-developments .community-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
#new-developments .community-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}
/* Force 16:9 on placeholder hero images */
#new-developments .community-card > div:first-child {
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
}
/* Card content area */
#new-developments .community-card > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 28px !important;
}
/* Project name — serif */
#new-developments .community-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  min-height: 32px !important;
}
/* Metadata line — uppercase sans */
#new-developments .community-card > div:last-child > p:first-child {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #B09570 !important;
}
/* Price line — muted gold */
#new-developments .community-card > div:last-child > p:nth-child(3) {
  color: #8A8279 !important;
}
/* Description — clamp to 3 lines */
#new-developments .community-card > div:last-child > p:nth-child(4) {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 63px !important;
}
/* CTA link — ghost button pinned to bottom */
#new-developments .community-card > div:last-child > span:last-child {
  margin-top: auto !important;
  display: inline-block !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: #B09570 !important;
  border: none !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}
#new-developments .community-card:hover > div:last-child > span:last-child {
  background: #B09570 !important;
  color: #fff !important;
}
/* Section heading — serif treatment */
#new-developments > .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* === HERO SEARCH BAR === */
.hero-search-bar {
  width: 100%;
  max-width: 620px !important;
}
.hero-search-bar > div {
  background: rgba(255,255,255,0.12) !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
  border-radius: 4px !important;
  display: flex !important;
  backdrop-filter: blur(6px);
  padding: 10px 12px 10px 20px !important;
}
.hero-search-bar span {
  color: rgba(255,255,255,0.8) !important;
}
.hero-search-bar span[style*="border-radius:50%"] {
  border-radius: 4px !important;
}

/* === MEET IAN — Luxury Profile === */
.meet-ian-section {
  display: flex !important;
  min-height: 650px !important;
  overflow: hidden !important;
}
.meet-ian-photo {
  flex: 0 0 40% !important;
  max-width: 400px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}
.meet-ian-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}
.meet-ian-content {
  flex: 1 !important;
  background: linear-gradient(135deg, #e8e4df 0%, #F8F6F3 100%) !important;
  padding: 72px 56px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  color: #5A5347 !important;
}
.meet-ian-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: #3D3530 !important;
  margin: 0 0 8px !important;
}
.meet-ian-content .accent-line {
  width: 60px;
  height: 1px;
  background: #B09570;
  margin-bottom: 32px;
  opacity: 0.6;
}
.meet-ian-content .lead-paragraph {
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #5A5347 !important;
  margin-bottom: 24px !important;
}
.meet-ian-content .lead-paragraph strong {
  color: #3D3530 !important;
  font-weight: 600 !important;
}
.meet-ian-content .bio-text {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #5A5347 !important;
  margin-bottom: 20px !important;
}
.meet-ian-content .pull-quote {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 24px !important;
  font-style: italic !important;
  color: #B09570 !important;
  line-height: 1.5 !important;
  border-left: 2px solid rgba(176,149,112,0.4);
  padding-left: 20px;
  margin: 0 0 32px !important;
}
.meet-ian-content .bio-buttons {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 32px !important;
  margin-bottom: 28px !important;
}
.meet-ian-content .bio-buttons a {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 28px !important;
  min-width: 160px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  background: #B09570 !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
.meet-ian-content .bio-buttons a:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}
.meet-ian-content .bio-buttons a.primary-btn {
  background: #B09570 !important;
}
.meet-ian-content .bio-buttons a.primary-btn:hover {
  opacity: 0.9 !important;
}
.meet-ian-content .social-icons {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
.meet-ian-content .social-icons a {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(90,83,71,0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.meet-ian-content .social-icons a:hover {
  border-color: #B09570 !important;
  background: rgba(176,149,112,0.1) !important;
}
.meet-ian-content .social-icons a svg {
  width: 16px !important;
  height: 16px !important;
  fill: #5A5347 !important;
}
.meet-ian-content .social-icons a:hover svg {
  fill: #B09570 !important;
}
/* Font Awesome icons in social links */
.meet-ian-content .social-icons a i,
.meet-ian-content .social-icons a .fab,
.meet-ian-content .social-icons a .fa-brands {
  font-size: 16px !important;
  color: #5A5347 !important;
  line-height: 1 !important;
}
.meet-ian-content .social-icons a:hover i,
.meet-ian-content .social-icons a:hover .fab {
  color: #B09570 !important;
}

/* Knight Frank global badge */
.meet-ian-content .knight-frank-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(90,83,71,0.12) !important;
}
.meet-ian-content .knight-frank-badge span {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  color: rgba(90,83,71,0.45) !important;
  text-transform: uppercase !important;
}

/* === GENERAL === */
body {
  font-family: Georgia, "Times New Roman", serif;
  padding: 0 25px;
  background: #ffffff;
}
.site { background: #ffffff !important; }
.entry-content { overflow-x: hidden; }

/* === THE GREENEN EDGE — Card Hover + Icon Polish === */
.has-palette-6-background-color:has(.wp-block-group.has-background) .wp-block-group.has-background {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.has-palette-6-background-color:has(.wp-block-group.has-background) .wp-block-group.has-background:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
}
.has-palette-6-background-color:has(.wp-block-group.has-background) .wp-block-group.has-background div[style*="border-radius:50%"] {
  transition: all 0.3s ease;
}
.has-palette-6-background-color:has(.wp-block-group.has-background) .wp-block-group.has-background:hover div[style*="border-radius:50%"] {
  border-color: #B09570 !important;
  background: rgba(176,149,112,0.08) !important;
}

/* === CONTACT PAGE === */
.contact-page-bg{background:#F8F6F3;padding:80px 0 60px}
.contact-page-wrap{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;gap:48px;align-items:flex-start}
.contact-form-col{flex:1 1 55%;min-width:0}
.contact-info-col{flex:0 0 380px}
/* Form card — elevated white card on warm background */
.ghl-form-card{background:#fff;border-radius:8px;box-shadow:0 2px 20px rgba(0,0,0,0.06);padding:36px 32px;min-height:600px}
.ghl-form-card h2{font-family:'Cormorant Garamond',Georgia,serif !important;font-size:28px !important;font-weight:300 !important;letter-spacing:0.1em !important;text-transform:uppercase !important;color:#3D3530 !important;margin:0 0 8px !important}
.ghl-form-card .form-subtitle{font-family:Georgia,serif;font-size:14px;color:#8A8279;margin:0 0 24px;line-height:1.5}
.ghl-form-card iframe{width:100%;height:843px;border:none;border-radius:3px}
/* Right column — single unified card */
.contact-sidebar{background:#fff;border-radius:8px;box-shadow:0 2px 20px rgba(0,0,0,0.06);padding:36px 28px}
.contact-sidebar .agent-photo{text-align:center;margin-bottom:24px}
.contact-sidebar .agent-photo img{width:130px;height:130px;border-radius:50%;object-fit:cover;object-position:center 15%;box-shadow:0 4px 15px rgba(0,0,0,0.1)}
.contact-sidebar .agent-name{font-family:'Josefin Sans',sans-serif;font-size:13px;color:#B09570;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin:12px 0 4px;text-align:center}
.contact-sidebar .agent-title{font-family:Georgia,serif;font-size:14px;color:#5A5347;margin:0 0 6px;text-align:center}
.contact-sidebar .agent-tagline{font-family:Georgia,serif;font-size:13px;color:#8A8279;margin:0 0 24px;line-height:1.6;font-style:italic;text-align:center}
/* Contact details inside sidebar */
.contact-sidebar .info-divider{border:none;border-top:1px solid #d4cfc8;margin:20px 0}
.contact-details .info-label{font-family:'Josefin Sans',sans-serif !important;font-size:11px !important;text-transform:uppercase;letter-spacing:0.08em;color:#B09570 !important;margin:20px 0 4px;font-weight:600}
.contact-details .info-label:first-child{margin-top:0}
.contact-details .info-value{font-family:Georgia,serif !important;font-size:15px !important;color:#5A5347 !important;margin:0 0 4px;line-height:1.6}
.contact-details .info-value a{color:#5A5347;text-decoration:none;transition:color 0.2s}
.contact-details .info-value a:hover{color:#B09570}
.contact-details .info-value.phone{font-size:18px !important;font-weight:700}
.contact-details .info-value.phone a{color:#3D3530}
.contact-details .info-divider{border:none;border-top:1px solid #d4cfc8;margin:20px 0}
/* Social icons row */
.contact-social{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.contact-social a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(90,83,71,0.2);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:all 0.2s}
.contact-social a:hover{border-color:#B09570;background:rgba(176,149,112,0.08)}
.contact-social a svg{width:14px;height:14px;fill:#5A5347}
.contact-social a:hover svg{fill:#B09570}
/* License */
.contact-details .license{font-size:11px;color:#8A8279;margin-top:20px;padding-top:16px;border-top:1px solid #d4cfc8}
@media(max-width:768px){
  .contact-page-wrap{flex-direction:column;gap:32px;padding:0 16px}
  .contact-form-col,.contact-info-col{flex:1 1 100%}
  .contact-info-col{max-width:100%}
  .ghl-form-card{padding:24px 16px}
}

/* === INNER PAGE STYLING === */
/* Hero cover blocks on inner pages */
.wp-block-cover .wp-block-heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}
.wp-block-cover p {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 1px !important;
}
/* Section headings on inner pages */
.entry-content .wp-block-heading:not(.has-text-align-center) {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #3D3530;
}
.entry-content h2.wp-block-heading.has-text-align-center {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
}
/* Inner page body text */
.entry-content p {
  font-family: Georgia, "Times New Roman", serif;
  color: #5A5347;
  line-height: 1.8;
}
/* Inner page buttons — match homepage palette */
.wp-block-button__link {
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #B09570 !important;
  border: none !important;
  color: #fff !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #B09570 !important;
  color: #5A5347 !important;
  border: 1px solid #5A5347 !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #5A5347 !important;
  color: #fff !important;
}
/* CTA bars on inner pages — use driftwood charcoal instead of teal */
.wp-block-group.has-background[style*="background-color:#3E7A8C"] {
  background: #3D3530 !important;
}
/* CTA bar headings — serif */
.wp-block-group.has-background[style*="background-color:#3E7A8C"] h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-size: clamp(24px, 3.5vw, 36px) !important;
}
/* Separator lines — driftwood instead of grey */
.wp-block-separator {
  border-color: #d4cfc8 !important;
  background-color: #d4cfc8 !important;
}
/* Inner page cover blocks — taller, consistent */
.entry-content > .wp-block-cover.alignfull {
  min-height: 380px !important;
}
/* Inner page list styling */
.entry-content ul.wp-block-list li {
  font-family: Georgia, "Times New Roman", serif;
  color: #5A5347;
  line-height: 1.8;
  margin-bottom: 8px;
}
/* Table styling on inner pages */
.entry-content .wp-block-table table {
  border-collapse: collapse;
}
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: #F8F6F3 !important;
}
.entry-content .wp-block-table th {
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #3D3530 !important;
  background: #F8F6F3 !important;
}
.entry-content .wp-block-table td {
  font-family: Georgia, serif !important;
  font-size: 15px !important;
  color: #5A5347 !important;
}
/* FAQ headings */
.entry-content h3.wp-block-heading[style*="color:#3E7A8C"] {
  color: #B09570 !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-weight: 500 !important;
}
/* Stats bars on inner pages */
.wp-block-group.has-background[style*="background-color:#5A5347"] p[style*="font-weight:700"] {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}
/* Qualifications border accent */
.entry-content div[style*="border-left: 4px solid #3E7A8C"] {
  border-left-color: #B09570 !important;
}

/* === FOOTER SOCIAL ICONS — energetic === */
.ig-footer-soc {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.ig-soc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #5A5347;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.ig-soc svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}
.ig-soc:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  filter: brightness(1.08);
}
.ig-soc:hover svg { transform: scale(1.1); }
.ig-soc-fb { background: #1877F2; }
.ig-soc-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ig-soc-li { background: #0A66C2; }
.ig-soc-x  { background: #000000; }
.ig-soc-yt { background: #FF0000; }
.ig-soc-tt { background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%); }
.ig-soc-pi { background: #E60023; }

/* === FOOTER FULL-WIDTH BEIGE === */
/* Kadence sets the beige background on .site-footer-row-container-inner,
   which is max-width:1200px — that boxes the color and shows body bg on the
   sides. Move the beige to the outer wrap so it stretches edge-to-edge. */
.site-top-footer-wrap {
  background: #ffffff !important;
}
.site-top-footer-wrap > .site-footer-row-container-inner {
  background: transparent !important;
}

/* === LIGHT FOOTER === */
.site-footer {
  border-top: 1px solid #d4cfc8;
}
.site-footer .footer-wrap {
  color: #5A5347;
}
/* Hide Kadence bottom footer — replaced by DE compliance bar */
.site-footer .site-bottom-footer-wrap,
.site-footer .footer-widget-area.site-bottom-footer-inner-wrap,
.site-bottom-footer-wrap,
.footer-bottom,
.site-info {
  display: none !important;
}
