/* =========================================================
   ÖKOHAUS GER
   SMART-TIMBER™ INSIGHTS — CATEGORY HERO
   Applies only to body.page-insights-category
========================================================= */


/* =========================================================
   1. PAGE SHELL
========================================================= */

body.page-insights-category {
	background: #fff;
	color: #151629;
}

.page-insights-category .insights-page-shell {
	position: relative;
	background: #151629;
	overflow: hidden;
}


/* =========================================================
   2. HEADER / MENU OVER HERO
========================================================= */

/*
 * Το menu τοποθετείται πάνω από τη hero εικόνα.
 * Η συμπεριφορά sticky μετά το scroll συνεχίζει να ελέγχεται
 * από το υπάρχον JS.
 */

.page-insights-category #sticky-menu {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	background: transparent;
	transition:
		background-color .3s ease,
		box-shadow .3s ease,
		transform .3s ease;
}

.page-insights-category #sticky-menu .logo_menu {
	position: relative;
	z-index: 2;
}

/*
 * Όταν το υπάρχον JS προσθέσει .sticky,
 * το menu γίνεται σταθερό και αποκτά σκούρο background.
 */

.page-insights-category #sticky-menu.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(21,22,41,.96);
	box-shadow: 0 10px 30px rgba(0,0,0,.16);

	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

/*
 * Κρατάμε τα desktop dropdowns ευανάγνωστα
 * όταν το menu βρίσκεται πάνω στη φωτογραφία.
 */

.page-insights-category #sticky-menu:not(.sticky) .desktop-menu,
.page-insights-category #sticky-menu:not(.sticky) .desktop-menu a {
	color: #fff;
}

.page-insights-category #sticky-menu:not(.sticky) .elx_menu > li > a {
	color: #fff;
}

.page-insights-category #sticky-menu:not(.sticky) .quote_sticky {
	color: #fff;
}

/*
 * Εξασφαλίζει ότι το mobile menu button παραμένει ορατό.
 */

.page-insights-category .mob-menu-icon,
.page-insights-category .mob-menu-close-icon {
	position: relative;
	z-index: 3;
}


/* =========================================================
   3. HERO BASE
========================================================= */

.page-insights-category .insights-hero {
	position: relative;
	width: 100%;
	min-height: 620px;
	background: #151629;
	overflow: hidden;
	isolation: isolate;
}

.page-insights-category .insights-hero-swiper {
	position: relative;
	width: 100%;
	height: clamp(620px, 52vw, 820px);
	min-height: 620px;
	background: #151629;
}

.page-insights-category .insights-hero-swiper,
.page-insights-category .insights-hero-swiper .swiper-wrapper,
.page-insights-category .insights-hero-swiper .swiper-slide {
	width: 100%;
	height: 100%;
}

.page-insights-category .insights-hero-slide {
	position: relative;
	overflow: hidden;
	background: #151629;
}

.page-insights-category .insights-hero-slide picture {
	display: block;
	width: 100%;
	height: 100%;
}

.page-insights-category .insights-hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: scale(1.01);
	will-change: transform;
}


/* =========================================================
   4. INDIVIDUAL IMAGE POSITIONING
========================================================= */

/*
 * Hero 1 — Factory + Engineers
 */

.page-insights-category .insights-hero-slide:first-child img {
	object-position: center 48%;
}

/*
 * Hero 2 — Materials
 */

.page-insights-category .insights-hero-slide:nth-child(2) img {
	object-position: center 52%;
}


/* =========================================================
   5. CINEMATIC OVERLAY
========================================================= */

.page-insights-category .insights-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;

	background:
		linear-gradient(
			90deg,
			rgba(7,8,20,.95) 0%,
			rgba(12,13,30,.86) 24%,
			rgba(14,15,32,.64) 44%,
			rgba(14,15,32,.28) 68%,
			rgba(14,15,32,.10) 100%
		),
		linear-gradient(
			0deg,
			rgba(5,6,16,.54) 0%,
			rgba(5,6,16,.20) 32%,
			rgba(5,6,16,0) 58%
		);
}


/* =========================================================
   6. HERO CONTENT
========================================================= */

.page-insights-category .insights-hero-content {
	position: absolute;
	inset: 0;
	z-index: 4;

	display: flex;
	align-items: center;

	padding-top: 110px;
	padding-bottom: 90px;

	pointer-events: none;
}

