/* Public-site reconciliation, September 2026. Loaded after the existing theme.
   Scope every rule to a page/component; preserve Laravel's controls and states. */

/* Shared shell matches the reference's lighter headings and wider link columns. */
/* Restore BoxesFx stacking and reset behaviour overridden by the theme layer. */
#banner #boxgallery {
    z-index: auto !important;
}
#banner #boxgallery > nav span {
    z-index: 20;
}
#banner #boxgallery .panel.current {
    z-index: 2 !important;
}
#banner #boxgallery .panel.active {
    z-index: 1 !important;
}
#banner #boxgallery .panel .bg-img {
    transition: none !important;
}
#banner #boxgallery .panel.current .bg-img {
    transition: transform 1.1s ease-in-out !important;
}
/* A single drawn tick replaces the native tick plus legacy label tick. */
.dn-design input[type="checkbox"]:not([role="switch"]):not(.form-switch input) {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    border: 1px solid #0c47a9 !important;
    border-radius: 3px !important;
    background: #f5fbff !important;
    vertical-align: middle;
    cursor: pointer;
}
.dn-design
    input[type="checkbox"]:not([role="switch"]):not(
        .form-switch input
    ):checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='%230c47a9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    box-shadow: -3px 3px 0 #19afd8 !important;
}
.dn-design input[type="checkbox"] + label::before,
.dn-design input[type="checkbox"] + label::after {
    content: none !important;
    display: none !important;
}
.dn-design input[type="checkbox"]:focus-visible {
    outline: 2px solid #19afd8;
    outline-offset: 4px;
}
.dn-design input[type="checkbox"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
}
.dn-design .dn-testimonial-slider {
    padding-left: 28px;
    padding-right: 28px;
}
.dn-design .dn-testimonial-slider .dn-testimonial-arrow--prev {
    left: -6px;
}
.dn-design .dn-testimonial-slider .dn-testimonial-arrow--next {
    right: -6px;
}
@media (max-width: 1023.98px) {
    .dn-design .dn-testimonial-slider {
        padding-bottom: 58px;
    }
    .dn-design .dn-testimonial-slider .dn-testimonial-arrow {
        top: auto;
        bottom: 4px;
        transform: none;
    }
    .dn-design .dn-testimonial-slider .dn-testimonial-arrow--prev {
        left: calc(50% - 46px);
    }
    .dn-design .dn-testimonial-slider .dn-testimonial-arrow--next {
        right: calc(50% - 46px);
    }
}
.dn-design .dn-testimonial-slider .testimonial-info-5 {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 24px 24px 24px 34px;
    border: 1px solid #e3edf7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgb(12 71 169 / 5%);
}
.dn-design .dn-testimonial-slider .testimonial-info-5::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 23px;
    bottom: 23px;
    width: 4px;
    border-radius: 4px;
    background: #0c47a9;
}
.dn-design .dn-testimonial-slider .testimonial-info-5::after {
    content: "\201C";
    position: absolute;
    right: 22px;
    top: -8px;
    font:
        110px/1 Georgia,
        serif;
    color: #f0f4fa;
    pointer-events: none;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 > * {
    position: relative;
    z-index: 1;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .intro {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .user-avatar {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    padding: 3px;
    border: 3px solid #cceef6;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .user-name {
    min-width: 0;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .dn-customer-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 8px;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 h5 {
    margin: 0;
    color: #092044;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .user-name p {
    margin: 4px 0 0;
    color: #687d9b;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .fa-star.text-amber-400 {
    color: #19afd8 !important;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 .dn-star-rating {
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}
.dn-design .dn-testimonial-slider .testimonial-info-5 > p {
    margin: 0;
    color: #587092;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}
@media (max-width: 767.98px) {
    .dn-design .dn-testimonial-slider .testimonial-info-5 {
        padding: 22px 20px 22px 30px;
    }
    .dn-design .dn-testimonial-slider .testimonial-info-5 > p {
        font-size: 15px;
    }
}

/* ROI inputs have light surfaces: selected values and native options need dark ink. */
.dn-page-roi #roi-calculator select,
.dn-page-roi #roi-calculator select option {
    color: #09275b !important;
    background-color: #f8fcff !important;
    color-scheme: light;
}
.dn-page-roi #roi-calculator label {
    color: #dce9fa !important;
}
.dn-page-roi #roi-calculator .text-slate-500 {
    color: #a9bbd2 !important;
}
.dn-page-roi #roi-calculator select:focus-visible {
    outline: 2px solid #19afd8 !important;
    outline-offset: 2px;
}

.dn-design .main-footer-3 h4 {
    font-size: 22px;
    font-weight: 400 !important;
    line-height: 1.3;
}
.dn-design .main-footer-3 :is(p, a) {
    font-weight: 400;
}
.dn-design .main-footer-3 .contact-info a {
    overflow-wrap: anywhere;
}
/* Measured small differences from the live reference at desktop width. */
.dn-page-home .dn-categories-view-all {
    font-size: 12px;
}
@media (min-width: 992px) {
    .dn-page-blog-index .dn-editorial-card h2,
    .dn-page-blog-index .dn-editorial-card h2 a {
        font-size: 18px !important;
    }
}
@media (min-width: 992px) {
    .dn-design .main-footer-3 .footer-inner > .container > .row {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr 1.65fr;
        gap: 24px;
        margin: 0;
    }
    .dn-design .main-footer-3 .footer-inner > .container > .row > div {
        width: auto;
        max-width: none;
        padding: 0;
    }
}

/* Keep author portraits outside the clipped photo while retaining the overlap. */
.dn-page-home .dn-insight-card .detail {
    position: relative;
    overflow: visible;
}
.dn-page-home .dn-insight-card .detail > .dn-insight-avatar {
    position: absolute;
    top: -24px;
    bottom: auto;
    left: 16px;
}

/* Record-driven pages should not leave an unused column when fewer cards exist. */
@media (min-width: 768px) {
    .dn-page-about .dn-about-philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
.dn-page-about .dn-about-philosophy-card {
    height: 100%;
}
.dn-page-career .dn-career-role-content {
    padding: 24px;
}
.dn-page-career .dn-career-role-content :is(h3, p) {
    text-align: left;
}
.dn-page-career .dn-career-role-meta {
    flex-wrap: wrap;
}
.dn-page-career .dn-career-value-card {
    height: 100%;
}
.dn-page-awards .dn-awards-grid {
    align-items: start;
}
.dn-page-awards .dn-awards-grid > * {
    min-width: 0;
}

/* Listing and search use one compact property card and the same live filters. */
.dn-page-properties-index #main-content > section:first-child {
    background:
        radial-gradient(ellipse at 90% 20%, #e0f6fc, transparent 50%),
        linear-gradient(120deg, #eef6ff, #fff) !important;
}
.dn-page-properties-index #main-content > section:first-child h1 {
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 600 !important;
}
.dn-page-properties-index #main-content > section:nth-child(2) {
    padding-top: 36px;
    background: #fff;
}
/* The legacy stylesheet hides this column in favour of a separate mobile form.
   Laravel uses the same live form at every size, so keep it accessible. */
.dn-page-properties-index .dn-property-filter-column {
    display: block;
}
.dn-page-properties-index .dn-property-filter {
    padding: 22px;
    border-radius: 18px;
}
.dn-page-properties-index .dn-property-filter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.dn-page-properties-index .dn-property-filter-form > div {
    width: 100%;
    margin: 0 !important;
    grid-column: auto !important;
}
.dn-page-properties-index
    .dn-property-filter-form
    > :is(div:first-child, div:nth-last-child(2), div:last-child) {
    grid-column: 1 / -1 !important;
}
.dn-page-properties-index .dn-property-filter label {
    display: block;
    margin: 0 0 5px;
    text-align: left;
    font-weight: 400 !important;
    font-size: 13px;
}
.dn-page-properties-index .dn-property-filter :is(.form-control, .form-select) {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding-right: 28px;
    font-size: 13px !important;
    font-weight: 400;
}
.dn-page-properties-index .dn-property-filter h2 {
    font-size: 19px;
    font-weight: 600 !important;
}
.dn-page-properties-index .dn-property-filter > div:first-child {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.dn-page-properties-index .dn-property-filter > div:first-child a {
    position: static;
    margin-left: auto;
    font-size: 12px;
}
.dn-page-properties-index .dn-compact-property-grid {
    align-items: stretch;
    gap: 24px;
}
.dn-page-properties-index .dn-compact-property-card {
    border-radius: 10px !important;
    border-color: #d6dce3;
    box-shadow: none;
}
.dn-page-properties-index .dn-compact-property-card > :first-child {
    aspect-ratio: auto;
}
.dn-page-properties-index .dn-padded-photo-wrapper {
    padding: 0 !important;
}
.dn-page-properties-index .dn-padded-photo-wrapper > .relative {
    border-radius: 0 !important;
}
.dn-page-properties-index .dn-card-body {
    padding: 12px 10px 10px !important;
}
.dn-page-properties-index .dn-compact-property-card h3 {
    font-weight: 600 !important;
}
.dn-page-properties-index .dn-compact-property-card .dn-compact-developer {
    color: #62718a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}
.dn-page-properties-index .dn-compact-property-card .dn-compact-meta {
    flex-wrap: nowrap;
    margin-top: 10px !important;
    padding: 8px 0 !important;
    font-size: 12px !important;
    font-weight: 400;
}
.dn-page-properties-index .dn-compact-meta > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dn-page-properties-index .dn-compact-meta > span:last-child {
    flex: 0 1 45%;
    text-align: right;
}
.dn-page-properties-index .dn-compact-property-card .dn-compact-footer {
    flex-wrap: nowrap;
    gap: 8px;
}
.dn-page-properties-index .dn-compact-footer > div {
    font-size: 15px !important;
    font-weight: 500 !important;
}
.dn-page-properties-index .dn-contact-btn {
    font-size: 12px;
    font-weight: 400 !important;
}
@media (min-width: 1024px) {
    .dn-page-properties-index
        #main-content
        > section:nth-child(2)
        > .myContainer
        > .grid {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 24px;
    }
}
@media (min-width: 1200px) {
    .dn-page-properties-index .dn-compact-property-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Editorial cards retain current categories/search; typography mirrors the old cards. */
:is(.dn-page-blog-index, .dn-page-news-index, .dn-page-events-index)
    #main-content
    > section:last-child {
    min-height: 0;
}
:is(.dn-page-blog-index, .dn-page-news-index, .dn-page-events-index)
    .dn-editorial-card
    :is(h2, h3) {
    text-align: left !important;
    font-size: 18px;
    font-weight: 600 !important;
    line-height: 1.4;
}
:is(.dn-page-blog-index, .dn-page-news-index, .dn-page-events-index)
    .dn-editorial-card
    .p-6 {
    padding: 20px;
    text-align: left;
}
:is(.dn-page-blog-index, .dn-page-news-index, .dn-page-events-index)
    .dn-editorial-card
    p {
    text-align: left !important;
    font-size: 15px;
    line-height: 1.75;
}
.dn-page-events-index .dn-editorial-card .bg-emerald-600 {
    background: var(--dn-gradient) !important;
}
.dn-page-events-index .dn-editorial-card .bg-emerald-600:hover {
    background: linear-gradient(135deg, #19afd8, #0c47a9) !important;
}
.dn-page-events-index
    .dn-editorial-card
    :is(.text-emerald-400, .text-emerald-600) {
    color: #159dc9 !important;
}
.dn-editorial-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.dn-editorial-tabs > a {
    flex: 0 1 auto;
    min-width: 0;
    padding: 10px 18px;
    border: 0 !important;
    border-radius: 999px;
    background: #fff;
    color: #0c47a9;
    font-size: 13px;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(12, 71, 169, 0.06);
}
.dn-editorial-tabs > a:is(.bg-blue-700, .bg-sky-500, .bg-emerald-600) {
    color: #fff !important;
    background: var(--dn-gradient) !important;
}

/* Do not style paginator wrapper spans as buttons; only the actual controls. */
.dn-design .dn-editorial-pagination nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.dn-design .dn-editorial-pagination nav > div:first-child {
    display: none !important;
}
.dn-design .dn-editorial-pagination nav > div:last-child {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}
.dn-design .dn-editorial-pagination nav span {
    display: inline;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
}
.dn-design .dn-editorial-pagination nav p {
    margin: 0;
    font-size: 13px;
    color: #62718a;
}
.dn-design
    .dn-editorial-pagination
    nav
    > div:last-child
    > div:last-child
    > span {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    box-shadow: none;
}
.dn-design .dn-editorial-pagination nav a,
.dn-design .dn-editorial-pagination nav [aria-current] > span,
.dn-design .dn-editorial-pagination nav [aria-disabled] > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: #385977;
    font-size: 13px;
    font-weight: 500;
}
.dn-design .dn-editorial-pagination nav [aria-current] > span {
    color: #fff;
    border-color: transparent;
    background: var(--dn-gradient);
}
.dn-design .dn-editorial-pagination nav [aria-disabled] > span {
    color: #9bacc0;
    background: #f5f8fc;
}
.dn-design .dn-editorial-pagination svg {
    width: 16px;
    height: 16px;
}
.dn-design .dn-editorial-pagination nav,
.dn-design .dn-editorial-pagination nav :is(a, span) {
    box-shadow: none !important;
}
.dn-design .dn-editorial-pagination nav a:focus-visible {
    outline: 2px solid var(--dn-blue) !important;
    outline-offset: 3px;
}

/* Blog, news and event details share the live Laravel article template. */
.dn-page-blog-show .dn-audit-article-hero {
    background:
        radial-gradient(ellipse at 85% 30%, #e1f7fc, transparent 45%),
        linear-gradient(120deg, #eff6fe, #fff) !important;
}
.dn-page-blog-show .dn-audit-article-hero .myContainer {
    max-width: 1200px;
    text-align: left;
}
.dn-page-blog-show .dn-audit-article-hero h1 {
    max-width: 900px;
    margin: 14px 0;
    text-align: left;
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.18;
}
.dn-page-blog-show .dn-audit-article-hero .justify-center {
    justify-content: flex-start;
    font-weight: 400;
}
:is(.dn-page-blog-show, .dn-page-news-show, .dn-page-events-show)
    .dn-audit-article-hero
    :is(.dn-parity-eyebrow, .dn-eyebrow) {
    background: transparent !important;
    border: none !important;
    color: #19afd8 !important;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.dn-page-blog-show .dn-audit-article-section {
    min-height: 0;
}
.dn-page-blog-show .dn-audit-article-aside {
    top: 105px;
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside > .bg-white {
    padding: 22px;
    border: 0 !important;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgb(12 71 169 / 6%);
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside :is(h3, h4, p, span, time, div, a) {
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside h3 {
    font-size: 19px;
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside h4 {
    font-size: 15px;
    font-weight: 500 !important;
    line-height: 1.4;
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside .group {
    padding-bottom: 14px;
    border-bottom: 0 !important;
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside .group > div:first-child {
    width: 82px;
    height: 64px;
    border: 0 !important;
}
.dn-page-blog-show .article-content {
    font-size: 16px;
    line-height: 1.85;
    text-align: left !important;
}
.dn-page-blog-show .article-content > :first-child {
    margin-top: 0;
}
.dn-page-blog-show .article-content :is(h2, h3) {
    font-size: clamp(21px, 2vw, 28px);
    text-align: left !important;
}
.dn-page-blog-show .article-content :is(ul, ol, p, div) {
    text-align: left !important;
}
.dn-page-blog-show .dn-audit-article-aside > .bg-gradient-to-br {
    background: var(--dn-gradient);
    border: 0 !important;
}

/* Legal pages: the reference uses a simple, left-aligned reading column. */
:is(.dn-page-privacy, .dn-page-terms) #main-content {
    background: #f4faff;
}
:is(.dn-page-privacy, .dn-page-terms) #main-content > section {
    background: transparent !important;
}
:is(.dn-page-privacy, .dn-page-terms) #main-content > section:first-child {
    padding-block: 48px 20px !important;
    border: 0;
}
:is(.dn-page-privacy, .dn-page-terms) #main-content > section:last-child {
    padding-top: 16px;
}
:is(.dn-page-privacy, .dn-page-terms) #main-content h1 {
    text-align: left;
    font-size: 34px;
    font-weight: 600 !important;
}
:is(.dn-page-privacy, .dn-page-terms) .dn-legal-copy {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}
:is(.dn-page-privacy, .dn-page-terms) .dn-legal-copy h2 {
    margin-top: 0;
    font-size: 21px;
    font-weight: 600 !important;
}
:is(.dn-page-privacy, .dn-page-terms) .dn-legal-copy h2 > .rounded-full {
    display: none;
}

/* Services and FAQ keep their extra Laravel tools but match the brand palette. */
.dn-page-services-index .dn-legacy-services {
    background: #f4faff;
}
.dn-page-services-index .service-info-4 {
    height: calc(100% - 24px);
    padding: 26px 22px;
    border: 1px solid #deebf5;
    border-bottom: 2px solid #0c47a9;
    border-radius: 12px;
    background: #fff;
}
.dn-page-services-index .service-info-4 h3 {
    font-size: 19px;
    font-weight: 600 !important;
}
.dn-page-services-show #main-content :is(h1, h2, h3, p) {
    text-align: left;
}
.dn-page-services-show #main-content .myContainer {
    max-width: 1200px;
}
.dn-page-services-show .dn-service-detail {
    background: #f4faff;
}
.dn-page-services-show .dn-service-detail-card {
    padding: 30px;
    border: 1px solid #dce3e8;
    border-radius: 12px;
    background: #fff;
}
.dn-page-services-show .dn-service-detail-intro {
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e4edf5;
}
.dn-page-services-show .dn-service-detail-card h1 {
    font-size: clamp(24px, 2.1vw, 30px);
    font-weight: 600 !important;
}
.dn-page-services-show .dn-service-detail-card h2 {
    font-size: 22px;
    font-weight: 600 !important;
}
.dn-page-faq .dn-faq-advisory-card {
    background: var(--dn-gradient);
}
.dn-page-faq .dn-faq-advisory-card > span {
    color: #fff;
    background: rgb(255 255 255 / 15%);
}
.dn-page-faq .dn-faq-advisory-card button {
    background: #fff;
    color: #0c47a9;
    font-weight: 500 !important;
}
.dn-page-faq .dn-faq-advisory-card button:hover {
    background: #eaf7ff;
}
.dn-page-faq .faq-question-btn {
    font-weight: 500 !important;
}
/* Slightly larger FAQ topic navigation, while retaining its compact card layout. */
.dn-page-faq .dn-faq-topics-card > .flex > span:first-child {
    font-size: 15px !important;
}
.dn-page-faq .dn-faq-topics-card > .flex > span:last-child {
    font-size: 13px !important;
}
.dn-page-faq .faq-cat-nav-btn {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 15px;
}
.dn-page-faq .faq-cat-nav-btn .badge-count {
    font-size: 12px !important;
}
/* FAQ cards: clear single-open accordion matching the supplied reference. */
.dn-page-faq .faq-card {
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #d8e6f2 !important;
    border-radius: 20px;
    background: #fff;
    box-shadow: none !important;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}
.dn-page-faq .faq-card.is-active {
    border-color: #9cdef2 !important;
    background: #fff;
    box-shadow: none !important;
}
.dn-page-faq .faq-card .faq-question-btn {
    min-height: 92px;
    padding: 23px 27px;
    color: #09275b;
    font-size: 20px;
    font-weight: 600 !important;
    line-height: 1.35;
    text-align: left;
}

/* Property-detail summary and tab copy: stronger contrast and readable sizing. */
.dn-page-properties-show #main-content .dn-legacy-detail-summary h1 {
    color: #09275b !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.16 !important;
}
.dn-page-properties-show #main-content .dn-summary-address,
.dn-page-properties-show #main-content .dn-summary-developer {
    color: #365a84 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}
.dn-page-properties-show #main-content .dn-summary-developer > span {
    color: #0c47a9 !important;
}
.dn-page-properties-show #main-content .dn-summary-price-actions > div {
    color: #09275b !important;
    font-size: 32px !important;
    font-weight: 700 !important;
}
.dn-page-properties-show #main-content .dn-summary-price-actions .btn {
    font-size: 13px !important;
    padding: 7px 30px 7px 8px !important;
}
.dn-page-properties-show #propertyDetailsTabs .prop-nav-tab {
    min-height: 40px;
    color: #153a70 !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.dn-page-properties-show #propertyDetailsTabs .prop-nav-tab.active {
    color: #fff !important;
}
@media (max-width: 767.98px) {
    .dn-page-properties-show #main-content .dn-legacy-detail-summary h1 {
        font-size: 27px !important;
    }
    .dn-page-properties-show #main-content .dn-summary-price-actions > div {
        font-size: 27px !important;
    }
    .dn-page-properties-show #main-content .dn-summary-price-actions .btn {
        font-size: 13px !important;
        width: fit-content;
    }
    .dn-page-properties-show #propertyDetailsTabs .prop-nav-tab {
        min-height: 40px;
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}

