/* Blog pages on top of the campaign theme (main.css). Brand blue #14a5c3, font urw-form (Figtree). */
.tyfc-blog .main-wrapper { padding-bottom: 40px; font-family: urw-form, sans-serif; }
.tyfc-blog .main-wrapper button, .tyfc-blog .main-wrapper input, .tyfc-blog .main-wrapper table { font-family: inherit; }
.tyfc-blog .blog-index .section--content { max-width: 1100px; }
.tyfc-blog .section--page .section--content { max-width: 860px; padding: 0 16px; }
.blog-intro { text-align: center; max-width: 640px; margin: 18px auto 0; font-size: 1.1em; line-height: 1.6; }
.blog-empty { text-align: center; margin: 40px auto; font-size: 1.1em; }
.blog-empty a, .blog-body a, .blog-crumbs a, .blog-back a, .blog-byline a { color: #14a5c3; }

/* Listing */
.blog-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.blog-card { margin: 0; padding: 0; }
.blog-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid #e3eef1; border-radius: 14px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.blog-card__link:hover { box-shadow: 0 8px 24px rgba(20, 165, 195, .18); transform: translateY(-2px); }
.blog-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #eaf6f9; }
.blog-card__text { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.blog-card__date { font-size: .85em; color: #6b7c80; }
.blog-card__title { font-weight: 700; font-size: 1.15em; line-height: 1.35; color: #1d2b2f; }
.blog-card__summary { font-size: .95em; line-height: 1.5; color: #44565a; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.blog-pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 40px 0 0; }
.blog-pager a { color: #14a5c3; font-weight: 700; }

/* Article */
.blog-crumbs { text-align: center; margin-bottom: 10px; font-size: .95em; }
.blog-post__title { line-height: 1.15; }
.blog-byline { text-align: center; color: #6b7c80; margin: 16px 0 28px; font-size: .95em; }
.blog-byline__sep { margin: 0 6px; }
.blog-hero { margin: 28px 0; }
.blog-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.aeo-key-points-first, .aeo-quiz-first, .aeo-short-main { margin: 0 0 24px; }
.section--page article.blog-body { margin-top: 0; }
.blog-body { font-size: 1.07em; line-height: 1.7; color: #1d2b2f; overflow-wrap: anywhere; }
.blog-body h2 { font-size: 1.6em; line-height: 1.25; margin: 1.8em 0 .6em; color: #14a5c3; font-weight: 900; }
.blog-body h3 { font-size: 1.25em; line-height: 1.3; margin: 1.5em 0 .5em; font-weight: 700; }
.blog-body p, .blog-body ul, .blog-body ol, .blog-body table, .blog-body blockquote, .blog-body figure { margin: 0 0 1.1em; }
.blog-body ul, .blog-body ol { padding-left: 1.4em; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { margin: .3em 0; }
.blog-body img { max-width: 100%; height: auto; }
.blog-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.blog-body th, .blog-body td { border: 1px solid #dde8eb; padding: 8px 10px; text-align: left; vertical-align: top; }
.blog-body blockquote { border-left: 4px solid #14a5c3; padding: 4px 0 4px 16px; color: #44565a; }
.blog-body strong { font-weight: 700; }
.blog-back { margin-top: 40px; text-align: center; }
.blog-quiz .section--content { min-height: 50vh; }
@media (max-width: 767px) {
  .blog-post__title { font-size: 1.75em; }
  .blog-crumbs { display: none; }
  .blog-byline { margin: 12px 0 20px; }
  .blog-body { font-size: 1em; }
  .blog-body h2 { font-size: 1.35em; }
}
