/* Sayfa arka planı */
body.home {
	background-color: #f6f7fb;
}

/* Page template container */
.page-container {
	max-width: 1440px;
	margin: 40px auto 80px;
	padding: 0 24px;
}

.page-container .entry-content {
	font-size: 17px;
	line-height: 1.7;
	color: #334155;
}

/* Single post sayfası */
.single-post-page {
	max-width: 1440px;
	margin: 40px auto 80px;
	padding: 0 24px;
}

.single-post__header {
	text-align: center;
	margin-bottom: 32px;
}

.single-post__meta {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 12px;
}

.single-post__meta .single-post__meta-sep {
	margin: 0 8px;
}

.single-post__meta a {
	color: #4f46e5;
	font-weight: 600;
	text-decoration: none;
}

.single-post__title {
	font-size: 32px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

.single-post__thumb {
	margin-bottom: 40px;
	border-radius: 16px;
	overflow: hidden;
}

.single-post__thumb img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.single-post__content {
	font-size: 17px;
	line-height: 1.7;
	color: #334155;
}

.single-post__footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

/* Single post: header ve thumb full, content 2 sütun */
.single-post-page {
	max-width: 1440px;
}

.single-post__header,
.single-post__thumb {
	width: 100%;
}

.single-post__thumb {
	width: 100%;
}

.single-post-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
	gap: 40px;
	align-items: flex-start;
	margin-top: 40px;
}

.single-post__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.single-post__read-time {
	font-size: 14px;
	color: #64748b;
	font-weight: 500;
}

.single-post__share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.single-post__share-label {
	font-size: 13px;
	color: #64748b;
	margin-right: 4px;
}

.single-post__share-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	transition: background 0.2s ease, color 0.2s ease;
}

.single-post__share-link:hover {
	background: #4f46e5;
	color: #ffffff;
}

.single-post-content-grid__right {
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

@media (max-width: 900px) {
	.single-post-content-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-post-content-grid__right .sidebar-about .home-about-card {
		position: static;
	}
}

/* Diğer yazılar (single altında) */
.single-other-posts {
	margin-top: 64px;
	padding-top: 48px;
	border-top: 1px solid #e2e8f0;
}

.single-other-posts__title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 28px;
}

.single-other-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.single-other-post {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.single-other-post:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.single-other-post__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.single-other-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-other-post__content {
	padding: 20px;
}

.single-other-post__meta {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 8px;
}

.single-other-post__meta a {
	color: #4f46e5;
	font-weight: 600;
	text-decoration: none;
}

.single-other-post__dot {
	margin: 0 6px;
}

.single-other-post__heading {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
}

.single-other-post__heading a {
	color: #0f172a;
	text-decoration: none;
}

.single-other-post__heading a:hover {
	color: #4f46e5;
}

.single-other-post__excerpt {
	font-size: 14px;
	color: #64748b;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.single-other-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.single-other-post__no-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
}

/* Archive sayfası - 3 sütun grid */
.archive-page {
	background-color: #f6f7fb;
}

.archive-container {
	max-width: 1440px;
	margin: 40px auto 80px;
	padding: 0 24px;
}

.archive-header {
	margin-bottom: 32px;
}

.archive-header .page-title {
	font-size: 28px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}

.archive-header .archive-description {
	font-size: 15px;
	color: #64748b;
}

.archive-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 900px) {
	.archive-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Pagination */
.navigation.pagination {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e2e8f0;
}

.navigation.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	flex-wrap: wrap;
	padding: 12px 20px;
	background: #f7f7fa;
	border-radius: 12px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 500;
	color: #475569;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.navigation.pagination .page-numbers:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.navigation.pagination .page-numbers.current {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
}

.navigation.pagination .page-numbers.dots {
	background: transparent;
	color: #64748b;
	pointer-events: none;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
	min-width: auto;
}

.home-page {
	max-width: 1440px;
	margin: 40px auto 80px;
	padding: 0 24px;
}

/* Son yazılar alanı */
.home-latest-posts__header {
	margin-bottom: 24px;
}

.home-latest-posts__title {
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.home-latest-posts__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
	gap: 24px;
	align-items: flex-start;
}

