/**
 * What We Do children — mobile and tablet layout.
 * Desktop (≥992px) stays on the existing magazine overlay.
 * Does not hide headings, lists, cards, CTAs, images, or tab content.
 */

body.sln-wwd-page .tabbed-block .div-links a,
body.sln-wwd-page .tabbed-block a.d-block {
	color: #122346;
}

@media (max-width: 991.98px) {
	body.sln-wwd-page .entry-content.blocks,
	body.sln-wwd-page .entry-content {
		overflow-x: hidden;
	}

	body.sln-wwd-page .entry-content img,
	body.sln-wwd-page .map-background img,
	body.sln-wwd-page .development-communities img {
		height: auto !important;
		max-width: 100% !important;
	}

	body.sln-wwd-page .tabbed-block,
	body.sln-wwd-page .tabbed-block-wrap {
		margin-bottom: 0;
		top: 0;
	}

	body.sln-wwd-page .tabbed-block-inner {
		padding-bottom: 1.25rem !important;
	}

	body.sln-wwd-page .tabbed-block .m-order-1 {
		padding-left: 0.35rem;
		padding-right: 0.35rem;
		padding-bottom: 0.35rem;
	}

	body.sln-wwd-page .tabbed-block h2 {
		font-family: "Montserrat", sans-serif;
		font-size: 2.05rem;
		letter-spacing: 0.02em;
		line-height: 1.15;
		margin-bottom: 0.75rem;
	}

	body.sln-wwd-page .tabbed-block .container-690 p,
	body.sln-wwd-page .tabbed-block .m-order-1 p {
		margin-bottom: 0.85rem;
	}

	body.sln-wwd-page .tabbed-block .owl-carousel {
		margin-bottom: 0.5rem;
	}

	body.sln-wwd-page .tabbed-block .owl-theme .owl-dots .owl-dot {
		min-height: 28px;
		min-width: 28px;
		padding: 6px;
	}

	body.sln-wwd-page .tabbed-block .owl-theme .owl-dots .owl-dot span {
		height: 8px;
		margin: 4px;
		width: 8px;
	}

	body.sln-wwd-page .tabs-header {
		flex-wrap: wrap;
	}

	body.sln-wwd-page .tabs-header .tab {
		align-items: center;
		display: flex;
		flex: 1 1 220px;
		justify-content: center;
		min-height: 56px;
		padding: 0.75rem 0.85rem;
	}

	body.sln-wwd-page .tabs-header .tab h3 {
		font-size: 0.92rem;
		letter-spacing: 0.04em;
		line-height: 1.25;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
		white-space: normal;
	}

	body.sln-wwd-page .tabbed-dropdown-caption,
	body.sln-wwd-page .tabbed-dropdown-item h4 {
		align-items: center;
		display: flex;
		font-size: 0.95rem;
		justify-content: center;
		letter-spacing: 0.04em;
		line-height: 1.25;
		min-height: 48px;
		padding-left: 2.5rem !important;
		padding-right: 2.5rem !important;
		white-space: normal;
	}

	body.sln-wwd-page .tabbed-block .div-links {
		margin-top: 0.35rem;
	}

	body.sln-wwd-page .tabbed-block .div-links .col-sm-6,
	body.sln-wwd-page .tabbed-block .div-links .col-sm-12 {
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	body.sln-wwd-page .tabbed-block .div-links a,
	body.sln-wwd-page .tabbed-block a.d-block {
		align-items: center;
		color: #122346;
		display: inline-flex;
		font-family: "Montserrat", sans-serif;
		font-size: 0.95rem;
		font-weight: 600;
		justify-content: center;
		letter-spacing: 0.03em;
		line-height: 1.3;
		min-height: 44px;
		padding: 0.7rem 0.85rem;
		text-align: center;
		white-space: normal;
		width: 100%;
	}

	/* Overlay cards become stacked magazine captions so labels never clip. */
	body.sln-wwd-page .blocks-with-highlight-text .col-md-6,
	body.sln-wwd-page .property-management-highlight .col-md-6,
	body.sln-wwd-page .development-highlight .col-md-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	body.sln-wwd-page .blocks-with-highlight-text h2,
	body.sln-wwd-page .property-management-highlight h2,
	body.sln-wwd-page .development-highlight h2 {
		font-family: "Montserrat", sans-serif;
		font-size: 1.7rem;
		letter-spacing: 0.03em;
		line-height: 1.2;
		margin-bottom: 0.75rem !important;
		text-align: left !important;
	}

	body.sln-wwd-page .blocks-with-highlight-text p,
	body.sln-wwd-page .property-management-highlight p,
	body.sln-wwd-page .development-highlight p {
		text-align: left !important;
	}

	body.sln-wwd-page .blocks-with-highlight-text .p-sm-5,
	body.sln-wwd-page .property-management-highlight .p-sm-5,
	body.sln-wwd-page .development-highlight .p-sm-5 {
		padding: 1.15rem 1rem !important;
	}

	body.sln-wwd-page .highlight-block-left,
	body.sln-wwd-page .highlight-block-right,
	body.sln-wwd-page .highlight-block-top,
	body.sln-wwd-page .highlight-block-bottom,
	body.sln-wwd-page .page-id-36 .highlight-block-left,
	body.sln-wwd-page .page-id-36 .highlight-block-right,
	body.sln-wwd-page .page-id-36 .highlight-block-top,
	body.sln-wwd-page .page-id-38 .highlight-block-left,
	body.sln-wwd-page .page-id-38 .highlight-block-right {
		background: #122346;
		bottom: auto !important;
		box-sizing: border-box;
		color: #fff;
		font-family: "Montserrat", sans-serif;
		font-size: 1rem !important;
		left: auto !important;
		letter-spacing: 0.02em;
		line-height: 1.4;
		margin: 0.65rem 0.75rem 1rem;
		max-width: none !important;
		min-height: 0 !important;
		padding: 1rem 1.1rem !important;
		position: static !important;
		right: auto !important;
		top: auto !important;
		width: auto;
	}

	body.sln-wwd-page .highlight-block-left:empty,
	body.sln-wwd-page .highlight-block-right:empty,
	body.sln-wwd-page .highlight-block-top:empty,
	body.sln-wwd-page .highlight-block-bottom:empty {
		display: none;
		margin: 0;
		padding: 0 !important;
	}

	body.sln-wwd-page .multifamily-key-services .layout-container {
		padding-bottom: 2.25em;
		padding-top: 2.25em;
	}

	body.sln-wwd-page .multifamily-key-services .text-block-title {
		font-family: "Montserrat", sans-serif;
		font-size: 1.55rem;
		letter-spacing: 0.04em;
		line-height: 1.2;
		margin-bottom: 1rem;
		padding-left: 1rem;
		padding-right: 1rem;
		text-align: center;
	}

	body.sln-wwd-page .multifamily-key-services .container-690 {
		background: rgba(255, 255, 255, 0.92);
		border-radius: 12px;
		box-shadow: 0 12px 28px rgba(18, 35, 68, 0.08);
		margin-left: auto;
		margin-right: auto;
		max-width: 32rem;
		padding: 1.15rem 1.35rem 1.25rem;
	}

	body.sln-wwd-page .multifamily-key-services .col-sm-6 {
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	body.sln-wwd-page .multifamily-key-services ul {
		margin: 0 0 0.2rem;
		padding-left: 1.2rem;
		width: 100%;
	}

	body.sln-wwd-page .multifamily-key-services li {
		padding: 0.28rem 0;
	}

	body.sln-wwd-page .checklist-bg {
		background-size: 120px auto;
		flex: 0 0 100%;
		margin: 0 0 0.85rem;
		max-width: 100%;
		padding: 1.15rem 1rem 1.25rem !important;
	}

	body.sln-wwd-page .checklist-bg img {
		height: auto;
		margin: 0 auto 0.65rem;
		max-width: 72px;
		width: 72px;
	}

	body.sln-wwd-page .checklist-bg h4 {
		font-size: 1.15rem;
		letter-spacing: 0.03em;
		line-height: 1.25;
		margin: 0;
	}

	body.sln-wwd-page .text-block.skew .container-690,
	body.sln-wwd-page .text-block.skew .row.skew {
		box-sizing: border-box;
		max-width: 100%;
		padding-left: 1.1rem !important;
		padding-right: 1.1rem !important;
	}

	body.sln-wwd-page .text-block.skew h4 {
		font-size: 1.15rem !important;
		line-height: 1.4;
		margin-left: 0 !important;
		overflow-wrap: anywhere;
		padding-left: 0;
		padding-right: 0;
		word-break: break-word;
	}

	body.sln-wwd-page #text-block-2 .container-950,
	body.sln-wwd-page #text-block-2 .px-sm-5 {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	body.sln-wwd-page #text-block-2 h2,
	body.sln-wwd-page .text-block .entry-title {
		font-size: 1.55rem;
		letter-spacing: 0.03em;
		line-height: 1.2;
	}

	body.sln-wwd-page .text-block.careers .layout-container {
		padding-bottom: 3.5em;
		padding-top: 3.5em;
	}

	body.sln-wwd-page .careers-block h2 {
		font-size: 1.55rem;
		letter-spacing: 0.04em;
		line-height: 1.2;
		margin-bottom: 1rem;
	}

	body.sln-wwd-page .careers-block .btn,
	body.sln-wwd-page .careers-block .btn-primary {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 44px;
		padding: 0.7rem 1.4rem;
	}

	body.sln-wwd-page .development-communities h2,
	body.sln-wwd-page .development-communities-portfolio h2 {
		font-size: 1.55rem;
		letter-spacing: 0.03em;
		line-height: 1.2;
	}

	body.sln-wwd-page .development-communities .col-md-6,
	body.sln-wwd-page .development-communities-portfolio .col-md-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	body.sln-wwd-page .development-communities .map-background,
	body.sln-wwd-page .development-communities-portfolio .map-background {
		justify-content: center;
		overflow: hidden;
		width: 100%;
	}

	body.sln-wwd-page .development-communities .document-list {
		max-height: none;
	}

	body.sln-wwd-page .development-communities .propery-item {
		padding-left: 0.65rem;
		padding-right: 0.65rem;
	}

	body.sln-wwd-page .development-communities .tabs-header .btn,
	body.sln-wwd-page .development-communities .btn {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 44px;
		white-space: normal;
	}

	body.sln-wwd-page .sln-wwd-is-empty {
		display: none !important;
		height: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
	}
}

@media (max-width: 767.98px) {
	body.sln-wwd-page .tabbed-block h2 {
		font-size: 1.75rem;
	}

	body.sln-wwd-page .blocks-with-highlight-text h2,
	body.sln-wwd-page .property-management-highlight h2,
	body.sln-wwd-page .development-highlight h2 {
		font-size: 1.5rem;
	}

	body.sln-wwd-page .multifamily-key-services .text-block-title,
	body.sln-wwd-page #text-block-2 h2,
	body.sln-wwd-page .careers-block h2,
	body.sln-wwd-page .development-communities h2 {
		font-size: 1.4rem;
	}

	body.sln-wwd-page .tabbed-block .div-links a,
	body.sln-wwd-page .tabbed-block a.d-block {
		font-size: 0.9rem;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) {
	body.sln-wwd-page .tabbed-block .m-order-1 {
		padding: 1.5rem 1rem 0.75rem;
	}

	body.sln-wwd-page .tabbed-block h2 {
		font-size: 2.15rem;
	}

	body.sln-wwd-page .tabbed-block .div-links .col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	body.sln-wwd-page .checklist-bg {
		flex: 0 0 33.333%;
		margin-bottom: 0;
		max-width: 33.333%;
		padding: 1.25rem 0.65rem 1.4rem;
	}

	body.sln-wwd-page .checklist-bg img {
		max-width: 64px;
		width: 64px;
	}

	body.sln-wwd-page .checklist-bg h4 {
		font-size: 0.95rem;
	}

	body.sln-wwd-page .multifamily-key-services .container-690 {
		max-width: 36rem;
	}
}

/*
 * Desktop keeps the theme magazine overlay (wide header + white title card).
 * Do not clip #content — overflow-x:clip forces overflow-y and kills negative-top overlay.
 */
@media (min-width: 992px) {
	body.sln-wwd-page #content,
	body.sln-wwd-page #content.container-fluid,
	body.sln-wwd-page #primary,
	body.sln-wwd-page .site-main,
	body.sln-wwd-page .entry-content,
	body.sln-wwd-page .entry-content.blocks {
		overflow: visible !important;
	}

	body.sln-wwd-page .text-block.skew .container-690 {
		box-sizing: border-box;
		max-width: 690px;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	/* Undo fluid-layout height:auto so theme banner / highlight / owl keep designed aspect. */
	body.sln-wwd-page .entry-content img,
	body.sln-wwd-page .tabbed-block img,
	body.sln-wwd-page .property-management-highlight img,
	body.sln-wwd-page .development-highlight img,
	body.sln-wwd-page .blocks-with-highlight-text img {
		height: unset;
	}

	/* Theme overlay card is 950px — do not let site-shell stretch it to the canvas. */
	body.sln-wwd-page .tabbed-block-wrap,
	body.sln-wwd-page .tabbed-block-wrap.container-950,
	body.sln-wwd-page .container-950 {
		max-width: 950px;
		margin-left: auto;
		margin-right: auto;
	}

	body.sln-wwd-page #wp-custom-header,
	body.sln-wwd-page:not(.home) #wp-custom-header {
		max-height: 900px;
		overflow: hidden;
	}

	body.sln-wwd-page #wp-custom-header img {
		height: 100%;
		max-height: 900px;
		object-fit: cover;
		width: 100%;
	}
}
