/*
Theme Name: GeneratePress-Style Blogging Theme
Author: Custom Developer
Description: Independent lightweight WordPress blogging theme with custom home, blog, article, author, product-card, rating and 404 layouts. This standalone theme is not affiliated with GeneratePress and requires no parent theme, external licence, or update service.
Version: 2.4.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: generatepress-style-blogging-theme
Tags: blog, custom-logo, custom-menu, featured-images, custom-colors, one-column, responsive-layout
*/

:root {
	--hk-navy: #0c2b5d;
	--hk-navy-deep: #08214a;
	--hk-green: #0a9a67;
	--hk-text: #172238;
	--hk-muted: #657084;
	--hk-line: #e1e7ee;
	--hk-soft: #f3f6f8;
	--hk-white: #ffffff;
	--hk-radius: 18px;
	--hk-shadow: 0 16px 40px rgba(15, 35, 70, 0.08);
	--mhb-header-bg: #ffffff;
	--mhb-header-text: #0c2b5d;
	--mhb-header-accent: #f59e3d;
	--mhb-footer-bg: #08214a;
	--mhb-footer-text: #ffffff;
	--mhb-home-content-size: 18px;
	--mhb-home-h2-size: 32px;
	--mhb-single-content-size: 17px;
	--mhb-single-h2-size: 32px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--hk-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #075fa7;
	text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
	color: var(--hk-green);
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
summary,
a {
	-webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.mhb-skip-link:focus {
	clip: auto !important;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	background: #fff;
	color: #111;
	z-index: 100000;
}

.mhb-skip-link {
	position: absolute;
	left: 10px;
	top: 10px;
	transform: translateY(-200%);
}

.mhb-skip-link:focus {
	transform: none;
}

.hk-page,
.hk-page * {
	box-sizing: border-box;
}

.hk-page {
	width: 100%;
	color: var(--hk-text);
}

.hk-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.hk-eyebrow,
.hk-kicker,
.hk-card-category,
.hk-category-pill {
	font-weight: 700;
	letter-spacing: .02em;
}

.hk-eyebrow,
.hk-kicker {
	color: var(--hk-green);
	text-transform: uppercase;
	font-size: 13px;
}

.hk-section-heading {
	text-align: center;
	margin-bottom: 34px;
}

.hk-section-heading h2 {
	margin: 8px 0 0;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.1;
	color: var(--hk-navy-deep);
}

.hk-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
	color: #075fa7;
}

.hk-read-more:hover,
.hk-read-more:focus {
	color: var(--hk-green);
}

/* Compact trust profiles shared by the home and single-post heroes. */
.mhb-hero-profiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mhb-hero-profile {
	display: flex;
	min-width: 0;
	min-height: 56px;
	align-items: center;
	gap: 11px;
	padding: 2px 0;
	color: inherit !important;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none !important;
	transition: opacity .16s ease;
}

.mhb-hero-profile:hover,
.mhb-hero-profile:focus-visible {
	opacity: .82;
}

.mhb-hero-profile img,
.mhb-hero-profile__fallback {
	display: grid;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	place-items: center;
	object-fit: cover;
	background: #edf4fb;
	border: 1px solid #cbd8e9;
	border-radius: 10px;
}

.mhb-hero-profile__fallback {
	color: var(--hk-navy);
	font-size: 18px;
	font-weight: 850;
}

.mhb-hero-profile__copy {
	display: block;
	min-width: 0;
}

.mhb-hero-profile__copy small,
.mhb-hero-profile__copy strong,
.mhb-hero-profile__copy span {
	display: block;
}

.mhb-hero-profile__copy small {
	margin-bottom: 2px;
	color: #66778c;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .035em;
	line-height: 1.25;
	text-transform: uppercase;
}

.mhb-hero-profile__copy strong {
	overflow: hidden;
	color: #162743;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mhb-hero-profile__copy span {
	overflow: hidden;
	margin-top: 2px;
	color: #5b697c;
	font-size: 10.5px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hk-pagination {
	margin-top: 36px;
}

.hk-pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.hk-pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--hk-line);
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: #fff;
}

.hk-pagination .current {
	background: var(--hk-navy);
	border-color: var(--hk-navy);
	color: #fff;
}

/* Own theme header */
.mhb-site-header {
	position: relative;
	z-index: 30;
	background: var(--mhb-header-bg);
	border-top: 3px solid var(--hk-text);
	box-shadow: 0 1px 0 rgba(15, 35, 70, .08);
}

.mhb-site-header::after {
	content: "";
	display: block;
	height: 4px;
	background: var(--mhb-header-accent);
}

.mhb-header-inner {
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
}

.mhb-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mhb-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.mhb-branding .custom-logo {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 60px;
}

.mhb-site-title {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
}

.mhb-site-title a {
	color: var(--mhb-header-text);
	text-decoration: none;
}

.mhb-desktop-nav ul,
.mhb-mobile-nav ul,
.mhb-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mhb-desktop-nav > div > ul,
.mhb-desktop-nav > ul {
	display: flex;
	align-items: center;
	gap: 26px;
}

.mhb-desktop-nav a {
	color: var(--mhb-header-text);
	font-weight: 700;
	text-decoration: none;
}

.mhb-desktop-nav .menu-item-has-children {
	position: relative;
}

.mhb-desktop-nav .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -16px;
	min-width: 220px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--hk-line);
	border-radius: 12px;
	box-shadow: var(--hk-shadow);
	display: none;
}

.mhb-desktop-nav .menu-item-has-children:hover > .sub-menu,
.mhb-desktop-nav .menu-item-has-children:focus-within > .sub-menu {
	display: grid;
	gap: 4px;
}

.mhb-desktop-nav .sub-menu a {
	display: block;
	padding: 8px 10px;
}