/* Büyük ana yazı (gridde ilk eleman) */
.home-latest-post:first-child {
	grid-column: 1;
	grid-row: 1 / span 4; /* sağda 4 karta eşit yükseklik */
    background: linear-gradient(90deg, #6366f1, #a855f7);
		border-radius: 26px;
	overflow: hidden;
	color: #ffffff;
	display: flex;
	flex-direction: column;
}

.home-latest-post:first-child .home-latest-post__thumb img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.home-latest-post:first-child .home-latest-post__content {
	padding: 26px 30px 30px;
}

.home-latest-post:first-child .home-latest-post__heading a {
	color: #ffffff;
}

.home-latest-post:first-child .home-latest-post__meta,
.home-latest-post:first-child .home-latest-post__excerpt {
	color: rgba(255, 255, 255, 0.92);
}
.home-latest-post:first-child .home-latest-post__author {
	font-weight: 600;
	color: #ffffff;
}
/* Sağ taraftaki küçük kartlar */
.home-latest-post {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 16px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}



.home-latest-post__thumb {
	display: block;
	border-radius: 16px;
	overflow: hidden;
}

.home-latest-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-latest-post__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-latest-post__meta {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 4px;
}

.home-latest-post__author {
	font-weight: 600;
	color: #4f46e5;
}

.home-latest-post__dot {
	margin: 0 6px;
}

.home-latest-post__heading {
	font-size: 15px;
	margin: 0 0 4px;
}

.home-latest-post__heading a {
	color: #0f172a;
	text-decoration: none;
}

.home-latest-post__heading a:hover {
	color: #4f46e5;
}

.home-latest-post__excerpt {
	font-size: 13px;
	color: #6b7280;
}

/* Sağ kolon yerleşimi: 2., 3., 4. ve 5. kartlar */
.home-latest-posts__grid .home-latest-post:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

.home-latest-posts__grid .home-latest-post:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}

.home-latest-posts__grid .home-latest-post:nth-child(4) {
	grid-column: 2;
	grid-row: 3;
}

.home-latest-posts__grid .home-latest-post:nth-child(5) {
	grid-column: 2;
	grid-row: 4;
}

/* Kategori başlıkları (Explore Trending Topics) */
.home-categories {
	margin-top: 64px;
}

.home-categories__title {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: center;
	margin: 0 0 24px;
}

.home-categories__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.home-category {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
	color: #0f172a;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.home-category:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
	color: #4f46e5;
}

/* About grid: sol yazılarım, sağ hakkımda */
.home-about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.5fr);
	gap: 32px;
	margin-top: 64px;
	align-items: flex-start;
}

.home-about-grid__left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-about-grid__right {
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

.home-about-post {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 18px;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	padding: 14px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}


.home-about-post__thumb {
	display: block;
	border-radius: 14px;
	overflow: hidden;
}

.home-about-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	
}

.home-about-post__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
}

.home-about-post__meta {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 8px;
}

.home-about-post__author {
	font-weight: 600;
	color: #4f46e5;
}

.home-about-post__dot {
	margin: 0 6px;
}

.home-about-post__heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
}

.home-about-post__heading a {
	color: #0f172a;
	text-decoration: none;
}

.home-about-post__heading a:hover {
	color: #4f46e5;
}

.home-about-post__excerpt {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
	margin-bottom: 14px;
}

.home-about-post__btn {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 10px 20px;
	border-radius: 999px;
	background: linear-gradient(90deg, #6366f1, #a855f7);
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.home-about-post__btn:hover {
	opacity: 0.9;
}

/* Hakkımda kartı (ACF user_id=2) */
.home-about-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 28px;
	position: sticky;
	top: 100px;
}

.home-about-card__title {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 20px;
}

.home-about-card__avatar {
	margin-bottom: 14px;
}

.home-about-card__avatar img {
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.home-about-card__name {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
}

.home-about-card__bio {
	font-size: 14px;
	color: #64748b;
	line-height: 1.65;
}

.home-about-card__bio p:last-child {
	margin-bottom: 0;
}

.home-about-card__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.home-about-card__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #64748b;
	transition: background 0.2s ease, color 0.2s ease;
}

.home-about-card__social-link:hover {
	background: #4f46e5;
	color: #ffffff;
}

/* Youtube videolarım – playlist */
.home-youtube {
	margin-top: 72px;
}

.home-youtube__title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 24px;
}

