/* SGA blog posts: body readability, pull quotes, closing session card.
   From SGA020 "Blog Page Style Update" (sga-blog-readability_1.css), mapped to the theme's markup:
   the post body is .post_content (not .entry-content), and the title and byline rows share the 720px column. */

/* One 720px reading column for the title, byline and body */
.single-post .container.mt-5 > .row {
  max-width: 750px; /* 720px of text plus the column's 15px side padding */
  margin-left: auto;
  margin-right: auto;
}

/* Title and byline, as in the sample (blog-layout-preview_2.html) */
.single-post .container.mt-5 h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: #003762;
  margin: 0 0 8px;
}

.single-post .metadata {
  margin-bottom: 24px !important; /* the theme row has mb-5 */
}

.single-post .metadata .byline,
.single-post .metadata .byline a {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #555555 !important; /* beats the theme's .text-gray */
}

.single-post .metadata .byline a {
  font-weight: 600;
}

/* The theme gives every body element a 700px width and 1rem side margins; the column now sets the width */
.single-post .post_content > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.single-post .post_content p,
.single-post .post_content li {
  color: #000000;
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.1em;
}

.single-post .post_content .sga-featured-image {
  margin: 0 0 2em;
}

.single-post .post_content .sga-featured-image .post_images {
  margin: 0 !important; /* the theme wraps content images in a div with mb-3 */
}

.single-post .post_content .sga-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.single-post .post_content h2 {
  font-size: 1.625rem;
  line-height: 1.25;
  color: #003762;
  margin: 2.25em 0 0.6em;
}

.single-post .post_content .sga-pullquote {
  margin: 2em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 4px solid #009490;
}

.single-post .post_content .sga-pullquote p {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  color: #004A98;
  margin: 0;
}

.single-post .post_content .sga-cta-card {
  margin: 2.5em 0 1em;
  padding: 2rem;
  background: rgba(0, 74, 152, 0.06);
  border-top: 6px solid #004A98;
  border-radius: 4px;
}

.single-post .post_content .sga-cta-kicker {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #006763;
  margin-bottom: 0.5em;
}

.single-post .post_content .sga-cta-card h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  color: #003762;
  margin: 0 0 0.5em;
}

.single-post .post_content .sga-cta-meta {
  font-weight: 700;
  color: #003762;
}

.single-post .post_content .sga-cta-button a {
  display: inline-block;
  background: #D31245;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: 4px;
}

.single-post .post_content .sga-cta-button a:hover,
.single-post .post_content .sga-cta-button a:focus {
  background: #a90e37;
  color: #ffffff;
}

.single-post .post_content .sga-cta-note {
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 600px) {
  .single-post .post_content .sga-pullquote p { font-size: 1.3rem; }
  .single-post .post_content .sga-cta-card { padding: 1.5rem 1.25rem; }
  .single-post .post_content .sga-cta-button a { display: block; text-align: center; }
}
