/* Articles (blog) pages and the home page "Latest Articles" strip.
   Builds on the theme's .blog-style-one and .blog-details-page styles in main.css. */

/* Long article titles in the page banner */
.fiw-articles-hero .breadcrumb__title {
  font-size: 44px;
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: 12px;
}
@media only screen and (max-width: 767px) {
  .fiw-articles-hero .breadcrumb__title { font-size: 28px; }
  .fiw-articles-hero .breadcrumb__wrapper ul li.fiw-crumb-long { display: none; }
}

/* Cards */
.fiw-article-card { height: 100%; display: flex; flex-direction: column; }
.fiw-article-card .blog-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fiw-article-card .blog-content { flex: 1; display: flex; flex-direction: column; }
.fiw-article-card .blog-title { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.fiw-article-card .blog-title a { color: inherit; }
.fiw-article-card .blog-title a:hover { color: var(--theme-color); }
.fiw-article-excerpt { font-size: 15px; margin-bottom: 18px; }
.fiw-article-more { margin-top: auto; font-weight: 600; color: var(--theme-color); }
.fiw-article-more i { font-size: 12px; margin-left: 6px; }

/* Gap between the post image and the date line (the theme sets figure margins to 0 !important) */
.fiw-article .blog-post-meta { margin-top: 24px; }

/* Article body */
.fiw-article-body h2,
.fiw-article-faqs h2 { font-size: 28px; line-height: 1.3; margin: 40px 0 16px; }
.fiw-article-body h3 { font-size: 22px; line-height: 1.35; margin: 30px 0 12px; }
.fiw-article-body p { margin-bottom: 18px; }
.fiw-article-body ul,
.fiw-article-body ol { margin: 0 0 20px 0; padding-left: 22px; }
.fiw-article-body ul { list-style: disc; }
.fiw-article-body ol { list-style: decimal; }
.fiw-article-body li { margin-bottom: 8px; }
.fiw-article-body a,
.fiw-faq-answer a,
.fiw-articles-intro a,
.fiw-article-cta p a { color: var(--theme-color); text-decoration: underline; }
.fiw-article-body table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
.fiw-article-body th,
.fiw-article-body td { border: 1px solid #e3e3e3; padding: 10px 12px; text-align: left; vertical-align: top; }
.fiw-article-body th { background: #f5f8f5; }
.fiw-table-wrap { overflow-x: auto; }

/* FAQs */
.fiw-faq { border-top: 1px solid #e6e6e6; padding: 18px 0 4px; }
.fiw-faq h3 { font-size: 19px; line-height: 1.4; margin-bottom: 8px; }

/* Call to action */
.fiw-article-cta { margin-top: 40px; padding: 30px; background: #f5f8f5; border-left: 4px solid var(--theme-color); }
.fiw-article-cta h3 { font-size: 24px; margin-bottom: 10px; }
.fiw-article-cta p { margin-bottom: 20px; }

/* More articles */
.fiw-more-articles { margin-top: 70px; }
.fiw-more-articles h2 { font-size: 30px; margin-bottom: 30px; }
