/* ==========================================================================
   Blog Yazıları — Frontend
   ========================================================================== */

.by-bolum {
	background: #f3f8fc !important;
	padding: 70px 24px;
	box-sizing: border-box;
}
.by-bolum * { box-sizing: border-box; }

/* --- Başlık alanı --- */
.by-baslik-alan { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.by-ust-etiket {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 13px;
	font-weight: 700;
	color: #2a6df4;
	margin-bottom: 12px;
}
.by-bolum-baslik {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	color: #14223a;
	margin: 0;
	line-height: 1.15;
}

/* --- Grid --- */
.by-grid {
	display: grid;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: stretch;
}
.by-grid.by-sutun-2 { grid-template-columns: repeat(2, 1fr); }
.by-grid.by-sutun-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Kart --- */
.by-kart {
	background: #fff;
	border-radius: 18px;
	padding: 26px 24px 24px;
	box-shadow: 0 10px 30px rgba(20, 40, 80, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.by-kart:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 44px rgba(20, 40, 80, 0.12);
}

/* Üst: kategori + başlık (metin en üstte) */
.by-ust { margin-bottom: 18px; }

.by-kategori {
	display: inline-block;
	background: #e7f0fe;
	color: #2a6df4;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 5px 12px;
	border-radius: 999px;
	text-decoration: none;
	margin-bottom: 12px;
}
.by-kategori:hover { background: #d7e6fd; }

.by-baslik {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0;
}
.by-baslik a { color: #14223a; text-decoration: none; transition: color .2s; }
.by-baslik a:hover { color: #2a6df4; }

/* Görsel (başlığın altında) */
.by-gorsel {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 18px;
	background: linear-gradient(135deg, #dbe7f5, #b9cfe8);
}
.by-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.by-kart:hover .by-gorsel img { transform: scale(1.05); }
.by-gorsel-bos { display: block; width: 100%; height: 100%; }

/* Özet */
.by-ozet {
	color: #51607a;
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 20px;
	flex-grow: 1;
}

/* Meta: yazar + tarih + okuma */
.by-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid #eef2f7;
}
.by-yazar { display: inline-flex; align-items: center; gap: 9px; }
.by-avatar { border-radius: 50%; display: block; }
.by-yazar-ad { font-size: 14px; font-weight: 600; color: #14223a; }
.by-detay { font-size: 13px; color: #8a93a0; display: inline-flex; align-items: center; gap: 7px; }
.by-ayrac { color: #c4ccd6; }

/* Devamını oku */
.by-devam {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: #2a6df4;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: gap .2s;
}
.by-devam:hover { gap: 13px; }

/* Animasyon */
.by-anim { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.by-anim.gorundu { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .by-anim { opacity: 1; transform: none; transition: none; } }

.by-bos { text-align: center; color: #8a93a0; padding: 40px; }

/* Responsive */
@media (max-width: 1024px) {
	.by-grid.by-sutun-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.by-bolum { padding: 48px 16px; }
	.by-grid.by-sutun-2, .by-grid.by-sutun-3 { grid-template-columns: 1fr; }
}
