/*
 * Daly Landscaping | Mobile service-card photography fix
 * On smaller screens, preserve each project photograph instead of placing
 * the large descriptive panel over most of it. Desktop layout is unchanged.
 */
@media (max-width: 767px) {
  #services .daly-service-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(10, 54, 32, .10);
  }
  #services .daly-service-card .thumb {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    flex: 0 0 auto;
  }
  #services .daly-service-card .thumb img {
    border-radius: 15px 15px 0 0;
  }
  #services .daly-service-card .content {
    /* Override the template's -180px photo overlap on phones/tablets. */
    margin-top: 0 !important;
    margin-right: 0 !important;
    padding: 22px 22px 24px !important;
    border-radius: 0 0 15px 15px !important;
    min-height: 0;
  }
  #services .daly-service-card .content::before {
    border-radius: 0 0 15px 15px;
  }
  #services .daly-service-card .content h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
  }
  #services .daly-service-card .content p {
    font-size: 15px;
    line-height: 1.55;
    margin: 9px 0 16px;
    padding-bottom: 14px;
    flex: 0 0 auto !important;
  }
  #services .daly-service-card .content .link-btn {
    padding-top: 0 !important;
    margin-top: auto !important;
  }
}
@media (max-width: 359px) {
  #services .daly-service-card .content { padding: 20px 18px 22px !important; }
  #services .daly-service-card .content h3 { font-size: 19px; }
  #services .daly-service-card .content p { font-size: 14px; }
}
