/**
 * Arsatar Yatırım Akademisi — Knowledge Hub (guide page only)
 * Distinct from VIP (ai-*) — editorial research layout.
 */

body.arsatar-guide-page .wd-content-area,
body.arsatar-guide-page .main-page-wrapper,
body.arsatar-guide-page .site-content,
body.page-template-page-yatirim-rehberi .wd-content-area,
body.page-template-page-yatirim-rehberi .main-page-wrapper {
	background: #f7f6f3 !important;
	padding-top: 0 !important;
}

body.arsatar-guide-page .wd-page-content,
body.arsatar-guide-page .main-page-wrapper > .container,
body.arsatar-guide-page .entry-content,
body.arsatar-guide-page .content-layout-wrapper {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

body.arsatar-guide-page .whb-main-header,
body.arsatar-guide-page .whb-general-header {
	background: #fff !important;
	box-shadow: none !important;
	border-bottom: 1px solid #e2e8f0 !important;
}

/* Footer compact — guide page only */
body.arsatar-guide-page .tt-dynamic-footer .tt-footer-main {
	padding-top: 1.6rem !important;
	padding-bottom: 1.35rem !important;
	gap: 1.15rem 1.6rem !important;
}

body.arsatar-guide-page .tt-dynamic-footer .tt-footer-text p:empty {
	display: none;
}

body.arsatar-guide-page .tt-dynamic-footer .tt-footer-doc-image {
	max-height: 42px;
	width: auto;
}

body.arsatar-guide-page .tt-dynamic-footer .tt-footer-copyright {
	padding: 0.7rem 0 0.85rem !important;
}

.akh-page {
	--akh-ink: #1a2420;
	--akh-muted: #66706a;
	--akh-line: #e8e4dc;
	--akh-paper: #ffffff;
	--akh-canvas: #f7f6f3;
	--akh-green: #1b6b4a;
	--akh-green-deep: #14553b;
	--akh-green-soft: #e8f3ec;
	--akh-petrol: #0c2921;
	--akh-navy: #1c2a32;
	--akh-warn-line: #b0893a;
	--akh-warn-bg: #faf6ef;
	--akh-rail: var(--arsatar-page-rail, 1240px);
	--akh-gutter: var(--arsatar-page-gutter, clamp(16px, 2.5vw, 24px));
	--akh-ease: 170ms ease;
	--akh-read: 40rem;
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
	color: var(--akh-ink);
	background: var(--akh-canvas);
	width: 100%;
}

.akh-rail {
	width: 100%;
	max-width: var(--akh-rail);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--akh-gutter);
	padding-right: var(--akh-gutter);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 5vw, 56px);
	padding-top: clamp(22px, 2.8vw, 36px);
	padding-bottom: clamp(44px, 5.5vw, 72px);
}

.akh-sec-head {
	margin: 0 0 14px;
}

.akh-sec-head--inline {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.akh-sec-head__title {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6d7871;
}

.akh-sec-head__meta {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--akh-green);
}

/* ——— Chapters — clear active / inactive contrast ——— */
.akh-chapters__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 4px;
	border-radius: 14px;
	background: #efece6;
}

.akh-chapter {
	appearance: none;
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition: background var(--akh-ease), border-color var(--akh-ease), color var(--akh-ease), box-shadow var(--akh-ease);
}

.akh-chapter:hover {
	background: rgba(255, 255, 255, 0.55);
}

.akh-chapter.is-active {
	border-color: #15803d;
	background: #15803d;
	box-shadow: none !important;
}

.akh-chapter__num {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #64748b;
	line-height: 1;
	flex-shrink: 0;
}

.akh-chapter.is-active .akh-chapter__num {
	color: #86efac;
}

.akh-chapter__body {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1;
}

.akh-chapter__blurb {
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.25;
	color: #1e293b;
	letter-spacing: -0.01em;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
}

.akh-chapter.is-active .akh-chapter__blurb {
	color: #ffffff;
}

/* ——— Study: article + TOC ——— */
.akh-study {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, 24%);
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
	padding: clamp(22px, 3vw, 32px);
	border-radius: 14px;
	background: var(--akh-paper);
	border: 1px solid var(--akh-line);
}

.akh-toc--mobile {
	display: none;
	margin: 0 0 8px;
	border: 1px solid var(--akh-line);
	border-radius: 10px;
	background: #faf9f6;
}

.akh-toc--mobile > summary {
	list-style: none;
	cursor: pointer;
	padding: 14px 16px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--akh-ink);
}

.akh-toc--mobile > summary::-webkit-details-marker {
	display: none;
}

