/*
 * TMC Yapı — theme.css
 * Sadece WordPress entegrasyon ekleri.
 * Tasarımın inline style'larına DOKUNMA.
 */

/* WordPress admin bar offset — sticky header (desktop) */
.admin-bar header { top: 32px !important; }

/* Mobilde (<782px) admin bar dibe gider — header offset sıfırlanır */
@media (max-width: 782px) {
    .admin-bar header { top: 0 !important; }
    html.admin-bar { margin-top: 46px !important; }
}

/* Gutenberg içerik bloğu resim taşması */
.entry-content img,
.wp-block-image img { max-width: 100%; height: auto; }

/* AJAX yükleme durumu */
.tmc-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Filtre şeridi — mobilde yatay scroll */
.tmc-filter-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}
.tmc-filter-strip::-webkit-scrollbar { display: none; }

/* Proje grid — AJAX inject sonrası geçiş */
#proje-grid { transition: opacity 0.2s ease; }

/* Accordion açık/kapalı geçiş */
.tmc-accordion-body {
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
}

/* Blog pagination — WP varsayılan çıktısı için minimum stil */
.tmc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e2e6e9;
    background: #fff;
    color: #3a4047;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s;
}
.tmc-pagination .page-numbers.current,
.tmc-pagination .page-numbers:hover {
    background: #d62b22;
    border-color: #d62b22;
    color: #fff;
}

/* Blog prose içerik — H2/H3 renk/boşluk WP Gutenberg'e uyum */
.tmc-prose h2 { font-family: Archivo, sans-serif; font-size: 1.5em; font-weight: 800; color: #1b1e23; margin: 1.6em 0 .6em; letter-spacing: -.02em; }
.tmc-prose h3 { font-family: Archivo, sans-serif; font-size: 1.2em; font-weight: 700; color: #1b1e23; margin: 1.4em 0 .5em; }
.tmc-prose ul, .tmc-prose ol { padding-left: 1.4em; margin: .8em 0; }
.tmc-prose li { margin-bottom: .4em; }
.tmc-prose a { color: #d62b22; }
.tmc-prose blockquote { border-left: 3px solid #d62b22; padding-left: 1em; color: #666d74; margin: 1.4em 0; }
