/* Veryansın — Cumhuriyet Kimliği
 * --vy-header satır içinde, ayarlardan gelir. */

:root {
	--vy-kirmizi: #E30A17;
	--vy-serit-bg: #1f2226;
	--vy-serit-fg: #f2f2f2;
}

/* ---------- Header rengi (yalnızca açık mod; Kanews karanlık modu kendi rengini korur) ---------- */
html:not(.dark-mode) body.vy-header .site-header .site-header-wrapper {
	background-color: var(--vy-header);
}

/* ---------- Kanews'in renkli çizgisi yerine bayrak kırmızısı ---------- */
body.vy-cizgi.header-line .site-navbar:before,
body.vy-cizgi.header-line .site-head-2:before {
	background: var(--vy-kirmizi);
	height: 2px;
}

/* ---------- Şerit ---------- */
.vy-serit.vy-gizli { display: none; }
.vy-serit {
	background: var(--vy-serit-bg);
	color: var(--vy-serit-fg);
	border-top: 1px solid rgba(255, 255, 255, .06);
	border-bottom: 2px solid var(--vy-kirmizi);
	font-family: var(--kan-font-family, inherit);
	font-size: 12px;
	line-height: 1.3;
	position: relative;
	z-index: 1;
}
.vy-serit .vy-serit-ic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.vy-serit .vy-metin {
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	min-width: 0;
}
.vy-serit .vy-metin b {
	color: #ff3b45;
	font-weight: 700;
}
.vy-serit .vy-sag {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	white-space: nowrap;
}
.vy-serit .vy-bugun {
	font-weight: 500;
	opacity: .72;
}
.vy-serit .vy-kisa { display: none; }

/* Özel günlerde metin uzun olabilir: büyük harf yok, tarih gizli, gerekirse iki satır */
.vy-serit.vy-bayram .vy-metin,
.vy-serit.vy-anma .vy-metin,
.vy-serit.vy-yas .vy-metin,
.vy-serit.vy-tarih .vy-metin {
	text-transform: none;
	letter-spacing: .01em;
	font-weight: 600;
}
.vy-serit.vy-bayram .vy-bugun,
.vy-serit.vy-anma .vy-bugun,
.vy-serit.vy-yas .vy-bugun { display: none; }
.vy-serit.vy-tarih .vy-metin b { color: inherit; }

/* Bayram: kırmızı şerit */
.vy-serit.vy-bayram {
	background: #c8101a;
	color: #fff;
	border-bottom-color: #9e0b13;
}
.vy-serit.vy-bayram .vy-metin b { color: #fff; }

/* Anma: siyah şerit, header olduğu gibi */
.vy-serit.vy-anma {
	background: #0c0d0f;
	color: #e9e9e9;
	border-bottom-color: #0c0d0f;
}
.vy-serit.vy-anma .vy-metin b { color: inherit; }

/* Yas (10 Kasım): siyah header, gri logo, kurdele */
html.vy-gun-yas:not(.dark-mode) body .site-header .site-header-wrapper { background-color: #0b0b0b; }
html.vy-gun-yas body.header-line .site-navbar:before,
html.vy-gun-yas body.header-line .site-head-2:before { background: #000; }
html.vy-gun-yas .site-header-logo img { filter: grayscale(1) brightness(1.6); }
.vy-serit.vy-yas {
	background: #000;
	color: #e9e9e9;
	border-top-color: rgba(255, 255, 255, .08);
	border-bottom-color: #000;
}
.vy-serit.vy-yas .vy-metin b { color: inherit; }
.vy-kurdele {
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	overflow: hidden;
	pointer-events: none;
	z-index: 20;
}
.vy-kurdele:before {
	content: "";
	position: absolute;
	top: 9px;
	right: -17px;
	width: 70px;
	height: 9px;
	background: #000;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
	transform: rotate(45deg);
}

/* ---------- 10 Kasım saygı ekranı ---------- */
html.vy-saygi-acik { overflow: hidden; }
.vy-saygi {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: #050505;
	color: #eee;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	font-family: var(--kan-font-family, inherit);
}
.vy-saygi .vy-s1 {
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .6;
	margin-bottom: 12px;
}
.vy-saygi .vy-s2 {
	font-size: clamp(18px, 4.6vw, 26px);
	font-weight: 600;
	line-height: 1.35;
	max-width: 520px;
}
.vy-saygi .vy-bar {
	width: 180px;
	height: 2px;
	background: rgba(255, 255, 255, .15);
	margin-top: 34px;
	position: relative;
}
.vy-saygi .vy-bar i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
	background: #fff;
	opacity: .65;
	transition: width 0s linear;
}
.vy-saygi .vy-kapat {
	margin-top: 24px;
	font: inherit;
	font-size: 13px;
	color: #eee;
	opacity: .6;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 20px;
	padding: 6px 16px;
	cursor: pointer;
}
.vy-saygi .vy-kapat:hover,
.vy-saygi .vy-kapat:focus-visible { opacity: 1; outline: none; border-color: #fff; }
@media (prefers-reduced-motion: reduce) {
	.vy-saygi .vy-bar i { transition: none !important; }
}

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
	.vy-serit { font-size: 11px; }
	.vy-serit .vy-serit-ic { min-height: 30px; gap: 10px; }
	.vy-serit .vy-uzun { display: none; }
	.vy-serit .vy-kisa { display: inline; }
}
@media (max-width: 380px) {
	.vy-serit .vy-bugun { display: none; }
}