/* The hero's `w-100` utility previously removed the container gutters. */
@media (max-width: 991.98px) {
    #banner > .myContainer.w-100 {
        width: calc(100% - 32px) !important;
    }
}
@media (max-width: 575.98px) {
    #banner > .myContainer.w-100 {
        width: calc(100% - 24px) !important;
    }
}

/* Public-site readability pass: the requested one-pixel increase for Tailwind
   utility copy (the direct stylesheet declarations are updated alongside this). */
.dn-design
    :is(
        .text-xs,
        [class~="text-[12px]"],
        [class~="sm:text-xs"],
        [class~="md:text-xs"],
        [class~="lg:text-xs"]
    ):not(i):not(svg) {
    font-size: 13px !important;
}
.dn-design
    :is(
        .text-sm,
        [class~="text-[14px]"],
        [class~="sm:text-sm"],
        [class~="md:text-sm"],
        [class~="lg:text-sm"]
    ):not(i):not(svg) {
    font-size: 15px !important;
}
.dn-design
    :is(
        [class~="text-[10px]"],
        [class~="sm:text-[10px]"],
        [class~="md:text-[10px]"],
        [class~="lg:text-[10px]"]
    ):not(i):not(svg) {
    font-size: 11px !important;
}
.dn-design
    :is(
        [class~="text-[11px]"],
        [class~="sm:text-[11px]"],
        [class~="md:text-[11px]"],
        [class~="lg:text-[11px]"]
    ):not(i):not(svg) {
    font-size: 14px !important;
}
.dn-page-faq .faq-card .faq-question-btn > span:first-child {
    gap: 4px !important;
}
.dn-page-faq .faq-card .faq-question-btn > span:first-child > span:first-child {
    display: inline-block;
    width: auto;
    height: auto;
    margin-right: 4px;
    border-radius: 0;
    background: transparent;
    color: #0c47a9;
    font: inherit;
}
.dn-page-faq .faq-card .faq-question-btn > span:last-child {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #edf7fc;
    color: #0c47a9;
    font-size: 16px;
}
.dn-page-faq .faq-card.is-active .faq-question-btn > span:last-child {
    color: #fff;
    background: var(--dn-gradient);
}
.dn-page-faq .faq-card.is-active .faq-question-btn > span:last-child i {
    color: #fff !important;
}
.dn-page-faq .faq-card .faq-answer-panel {
    padding: 0 27px 26px;
    color: #233959;
    background: transparent;
}
.dn-page-faq .faq-card .faq-answer-panel > div:first-child {
    display: none;
}
.dn-page-faq .faq-card .faq-answer-panel > div:last-child {
    color: #233959 !important;
    font-size: 18px;
    font-weight: 400 !important;
    line-height: 1.4;
    text-align: left !important;
}
@media (max-width: 575.98px) {
    .dn-page-faq .faq-card {
        margin-bottom: 12px;
        border-radius: 16px;
    }
    .dn-page-faq .faq-card .faq-question-btn {
        min-height: 74px;
        padding: 18px;
        font-size: 16px;
    }
    .dn-page-faq .faq-card .faq-question-btn > span:last-child {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .dn-page-faq .faq-card .faq-answer-panel {
        padding: 0 18px 20px;
    }
    .dn-page-faq .faq-card .faq-answer-panel > div:last-child {
        font-size: 15px;
        line-height: 1.5;
    }
}
.dn-page-contact .dn-contact-form-card {
    padding: 30px;
}
.dn-page-contact .dn-contact-grid {
    margin-top: 48px;
}
.dn-page-contact .dn-contact-stamp {
    top: -39px !important;
    right: -6px !important;
    width: 115px !important;
    height: 88px !important;
}
.dn-page-contact .dn-contact-form-card > .mb-6 {
    padding-right: 88px;
}
.dn-page-contact .dn-contact-form-card .form-label {
    font-size: 14px !important;
    font-weight: 600 !important;
}
/* Property cards: wishlist save button styling & blue gradient hover effect */
.dn-design .dn-save-property,
.dn-design .dn-gradient-hover {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1px solid rgba(12, 71, 169, 0.12) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0c47a9 !important;
    box-shadow: 0 4px 12px rgba(5, 27, 62, 0.12) !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        background-image 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.dn-design .dn-save-property {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
}

.dn-design .dn-save-property i,
.dn-design .dn-save-property .fa,
.dn-design .dn-gradient-hover i,
.dn-design .dn-gradient-hover .fa {
    font-size: 14px !important;
    color: inherit;
    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
    line-height: 1 !important;
}

.dn-design .dn-save-property:hover,
.dn-design .dn-save-property.is-wishlisted:hover,
.dn-design .dn-gradient-hover:hover,
.dn-design .dn-gradient-hover.is-wishlisted:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: rgba(25, 175, 216, 0.55) !important;
    color: #0c47a9 !important;
    box-shadow: 0 7px 16px rgba(12, 71, 169, 0.18) !important;
    transform: translateY(-2px) !important;
}
.dn-design .dn-save-property.is-wishlisted,
.dn-design .dn-save-property.is-wishlisted:hover {
    color: #e11d48 !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
}

.dn-design .dn-save-property:hover i,
.dn-design .dn-save-property:hover .fa,
.dn-design .dn-save-property.is-wishlisted:hover i,
.dn-design .dn-save-property.is-wishlisted:hover .fa,
.dn-design .dn-gradient-hover:hover i,
.dn-design .dn-gradient-hover:hover .fa,
.dn-design .dn-gradient-hover.is-wishlisted:hover i,
.dn-design .dn-gradient-hover.is-wishlisted:hover .fa {
    color: #ffffff !important;
}

.dn-design .dn-save-property.is-wishlisted,
.dn-design .dn-save-property.is-wishlisted i,
.dn-design .dn-save-property.is-wishlisted .fa,
.dn-design .dn-save-property.text-rose-600,
.dn-design .dn-save-property.text-rose-600 i,
.dn-design .dn-gradient-hover.is-wishlisted,
.dn-design .dn-gradient-hover.is-wishlisted i,
.dn-design .dn-gradient-hover.is-wishlisted .fa,
.dn-design .dn-gradient-hover.text-rose-600,
.dn-design .dn-gradient-hover.text-rose-600 i {
    color: #e11d48 !important;
}

.dn-design .dn-save-property.is-wishlisted,
.dn-design .dn-gradient-hover.is-wishlisted {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(225, 29, 72, 0.25) !important;
}
.dn-page-contact .dn-contact-submit-action {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 22px 0 8px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(110deg, #0c47a9, #19afd8);
    box-shadow: 0 12px 24px rgb(12 71 169 / 22%);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.55px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.dn-page-contact .dn-contact-submit-action > i:first-child {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    color: #fff;
    font-size: 14px;
}
.dn-page-contact .dn-contact-submit-action > i:last-child {
    color: #fff;
    font-size: 13px;
}
.dn-page-contact .dn-contact-submit-action:hover,
.dn-page-contact .dn-contact-submit-action:focus-visible {
    color: #fff;
    box-shadow: 0 16px 28px rgb(12 71 169 / 28%);
    transform: translateY(-2px);
}
.dn-page-contact .dn-contact-submit-action:focus-visible {
    outline: 2px solid #19afd8;
    outline-offset: 3px;
}
.dn-page-contact .dn-contact-submit-action:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}
@media (max-width: 991.98px) {
    .dn-page-contact .dn-contact-grid {
        margin-top: 36px;
    }
}
@media (max-width: 575.98px) {
    .dn-page-contact .dn-contact-grid {
        margin-top: 28px;
    }
    .dn-page-contact .dn-contact-stamp {
        top: 16px !important;
        right: 16px !important;
        width: 72px !important;
        height: 72px !important;
    }
    .dn-page-contact .dn-contact-form-card > .mb-6 {
        padding-right: 72px;
    }
}

/* Homepage consultation banner: use the Dreamnest navy/cyan system, not amber. */
.dn-page-home .dn-cta-banner {
    isolation: isolate;
    border: 1px solid rgb(25 175 216 / 20%);
    border-radius: 22px;
    background: linear-gradient(
        110deg,
        #09275b 0%,
        #0c47a9 55%,
        #19afd8 145%
    ) !important;
    box-shadow: 0 18px 36px rgb(9 39 91 / 20%) !important;
}
.dn-page-home .dn-cta-banner::after {
    position: absolute;
    z-index: -1;
    right: -74px;
    bottom: -148px;
    width: 290px;
    height: 290px;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 50%;
    content: "";
}
.dn-page-home .dn-cta-banner .space-y-2 > span {
    color: #19d3f0 !important;
    background: rgb(255 255 255 / 12%) !important;
}
.dn-page-home .dn-cta-banner :is(h2, p) {
    color: #fff !important;
}
.dn-page-home .dn-cta-banner p {
    color: rgb(255 255 255 / 84%) !important;
}
.dn-page-home .dn-cta-primary,
.dn-page-home .dn-cta-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}
.dn-page-home .dn-cta-primary {
    border: 1px solid #fff;
    color: #0c47a9 !important;
    background: #fff !important;
    box-shadow: none;
}
.dn-page-home .dn-cta-secondary {
    border: 1px solid rgb(255 255 255 / 75%);
    color: #fff !important;
    background: rgb(255 255 255 / 10%) !important;
}
.dn-page-home .dn-cta-primary:hover {
    color: #fff !important;
    background: #0c47a9 !important;
    transform: translateY(-2px);
}
.dn-page-home .dn-cta-secondary:hover {
    color: #0c47a9 !important;
    background: #fff !important;
    transform: translateY(-2px);
}

/* Position arrows OUTSIDE slider cards – pad the container so arrows are not clipped. */
.dn-design
    :is(
        .dn-featured-slider,
        .dn-city-slider,
        .dn-blog-slider,
        .dn-about-team-slider,
        .dn-services-grid.slick-initialized,
        .dn-categories-grid.slick-initialized
    ) {
    position: relative;
    padding-left: 28px;
    padding-right: 28px;
}
.dn-design
    :is(
        .dn-featured-slider,
        .dn-city-slider,
        .dn-blog-slider,
        .dn-about-team-slider,
        .dn-services-grid.slick-initialized,
        .dn-categories-grid.slick-initialized
    )
    > :is(
        .dn-featured-arrow,
        .dn-city-arrow,
        .dn-slider-arrow,
        .dn-about-team-arrow,
        .dn-service-arrow,
        .dn-category-arrow
    ) {
    z-index: 25;
}
.dn-design
    :is(
        .dn-featured-slider,
        .dn-city-slider,
        .dn-blog-slider,
        .dn-about-team-slider,
        .dn-services-grid.slick-initialized,
        .dn-categories-grid.slick-initialized
    )
    > :is(
        .dn-featured-arrow--prev,
        .dn-city-arrow--prev,
        .dn-slider-arrow--prev,
        .dn-about-team-arrow--prev,
        .dn-service-arrow--prev,
        .dn-category-arrow--prev
    ) {
    left: -6px !important;
}
.dn-design
    :is(
        .dn-featured-slider,
        .dn-city-slider,
        .dn-blog-slider,
        .dn-about-team-slider,
        .dn-services-grid.slick-initialized,
        .dn-categories-grid.slick-initialized
    )
    > :is(
        .dn-featured-arrow--next,
        .dn-city-arrow--next,
        .dn-slider-arrow--next,
        .dn-about-team-arrow--next,
        .dn-service-arrow--next,
        .dn-category-arrow--next
    ) {
    right: -6px !important;
}
.dn-page-contact .dn-contact-panel {
    position: relative;
    overflow: hidden;
    padding: 30px 26px;
    background: linear-gradient(
        135deg,
        #0c2d64 0%,
        #104aaa 70%,
        #19afd8 115%
    ) !important;
    border: 0;
    text-align: left;
}
.dn-page-contact .dn-contact-panel::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -150px;
    right: -130px;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 50%;
    pointer-events: none;
}
.dn-page-contact .dn-contact-panel .dn-contact-info-eyebrow {
    display: block;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e0edff !important;
}
.dn-page-contact .dn-contact-panel > h3 {
    margin: 10px 0 0px !important;
    padding: 0;
    border: 0;
    font-size: 36px !important;
    line-height: 1.2;
    color: #fff !important;
}
.dn-page-contact .dn-contact-panel > .dn-contact-info-intro {
    margin: 0 0 38px !important;
    font-size: 17px;
    line-height: 1.65;
    color: #e0edff !important;
}
.dn-page-contact .dn-contact-panel > .flex:not(.dn-contact-socials) {
    margin: 0;
    padding: 20px 0;
    gap: 16px;
    border-top: 1px solid rgb(255 255 255 / 20%);
    border-bottom: 0;
}
.dn-page-contact .dn-contact-panel .flex-shrink-0 {
    width: 45px;
    height: 45px;
    border: 0 !important;
    border-radius: 15px !important;
    background: rgb(255 255 255 / 15%) !important;
    color: #fff !important;
    font-size: 21px;
    box-shadow: none;
}
.dn-page-contact .dn-contact-panel h4 {
    color: #fff !important;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 6px;
}
.dn-page-contact .dn-contact-panel .min-w-0 :is(p, a, span) {
    color: #e0edff !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.dn-page-contact .dn-contact-info-card :is(h2, h3, p) {
    text-align: left;
}
.dn-page-contact .dn-contact-socials {
    flex-wrap: wrap;
    gap: 12px;
}
.dn-page-contact .dn-contact-panel .dn-contact-socials a {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    background: #fff;
    color: #0c47a9 !important;
    font-size: 18px;
    box-shadow: 0 4px 12px rgb(7 27 61 / 12%);
    transition:
        color 0.2s,
        background-color 0.2s;
}
.dn-page-contact .dn-contact-panel .dn-contact-socials a i {
    color: inherit !important;
}
.dn-page-contact
    .dn-contact-panel
    .dn-contact-socials
    a:is(:hover, :focus-visible) {
    background: #09275b;
    color: #fff !important;
}
.dn-page-contact .dn-contact-panel .dn-contact-socials a:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
}

