/* All card collections use two columns in the tablet layout, including
   collections whose legacy mobile rules otherwise switch to one column. */
@media(min-width:600px) and (max-width:1199px){
 html:root body.ss18 :is(main#main#main#main#main#main#main,main#top#top#top#top#top#top) :is(
  .loanHubGrid,.considerations-grid,.ss22-services-grid,.ss22-project-grid,
  .homePortfolioVideosGrid,.portfolioParentGrid,.dd-design-paths,
  .dd-design-editorial,.ss43-detail-grid,.ss43-process-grid,
  .ss34-platform-grid,.ss24-review-grid,.ss24-consultation-topics,
  .ss21-fact-grid,.ss-city-card-grid,.ss23-regions,.estateRoutes,
  .f4-breakdown,.ss24-roadmap,.ss24-eligibility,.ss90-eval-grid,
  .dd-buy-benefits,.dd-buy-reach-grid,.v12-pm-service-list,
  .v4-stats,.v4-ranks,.sageStatRail,.ss22-city-highlights,
  .ss22-platform-stats,.ss22-print-gallery,.ss23-awards>div
 ){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 /* Featured desktop spans must not create an implicit third tablet column. */
 html:root body.ss18 :is(main#main#main#main#main#main#main,main#top#top#top#top#top#top) :is(
  .considerations-grid,.dd-design-editorial,.v4-stats,.v4-ranks,
  .dd-buy-benefits,.dd-buy-reach-grid
 )>*{
  grid-column:auto!important;
  min-width:0!important;
  max-width:100%!important;
 }
 html:root body.ss18 main#main#main#main#main#main#main .v4-rank-map svg{
  max-width:100%!important;
 }
}

/* Stack icons above copy when two cards share the narrow tablet content area. */
@media(min-width:600px) and (max-width:767px){
 html:root body.ss18 main#top#top#top#top#top#top .dd-buy-benefits article{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
 }
 html:root body.ss18 main#top#top#top#top#top#top .dd-buy-benefits article :is(svg,h3,p){
  grid-column:1!important;
  grid-row:auto!important;
  min-height:0!important;
 }
}

