/* ===== WordPress'e özgü ekler ===== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--red); }

/* Yazı içeriği */
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .alignright { float: right; margin: 0 0 16px 24px; max-width: 45%; }
.prose .alignleft { float: left; margin: 0 24px 16px 0; max-width: 45%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.prose .wp-block-file a:first-child { font-weight: 600; text-decoration: none; }
.prose .wp-block-file__button, .prose .wp-block-button__link {
	display: inline-flex; padding: 9px 18px; border-radius: 999px; background: var(--red);
	color: #fff !important; font-weight: 600; font-size: .9rem; text-decoration: none;
}
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .prose .wp-block-gallery { grid-template-columns: repeat(2, 1fr); } .prose .alignright, .prose .alignleft { float: none; max-width: 100%; margin: 0 0 16px; } }

/* Galeri bağlantıları */
.masonry figure a { display: block; }

/* Sayfalama */
.kk-pagination { margin-top: 40px; text-align: center; }
.kk-pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.kk-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); font-weight: 600; font-size: .9rem;
}
.kk-pagination .page-numbers.current, .kk-pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Form bildirimleri */
.kk-note { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .92rem; font-weight: 500; }
.kk-ok { background: #e9f6ee; color: #1c6b3a; border: 1px solid #bfe3cc; }
.kk-err { background: #fdecee; color: #8f0f22; border: 1px solid #f3c2c9; }

/* Geniş menüde taşmayı önle */
@media (min-width: 641px) and (max-width: 1180px) {
	.nav a { padding: 8px 8px; font-size: .86rem; }
	.brand .sub { display: none; }
}
