/*
 * Blog: single post, archives, search. Uses the site palette (taupe #9D897B,
 * blue #027FA3, Montserrat) and the card style of the Blog page.
 */

/* Page head ------------------------------------------------------------- */

.ho-pagehead {
	padding: 44px 10px 48px;
	background-color: var(--ho-taupe);
	color: var(--ho-white);
}

.ho-pagehead__inner {
	max-width: var(--ho-container);
	margin: 0 auto;
	padding: 0 10px;
}

.ho .ho-crumbs {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.ho .ho-crumbs a {
	font-size: inherit;
	color: var(--ho-white);
	text-decoration: none;
}

.ho .ho-crumbs a:hover {
	text-decoration: underline;
}

.ho .ho-pagehead__label {
	margin: 18px 0 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.ho .ho-pagehead__title {
	max-width: 920px;
	margin: 12px 0 16px;
	font-size: 38px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ho-white);
}

.ho-pagehead--archive .ho-pagehead__title {
	margin-top: 6px;
	font-size: 40px;
}

.ho-pagehead__desc {
	max-width: 760px;
	margin-bottom: 14px;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.ho-pagehead__desc p {
	margin: 0 0 0.6em;
}

.ho .ho-pagehead__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}

.ho-pagehead__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.ho-pagehead__item .ho-icon {
	font-size: 14px;
	opacity: 0.85;
}

.ho .ho-pagehead__cat {
	padding: 3px 13px;
	font-size: 14px;
	color: var(--ho-white);
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 30px;
	transition: background-color 0.2s;
}

.ho .ho-pagehead__cat:hover {
	color: var(--ho-taupe);
	background-color: var(--ho-white);
}

/* Layout ---------------------------------------------------------------- */

.ho-blog {
	padding: 50px 10px 70px;
}

.ho-blog__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
	max-width: var(--ho-container);
	margin: 0 auto;
	padding: 0 10px;
}

.ho-blog__wide {
	max-width: var(--ho-container);
	margin: 0 auto;
	padding: 0 10px;
}

/* Article --------------------------------------------------------------- */

.ho-article {
	padding: 40px 48px 44px;
	background-color: var(--ho-white);
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.ho-article__media {
	margin: -40px -48px 34px;
	overflow: hidden;
	border-radius: 6px 6px 0 0;
}

.ho-article__img {
	display: block;
	width: 100%;
	height: auto;
}

.ho-article__content {
	font-size: 18px;
	line-height: 1.75;
	color: #2a2a2a;
	overflow-wrap: break-word;
}

.ho-article__content > :first-child {
	margin-top: 0;
}

.ho-article__content p {
	margin: 0 0 1.1em;
}

.ho-article__content h2,
.ho-article__content h3,
.ho-article__content h4,
.ho-article__content h5,
.ho-article__content h6 {
	margin: 1.6em 0 0.6em;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ho-text);
}

.ho-article__content h2 {
	font-size: 26px;
}

.ho-article__content h3 {
	font-size: 21px;
}

.ho-article__content h4 {
	font-size: 18px;
}

.ho-article__content strong,
.ho-article__content b {
	font-weight: 600;
	color: var(--ho-text);
}

/* Links read at text size (the Elementor kit enlarged every link to 19px). */
.ho .ho-article__content a {
	font-size: inherit;
	color: var(--ho-blue);
	text-decoration: none;
	text-underline-offset: 3px;
}

.ho .ho-article__content a:hover {
	text-decoration: underline;
}

.ho-article__content ul,
.ho-article__content ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.ho-article__content li {
	margin-bottom: 0.4em;
}

.ho-article__content li::marker {
	color: var(--ho-taupe);
}

.ho-article__content img {
	height: auto;
	border-radius: 4px;
}

.ho-article__content figure,
.ho-article__content .wp-caption {
	max-width: 100%;
	margin: 1.6em 0;
}

.ho-article__content figcaption,
.ho-article__content .wp-caption-text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	color: #777;
}

.ho-article__content blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	background-color: #f7f4f2;
	border-left: 4px solid var(--ho-taupe);
	border-radius: 0 4px 4px 0;
}

.ho-article__content blockquote p:last-child {
	margin-bottom: 0;
}

.ho-article__content table {
	font-size: 16px;
}

.ho-article__content iframe {
	max-width: 100%;
}

/* Tags, share, previous / next */

.ho-article__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid #ece7e3;
}

.ho-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ho .ho-chip {
	padding: 5px 13px;
	font-size: 14px;
	line-height: 1.4;
	color: #6f5f53;
	text-decoration: none;
	background-color: #f4f1ee;
	border-radius: 30px;
	transition: all 0.2s;
}

.ho .ho-chip:hover {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
}

.ho-share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ho-share__label {
	margin-right: 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f5f53;
}

.ho .ho-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 16px;
	color: var(--ho-taupe);
	background-color: #f4f1ee;
	border-radius: 50%;
	transition: all 0.2s;
}

.ho .ho-share__link:hover {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
}

.ho-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 28px;
}

.ho .ho-postnav__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	text-decoration: none;
	border: 1px solid #ece7e3;
	border-radius: 6px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ho .ho-postnav__link:hover {
	border-color: var(--ho-taupe);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ho-postnav__link--next {
	grid-column: 2;
	text-align: right;
}

.ho-postnav__dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ho-taupe);
}

.ho-postnav__link--next .ho-postnav__dir {
	justify-content: flex-end;
}

.ho-postnav__dir .ho-icon {
	font-size: 11px;
}

.ho-postnav__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ho-text);
}

/* Sidebar --------------------------------------------------------------- */

.ho-sidebar {
	position: sticky;
	top: calc(var(--ho-admin-bar) + 122px);
}

