/* ENDE v2 — page content now lives in post content; keep sections flush like v1. */
.ende-theme .ende-main > .wp-block-post-content > *,
.ende-theme .ende-main > .wp-block-post-content {
	margin-block-start: 0;
	margin-block-end: 0;
}
.ende-theme .ende-main > .wp-block-post-content > .alignfull {
	max-width: none;
}

/* Fix (v1 bug): core "ghost" button rendered a filled box inside the outline. */
.ende-theme .wp-block-button.ende-btn-ghost {
	border: 0 !important;
	padding: 0;
	height: auto;
	min-width: 0;
	background: none;
}
.ende-theme .wp-block-button.ende-btn-ghost .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 2rem;
	border-radius: 8px;
	border: 1.5px solid hsla(0, 0%, 100%, .4);
	background: transparent;
	color: #fff;
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .025em;
	text-decoration: none;
	transition: all .2s cubic-bezier(0, 0, .2, 1);
}
.ende-theme .wp-block-button.ende-btn-ghost .wp-block-button__link:hover {
	border-color: #49b8d6;
	color: #49b8d6;
}
@media (min-width: 768px) {
	.ende-theme .wp-block-button.ende-btn-ghost .wp-block-button__link { height: 3.5rem; }
}

/* Three "Neden ENDE" cards sit on one row on desktop. */
@media (min-width: 1024px) {
	.ende-theme .ende-why-grid:has(> .ende-why-card) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* SEO: visually hidden H1 (readable by Google and screen readers). */
.ende-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
/* Optional visible H1 on the gateway (under the logo). */
.ende-theme .ende-gateway__h1 {
	margin: 1.25rem 0 0;
	font-family: Rajdhani, Inter, system-ui, sans-serif;
	font-size: clamp(1rem, 2.2vw, 1.375rem);
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.3;
	color: rgba(255, 255, 255, .88);
	text-align: center;
	max-width: 40rem;
}