/* Office location: one continuous 40/60 split panel, as in the reference. */
.dn-page-contact .dn-office-map {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 0;
    max-width: 1040px;
    padding: 16px;
    margin: 34px auto 0;
    overflow: hidden;
    border: 1px solid #dce8f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 37px rgb(12 71 169 / 10%);
}
.dn-page-contact .dn-office-copy {
    min-width: 0;
    padding: 56px;
    background: linear-gradient(135deg, #f7fcff, #edf8fd);
    text-align: left;
}
.dn-page-contact .dn-office-copy .dn-parity-eyebrow {
    margin: 0 0 13px;
    color: #19afd8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.2;
}
.dn-page-contact .dn-office-copy h2 {
    margin: 0;
    color: #09275b;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
}
.dn-page-contact .dn-office-copy h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: #19afd8;
}
.dn-page-contact .dn-office-copy p {
    margin: 16px 0 0;
    color: #60728e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}
.dn-page-contact .dn-office-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    min-height: 450px;
    border: 0;
    border-radius: 0;
}
@media (max-width: 767.98px) {
    .dn-page-contact .dn-office-map {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
        margin-top: 25px;
        border-radius: 18px;
    }
    .dn-page-contact .dn-office-copy {
        padding: 32px 24px;
    }
    .dn-page-contact .dn-office-copy h2 {
        font-size: 28px;
    }
    .dn-page-contact .dn-office-map iframe {
        height: 320px;
        min-height: 320px;
    }
}

