/* Frontend / editor helpers for Aronix pagebuilder blocks */
.pagebuilder-content {
    min-height: 1px;
}

.pagebuilder-content img {
    max-width: 100%;
    height: auto;
}

.pagebuilder-content .dv-why-image,
[phpb-content-container] .dv-why-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

.pagebuilder-content .dv-network-flag img,
[phpb-content-container] .dv-network-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagebuilder-content .dv-service-card-media img,
[phpb-content-container] .dv-service-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

/*
 * Editor only: PHPageBuilder disables drops on layout (html/body).
 * Only [phpb-content-container] is droppable. An empty container collapses
 * to a thin strip, so drops on the white canvas appear to do nothing.
 */
[phpb-content-container] {
    min-height: calc(100vh - 24px) !important;
    width: 100% !important;
    box-sizing: border-box;
    border: 2px dashed #0091d1;
    background-color: #f7fbfe;
    position: relative;
}

[phpb-content-container]:empty::before {
    content: "Drag blocks here";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0091d1;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
    white-space: nowrap;
}

@media screen and (max-width: 500px) {
    .banner .bannerCard {
        width: 250px;
        margin: 0 auto;
    }
}

.bannerCard a img,
.bannerCard a video {
    border-radius: 0.3rem;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .5);
}

.pb-spacer {
    width: 100%;
}

.pb-cta h2 {
    margin-bottom: 0.5rem;
}

.pb-banner .banner-content {
    position: relative;
    z-index: 1;
}

/* Page Builder: keep new hero editable styles in editor canvas */
.pagebuilder-content .dv-hero,
[phpb-content-container] .dv-hero {
    min-height: 560px;
}

.pagebuilder-content .dv-app-page-hero-media img,
[phpb-content-container] .dv-app-page-hero-media img,
.pagebuilder-content .dv-app-device img,
[phpb-content-container] .dv-app-device img {
    width: 100%;
    max-width: none;
    height: auto;
}

.pagebuilder-content .dv-phone img,
[phpb-content-container] .dv-phone img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.pagebuilder-content .dv-app-features-media .dv-phone img,
[phpb-content-container] .dv-app-features-media .dv-phone img {
    height: auto;
    object-fit: contain;
}

.pagebuilder-content .dv-app-screens-row .dv-phone img,
[phpb-content-container] .dv-app-screens-row .dv-phone img {
    aspect-ratio: 209 / 503;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

@media only screen and (max-width: 991px) {
    .pagebuilder-content .dv-app-features-media .dv-phone img,
    [phpb-content-container] .dv-app-features-media .dv-phone img {
        height: auto;
        object-fit: contain;
    }

    .pagebuilder-content .dv-app-screens-row .dv-phone img,
    [phpb-content-container] .dv-app-screens-row .dv-phone img {
        aspect-ratio: 209 / 503;
        height: auto;
        object-fit: cover;
        object-position: top center;
        border-radius: 18px;
    }
}

.pagebuilder-content .dv-hero.dv-page-hero,
[phpb-content-container] .dv-hero.dv-page-hero {
    min-height: 0;
}

.pagebuilder-content .dv-hero-container,
[phpb-content-container] .dv-hero-container {
    padding-top: 80px;
}

.dv-nav-drawer[hidden] {
    display: none !important;
}

/* Stats bar preview in page builder */
.dv-stats-bar {
    position: relative;
    z-index: 5;
    margin-top: -24px;
    margin-bottom: 1rem;
}

.dv-stats-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(11, 28, 51, 0.12);
    padding: 1.5rem;
}

.dv-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}

.dv-stats-value {
    font-weight: 800;
    font-size: 1.75rem;
    color: #0b2c5e;
}

.dv-stats-prefix {
    color: #EDAA1A;
}

.dv-stats-label {
    margin: 0.35rem 0 0;
    color: #6b7c93;
    font-size: 0.9rem;
}

.dv-stats-avatar {
    position: absolute;
    inset-inline-end: 0;
    bottom: -12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #FBB726;
    border: 3px solid #fff;
}

.dv-stats-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .dv-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* About section preview helpers */
.dv-about {
    padding: 2rem 1rem;
    background: #fff;
}

.dv-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    align-items: center;
}

.dv-about-stage {
    position: relative;
    min-height: 280px;
}

.dv-about-title {
    color: #0b2c5e;
    font-weight: 800;
}

.dv-about-cta {
    display: inline-flex;
    background: #EDAA1A;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    text-decoration: none !important;
}

.dv-about-media {
    position: relative;
}

.dv-about-main {
    position: relative;
    max-width: 280px;
    margin-inline: auto;
}

