/* Native Gutentype shell (homepage + category archives) */

.gt-shell {
	--gt-bg: #0a0a0a;
	--gt-accent: #efa758;
	--gt-page: #f5f5f5;
	--gt-card: #ffffff;
	--gt-text: #1a1a1a;
	--gt-muted: #6b6b6b;
	font-family: Barlow, system-ui, sans-serif;
	color: var(--gt-text);
	background: var(--gt-page);
}

.gt-header {
	background: var(--gt-bg);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gt-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.65rem 1.25rem;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
}

.gt-logo img {
	display: block;
	height: 42px;
	width: auto;
	max-width: 220px;
}

/* Gutentype theme.css sets global ul padding + button padding — reset inside shell */
.gt-shell ul,
.gt-shell ol {
	list-style: none;
}

.gt-shell nav.gt-nav > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.35rem 1.1rem;
	margin: 0;
	padding: 0;
}

.gt-shell nav.gt-nav > ul > li {
	margin: 0;
	padding: 0;
}

.gt-shell button {
	-webkit-appearance: none;
	appearance: none;
}

.gt-shell button.gt-icon-btn,
.gt-shell button.gt-hero__nav,
.gt-shell button.gt-hero__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	min-width: 0;
	min-height: 0;
	height: auto;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	white-space: normal;
	border-radius: 0;
}

.gt-shell button.gt-hero__dot {
	border-radius: 50%;
}

.gt-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.gt-nav a:hover,
.gt-nav a[aria-current='page'] {
	color: var(--gt-accent);
}

.gt-header__actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.gt-icon-btn {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 1.25rem;
	cursor: pointer;
	padding: 0.35rem;
	line-height: 1;
}

.gt-mobile-nav[hidden] {
	display: none !important;
}

.gt-mobile-nav {
	display: none;
	background: #111;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1rem 1.25rem 1.25rem;
}

.gt-mobile-nav.is-open {
	display: block;
}

.gt-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.gt-mobile-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.gt-hero {
	position: relative;
	background: #0a0a0a;
}

.gt-hero__viewport {
	position: relative;
	width: 100%;
	height: clamp(360px, 42vw, 580px);
	overflow: hidden;
}

.gt-hero__stack {
	position: relative;
	width: 100%;
	height: 100%;
}

.gt-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.55s ease;
	pointer-events: none;
	background-color: #111;
}

.gt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	display: block;
}

.gt-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.gt-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0.35) 45%,
		rgba(0, 0, 0, 0.88) 100%
	);
}

.gt-hero__copy {
	position: absolute;
	left: 50%;
	bottom: clamp(2.75rem, 7vw, 4.25rem);
	transform: translateX(-50%);
	width: min(92%, 760px);
	text-align: center;
	color: #fff;
	z-index: 2;
	padding: 0 1rem;
}

.gt-hero__cat {
	color: var(--gt-accent);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
}

.gt-hero__title {
	margin: 0;
	font-family: Lora, Georgia, serif;
	font-size: clamp(1.1rem, 3.2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.gt-hero__title a {
	color: inherit;
	text-decoration: none;
}

.gt-hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	width: 2.5rem;
	height: 2.5rem;
	cursor: pointer;
	font-size: 1.35rem;
	border-radius: 2px;
}

.gt-hero__nav:hover {
	background: rgba(0, 0, 0, 0.6);
}

.gt-hero__nav--prev {
	left: 1rem;
}

.gt-hero__nav--next {
	right: 1rem;
}

.gt-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.85rem;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 0;
	background: transparent;
}

.gt-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.gt-hero__dot.is-active {
	background: var(--gt-accent);
}

.gt-partners {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 0.5rem;
}

.gt-partners__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.gt-partner {
	background: var(--gt-card);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.gt-partner a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.gt-partner__media {
	aspect-ratio: 16 / 10;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gt-partner__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gt-partner__title {
	margin: 0;
	padding: 0.75rem 1rem 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #2e6da4;
}

.gt-latest {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem 2.5rem;
}

.gt-latest__head {
	margin-bottom: 1.5rem;
}

.gt-latest__head h2 {
	margin: 0 0 0.35rem;
	font-size: 1.75rem;
	font-weight: 700;
}

.gt-latest__head p {
	margin: 0;
	color: var(--gt-muted);
}

.gt-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.gt-post-card {
	background: var(--gt-card);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
}

.gt-post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background-color: #d8d8d8;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	text-decoration: none;
}

.gt-shell .gt-post-card__thumb[class*='gutentype_inline_'] {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.gt-shell .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gt-post-card__body {
	padding: 1rem 1.1rem 1.15rem;
	flex: 1;
}

.gt-post-card__cat {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--gt-accent);
	margin-bottom: 0.4rem;
}

.gt-post-card__title {
	margin: 0 0 0.5rem;
	font-family: Lora, Georgia, serif;
	font-size: 1.05rem;
	line-height: 1.35;
}

.gt-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.gt-post-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	color: var(--gt-muted);
	line-height: 1.45;
}