/* Authentication: original local photograph and split-screen proportions. */
.dn-auth .contact-section .bg-login-ing {
    background: url("../img/img-1.jpg") center / cover no-repeat !important;
}
.dn-auth .contact-section .login-inner-form h3 {
    font-weight: 500 !important;
}
.dn-auth-recovery {
    background: #eef1f6;
    position: relative;
    isolation: isolate;
}
.dn-auth-recovery::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 40% 0 0;
    background: url("../img/img-1.jpg") center / cover no-repeat;
}
.dn-auth-recovery::before {
    content: "Dreamnest Realtors";
    color: #fff;
    font-size: 30px;
    font-weight: 500;
}
.dn-auth-recovery > .bg-white {
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}
.dn-auth-recovery h2 {
    font-size: 23px;
    font-weight: 500 !important;
}
@media (min-width: 1024px) {
    body.dn-auth-recovery {
        padding: 30px 30px 30px calc(60% + 30px) !important;
    }
    .dn-auth-recovery::before {
        left: 0;
        width: 60%;
        text-align: center;
    }
    .dn-auth-recovery > .bg-white {
        padding-inline: 12px;
    }
}
@media (max-width: 1023.98px) {
    .dn-auth-recovery::before,
    .dn-auth-recovery::after {
        display: none;
    }
    .dn-auth-recovery > .bg-white {
        background: #fff !important;
        border-radius: 18px;
    }
}

