/**
 * Akyüz Çelik — Yazı / paylaşım çerçeveleri (demir-çelik konstrüksiyon)
 */

/* ─── Ana içerik alanı ──────────────────────────────────────── */
body.akyuz-brand #primary {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 20px 0 36px !important;
}

body.akyuz-brand .blog-holder-wrap {
	position: relative;
}

/* ─── Çelik çerçeveli yazı kartı ────────────────────────────── */
body.akyuz-brand .blog-holder-wrap > article.post,
body.akyuz-brand .blog-holder-wrap > article.hentry,
body.akyuz-brand .blog-holder-wrap > article.sticky {
	position: relative;
	margin-bottom: 42px !important;
	padding: 28px 28px 24px 32px !important;
	background:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(107, 114, 128, 0.04) 2px,
			rgba(107, 114, 128, 0.04) 3px
		),
		linear-gradient(165deg, #fafbfc 0%, #eef1f5 45%, #e4e8ed 100%) !important;
	border: 2px solid #9ca3af !important;
	border-radius: 2px;
	box-shadow:
		0 4px 6px rgba(44, 50, 56, 0.06),
		0 12px 28px rgba(0, 58, 140, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		inset 0 -1px 0 rgba(107, 114, 128, 0.2) !important;
	transition:
		transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
		box-shadow 0.4s ease;
	overflow: visible;
}

/* L profil köşe bağlantıları */
body.akyuz-brand .blog-holder-wrap > article::before,
body.akyuz-brand .blog-holder-wrap > article::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	pointer-events: none;
	z-index: 2;
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

body.akyuz-brand .blog-holder-wrap > article::before {
	top: 8px;
	left: 8px;
	border-top: 4px solid #6b7280;
	border-left: 4px solid #6b7280;
	box-shadow: -2px -2px 0 rgba(0, 58, 140, 0.15);
}

body.akyuz-brand .blog-holder-wrap > article::after {
	bottom: 8px;
	right: 8px;
	border-bottom: 4px solid #6b7280;
	border-right: 4px solid #6b7280;
	box-shadow: 2px 2px 0 rgba(0, 58, 140, 0.15);
}

/* Üst mavi kaynak hattı */
body.akyuz-brand .blog-holder-wrap > article .entry-header {
	position: relative;
	padding-top: 6px;
}

body.akyuz-brand .blog-holder-wrap > article .entry-header::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #003a8c, #0056c8 40%, #7eb8ff 50%, #0056c8 60%, #003a8c);
	background-size: 200% 100%;
	animation: akyuz-card-weld 4s linear infinite;
	border-radius: 1px;
}

@keyframes akyuz-card-weld {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}

