/* ==========================================================================
   Intelligence Blog Listing — hostoffers-core
   ========================================================================== */

/* --- Layout ---------------------------------------------------------------- */
.ho-intel-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 16px 48px;
}

/* --- Header --------------------------------------------------------------- */
.ho-intel-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
	margin-bottom: 48px;
}

.ho-intel-header__label {
	display: inline-block;
	background: rgba(0, 51, 102, 0.1);
	color: #003366;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 9999px;
	margin-bottom: 16px;
}

.ho-intel-header__title {
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 48px;
	font-weight: 800;
	color: var(--ho-navy, #003366);
	margin: 0 0 16px;
	line-height: 1;
}

.ho-intel-header__subtitle {
	color: #64748b;
	font-size: 16px;
	max-width: 576px;
	margin: 0;
	line-height: 1.5;
}

/* --- Controls (search + sort) --------------------------------------------- */
.ho-intel-controls {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-shrink: 0;
}

.ho-intel-search-wrap {
	position: relative;
	width: 320px;
}

.ho-intel-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
	width: 20px;
	height: 20px;
	z-index: 1;
}

.ho-intel-search-input {
	width: 100%;
	padding: 16px 16px 16px 48px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	font-size: 16px !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.ho-intel-search-input:focus {
	outline: none;
	border-color: var(--ho-navy, #003366);
	box-shadow: 0 0 0 2px #003366;
}

.ho-intel-sort-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
}

.ho-intel-sort-select {
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
	min-width: 140px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	font-weight: 700;
	color: #003366;
}

/* --- Quiz Recommendation Banner ------------------------------------------- */
.ho-intel-quiz-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to right, var(--ho-navy, #003366) 0%, #004D99 100%);
	border-radius: 24px;
	padding: 24px;
	margin-bottom: 48px;
	gap: 24px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.ho-intel-quiz-banner__left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ho-intel-quiz-banner__icon {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #00A859;
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgba(0, 168, 89, 0.2);
}

.ho-intel-quiz-banner__title {
	color: #fff;
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 4px;
}

.ho-intel-quiz-banner__text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	margin: 0;
}

.ho-intel-quiz-banner__btn {
	flex-shrink: 0;
	background: var(--ho-green, #00A859);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
}

.ho-intel-quiz-banner__btn:hover {
	background: #009340;
}

/* --- Featured Post -------------------------------------------------------- */
.ho-intel-featured {
	display: flex;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	margin-bottom: 64px;
}

.ho-intel-featured__img-link {
	flex: 0 0 50%;
	position: relative;
	display: block;
}

.ho-intel-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ho-intel-featured__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--ho-navy, #003366);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
}

.ho-intel-featured__body {
	flex: 1;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ho-intel-featured__title {
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 30px;
	font-weight: 800;
	color: var(--ho-navy, #003366);
	margin: 0 0 16px;
	line-height: 1.25;
}

.ho-intel-featured__title a {
	color: inherit;
	text-decoration: none;
}

.ho-intel-featured__title a:hover {
	color: var(--ho-green, #00A859);
}

.ho-intel-featured__excerpt {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 24px;
}

/* --- Category Pills ------------------------------------------------------- */
.ho-intel-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 48px;
}

.ho-intel-pill {
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.ho-intel-pill:hover {
	border-color: var(--ho-navy, #003366);
	color: var(--ho-navy, #003366);
}

.ho-intel-pill--active {
	background: var(--ho-navy, #003366);
	color: #fff;
	border-color: var(--ho-navy, #003366);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* --- Main + Sidebar Layout ------------------------------------------------ */
.ho-intel-layout {
	display: flex;
	gap: 48px;
	align-items: flex-start;
}

.ho-intel-main {
	flex: 1;
	min-width: 0;
}

.ho-intel-sidebar {
	width: 320px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* --- Card Grid ------------------------------------------------------------ */
.ho-intel-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin-bottom: 40px;
}

.ho-intel-card {
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	transition: all 0.25s ease;
}

.ho-intel-card:hover {
	box-shadow: 0 25px 50px -12px rgba(0, 168, 89, 0.3);
	border-color: #00A859;
	transform: scale(1.02);
}

.ho-intel-card__img-link {
	display: block;
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
}

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

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

.ho-intel-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--ho-navy, #003366);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ho-intel-card__badge:hover {
	background: var(--ho-green, #00A859);
}

.ho-intel-card__body {
	padding: 32px;
}

.ho-intel-card__meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 16px;
	align-items: center;
}

.ho-intel-card__author,
.ho-intel-card__date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ho-intel-card__title {
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 20px;
	font-weight: 800;
	color: var(--ho-navy, #003366);
	margin: 0 0 16px;
	line-height: 1.35;
}

.ho-intel-card__title a {
	color: inherit;
	text-decoration: none;
}

.ho-intel-card__title a:hover {
	color: var(--ho-green, #00A859);
}

.ho-intel-card__excerpt {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 24px;
}

.ho-intel-card__read {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ho-navy, #003366);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ho-intel-card__read:hover {
	gap: 12px;
}

/* --- Empty state ---------------------------------------------------------- */
.ho-intel-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #94a3b8;
	font-size: 15px;
	padding: 60px 20px;
}

/* --- Pagination ----------------------------------------------------------- */
.ho-intel-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.ho-intel-pagination__numbers {
	display: flex;
	gap: 8px;
}

.ho-intel-pagination__btn,
.ho-intel-pagination__num {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	color: #003366;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
}

.ho-intel-pagination__btn:hover:not(:disabled),
.ho-intel-pagination__num:hover:not(.ho-intel-pagination__num--active) {
	border-color: var(--ho-navy, #003366);
	color: var(--ho-navy, #003366);
}

.ho-intel-pagination__num--active {
	background: var(--ho-navy, #003366);
	color: #fff;
	border-color: var(--ho-navy, #003366);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.ho-intel-pagination__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.ho-intel-sidebar__card {
	background: #fff;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
}

.ho-intel-sidebar__heading-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
}

.ho-intel-sidebar__heading {
	font-size: 12px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

/* --- Popular This Week ---------------------------------------------------- */
.ho-intel-sidebar__popular-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ho-intel-sidebar__popular-item {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.ho-intel-sidebar__popular-item:hover .ho-intel-sidebar__popular-title {
	color: var(--ho-green, #00A859);
}

.ho-intel-sidebar__popular-thumb {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #f1f5f9;
}

.ho-intel-sidebar__popular-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ho-intel-sidebar__popular-cat {
	font-size: 11px;
	font-weight: 700;
	color: var(--ho-green, #00A859);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ho-intel-sidebar__popular-title {
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 12px;
	font-weight: 700;
	color: var(--ho-navy, #003366);
	margin: 2px 0;
	line-height: 1.375;
	transition: color 0.2s;
}

.ho-intel-sidebar__popular-excerpt {
	font-size: 10px;
	color: #94a3b8;
	margin: 0;
	line-height: 1.625;
}

/* --- Quiz CTA Card -------------------------------------------------------- */
.ho-intel-sidebar__quiz-cta {
	background: var(--ho-navy, #003366);
	text-align: center;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	position: relative;
}

.ho-intel-sidebar__quiz-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.ho-intel-sidebar__quiz-score {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--ho-green, #00A859);
	border-radius: 8px;
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 14px;
	font-weight: 800;
	color: #fff;
}

.ho-intel-sidebar__quiz-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.ho-intel-sidebar__quiz-title {
	color: #fff;
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 16px;
}

.ho-intel-sidebar__quiz-text {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 24px;
}

.ho-intel-sidebar__quiz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ho-green, #00A859);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	width: 100%;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s;
}

.ho-intel-sidebar__quiz-btn:hover {
	background: #009340;
}

/* --- Explore Categories --------------------------------------------------- */
.ho-intel-sidebar__cat-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ho-intel-sidebar__cat-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 8px 0;
	background: transparent;
	border: none;
	border-radius: 0;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
	transition: all 0.2s;
}

.ho-intel-sidebar__cat-btn:hover {
	color: #00A859;
}

.ho-intel-sidebar__cat-btn--active {
	color: #00A859;
	font-weight: 700;
}

/* --- Newsletter Signup ---------------------------------------------------- */
.ho-intel-sidebar__newsletter {
	background: var(--ho-green, #00A859);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.ho-intel-sidebar__newsletter-title {
	color: #fff;
	font-family: var(--ho-heading-font, 'Montserrat', sans-serif);
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 16px;
}

.ho-intel-sidebar__newsletter-text {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 24px;
}

.ho-intel-sidebar__newsletter-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	font-size: 14px;
	margin-bottom: 12px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	outline: none;
}

.ho-intel-sidebar__newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.ho-intel-sidebar__newsletter-input:focus {
	background: rgba(255, 255, 255, 0.2);
}

.ho-intel-sidebar__newsletter-btn {
	width: 100%;
	padding: 16px 20px;
	background: var(--ho-navy, #003366);
	color: #fff;
	border: none;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.ho-intel-sidebar__newsletter-btn:hover {
	background: #002244;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.ho-intel-layout {
		flex-direction: column;
	}

	.ho-intel-sidebar {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ho-intel-sidebar__card {
		flex: 1 1 280px;
	}
}

@media (max-width: 768px) {
	.ho-intel-header {
		flex-direction: column;
	}

	.ho-intel-controls {
		width: 100%;
		flex-direction: column;
	}

	.ho-intel-search-wrap {
		width: 100%;
	}

	.ho-intel-sort-wrap {
		width: 100%;
	}

	.ho-intel-sort-select {
		width: 100%;
	}

	.ho-intel-featured {
		flex-direction: column;
	}

	.ho-intel-featured__img-link {
		flex: none;
		aspect-ratio: 16/9;
	}

	.ho-intel-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ho-intel-quiz-banner {
		flex-direction: column;
		text-align: center;
	}

	.ho-intel-quiz-banner__left {
		flex-direction: column;
		align-items: center;
	}

	.ho-intel-pills {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ho-intel-pills::-webkit-scrollbar {
		display: none;
	}

	.ho-intel-pill {
		white-space: nowrap;
	}
}
