/* ================================================================
   DW COMMUNITIES — community-styles.css
   Tokens inherit from the parent theme's style.css :root block:
     --color-teal:   #1B9AAA
     --color-navy:   #1E2A3A
     --color-slate:  #2C4A6E
     --font-body:    'Inter', system-ui, sans-serif
     --font-heading: 'Playfair Display', Georgia, serif
   ================================================================ */


/* ─── Community-specific local tokens ─────────────────────────── */
:root {
	--dw-c-near-black:  #111418;
	--dw-c-off-black:   #1a2030;
	--dw-c-card-ratio:  63%;
	--dw-c-hero-min:    480px;
	--dw-c-max:         1320px;
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.dw-community-hero {
	position: relative;
	width: 100%;
	height: 72vh;
	min-height: var(--dw-c-hero-min);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.dw-community-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.04);
	transition: transform 9s ease;
	will-change: transform;
}
.dw-community-hero:hover .dw-community-hero__bg {
	transform: scale(1.0);
}

.dw-community-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(30,42,58,0.30)  0%,
		rgba(30,42,58,0.62)  55%,
		rgba(30,42,58,0.80)  100%
	);
}

.dw-community-hero__content {
	position: relative;
	z-index: 2;
	color: var(--color-white);
	font-family: var(--font-body);
	padding: 0 1.5rem;
	max-width: 860px;
	width: 100%;
}

.dw-community-hero__eyebrow {
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-teal);
	margin: 0 0 0.85rem;
}

.dw-community-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(2.4rem, 5.5vw, 4.4rem);
	font-weight: 700;
	line-height: 1.08;
	color: var(--color-white);
	margin: 0 0 1.1rem;
}

.dw-community-hero__subtitle {
	font-family: var(--font-body);
	font-size: clamp(0.92rem, 2vw, 1.1rem);
	font-weight: 400;
	line-height: 1.72;
	color: rgba(255,255,255,0.84);
	max-width: 580px;
	margin: 0 auto;
}


/* ================================================================
   COUNTY / CITY IMAGE GRID
   4-col → 3-col tablet → 2-col mobile
   ================================================================ */
.dw-community-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 3rem 1.5rem;
	max-width: var(--dw-c-max);
	margin: 0 auto;
}

@media (max-width: 1100px) {
	.dw-community-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
	.dw-community-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 420px) {
	.dw-community-grid { grid-template-columns: 1fr; }
}

/* ── Card ── */
.dw-community-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-sm);
	text-decoration: none;
	cursor: pointer;
	padding-top: var(--dw-c-card-ratio);
	background: var(--dw-c-off-black);
}

.dw-community-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}
.dw-community-card:hover .dw-community-card__bg,
.dw-community-card:focus .dw-community-card__bg {
	transform: scale(1.07);
}

.dw-community-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(30,42,58,0.88)  0%,
		rgba(30,42,58,0.20)  50%,
		transparent 100%
	);
	transition: background 0.35s ease;
}
.dw-community-card:hover .dw-community-card__overlay {
	background: linear-gradient(
		to top,
		rgba(30,42,58,0.95)   0%,
		rgba(27,154,170,0.18) 55%,
		transparent 100%
	);
}

.dw-community-card__title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	font-family: var(--font-body);
	font-size: clamp(0.8rem, 1.2vw, 0.95rem);
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--color-white);
	text-align: center;
	transition: color 0.22s ease;
}
.dw-community-card:hover .dw-community-card__title {
	color: var(--color-teal);
}

.dw-community-card__county-label {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--color-teal);
	color: var(--color-white);
	font-family: var(--font-body);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 2px;
}


/* ================================================================
   SHARED SECTION HEADER
   ================================================================ */
.dw-section-header {
	text-align: center;
	padding: 3.5rem 1.5rem 1rem;
}

.dw-section-header__eyebrow {
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-teal);
	margin: 0 0 0.5rem;
}

.dw-section-header__title {
	font-family: var(--font-heading);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	color: var(--color-navy);
	margin: 0;
	line-height: 1.2;
}


/* ================================================================
   SEO INTRO SECTION
   ================================================================ */
.dw-community-intro {
	max-width: 820px;
	margin: 3.5rem auto 0;
	padding: 0 1.5rem;
	text-align: center;
}

