/**
 * Blogs page dynamic layouts, decoration and motion.
 * Core typography, spacing and colours are stored in Elementor.
 */

body.blog .entry-header,
body.blog .page-header {
	display: none;
}

.st_blogs_main,
.st_blogs_page {
	overflow: hidden;
}

body.blog section#primary.st_blogs_main {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

.st_blogs_page {
	position: relative;
}

.st_blogs_page > .elementor-container {
	max-width: 1160px !important;
	position: relative;
	width: calc(100% - 40px);
	z-index: 1;
}

.st_blogs_hero {
	padding: 78px 0 62px !important;
}


.st_blogs_intro {
	margin: 0 auto;
	text-align: center;
}

.st_blogs_intro .elementor-widget-heading h1.elementor-heading-title::after {
	background: #f5b51b;
	border-radius: 999px;
	content: "";
	display: block;
	height: 10px;
	margin: 24px auto 22px;
	max-width: 340px;
	width: 42%;
}

.st_blogs_intro .elementor-widget-heading h1.elementor-heading-title {
	color: #071b4a;
}

.st_blogs_issue_meta {
	align-items: stretch;
	background: #fff;
	border: 1px solid rgba(7, 27, 74, 0.08);
	border-radius: 999px;
	box-shadow: 0 16px 42px rgba(7, 27, 74, 0.08);
	display: inline-flex;
	margin: 26px auto 0;
	overflow: hidden;
}

.st_blogs_issue_meta span {
	color: #687184;
	font-size: 13px;
	font-weight: 800;
	padding: 17px 20px;
}

.st_blogs_issue_meta span + span {
	border-left: 1px solid rgba(7, 27, 74, 0.08);
}

.st_blogs_issue_meta b {
	color: #071b4a;
	font-size: 11px;
	letter-spacing: 0.08em;
	margin-right: 7px;
	text-transform: uppercase;
}

.st_blogs_buttons > .elementor-container {
	gap: 14px;
	justify-content: center;
}

.st_blogs_buttons > .elementor-container > .elementor-column {
	flex: 0 0 auto;
	width: auto;
}

.st_blogs_page .elementor-button {
	isolation: isolate;
	overflow: hidden;
	position: relative;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.st_blogs_page .elementor-button::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	content: "";
	inset: -2px auto -2px -45%;
	position: absolute;
	transform: skewX(-18deg);
	transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	width: 38%;
	z-index: -1;
}

.st_blogs_page .elementor-button:hover {
	box-shadow: 0 20px 42px rgba(7, 27, 74, 0.16);
	transform: translateY(-3px);
}

.st_blogs_page .elementor-button:hover::before {
	left: 120%;
}

.st_blogs_featured {
	background-position: center;
	background-size: cover;
	border-radius: 44px;
	box-shadow: 0 30px 75px rgba(7, 27, 74, 0.2);
	margin-top: 52px;
	min-height: 500px;
	overflow: hidden;
	position: relative;
	transition: transform 0.35s ease;
}

