/* VIGX — Sayfa kabuğu, blog listesi ve yazı sayfası
   Tasarımın kendi bölümleri main.css'te. Burası, tasarımda karşılığı olmayan
   ama WordPress'in ürettiği içerikler için: yeni sayfalar, blog listesi, yazı
   detayı, arşiv ve arama. Tasarımın ölçü ve renklerini kullanır. */

/* ============ Ortak sayfa kabuğu ============ */

/* Arka plan görseli olmayan sayfa başlığı; ürün başlığıyla aynı ışık. */
.vigx-pagehead--plain {
	background:
		radial-gradient(900px 520px at 78% 12%, rgba(239, 65, 35, 0.14), transparent 62%),
		#070707;
}

/* Başlıksız (pagehead'siz) sayfalarda içerik sabit header'ın altından başlasın. */
.vigx-shell {
	padding: 140px 0 120px;
}

.vigx-shell--after-head {
	padding-top: 96px;
}

/* İçerik + kenar çubuğu düzeni. */
.vigx-shell__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 64px;
	align-items: start;
}

/* Okuma genişliği: uzun metin satırları yorucu olmasın. */
.vigx-shell__inner--narrow {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}

/* Kenar çubuğu yokken içerik tüm genişliği kullansın. */
.vigx-shell__inner--full {
	grid-template-columns: minmax(0, 1fr);
}

/* ============ Yazı biçimlendirme (prose) ============ */

/* Editörden gelen içerik. Ölçüler okunabilirlik için tasarımdan bir tık geniş. */
.vigx-prose {
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
}

.vigx-prose > * + * {
	margin-top: 1.15em;
}

.vigx-prose h1,
.vigx-prose h2,
.vigx-prose h3,
.vigx-prose h4 {
	margin: 2em 0 0.6em;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--vigx-white);
}

.vigx-prose h2 {
	font-size: clamp(24px, 2.4vw, 32px);
}

.vigx-prose h3 {
	font-size: clamp(19px, 1.8vw, 23px);
}

.vigx-prose h4 {
	font-size: 17px;
}

.vigx-prose a {
	color: var(--vigx-white);
	text-decoration: underline;
	text-decoration-color: var(--vigx-red);
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}

.vigx-prose a:hover {
	color: var(--vigx-red);
}

.vigx-prose strong {
	color: var(--vigx-white);
	font-weight: 600;
}

.vigx-prose ul,
.vigx-prose ol {
	padding-left: 1.3em;
}

.vigx-prose li + li {
	margin-top: 0.4em;
}

.vigx-prose li::marker {
	color: var(--vigx-red);
}

.vigx-prose img,
.vigx-prose figure img {
	border-radius: 16px;
	display: block;
}

.vigx-prose figure {
	margin: 2em 0;
}

.vigx-prose figcaption {
	margin-top: 10px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.45);
}

.vigx-prose blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--vigx-red);
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	color: var(--vigx-white);
}

.vigx-prose blockquote p {
	margin: 0;
}

.vigx-prose code {
	padding: 2px 6px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.07);
	font-family: Consolas, Monaco, monospace;
	font-size: 0.88em;
	color: var(--vigx-white);
}

.vigx-prose pre {
	overflow-x: auto;
	padding: 18px 20px;
	border: 1px solid var(--vigx-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
}

.vigx-prose pre code {
	padding: 0;
	background: none;
}

.vigx-prose hr {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--vigx-border);
}

/* Geniş tablolar sayfayı yatay kaydırmasın. */
.vigx-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.vigx-prose th,
.vigx-prose td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--vigx-border);
	text-align: left;
}

.vigx-prose th {
	color: var(--vigx-white);
	font-weight: 600;
}

/* ============ Blog listesi ============ */

.vigx-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.vigx-posts--with-sidebar {
	grid-template-columns: repeat(2, 1fr);
}

.vigx-postcard {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--vigx-border);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.02);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.vigx-postcard:hover {
	border-color: rgba(255, 255, 255, 0.22);
	background: var(--vigx-hover);
	transform: translateY(-4px);
}

.vigx-postcard__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #111;
	overflow: hidden;
}

.vigx-postcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}

.vigx-postcard:hover .vigx-postcard__media img {
	transform: scale(1.05);
}

/* Görseli olmayan yazılarda kart boş bir kutu gibi durmasın. */
.vigx-postcard__media--empty {
	display: grid;
	place-items: center;
	background:
		radial-gradient(420px 240px at 70% 20%, rgba(239, 65, 35, 0.18), transparent 60%),
		#0d0d0d;
}

.vigx-postcard__media--empty span {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.3);
}

.vigx-postcard__cat {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 6px 11px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vigx-white);
}

.vigx-postcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}

.vigx-postcard__date {
	margin: 0 0 10px;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.42);
}

.vigx-postcard__title {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--vigx-white);
}

.vigx-postcard__text {
	margin: 0 0 20px;
	font-size: 13.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.55);
}

/* Okuma bağlantısı kartın en altına yaslansın; kartlar eşit boyda görünür. */
.vigx-postcard__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--vigx-red);
}

