/*
 * CSS Modernizer
 *   Input:          26 rules
 *   Passes:         2 (converged)
 *   Max nest depth: 0
 *   Compacted:      13 single-declaration rules
 */

/* ==========================================================================
   Cybernetic Nordic - layout layer (CUBE composition)
   Containers, section rhythm, asymmetric grids. No wrapper divs are
   required: every composition primitive is a single grid or flex context.
   ========================================================================== */

@layer layout {
	:root {
		--theme-normal-container-max-width: 1440px;
		--theme-container-wide-max-width: 1440px;
	}
	.ct-container,
	[data-container] {
		max-width: var(--container-wide);
	}
	.ebg-shell {
		width: 100%;
		max-width: var(--container);
		margin-inline: auto;
		padding-inline: var(--gutter);
	}
	.ebg-shell--wide { max-width: var(--container-wide); }
	.ebg-shell--flush { padding-inline: 0; }
	.ebg-section { padding-block: var(--section-py); }
	.ebg-section--sm { padding-block: var(--section-py-sm); }
	.ebg-section--tight { padding-block: var(--space-2xl); }
	.ebg-section--ground { background-color: var(--ebg-surface-0); }
	.ebg-section--tint { background-color: var(--ebg-surface-3); }
	.ebg-section--anchor { background-color: var(--ebg-surface-anchor); }
	/* Asymmetric editorial splits. Fibonacci-ish ratios, never 50/50. */
	.ebg-grid-hero {
		display: grid;
		grid-template-columns: var(--grid-hero);
		gap: clamp(2rem, 5vw, 4.5rem);
		align-items: center;
	}
	.ebg-grid-faq {
		display: grid;
		grid-template-columns: var(--grid-faq);
		gap: clamp(2rem, 5vw, 4rem);
		align-items: start;
	}
	.ebg-grid-3 {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-m);
	}
	.ebg-grid-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(1.5rem, 4vw, 3rem);
	}
	.ebg-cluster {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--space-s);
	}
	.ebg-stack {
		display: flex;
		flex-direction: column;
		gap: var(--space-s);
	}
	.ebg-stack--tight { gap: var(--space-2xs); }
	.ebg-stack--loose { gap: var(--space-l); }
	.ebg-measure { max-width: var(--measure); }
	.ebg-flow > * + * { margin-block-start: var(--space-m); }
	/* Full-bleed band inside a constrained shell. */
	.ebg-bleed {
		width: 100vw;
		max-width: 100vw;
		margin-inline: calc(50% - 50vw);
	}
	.ebg-section-head {
		display: flex;
		flex-wrap: wrap;
		align-items: end;
		justify-content: space-between;
		gap: var(--space-m);
		margin-block-end: var(--space-2xl);
	}
	@media (max-width: 900px) {
		.ebg-grid-hero,
		.ebg-grid-faq,
		.ebg-grid-3,
		.ebg-grid-split {
			grid-template-columns: minmax(0, 1fr);
		}
	}
}

@layer utilities {
	.ebg-pad-inline {
		padding: var(--space-s) var(--space-m);
		border-radius: var(--radius-md);
		background-color: var(--ebg-surface-anchor);
	}
	.ebg-specimen-page { background-color: var(--ebg-surface-0); }
}



/* Header CTA ("Ας μιλήσουμε"): with the current menu labels it runs past the
   bar between 1025px and 1280px, so it hides there (phone link stays). Site
   rule, not library: shorten the menu and this block can go.
   At <=1024px header-h01 already hides it with the rest of the desktop nav. */
@layer overrides {
	@media (min-width: 1025px) and (max-width: 1280px) {
		.ebg-hdr__cta { display: none; }
	}
}
