/* Layout for the blog listing, article and product tab. Everything is scoped to the module's own markup. */
.fme-articles-page .inner_container:after { content: ""; display: block; clear: both; }
.fme-articles-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fme-articles-page .fluid_container { margin: 0 0 30px; width: 100%; }
.fme-articles-page .camera_caption { font-size: 18px; }
.fme-listing-title { font-size: 26px; font-weight: 400; margin: 0 0 20px; }
.fme-article-meta { color: #666; font-size: 13px; margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.fme-article-meta .date { padding: 0; margin: 0; }
.fme-category-tag { background: #f1f4f8; border-radius: 3px; padding: 2px 8px; font-size: 12px; }
.fme-read-more { display: inline-block; margin-top: 12px; font-weight: 600; }
.fme-article-items-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fme-article-items-grid .blog_post_feed.grid { width: auto; float: none; margin: 0; }
.fme-articles-page .blog_post_feed .thumb img { width: 100%; height: auto; display: block; }
.fme-articles-page .categories .fme-subcategory { padding-left: 16px; }
.fme-recent-comment p { margin: 4px 0 0; color: #666; font-size: 13px; }
.fme-article-body img { max-width: 100%; height: auto; }
.fme-article-body h2 { font-size: 22px; margin: 24px 0 10px; font-weight: 600; }
.fme-article-body p, .fme-article-body li { font-size: 15px; line-height: 1.65; }
.fme-article-hero { width: 100%; height: auto; display: block; margin-bottom: 20px; }
.fme-section-title { font-size: 20px; margin: 30px 0 14px; font-weight: 600; }
.fme-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.fme-related-card img { width: 100%; height: 130px; object-fit: cover; display: block; margin-bottom: 8px; }
.fme-related-card h3 { font-size: 15px; margin: 0 0 4px; font-weight: 600; line-height: 1.35; }
.fme-related-card p, .fme-related-card span { font-size: 13px; color: #666; margin: 0; }
.fme-video-stage { background: #000; position: relative; padding-bottom: 56.25%; height: 0; margin-bottom: 12px; }
.fme-video-stage video, .fme-video-stage iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.fme-video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 12px; }
.fme-video-list a { display: block; position: relative; text-decoration: none; }
.fme-video-list img { width: 100%; height: 90px; object-fit: cover; display: block; }
.fme-video-list .play { position: absolute; top: 28px; left: calc(50% - 15px); color: #fff; font-size: 24px; text-shadow: 0 0 6px #000; }
.fme-video-list .title { font-size: 13px; margin-top: 6px; }
.fme-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.fme-gallery-grid figure { margin: 0; }
.fme-gallery-grid img { width: 100%; height: 140px; object-fit: cover; display: block; }
.fme-gallery-grid figcaption { font-size: 12px; color: #666; padding-top: 4px; }
#share-buttons a { display: inline-block; margin-right: 8px; }
#share-buttons img { width: 32px; height: 32px; }
.fme-author-card { display: flex; gap: 20px; align-items: flex-start; background: #f7f8fa; padding: 24px; margin-bottom: 30px; }
.fme-author-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; flex: none; }
.fme-author-card h1 { margin: 0 0 4px; font-size: 26px; font-weight: 600; }
.fme-author-card .job { color: #666; margin-bottom: 10px; }
.fme-author-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.fme-author-card ul li { margin: 0; }
@media (max-width: 768px) {
    .fme-article-items-grid { grid-template-columns: 1fr; }
    .fme-articles-page .main_wrapper, .fme-articles-page .sidebar_wrapper { width: 100%; float: none; }
    .fme-author-card { flex-direction: column; }
}

/* Another stylesheet sets .page-main to width:100% as content-box, so its padding pushed blog pages sideways on phones. */
.page-main:has(.fme-articles-page, .fme-author-card) { box-sizing: border-box; }

/* Anti-spam field: off screen for people, still in the form for bots. */
.fme-comment-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) { .fme-articles-page .camera_caption { font-size: 14px; } }
