/* Dorćol Dental — phone layout only, without modifying theme files or desktop styles. */
@media screen and (max-width: 760px) {
  /* Keep the reception photograph above its copy, at a natural mobile ratio. */
  body.home .studio-v12,
  body.home .studio-v12,
  .home .studio-v12,
  .studio-v12 {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .studio-v12 .studio-photo {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    background-size: cover !important;
    background-position: 50% 48% !important;
    background-repeat: no-repeat !important;
  }
  .studio-v12 .studio-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 42px 7% 54px !important;
  }
  .studio-v12 .studio-copy h2 {
    overflow-wrap: break-word;
    line-height: 1.13;
  }
  .studio-v12 .studio-copy p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  /* Existing hero still uses its approved photo, but crops usefully on phones. */
  .home-hero-image {
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 4.3;
    background-position: 51% 50% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
  .home-hero-image .hero-image-note {
    top: 18px;
    right: 18px;
    max-width: 65%;
  }
  .home-hero-image .hero-image-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 390px) {
  .studio-v12 .studio-photo { aspect-ratio: 5 / 4; }
  .studio-v12 .studio-copy { padding: 34px 7% 46px !important; }
  .home-hero-image { aspect-ratio: 4 / 4.6; }
  .home-hero-image .hero-image-note { padding: 10px 12px; font-size: 10px; }
}