.dv-about-main img,
.dv-about-overlay img,
.dv-about-time img,
.dv-about-plane img {
    max-width: 100%;
    height: auto;
}

.dv-about-plane,
.dv-about-time {
    max-width: 140px;
}

/* Services preview */
.dv-services {
    padding: 2rem 1rem;
    background: #f4f6f9;
}

.dv-services-head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.dv-services-title {
    color: #0b2c5e;
    font-weight: 800;
}

.dv-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.dv-service-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    overflow: hidden;
}

.dv-service-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e9eef5;
}

.dv-service-card-body {
    padding: 0.75rem;
}

.dv-service-card-title {
    color: #0b2c5e;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.dv-service-card-text {
    color: #8a94a6;
    font-size: 0.8rem;
    margin: 0;
}

.dv-service-card-cta {
    display: flex;
    padding: 0.7rem 0.75rem;
    color: #0b2c5e;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 700;
}

.pagebuilder-content .dv-footer-cta,
[phpb-content-container] .dv-footer-cta {
    min-height: 240px;
}

.pagebuilder-content .dv-footer-site,
[phpb-content-container] .dv-footer-site {
    padding: 2rem 1rem 0;
}

.dv-network {
    padding: 2rem 1rem;
    background: #fff;
    position: relative;
}

.dv-network-heftruck {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 140px;
}

.dv-network-heftruck img,
.dv-network-flag img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.dv-network-flag img {
    height: 100%;
}

.dv-network-hubs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.dv-network-hub {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    padding: 1rem 0.6rem;
    text-align: center;
}

.dv-network-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.dv-why {
    padding: 1.5rem 1rem;
}

.dv-why-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    align-items: start;
}

.dv-why-copy {
    background: #f4f6f9;
    border-radius: 16px;
    padding: 1.15rem;
}

.dv-why-media {
    position: relative;
}

.dv-why-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.dv-why-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #EDAA1A;
    color: #fff;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    width: 110px;
    text-align: center;
}

.dv-why-points-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dv-app {
    padding: 1.5rem 1rem;
}

.dv-app-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    align-items: center;
}

.dv-app-image {
    width: 100%;
    height: auto;
}

.dv-app-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dv-app-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #0b2c5e;
    color: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
}

.dv-services-more {
    text-align: center;
    margin-top: 1rem;
}

.dv-service-features,
.dv-service-faq {
    padding: 1rem 0;
    background: #fff;
}

.dv-service-heading {

    background: #fff;
}

.dv-service-section-head {
    width: 100%;
    margin: 0 auto 1.5rem;
    text-align: start;
}

.dv-service-section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.dv-service-section-text {
    margin: 0.65rem 0 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.85;
}

.dv-service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.dv-service-feature {
    min-height: 6.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #eceef2;
    border-radius: 0.75rem;
    background: #f5f6f9;
    text-align: start;
}

.dv-service-feature-number {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.55rem;
    border-radius: 50%;
    background: #fff2d3;
    color: #d99713;
    font-size: 15px;
    font-weight: 700;
}

.dv-service-feature-title {
    margin: 5px;
    color: #263447;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.dv-service-feature-text {
    margin: 0.35rem 0 0;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.75;
}

.dv-service-faq-list {
    display: grid;
    gap: 0.65rem;
}

.dv-service-faq-item {
    overflow: hidden;
    border: 1px solid #e8ebef;
    border-radius: 0.65rem;
    background: #fff;
}

.dv-service-faq-question {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: #263447;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    list-style: none;
    text-align: start;
}

.dv-service-faq-question::-webkit-details-marker {
    display: none;
}

.dv-service-faq-toggle {
    position: relative;
    flex: 0 0 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.25rem;
    background: #fff4d7;
    color: #d99713;
}

.dv-service-faq-toggle::before,
.dv-service-faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

.dv-service-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.dv-service-faq-item[open] .dv-service-faq-toggle::after {
    display: none;
}

.dv-service-faq-answer {
    padding: 0 1rem 1rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.8;
    text-align: start;
}

@media (max-width: 767px) {
    .dv-service-features,
    .dv-service-faq,
    .dv-service-heading {
        padding: 2.5rem 0;
    }

    .dv-service-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .dv-service-features-grid {
        grid-template-columns: 1fr;
    }
}

.dv-trip {
    padding: 1.5rem 1rem;
    position: relative;
}

.dv-trip-plane {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 110px;
}

.dv-trip-plane img,
.dv-trip-icon img {
    width: 100%;
    height: auto;
}

.dv-trip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dv-trip-step {
    text-align: center;
}

.dv-trip-icon {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 0.5rem;
}

.dv-trip-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0b2c5e;
    color: #fbb726;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dv-services-more {
    text-align: center;
    margin-top: 1rem;
}

