/* Inner pages + footer + shared blog UI */

.shh-footer {
	background: #122a4d;
	color: rgba(255, 255, 255, 0.86);
	font-family: "Manrope", "Plus Jakarta Sans", sans-serif;
	margin-top: 2rem;
}

.shh-footer a {
	color: #fff !important;
	text-decoration: none !important;
}

.shh-footer a:hover {
	color: #8dff9c !important;
}

.shh-footer__inner {
	width: min(100% - 2rem, 1200px);
	margin: 0 auto;
	padding: 3.5rem 0 2.5rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 2rem;
}

.shh-footer__logo img {
	height: 48px;
	width: auto;
	display: block;
	margin-bottom: 1rem;
	background: #fff;
	border-radius: 10px;
	padding: 0.35rem 0.55rem;
}

.shh-footer__brand p,
.shh-footer__col p {
	margin: 0;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.75);
}

.shh-footer__col h3 {
	margin: 0 0 1rem;
	color: #fff;
	font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
	font-size: 1.05rem;
}

.shh-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.shh-footer__menu a {
	color: rgba(255, 255, 255, 0.78) !important;
	font-weight: 500;
	transition: color 0.2s ease;
}

.shh-footer__menu a:hover,
.shh-footer__menu a:focus-visible {
	color: #8dff9c !important;
}

.shh-footer__menu .current-menu-item > a,
.shh-footer__menu .current_page_item > a,
.shh-footer__menu .current_page_parent > a,
.shh-footer__menu a[aria-current="page"] {
	color: #fff !important;
	font-weight: 700;
}

.shh-footer__cta {
	display: inline-flex;
	margin-top: 0.85rem;
	margin-bottom: 0.85rem;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	background: #3cb54a;
	color: #fff !important;
	font-weight: 700;
}

.shh-footer__cta:hover {
	background: #2f9a3b !important;
	color: #fff !important;
}

.shh-footer__email {
	margin-top: 0.5rem !important;
}

.shh-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shh-footer__bottom-inner {
	width: min(100% - 2rem, 1200px);
	margin: 0 auto;
	padding: 1rem 0;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.65);
}

.shh-footer__bottom-inner p {
	margin: 0;
}

/* Page hero */
.shh-page-hero {
	padding: 3rem 0 1.5rem;
	background:
		radial-gradient(circle at 12% 20%, rgba(60, 181, 74, 0.12), transparent 28%),
		radial-gradient(circle at 88% 10%, rgba(30, 77, 140, 0.10), transparent 32%),
		linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.shh-page-hero h1 {
	font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	color: #163a6b;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem;
}

.shh-page-hero p {
	max-width: 52ch;
	color: #5b6b7c;
	font-size: 1.08rem;
	line-height: 1.65;
	margin: 0;
}

.shh-page-content {
	max-width: 760px;
	color: #1a2b4a;
	line-height: 1.75;
	font-size: 1.05rem;
}

.shh-page-content h2 {
	color: #163a6b;
	font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
}

/* Cards extras */
.shh-article-card__cat {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: #e8f8ec;
	color: #2f9a3b !important;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.shh-article-card__excerpt {
	color: #5b6b7c;
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 0.75rem;
}

.shh-articles__grid--home {
	grid-template-columns: repeat(3, 1fr);
}

.shh-topic-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.25rem;
}

.shh-topic-card__meta span {
	color: #5b6b7c;
	font-size: 0.85rem;
}

.shh-topic-card {
	display: flex;
	flex-direction: column;
}

.shh-topic-card p {
	min-height: 0;
	flex: 1;
}

/* Single post */
.shh-single__header {
	padding: 2.5rem 0 1rem;
	background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.shh-single__header-inner {
	max-width: 760px;
}

.shh-single__header h1 {
	font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
	font-size: clamp(2rem, 4vw, 2.8rem);
	color: #163a6b;
	line-height: 1.15;
	margin: 0.5rem 0 0.75rem;
}

.shh-single__meta {
	display: flex;
	gap: 0.5rem;
	color: #5b6b7c;
	margin: 0;
}

.shh-single__featured {
	border-radius: 22px;
	overflow: hidden;
	margin: 1.25rem 0 2rem;
	box-shadow: 0 14px 40px rgba(22, 58, 107, 0.10);
}

.shh-single__featured img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 460px;
	object-fit: cover;
}

.shh-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 2rem;
	align-items: start;
	padding-bottom: 2rem;
}

.shh-single__content {
	font-size: 1.08rem;
	line-height: 1.8;
	color: #1a2b4a;
}

.shh-single__content h2 {
	color: #163a6b;
	font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
	margin-top: 1.75rem;
}

.shh-single__content ul {
	padding-left: 1.2rem;
}

.shh-aside-card {
	background: #f4f8fc;
	border: 1px solid #e4ebf3;
	border-radius: 18px;
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.shh-aside-card h3 {
	margin: 0 0 0.75rem;
	color: #163a6b;
	font-size: 1.05rem;
}

.shh-aside-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.shh-aside-card a {
	color: #1e4d8c !important;
	text-decoration: none !important;
	font-weight: 600;
}

.shh-aside-card a:hover {
	color: #3cb54a !important;
}

.shh-aside-card p {
	color: #5b6b7c;
	margin: 0 0 0.85rem;
}

.shh-pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.shh-pagination .nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.shh-pagination a,
.shh-pagination span {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.8rem;
	border-radius: 10px;
	border: 1px solid #e4ebf3;
	color: #1e4d8c !important;
	text-decoration: none !important;
	font-weight: 600;
	background: #fff;
}

.shh-pagination .current {
	background: #1e4d8c;
	border-color: #1e4d8c;
	color: #fff !important;
}

/* BeBuilder footer is the primary editable footer */
#mfn-footer-template,
.mfn-footer-tmpl {
	font-family: "Manrope", "Plus Jakarta Sans", sans-serif;
}

@media (max-width: 1024px) {
	.shh-footer__inner,
	.shh-single__grid,
	.shh-articles__grid--home {
		grid-template-columns: 1fr 1fr;
	}

	.shh-single__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.shh-footer__inner,
	.shh-articles__grid--home {
		grid-template-columns: 1fr;
	}
}