.page-insights-category .insights-hero-copy {
	width: min(720px, 62%);
	color: #fff;
	pointer-events: auto;
}

.page-insights-category .insights-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;

	margin: 0 0 18px;

	color: var(--Orange);
	font-family: var(--ohg-font, "AtCorfu", Arial, sans-serif);
	font-size: var(--ohg-kicker-size, 12px) !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	letter-spacing: .07em !important;
	text-transform: uppercase;
}

.page-insights-category .insights-hero-kicker > span {
	display: block;
	width: 42px;
	height: 3px;

	background: var(--Orange);
	border-radius: 8px;
	flex: 0 0 auto;
}

.page-insights-category .insights-hero-copy h1 {
	max-width: 760px;
	margin: 0;

	color: #fff;
	font-family: var(--ohg-font, "AtCorfu", Arial, sans-serif);
	font-size: clamp(1.875rem, 3.2vw, 3rem);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: .012em;
	text-transform: none;

	text-wrap: balance;
}

.page-insights-category .insights-hero-line {
	display: block;
	width: 76px;
	height: 4px;

	margin: 28px 0 24px;

	background: var(--Orange);
	border-radius: 8px;
}

.page-insights-category .insights-hero-copy p {
	max-width: 650px;
	margin: 0;

	color: rgba(255,255,255,.84);
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
}


/* =========================================================
   7. HERO CONTROLS
========================================================= */

.page-insights-category .insights-hero-controls {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 6;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;

	transform: translateX(-50%);
}

.page-insights-category .insights-hero-controls .ui-slider-arrow {
	width: 50px;
	height: 50px;
	flex: 0 0 50px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	border: 1px solid rgba(255,255,255,.34);
	border-radius: 50%;

	background: rgba(21,22,41,.58);
	color: #fff;

	cursor: pointer;

	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);

	transition:
		color .25s ease,
		background-color .25s ease,
		border-color .25s ease,
		transform .25s ease,
		opacity .25s ease;
}

.page-insights-category .insights-hero-controls .ui-slider-arrow svg {
	width: 23px;
	height: 23px;
	fill: none;
}