.vigx-postcard__link svg {
	transition: transform 0.25s var(--ease);
}

.vigx-postcard:hover .vigx-postcard__link svg {
	transform: translateX(4px);
}

/* ============ Kenar çubuğu ============ */

.vigx-sidebar .widget {
	padding: 24px;
	margin-bottom: 20px;
	border: 1px solid var(--vigx-border);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.02);
}

.vigx-sidebar .widget-title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vigx-red);
}

.vigx-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.vigx-sidebar li + li {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vigx-sidebar a {
	color: rgba(255, 255, 255, 0.68);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

.vigx-sidebar a:hover {
	color: var(--vigx-red);
}

.vigx-sidebar input[type="search"],
.vigx-sidebar input[type="text"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--vigx-white);
	font-family: inherit;
	font-size: 14px;
}

.vigx-sidebar input:focus {
	outline: none;
	border-color: var(--vigx-red);
}

/* ============ Yazı detayı ============ */

.vigx-single__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.5);
}

.vigx-single__meta a {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
}

.vigx-single__meta a:hover {
	color: var(--vigx-red);
}

.vigx-single__sep {
	color: rgba(255, 255, 255, 0.25);
}

/* Öne çıkan görsel, başlık bölümüyle içerik arasında köprü kurar. */
.vigx-single__thumb {
	margin: -60px 0 56px;
	border: 1px solid var(--vigx-border);
	border-radius: 20px;
	overflow: hidden;
	background: #111;
}

.vigx-single__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.vigx-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--vigx-border);
}

.vigx-single__tags a {
	padding: 7px 13px;
	border: 1px solid var(--vigx-border);
	border-radius: 999px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.vigx-single__tags a:hover {
	border-color: var(--vigx-red);
	color: var(--vigx-white);
}

/* Önceki / sonraki yazı */
.vigx-postnav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 56px;
}

.vigx-postnav__item {
	padding: 22px 24px;
	border: 1px solid var(--vigx-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.02);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.vigx-postnav__item:hover {
	border-color: rgba(255, 255, 255, 0.22);
	background: var(--vigx-hover);
}

.vigx-postnav__item--next {
	text-align: right;
}

.vigx-postnav__label {
	display: block;
	margin-bottom: 8px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vigx-red);
}

.vigx-postnav__title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--vigx-white);
}

/* ============ Sayfalama ============ */

.vigx-pagination {
	margin-top: 56px;
}

.vigx-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.vigx-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--vigx-border);
	border-radius: 10px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.68);
	text-decoration: none;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
		background-color 0.2s var(--ease);
}

.vigx-pagination .page-numbers:hover {
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--vigx-white);
}

.vigx-pagination .page-numbers.current {
	border-color: transparent;
	background: var(--vigx-red);
	color: var(--vigx-white);
	font-weight: 600;
}

.vigx-pagination .page-numbers.dots {
	border-color: transparent;
}

/* ============ Sonuç yok ============ */

.vigx-empty {
	padding: 64px 32px;
	border: 1px solid var(--vigx-border);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.02);
	text-align: center;
}

.vigx-empty__title {
	margin: 0 0 10px;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--vigx-white);
}

.vigx-empty__text {
	margin: 0 auto;
	max-width: 460px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.55);
}

/* ============ Yorumlar ============ */

.vigx-comments {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--vigx-border);
}

.vigx-comments .comments-title,
.vigx-comments .comment-reply-title {
	margin: 0 0 24px;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--vigx-white);
}

.vigx-comments .comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.vigx-comments .comment-list li {
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vigx-comments .comment-list .children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: 28px;
	border-left: 1px solid var(--vigx-border);
}

.vigx-comments .comment-author img {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 10px;
}

.vigx-comments .comment-metadata {
	margin-top: 4px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.vigx-comments .comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.vigx-comments input[type="text"],
.vigx-comments input[type="email"],
.vigx-comments input[type="url"],
.vigx-comments textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--vigx-white);
	font-family: inherit;
	font-size: 14px;
}

.vigx-comments input:focus,
.vigx-comments textarea:focus {
	outline: none;
	border-color: var(--vigx-red);
}

.vigx-comments .comment-form p {
	margin-bottom: 16px;
}

.vigx-comments label {
	display: block;
	margin-bottom: 8px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.72);
}

/* ============ Duyarlı ============ */

@media (max-width: 1100px) {
	.vigx-shell__inner {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.vigx-posts,
	.vigx-posts--with-sidebar {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.vigx-shell {
		padding: 120px 0 80px;
	}

	.vigx-shell--after-head {
		padding-top: 72px;
	}

	.vigx-single__thumb {
		margin: -40px 0 40px;
	}
}

@media (max-width: 640px) {
	.vigx-posts,
	.vigx-posts--with-sidebar {
		grid-template-columns: 1fr;
	}

	.vigx-postnav {
		grid-template-columns: 1fr;
	}

	.vigx-postnav__item--next {
		text-align: left;
	}
}
