/* Legacy PCO blog layout, scoped to the blog list. */
/* legacy theme-1 .container widths (Bootstrap 5's 1140/1320px made the page wider than the old one) */
.legacy-blog-layout .blog-page .container { max-width: 1024px; padding-left: 15px; padding-right: 15px; }
.legacy-blog-layout .blog-page .topics-top-banner { padding: 40px 0; margin-bottom: 60px; background: #0d0255; }
.legacy-blog-layout .blog-page .topic-banner-heading { height: 100%; }
.legacy-blog-layout .blog-page .topic-banner-heading h1 { color: #fff; height: 100%; display: flex; align-items: center; max-width: 100%; width: 350px; margin: 0; font-family: var(--oswald-regular-font); font-size: 48px; font-weight: 400; text-align: left; }
.legacy-blog-layout .blog-page .topic-image { max-width: 100%; text-align: right; }
.legacy-blog-layout .blog-page .topic-image img { max-width: 100%; height: 350px; object-fit: contain; }
.legacy-blog-layout .blog-page .blog-posts { display: flex; flex-wrap: wrap; gap: 1%; }
.legacy-blog-layout .blog-page .blog-posts .post { flex: 0 0 32%; max-width: 32%; margin: 0 0 15px; padding: 15px 15px 30px; background: #2499a4; }
.legacy-blog-layout .blog-page .post-title { display: inline-block; color: #fff; margin-bottom: 20px; padding: 10px 10px 0; font-size: 26px; line-height: 34px; }
.legacy-blog-layout .blog-page .post-body { margin-bottom: 20px; padding: 0 10px; color: #fff; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.legacy-blog-layout .blog-page .post-body img { max-width: 100%; height: auto; }
.legacy-blog-layout .blog-page .blog-posts .buttons { margin: 0; padding: 0 10px; }
.legacy-blog-layout .blog-page .read-more { display: inline-block; border: none; background: #0d0255; padding: 10px 20px; font-size: 16px; line-height: normal; color: #fff; text-decoration: none; text-transform: none; transition: .3s; }
.legacy-blog-layout .blog-page .read-more:hover { background: #f8ef1d; color: #0d0255; text-decoration: none; }
.legacy-blog-layout .blog-category-filter { margin: 0 0 30px; padding: 20px; border: 1px solid #ddd; }
.legacy-blog-layout .blog-category-filter .title { font-size: 20px; margin-bottom: 12px; }
.legacy-blog-layout .blog-category-filter .list { margin: 12px 0 0; padding: 0; list-style: none; }
.legacy-blog-layout .blog-category-filter .year { margin-bottom: 8px; }
.legacy-blog-layout .blog-category-filter .number { display: block; }
.legacy-blog-layout .blog-category-filter .sublist { margin: 5px 0 5px 15px; padding: 0; list-style: none; }
.legacy-blog-layout .blog-category-filter a { color: #0d0255; }
.legacy-blog-layout .blog-category-filter a[aria-current="page"] { color: #1b8791; text-decoration: underline; }
@media (min-width: 1441px) {
    .legacy-blog-layout .blog-page .container { max-width: 1380px; }
}
@media (max-width: 992px) {
    .legacy-blog-layout .blog-page .container { max-width: 95%; }
}
@media (max-width: 991px) {
    .legacy-blog-layout .blog-page .blog-posts { gap: 16px; }
    .legacy-blog-layout .blog-page .blog-posts .post { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
}
@media (max-width: 767px) {
    .legacy-blog-layout .blog-page .blog-posts { display: block; }
    .legacy-blog-layout .blog-page .blog-posts .post { max-width: 100%; width: 100%; padding: 20px; margin-bottom: 18px; }
    .legacy-blog-layout .blog-page .post-title { font-size: 24px; line-height: 31px; padding: 0; margin-bottom: 14px; }
    .legacy-blog-layout .blog-page .post-body { padding: 0; font-size: 16px; line-height: 25px; }
    .legacy-blog-layout .blog-page .post-body p { text-align: left; }
    .legacy-blog-layout .blog-page .blog-posts .buttons { padding: 0; }
    .legacy-blog-layout .blog-page .read-more { margin-top: 5px; }
    .legacy-blog-layout .blog-page .topic-image { text-align: center; }
    .legacy-blog-layout .blog-page .topic-image img { height: auto; max-height: 350px; }
}
