.dbw-development-template {
    width: 100%;
}

.dbw-development-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.dbw-development-top {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.dbw-development-top--no-logo {
    display: block;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dbw-development-logo-wrap {
    text-align: center;
}

.dbw-development-logo {
    display: inline-block;
    max-width: 260px;
    width: auto;
    height: auto;
}

.dbw-development-heading-wrap {
    text-align: left;
}

.dbw-development-top--no-logo .dbw-development-heading-wrap {
    text-align: center;
}

.dbw-development-heading-wrap h1 {
    margin-top: 0;
}

.dbw-development-summary {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    margin: 1rem 0 0;
}

.dbw-development-address {
    margin: 1rem 0 0;
}

.dbw-development-all-properties-wrap {
    margin: 1.5rem 0 0;
}

.dbw-development-media-description {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    align-items: center;
    gap: 2.5rem;
}

.dbw-development-media-description--description-only,
.dbw-development-media-description--embed-only {
    display: block;
}

.dbw-development-description {
    text-align: left;
}

.dbw-development-description > :first-child {
    margin-top: 0;
}

.dbw-development-description > :last-child {
    margin-bottom: 0;
}

.dbw-development-video-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0 0;
    text-align: center;
}

.dbw-development-video-buttons--no-video {
    margin-top: 2rem;
}

.dbw-development-button,
.dbw-development-button:visited {
    border-radius: 30px 30px 30px 30px;
    background: #0ea3d7;
    border-width: 1px 0;
    border: 1px solid #0ea3d7;
    color: #ffffff !important;
    font-size: 1em;
    padding: 1em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding-inline: 2em;
    display: inline-block;
    line-height: 1.2;
    text-decoration: none;
}

.dbw-development-button:hover,
.dbw-development-button:focus {
    background: #0c92c1;
    border-color: #0c92c1;
    color: #ffffff !important;
    text-decoration: none;
}

.dbw-development-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.dbw-development-embed {
    text-align: center;
}

.dbw-development-embed iframe,
.dbw-development-sitemap iframe {
    max-width: 100%;
}

.dbw-development-embed iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
}

.dbw-development-properties-heading {
    text-align: center;
    margin: 0 0 2rem;
}

.dbw-development-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.dbw-development-property-card {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
}

.dbw-development-property-card-link,
.dbw-development-property-card-link:visited,
.dbw-development-property-card-link:hover,
.dbw-development-property-card-link:focus {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.dbw-development-property-title {
    background: #263974;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

.dbw-development-property-image-wrap {
    margin: 0;
    overflow: hidden;
}

.dbw-development-property-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.dbw-development-property-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: #f7f7f7;
}

.dbw-development-property-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #111111;
    font-size: 14px;
}

.dbw-development-property-meta-item--price {
    grid-column: 1 / -1;
}

.dbw-development-property-icon {
    color: #13003d;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

@media (max-width: 980px) {
    .dbw-development-properties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dbw-development-hero {
        padding-top: 0;
    }

    .dbw-development-top,
    .dbw-development-media-description {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dbw-development-top {
        margin-bottom: 2rem;
    }

    .dbw-development-logo-wrap,
    .dbw-development-heading-wrap,
    .dbw-development-heading-wrap h1,
    .dbw-development-address,
    .dbw-development-summary,
    .dbw-development-all-properties-wrap {
        text-align: center;
    }

    .dbw-development-summary {
        font-size: 24px;
    }
}

@media (max-width: 620px) {
    .dbw-development-properties-grid {
        grid-template-columns: 1fr;
    }
}

.dbw-developments-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.dbw-developments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.dbw-developments-grid > .dbw-development-listing-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 2rem) / 2);
}

.dbw-development-listing-card {
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
}

.dbw-development-listing-card-link,
.dbw-development-listing-card-link:visited,
.dbw-development-listing-card-link:hover,
.dbw-development-listing-card-link:focus {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.dbw-development-listing-title {
    background: #263974;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

.dbw-development-listing-content {
    padding: 1rem;
    background: #f7f7f7;
    text-align: center;
}

.dbw-development-listing-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.5;
    margin: 0;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
}

.dbw-development-listing-logo {
    display: block;
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dbw-development-listing-summary {
    margin: 25px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.4;
}

.dbw-development-listing-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 36px;
    margin: 1rem 0 0;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #111111;
    font-size: 14px;
    line-height: 1.4;
}

.dbw-development-listing-address .dbw-development-property-icon {
    color: #263974;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

.dbw-development-listing-button {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .dbw-developments-grid {
        grid-template-columns: 1fr;
    }

    .dbw-developments-grid > .dbw-development-listing-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .dbw-development-listing-summary {
        font-size: 22px;
    }
}


.dbw-nhbc-strip {
    display: grid;
    grid-template-columns: minmax(0, 28%) minmax(0, 72%);
    align-items: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem 3rem;
}

.dbw-nhbc-strip__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dbw-nhbc-strip__logo {
    display: block;
    max-width: 100%;
    width: 320px;
    height: auto;
}

.dbw-nhbc-strip__content p {
    margin: 0;
}

@media (max-width: 768px) {
    .dbw-nhbc-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}