/* Account views are inspected at template level; authentication stays in place. */
:is(.dn-page-user-dashboard, .dn-page-user-settings, .dn-page-user-wishlist)
    #main-content
    :is(h1, h2, h3, h4) {
    text-align: left;
}
.dn-page-user-wishlist #main-content :is(.text-center h3, h3.text-center) {
    text-align: center;
}
:is(.dn-page-user-dashboard, .dn-page-user-settings, .dn-page-user-wishlist)
    #main-content
    .text-rose-500:not(.fa-heart),
:is(.dn-page-user-dashboard, .dn-page-user-settings, .dn-page-user-wishlist)
    #main-content
    .text-rose-700 {
    color: #0c47a9;
}
.dn-page-user-wishlist #main-content .bg-rose-50 {
    background: #eef7ff;
    color: #0c47a9;
    border-color: #d5e6f7;
}
:is(.dn-page-user-dashboard, .dn-page-user-settings, .dn-page-user-wishlist)
    #main-content
    ul
    a {
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
:is(.dn-page-user-dashboard, .dn-page-user-settings, .dn-page-user-wishlist)
    .btn.bg-blue-700 {
    background: var(--dn-gradient);
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .dn-design .main-footer-3 h4 {
        font-size: 19px;
    }
    .dn-page-properties-index .dn-property-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dn-page-properties-index .dn-property-filter-form > div {
        grid-column: auto !important;
    }
    .dn-page-properties-index .dn-property-filter-form > div:first-child,
    .dn-page-properties-index .dn-property-filter-form > div:last-child {
        grid-column: 1 / -1 !important;
    }
    .dn-page-properties-index .dn-property-filter > div:first-child {
        justify-content: space-between;
    }
    .dn-editorial-tabs {
        gap: 8px;
    }
    .dn-editorial-tabs > a {
        padding: 8px 12px;
        font-size: 12px;
    }
    .dn-page-blog-show .dn-audit-article-aside {
        position: static;
    }
    .dn-page-blog-show .dn-audit-article-hero h1 {
        font-size: 30px;
    }
    :is(.dn-page-privacy, .dn-page-terms) #main-content h1 {
        font-size: 29px;
    }
    :is(.dn-page-privacy, .dn-page-terms) .dn-legal-copy h2 {
        font-size: 20px;
    }
    .dn-page-services-show
        #main-content
        > section:last-child
        > .myContainer
        > div {
        padding: 20px;
    }
}
.dn-page-thankyou .dn-thankyou-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.dn-page-thankyou .dn-thankyou-copy {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}
.dn-page-thankyou .dn-thankyou-copy .space-y-3 {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dn-page-thankyou .dn-thankyou-copy .space-y-3 a {
    width: auto;
    margin: 0;
    padding: 12px 20px;
}
.dn-page-thankyou .dn-thankyou-art {
    margin: 0;
}
.dn-page-thankyou .dn-thankyou-art img {
    width: 100%;
    max-width: 330px;
    border-radius: 14px;
}

/* Final public-site density pass: presentation only; existing interactions stay intact. */

@media (min-width: 992px) {
    .dn-site-header .dn-header-bar {
        min-height: 72px;
    }
    .dn-site-header .dn-brand img {
        height: 46px;
    }
}

/* Let lengthy property names read naturally without changing their links or card actions. */
.dn-design .dn-featured-card .dn-compact-title-row h3,
.dn-design .dn-compact-property-card h3 {
    min-width: 0;
    height: 2.5em;
    line-height: 1.25 !important;
    white-space: normal !important;
}
.dn-design .dn-featured-card .dn-compact-title-row h3 a,
.dn-design .dn-compact-property-card h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal !important;
}