.home-youtube__playlist {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 340px);
	gap: 24px;
	align-items: start;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.home-youtube__player-wrap {
	position: relative;
	width: 100%;
}

.home-youtube__embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
}

.home-youtube__embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.home-youtube__list {
	list-style: none;
	margin: 0;
	padding: 12px 0;
	max-height: 580px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.home-youtube__list-item {
	margin: 0;
	padding: 0;
}

.home-youtube__list-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 12px;
	border: none;
	border-radius: 12px;
	background: #f8fafc;
	cursor: pointer;
	text-align: left;
	font: inherit;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.home-youtube__list-btn:hover {
	background: #f1f5f9;
}

.home-youtube__list-item.is-active .home-youtube__list-btn {
	background: rgba(79, 70, 229, 0.12);
}

.home-youtube__list-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #e2e8f0;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
}

.home-youtube__list-item.is-active .home-youtube__list-num {
	background: #4f46e5;
	color: #ffffff;
}

.home-youtube__list-thumb {
	flex-shrink: 0;
	width: 120px;
	height: 68px;
	object-fit: cover;
	border-radius: 8px;
}

.home-youtube__list-title {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-youtube__list-item.is-active .home-youtube__list-title {
	color: #0f172a;
	font-weight: 600;
}

@media (max-width: 900px) {
	.home-youtube__playlist {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-youtube__list {
		max-height: 280px;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		padding: 12px 16px;
	}
}

@media (max-width: 600px) {
	.home-youtube__list-thumb {
		width: 100px;
		height: 56px;
	}
}

@media (max-width: 900px) {
	.home-about-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-about-grid__right {
		position: static;
	}

	.home-about-card {
		position: static;
	}

	.home-page {
		margin-top: 20px;
	}

	.home-latest-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Mobilde tüm kartlar tek sütunda; 2–5. kartlar column 2'de kalmasın (sol post görünsün) */
	.home-latest-posts__grid .home-latest-post:nth-child(1),
	.home-latest-posts__grid .home-latest-post:nth-child(2),
	.home-latest-posts__grid .home-latest-post:nth-child(3),
	.home-latest-posts__grid .home-latest-post:nth-child(4),
	.home-latest-posts__grid .home-latest-post:nth-child(5) {
		grid-column: 1;
		grid-row: auto;
	}

	.home-latest-post {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	.home-latest-post:first-child {
		grid-row: auto;
	}
}

@media (max-width: 600px) {
	.home-page {
		padding: 0 16px;
	}

	.home-latest-post {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Mobilde büyük ana kartı daha kompakt göster */
	.home-latest-post:first-child .home-latest-post__content {
		padding: 18px 18px 22px;
	}

	.home-latest-post__heading {
		font-size: 17px;
	}

	.home-latest-post__excerpt {
		font-size: 13px;
	}

	.home-about-post {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-about-post__thumb img {
		aspect-ratio: 16 / 9;
	}
}

/* Contact Form 7 */
.wpcf7-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #0f172a;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 18px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(148, 163, 184, 0.5);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	line-height: 1.5;
	color: #0f172a;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #4f46e5;
	box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.4);
}

.wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

.wpcf7-form input[type="submit"] {
	padding: 12px 28px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(90deg, #6366f1, #a855f7);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease;
	float: right;
}
.wpcf7-spinner
{
	display: none;
}
.wpcf7-form input[type="submit"]:hover {
	opacity: 0.92;
}

.wpcf7-not-valid-tip {
	font-size: 13px;
	color: #dc2626;
	margin-top: 4px;
}

.wpcf7-form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
}

/* KVKK + Gönder yan yana, space-between */
.wpcf7-form .consent-submit-row {
	margin-top: 24px;
	margin-bottom: 0;
}

.wpcf7-form .consent-submit-row p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: 0;
}

.wpcf7-form .consent-submit-row br {
	display: none;
}

.wpcf7-form .consent-submit-row .wpcf7-form-control-wrap {
	margin-bottom: 0;
}