.efdal-page-calligraphy {
	--efdal-calligraphy-page-height: 100vh;
	--efdal-calligraphy-base-opacity: 0.018;
	--efdal-calligraphy-light-opacity: 0.115;
	--efdal-calligraphy-light-top: 0px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
	width: min(48vw, 720px);
	height: var(--efdal-calligraphy-page-height);
	overflow: hidden;
	pointer-events: none;
	mix-blend-mode: multiply;
}

.efdal-page-calligraphy__base,
.efdal-page-calligraphy__light {
	position: absolute;
	right: 0;
	width: 100%;
	background-image: url('../img/edep-ya-hu-watermark-v2.png');
	background-repeat: repeat-y;
	background-position: right 2vw top 90px;
	background-size: clamp(330px, 42vw, 660px) auto;
}

.efdal-page-calligraphy__base {
	inset-block: 0;
	opacity: var(--efdal-calligraphy-base-opacity);
}

.efdal-page-calligraphy__light {
	top: var(--efdal-calligraphy-light-top);
	height: 120vh;
	background-position: right 2vw top calc(90px - var(--efdal-calligraphy-light-top));
	opacity: var(--efdal-calligraphy-light-opacity);
	mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.15) 15%, #000 43%, #000 57%, rgba(0, 0, 0, 0.15) 85%, transparent 100%);
	will-change: top, background-position;
}

.efdal-page-calligraphy__label {
	position: absolute;
	top: calc(var(--efdal-calligraphy-light-top) + 60vh);
	right: clamp(22px, 2.2vw, 42px);
	color: #206560;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.26em;
	opacity: 0.38;
	text-transform: uppercase;
	transform: translateY(-50%) rotate(-90deg);
	transform-origin: center;
	white-space: nowrap;
	will-change: top;
}

body > *:not(.efdal-page-calligraphy):not(.efdal-header) {
	position: relative;
	z-index: 1;
}

.efdal-header,
.efdal-header * {
	box-sizing: border-box;
}

.efdal-header {
	position: sticky;
	top: 0;
	z-index: 120;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	color: #123d38;
	font-family: 'Manrope', system-ui, sans-serif;
	box-shadow: 0 1px 0 rgba(18, 61, 56, 0.09);
	backdrop-filter: blur(14px);
}

.efdal-header__shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1480px, calc(100% - 48px));
	margin: 0 auto;
}

