@font-face {
	font-family: 'fontawesome';
	src: url('../fonts/fontawesome-webfont.woff2') format('woff2');
	font-style: normal;
	font-weight: normal;
	font-display: block;
}

@font-face {
	font-family: 'mdfonticon';
	src: url('../fonts/mdfonticon.woff') format('woff');
	font-style: normal;
	font-weight: normal;
	font-display: block;
}

/* The fallback link uses the exact box formerly occupied by the button div. */
.g-loadmore-btn {
	display: block;
	color: inherit;
	text-decoration: none;
}

/* Simple Share Buttons Adder: retain the original horizontal sharing row. */
.w-blog-post-content .ssba-classic-2 > div,
.l-section .ssba-classic-2 > div {
	display: flex !important;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.w-blog-post-content .ssba-classic-2 .ssba_share_link,
.l-section .ssba-classic-2 .ssba_share_link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	margin: 0 !important;
	width: 48px !important;
	height: 48px !important;
	overflow: hidden;
}

.w-blog-post-content .ssba-classic-2 .ssba-img,
.l-section .ssba-classic-2 .ssba-img {
	width: 35px !important;
	height: auto !important;
	flex: 0 0 auto;
}

.w-blog-post-content .ssba-classic-2 .ssbp-text,
.l-section .ssba-classic-2 .ssbp-text {
	display: none !important;
}

/* Four news cards and their Load More control share one exact desktop width. */
@media (min-width: 901px) {
	.w-blog.layout_cards.cols_4 .w-blog-post {
		width: 25%;
	}
}

/* The site does not display WordPress author bylines in post metadata. */
.w-blog-post-meta-author,
.author.vcard {
	display: none !important;
}

.finstar-cookie-notice {
	position: fixed;
	z-index: 10000;
	left: 24px;
	right: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 760px;
	margin: 0 auto;
	padding: 16px 20px;
	border-radius: 5px;
	background: #163b54;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
}

.finstar-cookie-notice[hidden] { display: none; }
.finstar-cookie-notice p { margin: 0; }
.finstar-cookie-notice a { color: #fff; text-decoration: underline; }
.finstar-cookie-notice__accept {
	flex: 0 0 auto;
	padding: 9px 18px;
	border: 0;
	border-radius: 3px;
	background: #1b98e0;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.finstar-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-top: 24px;
}
.finstar-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	line-height: 1;
}
.finstar-share__link img {
	display: block;
	width: 35px;
	height: 35px;
	object-fit: contain;
}

/* Keep every WordPress pagination item visible despite legacy list styles. */
.g-pagination .navigation.pagination > ul.page-numbers {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
	box-shadow: none !important;
	border-radius: 0;
	background: transparent !important;
	margin: 0;
	padding: 0;
	list-style: none;
}
.g-pagination .navigation.pagination > ul.page-numbers > li {
	display: block !important;
	margin: 0;
	padding: 0;
}
.g-pagination .navigation.pagination .page-numbers {
	flex: 0 0 auto;
}
.no-touch .g-pagination .navigation.pagination .page-numbers:before,
.g-pagination .navigation.pagination .page-numbers:before {
	display: none !important;
	content: none !important;
}
.no-touch .g-pagination .navigation.pagination a.page-numbers {
	transition: transform .2s ease;
}
.no-touch .g-pagination .navigation.pagination > ul.page-numbers:hover {
	color: inherit !important;
}
.no-touch .g-pagination .navigation.pagination a.page-numbers:hover {
	color: inherit;
	transform: scale(1.08);
}
@media (max-width: 600px) {
	.finstar-cookie-notice { left: 12px; right: 12px; bottom: 12px; align-items: flex-start; flex-direction: column; gap: 12px; }
}

/*
 * The old header markup is preserved for visual parity, but its former
 * page-builder script used to change the navigation into a hamburger menu.
 * This theme owns that small responsive behaviour now.
 */
@media (max-width: 1111px) {
	.header_hor .l-subheader.at_middle {
		position: relative;
	}

	.header_hor .l-subheader.at_middle .l-subheader-h {
		padding-left: 20px;
		padding-right: 20px;
	}

	.header_hor .l-header .w-nav.ush_menu_1 {
		position: relative;
	}

	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-control {
		display: block;
		min-width: 48px;
		padding: 0 12px;
		font-size: 21px;
		line-height: 50px;
		text-align: center;
		color: inherit;
	}

	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-list.level_1 {
		display: none;
		position: absolute;
		z-index: 1001;
		top: 100%;
		right: -20px;
		left: auto;
		width: min(340px, calc(100vw - 24px));
		max-height: calc(100vh - 70px);
		padding: 8px 14px 14px;
		overflow-y: auto;
		background: #fff;
		box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
	}

	.header_hor .l-header .w-nav.ush_menu_1.finstar-menu-open .w-nav-list.level_1 {
		display: block;
	}

	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-item,
	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-anchor.level_1 {
		display: block;
		width: 100%;
	}

	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-anchor.level_1 {
		padding: 12px 10px;
		line-height: 26px;
		box-shadow: 0 1px 0 rgba(0, 0, 0, .08) inset;
	}
}

@media (max-width: 600px) {
	.header_hor .l-subheader.at_middle .l-subheader-h {
		padding-left: 12px;
		padding-right: 12px;
	}

	.header_hor .l-header .w-nav.ush_menu_1 .w-nav-list.level_1 {
		right: -12px;
	}
}
