/*
 * Donovan — Modern tasarım katmanı
 *
 * style.css'ten SONRA yüklenir ve orijinal stilleri ezer.
 * Geri almak için functions.php'deki 'donovan-modern' enqueue satırını kaldırmanız yeterli.
 *
 * İçindekiler:
 *  1. Tasarım değişkenleri
 *  2. Temel tipografi ve öğeler
 *  3. Butonlar ve formlar
 *  4. Header
 *  5. Navigasyon
 *  6. Kartlar (yazılar, sayfalar, widget'lar)
 *  7. Blog listesi / grid
 *  8. Tekil yazı
 *  9. Yazı navigasyonu, sayfalama, arşiv başlığı
 * 10. Yorumlar
 * 11. Widget'lar
 * 12. Footer
 * 13. Responsive
 * 14. Hareket tercihi
 */

/* 1. Tasarım değişkenleri
--------------------------------------------------------------*/
:root {
	/* Marka */
	--primary-color: #e11d48;
	--secondary-color: #be123c;
	--tertiary-color: #9f1239;
	--accent-color: #2563eb;
	--link-color: #e11d48;

	/* Nötrler */
	--ink: #0f172a;
	--text-color: #1e293b;
	--medium-text-color: #475569;
	--light-text-color: #64748b;
	--dark-gray-color: #0f172a;
	--gray-color: #64748b;
	--light-gray-color: #f1f5f9;
	--surface: #ffffff;
	--surface-muted: #f8fafc;
	--body-bg: #f1f5f9;

	--dark-border-color: #0f172a;
	--medium-border-color: #e2e8f0;
	--light-border-color: #eef2f6;
	--page-background-color: #ffffff;
	--page-border-color: transparent;

	/* Butonlar */
	--button-color: #e11d48;
	--button-text-color: #fff;
	--button-hover-color: #be123c;
	--button-hover-text-color: #fff;

	/* Navigasyon */
	--navi-color: #0f172a;
	--navi-text-color: #e2e8f0;
	--navi-hover-text-color: #ffffff;
	--navi-border-color: rgba(255, 255, 255, 0.06);
	--submenu-color: #ffffff;
	--submenu-text-color: #1e293b;
	--submenu-hover-text-color: #e11d48;
	--submenu-border-color: #f1f5f9;

	/* Başlıklar */
	--title-color: #0f172a;
	--widget-title-color: #0f172a;

	/* Footer */
	--footer-color: #0f172a;
	--footer-text-color: #e2e8f0;
	--footer-hover-text-color: #94a3b8;
	--footer-border-color: rgba(255, 255, 255, 0.08);

	/* Fontlar */
	--text-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--title-font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--navi-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--widget-title-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--title-font-weight: 700;
	--navi-font-weight: 600;
	--widget-title-font-weight: 700;
	--text-line-height: 1.75;
	--title-line-height: 1.3;

	/* Biçim */
	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 24px -6px rgba(15, 23, 42, 0.10);
	--shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.18);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--gap: 1.5rem;
}

/* 2. Temel tipografi ve öğeler
--------------------------------------------------------------*/
body {
	background-color: var(--body-bg);
	color: var(--text-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--primary-color);
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--title-color);
	font-family: var(--title-font);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: var(--title-line-height);
}