.akh-toc--mobile[open] > summary {
	border-bottom: 1px solid var(--akh-line);
}

.akh-toc__label {
	margin: 0 0 10px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a948e;
}

.akh-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1px;
}

.akh-toc--mobile .akh-toc__nav {
	padding: 12px 16px 16px;
}

.akh-toc a {
	display: grid;
	grid-template-columns: 1.7rem 1fr;
	gap: 8px;
	align-items: baseline;
	padding: 7px 0;
	font-size: 0.86rem;
	line-height: 1.4;
	color: var(--akh-muted);
	text-decoration: none;
	transition: color var(--akh-ease);
}

.akh-toc a:hover,
.akh-toc a:focus {
	color: var(--akh-green-deep);
	outline: none;
}

.akh-toc a.is-active {
	color: var(--akh-green);
	font-weight: 650;
}

.akh-toc__num {
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	color: #a3aba5;
}

.akh-toc a.is-active .akh-toc__num,
.akh-toc a:hover .akh-toc__num {
	color: var(--akh-green);
}

.akh-toc--desk .akh-toc__sticky {
	position: sticky;
	top: 92px;
	padding: 4px 0 4px 14px;
	border-left: 2px solid #e6efe9;
}

/* ——— Article ——— */
.akh-article[hidden] {
	display: none !important;
}

.akh-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--akh-green);
}

.akh-article__time {
	margin-left: auto;
	letter-spacing: 0.02em;
	text-transform: none;
	font-weight: 550;
	color: #949c96;
}

.akh-article__title {
	margin: 0;
	max-width: var(--akh-read);
	font-size: clamp(1.15rem, 1.7vw, 1.38rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--akh-ink);
}

.akh-article__intro {
	margin: 12px 0 0;
	max-width: var(--akh-read);
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--akh-muted);
}

.akh-takeaways {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--akh-line);
	max-width: var(--akh-read);
}

.akh-takeaways__title {
	margin: 0 0 14px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #88928b;
}

.akh-takeaways__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.akh-takeaways__list li {
	display: grid;
	grid-template-columns: 2.2rem 1fr;
	gap: 10px;
	align-items: start;
}

.akh-takeaways__num {
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	color: var(--akh-green);
	line-height: 1.6;
}

.akh-takeaways__text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #3a4540;
}

.akh-callouts {
	display: grid;
	gap: 10px;
	margin-top: 22px;
	max-width: var(--akh-read);
}

.akh-note {
	padding: 14px 16px;
	border-radius: 8px;
	border: 0;
	border-left: 3px solid transparent;
}

.akh-note__label {
	margin: 0 0 5px;
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.akh-note__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
}

.akh-note--warn {
	background: var(--akh-warn-bg);
	border-left-color: var(--akh-warn-line);
}

.akh-note--warn .akh-note__label {
	color: #8a6824;
}

.akh-note--warn .akh-note__text {
	color: #6a5528;
}

.akh-note--tip {
	background: var(--akh-green-soft);
	border-left-color: var(--akh-green);
}

.akh-note--tip .akh-note__label {
	color: var(--akh-green-deep);
}

.akh-note--tip .akh-note__text {
	color: #355045;
}

.akh-article__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 28px;
	padding: 20px 0 0;
	border-top: 1px solid var(--akh-line);
	max-width: var(--akh-read);
}

.akh-article__cta-copy h3 {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.akh-article__cta-copy p {
	margin: 8px 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--akh-muted);
}

.akh-article__cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

/* Buttons */
.akh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--akh-ease), color var(--akh-ease), border-color var(--akh-ease), transform var(--akh-ease);
}

.akh-btn--primary {
	background: var(--akh-green);
	color: #fff;
}

.akh-btn--primary:hover,
.akh-btn--primary:focus {
	background: #155a3e;
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.akh-btn--text {
	min-height: auto;
	padding: 0;
	background: transparent;
	color: var(--akh-green-deep);
	border: 0;
}

.akh-btn--text:hover,
.akh-btn--text:focus {
	color: var(--akh-green);
	outline: none;
}

.akh-btn--light {
	background: #fff;
	color: var(--akh-petrol);
}

.akh-btn--light:hover,
.akh-btn--light:focus {
	background: #f1f5f2;
	color: var(--akh-petrol);
	outline: none;
}

.akh-btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.akh-btn--outline-light:hover,
.akh-btn--outline-light:focus {
	border-color: #fff;
	color: #fff;
	outline: none;
}

/* ——— Checklist (10 Adımda Kontrol Listesi) ——— */
.akh-checklist {
	padding: clamp(24px, 3.5vw, 36px);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #ffffff;
	margin-top: clamp(28px, 4vw, 40px);
	box-shadow: none !important;
}

.akh-checklist__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 0;
	border-bottom: none;
}