/* Sağ kenar perçinler */
body.akyuz-brand .blog-holder-wrap > article {
	background-image:
		radial-gradient(circle at calc(100% - 14px) 36px, #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		radial-gradient(circle at calc(100% - 14px) calc(100% - 36px), #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(107, 114, 128, 0.04) 2px,
			rgba(107, 114, 128, 0.04) 3px
		),
		linear-gradient(165deg, #fafbfc 0%, #eef1f5 45%, #e4e8ed 100%) !important;
}

/* Hover — kaldırma + kaynak parlaması */
body.akyuz-brand .blog-holder-wrap > article:hover {
	transform: translateY(-6px);
	box-shadow:
		0 8px 12px rgba(44, 50, 56, 0.1),
		0 24px 48px rgba(0, 58, 140, 0.14),
		0 0 0 1px rgba(0, 86, 200, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

body.akyuz-brand .blog-holder-wrap > article:hover::before,
body.akyuz-brand .blog-holder-wrap > article:hover::after {
	border-color: #003a8c;
	box-shadow: 0 0 12px rgba(0, 86, 200, 0.4);
}

/* Sticky yazı — özel çelik plaka */
body.akyuz-brand .blog-holder-wrap > article.sticky {
	background-image:
		linear-gradient(135deg, rgba(0, 58, 140, 0.06) 0%, transparent 50%),
		radial-gradient(circle at calc(100% - 14px) 36px, #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		radial-gradient(circle at calc(100% - 14px) calc(100% - 36px), #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		linear-gradient(165deg, #f0f4fa 0%, #e8edf5 100%) !important;
	box-shadow:
		0 6px 20px rgba(0, 58, 140, 0.15),
		inset 0 0 0 2px rgba(0, 58, 140, 0.2) !important;
}

body.akyuz-brand .blog-holder-wrap .sticky::before {
	color: #003a8c !important;
	text-shadow: 0 0 8px rgba(0, 86, 200, 0.5);
	z-index: 3;
}

/* ─── Başlık & meta ─────────────────────────────────────────── */
body.akyuz-brand .blog-holder-wrap .entry-title {
	font-weight: 700;
	letter-spacing: 0.01em;
}

body.akyuz-brand .blog-holder-wrap .entry-title a {
	position: relative;
	color: #1a1f26 !important;
	transition: color 0.25s ease;
}

body.akyuz-brand .blog-holder-wrap .entry-title a:hover {
	color: #003a8c !important;
}

body.akyuz-brand .blog-holder-wrap .entry-meta {
	padding: 6px 0;
	border-top: 1px dashed rgba(107, 114, 128, 0.35);
	border-bottom: 1px dashed rgba(107, 114, 128, 0.35);
	margin-bottom: 12px;
}

body.akyuz-brand .blog-holder-wrap .cat-links ul li a,
body.akyuz-brand .blog-holder-wrap .tag-links a {
	background: linear-gradient(145deg, #e8eaed, #d1d5db) !important;
	border: 1px solid #9ca3af !important;
	border-radius: 2px !important;
	padding: 2px 8px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ─── Görsel çerçeve ────────────────────────────────────────── */
body.akyuz-brand .blog-holder-wrap .post-image-content {
	position: relative;
	border: 3px solid #6b7280;
	padding: 4px;
	background: linear-gradient(145deg, #4b5563, #2c3238);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.15),
		4px 4px 0 rgba(0, 58, 140, 0.2);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

body.akyuz-brand .blog-holder-wrap article:hover .post-image-content {
	box-shadow:
		inset 0 0 0 1px rgba(126, 184, 255, 0.4),
		6px 6px 0 rgba(0, 86, 200, 0.3);
	transform: translate(-2px, -2px);
}

body.akyuz-brand .blog-holder-wrap .post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	filter: contrast(1.03) saturate(0.95);
	transition: filter 0.35s ease;
}

body.akyuz-brand .blog-holder-wrap article:hover .post-featured-image img {
	filter: contrast(1.08) saturate(1.05);
}

/* ─── İçerik & devamı oku ───────────────────────────────────── */
body.akyuz-brand .blog-holder-wrap .entry-content {
	position: relative;
	padding-left: 4px;
	border-left: 2px solid rgba(0, 58, 140, 0.15);
}

body.akyuz-brand .blog-holder-wrap .more-link,
body.akyuz-brand .blog-holder-wrap .entry-footer .more-link {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 20px;
	background: linear-gradient(145deg, #0056c8, #003a8c) !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid #001f4d;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 3px 10px rgba(0, 58, 140, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.akyuz-brand .blog-holder-wrap .more-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 86, 200, 0.45) !important;
}

/* ─── Ortak çelik panel (tekil yazı + sayfa) ───────────────── */
body.akyuz-brand.single #primary .site-main > article,
body.akyuz-brand.page #primary .site-main {
	position: relative;
	margin-bottom: 30px;
	padding: 32px 32px 36px !important;
	background:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(107, 114, 128, 0.04) 2px,
			rgba(107, 114, 128, 0.04) 3px
		),
		linear-gradient(165deg, #fafbfc 0%, #eef1f5 45%, #e4e8ed 100%) !important;
	border: 2px solid #9ca3af !important;
	border-radius: 2px;
	box-shadow:
		0 4px 6px rgba(44, 50, 56, 0.06),
		0 12px 28px rgba(0, 58, 140, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		inset 0 -1px 0 rgba(107, 114, 128, 0.2) !important;
	overflow: visible;
}

/* L profil köşeler — tekil yazı & sayfa */
body.akyuz-brand.single #primary .site-main > article::before,
body.akyuz-brand.single #primary .site-main > article::after,
body.akyuz-brand.page #primary .site-main::before,
body.akyuz-brand.page #primary .site-main::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	pointer-events: none;
	z-index: 2;
}

body.akyuz-brand.single #primary .site-main > article::before,
body.akyuz-brand.page #primary .site-main::before {
	top: 8px;
	left: 8px;
	border-top: 4px solid #6b7280;
	border-left: 4px solid #6b7280;
	box-shadow: -2px -2px 0 rgba(0, 58, 140, 0.15);
}

body.akyuz-brand.single #primary .site-main > article::after,
body.akyuz-brand.page #primary .site-main::after {
	bottom: 8px;
	right: 8px;
	border-bottom: 4px solid #6b7280;
	border-right: 4px solid #6b7280;
	box-shadow: 2px 2px 0 rgba(0, 58, 140, 0.15);
}

/* Sağ kenar perçinler — tekil yazı & sayfa */
body.akyuz-brand.single #primary .site-main > article,
body.akyuz-brand.page #primary .site-main {
	background-image:
		radial-gradient(circle at calc(100% - 14px) 36px, #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		radial-gradient(circle at calc(100% - 14px) calc(100% - 36px), #9ca3af 0%, #6b7280 40%, #374151 55%, transparent 56%),
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(107, 114, 128, 0.04) 2px,
			rgba(107, 114, 128, 0.04) 3px
		),
		linear-gradient(165deg, #fafbfc 0%, #eef1f5 45%, #e4e8ed 100%) !important;
}

/* Üst kaynak hattı — tekil yazı başlığı */
body.akyuz-brand.single #primary .site-main > article .entry-header {
	position: relative;
	padding-top: 6px;
	margin-bottom: 16px;
}

body.akyuz-brand.single #primary .site-main > article .entry-header::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #003a8c, #0056c8 40%, #7eb8ff 50%, #0056c8 60%, #003a8c);
	background-size: 200% 100%;
	animation: akyuz-card-weld 4s linear infinite;
	border-radius: 1px;
}

/* Üst kaynak hattı — sayfa başlığı */
body.akyuz-brand.page #primary .site-main > .page-header {
	position: relative;
	padding-top: 10px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px dashed rgba(107, 114, 128, 0.35);
}

body.akyuz-brand.page #primary .site-main > .page-header::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #003a8c, #0056c8 40%, #7eb8ff 50%, #0056c8 60%, #003a8c);
	background-size: 200% 100%;
	animation: akyuz-card-weld 4s linear infinite;
	border-radius: 1px;
}

body.akyuz-brand.page #primary .site-main > .page-header .page-title {
	margin-top: 8px;
}

