/* MADEF Manşet Slaytı — tüm kurallar .mhs kapsamında (tema ile çakışmaz) */

.mhs {
	--mhs-accent: #e0761b;
	--mhs-radius: 18px;
	--mhs-ink: #0d141d;
	position: relative;
	color: #fff;
	font-family: inherit;
	line-height: 1.45;
}
.mhs *, .mhs *::before, .mhs *::after { box-sizing: border-box; }
.mhs p, .mhs h2 { margin: 0; padding: 0; }
.mhs a { text-decoration: none; color: inherit; box-shadow: none; border: 0; }
.mhs a:hover { text-decoration: none; }
.mhs img { display: block; max-width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.mhs button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }

/* ---------- sahne ---------- */
.mhs__stage {
	position: relative;
	overflow: hidden;
	border-radius: var(--mhs-radius);
	background: #0d141d;
	box-shadow: 0 18px 48px -20px rgba(9, 14, 22, .5);
}
.mhs--r16-9 .mhs__stage { aspect-ratio: 16 / 9; }
.mhs--r3-2  .mhs__stage { aspect-ratio: 3 / 2; }
.mhs--r4-3  .mhs__stage { aspect-ratio: 4 / 3; }
.mhs--r21-9 .mhs__stage { aspect-ratio: 21 / 9; }
@supports not (aspect-ratio: 16/9) {
	.mhs__stage { height: 0; padding-bottom: 56.25%; }
}

.mhs__track { position: absolute; inset: 0; }

.mhs__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility 0s linear .7s;
}
.mhs__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .7s ease, visibility 0s;
	z-index: 1;
}

.mhs__media { position: absolute; inset: 0; overflow: hidden; }
.mhs__media img,
.mhs__ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mhs__ph {
	background:
		radial-gradient(120% 130% at 25% 20%, hsl(var(--mhs-hue, 30) 40% 55%) 0%, hsl(var(--mhs-hue, 30) 45% 32%) 55%, hsl(var(--mhs-hue, 30) 48% 20%) 100%);
}
.mhs__ph::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 26px 26px;
}

/* yavaş yakınlaşma */
.mhs--kb .mhs__slide.is-active .mhs__media img { animation: mhs-kb 9s ease-out forwards; }
@keyframes mhs-kb { from { transform: scale(1.001); } to { transform: scale(1.09); } }

.mhs__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(to top, rgba(8, 12, 18, .93) 0%, rgba(8, 12, 18, .72) 26%, rgba(8, 12, 18, .28) 52%, rgba(8, 12, 18, .05) 75%),
		linear-gradient(to right, rgba(8, 12, 18, .55) 0%, rgba(8, 12, 18, 0) 55%);
}

/* ---------- yazı ---------- */
.mhs__content {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 3;
	padding: 0 clamp(20px, 4vw, 52px) clamp(58px, 7vw, 76px);
}
.mhs__inner { max-width: 760px; }

.mhs__slide.is-active .mhs__chip    { animation: mhs-up .55s .05s cubic-bezier(.2,.7,.3,1) both; }
.mhs__slide.is-active .mhs__title   { animation: mhs-up .55s .13s cubic-bezier(.2,.7,.3,1) both; }
.mhs__slide.is-active .mhs__excerpt { animation: mhs-up .55s .21s cubic-bezier(.2,.7,.3,1) both; }
.mhs__slide.is-active .mhs__meta    { animation: mhs-up .55s .29s cubic-bezier(.2,.7,.3,1) both; }
@keyframes mhs-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.mhs__chip {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--mhs-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1;
}
.mhs__title {
	font-size: clamp(21px, 2.9vw, 40px);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -.015em;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mhs__title a { color: #fff; background-image: linear-gradient(var(--mhs-accent), var(--mhs-accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s ease; }
.mhs__title a:hover { background-size: 100% 2px; }

.mhs__excerpt {
	margin-top: 12px;
	font-size: clamp(13.5px, 1.15vw, 16px);
	color: rgba(255, 255, 255, .8);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mhs__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, .65);
}
.mhs__cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .26);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.mhs__cta:hover { background: var(--mhs-accent); border-color: var(--mhs-accent); transform: translateX(3px); }
.mhs__cta svg { transition: transform .22s ease; }
.mhs__cta:hover svg { transform: translateX(3px); }