.gt-pagination {
	margin-top: 2rem;
	text-align: center;
}

.gt-pagination a {
	display: inline-block;
	padding: 0.55rem 1.25rem;
	background: var(--gt-bg);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
}

.gt-category {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.gt-category h1 {
	margin: 0 0 1.25rem;
	font-size: 1.85rem;
}

.gt-category .gt-latest__head h1 {
	margin: 0 0 1.25rem;
	font-size: 1.85rem;
}

.gt-footer-wrap footer.footer_wrap {
	margin-top: 0;
}

/* Legacy WP/Elementor page bodies inside native shell */
.gt-legacy-content {
	background: var(--gt-page);
	color: var(--gt-text);
}

.gt-legacy-content .page_content_wrap {
	padding: 1.75rem 0 2.5rem;
}

.gt-legacy-content .content_wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.gt-legacy-content .top_panel,
.gt-legacy-content .menu_mobile,
.gt-legacy-content .menu_mobile_overlay {
	display: none !important;
}

.gt-legacy-content .post_content,
.gt-legacy-content .post_content_single {
	font-size: 1rem;
	line-height: 1.65;
}

.gt-legacy-content .post_title,
.gt-legacy-content h1.entry-title {
	font-family: Lora, Georgia, serif;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.25;
	margin: 0 0 1rem;
}

.gt-legacy-content .post_categories a,
.gt-legacy-content .post_meta a {
	color: var(--gt-accent);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.gt-legacy-content .post_featured {
	margin-bottom: 1.25rem;
	border-radius: 4px;
	overflow: hidden;
}

.gt-legacy-content .post_featured_bg,
.gt-legacy-content .post_featured.with_thumb img,
.gt-legacy-content .gt-single-lead__img {
	display: block;
	width: 100%;
	height: auto;
}

.gt-legacy-content .post_featured.with_thumb img:not(.gt-single-lead__img),
.gt-legacy-content .post_featured_bg[class*='gutentype_inline_'] {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.gt-legacy-content .post_featured_bg[class*='gutentype_inline_'] {
	min-height: min(52vw, 340px);
	background-size: cover;
	background-position: center;
}

.gt-legacy-content .gt-single-lead {
	margin-bottom: 1.5rem;
	border-radius: 4px;
	overflow: hidden;
}

.gt-legacy-content .gt-single-lead__img {
	width: 100%;
	height: auto;
	max-height: min(52vw, 360px);
	object-fit: contain;
	background: #111;
}

.gt-legacy-content .related_wrap {
	max-width: 1200px;
	margin: 2.5rem auto 0;
	padding: 0 1.25rem;
}

.gt-legacy-content .related_wrap_title,
.gt-legacy-content .section_title.related_wrap_title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
}

.gt-legacy-content .related_wrap .posts_container,
.gt-legacy-content .related_wrap .columns_wrap {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.gt-legacy-content .related_wrap [class*='column-'] {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.gt-legacy-content .related_wrap .post_item.post_layout_light {
	background: var(--gt-card);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.gt-legacy-content .related_wrap .post_featured {
	margin: 0;
	order: -1;
}

.gt-legacy-content .related_wrap .post_featured .mask,
.gt-legacy-content .related_wrap .post_featured a.icons {
	display: none !important;
}

.gt-legacy-content .related_wrap .post_featured img,
.gt-legacy-content .related_wrap .post_featured_bg {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	min-height: 0;
}

.gt-legacy-content .related_wrap .wrap_light {
	padding: 1rem 1.1rem 1.15rem;
}

.gt-legacy-content .related_wrap .post_title {
	margin: 0 0 0.35rem;
	font-family: Lora, Georgia, serif;
	font-size: 1.05rem;
	line-height: 1.35;
}

.gt-legacy-content .related_wrap .post_title a {
	color: inherit;
	text-decoration: none;
}

.gt-legacy-content .related_wrap .post_categories a {
	color: var(--gt-accent);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.gt-legacy-content .elementor-section.elementor-section-stretched {
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	width: 100vw !important;
}

@media (max-width: 900px) {
	.gt-shell nav.gt-nav > ul {
		display: none;
	}

	.gt-post-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.gt-partners__grid {
		grid-template-columns: 1fr;
	}

	.gt-hero__viewport {
		height: clamp(280px, 62vw, 420px);
	}

	.gt-legacy-content .related_wrap .posts_container,
	.gt-legacy-content .related_wrap .columns_wrap {
		grid-template-columns: 1fr;
	}
}
