/* ============================================
   ABOUT — MOBILE STACK
   ΦΟΡΤΩΣΕ ΤΟ ΤΕΛΕΥΤΑΙΟ ΑΠ' ΟΛΑ ΣΤΟ <head>
   ============================================ */


/* --------------------------------------------
   ΠΑΝΤΟΥ — η φωτογραφία πρέπει να γεμίζει το πλαίσιο
   Το .about-image ήταν flex container που "έσφιγγε"
   την <img> στο ελάχιστο μέγεθός της.
   -------------------------------------------- */
.about .about-image {
  display: block;
  position: relative;
  overflow: hidden;
}

.about .about-doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}


/* --------------------------------------------
   ΚΙΝΗΤΟ / TABLET — φωτογραφία πάνω, κείμενο κάτω
   Flex column αντί για grid: δεν μπορεί να το
   ακυρώσει κανένα grid-template-columns από άλλο αρχείο.
   -------------------------------------------- */
@media (max-width: 900px) {

  section.about {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
    grid-template-columns: none;
  }

  /* 1. Φωτογραφία */
  section.about > .about-image {
    order: 1;
    flex: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 4/5;
  }

  section.about > .about-image .about-image-frame {
    top: -0.7rem; left: -0.7rem;
    right: 0.7rem; bottom: 0.7rem;
  }

  /* 2. Κείμενο */
  section.about > .about-text {
    order: 2;
    width: 100%;
    padding-right: 0;
  }

  section.about .about-bio { max-width: none; }
  section.about .about-bio:empty { display: none; }
}


@media (max-width: 480px) {
  section.about > .about-image { max-width: 100%; aspect-ratio: 1/1; }
  section.about .about-stats { gap: 0.8rem; }
  section.about .stat-num { font-size: 1.9rem; }
  section.about .stat-label { font-size: 0.65rem; letter-spacing: 0.06em; }
}

@media (max-width: 900px) {
  .services .services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    grid-template-columns: none;
  }
  .services .service-card { width: 100%; }
}