/* ---------- bölünmüş panel stili ---------- */
.mhs--split .mhs__scrim {
	background: linear-gradient(to right, rgba(8, 12, 18, .92) 0%, rgba(8, 12, 18, .74) 38%, rgba(8, 12, 18, .12) 68%, rgba(8, 12, 18, 0) 100%);
}
.mhs--split .mhs__content {
	inset: 0 auto 0 0;
	display: flex;
	align-items: center;
	width: min(58%, 640px);
	padding: clamp(24px, 3.5vw, 56px);
}
.mhs--split .mhs__title { -webkit-line-clamp: 4; }
@media (max-width: 780px) {
	.mhs--split .mhs__content { inset: auto 0 0 0; width: 100%; align-items: flex-end; padding-bottom: 62px; }
	.mhs--split .mhs__scrim { background: linear-gradient(to top, rgba(8,12,18,.94) 0%, rgba(8,12,18,.6) 40%, rgba(8,12,18,.1) 78%); }
}

/* ---------- oklar ---------- */
.mhs__nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(12, 18, 26, .4);
	border: 1px solid rgba(255, 255, 255, .22);
	backdrop-filter: blur(10px);
	color: #fff;
	opacity: 0;
	transition: opacity .25s ease, background .22s ease, transform .22s ease;
}
.mhs:hover .mhs__nav, .mhs__nav:focus-visible { opacity: 1; }
.mhs__nav:hover { background: var(--mhs-accent); border-color: var(--mhs-accent); }
.mhs__nav--prev { left: 18px; }
.mhs__nav--next { right: 18px; }
.mhs__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.mhs__nav--next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 780px) {
	.mhs__nav { opacity: 1; width: 40px; height: 40px; }
	.mhs__nav--prev { left: 10px; }
	.mhs__nav--next { right: 10px; }
}

/* ---------- sayaç ---------- */
.mhs__counter {
	position: absolute;
	top: 20px;
	right: 22px;
	z-index: 5;
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(12, 18, 26, .45);
	backdrop-filter: blur(8px);
	font-size: 12.5px;
	font-weight: 700;
	color: rgba(255, 255, 255, .7);
	letter-spacing: .04em;
}
.mhs__cur { color: #fff; }
.mhs__sep { opacity: .5; }

/* ---------- ilerleme çubukları ---------- */
.mhs__bullets {
	position: absolute;
	left: clamp(20px, 4vw, 52px);
	bottom: clamp(22px, 3vw, 30px);
	z-index: 5;
	display: flex;
	gap: 8px;
	align-items: center;
}
.mhs__bullet {
	position: relative;
	width: 34px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .3);
	overflow: hidden;
	transition: width .3s ease, background .3s ease;
}
.mhs__bullet:hover { background: rgba(255, 255, 255, .5); }
.mhs__bullet.is-active { width: 54px; background: rgba(255, 255, 255, .28); }
.mhs__bullet-fill {
	position: absolute;
	inset: 0;
	width: 0;
	background: var(--mhs-accent);
	border-radius: 999px;
}
.mhs__bullet.is-active .mhs__bullet-fill { width: 100%; transition: width linear; }
.mhs__bullet.is-active.no-anim .mhs__bullet-fill { transition: none; width: 100%; }

/* ---------- küçük resim şeridi ---------- */
.mhs__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.mhs__thumbs::-webkit-scrollbar { display: none; }
.mhs__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 152px;
	text-align: left;
	border-radius: 12px;
	overflow: hidden;
	background: #0d141d;
	opacity: .55;
	transition: opacity .25s ease, transform .25s ease;
}
.mhs__thumb:hover { opacity: .85; }
.mhs__thumb.is-active { opacity: 1; }
.mhs__thumb.is-active::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: var(--mhs-accent);
}
.mhs__thumb-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.mhs__thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.mhs__thumb-title {
	display: block;
	padding: 8px 10px 11px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.32;
	color: rgba(255, 255, 255, .9);
	background: rgba(13, 20, 29, .96);
}
@media (max-width: 640px) { .mhs__thumbs { display: none; } }

@media (prefers-reduced-motion: reduce) {
	.mhs__slide, .mhs__chip, .mhs__title, .mhs__excerpt, .mhs__meta { animation: none !important; transition: opacity .2s linear; }
	.mhs--kb .mhs__slide.is-active .mhs__media img { animation: none; }
}