a {
	transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

blockquote {
	position: relative;
	margin: 2em 0;
	padding: 1.5em 1.75em;
	border-left: 4px solid var(--primary-color);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: linear-gradient(135deg, #fff1f2 0%, #fff 100%);
	color: var(--text-color);
	font-family: var(--title-font);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.6;
}

blockquote cite,
blockquote small {
	margin-top: 0.75em;
	color: var(--light-text-color);
	font-family: var(--text-font);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

hr {
	background-color: var(--medium-border-color);
}

code,
kbd,
pre {
	border-radius: 8px;
}

pre {
	background: var(--ink);
	color: #e2e8f0;
	padding: 1.25em 1.5em;
}

table {
	border-collapse: collapse;
	overflow: hidden;
	border-radius: var(--radius-sm);
}

/* 3. Butonlar ve formlar
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.more-link,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.7em 1.35em;
	border: none;
	border-radius: var(--radius-pill);
	background-color: var(--button-color);
	color: var(--button-text-color);
	font-family: var(--title-font);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.more-link:hover,
.wp-block-button__link:hover {
	background-color: var(--button-hover-color);
	box-shadow: 0 6px 16px -6px rgba(225, 29, 72, 0.6);
	transform: translateY(-1px);
}

.more-link::after {
	content: "→";
	transition: transform 0.2s var(--ease);
}

.more-link:hover::after {
	transform: translateX(3px);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	box-sizing: border-box;
	padding: 0.75em 1em;
	border: 1px solid var(--medium-border-color);
	border-radius: var(--radius-sm);
	background-color: var(--surface-muted);
	color: var(--text-color);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
	border-color: var(--primary-color);
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
	outline: none;
}

/* Arama formu */
.search-form .search-field {
	padding: 0.8em 3.5em 0.8em 1.1em;
	border-radius: var(--radius-pill);
}

.search-form .search-submit {
	top: 4px;
	right: 4px;
	bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 2.6em;
	border-radius: var(--radius-pill);
	box-shadow: none;
	transform: none;
}

.search-form .search-submit:hover {
	transform: none;
}

.search-form .search-submit .icon-search {
	margin: 0;
	width: 18px;
	height: 18px;
}

/* Blok arama widget'ı */
.wp-block-search__inside-wrapper {
	gap: 0.5rem;
}

.wp-block-search__input {
	border-radius: var(--radius-pill) !important;
}

.wp-block-search__label {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--widget-title-color);
	font-family: var(--widget-title-font);
	font-weight: 700;
}

/* 4. Header
--------------------------------------------------------------*/
.site-header {
	background: var(--surface);
}

.header-main {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.site-title {
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.site-title a:link,
.site-title a:visited {
	color: var(--ink);
	background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 60%, var(--primary-color) 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.site-title a:hover,
.site-title a:active {
	color: var(--primary-color);
	text-decoration: none;
}

.site-description {
	margin-top: 0.35rem;
	color: var(--light-text-color);
	font-size: 0.9rem;
	font-weight: 500;
}

.donovan-social-menu .social-icons-menu {
	gap: 0.4rem;
}

.donovan-social-menu .social-icons-menu li a {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--light-gray-color);
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.donovan-social-menu .social-icons-menu li a .icon {
	width: 18px;
	height: 18px;
	fill: var(--ink);
	transition: fill 0.2s var(--ease);
}

.donovan-social-menu .social-icons-menu li a:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
}

.donovan-social-menu .social-icons-menu li a:hover .icon {
	fill: #fff;
}

.header-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* 5. Navigasyon
--------------------------------------------------------------*/
.primary-navigation-wrap {
	background-color: var(--navi-color);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.main-navigation ul {
	font-size: 0.95rem;
	letter-spacing: 0.005em;
}

.main-navigation ul a {
	transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
	text-decoration: none;
	color: #fff;
}

.primary-menu-toggle {
	font-weight: 600;
}

/* 6. Kartlar
--------------------------------------------------------------*/
.site-main > article,
.post-wrapper > article,
.type-post,
.type-page,
.type-attachment,
.widget,
.archive-header,
.comments-area .comment-respond,
.comments-title,
.comment,
.post-navigation .nav-links .nav-previous,
.post-navigation .nav-links .nav-next {
	border: 1px solid var(--light-border-color);
	border-radius: var(--radius);
	background-color: var(--page-background-color);
	box-shadow: var(--shadow-sm);
}

.site-main > article,
.post-wrapper > article,
.type-post,
.type-page,
.type-attachment {
	padding: 1.75rem;
	overflow: hidden;
}

/* Öne çıkan görsel */
.post-image {
	position: relative;
	overflow: hidden;
}

.wp-post-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.site-main .sticky {
	border: 1px solid var(--light-border-color);
	box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25), var(--shadow-sm);
}

/* Yazı başlıkları */
.entry-title {
	margin-bottom: 0.35em;
	letter-spacing: -0.02em;
}

.entry-title a:link,
.entry-title a:visited {
	color: var(--title-color);
	background-image: linear-gradient(var(--primary-color), var(--primary-color));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size 0.35s var(--ease), color 0.2s var(--ease);
}

.entry-title a:hover,
.entry-title a:active {
	color: var(--title-color);
	background-size: 100% 2px;
	text-decoration: none;
}

/* Meta bilgileri */
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25em 0.35em;
	margin: 0.25em 0 0;
	color: var(--light-text-color);
	font-size: 0.85rem;
	font-weight: 500;
}

.entry-meta a:link,
.entry-meta a:visited {
	border-bottom: none;
	color: var(--medium-text-color);
	font-weight: 600;
}

.entry-meta a:hover,
.entry-meta a:active {
	color: var(--primary-color);
}

.entry-content {
	margin-top: 1.1em;
	color: var(--text-color);
}

/* Yazı alt bilgisi */
.entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1.25rem;
	margin-top: 1.5rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--light-border-color);
	color: var(--light-text-color);
	font-size: 0.85rem;
}

.entry-footer > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.entry-footer div .icon,
.entry-footer .entry-comments .icon {
	margin: 0 0.15rem 0 0;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	fill: var(--light-text-color);
}

.entry-footer .entry-categories a:link,
.entry-footer .entry-categories a:visited,
.entry-footer .entry-tags a:link,
.entry-footer .entry-tags a:visited {
	display: inline-block;
	padding: 0.25em 0.8em;
	border-radius: var(--radius-pill);
	background: #fff1f2;
	color: var(--primary-color);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Etiketler arasındaki virgülleri gizle (aralık gap ile veriliyor) */
.entry-footer .entry-tags {
	font-size: 0;
}

.entry-footer .entry-tags a:link,
.entry-footer .entry-tags a:visited {
	background: var(--light-gray-color);
	color: var(--medium-text-color);
}

.entry-footer .entry-categories a:hover,
.entry-footer .entry-tags a:hover {
	background: var(--primary-color);
	color: #fff;
}

.entry-footer .entry-comments a:link,
.entry-footer .entry-comments a:visited {
	color: var(--light-text-color);
	font-weight: 500;
}

.entry-footer .entry-comments a:hover {
	color: var(--primary-color);
}

/* 7. Blog listesi / grid
--------------------------------------------------------------*/
.content-archive .post-wrapper > article {
	display: flex;
	flex-direction: column;
	padding: 0;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.content-archive .post-wrapper > article:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.content-archive .post-wrapper > article .post-image {
	aspect-ratio: 16 / 10;
	background: var(--light-gray-color);
}

.content-archive .post-wrapper > article .post-image a,
.content-archive .post-wrapper > article .post-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.content-archive .post-wrapper > article .post-image img {
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.content-archive .post-wrapper > article:hover .post-image img {
	transform: scale(1.05);
}

.content-archive .post-wrapper > article .post-content {
	flex: 1 1 auto;
	padding: 1.5rem 1.5rem 0;
}

.content-archive .post-wrapper > article .entry-footer {
	margin: 1.25rem 1.5rem 0;
	padding-bottom: 1.25rem;
}

.content-archive .post-wrapper > article:not(.has-post-thumbnail) .post-content {
	padding-top: 1.75rem;
}

.content-archive .post-wrapper .entry-excerpt p {
	color: var(--medium-text-color);
	font-size: 0.95rem;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.content-archive .post-wrapper .more-link {
	margin-top: 1.1rem;
	padding: 0;
	background: none;
	color: var(--primary-color);
	box-shadow: none;
	font-size: 0.9rem;
}

.content-archive .post-wrapper .more-link:hover {
	background: none;
	color: var(--secondary-color);
	box-shadow: none;
	transform: none;
}

/* Tam içerikli blog düzeni (excerpt yerine "full content") */
.content-archive .post-wrapper .entry-content:not(.entry-excerpt) .more-link {
	padding: 0.7em 1.35em;
	background: var(--button-color);
	color: #fff;
}

/* 8. Tekil yazı ve sayfa
--------------------------------------------------------------*/
.single .site-main > article,
.page .site-main > article {
	padding: 0;
}

.single .site-main > article > .post-content,
.page .site-main > article > .post-content {
	padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
}

.single .site-main > article > .entry-footer {
	margin: 0 clamp(1.25rem, 4vw, 3rem);
	padding: 1.1rem 0 clamp(1.25rem, 3vw, 2rem);
}

.single .entry-title,
.page .entry-title {
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.single .entry-content,
.page .entry-content {
	font-size: 1.075rem;
	line-height: 1.85;
}

.single .entry-content h2,
.page .entry-content h2 {
	margin-top: 1.8em;
	font-size: 1.6rem;
}

.single .entry-content h3,
.page .entry-content h3 {
	margin-top: 1.6em;
	font-size: 1.3rem;
}

.single .entry-content a:not(.wp-block-button__link),
.page .entry-content a:not(.wp-block-button__link) {
	color: var(--primary-color);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single .entry-content a:not(.wp-block-button__link):hover,
.page .entry-content a:not(.wp-block-button__link):hover {
	color: var(--secondary-color);
	text-decoration-thickness: 2px;
}

.entry-content ul li::marker,
.entry-content ol li::marker {
	color: var(--primary-color);
	font-weight: 700;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--radius-sm);
}

.entry-content figcaption,
.wp-caption-text {
	color: var(--light-text-color);
	font-size: 0.85rem;
	text-align: center;
}

/* 9. Yazı navigasyonu, sayfalama, arşiv başlığı
--------------------------------------------------------------*/
.post-navigation .nav-links .nav-previous,
.post-navigation .nav-links .nav-next {
	padding: 1.25rem 1.5rem;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.post-navigation .nav-links .nav-previous:hover,
.post-navigation .nav-links .nav-next:hover {
	border-color: rgba(225, 29, 72, 0.35);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.post-navigation .nav-links .nav-link-text {
	margin-bottom: 0.3rem;
	color: var(--primary-color);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation .nav-links .entry-title {
	font-size: 1.05rem;
}

.post-navigation .nav-links a:hover .entry-title {
	text-decoration: none;
	color: var(--primary-color);
}

.archive-header {
	position: relative;
	padding: 1.5rem 1.75rem;
	overflow: hidden;
}

.archive-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 4px;
	background: var(--primary-color);
}

.archive-title {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.archive-description {
	color: var(--medium-text-color);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .page-numbers,
.pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 0.9rem;
	min-width: 2.75rem;
	height: 2.75rem;
	box-sizing: border-box;
	border: 1px solid var(--light-border-color);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--text-color);
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}

.pagination .page-numbers.dots {
	border: none;
	background: none;
	box-shadow: none;
}

.pagination .current,
.pagination a:hover,
.pagination a:active {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: #fff;
}

/* 10. Yorumlar
--------------------------------------------------------------*/
.comments-title,
.comment-reply-title {
	font-weight: 800;
	letter-spacing: -0.02em;
}

.comments-title {
	padding: 1.25rem 1.75rem;
}

.comment {
	padding: 1.5rem 1.75rem;
}

.comment ol.children .comment {
	border: none;
	border-left: 3px solid var(--light-border-color);
	border-radius: 0;
	box-shadow: none;
}

.comment-meta .comment-author img {
	border-radius: 50%;
}

.comment-meta .comment-author .fn {
	font-family: var(--title-font);
	font-weight: 700;
}

.comment-meta .comment-metadata a:link,
.comment-meta .comment-metadata a:visited {
	color: var(--light-text-color);
}

.bypostauthor > .comment-body .comment-author .fn::after {
	content: "Yazar";
	margin-left: 0.5em;
	padding: 0.15em 0.6em;
	border-radius: var(--radius-pill);
	background: #fff1f2;
	color: var(--primary-color);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
}

.comment .reply a:link,
.comment .reply a:visited {
	color: var(--primary-color);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.comment-respond {
	padding: 1.75rem;
}

.comment-form label {
	margin-bottom: 0.35rem;
	color: var(--text-color);
	font-size: 0.9rem;
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
}

/* 11. Widget'lar
--------------------------------------------------------------*/
.widget {
	padding: 1.5rem 1.6rem;
}

.widget-title,
.is-style-widget-title,
.widget .wp-block-heading,
.widget h2.wp-block-heading {
	position: relative;
	margin: 0 0 1.1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--light-border-color);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.widget-title::after,
.is-style-widget-title::after,
.widget .wp-block-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 2.5rem;
	height: 2px;
	background: var(--primary-color);
}

.widget ul li,
.widget ol li {
	padding: 0.55em 0;
	border-bottom: 1px solid var(--light-border-color);
	line-height: 1.5;
}

.widget ul > li:last-child,
.widget ol > li:last-child {
	border-bottom: none;
}

.widget a:link,
.widget a:visited {
	color: var(--text-color);
	font-weight: 500;
}

.widget a:hover,
.widget a:active {
	color: var(--primary-color);
	text-decoration: none;
}

.widget .wp-block-latest-comments {
	padding: 0;
}

.widget .wp-block-latest-comments__comment {
	margin-bottom: 0.9em;
	line-height: 1.5;
	font-size: 0.92rem;
}

.widget .wp-block-latest-comments__comment-meta a:link,
.widget .wp-block-latest-comments__comment-meta a:visited {
	color: var(--primary-color);
}

.widget .tagcloud a,
.widget .wp-block-tag-cloud a {
	display: inline-block;
	margin: 0 0.25rem 0.4rem 0;
	padding: 0.3em 0.85em;
	border-radius: var(--radius-pill);
	background: var(--light-gray-color);
	font-size: 0.8rem !important;
	font-weight: 600;
}

.widget .tagcloud a:hover,
.widget .wp-block-tag-cloud a:hover {
	background: var(--primary-color);
	color: #fff;
}

/* 12. Footer
--------------------------------------------------------------*/
.footer-wrap {
	position: relative;
	margin-top: 2rem;
	background-color: var(--footer-color);
}

.footer-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), #f97316, var(--accent-color));
}

.site-footer {
	font-size: 0.9rem;
}

.site-footer .site-info {
	padding-top: 2rem;
	padding-bottom: 2rem;
	color: var(--footer-hover-text-color);
}

.site-footer a:link,
.site-footer a:visited {
	color: var(--footer-text-color);
	font-weight: 600;
}

.site-footer a:hover,
.site-footer a:active {
	color: #fff;
}

/* 13. Responsive
--------------------------------------------------------------*/

/* Masaüstü navigasyon */
@media only screen and (min-width: 55em) {
	.main-navigation > ul > li > a {
		position: relative;
		padding: 1.15em 1.15em;
	}

	.main-navigation > ul > li > a::after {
		content: "";
		position: absolute;
		left: 1.15em;
		right: 1.15em;
		bottom: 0.7em;
		height: 2px;
		border-radius: 2px;
		background: var(--primary-color);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s var(--ease);
	}

	.main-navigation > ul > li > a:hover::after,
	.main-navigation > ul > li.current-menu-item > a::after,
	.main-navigation > ul > li.current-menu-ancestor > a::after {
		transform: scaleX(1);
	}

	.main-navigation > ul > li.menu-item-has-children > a::after {
		right: 2.2em;
	}

	/* Üst seviye ok ikonları koyu zemin üzerinde açık kalsın */
	.main-navigation > ul > .menu-item-has-children > a > .icon {
		fill: var(--navi-text-color);
		transition: transform 0.2s var(--ease);
	}

	.main-navigation > ul > .menu-item-has-children:hover > a > .icon {
		fill: #fff;
		transform: rotate(180deg);
	}

	/* Açılır menüler: beyaz kart */
	.main-navigation ul ul {
		padding: 0.5rem;
		border: 1px solid var(--light-border-color);
		border-radius: 12px;
		background-color: var(--submenu-color);
		box-shadow: var(--shadow-lg);
	}

	.main-navigation ul ul a,
	.main-navigation ul ul li a {
		padding: 0.65em 0.9em;
		width: 14rem;
		border-top: none;
		border-radius: 8px;
		font-size: 0.9rem;
		font-weight: 500;
	}

	.main-navigation ul ul a:hover,
	.main-navigation ul ul a:focus {
		background: #fff1f2;
	}

	.main-navigation ul ul .menu-item-has-children > a > .icon {
		fill: var(--light-text-color);
	}

	.main-navigation ul ul ul {
		top: -0.5rem;
		margin-left: 0.5rem;
	}
}

/* Mobil menü */
@media only screen and (max-width: 54.99em) {
	.main-navigation ul a {
		padding: 0.95em 1.5em;
	}

	.main-navigation ul ul {
		background: rgba(255, 255, 255, 0.03);
	}

	.main-navigation ul ul a:link,
	.main-navigation ul ul a:visited {
		color: var(--navi-text-color);
	}
}

/* Genel boşluklar */
@media only screen and (min-width: 40em) {
	.site-content {
		padding-top: 2rem;
	}

	.blog-grid-layout .content-archive .post-wrapper {
		grid-gap: var(--gap);
	}

	/* Liste düzeni: görsel solda, içerik sağda */
	.blog-list-layout .content-archive .post-wrapper .has-post-thumbnail {
		display: grid;
		grid-template-columns: 40% 1fr;
		grid-template-rows: 1fr auto;
	}

	.blog-list-layout .content-archive .post-wrapper .has-post-thumbnail .post-image {
		grid-row: 1 / span 2;
		aspect-ratio: auto;
		min-height: 100%;
	}

	.blog-list-layout .content-archive .post-wrapper .has-post-thumbnail .wp-post-image {
		padding: 0;
	}

	.blog-list-layout .content-archive .post-wrapper .has-post-thumbnail .entry-footer {
		grid-row: 2;
		grid-column: 2;
	}
}

@media only screen and (min-width: 55em) {
	.site-content {
		grid-column-gap: 2rem;
	}

	.header-main {
		align-items: center;
	}
}

@media only screen and (min-width: 75em) {
	.header-main {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

/* Küçük ekranlarda kartlar kenara yapışmasın */
@media only screen and (max-width: 24.99em) {
	.site-content {
		padding: 1rem 0.75rem 0;
	}

	.site-main > article,
	.post-wrapper > article,
	.widget,
	.archive-header {
		margin-bottom: 1rem;
	}
}

/* 14. Hareket tercihi
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.content-archive .post-wrapper > article:hover,
	.content-archive .post-wrapper > article:hover .post-image img {
		transform: none;
	}
}