.dw-breadcrumb {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--color-mid-gray);
	margin-bottom: 1.5rem;
	letter-spacing: 0.3px;
}
.dw-breadcrumb a {
	color: var(--color-teal);
	text-decoration: none;
}
.dw-breadcrumb a:hover { text-decoration: underline; }
.dw-breadcrumb span { margin: 0 0.4rem; }

.dw-community-intro__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 0.9rem;
	line-height: 1.25;
}

.dw-community-intro__text,
.dw-community-intro__text p {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.85;
	color: var(--color-navy);
	margin: 0;
	opacity: 0.82;
}


/* ================================================================
   IDX PROPERTY SEARCH
   ================================================================ */
.dw-idx-section {
	background: var(--color-light-gray);
	padding: 4.5rem 1.5rem;
	margin-top: 3.5rem;
}

.dw-idx-section__inner {
	max-width: var(--dw-c-max);
	margin: 0 auto;
}

.dw-idx-section__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--color-navy);
	text-align: center;
	margin-bottom: 2rem;
	line-height: 1.25;
}

.dw-idx-section__title span {
	color: var(--color-teal);
}


/* ================================================================
   ALTERNATING AMENITY BLOCKS (ZIG-ZAG)

   Structure per block (from Gutenberg pattern):
     .dw-amenity-block            ← wp-block-group wrapper
       .dw-amenity-row            ← wp-block-columns
         .dw-amenity-image        ← wp-block-column (photo)
         .dw-amenity-text         ← wp-block-column (dark copy)

   :nth-child(even) flips direction automatically.
   ================================================================ */
.dw-amenity-blocks-wrap { overflow: hidden; }

/* Override WP block group padding/max-width */
.dw-amenity-block.wp-block-group,
.wp-block-group.dw-amenity-block {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Columns row */
.dw-amenity-block .dw-amenity-row,
.dw-amenity-block .wp-block-columns.dw-amenity-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin: 0 !important;
	min-height: 440px;
}

/* Even blocks: flip image/text sides */
.dw-amenity-blocks-wrap > .wp-block-group.dw-amenity-block:nth-child(even) .dw-amenity-row,
.dw-amenity-blocks-wrap > .wp-block-group.dw-amenity-block:nth-child(even) .wp-block-columns.dw-amenity-row {
	flex-direction: row-reverse !important;
}

/* ── Photo column ── */
.dw-amenity-block .dw-amenity-image,
.dw-amenity-block .wp-block-column.dw-amenity-image {
	flex: 0 0 50% !important;
	min-width: 50% !important;
	position: relative;
	overflow: hidden;
	padding: 0 !important;
	min-height: 440px;
}

.dw-amenity-block .dw-amenity-image figure,
.dw-amenity-block .wp-block-column.dw-amenity-image .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	padding: 0;
	width: 100%;
	height: 100%;
}

.dw-amenity-block .dw-amenity-image img,
.dw-amenity-block .wp-block-column.dw-amenity-image .wp-block-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.65s ease;
}
.dw-amenity-block:hover .dw-amenity-image img,
.dw-amenity-block:hover .wp-block-column.dw-amenity-image .wp-block-image img {
	transform: scale(1.04);
}

/* ── Dark text column ── */
.dw-amenity-block .dw-amenity-text,
.dw-amenity-block .wp-block-column.dw-amenity-text {
	flex: 0 0 50% !important;
	min-width: 50% !important;
	background: var(--dw-c-near-black) !important;
	color: var(--color-white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3.5rem 4rem !important;
	position: relative;
}

/* Teal accent bar above heading */
.dw-amenity-block .dw-amenity-text::before,
.dw-amenity-block .wp-block-column.dw-amenity-text::before {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--color-teal);
	margin-bottom: 1.5rem;
	flex-shrink: 0;
}

.dw-amenity-block .dw-amenity-text h2,
.dw-amenity-block .dw-amenity-text h3,
.dw-amenity-block .dw-amenity-text .wp-block-heading {
	font-family: var(--font-heading) !important;
	color: var(--color-white) !important;
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
}

.dw-amenity-block .dw-amenity-text p {
	font-family: var(--font-body);
	color: rgba(255,255,255,0.78);
	font-size: 0.95rem;
	line-height: 1.84;
	margin-bottom: 1.1rem;
}

