/* Desktop covers at min-width 901px: 680px visible height, with 40px
   of space above the 18px Greek-key band. Applies to the Guides and
   Tools hubs, every guide or tool page with a cover, the three
   individual practice pages, the Practices hub, About,
   Clients, Contact, Newsroom (and blog posts with a cover), Law Alerts,
   and the remaining photo-cover pages (Principles, Cookies, Privacy,
   Terms). Bank-deposit is not fixed at 680px; it grows to fit from a 680px minimum so its long title is never clipped. Mobile is unchanged. The English homepage full-screen hero
   and the foreign-language homepages are not changed here. Does not
   change titles or fonts. */

@media (min-width: 901px) {
  /* --- Remaining in-flow photo covers with a fixed 680px height --- */
  html body.page-inner.wsite-page-areas.wsite-theme-light div.vd:not(#vd-x) section.hero:not(.gd-hero),
  html body.page-inner.wsite-page-about.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-about.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-team.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-team.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="vd-hero"],
  html body.page-inner.wsite-page-team.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-clients.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-clients.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-contact.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-contact.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="vd-hero"],
  html body.page-inner.wsite-page-contact.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-principles.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-principles.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-cookies.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-cookies.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-privacy.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-privacy.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-terms.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-terms.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("] {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    aspect-ratio: auto !important;
    padding-top: 32px !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
  html body.page-inner.wsite-page-areas.wsite-theme-light div.vd:not(#vd-x) section.hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-about.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-team.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-clients.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-contact.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-principles.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-cookies.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-privacy.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-terms.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }

  /* --- Real Estate and Property Management: in-flow 680px visible --- */
  html body.page-inner.wsite-page-real-estate.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-real-estate.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-real-estate.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="vd-hero"],
  html body.page-inner.wsite-page-property_management.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-property_management.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-property_management.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="vd-hero"] {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    aspect-ratio: auto !important;
    padding-top: 32px !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
  html body.page-inner.wsite-page-real-estate.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-page-property_management.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }

  /* Golden Visa sits under the fixed alert + header (html.cx). Add that
     offset so the visible cover below the nav is the same 680px. */
  html.cx body.page-inner.wsite-page-golden-visa.wsite-theme-light section.page-hero {
    height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 32px) !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
  }
  html.cx body.page-inner.wsite-page-golden-visa.wsite-theme-light section.page-hero > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }


  /* Residence-permit service photo covers: 680px visible band as Golden Visa,
     but allow the box to grow so the lede and CTAs are never clipped
     (heroes.css 56.25vw max-height otherwise wins at ~1024). */
  html.cx body.page-inner.wsite-page-fip-permit-lawyers-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero,
  html.cx body.page-inner.wsite-page-digital-nomad-lawyers-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero,
  html.cx body.page-inner.wsite-page-golden-visa-term-deposit-lawyers.wsite-theme-light div.vd:not(#vd-x) section.page-hero {
    height: auto !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 32px) !important;
    padding-bottom: 58px !important;
  }
  html.cx body.page-inner.wsite-page-fip-permit-lawyers-greece.wsite-theme-light section.page-hero > .wrap,
  html.cx body.page-inner.wsite-page-digital-nomad-lawyers-greece.wsite-theme-light section.page-hero > .wrap,
  html.cx body.page-inner.wsite-page-golden-visa-term-deposit-lawyers.wsite-theme-light section.page-hero > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }

  /* --- Guide and tool drawing-cover heroes: fixed 680px visible --- */
  html body.page-inner.wsite-page-buying-property-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-golden-visa-greece-2026.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-due-diligence-checklist.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-costs-of-buying-property-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-greek-tax-number-afm-bank-account.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-buying-property-greece-power-of-attorney.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-buying-property-greece-uk-citizens.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-property-management-greece-overseas-owners.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-short-term-rental-rules-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-faq-golden-visa-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-faq-buying-property-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-fip-residence-permit-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-digital-nomad-visa-greece.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-golden-visa-regions.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-zh-greece-property-golden-visa.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-tr-yunanistan-gayrimenkul-golden-visa.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    padding-top: 32px !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    align-items: stretch !important;
  }

  /* Guides hub sits under the fixed alert + header (html.cx).
     Section height adds that offset so the visible band is 680px. */
  html.cx body.page-inner.wsite-page-guides.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 32px) !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* Tools hub sits under the fixed alert + header (html.cx). */
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light div.vd:not(#vd-x) section.hero {
    height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 32px) !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* Golden Visa calculator: in-flow section.hero with a drawing cover. */
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light div.vd:not(#vd-x) section.hero {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    padding-top: 32px !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  /* Shrink wraps to content so a leftover min-height cannot overflow
     the 560px cap and slide under the header. Tighten only spacing,
     not font sizes. */
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero > .wrap,
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.hero > .wrap,
  html.cx body.page-inner.wsite-theme-light section.page-hero > .wrap,
  html.cx body.page-inner.wsite-theme-light section.hero > .wrap {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero > .wrap,
  html.cx body.page-inner.wsite-page-guides.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero > .wrap,
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light div.vd:not(#vd-x) section.hero > .wrap,
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light div.vd:not(#vd-x) section.hero > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero .eyebrow,
  html.cx body.page-inner.wsite-theme-light section.page-hero .eyebrow,
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light section.hero .eyebrow,
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light section.hero .eyebrow {
    margin-bottom: 12px !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero .lede,
  html.cx body.page-inner.wsite-theme-light section.page-hero .lede,
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light section.hero .lede,
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light section.hero .lede {
    margin-top: 16px !important;
  }
  html.cx body.page-inner.wsite-page-guides.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero .actions {
    margin-top: 6px !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero .actions,
  html.cx body.page-inner.wsite-theme-light section.page-hero .actions,
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light section.hero .actions,
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light section.hero .actions {
    margin-top: 20px !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero .meta,
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.hero .meta,
  html.cx body.page-inner.wsite-theme-light section.page-hero .meta,
  html.cx body.page-inner.wsite-theme-light section.hero .meta {
    margin-top: 16px !important;
    padding-top: 12px !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero .trustline,
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.hero .trustline,
  html.cx body.page-inner.wsite-theme-light section.page-hero .trustline,
  html.cx body.page-inner.wsite-theme-light section.hero .trustline {
    margin-top: 14px !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero .vd-gi-hub,
  html.cx body.page-inner.wsite-theme-light section.page-hero .vd-gi-hub,
  html.cx body.page-inner.wsite-theme-light section.hero .vd-gi-hub {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
  }
  html body.page-inner.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero .hero-ic,
  html.cx body.page-inner.wsite-theme-light section.page-hero.gd-hero .hero-ic,
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light section.hero .art,
  html body.page-inner.wsite-page-golden-visa-calculator-greece.wsite-theme-light section.hero .art {
    position: absolute !important;
    pointer-events: none !important;
  }

  /* Law Alerts sits under the fixed alert + header (html.cx).
     Section height adds that offset so the visible band is 680px. */
  html.cx body.page-inner.wsite-page-law-alerts.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 32px) !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }
  html.cx body.page-inner.wsite-page-law-alerts.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* Newsroom index and blog posts that use the reading-room cover.
     These are Square banner sections, not section.page-hero. */
  html body.page-inner.wsite-page-blog.c div.banner-wrap div.wsite-header-section,
  html body.page-inner.wsite-page-blog.wsite-blog-post.c div.banner-wrap div.wsite-header-section,
  html body.page-inner.wsite-blog-post.c div.banner-wrap div.wsite-header-section {
    height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    aspect-ratio: auto !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    box-sizing: border-box !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  /* Bank-deposit is not given a fixed 680px height: its title is too long.
     It grows to fit, with a 680px minimum so it is not shorter than its
     neighbours, and overflow stays visible so nothing is clipped. */
  html body.page-inner.wsite-page-golden-visa-bank-deposit.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-page-golden-visa-bank-deposit.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="url("],
  html body.page-inner.wsite-page-golden-visa-bank-deposit.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero)[style*="vd-hero"] {
    height: auto !important;
    min-height: 680px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding-top: 32px !important;
    padding-bottom: 58px !important; /* 18px Greek-key + 40px gap */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
  html body.page-inner.wsite-page-golden-visa-bank-deposit.wsite-theme-light div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
  }

  /* These guide/tool heroes still clip or sit on the Greek-key band at a
     fixed 680px (checked at 1440, 1280 and 1024). They keep a 680px
     visible minimum and grow just enough to clear the band by 40px. */
  html body.page-inner.wsite-page-property-management-greece-overseas-owners.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero,
  html body.page-inner.wsite-page-golden-visa-regions.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    height: auto !important;
    min-height: 680px !important;
    max-height: none !important;
    overflow: visible !important;
  }
  html.cx body.page-inner.wsite-page-guides.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    height: auto !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: none !important;
    overflow: visible !important;
  }
  /* Tools hub uses the same visible minimum as Guides, and grows if the
     heading needs more room, so the two hub covers stay matched. */
  html.cx body.page-inner.wsite-page-tools.wsite-theme-light div.vd:not(#vd-x) section.hero {
    height: auto !important;
    min-height: calc(680px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    max-height: none !important;
    overflow: visible !important;
  }
  /* At wide desktops the Guides hub grows with its title size. Raise the
     Tools hub to the same visible height so the two covers sit together. */
  @media (min-width: 1400px) {
    html.cx body.page-inner.wsite-page-tools.wsite-theme-light div.vd:not(#vd-x) section.hero {
      min-height: calc(725px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    }
  }
  @media (min-width: 1600px) {
    html.cx body.page-inner.wsite-page-tools.wsite-theme-light div.vd:not(#vd-x) section.hero {
      min-height: calc(765px + var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    }
  }

}


/* Portrait phones: keep the common 16:9 photo band on the five practice
   pages only. All other pages in this batch are left on their existing
   mobile treatment. */
@media (max-width: 900px) and (orientation: portrait) {
  html body.page-inner.wsite-theme-light.wsite-page-real-estate div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-theme-light.wsite-page-property_management div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-theme-light.wsite-page-golden-visa-bank-deposit div.vd:not(#vd-x) section.page-hero:not(.gd-hero),
  html body.page-inner.wsite-theme-light.wsite-page-areas div.vd:not(#vd-x) section.hero:not(.gd-hero) {
    aspect-ratio: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    justify-content: flex-start !important;
    padding-top: 56.25vw !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #0A1424 !important;
    overflow: visible !important;
  }
  html body.page-inner.wsite-theme-light.wsite-page-real-estate div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-theme-light.wsite-page-property_management div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-theme-light.wsite-page-golden-visa-bank-deposit div.vd:not(#vd-x) section.page-hero:not(.gd-hero) > .wrap,
  html body.page-inner.wsite-theme-light.wsite-page-areas div.vd:not(#vd-x) section.hero:not(.gd-hero) > .wrap {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }

  html.cx body.page-inner.wsite-theme-light.wsite-page-golden-visa section.page-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-top: calc(var(--alert-h, 36px) + var(--header-h, 78px) + 56.25vw) !important;
    background: #0A1424 !important;
    overflow: visible !important;
    justify-content: flex-start !important;
  }
  html.cx body.page-inner.wsite-theme-light.wsite-page-golden-visa section.page-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(var(--alert-h, 36px) + var(--header-h, 78px)) !important;
    height: 56.25vw !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
  }
  html.cx body.page-inner.wsite-theme-light.wsite-page-golden-visa section.page-hero > .wrap {
    padding-top: 28px !important;
    padding-bottom: 32px !important;
  }
}

@media (min-width: 901px) {

  /* Bank-deposit GUIDE is now typographic (gd-hero). Keep a 680px minimum and
     no fixed max-height, so the long title is never clipped. */
  html body.page-inner.wsite-page-golden-visa-bank-deposit.wsite-theme-light div.vd:not(#vd-x) section.page-hero.gd-hero {
    min-height: 680px !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}