/* Reuse the existing image-popup plugin without its legacy portfolio hover fade. */
.dn-page-properties-show .dn-property-gallery-popup,
.dn-page-properties-show .dn-floorplan-popup {
    margin: 0 !important;
}
.dn-page-properties-show .dn-property-gallery-popup:hover img,
.dn-page-properties-show .dn-floorplan-popup:hover img {
    filter: none !important;
    opacity: 1 !important;
}
.dn-page-properties-show .dn-gallery-view-all {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgb(9 39 91 / 84%);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.dn-page-properties-show .dn-floorplan-popup a {
    display: grid;
    place-items: center;
}
.dn-page-properties-show .dn-floorplan-popup img {
    cursor: zoom-in;
}
@media (max-width: 575.98px) {
    .dn-page-properties-show .dn-gallery-view-all {
        right: 10px;
        bottom: 10px;
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* Reserve a control row below every public Slick carousel on tablets and phones. */
@media (max-width: 1024px) {
    .dn-design .slick-slider:has(> .slick-arrow:not(.slick-hidden)) {
        position: relative;
        padding-bottom: 40px !important;
        padding-inline: 0 !important;
    }
    .dn-design .slick-slider > .slick-arrow {
        position: absolute !important;
        top: auto !important;
        bottom: 4px !important;
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        margin: 0 !important;
        transform: none !important;
    }
    .dn-design .slick-slider > .slick-arrow:is([class*="--prev"], .slick-prev) {
        left: calc(50% - 48px) !important;
        right: auto !important;
    }
    .dn-design .slick-slider > .slick-arrow:is([class*="--next"], .slick-next) {
        right: calc(50% - 48px) !important;
        left: auto !important;
    }
    .dn-design .slick-slider:has(> .slick-arrow) > .slick-dots {
        position: static;
        margin-top: 12px;
    }
    #banner #boxgallery > nav span {
        top: auto !important;
        bottom: 16px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0;
        transform: none;
    }
    #banner #boxgallery > nav span.prev {
        left: calc(50% - 48px);
    }
    #banner #boxgallery > nav span.next {
        right: calc(50% - 48px);
    }
}

/* The six "Why choose us" cards retain their 3 × 2 desktop grid and equal row height. */
@media (min-width: 1024px) {
    .dn-services-grid > .dn-service-slide {
        display: flex;
    }
    .dn-services-grid .dn-service-card {
        min-height: 100%;
    }
}

/* Mobile property detail: gallery first, then a compact, scan-friendly summary. Desktop stays unchanged. */
@media (max-width: 767.98px) {
    .dn-page-properties-show .dn-property-detail-main {
        padding-block: 12px 24px !important;
    }

    .dn-page-properties-show .dn-property-main-column {
        display: flex;
        gap: 12px;
        flex-direction: column;
    }

    .dn-page-properties-show .dn-property-main-column > * {
        margin-top: 0 !important;
    }

    .dn-page-properties-show .dn-detail-gallery {
        order: 1;
        padding: 0 !important;
        border-radius: 12px;
    }

    .dn-page-properties-show .dn-detail-gallery > div > :first-child {
        aspect-ratio: 16 / 8 !important;
    }

    .dn-page-properties-show .dn-detail-gallery > div > :last-child > div {
        aspect-ratio: 16 / 8 !important;
    }

    .dn-page-properties-show .dn-legacy-detail-summary {
        order: 2;
        padding: 4px 2px 8px !important;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .dn-page-properties-show .dn-legacy-detail-summary h1 {
        margin-bottom: 5px !important;
        font-size: 19px !important;
        line-height: 1.18 !important;
    }

    .dn-page-properties-show .dn-summary-address,
    .dn-page-properties-show .dn-summary-developer {
        margin-bottom: 6px !important;
        font-size: 11px !important;
        line-height: 1.35;
    }

    .dn-page-properties-show .dn-summary-developer a {
        padding: 3px 9px !important;
    }

    .dn-page-properties-show .dn-summary-pills {
        gap: 8px 16px !important;
        padding-top: 8px;
        border-top: 1px solid #e5edf5;
        font-size: 10px !important;
    }

    .dn-page-properties-show .dn-summary-price-actions {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #e5edf5;
        flex-direction: row !important;
        align-items: center !important;
    }

    .dn-page-properties-show #main-content .dn-summary-price-actions > div {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 17px !important;
        line-height: 1.15;
        white-space: nowrap;
    }

    .dn-page-properties-show #main-content .dn-summary-price-actions .btn {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 6px 8px !important;
        font-size: 9px !important;
        white-space: nowrap;
    }

    .dn-page-properties-show .dn-summary-small-actions {
        gap: 8px;
        padding-top: 10px !important;
    }

    .dn-page-properties-show .dn-summary-small-actions .btn {
        flex: 1 1 0;
        justify-content: center;
        min-height: 36px;
        padding: 7px 8px !important;
        font-size: 10px !important;
    }

    .dn-page-properties-show .dn-detail-tab-rail {
        order: 3;
        padding: 5px !important;
        border-radius: 10px;
    }

    .dn-page-properties-show #propertyDetailsTabs .prop-nav-tab {
        padding: 7px 10px !important;
        font-size: 10px !important;
    }

    .dn-page-properties-show .dn-detail-tab-panel {
        order: 4;
        padding: 12px !important;
        border-radius: 12px;
    }

    .dn-page-properties-show .dn-detail-tab-panel > .prop-tab-content > h3 {
        font-size: 15px !important;
        line-height: 1.35;
    }

    .dn-page-properties-show .dn-detail-similar-section {
        padding-block: 24px 20px !important;
    }

    .dn-page-properties-show .dn-similar-slider .slick-list {
        padding-inline: 36px !important;
        overflow: hidden !important;
    }

    .dn-page-properties-show .dn-similar-slider .slick-slide {
        margin-inline: 6px !important;
    }

    .dn-page-properties-show .dn-similar-slider .property-photo {
        height: 142px !important;
    }

    .dn-page-properties-show .dn-similar-slider .detail {
        min-height: 164px;
        padding: 11px 12px 10px;
    }

    .dn-page-properties-show .dn-similar-slider .heading {
        min-height: 78px;
    }
}

/* Why Choose Us: compact, equal-height cards without changing the existing grid or content. */
.dn-design .dn-services-grid > .dn-service-slide {
    display: flex;
}

.dn-design .dn-services-grid .dn-service-card.service-info-4 {
    min-height: 100%;
}

.dn-design .dn-services-grid .dn-service-content {
    min-height: 210px;
    padding: 20px 22px 16px;
}

.dn-design .dn-services-grid .dn-service-content-inner {
    margin-bottom: 8px;
}

.dn-design .dn-services-grid .dn-service-card.service-info-4 h3 {
    margin-bottom: 8px;
}

.dn-design .dn-services-grid .dn-service-card.service-info-4 .read-more {
    padding-top: 12px;
}

