/* Native blog styling, based on the former Elementor layouts. */
body.joa-blog-theme {
	margin: 0;
	background: #fff;
	color: #0c0c0c;
	font-family: "Merriweather Sans", Arial, sans-serif;
}
.joa-blog-theme *, .joa-blog-theme *::before, .joa-blog-theme *::after { box-sizing: border-box; }
.joa-blog-theme a { color: inherit; }
.joa-blog-theme img { max-width: 100%; }
.joa-blog-theme :focus-visible { outline: 2px solid #54595f; outline-offset: 3px; }
.joa-screen-reader-text, .joa-skip-link:not(:focus) {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.joa-skip-link:focus { position: absolute; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: #fff; }

/* Header and menu */
.joa-site-header { height: 129px; padding-top: 14px; background: #fff; }
.joa-site-header__inner {
	position: relative; display: flex; align-items: center; justify-content: space-between;
	max-width: 1200px; height: 115px; margin: 0 auto; padding: 0 32px;
}
.joa-site-header__brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.joa-site-header__brand img { display: block; width: 149px; height: 95px; object-fit: contain; }
.joa-nav { margin-right: 18px; }
.joa-nav__list, .joa-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.joa-nav__list { display: flex; align-items: center; }
.joa-nav__list > li { position: relative; }
.joa-nav__list > li > a {
	position: relative; display: flex; align-items: center; min-height: 46px;
	padding: 13px 20px; color: #4a4a4a; font-size: 15px; font-weight: 500;
	line-height: 20px; text-decoration: none; text-transform: uppercase;
}
.joa-nav__list > li > a:hover::after, .joa-nav__list > li.current-menu-item > a::after,
.joa-nav__list > li.current_page_item > a::after {
	position: absolute; right: 20px; bottom: 0; left: 20px; height: 3px;
	background: #54595f; content: "";
}
.joa-nav__list > li.menu-item-has-children > a::before {
	order: 2; width: 0; height: 0; margin-left: 10px;
	border: 4px solid transparent; border-top-color: #54595f; transform: translateY(2px); content: "";
}
.joa-nav__list .sub-menu {
	position: absolute; z-index: 20; top: 100%; left: 0; width: 220px;
	display: none; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.joa-nav__list li:hover > .sub-menu, .joa-nav__list li:focus-within > .sub-menu { display: block; }
.joa-nav__list .sub-menu a {
	display: block; padding: 11px 14px; color: #4a4a4a; font-size: 13px;
	line-height: 1.35; text-decoration: none;
}
.joa-nav__list .sub-menu a:hover, .joa-nav__list .sub-menu a:focus { background: #f2f2f2; }
.joa-nav-toggle { display: none; }

/* Listing and archive views */
.joa-blog-main--listing {
	width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 54px 60px 160px 0;
}
.joa-post-list { display: grid; gap: 40px; }
.joa-card { display: flex; min-width: 0; }
.joa-card__thumb { flex: 0 0 26%; margin-right: 50px; text-decoration: none; }
.joa-card__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.joa-card__text { flex: 1; min-width: 0; }
.joa-meta {
	color: #b1a8a8; font-size: 11px; font-weight: 700; letter-spacing: .22em;
	line-height: 1.9; text-transform: uppercase;
}
.joa-meta a { color: inherit; text-decoration: none; }
.joa-meta a:hover { color: #54595f; text-decoration: underline; }
.joa-meta--index { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.joa-meta--index > * { display: inline-flex; align-items: center; }
.joa-meta--index > .joa-meta__categories { display: inline; min-width: 0; }
.joa-meta--index > * + *::before { content: "—"; color: #d6d0d0; margin: 0 14px; }
.joa-card__title {
	margin: 0 0 20px; color: #000; font-size: 24px; font-weight: 500; line-height: 1.15;
}
.joa-blog-theme .joa-card__title { font-size: 24px; }
.joa-card__title a { color: inherit; text-decoration: none; }
.joa-card__title a:hover { color: #54595f; }
.joa-card__excerpt {
	margin: 0 0 12px; color: #777; font-family: Verdana, sans-serif;
	font-size: 16px; font-weight: 400; line-height: 1.8;
}
.joa-card__read-more {
	color: #54595f !important; font-family: Verdana, sans-serif; font-size: 12px;
	font-weight: 500; line-height: 1.15; text-decoration: none;
}
.joa-card__read-more:hover { text-decoration: underline; }
.joa-pagination {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: 0 33px; margin-top: 40px; color: #54595f; font-size: 16px; line-height: 1.15;
}
.joa-pagination a, .joa-pagination span { color: inherit; text-decoration: none; }
.joa-pagination a:hover { color: #232425; text-decoration: underline; }
.joa-pagination__current { font-weight: 500; }
.joa-pagination__disabled { opacity: .7; }
.joa-archive-heading { margin: 0 0 42px; }
.joa-archive-heading > a { color: #b1a8a8; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-decoration: none; text-transform: uppercase; }
.joa-archive-heading h1 { margin: 12px 0 0; color: #000; font-size: 28px; font-weight: 600; line-height: 1.3; }
.joa-archive-heading__description { max-width: 780px; margin-top: 16px; color: #7a7a7a; font: 14px/1.7 Verdana, sans-serif; }
.joa-archive-heading__description p { margin: 0; }
.joa-archive-heading .search-form { display: flex; gap: 8px; max-width: 460px; margin-top: 20px; }
.joa-archive-heading .search-form label { flex: 1; }
.joa-archive-heading .search-field { width: 100%; padding: 10px; border: 1px solid #ccc; }
.joa-archive-heading .search-submit { padding: 10px 16px; border: 0; background: #54595f; color: #fff; cursor: pointer; }
.joa-empty { color: #7a7a7a; font: 14px/1.7 Verdana, sans-serif; }

/* Single post */
.joa-blog-main--single { max-width: 1120px; width: calc(100% - 40px); margin: 0 auto; }
.joa-single__hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 267px; }
.joa-single__hero--no-image { grid-template-columns: 1fr; }
.joa-single__intro { padding-left: 13px; }
.joa-single__intro h1 {
	margin: 50px 0 50px; color: #000; font-size: 28px; font-weight: 600; line-height: 1;
}
.joa-meta--single { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.joa-single__featured { align-self: start; margin: 24px 0 0 10px; }
.joa-single__featured img { display: block; width: auto; max-width: 100%; height: 220px; margin: 0 auto; object-fit: cover; }
.joa-entry-content {
	margin-top: 40px; padding-top: 18px; border-top: 2px solid #ddd;
	color: #0c0c0c; font-family: Verdana, sans-serif; font-size: 16px; line-height: 2.1;
}
.joa-entry-content p, .joa-entry-content li { font-size: inherit; line-height: inherit; }
.joa-entry-content p { margin: 1em 0; }
.joa-entry-content h2, .joa-entry-content h3, .joa-entry-content h4 { font-family: Verdana, sans-serif; color: #0c0c0c; }
.joa-entry-content h2, .joa-entry-content h3, .joa-entry-content h4 { line-height: inherit; }
.joa-entry-content a { color: #1e73be; }
.joa-entry-content img, .joa-entry-content iframe, .joa-entry-content video { max-width: 100%; }

/* Apply the same quote treatment to every blog post. */
.joa-blog-theme .joa-entry-content blockquote {
	border-left: 0 !important;
	margin-left: 2% !important;
	margin-right: 2% !important;
	padding-top: 1% !important;
	padding-left: 2% !important;
	padding-right: 2% !important;
	font-size: 15px !important;
}
.joa-blog-theme .joa-entry-content .wp-block-uagb-blockquote .uagb-blockquote__content {
	font-size: 15px !important;
}
.joa-blog-theme .joa-entry-content .wp-block-uagb-blockquote .uagb-blockquote__tweet-button {
	display: none !important;
}
.joa-entry-pages { margin: 25px 0; }

/* Footer */
.joa-site-footer { margin-top: 28px; background: #eaeaea; color: #4a4a4a; }
.joa-blog-main--single + .joa-site-footer { margin-top: 40px; }
.joa-site-footer__inner {
	display: grid; grid-template-columns: 250px 480px 200px; gap: 25px; align-items: center;
	max-width: 980px; min-height: 111px; margin: 0 auto;
}
.joa-site-footer__credit { font-size: 15px; font-style: italic; }
.joa-site-footer__credit p { margin: 0 0 10px; }
.joa-site-footer__credit p:last-child { margin: 0; font-size: 13px; }
.joa-site-footer__credit a { color: inherit; text-decoration: none; }
.joa-site-footer__credit a:hover { text-decoration: underline; }
.joa-site-footer__note {
	margin: 0; padding-left: 15px; border-left: 3px solid #888;
	font-size: 13px; font-style: italic; line-height: 1.2;
}
.joa-site-footer__social { display: flex; justify-content: space-around; align-items: center; }
.joa-site-footer__social a { display: inline-flex; width: 24px; height: 24px; color: #54595f; }
.joa-site-footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.joa-site-footer__social a:hover { color: #232425; }
.joa-blog-main--error { max-width: 1120px; min-height: 55vh; margin: 0 auto; padding: 80px 20px; }
.joa-blog-main--error h1 { margin: 0 0 15px; }
.joa-error-code { margin: 0 0 8px; color: #b1a8a8; font-size: 12px; font-weight: 700; letter-spacing: .22em; }

@media (max-width: 1024px) {
	.joa-blog-main--listing { padding-right: 24px; }
	.joa-site-footer__inner { grid-template-columns: 1fr 1.7fr .8fr; width: calc(100% - 44px); }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.joa-blog-main--listing { padding-left: 20px; }
	.joa-card__thumb { flex-basis: 30%; }
	.joa-blog-theme .joa-card__title { font-size: 22px; }
	.joa-card__excerpt { font-size: 14px; }
	.joa-nav__list > li > a { font-size: 14px; }
}
@media (max-width: 767px) {
	.joa-site-header { height: 98px; padding-top: 4px; }
	.joa-site-header__inner { height: 94px; padding: 0 22px; }
	.joa-site-header__brand { margin-left: 23px; }
	.joa-site-header__brand img { width: 116px; height: 74px; }
	.joa-nav-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 3px;
		width: 24px; height: 24px; padding: 5px; border: 0; border-radius: 2px;
		background: #f3f3f3; cursor: pointer;
	}
	.joa-nav-toggle span { display: block; width: 14px; height: 2px; background: #54595f; }
	.joa-nav { display: none; position: absolute; z-index: 50; top: 94px; left: 0; width: 100%; margin: 0; padding: 8px 22px 18px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
	.joa-nav.is-open { display: block; }
	.joa-nav__list { display: block; }
	.joa-nav__list > li > a { min-height: 40px; padding: 10px 12px; font-size: 14px; }
	.joa-nav__list .sub-menu { display: block; position: static; width: auto; padding-left: 15px; box-shadow: none; }
	.joa-nav__list .sub-menu a { font-size: 13px; }
	.joa-blog-main--listing { width: calc(100% - 44px); padding: 22px 0 46px; }
	.joa-card__thumb { flex-basis: 30%; margin-right: 18px; }
	.joa-meta { font-size: 10px; letter-spacing: .16em; }
	.joa-meta--index > * + *::before { margin: 0 8px; }
	.joa-blog-theme .joa-card__title { margin-bottom: 10px; font-size: 18px; }
	.joa-card__excerpt { font-size: 13px; }
	.joa-pagination { column-gap: 23px; }
	.joa-archive-heading { margin-bottom: 30px; }
	.joa-archive-heading h1 { font-size: 22px; }
	.joa-blog-main--single { width: calc(100% - 20px); }
	.joa-single__hero { display: block; min-height: 0; }
	.joa-single__intro { padding-left: 6px; }
	.joa-single__intro h1 { margin: 50px 0 50px; font-size: 33px; }
	.joa-meta--single { margin-bottom: 28px; }
	.joa-single__featured { margin: 38px 0 0; }
	.joa-single__featured img { width: auto; max-width: 100%; height: 220px; }
	.joa-entry-content { margin-top: 51px; }
	.joa-site-footer { margin-top: 8px; }
	.joa-blog-main--single + .joa-site-footer { margin-top: 18px; }
	.joa-site-footer__inner { display: flex; flex-direction: column; align-items: stretch; gap: 18px; width: 100%; min-height: 232px; padding: 17px 22px 14px; }
	.joa-site-footer__credit { font-size: 15px; }
	.joa-site-footer__note { font-size: 13px; }
	.joa-site-footer__social { justify-content: center; gap: 40px; }
}