/* Preserved approved navigation styling. English-only. */
@media(min-width:600px) and (max-width:1199px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation{background:linear-gradient(90deg,#f1eee6,#f8f7f3)!important;padding:23px 12px 20px!important;border-right:1px solid #d6d8cc!important;box-shadow:none!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a{min-height:45px!important;padding:11px 8px!important;font:400 15px/1.5 Georgia,serif!important;letter-spacing:.015em!important;color:#48533e!important;background:transparent!important;border:0!important;box-shadow:none!important;white-space:normal!important;text-decoration:none!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[aria-current=page],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a[aria-current=page]{background:transparent!important;box-shadow:none!important;color:#343c32!important;text-decoration:underline!important;text-decoration-color:#a99d82!important;text-underline-offset:6px!important;text-decoration-thickness:1px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group.is-open>a{font-weight:400!important;color:#343c32!important;text-decoration:underline!important;text-underline-offset:6px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel{background:transparent!important;border-left:1px solid #c4c9b9!important;width:calc(100% - 12px)!important;margin:0 6px 5px!important;padding:0 0 4px 12px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel a{color:#59634f!important;font:400 13px/1.5 Arial,sans-serif!important;min-height:44px!important;padding:9px 0!important;white-space:normal!important;}
}
#dd-header .dd-header-tools{gap:clamp(12px,1.5vw,24px);}
@media(min-width:600px) and (max-width:1199px){
#dd-header:not(.is-compact) .dd-header-tools{gap:14px;}
}
@media(max-width:599px){
#dd-header.is-compact .dd-header-tools{gap:7px;}
#dd-header.is-compact .dd-menu-toggle{width:54px;padding:8px 4px;}
#dd-header.is-compact .dd-feature-trigger{font-size:11px;gap:4px;}
}
#dd-header:not(.is-compact):not(.is-tablet) #dd-navigation>.dd-group>.dd-panel{left:var(--dd-panel-left)!important;width:var(--dd-panel-width)!important;max-width:calc(100vw - 32px);padding:12px 20px;}
#dd-header:not(.is-compact):not(.is-tablet) #dd-navigation>.dd-group>.dd-panel>.dd-panel-content{width:100%;margin:0;}
@media(max-width:360px){
#dd-header.is-compact .dd-header-tools{gap:4px;}
#dd-header.is-compact .dd-feature-trigger{font-size:10px;}
#dd-header.is-compact .dd-menu-toggle{width:44px;font-size:10px;}
}
@media(min-width:600px) and (max-width:1199px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation{padding:16px 12px 4px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a{min-height:44px!important;padding:10px 8px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel a{min-height:40px!important;padding:9px 0!important;}
}
@media(min-width:600px) and (max-width:1199px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation{left:0!important;top:var(--dd-header-bottom,138px)!important;bottom:0!important;width:200px!important;height:auto!important;max-height:calc(100dvh - var(--dd-header-bottom,138px))!important;padding:20px 16px 12px!important;background:linear-gradient(90deg,#e9ecdf 0 5px,#f5f3ed 5px 100%)!important;border:0!important;border-right:1px solid #deded3!important;box-shadow:none!important;overflow-x:clip!important;overflow-y:auto!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation::before{content:'DommyDom';display:block;flex:none;margin:0 0 15px;padding:0 0 13px;border-bottom:1px solid #aeb7a340;font:italic 27px/1.2 Georgia,serif;letter-spacing:-.04em;color:#68705e;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a{display:flex!important;align-items:center!important;min-height:44px!important;padding:9px 8px!important;font:400 15px/1.45 Arial,sans-serif!important;letter-spacing:.005em!important;text-decoration:none!important;white-space:normal!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#48533e!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="index.html"],html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="about.html"]{min-height:40px!important;font:400 11px/1.5 Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.14em!important;padding-left:0!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers{margin-top:10px!important;border:0!important;padding-top:0!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers::before{content:'REAL ESTATE & DESIGN';display:block;padding:0 8px 7px;font:500 9px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#838775;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group:has(>a[href$="sell-a-home.html"]),html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="property-management.html"],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-interior{background:#ffffff85!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group:has(>a[href$="sell-a-home.html"])>a{font:400 25px/1.3 Georgia,serif!important;padding-top:4px!important;padding-bottom:4px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="property-management.html"]{font-size:13px!important;white-space:nowrap!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-interior>a{font:400 19px/1.4 Georgia,serif!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="life-changes.html"]{margin-top:0!important;border:0!important;padding-top:9px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-contact{margin-top:10px!important;padding-top:6px!important;border:0!important;border-top:1px solid #aeb7a360!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-contact>a{font:400 18px/1.4 Georgia,serif!important;letter-spacing:.02em!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[aria-current=page],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a[aria-current=page],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group.is-open>a{color:#30382e!important;text-decoration:none!important;box-shadow:inset 2px 0 #9aab90!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel{width:calc(100% - 16px)!important;margin:0 8px 6px!important;padding:2px 0 4px 10px!important;background:transparent!important;border:0!important;border-left:1px solid #c5cdbb!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel a{min-height:36px!important;padding:8px 0!important;font:400 13px/1.5 Arial,sans-serif!important;color:#59634f!important;}
}
#dd-header .dd-navigation-section-caption{display:none;}
@media(min-width:600px) and (max-width:1199px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers::before{display:none;content:none;}
html:root body.ss18 #dd-header.is-tablet .dd-navigation-section-caption{display:block;padding:0 8px 7px;font:500 9px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#838775;text-transform:uppercase;}
}
@media(min-width:600px) and (max-width:1199px) and (max-height:850px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation{padding-top:12px!important;padding-bottom:8px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation::before{font-size:22px;margin-bottom:8px;padding-bottom:8px;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a{min-height:40px!important;padding-top:7px!important;padding-bottom:7px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group:has(>a[href$="sell-a-home.html"])>a{font-size:23px!important;padding-top:4px!important;padding-bottom:4px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[href$="life-changes.html"]{margin-top:0!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-contact{margin-top:6px!important;}
}
@media(min-width:600px) and (max-width:1199px){
html:root body.ss18 #dd-header.is-tablet #dd-navigation{left:6px!important;top:calc(var(--dd-header-bottom,138px) + 14px)!important;bottom:auto!important;width:188px!important;max-height:calc(100dvh - var(--dd-header-bottom,138px) - 28px)!important;height:auto!important;padding:16px 10px!important;background:linear-gradient(135deg,#fffefa,#f2f0e8)!important;border:1px solid #d5d7ca!important;border-top:3px solid #68705e!important;border-radius:0 0 22px 0!important;box-shadow:0 6px 22px #343c3208!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation::before,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-buyers::before,html:root body.ss18 #dd-header.is-tablet .dd-navigation-section-caption{display:none!important;content:none!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a,html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a{display:flex!important;align-items:center!important;min-height:44px!important;height:auto!important;padding:10px 6px!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;font:400 16px/1.4 Georgia,serif!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;color:#48533e!important;text-decoration:none!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group{margin:0!important;padding:0!important;border:0!important;background:transparent!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>a[aria-current=page],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>a[aria-current=page],html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group.is-open>a{font:400 16px/1.4 Georgia,serif!important;color:#30382e!important;background:transparent!important;box-shadow:none!important;text-decoration:underline!important;text-decoration-color:#a99d82!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel{width:calc(100% - 12px)!important;padding:0 0 5px 10px!important;margin:0 6px 5px!important;border:0!important;border-left:1px solid #bdc6b2!important;background:transparent!important;}
html:root body.ss18 #dd-header.is-tablet #dd-navigation>.dd-group>.dd-panel a{font:400 13px/1.5 Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;min-height:36px!important;padding:8px 0!important;color:#59634f!important;}
}

/* One consistent type treatment for every tablet navigation label, matching Sell With Dominique. */
@media(min-width:600px) and (max-width:1199px){
 html:root body.ss18 #dd-header.is-tablet #dd-navigation#dd-navigation#dd-navigation a{
  font:400 13px/1.5 Arial,sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
 }
}
