/* DONVENA | Mobile layout v1.8.30
   Scoped to existing Elementor section IDs, Blocksy mobile logo and Donvena shortcodes.
   Existing desktop rules, text, links, photos and shortcode markup stay in place. */

/* Match the previously approved homepage work-process heading sizes. */
@media (min-width: 981px) {
  html body #dv-services-steps .dv-item h3 { font-size: 17px !important; line-height: 1.35 !important; }
}

/* Compact tablet headings where the original two-column layout has already stacked. */
@media (min-width: 781px) and (max-width: 900px) {
  html body #dv-home-services #dv-home-services-title { font-size: clamp(44px, 7vw, 62px) !important; }
  html body #dv-projects-map .dv-heading h2 { font-size: clamp(36px, 5.5vw, 48px) !important; }
  html body #dv-about-main .dv-step { grid-template-columns: 36px minmax(0,1fr) minmax(0,1fr); }
}

@media (max-width: 780px) {
  /* Blocksy mobile header. Preserve desktop and sticky logo variants. */
  html body #header [data-device="mobile"] [data-id="logo"] .site-logo-container,
  html body #header [data-device="mobile"] .site-logo-container,
  html body #offcanvas .site-logo-container {
    max-width: 118px !important;
    min-width: 0 !important;
  }
  html body #header [data-device="mobile"] [data-id="logo"] img,
  html body #header [data-device="mobile"] .site-logo-container img,
  html body #offcanvas .site-logo-container img {
    width: auto !important;
    max-width: 118px !important;
    height: auto !important;
    max-height: 40px !important;
    object-fit: contain !important;
  }
  html body #header [data-device="mobile"] .site-title { font-size: 20px !important; line-height: 1.15 !important; }
  html body #offcanvas .mobile-menu a { font-size: 14px !important; line-height: 1.45 !important; }

  /* Shared mobile typography and sizing, scoped to these exact blocks. */
  html body :is(#dv-home-about,#dv-home-services,#dv-home-estimate,#dv-about-main,#dv-about-services,#dv-services-title,#dv-services-list,#dv-services-steps,#dv-services-contact,#dv-services-estimate,#dv-projects-title,#dv-projects-map,#dvn-title-skaiciuokle,#dv-contact-main) {
    font-size: 14px !important;
    line-height: 1.45;
    padding-block: 32px 36px !important;
    min-height: 0 !important;
  }
  html body :is(#dv-about-main,#dv-about-services,#dv-services-title,#dv-services-list,#dv-services-steps,#dv-services-contact,#dv-projects-title,#dv-projects-map,#dv-contact-main,#dv-about-auto-gallery) .dv-wrap,
  html body #dvn-title-skaiciuokle .dvn-shell {
    width: calc(100% - 32px) !important;
    max-width: 1450px !important;
    margin-inline: auto !important;
  }
  html body :is(#dv-home-about,#dv-home-services,#dv-home-estimate,#dv-services-estimate) { padding-inline: 16px !important; }
  html body :is(#dv-home-about,#dv-home-services,#dv-home-estimate,#dv-about-main,#dv-about-services,#dv-services-title,#dv-services-list,#dv-services-steps,#dv-services-contact,#dv-services-estimate,#dv-projects-title,#dv-projects-map,#dvn-title-skaiciuokle,#dv-contact-main) :is(p,li) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }
  html body #dv-home-about #dv-home-about-title,
  html body #dv-home-services #dv-home-services-title,
  html body #dv-home-estimate #dv-home-estimate-title,
  html body #dv-services-estimate #dv-services-estimate-head,
  html body #dv-about-main .dv-head,
  html body #dv-services-title .dv-head,
  html body #dv-projects-title .dv-head,
  html body #dv-contact-main .dv-head {
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(30px, 8vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  html body #dv-services-contact .dv-title,
  html body #dv-projects-map .dv-heading h2,
  html body #dvn-title-skaiciuokle .dvn-page-title {
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.13 !important;
    letter-spacing: -.04em !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  html body :is(#dv-home-about,#dv-home-services,#dv-home-estimate,#dv-services-estimate,#dv-about-main,#dv-about-services,#dv-services-steps,#dv-services-contact,#dv-contact-main) h3 { overflow-wrap: anywhere; }

  /* 01 PAGRINDINIS: full-screen video, smaller heading, no clipping on short phones. */
  html body #dv-video-home-hero.dv-hero-v9 { height: 82vh !important; height: 82svh !important; min-height: 420px !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__inner { width: calc(100% - 32px) !important; padding: 76px 0 calc(40px + env(safe-area-inset-bottom,0px)) !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__bottom { grid-template-columns: minmax(0,1fr) !important; row-gap: 18px !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__heading { font-size: clamp(20px, 5.3vw, 28px) !important; line-height: 1.24 !important; letter-spacing: -.025em !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__heading span { white-space: normal !important; overflow-wrap: anywhere; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__heading span + span { margin-top: 6px !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__button { min-width: 140px !important; min-height: 44px !important; padding: 10px 18px !important; font-size: 14px !important; letter-spacing: .045em; }

  /* PAGRINDINIS: About, statistics and original photograph. */
  html body #dv-home-about .dvha-layout { grid-template-columns: minmax(0,1fr) !important; max-width: 580px; gap: 24px !important; }
  html body #dv-home-about .dvha-content { min-height: 0 !important; padding-top: 0 !important; }
  html body #dv-home-about .dvha-heading-row { min-height: 0 !important; gap: 12px !important; padding-bottom: 10px !important; }
  html body #dv-home-about #dv-home-about-title,html body #dv-home-about .dvha-heading-dash { transform: none !important; }
  html body #dv-home-about .dvha-heading-dash { flex: 0 0 18px; width: 18px; height: 5px; margin-bottom: 6px; }
  html body #dv-home-about .dvha-description { margin-top: 18px !important; }
  html body #dv-home-about .dvha-description p { line-height: 1.45 !important; }
  html body #dv-home-about .dvha-steps-row { flex-direction: column !important; align-items: stretch !important; gap: 16px !important; margin-top: 18px !important; }
  html body #dv-home-about .dvha-steps { gap: 6px !important; }
  html body #dv-home-about .dvha-step-text { margin-left: 8px !important; }
  html body #dv-home-about .dvha-more { min-width: 0 !important; max-width: 100% !important; min-height: 44px !important; white-space: normal !important; }
  html body #dv-home-about .dvha-statistics-block { margin-top: 24px !important; padding-top: 0 !important; }
  html body #dv-home-about .dvha-statistics { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px 10px !important; margin-top: 18px !important; }
  html body #dv-home-about .dvha-stat-icon-window,html body #dv-about-main .dv-stat-icon { width: 56px !important; height: 44px !important; margin-bottom: 2px !important; }
  html body #dv-home-about .dvha-stat-icon,html body #dv-about-main .dv-stat-icon img { width: 110px !important; height: 110px !important; }
  html body #dv-home-about .dvha-stat-value,html body #dv-about-main .dv-stat strong { font-size: clamp(32px,8vw,38px) !important; line-height: 1.08 !important; }
  html body #dv-home-about .dvha-stat-label,html body #dv-about-main .dv-stat-label { font-size: 14px !important; margin-top: 4px !important; line-height: 1.35 !important; overflow-wrap: anywhere; }
  html body #dv-home-about .dvha-photo { height: auto !important; min-height: 0 !important; max-height: 370px !important; aspect-ratio: 4 / 3 !important; }

  /* Homepage services: text first; compact photograph and four readable steps. */
  html body #dv-home-services .dvhs-top { grid-template-columns: minmax(0,1fr) !important; gap: 24px !important; }
  html body #dv-home-services .dvhs-services-side { order: -1; min-height: 0 !important; padding-top: 0 !important; }
  html body #dv-home-services .dvhs-photo { max-width: 100% !important; height: auto !important; max-height: 370px !important; aspect-ratio: 4 / 3 !important; }
  html body #dv-home-services .dvhs-head { padding-bottom: 26px !important; margin-bottom: 14px !important; }
  html body #dv-home-services .dvhs-dash { width: 20px !important; height: 5px !important; bottom: 7px !important; right: 0 !important; }
  html body #dv-home-services .dvhs-service-row { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
  html body #dv-home-services .dvhs-service h3,html body #dv-home-services .dvhs-step h3 { font-size: 15px !important; line-height: 1.35 !important; margin-bottom: 7px !important; }
  html body #dv-home-services .dvhs-row-line { margin: 20px 0 !important; }
  html body #dv-home-services .dvhs-row-line-last { margin-bottom: 0 !important; }
  html body #dv-home-services .dvhs-cta { margin-top: 0 !important; padding-top: 20px !important; }
  html body #dv-home-services .dvhs-view-all { min-width: 0 !important; max-width: 100% !important; min-height: 44px !important; white-space: normal !important; padding: 10px 16px !important; }
  html body #dv-home-services .dvhs-steps { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; margin-top: 30px !important; }
  html body #dv-home-services .dvhs-step { min-height: 0 !important; }
  html body #dv-home-services .dvhs-step p { padding-bottom: 0 !important; }
  html body #dv-home-services .dvhs-step-line { margin-top: 16px !important; }
  html body #dv-home-services .dvhs-arrow { display: none !important; }

  /* All panorama strips remain full-width, with consistent compact heights. */
  html body :is(#dv-home-panorama,#dv-services-panorama,#dv-projects-panorama) { height: clamp(140px,43vw,240px) !important; }
  html body :is(#dv-apie-top-ribbon,#dv-paslaugos-top-ribbon,#dv-projektai-top-ribbon,#dv-kontaktai-top-ribbon) .dv-strip { height: clamp(70px,21vw,105px) !important; }

  /* Both estimate blocks: same mobile geometry, original distinct palettes. */
  html body #dv-home-estimate { --dvhe-title-lift: 0px; }
  html body #dv-home-estimate .dvhe-wrap,html body #dv-services-estimate .dvse-wrap { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
  html body #dv-home-estimate .dvhe-left,html body #dv-services-estimate .dvse-left { min-height: 0 !important; padding-top: 0 !important; }
  html body #dv-home-estimate .dvhe-title-row,html body #dv-services-estimate .dvse-heading-row { gap: 12px !important; transform: none !important; }
  html body #dv-home-estimate .dvhe-title-dash,html body #dv-services-estimate .dvse-dash { flex: 0 0 18px !important; width: 18px !important; height: 5px !important; margin-bottom: 7px !important; }
  html body #dv-home-estimate .dvhe-bottom-row,html body #dv-services-estimate .dvse-bottom-row { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; margin-top: 18px !important; }
  html body #dv-home-estimate .dvhe-copy,html body #dv-services-estimate .dvse-copy { gap: 10px !important; }
  html body #dv-home-estimate .dvhe-button,html body #dv-services-estimate .dvse-button { width: fit-content !important; min-width: 0 !important; max-width: 100% !important; min-height: 44px !important; white-space: normal !important; padding: 10px 16px !important; justify-self: start; }
  html body #dv-home-estimate .dvhe-rule,html body #dv-services-estimate .dvse-divider { margin-top: 22px !important; }
  html body #dv-home-estimate .dvhe-photo,html body #dv-services-estimate .dvse-photo { width: 100% !important; height: auto !important; max-height: 320px !important; aspect-ratio: 16 / 10 !important; }

  /* APIE MUS: construction stages and statistics. */
  html body #dv-about-main::before { top: 15px !important; }
  html body #dv-about-main .dv-grid { grid-template-columns: minmax(0,1fr) !important; gap: 24px !important; }
  html body #dv-about-main .dv-description-column { min-height: 0 !important; }
  html body #dv-about-main .dv-introduction { margin-top: 18px !important; }
  html body #dv-about-main .dv-intro { margin-bottom: 10px !important; }
  html body #dv-about-main .dv-intro:last-child { margin-bottom: 0 !important; }
  html body #dv-about-main .dv-steps { margin-top: 20px !important; padding: 0 0 18px !important; }
  html body #dv-about-main .dv-step { grid-template-columns: 32px minmax(0,1fr) !important; gap: 4px 10px !important; min-height: 0 !important; padding: 11px 0 !important; }
  html body #dv-about-main .dv-step-desc { grid-column: 2; overflow-wrap: anywhere; }
  html body #dv-about-main .dv-step strong { overflow-wrap: anywhere; }
  html body #dv-about-main .dv-photo { width: 100% !important; min-height: 0 !important; max-height: 370px !important; height: auto !important; aspect-ratio: 4 / 3 !important; }
  html body #dv-about-main .dv-stats { width: 100% !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 18px 10px !important; margin-top: 24px !important; }
  html body #dv-about-auto-gallery { padding: 16px 0 !important; --dv-photo-ratio: 3 / 4; }
  /* Keep the 10px slider gap: the existing JavaScript offset uses this value. */
  html body #dv-about-auto-gallery .dv-image { flex-basis: calc((100% - 10px) / 2) !important; }
  html body #dv-about-services .dv-as-grid { grid-template-columns: minmax(0,1fr) !important; }
  html body #dv-about-services .dv-as-grid .dv-as-service { min-height: 0 !important; padding: 0 0 18px !important; margin: 0 0 18px !important; border: 0 !important; border-bottom: 1px solid var(--dv-rule) !important; }
  html body #dv-about-services .dv-as-grid .dv-as-service:last-child { padding-bottom: 0 !important; margin-bottom: 0 !important; border-bottom: 0 !important; }
  html body #dv-about-services .dv-as-service h3 { font-size: 15px !important; margin-bottom: 7px !important; }
  html body #dv-about-services .dv-as-divider { margin-top: 20px !important; }
  html body #dv-about-services .dv-as-actions { margin-top: 20px !important; }
  html body #dv-about-services .dv-as-button { width: fit-content !important; max-width: 100% !important; min-width: 0 !important; min-height: 44px !important; padding: 10px 16px !important; white-space: normal !important; }

  /* PASLAUGOS page: title, khaki service panel, work process. */
  html body #dv-services-title .dv-head { margin-bottom: 12px !important; }
  html body #dv-services-title .dv-title-rule { margin-top: 18px !important; }
  html body #dv-services-list { padding: 10px 0 !important; }
  html body #dv-services-list .dv-panel { grid-template-columns: minmax(0,1fr) !important; padding: 16px !important; gap: 22px !important; }
  html body #dv-services-list .dv-photo { height: auto !important; min-height: 0 !important; max-height: 300px !important; aspect-ratio: 4 / 3 !important; }
  html body #dv-services-list .dv-info { display: block !important; min-height: 0 !important; }
  html body #dv-services-list .dv-info article { padding: 20px 0 !important; }
  html body #dv-services-list .dv-info article:first-child { padding-top: 0 !important; }
  html body #dv-services-list .dv-info article:last-child { padding-bottom: 0 !important; }
  html body #dv-services-list .dv-info article h2 { font-size: 17px !important; line-height: 1.3 !important; margin-bottom: 10px !important; overflow-wrap: anywhere; }
  html body #dv-services-list .dv-info article :is(p,ul,li) { font-size: 14px !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
  html body #dv-services-list .dv-info article li + li { margin-top: 5px !important; }
  html body #dv-services-list .dv-info article li::before { line-height: 1.5 !important; }
  html body #dv-services-steps .dv-flow { display: flex !important; flex-direction: column !important; gap: 20px !important; }
  html body #dv-services-steps .dv-item { min-height: 0 !important; }
  html body #dv-services-steps .dv-item h3 { font-size: 15px !important; margin-bottom: 7px !important; line-height: 1.35 !important; }
  html body #dv-services-steps .dv-item p { margin-bottom: 16px !important; }
  html body #dv-services-steps .dv-arrow { display: none !important; }

  /* Contact forms: all original inputs, field labels, honeypot and shortcode stay intact. */
  html body #dv-contact-main { --dv-page-gutter: 16px; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-intro { padding-bottom: 18px !important; margin-bottom: 24px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-intro-heading { gap: 10px !important; margin-bottom: 12px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-dash { width: 18px !important; flex-basis: 18px !important; height: 5px !important; margin-bottom: 6px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-contact-grid { grid-template-columns: minmax(0,1fr) !important; row-gap: 26px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-contact-info { width: 100% !important; padding-top: 0 !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form-head { font-size: 15px !important; margin-bottom: 14px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form form.valovit-form { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form .valovit-form__field { grid-column: 1 / -1 !important; }
  /* iOS Safari avoids input-focus zoom at 16px; only form controls use this size. */
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form .valovit-form__field :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']),select,textarea) { font-size: 16px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form .valovit-form__field :is(input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='file']),select) { height: 44px !important; min-height: 44px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form .valovit-form__field input[type='file'] { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-form button.valovit-form__submit { min-height: 44px !important; height: auto !important; max-width: 100% !important; white-space: normal !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-detail { min-height: 52px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-icon { width: 23px !important; height: 23px !important; flex-basis: 23px !important; }
  html body :is(#dv-services-contact,#dv-contact-main) .dv-icon svg { width: 21px !important; height: 21px !important; }

  /* PROJEKTAI title and map. The label no longer covers the map on a phone. */
  html body #dv-projects-title { padding-top: 36px !important; padding-bottom: 24px !important; }
  html body #dv-projects-title .dv-top-line { top: 17px !important; }
  html body #dv-projects-map .dv-heading { margin-bottom: 18px !important; }
  html body #dv-projects-map .dv-heading p { margin-top: 8px !important; }
  html body #dv-projects-map .dv-frame { display: flex !important; flex-direction: column !important; aspect-ratio: auto !important; height: auto !important; }
  html body #dv-projects-map .dv-frame iframe { position: static !important; flex: 0 0 auto; width: 100% !important; height: calc(clamp(270px,75vw,340px) + 100px) !important; margin: -100px 0 0 !important; }
  html body #dv-projects-map .dv-map-label { position: relative !important; width: 100% !important; min-height: 0 !important; padding: 10px 12px !important; }

  /* SĄMATOS SKAIČIUOKLĖ title and photograph. Calculator calculations are not modified. */
  html body #dvn-title-skaiciuokle .dvn-shell { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
  html body #dvn-title-skaiciuokle .dvn-kicker { font-size: 14px !important; line-height: 1.35 !important; gap: 9px !important; margin-bottom: 12px !important; letter-spacing: 0 !important; }
  html body #dvn-title-skaiciuokle .dvn-kicker::before { width: 18px !important; flex: 0 0 18px !important; }
  html body #dvn-title-skaiciuokle .dvn-page-title span { display: block !important; }
  html body #dvn-title-skaiciuokle .dvn-page-desc { margin-top: 12px !important; }
  html body #dvn-title-skaiciuokle .dvn-title-photo { height: auto !important; max-height: 320px !important; aspect-ratio: 16 / 10 !important; }

  /* Dynamic shortcode sections, existing cards and controls retained. */
  html body .dv-onepage.dv-onepage--projects-shortcode { --dvp-home-strip-width: calc(100vw - 32px); }
  html body .dv-onepage.dv-onepage--projects-shortcode #dv-projects { padding: 32px 0 36px !important; }
  html body .dv-onepage.dv-onepage--projects-shortcode #dv-projects .dv-shell { width: calc(100% - 32px) !important; max-width: 1450px !important; }
  html body .dv-onepage.dv-onepage--projects-shortcode #dv-projects .dv-projects__header { margin-bottom: 20px !important; }
  html body .dv-onepage.dv-onepage--projects-shortcode #dv-projects .dv-projects__header > h2.dv-t2 { font-size: clamp(30px,8vw,44px) !important; line-height: 1.08 !important; overflow-wrap: anywhere; }
  html body .dv-onepage--projects-shortcode .dv-projects__track { gap: 12px !important; }
  html body .dv-onepage--projects-shortcode .dv-project { flex: 0 0 var(--dvp-home-strip-width) !important; width: var(--dvp-home-strip-width) !important; padding: 0 10px !important; }
  html body .dv-onepage--projects-shortcode .dv-project__media { aspect-ratio: 16 / 10 !important; }
  html body .dv-onepage--projects-shortcode .dv-project .dv-project__name,html body .donvena-project-gallery .donvena-gallery-project .donvena-gallery-project__name { font-size: 15px !important; }
  html body .dv-onepage--projects-shortcode .dv-project :is(.dv-project__type,.dvp-pdf-meta),html body .donvena-project-gallery .donvena-gallery-project :is(.donvena-gallery-project__type,.dvp-pdf-meta) { font-size: 14px !important; overflow-wrap: anywhere; }
  html body .dv-onepage--projects-shortcode .dv-projects__bottom { grid-template-columns: minmax(0,1fr) auto !important; gap: 12px !important; margin-top: 20px !important; }
  html body .dv-onepage--projects-shortcode .dv-projects__bottom .dv-projects__progress { display: none !important; }
  html body .dv-onepage--projects-shortcode .dv-projects__bottom .dv-projects__all { grid-column: 1 !important; width: 100% !important; min-width: 0 !important; min-height: 44px !important; white-space: normal !important; padding: 8px 10px !important; text-align: center !important; }
  html body .dv-onepage--projects-shortcode .dv-projects__bottom .dv-projects__tools { grid-column: 2 !important; justify-self: end !important; margin: 0 !important; gap: 6px !important; opacity: 1 !important; }
  html body .dv-onepage--projects-shortcode .dv-projects__control { width: 44px !important; height: 44px !important; min-width: 44px !important; }
  html body .donvena-project-gallery.donvena-project-gallery--no-header .donvena-project-gallery__inner { width: calc(100% - 32px) !important; padding: 16px 0 32px !important; }
  html body .donvena-project-gallery.donvena-project-gallery--no-header .donvena-project-gallery__grid { grid-template-columns: minmax(0,1fr) !important; row-gap: 22px !important; }
  html body .donvena-project-gallery.donvena-project-gallery--no-header .donvena-project-gallery__grid > .donvena-gallery-project { padding: 0 10px !important; border-left: 1px solid #a6a6a6 !important; border-right: 1px solid #a6a6a6 !important; }
  html body .donvena-project-gallery.donvena-project-gallery--no-header .donvena-gallery-project__media { aspect-ratio: 16 / 10 !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-reviews__shell { width: calc(100% - 32px) !important; padding: 32px 0 36px !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-reviews__header { gap: 10px !important; margin-bottom: 12px !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-reviews__title { font-size: clamp(27px,7vw,36px) !important; line-height: 1.13 !important; }
  html body .dvr-reviews.dvr-reviews--dark.dvr-reviews--columns { --dvr-visible: 1 !important; --dvr-visible-width: calc(100vw - 32px) !important; }
  html body .dvr-reviews.dvr-reviews--dark.dvr-reviews--columns .dvr-slide { min-height: 300px !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-message-card { position: relative !important; top: auto !important; left: auto !important; width: calc(100% - 20px) !important; max-height: none !important; margin: 10px auto 56px !important; transform: none !important; padding: 10px !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-message-card__header { grid-template-columns: 30px minmax(0,1fr) !important; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-message-card__time { grid-column: 2; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-message-card__person { min-width: 0 !important; overflow-wrap: anywhere; }
  html body .dvr-reviews.dvr-reviews--dark .dvr-message-card__text { font-size: 14px !important; line-height: 1.45 !important; overflow-wrap: anywhere; }
  html body .dv-sb-instagram { padding: 30px 0 34px !important; }
  html body .dv-sb-instagram .dv-sb-instagram__wrap { width: calc(100% - 32px) !important; }
  html body section.dv-sb-instagram.dv-sb-instagram--with-title .dv-sb-instagram__title { font-size: clamp(25px,6.8vw,35px) !important; line-height: 1.15 !important; margin-bottom: 18px !important; overflow-wrap: anywhere; }
  html body .dv-sb-instagram .dv-sb-instagram__button,html body .dv-sb-instagram .dv-sb-instagram__button:link,html body .dv-sb-instagram .dv-sb-instagram__button:visited { min-height: 44px !important; margin-top: 18px !important; padding: 10px 14px !important; white-space: normal !important; }
}

/* Keep the project CTA and both arrows usable on the smallest phones. */
@media (max-width: 380px) {
  html body .dv-onepage--projects-shortcode .dv-projects__bottom { grid-template-columns: minmax(0,1fr) !important; }
  html body .dv-onepage--projects-shortcode .dv-projects__bottom .dv-projects__tools { grid-column: 1 !important; justify-self: end !important; }
}
@media (max-width: 780px) and (max-height: 500px) and (orientation: landscape) {
  html body #dv-video-home-hero.dv-hero-v9 { min-height: 320px !important; height: 100svh !important; }
  html body #dv-video-home-hero.dv-hero-v9 .dv-video-home-hero__inner { padding-top: 62px !important; padding-bottom: 18px !important; }
}
