/**
 * Efe Basın - Ön Yüz Tasarımı
 */

.efe-basin-wrapper {
	margin: 40px auto;
	max-width: 1200px;
	padding: 0 20px;
}

/* Basın arşiv sayfası ( /basin-efe/ ) tam genişlik, menüsüz */
.efe-basin-wrapper.efe-basin-wrapper--archive {
	max-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
}

.efe-basin-wrapper.efe-basin-wrapper--archive .efe-basin-layout {
	grid-template-columns: minmax(0, 1fr);
}

.efe-basin-single-wrapper {
	margin: 40px auto;
	max-width: 1200px;
	padding: 0 20px;
}

.efe-basin-single-wrapper .efe-basin-main {
	width: 100%;
}

.efe-basin-single-wrapper .efe-basin-sidebar {
	width: 100%;
}

.efe-basin-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
	gap: 32px;
	align-items: flex-start;
	width: 100%;
}

.efe-basin-main {
	min-width: 0;
}

.efe-basin-sidebar {
	min-width: 0;
}

.efe-basin-sidebar-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #111827;
}

.efe-basin-sidebar-years {
	border-left: 2px solid #e5e7eb;
	padding-left: 14px;
}

.efe-basin-sidebar-year-group {
	margin-bottom: 12px;
}

.efe-basin-sidebar-year-toggle {
	background: none;
	border: none;
	padding: 4px 0;
	margin: 0;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	color: #111827;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.efe-basin-sidebar-year-toggle::after {
	content: '+';
	font-size: 12px;
	color: #9ca3af;
}

.efe-basin-sidebar-year-toggle.is-open::after {
	content: '-';
}

.efe-basin-sidebar-list {
	list-style: none;
	margin: 4px 0 0 0;
	padding: 0;
	display: none;
}

.efe-basin-sidebar-list.is-visible {
	display: block;
}

.efe-basin-sidebar-list li {
	margin-bottom: 4px;
}

.efe-basin-sidebar-list a {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	font-size: 13px;
	color: #4b5563;
	text-decoration: none;
}

.efe-basin-sidebar-list a:hover {
	color: #111827;
	text-decoration: underline;
}

.efe-basin-sidebar-date {
	font-weight: 600;
}

.efe-basin-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 24px 0;
	text-align: left;
}

.efe-basin-year-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.efe-basin-year-link {
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	color: #111827;
	padding: 6px 14px;
	font-size: 13px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

.efe-basin-year-link:hover {
	background-color: #111827;
	color: #ffffff;
	text-decoration: none;
}

.efe-basin-year-link.is-active {
	background-color: #111827;
	color: #ffffff;
	border-color: #111827;
	text-decoration: none;
}

.efe-basin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 0;
	transition: opacity 0.3s ease;
}

.efe-basin-item {
	position: relative;
	overflow: hidden; /* Fotoğraf ve overlay kutu aynı kart içinde */
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	transition: all 0.3s ease;
	cursor: pointer;
	border-radius: 0;
}

.efe-basin-item:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
	border-color: #d1d5db;
}

.efe-basin-thumb-link {
	display: block;
	position: relative; /* Overlay için referans */
	overflow: hidden;
	background-color: #f9fafb;
}

.efe-basin-thumb {
	width: 100%;
	padding-top: 75%;
	background-size: cover;
	background-position: center;
	transition: transform 0.4s ease;
}

.efe-basin-item:hover .efe-basin-thumb {
	transform: scale(1.08);
}

/* Fotoğraftaki tasarım: Siyah kutu ortada şerit, Yıl butonu sol altta ayrı */
.efe-basin-info-box {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
	pointer-events: none; /* Tıklamaları engellemez */
}

.efe-basin-source-box {
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: rgba(31, 30, 28, 0.95);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 10px 18px;
	margin: 0;
	white-space: nowrap;
	z-index: 10;
	pointer-events: auto;
}

.efe-basin-year-button {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #f97316;
	color: #ffffff;
	border-radius: 0;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	display: inline-block;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	margin: 0;
	width: auto;
	min-width: 60px;
	z-index: 3;
}

.efe-basin-year-button:hover {
	background-color: #ea580c;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Lightbox (CSS :target yöntemi) */
.efe-basin-lightbox {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.85);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 20px;
}

.efe-basin-lightbox:target {
	display: flex;
}

.efe-basin-lightbox-inner {
	background-color: #020617;
	color: #f9fafb;
	max-width: 960px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 10px;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
}

.efe-basin-lightbox-close {
	position: absolute;
	top: 12px;
	right: 16px;
	font-size: 28px;
	color: #9ca3af;
	text-decoration: none;
	z-index: 1;
}

.efe-basin-lightbox-close:hover {
	color: #ffffff;
}

.efe-basin-lightbox-image {
	padding: 20px;
	border-right: 1px solid rgba(148, 163, 184, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.efe-basin-lightbox-image img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.efe-basin-lightbox-content {
	padding: 20px 24px 24px 24px;
}

.efe-basin-lightbox-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #9ca3af;
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.efe-basin-lightbox-year {
	font-weight: 700;
}

.efe-basin-lightbox-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px 0;
}

.efe-basin-lightbox-text {
	font-size: 14px;
	line-height: 1.7;
	color: #e5e7eb;
}

.efe-basin-lightbox-text p {
	margin-bottom: 12px;
}

.efe-basin-lightbox-external {
	margin-top: 16px;
}

.efe-basin-lightbox-external a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid #f97316;
	color: #fed7aa;
	text-decoration: none;
	font-size: 13px;
}

.efe-basin-lightbox-external a:hover {
	background-color: #f97316;
	color: #111827;
}

/* Responsive */
@media (max-width: 1024px) {
	.efe-basin-layout {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.efe-basin-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.efe-basin-lightbox-inner {
		grid-template-columns: minmax(0, 1fr);
		max-height: 95vh;
	}

	.efe-basin-lightbox-image {
		border-right: none;
		border-bottom: 1px solid rgba(148, 163, 184, 0.3);
	}
}

@media (max-width: 640px) {
	.efe-basin-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.efe-basin-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.efe-basin-year-menu {
		justify-content: flex-start;
	}

	.efe-basin-wrapper {
		padding: 0 12px;
	}
}