.ho-widget {
	margin-bottom: 24px;
	padding: 24px;
	background-color: var(--ho-white);
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.ho-widget:last-child {
	margin-bottom: 0;
}

.ho .ho-widget__title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ho-text);
}

.ho-widget__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	background-color: var(--ho-taupe);
	border-radius: 2px;
}

.ho-mini-posts,
.ho-catlist,
.ho-widget__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ho-mini-posts li + li {
	margin-top: 16px;
}

.ho .ho-mini-post {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	text-decoration: none;
}

.ho-mini-post__img {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
}

.ho-mini-post__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ho-mini-post__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ho-text);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	transition: color 0.2s;
}

.ho-mini-post:hover .ho-mini-post__title {
	color: var(--ho-taupe);
}

.ho-mini-post__date {
	font-size: 13px;
	line-height: 1.3;
	color: #888;
}

.ho .ho-catlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	font-size: 15px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f0ece8;
	transition: color 0.2s;
}

.ho-catlist li:last-child a {
	border-bottom: 0;
}

.ho .ho-catlist a:hover,
.ho .ho-catlist .is-current a {
	color: var(--ho-taupe);
}

.ho-catlist .is-current a {
	font-weight: 600;
}

.ho-catlist__count {
	flex-shrink: 0;
	min-width: 30px;
	padding: 1px 9px;
	font-size: 12px;
	text-align: center;
	color: #6f5f53;
	background-color: #f4f1ee;
	border-radius: 20px;
}

.ho-widget--cta {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
}

.ho .ho-widget__eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.ho .ho-widget__lead {
	margin: 6px 0 18px;
	font-size: 22px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ho-white);
}

.ho-widget__contact li + li {
	margin-top: 8px;
}

.ho .ho-widget__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: var(--ho-white);
	text-decoration: none;
	word-break: break-all;
}

.ho .ho-widget__contact a:hover {
	text-decoration: underline;
}

.ho .ho-widget__btn {
	display: block;
	margin-top: 20px;
}

/* Related posts --------------------------------------------------------- */

.ho-related {
	max-width: var(--ho-container);
	margin: 60px auto 0;
	padding: 0 10px;
}

.ho .ho-related__title {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ho-text);
}

/* Cards (same as the Blog page) ----------------------------------------- */

.ho-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 39px;
}

.ho-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: var(--ho-white);
	border-radius: 3px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.25s, transform 0.25s;
}

.ho-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	transform: translateY(-3px);
}

.ho-card__media {
	display: block;
	aspect-ratio: 347 / 229;
	overflow: hidden;
	background-color: #e9e4e0;
}

.ho-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.ho-card:hover .ho-card__img {
	transform: scale(1.04);
}

.ho-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 30px 0;
}

.ho .ho-card__title {
	margin: 0 0 25px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
}

.ho .ho-card__title a {
	font-size: inherit;
	color: var(--ho-text);
	text-decoration: none;
}

.ho .ho-card__title a:hover {
	color: var(--ho-taupe);
}

.ho .ho-card__excerpt {
	margin: 0 0 25px;
	font-size: 19px;
	line-height: 1.4;
	color: #777;
}

.ho .ho-card__more {
	margin: auto 0 20px;
	align-self: flex-start;
	font-size: 12px;
	font-weight: 500;
	line-height: 26.6px;
	text-transform: uppercase;
	color: var(--ho-taupe);
	text-decoration: none;
}

.ho .ho-card__more:hover {
	text-decoration: underline;
}

/* Pagination ------------------------------------------------------------ */

.ho-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}

.ho .ho-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	font-size: 16px;
	color: var(--ho-text);
	text-decoration: none;
	background-color: var(--ho-white);
	border-radius: 21px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
	transition: all 0.2s;
}

.ho .ho-pagination a.page-numbers:hover {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
}

.ho .ho-pagination .current {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
}

.ho .ho-pagination .dots {
	background: transparent;
	box-shadow: none;
}

/* Empty state / search form --------------------------------------------- */

.ho-empty {
	max-width: 560px;
	margin: 0 auto;
	padding: 40px 30px;
	text-align: center;
	background-color: var(--ho-white);
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.ho-empty .search-form {
	display: flex;
	gap: 8px;
	margin: 20px 0;
}

.ho-empty .search-form label {
	flex: 1;
}

.ho-empty .search-submit {
	color: var(--ho-white);
	background-color: var(--ho-taupe);
	border-color: var(--ho-taupe);
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1024px) {
	.ho-blog__inner {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 30px;
	}

	.ho-article {
		padding: 32px 34px 36px;
	}

	.ho-article__media {
		margin: -32px -34px 28px;
	}

	.ho-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ho-blog__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.ho-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.ho-pagehead {
		padding: 28px 10px 32px;
	}

	.ho-pagehead__inner,
	.ho-blog__inner,
	.ho-blog__wide,
	.ho-related {
		padding: 0;
	}

	.ho .ho-pagehead__title,
	.ho-pagehead--archive .ho-pagehead__title {
		font-size: 26px;
	}

	.ho .ho-pagehead__meta {
		gap: 8px 16px;
		font-size: 14px;
	}

	.ho-blog {
		padding: 24px 10px 50px;
	}

	.ho-article {
		padding: 22px 18px 26px;
	}

	.ho-article__media {
		margin: -22px -18px 22px;
	}

	.ho-article__content {
		font-size: 17px;
		line-height: 1.7;
	}

	.ho-article__content h2 {
		font-size: 22px;
	}

	.ho-article__content h3 {
		font-size: 19px;
	}

	.ho-postnav {
		grid-template-columns: 1fr;
	}

	.ho-postnav__link--next {
		grid-column: auto;
	}

	.ho-related {
		margin-top: 40px;
	}

	.ho .ho-related__title {
		font-size: 24px;
	}

	.ho-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}