.page-insights-category .insights-hero-controls .ui-slider-arrow path {
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-insights-category .insights-hero-controls .ui-slider-arrow:hover {
	background: var(--Orange);
	border-color: var(--Orange);
	color: #151629;
	transform: translateY(-2px);
}

.page-insights-category .insights-hero-controls .ui-slider-arrow:active {
	transform: translateY(0);
}

.page-insights-category .insights-hero-controls .ui-slider-arrow:focus-visible {
	outline: 3px solid var(--Orange);
	outline-offset: 3px;
}

.page-insights-category .insights-hero-controls .swiper-button-disabled {
	opacity: .4;
	cursor: default;
	pointer-events: none;
}


/* =========================================================
   8. HERO PAGINATION
========================================================= */

.page-insights-category .insights-hero-pagination {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;

	width: auto !important;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-insights-category .insights-hero-pagination .swiper-pagination-bullet {
	width: 22px;
	height: 5px;

	margin: 0 !important;

	border: 0;
	border-radius: 20px;

	background: rgba(255,255,255,.42);
	opacity: 1;

	cursor: pointer;

	transition:
		width .25s ease,
		background-color .25s ease,
		opacity .25s ease;
}

.page-insights-category .insights-hero-pagination .swiper-pagination-bullet:hover {
	background: rgba(255,255,255,.72);
}

.page-insights-category .insights-hero-pagination .swiper-pagination-bullet-active {
	width: 40px;
	background: var(--Orange);
}


/* =========================================================
   9. FADE TRANSITION REFINEMENT
========================================================= */

.page-insights-category .insights-hero-swiper.swiper-fade
.swiper-slide {
	pointer-events: none;
}

.page-insights-category .insights-hero-swiper.swiper-fade
.swiper-slide-active {
	pointer-events: auto;
}

.page-insights-category .insights-hero-swiper
.swiper-slide-active img {
	animation: insightsHeroZoom 8s ease-out forwards;
}

@keyframes insightsHeroZoom {
	from {
		transform: scale(1.01);
	}

	to {
		transform: scale(1.045);
	}
}


/* =========================================================
   10. REMOVE OLD HERO BEHAVIOUR ON INSIGHTS CATEGORY
========================================================= */

/*
 * Το νέο hero δεν χρησιμοποιεί .hero_cont / #heroid.
 * Αν κατά τη μετάβαση παραμείνει προσωρινά παλιό markup,
 * το κρύβουμε μόνο στη συγκεκριμένη σελίδα.
 */

.page-insights-category #heroid.hero_cont {
	display: none !important;
}

.page-insights-category .container-header_title {
	display: none;
}

/*
 * Το main content πρέπει να ξεκινά ακριβώς μετά το hero.
 */

.page-insights-category .insights-hero + main,
.page-insights-category .insights-page-shell + main {
	margin-top: 0;
	padding-top: 0;
}


/* =========================================================
   11. TABLET
========================================================= */

@media (max-width: 1199px) {

	.page-insights-category .insights-hero-swiper {
		height: 700px;
		min-height: 700px;
	}

	.page-insights-category .insights-hero-copy {
		width: min(690px, 72%);
	}

	.page-insights-category .insights-hero-overlay {
		background:
			linear-gradient(
				90deg,
				rgba(7,8,20,.94) 0%,
				rgba(12,13,30,.82) 32%,
				rgba(14,15,32,.48) 66%,
				rgba(14,15,32,.15) 100%
			),
			linear-gradient(
				0deg,
				rgba(5,6,16,.48) 0%,
				rgba(5,6,16,0) 55%
			);
	}
}


@media (max-width: 991px) {
	.page-insights-category #sticky-menu {
		position: absolute;
	}

	.page-insights-category #sticky-menu.sticky {
		position: fixed;
	}

	.page-insights-category .insights-hero-swiper {
		height: 660px;
		min-height: 660px;
	}

	.page-insights-category .insights-hero-content {
		padding-top: 110px;
		padding-bottom: 110px;
	}

	.page-insights-category .insights-hero-copy {
		width: min(650px, 84%);
	}

	.page-insights-category .insights-hero-copy h1 {
		font-size: clamp(1.875rem, 3.2vw, 3rem);
	}

	.page-insights-category .insights-hero-copy p {
		max-width: 590px;
		font-size: clamp(1rem, 1.25vw, 1.125rem);
	}

	.page-insights-category .insights-hero-controls {
		bottom: 24px;
	}
}


/* =========================================================
   12. MOBILE
========================================================= */

@media (max-width: 767px) {

	.page-insights-category .insights-hero {
		min-height: 650px;
	}

	.page-insights-category .insights-hero-swiper {
		height: 650px;
		min-height: 650px;
	}

	.page-insights-category .insights-hero-slide img {
		object-position: 60% center;
	}

	.page-insights-category
	.insights-hero-slide:nth-child(2) img {
		object-position: 55% center;
	}

	.page-insights-category .insights-hero-overlay {
		background:
			linear-gradient(
				0deg,
				rgba(7,8,21,.97) 0%,
				rgba(9,10,24,.88) 34%,
				rgba(10,11,26,.58) 68%,
				rgba(10,11,26,.20) 100%
			);
	}

	.page-insights-category .insights-hero-content {
		align-items: flex-end;

		padding-top: 120px;
		padding-bottom: 125px;
	}

	.page-insights-category .insights-hero-copy {
		width: 100%;
		max-width: none;
	}

	.page-insights-category .insights-hero-kicker {
		margin-bottom: 14px;
		
		
    
    
}

	.page-insights-category .insights-hero-kicker > span {
		width: 34px;
		height: 2px;
	}

	.page-insights-category .insights-hero-copy h1 {
		max-width: 100%;
		font-size: clamp(1.6875rem, 7.5vw, 2.375rem);
		line-height: 1.2;
		letter-spacing: -.015em;
	}

	.page-insights-category .insights-hero-line {
		width: 58px;
		height: 3px;

		margin: 20px 0 18px;
	}

	.page-insights-category .insights-hero-copy p {
		max-width: 100%;
		font-size: 1rem;
		line-height: 1.65;
		color: rgba(255,255,255,.84);
	}

	.page-insights-category .insights-hero-controls {
		bottom: 24px;
		gap: 11px;
	}

	.page-insights-category
	.insights-hero-controls .ui-slider-arrow {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}

	.page-insights-category
	.insights-hero-controls .ui-slider-arrow svg {
		width: 20px;
		height: 20px;
	}

	.page-insights-category
	.insights-hero-pagination .swiper-pagination-bullet {
		width: 18px;
		height: 4px;
	}

	.page-insights-category
	.insights-hero-pagination .swiper-pagination-bullet-active {
		width: 32px;
	}
}