.mhb-mobile-menu {
	display: none;
	position: relative;
}

.mhb-mobile-menu summary {
	list-style: none;
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: var(--mhb-header-text);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.mhb-mobile-menu summary::-webkit-details-marker {
	display: none;
}

.mhb-menu-icon,
.mhb-menu-icon::before,
.mhb-menu-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.mhb-menu-icon {
	position: relative;
}

.mhb-menu-icon::before,
.mhb-menu-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.mhb-menu-icon::before { top: -6px; }
.mhb-menu-icon::after { top: 6px; }

.mhb-mobile-nav {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: min(320px, calc(100vw - 28px));
	padding: 14px;
	background: #fff;
	border: 1px solid var(--hk-line);
	border-radius: 12px;
	box-shadow: var(--hk-shadow);
}

.mhb-mobile-nav a {
	display: block;
	padding: 10px 8px;
	color: var(--mhb-header-text);
	font-weight: 700;
	text-decoration: none;
}

.mhb-mobile-nav .sub-menu {
	padding-left: 14px;
}

/* Own theme footer */
.mhb-site-footer {
	padding: 24px 0;
	background: var(--mhb-footer-bg);
	color: #fff;
}

.mhb-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.mhb-footer-copy {
	margin: 0;
	color: var(--mhb-footer-text);
	font-size: 14px;
	line-height: 1.6;
}

.mhb-footer-nav,
.mhb-footer-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 20px;
}

.mhb-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mhb-footer-nav a {
	color: var(--mhb-footer-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
}

.mhb-footer-copy a {
	color: var(--mhb-footer-text);
	font-weight: 700;
	text-decoration: none;
}

.mhb-footer-copy a:hover,
.mhb-footer-copy a:focus-visible {
	text-decoration: underline;
}

.mhb-footer-nav a:hover,
.mhb-footer-nav a:focus-visible {
	color: var(--mhb-footer-text);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.mhb-site-footer {
		padding: 20px 0;
	}
	.mhb-footer-inner {
		align-items: center;
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	.mhb-footer-copy,
	.mhb-footer-nav a {
		font-size: 13px;
	}
	.mhb-footer-nav,
	.mhb-footer-menu {
		justify-content: center;
	}
}

/* Generic forms */
.mhb-search-form {
	display: flex;
	gap: 10px;
	max-width: 600px;
}

.mhb-search-form label {
	flex: 1;
}

.mhb-search-form input[type="search"] {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--hk-line);
	border-radius: 10px;
}

.mhb-button,
.mhb-search-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--hk-green);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.mhb-button:hover,
.mhb-button:focus-visible,
.mhb-search-form input[type="submit"]:hover,
.mhb-search-form input[type="submit"]:focus-visible {
	background: var(--hk-navy);
	color: #fff;
}

@media (max-width: 860px) {
	.mhb-desktop-nav {
		display: none;
	}
	.mhb-mobile-menu {
		display: block;
	}
	.mhb-footer-main {
		grid-template-columns: 1fr;
	}
	.mhb-footer-nav ul {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.hk-shell {
		width: min(100% - 28px, 1180px);
	}
	.mhb-header-inner {
		min-height: 76px;
	}
	.mhb-branding .custom-logo {
		max-width: 190px;
		max-height: 52px;
	}
}

@media (max-width: 680px) {
	.mhb-hero-profiles {
		grid-template-columns: 1fr;
	}
	.mhb-hero-profile__copy strong,
	.mhb-hero-profile__copy span {
		white-space: normal;
	}
}
/* ===== CUSTOM REFERENCE QUOTES: BLOG + HOME ===== */
:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card{position:relative;margin:32px 0;padding:28px 30px 24px 72px;border:1px solid #dbe5ef;border-left:6px solid currentColor;border-radius:14px;box-shadow:0 8px 24px rgba(15,45,75,.07);overflow:hidden}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card:not(.has-background){background:#f7fbff}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card:not(.has-text-color){color:#0b5ca8}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card::before{content:"“";position:absolute;left:22px;top:16px;font-family:Georgia,serif;font-size:58px;font-weight:700;line-height:1;color:currentColor;opacity:.9}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card p{margin:0 0 14px;font-size:17px;line-height:1.7;font-style:normal}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card:not(.has-text-color) p{color:#172230}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card p:last-of-type{margin-bottom:0}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card cite{display:block;margin-top:18px;padding-top:14px;border-top:1px solid rgba(25,55,85,.12);color:currentColor;font-size:14px;font-style:normal;font-weight:700}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card cite::before{content:"Reference: ";color:#667482;font-weight:600}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card cite a{color:currentColor;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card:not(.has-text-color) p a{color:#0b5ca8}

/* ===== REFERENCE SOFT ===== */
:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft{position:relative;margin:30px 0;padding:22px 26px;border:0;border-left:5px solid currentColor;border-radius:0 12px 12px 0}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft:not(.has-background){background:#f4f8f6}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft:not(.has-text-color){color:#16835f}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft p{margin:0 0 12px;font-size:17px;line-height:1.7;font-style:normal}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft:not(.has-text-color) p{color:#172230}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft p:last-of-type{margin-bottom:0}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft cite{display:block;margin-top:12px;color:currentColor;font-size:14px;font-style:normal;font-weight:700}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft cite::before{content:"Source: ";color:#667482;font-weight:600}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft cite a{color:currentColor;text-decoration:underline;text-underline-offset:3px}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft:not(.has-text-color) p a{color:#16835f}

/* ===== REFERENCE QUOTES MOBILE ===== */
@media(max-width:640px){:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card{padding:24px 20px 20px 56px}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-card::before{left:16px;top:15px;font-size:48px}:is(.hk-entry-content,.hk-home-content) .wp-block-quote.is-style-reference-soft{padding:20px}}