.st_blogs_featured::before {
	background-image: var(--st-blogs-featured-image);
	background-position: center;
	background-size: cover;
	content: "";
	inset: 0;
	position: absolute;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.st_blogs_featured::after {
	background: linear-gradient(90deg, rgba(7, 27, 74, 0.96) 0%, rgba(7, 27, 74, 0.76) 48%, rgba(7, 27, 74, 0.18) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.st_blogs_featured:hover::before {
	transform: scale(1.045);
}

.st_blogs_featured_link {
	color: #fff;
	display: flex;
	min-height: 500px;
	position: relative;
	text-decoration: none !important;
	z-index: 1;
}

.st_blogs_featured_content {
	align-self: center;
	max-width: 650px;
	padding: 50px;
}

.st_blogs_featured_meta {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.st_blogs_featured_meta span {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	padding: 10px 14px;
	text-transform: uppercase;
}

.st_blogs_featured_meta span:first-child {
	background: #f5b51b;
	border-color: #f5b51b;
	color: #071b4a;
}

.st_blogs_featured h2 {
	color: #fff;
	font-size: clamp(38px, 4.3vw, 54px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.98;
	margin: 0 0 20px;
}

.st_blogs_featured p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.7;
	margin: 0 0 24px;
}

.st_blogs_featured strong {
	color: #fff;
	font-weight: 900;
}

.st_blogs_featured strong i {
	color: #f5b51b;
	margin-left: 8px;
	transition: transform 0.25s ease;
}

.st_blogs_featured:hover strong i {
	transform: translateX(5px);
}

.st_blogs_topics {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 60px auto 0;
}

.st_blogs_topics a {
	background: #fff;
	border: 1px solid rgba(7, 27, 74, 0.08);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(7, 27, 74, 0.06);
	color: #071b4a;
	font-size: 13px;
	font-weight: 850;
	padding: 13px 17px;
	text-decoration: none !important;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.st_blogs_topics a:hover {
	background: #071b4a;
	color: #fff;
	transform: translateY(-3px);
}

.st_blogs_marquee {
	background: #071b4a;
	color: #fff;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
	width: 100vw;
}

.st_blogs_marquee_track {
	align-items: center;
	animation: stBlogsMarquee 24s linear infinite;
	display: flex;
	gap: 24px;
	height: 56px;
	white-space: nowrap;
	width: max-content;
}

.st_blogs_marquee_track span,
.st_blogs_marquee_track a {
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.st_blogs_marquee_track i {
	background: #f5b51b;
	border-radius: 50%;
	height: 7px;
	width: 7px;
}

@keyframes stBlogsMarquee {
	to { transform: translateX(-50%); }
}

.st_blogs_content {
	padding: 74px 0 !important;
}

.st_blogs_archive {
	align-items: start;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 330px;
}

.st_blogs_archive_grid {
	align-items: stretch;
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.st_blogs_card {
	background: #fff;
	border: 1px solid rgba(7, 27, 74, 0.08);
	border-radius: 32px;
	box-shadow: 0 14px 40px rgba(7, 27, 74, 0.06);
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.st_blogs_card:hover {
	border-color: rgba(245, 181, 27, 0.48);
	box-shadow: 0 28px 70px rgba(7, 27, 74, 0.13);
	transform: translateY(-8px);
}

.st_blogs_card_thumb {
	background-image: linear-gradient(rgba(7, 27, 74, 0.05), rgba(7, 27, 74, 0.08)), var(--st-blogs-card-image);
	background-position: center;
	background-size: cover;
	display: block;
	height: 235px;
	overflow: hidden;
	padding: 18px;
	position: relative;
	text-decoration: none !important;
}

.st_blogs_card_thumb span {
	background: #fff5d8;
	border-radius: 999px;
	color: #071b4a;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	padding: 9px 12px;
	text-transform: uppercase;
}

.st_blogs_card_body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px;
}

.st_blogs_card_date {
	color: #70798b;
	font-size: 12px;
	font-weight: 750;
	margin-bottom: 14px;
}

.st_blogs_card_date i {
	color: #f5b51b;
	margin-right: 6px;
}

.st_blogs_card h3 {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1.16;
	margin: 0 0 12px;
}

.st_blogs_card h3 a,
.st_blogs_card h3 a:visited {
	color: #071b4a;
	text-decoration: none;
}

.st_blogs_card p {
	color: #687184;
	font-size: 14px;
	line-height: 1.65;
	margin: 0 0 18px;
}

.st_blogs_card_read {
	color: #071b4a !important;
	font-size: 14px;
	font-weight: 900;
	margin-top: auto;
	text-decoration: none !important;
}

.st_blogs_card_read i {
	color: #f5b51b;
	margin-left: 6px;
	transition: transform 0.25s ease;
}

.st_blogs_card:hover .st_blogs_card_read i {
	transform: translateX(5px);
}

.st_blogs_card_quote {
	background: #071b4a;
	color: #fff;
	justify-content: center;
	min-height: 235px;
	padding: 30px;
	position: relative;
}

.st_blogs_card_quote::before {
	background: rgba(245, 181, 27, 0.18);
	border-radius: 50%;
	content: "";
	height: 190px;
	position: absolute;
	right: -70px;
	top: -70px;
	width: 190px;
}

.st_blogs_card_quote i,
.st_blogs_card_quote h3,
.st_blogs_card_quote p {
	position: relative;
	z-index: 1;
}

.st_blogs_card_quote > i {
	color: #f5b51b;
	font-size: 28px;
}

.st_blogs_card_quote h3 {
	color: #fff;
	font-size: 28px;
	line-height: 1.05;
	margin: 18px 0;
}

.st_blogs_card_quote p {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 800;
	margin: 0;
}

.st_blogs_sidebar {
	display: grid;
	gap: 18px;
	position: sticky;
	top: 118px;
}

.st_blogs_sidebar_card {
	background: #fff;
	border: 1px solid rgba(7, 27, 74, 0.08);
	border-radius: 30px;
	box-shadow: 0 14px 40px rgba(7, 27, 74, 0.06);
	padding: 22px;
}

.st_blogs_sidebar_card h3,
.st_blogs_search label {
	color: #071b4a;
	display: block;
	font-size: 18px;
	font-weight: 900;
	margin: 0 0 16px;
}

.st_blogs_search label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.st_blogs_search form {
	display: flex;
}

.st_blogs_search input[type="search"] {
	background: #f7f9fd;
	border: 1px solid rgba(7, 27, 74, 0.1);
	border-radius: 16px 0 0 16px;
	color: #071b4a;
	min-width: 0;
	padding: 13px;
	width: 100%;
}

.st_blogs_search button {
	background: #f5b51b;
	border: 0;
	border-radius: 0 16px 16px 0;
	color: #071b4a;
	width: 48px;
}

.st_blogs_sidebar ol {
	counter-reset: st-blogs-recent;
	list-style: none;
	margin: 0;
	padding: 0;
}

.st_blogs_sidebar li {
	counter-increment: st-blogs-recent;
	display: grid;
	gap: 10px;
	grid-template-columns: 28px 1fr;
	padding: 13px 0;
}

.st_blogs_sidebar li + li {
	border-top: 1px solid rgba(7, 27, 74, 0.08);
}

.st_blogs_sidebar li::before {
	color: #f5b51b;
	content: counter(st-blogs-recent, decimal-leading-zero);
	font-size: 12px;
	font-weight: 900;
}

.st_blogs_sidebar li a {
	color: #071b4a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
}

.st_blogs_sidebar_cta {
	background: #071b4a;
	color: #fff;
	overflow: hidden;
	position: relative;
}

.st_blogs_comments > a {
	align-items: start;
	border-bottom: 1px solid rgba(7, 27, 74, 0.08);
	display: grid;
	gap: 11px;
	grid-template-columns: 34px 1fr;
	padding: 13px 0;
}

.st_blogs_comments > a:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.st_blogs_comments > a span {
	align-items: center;
	background: #fff5d8;
	border-radius: 12px;
	display: flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.st_blogs_comments > p {
	color: #687184;
	font-size: 14px;
	margin: 0;
}

.st_blogs_sidebar_cta::after {
	background: rgba(245, 181, 27, 0.22);
	border-radius: 50%;
	content: "";
	height: 150px;
	position: absolute;
	right: -65px;
	top: -65px;
	width: 150px;
}

.st_blogs_sidebar_cta > * {
	position: relative;
	z-index: 1;
}

.st_blogs_sidebar_cta > i {
	color: #f5b51b;
	font-size: 25px;
	margin-bottom: 18px;
}

.st_blogs_sidebar_cta h3 {
	color: #fff;
}

.st_blogs_sidebar_cta p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.65;
}

.st_blogs_sidebar_cta a {
	color: #fff !important;
	font-weight: 900;
	text-decoration: none;
}

.st_blogs_sidebar_cta a i {
	color: #f5b51b;
	margin-left: 6px;
}

.st_blogs_cta {
	padding: 8px 0 70px !important;
}

.st_blogs_cta_box {
	overflow: visible !important;
	position: relative;
}

.st_blogs_cta_box {
	box-shadow: none !important;
}

.st_blogs_cta_box::before {
	content: none;
}

.st_blogs_cta_box > .elementor-widget-wrap::before {
	background: rgba(255, 255, 255, 0.34);
	border-radius: 50%;
	content: "";
	height: 270px;
	bottom: -95px;
	position: absolute;
	right: -65px;
	width: 270px;
}

.st_blogs_cta_box > .elementor-widget-wrap {
	align-items: center;
	display: grid;
	filter: none;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.st_blogs_cta_box > .elementor-widget-wrap {
	background: linear-gradient(135deg, rgba(245, 181, 27, 0.96), rgba(255, 205, 78, 0.92)) !important;
	box-shadow: 0 18px 48px rgba(7, 27, 74, 0.08) !important;
}

.st_blogs_cta_box > .elementor-widget-wrap > * {
	position: relative;
	z-index: 1;
}

.st_blogs_cta_box > .elementor-widget-wrap > .elementor-widget-heading,
.st_blogs_cta_box > .elementor-widget-wrap > .elementor-widget-text-editor {
	grid-column: 1;
}

.st_blogs_cta_box > .elementor-widget-wrap > .elementor-widget-button {
	align-self: center;
	grid-column: 2;
	grid-row: 1 / 4;
	margin-left: 50px;
}

.st_blogs_cta_box > .elementor-widget-wrap > .elementor-element-blgctak1 {
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(7, 27, 74, 0.06);
	justify-self: start;
	padding: 11px 17px;
	width: fit-content !important;
}

.st_blogs_cta_box > .elementor-widget-wrap > .elementor-element-blgctah1 {
	max-width: 700px;
}

.st_blogs_type_slider {
	overflow: hidden;
	position: relative;
}

.st_blogs_slider_track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.st_blogs_type_slider .st_dynamic_blog_card {
	flex: 0 0 33.333%;
	padding: 0 10px;
}

.st_blogs_slider_controls {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
}

.st_blogs_slider_controls button {
	background: #fff;
	border: 1px solid rgba(7, 27, 74, 0.1);
	border-radius: 50%;
	color: #071b4a;
	height: 48px;
	transition: 0.25s ease;
	width: 48px;
}

.st_blogs_slider_controls button:hover {
	background: #071b4a;
	color: #fff;
	transform: translateY(-3px);
}

@media (max-width: 991px) {
	.st_blogs_archive {
		grid-template-columns: 1fr;
	}

	.st_blogs_sidebar {
		grid-template-columns: repeat(2, 1fr);
		position: static;
	}

	.st_blogs_search,
	.st_blogs_sidebar_cta {
		grid-column: 1 / -1;
	}

	.st_blogs_cta_box > .elementor-widget-wrap {
		align-items: flex-start;
		display: flex;
		flex-direction: column;
	}

	.st_blogs_cta_box > .elementor-widget-wrap > .elementor-widget-button {
		margin: 24px 0 0;
	}

	.st_blogs_type_slider .st_dynamic_blog_card {
		flex-basis: 50%;
	}
}

@media (max-width: 575px) {
	.st_blogs_hero {
		padding: 44px 0 36px !important;
	}

	.st_blogs_intro {
		text-align: left;
	}

	.st_blogs_intro .elementor-widget-heading h1.elementor-heading-title::after {
		height: 8px;
		margin-left: 0;
		width: 210px;
	}

	.st_blogs_issue_meta {
		border-radius: 24px;
		display: grid;
		width: 100%;
	}

	.st_blogs_issue_meta span + span {
		border-left: 0;
		border-top: 1px solid rgba(7, 27, 74, 0.08);
	}

	.st_blogs_buttons > .elementor-container {
		align-items: stretch;
		flex-direction: column;
	}

	.st_blogs_buttons .elementor-column,
	.st_blogs_buttons .elementor-widget-button,
	.st_blogs_buttons .elementor-button {
		width: 100%;
	}

	.st_blogs_featured,
	.st_blogs_featured_link {
		min-height: 500px;
	}

	.st_blogs_featured {
		border-radius: 30px;
		margin-top: 38px;
	}

	.st_blogs_featured::after {
		background: linear-gradient(0deg, rgba(7, 27, 74, 0.98) 0%, rgba(7, 27, 74, 0.5) 100%);
	}

	.st_blogs_featured_content {
		align-self: flex-end;
		padding: 26px;
	}

	.st_blogs_featured h2 {
		font-size: 36px;
	}

	.st_blogs_content {
		padding: 52px 0 !important;
	}

	.st_blogs_topics {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.st_blogs_topics a {
		white-space: nowrap;
	}

	.st_blogs_archive_grid,
	.st_blogs_sidebar {
		grid-template-columns: 1fr;
	}

	.st_blogs_sidebar_cta {
		grid-column: auto;
	}

	.st_blogs_search {
		grid-column: auto;
	}

	.st_blogs_type_slider .st_dynamic_blog_card {
		flex-basis: 100%;
	}

	.st_blogs_cta_box > .elementor-widget-wrap > .elementor-widget-button {
		margin-left: 0;
		width: 100%;
	}

	.st_blogs_cta_box > .elementor-widget-wrap {
		border-radius: 32px !important;
		padding: 34px !important;
	}

	.st_blogs_cta_box .elementor-button {
		width: 100%;
	}
}

.st_blogs_cta_box .elementor-button {
	min-height: 54px;
	padding-left: 24px;
	padding-right: 24px;
	line-height: 2;
}

@media (prefers-reduced-motion: reduce) {
	.st_blogs_marquee_track {
		animation: none;
	}

	.st_blogs_page *,
	.st_blogs_page *::before,
	.st_blogs_page *::after {
		transition-duration: 0.01ms !important;
	}
}
