/* Layout and colors follow the site's former design-1 grid. */
.pgafu-post-grid-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -15px; }
.pgafu-post-grid-main * { box-sizing: border-box; }
.pgafu-post-grid { min-width: 0; padding: 0 15px; margin-bottom: 30px; }
.pgafu-post-grid[hidden] { display: none !important; }
.pgafu-post-grid-content { background: #fff; text-align: center; }
.pgafu-post-image-bg { background: #f1f1f1; margin-bottom: 20px; line-height: 0; overflow: hidden; height: 200px; }
.pgafu-post-grid-main.pgafu-image-fit .pgafu-post-image-bg img { display: inline-block; height: 100%; width: 100% !important; object-fit: cover; object-position: top center; }
.pgafu-post-grid-main h2.pgafu-post-title { margin: 5px 0 !important; padding: 5px 15px !important; line-height: 24px !important; font-size: 20px !important; }
.pgafu-post-grid-main h2.pgafu-post-title a { color: #444; font-size: 20px !important; line-height: normal !important; text-decoration: none !important; border-bottom: 0 !important; }
.pgafu-post-date { padding: 5px 15px; }
.pgafu-post-date span { display: inline-block; margin-right: 10px; font-style: italic; font-size: 12px; }
.pgafu-post-date img { display: inline-block !important; margin-right: 5px; vertical-align: middle; box-shadow: none !important; }
.pgafu-post-date a { color: #555; }
.pgafu-post-categories { display: inline-block; padding: 4px 0; text-transform: uppercase; color: #666; }
.pgafu-post-categories a { display: inline-block; padding: 3px 8px; margin: 0 0 2px; background: #333; color: #fff !important; font-size: 10px; line-height: normal; text-decoration: none; }
.pgafu-post-categories a:nth-child(4n+1) { background: #1abc9c; }
.pgafu-post-categories a:nth-child(4n+2) { background: #3aadff; }
.pgafu-post-categories a:nth-child(4n+3) { background: #9b59b6; }
.pgafu-post-categories a:nth-child(4n+4) { background: #3498db; }
.pgafu-post-categories a:hover, .pgafu-post-categories a:focus { background: #333; }
.pgafu-filter { list-style: none !important; text-align: center; }
.pgafu-filter li { display: inline-block; margin: 0 0 4px !important; }
.pgafu-filter li button { display: block; padding: 8px 15px; border: 0; background: #e1e1e1 !important; color: #000 !important; font-size: 15px; font-weight: 400 !important; line-height: normal; cursor: pointer; }
.pgafu-filter li.pgafu-active-filtr button { background: #525252 !important; color: #fff !important; }
.pgafu-post-pagination { clear: both; width: 100%; padding: 0 15px 10px; box-sizing: border-box; text-align: center; }
.pgafu-post-pagination a, .pgafu-post-pagination .current { display: inline-block; padding: 7px 10px; border: 1px solid #333; background: #333; color: #fff !important; font-size: 14px; line-height: normal; text-decoration: none !important; text-transform: uppercase; }
.pgafu-post-pagination .current, .pgafu-post-pagination a:hover, .pgafu-post-pagination a:focus { background: transparent; color: #333 !important; }
@media (max-width: 640px) { .pgafu-post-grid-main { grid-template-columns: 1fr; } }