@media (max-width: 767.98px) {
    .dn-design .dn-services-grid .dn-service-content {
        min-height: 198px;
        padding: 18px 18px 14px;
    }
}

/* Favourite Picks: fixed media and content rows keep every card aligned while allowing two-line titles. */
.dn-design .dn-featured-slider .slick-track,
.dn-design .dn-featured-slider .slick-slide,
.dn-design .dn-featured-slide,
.dn-design .dn-featured-slide > div,
.dn-design .dn-featured-card,
.dn-design .dn-featured-card .property-box-4 {
    display: flex;
}

.dn-design .dn-featured-slide,
.dn-design .dn-featured-slide > div,
.dn-design .dn-featured-card,
.dn-design .dn-featured-card .property-box-4 {
    height: auto;
    width: 100%;
}

.dn-design .dn-featured-card .property-box-4 {
    flex-direction: column;
}

.dn-design .dn-featured-card .detail {
    display: flex;
    min-height: 184px;
    flex: 1 1 auto;
    flex-direction: column;
}

.dn-design .dn-featured-card .heading {
    min-height: 92px;
}

.dn-design .dn-featured-card .dn-compact-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.dn-design .dn-featured-card .dn-compact-title-row h3 {
    flex: 1 1 0;
}

.dn-design .dn-featured-card .dn-compact-meta {
    min-height: 39px;
}

.dn-design .dn-featured-card .dn-compact-footer {
    margin-top: auto;
}

/* Keep a clear 20px gutter between every desktop carousel card. */
@media (min-width: 768px) {
    .dn-design
        :is(
            .dn-featured-slider,
            .dn-city-slider,
            .dn-blog-slider,
            .dn-testimonial-slider,
            .dn-developer-slider,
            .dn-about-team-slider,
            .dn-rera-slider
        )
        .slick-slide {
        padding-inline: 10px;
        box-sizing: border-box;
    }
}

.dn-design .dn-featured-card {
    border-radius: 10px !important;
}

/* Form text needs stronger contrast on every public page. */
.dn-design
    :is(
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="number"],
        input[type="password"],
        input[type="search"],
        textarea,
        select
    ) {
    color: #243b5a !important;
}

.dn-design
    :is(
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="number"],
        input[type="password"],
        input[type="search"],
        textarea
    )::placeholder {
    color: #6b7f9b !important;
    opacity: 1 !important;
}

/* Mobile Docked Bottom Action Bar (Desktop: Hidden) */
.dn-mobile-bottom-bar {
    display: none !important;
}

/* Mobile viewport adjustments: Docked action bar and universal slider peeking cards */
@media (max-width: 767.98px) {
    /* Hide floating bubble buttons on mobile so they do NOT float over content */
    .dn-design .whatsapp-floating,
    .dn-design .enquire-floating {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Provide bottom clearance for fixed docked bar */
    body.dn-design {
        padding-bottom: 74px !important;
    }

    /* Fixed 3-button docked bottom action bar */
    .dn-mobile-bottom-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        background: #ffffff !important;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-sizing: border-box !important;
    }

    .dn-mobile-bar-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 38px !important;
        border-radius: 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        letter-spacing: 0.2px !important;
        line-height: 1 !important;
        padding: 0 4px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        transition:
            transform 0.15s ease,
            opacity 0.15s ease !important;
        white-space: nowrap !important;
    }

    .dn-mobile-bar-btn:active {
        transform: scale(0.96) !important;
        opacity: 0.92 !important;
    }

    .dn-mobile-bar-btn i {
        font-size: 16px !important;
        line-height: 1 !important;
    }

    .dn-mobile-bar-btn.dn-bar-call {
        background-color: #0073e6 !important;
    }

    .dn-mobile-bar-btn.dn-bar-whatsapp {
        background-color: #00a859 !important;
    }

    .dn-mobile-bar-btn.dn-bar-enquire {
        background-color: #e61919 !important;
    }

    /* Universal slider card peek effect: Left card show and Right card show */
    .dn-design
        :is(
            .dn-featured-slider,
            .dn-similar-slider,
            .dn-city-slider,
            .dn-blog-slider,
            .dn-testimonial-slider,
            .dn-about-team-slider,
            .dn-services-grid.slick-initialized,
            .dn-categories-grid.slick-initialized
        ) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    .dn-design
        :is(
            .dn-featured-slider,
            .dn-similar-slider,
            .dn-city-slider,
            .dn-blog-slider,
            .dn-testimonial-slider,
            .dn-about-team-slider,
            .dn-services-grid.slick-initialized,
            .dn-categories-grid.slick-initialized
        )
        .slick-slide {
        margin: 0 8px !important;
        box-sizing: border-box !important;
    }

    .dn-design
        :is(
            .dn-featured-slider,
            .dn-similar-slider,
            .dn-city-slider,
            .dn-blog-slider,
            .dn-testimonial-slider,
            .dn-about-team-slider,
            .dn-services-grid.slick-initialized,
            .dn-categories-grid.slick-initialized
        )
        .slick-list {
        padding-top: 6px !important;
        padding-bottom: 22px !important;
        overflow: hidden !important;
    }

    .dn-design .main-footer-3 .footer-inner {
        padding: 24px 0 10px !important;
    }
    .dn-design .main-footer-3 .footer-item,
    .dn-design .main-footer-3 .footer-item.fi-2,
    .dn-design .main-footer-3 .social-media {
        margin-bottom: 16px !important;
    }
    .dn-design .main-footer-3 .footer-item h4 {
        margin-bottom: 8px !important;
    }
    .dn-design .main-footer-3 .footer-item .links li,
    .dn-design .main-footer-3 .contact-info li {
        margin-bottom: 7px !important;
    }
    .dn-design .main-footer-3 .social-media .icon {
        width: 34px;
        height: 34px;
        line-height: 34px;
        margin: 0 3px 4px;
    }
    .dn-design .sub-footer .copy {
        margin-bottom: 0;
        padding: 13px 12px 16px;
    }
}
@media (max-width: 767.98px) {
    .dn-page-thankyou .dn-thankyou-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dn-page-thankyou .dn-thankyou-art {
        order: -1;
        text-align: center;
    }
    .dn-page-thankyou .dn-thankyou-art img {
        max-width: 200px;
    }
}

/* =========================================================
   Mobile Filter Drawer for Property Search / Index
   ========================================================= */
@media (max-width: 1023.98px) {
    .dn-page-properties-index .dn-mobile-results-toolbar > div {
        min-height: 60px;
        padding: 12px 14px !important;
        border-radius: 16px !important;
    }

    .dn-page-properties-index
        .dn-mobile-results-toolbar
        + .hidden
        + .dn-compact-property-grid {
        margin-top: 12px !important;
    }
}