.efdal-header__topbar {
	background: var(--efdal-header-accent, #206560);
	color: rgba(255, 255, 255, 0.78);
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 13px;
	letter-spacing: 0.03em;
}

.efdal-header__topbar .efdal-header__shell {
	display: grid;
	grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
	gap: 24px;
	min-height: 42px;
}

.efdal-header__official {
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.efdal-header__niyaz {
	color: #fff;
	font-family: 'Newsreader', Georgia, serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .012em;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

.efdal-header__contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.efdal-header__contact a,
.efdal-header__contact span {
	color: inherit;
	text-decoration: none;
}

.efdal-header__contact > * + * {
	position: relative;
}

.efdal-header__contact > * + *::before {
	position: absolute;
	top: 50%;
	left: -10px;
	width: 1px;
	height: 10px;
	background: rgba(255, 255, 255, 0.22);
	content: '';
	transform: translateY(-50%);
}

.efdal-header__main .efdal-header__shell {
	min-height: 94px;
}

.efdal-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 238px;
	color: #123d38;
	text-decoration: none !important;
}

.efdal-header__brand img {
	display: block;
	width: 68px;
	height: 68px;
	object-fit: contain;
}

.efdal-header__brand span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.efdal-header__brand strong {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
}

.efdal-header__brand small {
	color: rgba(18, 61, 56, 0.58);
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.efdal-header__nav {
	display: flex;
	align-self: stretch;
}

.efdal-header__menu-list {
	display: flex;
	align-items: stretch;
	gap: clamp(15px, 1.45vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.efdal-header__menu-list > li {
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
}

.efdal-header__menu-list a {
	position: relative;
	display: flex;
	align-items: center;
	color: rgba(18, 61, 56, 0.78);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
}

.efdal-header__menu-list a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--efdal-header-gold, #bd9332);
	content: '';
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms ease;
}

.efdal-header__menu-list a:hover,
.efdal-header__menu-list a:focus-visible {
	color: var(--efdal-header-accent, #206560);
}

.efdal-header__menu-list a:hover::after,
.efdal-header__menu-list a:focus-visible::after,
.efdal-header__menu-list .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.efdal-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 22px;
}

.efdal-header__donate {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	min-height: 52px;
	padding: 0 9px 0 20px;
	border: 1px solid var(--efdal-header-accent, #206560);
	background: var(--efdal-header-accent, #206560);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 180ms ease, color 180ms ease;
}

.efdal-header__donate i {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	background: var(--efdal-header-gold, #bd9332);
	color: #fff;
	font-size: 15px;
	font-style: normal;
}

.efdal-header__donate:hover {
	background: #174c48;
}

.efdal-header__donate[aria-current='page'] {
	border-color: var(--efdal-header-gold, #bd9332);
	background: var(--efdal-header-gold, #bd9332);
}

.efdal-header__toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 12px;
	border: 1px solid rgba(18, 61, 56, 0.15);
	background: #fff;
	cursor: pointer;
}

.efdal-header__toggle span {
	display: block;
	width: 100%;
	height: 1px;
	margin: 5px 0;
	background: #123d38;
	transition: transform 180ms ease, opacity 180ms ease;
}

.efdal-motto {
	--efdal-motto-green: #206560;
	--efdal-motto-gold: #bd9332;
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--efdal-motto-green);
	font-family: 'Manrope', system-ui, sans-serif;
}

.efdal-motto p {
	margin: 0;
	color: inherit;
}

.efdal-motto__line {
	width: clamp(34px, 5vw, 76px);
	height: 1px;
	background: var(--efdal-motto-gold);
}

.efdal-motto__mark {
	width: 5px;
	height: 5px;
	border: 1px solid var(--efdal-motto-gold);
	transform: rotate(45deg);
}

.efdal-motto--separator {
	justify-content: center;
	padding: 28px 0;
	font-size: clamp(16px, 1.3vw, 20px);
	font-weight: 500;
	letter-spacing: 0.01em;
}

.efdal-motto--eyebrow {
	gap: 12px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.efdal-motto--eyebrow .efdal-motto__mark,
.efdal-motto--quote .efdal-motto__mark,
.efdal-motto--banner .efdal-motto__mark {
	display: none;
}

.efdal-motto--quote {
	justify-content: center;
	padding: clamp(48px, 8vw, 110px) 24px;
	font-size: clamp(34px, 5vw, 76px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-align: center;
}

.efdal-motto--quote .efdal-motto__line {
	display: none;
}

.efdal-motto--banner {
	justify-content: center;
	padding: 18px 28px;
	background: var(--efdal-motto-green);
	color: #fff;
	font-size: clamp(15px, 1.2vw, 18px);
	font-weight: 500;
	letter-spacing: 0.06em;
}

.efdal-motto--banner .efdal-motto__line {
	background: var(--efdal-motto-gold);
}

@media (max-width: 1280px) {
	.efdal-header__contact > span {
		display: none;
	}
}

@media (max-width: 1180px) {
	.efdal-header__shell {
		width: min(100% - 32px, 1120px);
	}

	.efdal-header__main .efdal-header__shell {
		position: relative;
		min-height: 82px;
	}

	.efdal-header__brand img {
		width: 54px;
		height: 54px;
	}

	.efdal-header__nav {
		position: absolute;
		top: 100%;
		right: -16px;
		left: -16px;
		display: block;
		max-height: 0;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.985);
		box-shadow: 0 22px 50px rgba(18, 61, 56, 0.12);
		opacity: 0;
		transition: max-height 320ms ease, opacity 180ms ease;
	}

	.efdal-header__menu-list {
		display: block;
		padding: 18px 24px 28px;
	}

	.efdal-header__menu-list > li,
	.efdal-header__menu-list a {
		display: block;
	}

	.efdal-header__menu-list a {
		padding: 13px 0;
		border-bottom: 1px solid rgba(18, 61, 56, 0.08);
		font-size: 16px;
	}

	.efdal-header__menu-list a::after {
		display: none;
	}

	.efdal-header__toggle {
		display: block;
	}

	.efdal-header.is-menu-open .efdal-header__nav {
		max-height: 620px;
		opacity: 1;
	}

	.efdal-header.is-menu-open .efdal-header__toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.efdal-header.is-menu-open .efdal-header__toggle span:nth-child(2) {
		opacity: 0;
	}

	.efdal-header.is-menu-open .efdal-header__toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

@media (max-width: 820px) {
	.efdal-page-calligraphy {
		width: 76vw;
	}

	.efdal-page-calligraphy__base,
	.efdal-page-calligraphy__light {
		background-position-x: right -54px;
		background-size: 330px auto;
	}

	.efdal-page-calligraphy__label {
		display: none;
	}

	.efdal-header__topbar .efdal-header__shell {
		display: flex;
		justify-content: center;
		min-height: 44px;
	}

	.efdal-header__official {
		display: none;
	}

	.efdal-header__niyaz {
		font-size: 15px;
		white-space: normal;
	}

	.efdal-header__contact {
		display: none;
	}

	.efdal-header__brand {
		min-width: 0;
	}

	.efdal-header__brand span {
		display: none;
	}

	.efdal-header__donate {
		min-height: 42px;
		padding-left: 15px;
	}

	.efdal-header__donate i {
		width: 25px;
		height: 25px;
	}
}

@media (max-width: 480px) {
	.efdal-header__contact a:first-of-type {
		display: none;
	}

	.efdal-header__contact > * + *::before {
		display: none;
	}

	.efdal-header__donate span {
		font-size: 12px;
	}
}

/* Elementor'un kendi tipografi değerleri tanımlanmadığında kullanılan okunabilir taban. */
:where(.elementor-widget-text-editor, .elementor-widget-theme-post-content, .efdal-rich-text) {
	color: rgba(18, 61, 56, 0.74);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: clamp(17px, 1.25vw, 20px);
	line-height: 1.78;
}

:where(.elementor-widget-text-editor, .elementor-widget-theme-post-content, .efdal-rich-text) :where(p, li) {
	font-size: inherit;
	line-height: inherit;
}

:where(.elementor-widget-heading, .efdal-rich-text) h2,
:where(.elementor-widget-theme-post-content) h2 {
	color: #123d38;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: clamp(34px, 4vw, 58px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

:where(.elementor-widget-heading, .efdal-rich-text) h3,
:where(.elementor-widget-theme-post-content) h3 {
	color: #123d38;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: clamp(25px, 2.4vw, 36px);
	font-weight: 550;
	letter-spacing: -0.03em;
	line-height: 1.18;
}

@media (prefers-reduced-motion: reduce) {
	.efdal-page-calligraphy__light,
	.efdal-page-calligraphy__label {
		will-change: auto;
	}

	.efdal-header__nav,
	.efdal-header__toggle span {
		transition: none;
	}
}
