/* ================================
   HamburgHaber - Video Galeri
   ================================ */

.hhvg-wrap {
	margin: 24px 0;
	max-width: 100%;
	box-sizing: border-box;
	/* Alt çizgi: üstteki başlık kuşağıyla aynı stil, tüm bölümü çerçeveliyor. */
	border-bottom: 2px solid #cfa93c;
	padding-bottom: 20px;
}

.hhvg-ust-satir {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #cfa93c;
	flex-wrap: wrap;
}

.hhvg-baslik-metni {
	font-size: 20px;
	font-weight: 700;
	color: #222;
	margin: 0;
}

.hhvg-tumunu-gor {
	font-size: 14px;
	font-weight: 700;
	color: #555;
	text-decoration: none;
	white-space: nowrap;
}
.hhvg-tumunu-gor:hover { color: #cfa93c; }

/* 1 büyük + birkaç küçük kare kart ızgarası.
   grid-auto-flow: dense sayesinde küçük kartlar büyük kartın etrafındaki
   boşlukları otomatik doldurur. */
.hhvg-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 190px;
	gap: 14px;
	grid-auto-flow: dense;
}

.hhvg-kart {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden !important;
	min-width: 0;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
	transition: box-shadow .2s ease, transform .2s ease;
	/* Grid öğeleri varsayılan olarak içeriğe göre büyüyüp sabit sıra
	   yüksekliğini aşabilir (min-height:auto davranışı). Bunu sıfırlamak,
	   kartın her zaman kendisine ayrılan hücreye tam oturmasını ve
	   başlık metninin alttaki karta taşmamasını sağlar. */
	min-height: 0;
	height: 100%;
}
.hhvg-kart:hover {
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
	transform: translateY(-2px);
}
.hhvg-kart.hhvg-buyuk {
	grid-column: span 2;
	grid-row: span 2;
}

.hhvg-gorsel {
	position: relative;
	flex: 1 1 auto;
	background-size: cover;
	background-position: center;
	background-color: #ddd;
	min-height: 0;
	display: block;
	overflow: hidden;
	transition: transform .35s ease;
}
.hhvg-kart:hover .hhvg-gorsel {
	transform: scale(1.06);
}

.hhvg-oynat-ikon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.9);
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
	transition: background .2s ease;
}
.hhvg-kart:hover .hhvg-oynat-ikon {
	background: #cfa93c;
}
.hhvg-oynat-ikon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 56%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #222;
	transition: border-color .2s ease;
}
.hhvg-kart:hover .hhvg-oynat-ikon::after {
	border-color: transparent transparent transparent #fff;
}
.hhvg-buyuk .hhvg-oynat-ikon { width: 64px; height: 64px; }
.hhvg-buyuk .hhvg-oynat-ikon::after { border-width: 12px 0 12px 20px; }

/* Başlık: çift güvenceli taşma engeli.
   1) -webkit-line-clamp metni 2 satırda "…" ile keser (destekleyen taraycılarda).
   2) max-height + overflow:hidden, line-clamp herhangi bir sebeple devreye
      girmese bile metnin kutunun dışına / alttaki karta taşmasını fiziksel
      olarak imkansız hale getirir. Bu yüzden iki kural birlikte kullanılıyor. */
.hhvg-baslik {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	box-sizing: border-box;
	flex: 0 0 auto;
	max-height: 58px;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
	word-break: break-word;
}
.hhvg-buyuk .hhvg-baslik { max-height: 70px; font-size: 17px; padding: 12px 14px; }

@media (max-width: 782px) {
	.hhvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
	.hhvg-baslik-metni { font-size: 17px; }
	.hhvg-baslik { max-height: 46px; font-size: 12.5px; padding: 7px 9px; }
	.hhvg-buyuk .hhvg-baslik { max-height: 56px; font-size: 14px; padding: 9px 11px; }
	.hhvg-kart:hover { transform: none; }
}