.akh-checklist__head-text h2 {
	margin: 0;
	font-size: clamp(1.18rem, 1.8vw, 1.42rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: #0f172a;
	text-transform: none !important;
}

.akh-checklist__title-highlight {
	color: var(--arsatar-green, #15803d);
}

.akh-checklist__head-text p {
	margin: 6px 0 0;
	max-width: 36rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #64748b;
}

button.akh-checklist__toggle-all,
.akh-checklist__toggle-all {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 4px 8px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: var(--arsatar-green, #15803d) !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-shrink: 0;
	text-transform: none !important;
	letter-spacing: normal !important;
	transition: opacity 0.2s ease, color 0.2s ease;
	height: auto !important;
	min-height: auto !important;
}

.akh-checklist__toggle-all:hover {
	color: var(--arsatar-green-dark, #0f582a) !important;
}

.akh-checklist__toggle-all i {
	font-size: 11.5px;
	transition: transform 0.2s ease;
}

.akh-checklist__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
}

.akh-checklist__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.akh-accordion-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}

.akh-accordion-item:hover {
	border-color: #cbd5e1;
	background: #fbfdfc;
}

.akh-accordion-item.is-open {
	border-color: #86efac;
	background: #fcfdfc;
	box-shadow: 0 4px 12px rgba(22, 101, 52, 0.04);
}

button.akh-accordion-item__header,
.akh-accordion-item__header {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 16px !important;
	padding: 12px 16px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	height: auto !important;
	min-height: auto !important;
	color: inherit !important;
}

.akh-accordion-item__badge {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0f3825;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	flex-shrink: 0;
	line-height: 1;
}

.akh-accordion-item.is-open .akh-accordion-item__badge {
	background: var(--arsatar-green, #15803d);
}

.akh-accordion-item__title {
	flex: 1 1 auto;
	font-size: 13.5px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.45;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.akh-accordion-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 11px;
	transition: transform 0.25s ease, color 0.2s ease;
	flex-shrink: 0;
	margin-left: auto;
}

.akh-accordion-item.is-open .akh-accordion-item__icon {
	transform: rotate(180deg);
	color: var(--arsatar-green, #15803d);
}

.akh-accordion-item__panel {
	padding: 2px 18px 16px 60px;
}

.akh-accordion-item__content p {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: #475569;
	text-align: left;
	text-transform: none !important;
}

/* ——— Finale CTA banner ——— */
.akh-finale {
	background: #0b2f1f;
	color: #ffffff;
	padding: clamp(48px, 6vw, 72px) var(--akh-gutter);
	width: 100%;
}

.akh-finale__inner {
	width: min(760px, 100%);
	margin: 0 auto;
	text-align: center;
}

.akh-finale__inner h2 {
	margin: 0;
	font-size: clamp(1.32rem, 2.4vw, 1.72rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: #ffffff;
}

.akh-finale__lead {
	margin: 14px auto 0;
	max-width: 42rem;
	font-size: clamp(0.92rem, 1.15vw, 1rem);
	line-height: 1.65;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88);
}

.akh-finale__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
}

.akh-finale .akh-btn {
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
}

.akh-finale .akh-btn--light {
	background: #ffffff;
	color: #0b2f1f;
	border: 1px solid #ffffff;
}

.akh-finale .akh-btn--light:hover,
.akh-finale .akh-btn--light:focus {
	background: #f0fdf4;
	color: #15803d;
	outline: none;
}

.akh-finale .akh-btn--outline-light {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.akh-finale .akh-btn--outline-light:hover,
.akh-finale .akh-btn--outline-light:focus {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	outline: none;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
	.akh-study {
		grid-template-columns: minmax(0, 1fr) 210px;
		gap: 28px;
	}
}

@media (max-width: 900px) {
	.akh-chapters__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 8px;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.akh-chapter {
		flex: 0 0 min(70vw, 250px);
		scroll-snap-align: start;
	}

	.akh-study {
		grid-template-columns: 1fr;
	}

	.akh-toc--desk {
		display: none;
	}

	.akh-toc--mobile {
		display: block;
	}
}

@media (max-width: 720px) {
	.akh-checklist__grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.akh-checklist__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.akh-article__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.akh-article__cta-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.akh-finale__actions {
		flex-direction: column;
	}

	.akh-btn--light,
	.akh-btn--outline-light,
	.akh-btn--primary {
		width: 100%;
	}

	.akh-article__time {
		margin-left: 0;
		width: 100%;
	}
}