/* Keep two compact listing cards visible from 480px through tablet width. */
@media (min-width: 480px) and (max-width: 767.98px) {
    .dn-page-properties-index .dn-compact-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

.dn-filter-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100001;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

body.dn-filter-drawer-open .dn-filter-drawer-backdrop {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.dn-filter-drawer-open {
    overflow: hidden !important;
}

.dn-sticky-filter-btn {
    display: none;
}

@media (max-width: 1023.98px) {
    /* Mobile Drawer Container */
    .dn-property-filter-column {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 92% !important;
        max-width: 440px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 100002 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.dn-filter-drawer-open .dn-property-filter-column {
        transform: translateX(0) !important;
        box-shadow: 14px 0 40px rgba(0, 0, 0, 0.32) !important;
    }

    .dn-property-filter-column .dn-property-filter {
        position: static !important;
        top: auto !important;
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .dn-property-filter-column .dn-filter-header {
        flex-shrink: 0 !important;
        padding: 14px 16px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        margin: 0 !important;
    }

    .dn-property-filter-column .dn-property-filter-form {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        padding: 14px 14px !important;
        -webkit-overflow-scrolling: touch !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 10px !important;
        align-content: start !important;
    }

    .dn-property-filter-column .dn-filter-full {
        grid-column: span 2 !important;
    }

    .dn-property-filter-column .dn-filter-half {
        grid-column: span 1 !important;
    }

    .dn-property-filter-column .dn-property-filter-form > div.pt-2 {
        grid-column: span 2 !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #ffffff !important;
        padding-top: 10px !important;
        padding-bottom: calc(
            14px + env(safe-area-inset-bottom, 0px)
        ) !important;
        margin-top: 6px !important;
        box-shadow: 0 -12px 24px rgba(255, 255, 255, 0.98) !important;
    }

    .dn-property-filter-column .dn-property-filter-form label {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #334155 !important;
        margin-bottom: 3px !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dn-property-filter-column .dn-property-filter-form .form-control,
    .dn-property-filter-column .dn-property-filter-form .form-select {
        height: 38px !important;
        padding: 6px 8px !important;
        font-size: 11.5px !important;
        border-radius: 9px !important;
        border: 1px solid #cbd5e1 !important;
        background-color: #f8fafc !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .dn-property-filter-column .dn-property-filter-form .form-control:focus,
    .dn-property-filter-column .dn-property-filter-form .form-select:focus {
        background-color: #ffffff !important;
        border-color: #0c47a9 !important;
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(12, 71, 169, 0.15) !important;
    }

    .dn-property-filter-column .dn-property-filter-form .relative input {
        padding-left: 28px !important;
    }

    .dn-property-filter-column .dn-property-filter-form .relative i.fa-search {
        top: 12px !important;
        left: 9px !important;
        font-size: 11px !important;
    }

    /* Floating sticky filter pill on mobile for instant access when scrolling */
    .dn-sticky-filter-btn {
        display: inline-flex !important;
        position: fixed !important;
        bottom: 72px !important;
        right: 14px !important;
        z-index: 9999 !important;
        align-items: center !important;
        gap: 7px !important;
        background: linear-gradient(
            135deg,
            #0c47a9 0%,
            #19afd8 100%
        ) !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        padding: 10px 18px !important;
        border-radius: 50px !important;
        box-shadow: 0 6px 22px rgba(12, 71, 169, 0.42) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        cursor: pointer !important;
        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease !important;
    }

    .dn-sticky-filter-btn:active {
        transform: scale(0.95) !important;
    }

    .dn-sticky-filter-btn .dn-badge {
        background: #ffffff !important;
        color: #0c47a9 !important;
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 10px !important;
        font-weight: 800 !important;
    }
}

/* Final contrast pass for muted content on the site's light cards and panels. */
.dn-design
    :is(
        .dn-compact-developer,
        .dn-compact-location,
        .dn-compact-meta,
        .dn-property-card .location,
        .dn-property-card .properties-listing li,
        .dn-property-card .location a
    ) {
    color: #435f7f !important;
    font-weight: 500;
}

.dn-design
    :is(.text-slate-400, .text-slate-500, .text-gray-400, .text-gray-500) {
    color: #526b89 !important;
}

/* Home testimonials: compact the mobile lead-in without changing the card layout. */
@media (max-width: 767.98px) {
    .dn-design .dn-testimonial-section {
        padding-top: 34px !important;
        padding-bottom: 20px !important;
    }
    .dn-featured-section {
        padding-block-end: 20px !important;
    }

    .dn-design .dn-testimonial-heading {
        margin-bottom: 18px !important;
        padding-bottom: 8px !important;
    }

    .dn-design .dn-testimonial-slider .slick-track {
        display: flex !important;
        align-items: stretch;
    }

    .dn-design .dn-testimonial-slider :is(.slick-slide, .slide-box) {
        height: 100% !important;
    }

    .dn-design .dn-testimonial-slider .testimonial-info-5 {
        height: 100% !important;
        min-height: 300px;
    }

    .dn-design #main-content .dn-testimonial-slider {
        padding: 0 10px !important;
    }

    .dn-design .dn-testimonial-slider .slick-slide {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .dn-design #main-content .dn-testimonial-slider > .dn-testimonial-arrow {
        top: 50% !important;
        bottom: auto !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 12px;
        transform: translateY(-50%) !important;
    }

    .dn-design
        #main-content
        .dn-testimonial-slider
        > .dn-testimonial-arrow--prev {
        left: -4px !important;
        right: auto !important;
    }

    .dn-design
        #main-content
        .dn-testimonial-slider
        > .dn-testimonial-arrow--next {
        right: -4px !important;
        left: auto !important;
    }
}

/* Contact: surface trust signals in the first mobile view and remove excess vertical rhythm. */
@media (max-width: 767.98px) {
    .dn-page-home .dn-blog-section {
        padding-bottom: 32px !important;
    }

    .dn-page-home .dn-blog-slider {
        padding-bottom: 50px !important;
    }

    .dn-page-contact #main-content > section {
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }

    .dn-page-contact #main-content > section > .myContainer {
        display: flex;
        flex-direction: column;
    }

    .dn-page-contact .dn-parity-heading {
        order: 1;
        margin-bottom: 18px !important;
    }

    .dn-page-contact .dn-parity-heading h1 {
        font-size: 27px !important;
        line-height: 1.16;
    }

    .dn-page-contact .dn-parity-heading p {
        margin-top: 10px !important;
        font-size: 13px;
        line-height: 1.5;
    }

    .dn-page-contact .dn-contact-assurances {
        order: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100%;
        margin: 0 auto 20px !important;
        border-radius: 16px;
    }

    .dn-page-contact .dn-contact-assurance {
        min-height: 94px;
        gap: 10px;
        padding: 13px 10px;
    }

    .dn-page-contact .dn-contact-assurance + .dn-contact-assurance {
        border-top: 0;
        border-left: 1px solid rgb(255 255 255 / 24%);
    }

    .dn-page-contact .dn-contact-assurance-visual {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .dn-page-contact .dn-contact-assurance h2 {
        font-size: 14px;
        line-height: 1.2;
    }

    .dn-page-contact .dn-contact-assurance h2::after {
        width: 30px;
        height: 2px;
        margin-top: 5px;
    }

    .dn-page-contact .dn-contact-assurance p {
        margin-top: 5px;
        font-size: 11px;
        line-height: 1.35;
    }

    .dn-page-contact .dn-contact-grid {
        order: 3;
        margin-top: 0 !important;
        gap: 20px;
    }

    .dn-page-contact .dn-contact-form-card {
        padding: 22px !important;
        border-radius: 20px !important;
    }

    .dn-page-contact .dn-contact-form-card > .mb-6 {
        margin-bottom: 18px !important;
    }

    .dn-page-contact #contactPageForm > .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .dn-page-contact #contactPageForm > .grid .form-label {
        font-size: 12px !important;
    }

    .dn-page-contact #contactPageForm > .grid input {
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 11px !important;
    }

    .dn-page-contact .dn-contact-panel {
        padding: 22px 20px !important;
        border-radius: 20px !important;
    }

    .dn-page-contact .dn-contact-panel .dn-contact-info-eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .dn-page-contact .dn-contact-panel > h3 {
        font-size: 27px !important;
    }

    .dn-page-contact .dn-contact-panel > .dn-contact-info-intro {
        margin-bottom: 20px !important;
        font-size: 14px;
        line-height: 1.5;
    }

    .dn-page-contact .dn-contact-panel > .flex:not(.dn-contact-socials) {
        gap: 12px;
        padding: 13px 0;
    }

    .dn-page-contact .dn-contact-panel .flex-shrink-0 {
        width: 38px;
        height: 38px;
        border-radius: 12px !important;
        font-size: 16px;
    }

    .dn-page-contact .dn-contact-panel h4 {
        margin-bottom: 3px;
        font-size: 14px;
    }

    .dn-page-contact .dn-contact-panel .min-w-0 :is(p, a, span) {
        font-size: 13px !important;
        line-height: 1.45;
    }

    .dn-page-contact .dn-contact-socials {
        gap: 8px;
        padding-top: 14px !important;
    }

    .dn-page-contact .dn-contact-panel .dn-contact-socials a {
        width: 36px;
        height: 36px;
    }

    .dn-page-contact .dn-office-map {
        order: 4;
        margin-top: 20px !important;
        padding: 10px;
    }

    .dn-page-contact .dn-office-copy {
        padding: 22px 18px;
    }

    .dn-page-contact .dn-office-map iframe {
        height: 260px;
        min-height: 260px;
    }
}