/* İçerik sol kenar vurgusu */
body.akyuz-brand.single #primary .site-main > article .entry-content,
body.akyuz-brand.page #primary .site-main .entry-content {
	position: relative;
	padding-left: 8px;
	border-left: 2px solid rgba(0, 58, 140, 0.15);
}

/* Tekil yazı görsel çerçevesi */
body.akyuz-brand.single #primary .site-main > article .entry-thumb-content {
	border: 3px solid #6b7280;
	padding: 4px;
	background: linear-gradient(145deg, #4b5563, #2c3238);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.15),
		4px 4px 0 rgba(0, 58, 140, 0.2);
	margin-bottom: 20px;
}

body.akyuz-brand.single #primary .site-main > article .entry-thumb-content img {
	display: block;
	width: 100%;
	height: auto;
}

/* Yazı gezinme (önceki/sonraki) */
body.akyuz-brand.single #primary .site-main > .post-navigation {
	margin-top: 24px;
	padding: 16px 20px;
	border: 1px solid #c8cdd4;
	border-left: 3px solid #003a8c;
	background: linear-gradient(180deg, #fafbfc, #eef1f5);
	border-radius: 2px;
}

/* Arşiv / liste başlık paneli */
body.akyuz-brand.archive #primary .site-main > .page-header,
body.akyuz-brand.blog #primary .site-main > .page-header,
body.akyuz-brand.category #primary .site-main > .page-header,
body.akyuz-brand.tag #primary .site-main > .page-header,
body.akyuz-brand.search #primary .site-main > .page-header {
	position: relative;
	margin-bottom: 28px;
	padding: 18px 24px 20px;
	background: linear-gradient(165deg, #fafbfc 0%, #eef1f5 100%);
	border: 2px solid #9ca3af;
	border-radius: 2px;
	box-shadow:
		0 4px 12px rgba(0, 58, 140, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.akyuz-brand.archive #primary .site-main > .page-header::before,
body.akyuz-brand.blog #primary .site-main > .page-header::before,
body.akyuz-brand.category #primary .site-main > .page-header::before,
body.akyuz-brand.tag #primary .site-main > .page-header::before,
body.akyuz-brand.search #primary .site-main > .page-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #003a8c, #0056c8, #003a8c);
	border-radius: 2px 2px 0 0;
}

/* ─── Ön sayfa özellik kutuları → akyuz-home-cards.css ──────── */

/* ─── Sidebar widget çelik panel ────────────────────────────── */
body.akyuz-brand #secondary .widget {
	position: relative;
	overflow: hidden;
	border: 2px solid #9ca3af !important;
	background: linear-gradient(180deg, #fafbfc, #eef1f5) !important;
}

body.akyuz-brand #secondary .widget::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #003a8c, #0056c8, #003a8c);
}

body.akyuz-brand #secondary .widget-title {
	position: relative;
	padding-bottom: 10px !important;
}

@media only screen and (max-width: 767px) {
	body.akyuz-brand .blog-holder-wrap > article.post,
	body.akyuz-brand .blog-holder-wrap > article.hentry {
		padding: 22px 18px 20px 24px !important;
	}

	body.akyuz-brand.single #primary .site-main > article,
	body.akyuz-brand.page #primary .site-main {
		padding: 22px 18px 24px !important;
	}

	body.akyuz-brand .blog-holder-wrap .post-image-content {
		width: 100% !important;
		float: none !important;
		margin-right: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.akyuz-brand .blog-holder-wrap > article .entry-header::before,
	body.akyuz-brand.single #primary .site-main > article .entry-header::before,
	body.akyuz-brand.page #primary .site-main > .page-header::before {
		animation: none;
		background: #003a8c;
		background-size: auto;
	}

	body.akyuz-brand .blog-holder-wrap > article:hover {
		transform: none;
	}
}
