/*
Theme Name: Arkilogy v12 — Arkipedia Mimari Arayüz
Theme URI: https://arkipedia.net
Author: Arkipedia Mimari Ekibi
Author URI: https://arkipedia.net
Description: Arkipedia.net için geliştirilmiş; Glassmorphism arayüz, Header altı İnteraktif Mimari Renk Paleti Barı, Sol Sembolik DWG Barı, KVKK uyumlu üyelik, Zero-CLS AdSense ve Core Web Vitals odaklı v12 mimari WordPress teması.
Version: 12.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: arkilogy
Domain Path: /languages
*/

/* ==========================================================================
   1. TEMEL RENDER & ERİŞİLEBİLİRLİK
   ========================================================================== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
    clip: auto !important;
    clip-path: none;
    color: #0f172a;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 0.75rem;
    line-height: normal;
    padding: 0.75rem 1rem;
    text-decoration: none;
    top: 0.75rem;
    width: auto;
    z-index: 100000;
}

/* Mobil Yatay DWG Barı İçin Kaydırma Çubuğu Gizleyici */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   2. ADSENSE TAŞMA & CLS KORUMASI
   ========================================================================== */
.ark-ad-widget,
.ark-ad-widget ins {
    max-width: 100%;
    overflow: hidden;
}

/* ==========================================================================
   3. SAYFALAMA (PAGINATION)
   ========================================================================== */
.navigation.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.dark .pagination .page-numbers {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover:not(.dots) {
    background: var(--ark-accent, #c86d51);
    border-color: var(--ark-accent, #c86d51);
    color: #ffffff;
}

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

/* ==========================================================================
   4. MAKALE, SAYFA VE HUKUKİ METİN TİPOGRAFİSİ (.prose)
   ========================================================================== */
.prose {
    line-height: 1.75;
    word-wrap: break-word;
}

.prose h2 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.prose h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.dark .prose h2,
.dark .prose h3,
.dark .prose h4 {
    color: #f8fafc;
}

.prose p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.prose a {
    color: var(--ark-accent, #c86d51);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.prose ul,
.prose ol {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding-left: 1.4rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.45rem;
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 0.85rem 1.25rem;
    border-left: 4px solid var(--ark-accent, #c86d51);
    border-radius: 0 0.75rem 0.75rem 0;
    background: rgba(15, 23, 42, 0.04);
    font-style: italic;
}

.dark .prose blockquote {
    background: rgba(255, 255, 255, 0.04);
}

.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85em;
    padding: 0.15rem 0.4rem;
    border-radius: 0.375rem;
    background: rgba(15, 23, 42, 0.07);
}

.dark .prose code {
    background: rgba(255, 255, 255, 0.1);
}

.prose pre {
    overflow-x: auto;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    margin: 1.25rem 0;
    font-size: 0.85rem;
}

.prose pre code {
    background: transparent;
    padding: 0;
}

.prose img,
.prose figure {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.prose th,
.prose td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    text-align: left;
}

.prose th {
    font-weight: 700;
}

.prose hr {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    margin: 1.75rem 0;
}

/* ==========================================================================
   5. YORUMLAR & TEKNİK TARTIŞMA LİSTESİ (comments.php)
   ========================================================================== */
.comment-list,
.comment-list ol.children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list > li {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.dark .comment-list > li {
    background: rgba(15, 23, 42, 0.48);
    border-color: rgba(255, 255, 255, 0.07);
}

.comment-list ol.children {
    margin-top: 0.85rem;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(var(--ark-accent-rgb, 200, 109, 81), 0.35);
}

.comment-list ol.children > li {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.03);
}

.dark .comment-list ol.children > li {
    background: rgba(255, 255, 255, 0.03);
}

.comment-author.vcard {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.comment-author.vcard img.avatar {
    border-radius: 0.75rem;
}

.comment-metadata {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.25rem 0 0.6rem;
}

.comment-content {
    font-size: 0.875rem;
    line-height: 1.65;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ark-accent, #c86d51);
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Yorum Formu Input Stilleri (Misafir Yorumcular İçin) */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 0.75rem;
}

.comment-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #ffffff;
    font-size: 0.875rem;
}

.dark .comment-form input[type="text"],
.dark .comment-form input[type="email"],
.dark .comment-form input[type="url"] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    font-size: 0.75rem;
}

.comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: 500;
    cursor: pointer;
}