/*
Theme Name: Divi Child
Theme URI: https://dev.orthodonticrevolution.com/henry/divi-child/
Description: A child theme of the parent Divi theme
Author: Your Name
Author URI: https://example.com/
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Ticket 99870: Match blog typography to online scheduling widget */
body.blog .et-l--body,
body.blog .et-l--body .et_pb_module_heading,
body.blog .et-l--body .et_pb_post .entry-title,
body.blog .et-l--body .et_pb_post .entry-title a,
body.blog .et-l--body .et_pb_post .post-content,
body.blog .et-l--body .et_pb_post .post-content p,
body.blog .et-l--body .et_pb_post .more-link,
body.blog .et-l--body .pagination a {
  font-family: 'Oxygen', sans-serif !important;
}
	
/* Ticket 99870 follow-up: single posts and archive title hierarchy */
body.single-post .et-l--body,
body.single-post .et-l--body .et_pb_module_heading,
body.single-post .et-l--body .entry-title,
body.single-post .et-l--body .entry-title a,
body.single-post .et-l--body .et_pb_post_content,
body.single-post .et-l--body .et_pb_post_content p,
body.single-post .et-l--body .et_pb_post_content li,
body.single-post .et-l--body .et_pb_post_content h1,
body.single-post .et-l--body .et_pb_post_content h2,
body.single-post .et-l--body .et_pb_post_content h3,
body.single-post .et-l--body .et_pb_post_content h4,
body.single-post .et-l--body .et_pb_post_content h5,
body.single-post .et-l--body .et_pb_post_content h6,
body.single-post .et-l--body .et_pb_post_content a {
  font-family: 'Oxygen', sans-serif !important;
}

body.blog .et-l--body .et_pb_post .entry-title,
body.blog .et-l--body .et_pb_post .entry-title a {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

/* Ticket 99870 follow-up: normalize blog card heights and clamp text */
body.blog .et-l--body .et_pb_post .entry-title,
body.blog .et-l--body .et_pb_post .post-content p {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

@media (min-width: 981px) {
  body.blog .et-l--body .et_pb_post {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 500px;
  }

  body.blog .et-l--body .et_pb_post .post-content {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  body.blog .et-l--body .et_pb_post .more-link {
    margin-top: auto;
  }
}
