/*
 Theme Name:   Bloghash Child
 Theme URI:    https://hotelierscommunity.com/
 Description:  Child theme for Hotelier Community SEO, author boxes, TOC, and related posts.
 Author:       Hotelier Community
 Template:     bloghash
 Version:      1.0.6
 License:      GNU General Public License v2 or later
 Text Domain:  bloghash-child
*/

.bloghash-logo {
	width: 180px;
	min-height: 45px;
}

.bloghash-logo img,
.custom-logo {
	display: block;
	width: 180px;
	height: 45px;
	aspect-ratio: 180 / 45;
}

.author-avatar,
.posted-by .author-avatar,
img.avatar {
	display: inline-block;
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	aspect-ratio: 1 / 1;
	vertical-align: middle;
}

.home .hc-feed-list .post-thumb {
	aspect-ratio: 16 / 10;
}

#ticker,
#hero,
.bloghash-horizontal-slider {
	display: none !important;
}

.post-category .cat-links a,
.post-category a[rel="category"],
.cat-links a {
	background-color: #002050;
	color: #fff;
}

.post-category .cat-links a:hover,
.post-category .cat-links a:focus,
.post-category a[rel="category"]:hover,
.post-category a[rel="category"]:focus,
.cat-links a:hover,
.cat-links a:focus {
	background-color: #002050;
	color: #fff;
}

.hc-toc {
	background: #f6f8fb;
	border: 1px solid #e4e9f0;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin: 0 0 1.75rem;
}

.hc-toc h2 {
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
}

.hc-toc ol {
	margin: 0;
	padding-left: 1.2rem;
}

.hc-author-box {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	border-top: 1px solid #e4e9f0;
	margin-top: 2rem;
	padding-top: 1.5rem;
}

.hc-author-box img {
	border-radius: 50%;
}

.hc-author-box h2 {
	font-size: 1.1rem;
	margin: 0 0 0.35rem;
}

.hc-related {
	margin-top: 2rem;
}

.hc-related h2 {
	font-size: 1.2rem;
}

.home .page-header,
.home .bloghash-page-header,
.home .bloghash-single-title {
	display: none;
}

.hc-masthead {
	padding: 0 0 2.4rem;
	margin: 0 0 2.4rem;
	border-bottom: 1px solid #e6ebf2;
}

.hc-kicker,
.hc-topics a,
.hc-chip,
.hc-feed-all {
	font-family: "Inter Tight", Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.5;
}

.hc-kicker {
	margin: 0 0 0.8rem;
	color: #094d85;
}

.hc-masthead h1 {
	margin: 0 0 1.2rem;
}

.hc-dek {
	max-width: 62rem;
	margin: 0 0 2rem;
}

.hc-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.2rem;
}

.hc-topics a,
.hc-chip {
	display: inline-flex;
	align-items: center;
	padding: 1rem 1.6rem;
	border: 1px solid #d5deea;
	border-radius: 999px;
	background: #fff;
	color: #094d85;
	text-decoration: none;
}

.content-area .hc-topics a:hover,
.content-area .hc-topics a:focus,
.content-area .hc-topics a:focus-visible,
.content-area .hc-topics a:active,
.hc-topics a:hover,
.hc-topics a:focus,
.hc-topics a:focus-visible,
.hc-chip:hover,
.hc-chip:focus-visible {
	background: #094d85;
	border-color: #094d85;
	color: #fff !important;
	text-decoration: none;
}

.hc-feed-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.8rem 1.6rem;
	margin: 0 0 1.6rem;
}

.hc-feed-head h2 {
	margin: 0;
	font-size: 2.4rem;
	line-height: 1.4;
}

.hc-feed-all {
	color: #094d85;
	text-decoration: none;
}

.hc-feed-all:hover,
.hc-feed-all:focus-visible {
	text-decoration: underline;
}

.hc-lead {
	display: grid;
	gap: 1.15rem;
	margin: 0 0 1.75rem;
	padding: 0 0 1.75rem;
	border-bottom: 1px solid #e6ebf2;
}

.hc-lead-media {
	display: block;
	overflow: hidden;
	border-radius: 16px;
}

.hc-lead-media img,
.hc-lead-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hc-lead-title {
	margin: 0.8rem 0 1rem;
}

.hc-lead-title a {
	color: inherit;
	text-decoration: none;
}

.hc-lead-title a:hover,
.hc-lead-title a:focus-visible {
	color: #094d85;
}

.hc-lead-excerpt {
	margin: 0 0 1rem;
}

.hc-lead-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	margin: 0;
}

.home .hc-feed-list .bloghash-article {
	margin-bottom: 0;
}

.home .hc-feed-list .post-thumb {
	overflow: hidden;
	border-radius: 14px;
}

.home .hc-feed-list .post-thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.home .hc-feed-list .entry-title a {
	text-decoration: none;
}

.home .hc-feed-list .entry-title a:hover,
.home .hc-feed-list .entry-title a:focus-visible {
	color: #094d85;
}

@media (min-width: 768px) {
	.hc-masthead {
		padding-bottom: 2rem;
		margin-bottom: 2rem;
	}

	.hc-lead {
		grid-template-columns: 1.12fr 0.88fr;
		align-items: center;
		gap: 1.75rem;
		margin-bottom: 2rem;
		padding-bottom: 2rem;
	}
}

@media (max-width: 767px) {
	.hc-topics {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.hc-topics::-webkit-scrollbar {
		display: none;
	}

	.hc-topics a {
		flex: 0 0 auto;
	}

	.home .hc-feed-list .bloghash-blog-entry-wrapper {
		display: block;
	}

	.home .hc-feed-list .post-thumb {
		margin-bottom: 0.85rem;
	}
}

[data-darkmode="dark"] .hc-kicker,
[data-darkmode="dark"] .hc-feed-all,
[data-darkmode="dark"] .hc-lead-title a:hover {
	color: #8eb8e0;
}

[data-darkmode="dark"] .hc-dek,
[data-darkmode="dark"] .hc-lead-excerpt {
	color: #c5ccd6;
}

[data-darkmode="dark"] .hc-masthead,
[data-darkmode="dark"] .hc-lead {
	border-bottom-color: #2d3744;
}

[data-darkmode="dark"] .hc-topics a,
[data-darkmode="dark"] .hc-chip {
	background: transparent;
	border-color: #3a4a5c;
	color: #8eb8e0;
}

[data-darkmode="dark"] .hc-topics a:hover,
[data-darkmode="dark"] .hc-chip:hover {
	background: #094d85;
	border-color: #094d85;
	color: #fff;
}

.nav-links h2,
.posts-navigation h2,
.post-navigation h2.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