/* =========================================================
   13. SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

	.page-insights-category .insights-hero {
		min-height: 620px;
	}

	.page-insights-category .insights-hero-swiper {
		height: 620px;
		min-height: 620px;
	}

	.page-insights-category .insights-hero-content {
		padding-bottom: 115px;
	}

	.page-insights-category .insights-hero-copy h1 {
		font-size: clamp(1.6875rem, 7.5vw, 2.375rem);
	}

	.page-insights-category .insights-hero-copy p {
		font-size: 1rem;
	}
}


/* =========================================================
   14. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.page-insights-category
	.insights-hero-swiper .swiper-slide-active img {
		animation: none !important;
		transform: scale(1.01);
	}

	.page-insights-category .insights-hero *,
	.page-insights-category .insights-hero-controls * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   15. CATEGORY TYPOGRAPHY — aligned with template.css
   Scope: Insights listing only; individual articles are unchanged.
   Keep this section after the responsive hero rules.
========================================================= */

body.page-insights-category {
    --insights-body-size: clamp(1rem, 1.25vw, 1.125rem);
    --insights-card-title-size: clamp(1.125rem, 1.5vw, 1.375rem);
}

/* The category hero sits outside #heroid, so shared hero selectors
   in template.css do not reach it. Mirror that scale explicitly. */
html:root body.page-insights-category .insights-hero-copy h1 {
    font-weight: 600 !important;
    line-height: 1.16 !important;
    letter-spacing: .012em !important;
}

html:root body.page-insights-category .insights-hero-copy {
    max-width: 650px;
}

html:root body.page-insights-category .insights-hero-copy p {
    font-family: var(--ohg-font, "AtCorfu", Arial, sans-serif);
    letter-spacing: 0 !important;
}

/* Specific enough to cover a kicker rendered as a paragraph too. */
html:root body.page-insights-category .insights-hero-kicker,
html:root body.page-insights-category .insights-hero-copy .insights-hero-kicker,
html:root body.page-insights-category .okh-insights-kc .okh-kicker {
    font-family: var(--ohg-font, "AtCorfu", Arial, sans-serif);
    font-size: var(--ohg-kicker-size, 12px) !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: .07em !important;
    color: var(--Orange, #F2A123);
}

html:root body.page-insights-category .okh-insights-intro :is(h1,h2) {
    font-size: var(--fs-h2, clamp(1.75rem, 2.8vw, 2.5rem));
    font-weight: 600 !important;
    line-height: 1.22 !important;
    letter-spacing: -.015em !important;
}

html:root body.page-insights-category .okh-insights-intro p {
    font-size: var(--insights-body-size);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
}

html:root body.page-insights-category .okh-insight-navcard h3 {
    font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

html:root body.page-insights-category .okh-insight-navcard p,
html:root body.page-insights-category .okh-insight-description,
html:root body.page-insights-category .insights-authority-card p,
html:root body.page-insights-category .insights-list-grid p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
}

html:root body.page-insights-category .okh-insight-title a,
html:root body.page-insights-category .insights-list-grid h4 a,
html:root body.page-insights-category .insights-authority-card h3 {
    font-size: var(--insights-card-title-size);
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -.01em !important;
}

/* Longer Greek/English titles remain readable when the type grows. */
html:root body.page-insights-category .okh-insight-title a {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

html:root body.page-insights-category .okh-insight-badge-inline {
    font-size: var(--ohg-kicker-size, 12px) !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: .07em !important;
}

html:root body.page-insights-category .okh-insight-meta {
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .015em;
}

html:root body.page-insights-category .okh-insight-cta {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .025em;
}

html:root body.page-insights-category .okh-insights-search label {
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .025em;
}

html:root body.page-insights-category .okh-insights-search input {
    font-family: var(--ohg-font, "AtCorfu", Arial, sans-serif);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    html:root body.page-insights-category .insights-hero-copy h1 {
        line-height: 1.2 !important;
        letter-spacing: -.015em !important;
    }

    html:root body.page-insights-category .insights-hero-copy {
        max-width: 100%;
    }
}