/* ── Responsive stack ── */
@media (max-width: 820px) {
	.dw-amenity-block .dw-amenity-row,
	.dw-amenity-block .wp-block-columns.dw-amenity-row,
	.dw-amenity-blocks-wrap > .wp-block-group.dw-amenity-block:nth-child(even) .dw-amenity-row,
	.dw-amenity-blocks-wrap > .wp-block-group.dw-amenity-block:nth-child(even) .wp-block-columns.dw-amenity-row {
		flex-direction: column !important;
	}

	.dw-amenity-block .dw-amenity-image,
	.dw-amenity-block .wp-block-column.dw-amenity-image,
	.dw-amenity-block .dw-amenity-text,
	.dw-amenity-block .wp-block-column.dw-amenity-text {
		flex: 0 0 100% !important;
		min-width: 100% !important;
		width: 100% !important;
	}

	.dw-amenity-block .dw-amenity-image,
	.dw-amenity-block .wp-block-column.dw-amenity-image {
		min-height: 280px;
		position: relative;
	}

	.dw-amenity-block .dw-amenity-text,
	.dw-amenity-block .wp-block-column.dw-amenity-text {
		padding: 2.5rem 1.75rem !important;
	}
}


/* ================================================================
   SCHOOLS SECTION
   ================================================================ */
.dw-schools {
	padding: 5rem 1.5rem;
	background: var(--color-light-gray);
}

.dw-schools__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.dw-schools__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
}

@media (max-width: 900px) { .dw-schools__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .dw-schools__grid { grid-template-columns: 1fr; } }

.dw-school-card {
	background: var(--color-white);
	border-left: 4px solid var(--color-teal);
	padding: 1.4rem 1.5rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	box-shadow: var(--shadow-card);
	transition: box-shadow var(--transition), transform var(--transition);
}
.dw-school-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.dw-school-card__level {
	font-family: var(--font-body);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-teal);
	margin-bottom: 0.35rem;
}

.dw-school-card__name {
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 0.3rem;
	line-height: 1.3;
}

.dw-school-card__district {
	font-family: var(--font-body);
	font-size: 0.8rem;
	color: var(--color-mid-gray);
}


/* ================================================================
   MARKET TRENDS SECTION
   ================================================================ */
.dw-market-trends {
	background: var(--color-navy);
	color: var(--color-white);
	padding: 5.5rem 1.5rem;
}

.dw-market-trends__inner {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}

.dw-market-trends__eyebrow {
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-teal);
	margin-bottom: 0.55rem;
}

.dw-market-trends__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	margin-bottom: 3rem;
	line-height: 1.2;
}

.dw-market-trends__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-bottom: 3rem;
}

@media (max-width: 900px) { .dw-market-trends__stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dw-market-trends__stats { grid-template-columns: 1fr; } }

.dw-stat-card {
	background: var(--dw-c-off-black);
	border-top: 3px solid var(--color-teal);
	padding: 1.75rem 1.25rem;
	border-radius: 2px;
	transition: background var(--transition);
}
.dw-stat-card:hover { background: #222c3c; }

.dw-stat-card__value {
	font-family: var(--font-heading);
	font-size: clamp(1.9rem, 3.5vw, 2.6rem);
	font-weight: 700;
	color: var(--color-teal);
	line-height: 1;
	margin-bottom: 0.45rem;
}

.dw-stat-card__label {
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.50);
}

.dw-market-trends__embed {
	min-height: 200px;
	background: var(--dw-c-off-black);
	border: 1px dashed rgba(27,154,170,0.30);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.28);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-style: italic;
}


/* ================================================================
   CTA BANNER
   ================================================================ */
.dw-community-cta {
	background: var(--color-teal);
	padding: 5rem 1.5rem;
	text-align: center;
}

.dw-community-cta__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 0.75rem;
	line-height: 1.2;
}

.dw-community-cta__text {
	font-family: var(--font-body);
	color: rgba(255,255,255,0.88);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 auto 2rem;
	max-width: 520px;
}

.dw-btn {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	padding: 0.9rem 2.2rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
	cursor: pointer;
	border: 2px solid transparent;
}

.dw-btn--white {
	background: var(--color-white);
	color: var(--color-teal);
	border-color: var(--color-white);
}
.dw-btn--white:hover {
	background: var(--color-navy);
	color: var(--color-white);
	border-color: var(--color-navy);
}

.dw-btn--outline {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255,255,255,0.65);
	margin-left: 0.75rem;
}
.dw-btn--outline:hover {
	background: var(--color-white);
	color: var(--color-teal);
	border-color: var(--color-white);
}

@media (max-width: 480px) {
	.dw-btn--outline { margin-left: 0; margin-top: 0.75rem; display: block; }
}

