/*!
 * BOATPRO — journal styles
 * Part of the BOATPRO WordPress theme.
 * Author: Martin Žunec
 *
 * Loaded on the blog, archives, search results and single posts, on top of
 * base.css and theme.css.
 */

/* Archive description under the heading. */
.archive-description{max-width:760px;color:rgba(255,255,255,.82)}
.archive-description p{margin:0}

/* First post of a listing gets a wider, more editorial treatment. */
.post-grid > .post-card:first-child{grid-column:span 2;flex-direction:row;align-items:stretch}
.post-grid > .post-card:first-child .post-card-media{flex:0 0 52%;aspect-ratio:auto;min-height:280px}
.post-grid > .post-card:first-child .post-card-body{padding:30px;justify-content:center}
.post-grid > .post-card:first-child .post-card-title{font-size:1.65rem;letter-spacing:-.03em}
.post-grid > .post-card:first-child .post-card-excerpt{font-size:1rem}

/* Post typography extras. */
.post-lead{font-size:1.08rem;color:rgba(255,255,255,.85);max-width:760px}
.post-hero .post-lead{color:rgba(255,255,255,.85)}
.single .entry-content>p:first-of-type{font-size:1.08rem}

/* Reading meta, author and tags. */
.post-author{display:flex;align-items:center;gap:12px;margin-top:26px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}
.post-author img{border-radius:50%}
.post-author strong{display:block;color:var(--navy)}
.post-author span{font-size:.85rem;color:var(--muted)}

/* Sidebar search and small widgets. */
.blog-sidebar .search-form{flex-direction:column}
.blog-sidebar .search-submit{width:100%}
.blog-sidebar .widget_tag_cloud a{display:inline-block;margin:0 6px 6px 0}

/* Related posts at the end of an article. */
.related-posts{margin-top:46px}
.related-posts h2{font-size:1.25rem;color:var(--navy)}
.related-posts .post-grid{grid-template-columns:repeat(3,1fr);gap:18px}
.related-posts .post-card:first-child{grid-column:auto;flex-direction:column}
.related-posts .post-card:first-child .post-card-media{flex:none;aspect-ratio:16/10;min-height:0}

@media (max-width:920px){
	.post-grid{grid-template-columns:1fr}
	.post-grid > .post-card:first-child{grid-column:auto;flex-direction:column}
	.post-grid > .post-card:first-child .post-card-media{flex:none;aspect-ratio:16/10;min-height:0}
	.related-posts .post-grid{grid-template-columns:1fr}
}