/* ============================================
   WHISSEL-STYLE COMMUNITY PAGE — NEW SECTIONS
   ============================================ */

/* Hero breadcrumb */
.dw-community-hero__breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.dw-community-hero__breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.dw-community-hero__breadcrumb a:hover { color: #fff; }
.dw-community-hero__breadcrumb span { margin: 0 6px; }

/* Intro section */
.dw-community-intro { padding: 60px 24px; max-width: 860px; margin: 0 auto; }
.dw-community-intro h2 { font-size: 32px; color: #1a2332; margin-bottom: 20px; }
.dw-community-intro p { font-size: 16px; line-height: 1.8; color: #4a5568; margin-bottom: 16px; }
.dw-community-intro .dw-btn { margin-top: 12px; }

/* Why section */
.dw-community-why { background: #f8fafc; padding: 60px 24px; }
.dw-community-why__inner { max-width: 860px; margin: 0 auto; }
.dw-community-why h2 { font-size: 28px; color: #1a2332; margin-bottom: 32px; }
.dw-community-why h3 { font-size: 18px; color: #1a3a6e; margin: 28px 0 10px; border-left: 3px solid #4db8ac; padding-left: 12px; }
.dw-community-why p { font-size: 15px; line-height: 1.8; color: #4a5568; }

/* Price grid */
.dw-price-grid { background: #0f1923; padding: 64px 24px; }
.dw-price-grid__inner { max-width: 1100px; margin: 0 auto; }
.dw-price-grid h2 { font-size: 30px; color: #fff; margin-bottom: 10px; }
.dw-price-grid__sub { color: #8a9bb0; font-size: 15px; margin-bottom: 32px; }
.dw-section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #4db8ac; margin-bottom: 10px; }
.dw-price-grid__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dw-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 18px;
  text-decoration: none;
  transition: all 0.2s;
}
.dw-price-card:hover { background: rgba(77,184,172,0.12); border-color: rgba(77,184,172,0.4); }
.dw-price-card__label { font-size: 13px; font-weight: 600; color: #c8d4de; }
.dw-price-card__arrow { color: #4db8ac; font-size: 16px; }
.dw-price-card:first-child { grid-column: 1 / -1; background: rgba(77,184,172,0.1); border-color: rgba(77,184,172,0.3); }
.dw-price-card:first-child .dw-price-card__label { color: #fff; font-size: 15px; }

/* Market trends */
.dw-market-trends { padding: 60px 24px; background: #fff; }
.dw-market-trends__inner { max-width: 1100px; margin: 0 auto; }
.dw-market-trends h2 { font-size: 28px; color: #1a2332; margin-bottom: 32px; }
.dw-market-trends__stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.dw-stat-card { background: #f8fafc; border-radius: 10px; padding: 24px 20px; text-align: center; border: 1px solid #e2e8f0; }
.dw-stat-card__value { font-size: 26px; font-weight: 700; color: #1a3a6e; margin-bottom: 6px; }
.dw-stat-card__label { font-size: 12px; color: #718096; text-transform: uppercase; letter-spacing: 1px; }

/* Property types */
.dw-prop-types { background: #f8fafc; padding: 60px 24px; }
.dw-prop-types__inner { max-width: 1100px; margin: 0 auto; }
.dw-prop-types h2 { font-size: 28px; color: #1a2332; margin-bottom: 28px; }
.dw-prop-types__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dw-type-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.2s;
  color: #1a2332;
}
.dw-type-card:hover { border-color: #4db8ac; box-shadow: 0 4px 12px rgba(77,184,172,0.15); }
.dw-type-card__icon { font-size: 24px; }
.dw-type-card__label { font-size: 14px; font-weight: 600; }

/* Amenity search */
.dw-amenity-search { background: #fff; padding: 60px 24px; }
.dw-amenity-search__inner { max-width: 1100px; margin: 0 auto; }
.dw-amenity-search h2 { font-size: 28px; color: #1a2332; margin-bottom: 28px; }
.dw-amenity-search__grid { display: flex; flex-wrap: wrap; gap: 12px; }
.dw-amenity-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 12px 22px;
  text-decoration: none;
  color: #1a2332;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.dw-amenity-card:hover { background: #e6fffa; border-color: #4db8ac; color: #1a3a6e; }
.dw-amenity-card__icon { font-size: 18px; }

/* Schools */
.dw-schools { background: #f8fafc; padding: 60px 24px; }
.dw-schools__inner { max-width: 1100px; margin: 0 auto; }
.dw-schools h2 { font-size: 28px; color: #1a2332; margin-bottom: 20px; }
.dw-schools h3 { font-size: 16px; color: #1a3a6e; margin: 28px 0 14px; text-transform: uppercase; letter-spacing: 1px; }
.dw-school-district { background: #1a3a6e; color: #fff; display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.dw-school-rating { background: #4db8ac; color: #000; padding: 3px 10px; border-radius: 4px; font-weight: 700; font-size: 13px; }
.dw-schools__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 8px; }
.dw-school-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 20px; }
.dw-school-card__name { font-size: 14px; font-weight: 600; color: #1a2332; margin-bottom: 6px; }
.dw-school-card__name a { color: #1a3a6e; text-decoration: none; }
.dw-school-card__name a:hover { color: #4db8ac; }
.dw-school-card__rating { font-size: 12px; color: #2e7d32; font-weight: 600; margin-bottom: 4px; }
.dw-school-card__grades { font-size: 12px; color: #718096; }
.dw-school-card__level { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #4db8ac; margin-bottom: 8px; }
.dw-school-card__district { font-size: 13px; color: #718096; line-height: 1.5; }

/* Map */
.dw-map-section { padding: 60px 24px; background: #fff; }
.dw-map-section__inner { max-width: 1100px; margin: 0 auto; }
.dw-map-section h2 { font-size: 24px; color: #1a2332; margin-bottom: 20px; }
.dw-map-embed { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* FAQ */
.dw-faq-section { background: #f8fafc; padding: 60px 24px; }
.dw-faq-section__inner { max-width: 860px; margin: 0 auto; }
.dw-faq-section h2 { font-size: 28px; color: #1a2332; margin-bottom: 32px; }
.dw-faq-list { display: flex; flex-direction: column; gap: 12px; }
.dw-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.dw-faq-item__q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2332;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dw-faq-item__q::after { content: '+'; font-size: 20px; color: #4db8ac; }
.dw-faq-item[open] .dw-faq-item__q::after { content: '−'; }
.dw-faq-item__a { padding: 0 22px 18px; font-size: 14px; line-height: 1.8; color: #4a5568; }

/* CTA */
.dw-community-cta { background: #1a2332; padding: 64px 24px; text-align: center; }
.dw-community-cta h2 { font-size: 32px; color: #fff; margin-bottom: 16px; }
.dw-community-cta p { font-size: 16px; color: #8a9bb0; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.dw-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.dw-cta-contact { font-size: 13px; color: #6a7b8e; }
.dw-cta-contact a { color: #4db8ac; text-decoration: none; }
.dw-cta-contact a:hover { color: #fff; }
.dw-cta-contact span { margin: 0 8px; }

/* Related communities */
.dw-related { background: #fff; padding: 60px 24px; }
.dw-related__inner { max-width: 1100px; margin: 0 auto; }
.dw-related h2 { font-size: 28px; color: #1a2332; margin-bottom: 28px; }
.dw-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.dw-related-card { text-decoration: none; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.2s; display: block; }
.dw-related-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-2px); }
.dw-related-card__img { height: 110px; background: #1a2332 center/cover no-repeat; }
.dw-related-card__img--placeholder { background: linear-gradient(135deg,#1a2332,#2d3748); }
.dw-related-card__title { padding: 12px 14px 4px; font-size: 13px; font-weight: 700; color: #1a2332; }
.dw-related-card__county { padding: 0 14px 12px; font-size: 11px; color: #718096; }

/* Mobile */
@media (max-width: 768px) {
  .dw-price-grid__cards { grid-template-columns: 1fr 1fr; }
  .dw-price-card:first-child { grid-column: 1 / -1; }
  .dw-cta-buttons { flex-direction: column; align-items: center; }
  .dw-community-intro, .dw-community-why__inner, .dw-map-section__inner, .dw-faq-section__inner { padding: 0; }
  .dw-community-intro, .dw-community-why, .dw-price-grid, .dw-market-trends, .dw-prop-types, .dw-amenity-search, .dw-schools, .dw-map-section, .dw-faq-section, .dw-community-cta, .dw-related { padding: 40px 16px; }
}
@media (max-width: 480px) {
  .dw-price-grid__cards { grid-template-columns: 1fr; }
  .dw-related__grid { grid-template-columns: 1fr 1fr; }
}
