.techblog-content {
    color: #374151;
    font-size: 1rem;
    line-height: 1.85;
}

.techblog-content h1,
.techblog-content h2,
.techblog-content h3,
.techblog-content h4,
.techblog-content h5,
.techblog-content h6 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.techblog-content h2 {
    font-size: 1.375rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.techblog-content h3 {
    font-size: 1.125rem;
}

.techblog-content p {
    margin-bottom: 1.25rem;
}

.techblog-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.techblog-content a:hover {
    color: #1d4ed8;
}

.techblog-content ul,
.techblog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.techblog-content ul {
    list-style-type: disc;
}

.techblog-content ol {
    list-style-type: decimal;
}

.techblog-content li {
    margin-bottom: 0.4rem;
}

.techblog-content blockquote {
    border-left: 4px solid #3b82f6;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: #eff6ff;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #1e40af;
}

.techblog-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875em;
    background: #f1f5f9;
    color: #1e293b;
    padding: 0.2em 0.45em;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.techblog-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

.techblog-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.techblog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.techblog-content th,
.techblog-content td {
    padding: 0.625rem 0.875rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.techblog-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.techblog-content tr:hover td {
    background: #f9fafb;
}

.techblog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.25rem auto;
    display: block;
}

.techblog-content strong {
    font-weight: 700;
    color: #111827;
}

.techblog-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.techblog-content .wp-caption-text {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Sayfalama */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}

.page-numbers:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Arama formu */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.search-field {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-submit {
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.search-submit:hover {
    background: #1d4ed8;
}

/* Yorumlar */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

/* Tailwind line-clamp fallback */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus ring */
:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ── v2.0 EKLEMELERİ ─────────────────────────────── */

/* Ticker / gündem bandı kayma animasyonu */
@keyframes ticker-slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-track {
    display: inline-flex;
    animation: ticker-slide 28s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

/* Koyu hero bölümü görseli soldaki boşlukta yuvarlak kenar */
.hero-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
}

/* Footer widget başlık rengi - koyu arka planda */
.footer-widget-area h3,
.footer-widget-area .widget-title {
    color: #94a3b8 !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.footer-widget-area a {
    color: #94a3b8;
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.15s;
}

.footer-widget-area a:hover {
    color: #fff;
}

/* Kategori kartı hover efekti */
.cat-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
    transform: translateY(-2px);
}

/* Sidebar bülten koyu kutu */
.widget-newsletter {
    background: #0f172a;
    border-radius: 1rem;
    padding: 1.25rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }


/* =============================================================
   TechBlog — Widget Stilleri
   CDN Tailwind'i bypass eder, doğrudan CSS ile hedefler.
   assets/css/widgets.css olarak kaydet,
   main.css'e @import et veya enqueue.php'e ayrıca ekle.
   ============================================================= */

/* ── GENEL WIDGET KABI ─────────────────────────────────────── */
/* Klasik widget'lar */
.widget,
/* Blok widget'lar */
.wp-block-widget-area > *,
[class*="widget_"] {
    margin-bottom: 1.5rem;
}

/* Başlıklar — register_sidebar'daki before_title ile uyumlu */
.widget-title,
.widgettitle,
.wp-block-heading {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

/* ── ARAMA WİDGET'I ────────────────────────────────────────── */
.widget_search .search-form,
.wp-block-search__inside-wrapper {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field,
.wp-block-search__input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    color: #374151;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.widget_search .search-field:focus,
.wp-block-search__input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.widget_search .search-submit,
.wp-block-search__button {
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.widget_search .search-submit:hover,
.wp-block-search__button:hover {
    background: #3b82f6;
}

/* ── SON YAZILAR ────────────────────────────────────────────── */
.widget_recent_entries ul,
.wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.widget_recent_entries ul li,
.wp-block-latest-posts__list > li {
    padding: 0.625rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.widget_recent_entries ul li:last-child,
.wp-block-latest-posts__list > li:last-child {
    border-bottom: none;
}

.widget_recent_entries ul li a,
.wp-block-latest-posts__list > li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s;
}

.widget_recent_entries ul li a:hover,
.wp-block-latest-posts__list > li a:hover {
    color: #2563eb;
}

.widget_recent_entries ul li .post-date,
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.7rem;
    color: #9ca3af;
}

/* ── SON YORUMLAR ───────────────────────────────────────────── */
#recentcomments,
.widget_recent_comments ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#recentcomments li,
.widget_recent_comments ul li {
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}

#recentcomments li:last-child,
.widget_recent_comments ul li:last-child {
    border-bottom: none;
}

.widget_recent_comments .comment-author-link a,
#recentcomments .comment-author-link a {
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.widget_recent_comments .comment-author-link,
#recentcomments .comment-author-link {
    font-weight: 600;
    color: #111827;
}

#recentcomments li a,
.widget_recent_comments ul li a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

#recentcomments li a:hover,
.widget_recent_comments ul li a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* ── KATEGORİLER ────────────────────────────────────────────── */
.widget_categories ul,
.wp-block-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.widget_categories ul li,
.wp-block-categories-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.widget_categories ul li:last-child,
.wp-block-categories-list li:last-child {
    border-bottom: none;
}

.widget_categories ul li a,
.wp-block-categories-list li a {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
}

.widget_categories ul li a:hover,
.wp-block-categories-list li a:hover {
    color: #2563eb;
}

/* Makale sayısı */
.widget_categories ul li .post-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* Kategori sayısı (parantez içi) — pseudo ile stil */
.widget_categories ul li:not(:has(.post-count))::after,
.wp-block-categories-list li .wp-block-categories__post-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-left: auto;
}

/* Açılır menü modu */
.widget_categories select,
.widget_archive select,
.wp-block-categories select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    color: #374151;
    outline: none;
    transition: box-shadow 0.15s, border-color 0.15s;
    cursor: pointer;
}

.widget_categories select:focus,
.widget_archive select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ── ARŞİV ──────────────────────────────────────────────────── */
.widget_archive ul,
.wp-block-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.widget_archive ul li,
.wp-block-archives-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.widget_archive ul li:last-child,
.wp-block-archives-list li:last-child {
    border-bottom: none;
}

.widget_archive ul li a,
.wp-block-archives-list li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
}

.widget_archive ul li a:hover,
.wp-block-archives-list li a:hover {
    color: #2563eb;
}

/* ── ETİKET BULUTU ──────────────────────────────────────────── */
.widget_tag_cloud .tagcloud,
.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem !important; /* WP inline font-size override */
    font-weight: 500;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1.5;
}

.widget_tag_cloud .tagcloud a:hover,
.wp-block-tag-cloud a:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ── NAVİGASYON MENÜSÜ WİDGET ──────────────────────────────── */
.widget_nav_menu ul,
.wp-block-navigation__container {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.widget_nav_menu ul li {
    padding: 0.375rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.widget_nav_menu ul li:last-child {
    border-bottom: none;
}

.widget_nav_menu ul li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
}

.widget_nav_menu ul li a:hover {
    color: #2563eb;
}

/* ── METİN WİDGET ───────────────────────────────────────────── */
.widget_text p,
.wp-block-paragraph {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.625;
    margin-bottom: 0.75rem;
}

.widget_text a,
.wp-block-paragraph a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.15s;
}

.widget_text a:hover,
.wp-block-paragraph a:hover {
    color: #3b82f6;
}

/* ── FOOTER WİDGET ALANLARI ─────────────────────────────────── */
/* Footer koyu arka plan üzerinde widget stilleri */
.footer-widget-area .widget-title,
.footer-widget-area .widgettitle {
    color: #94a3b8;
    border-bottom-color: #334155;
}

.footer-widget-area .widget_recent_entries ul li,
.footer-widget-area .widget_archive ul li,
.footer-widget-area .widget_categories ul li,
.footer-widget-area .widget_nav_menu ul li,
.footer-widget-area #recentcomments li {
    border-bottom-color: #334155;
}

.footer-widget-area .widget_recent_entries ul li a,
.footer-widget-area .widget_archive ul li a,
.footer-widget-area .widget_categories ul li a,
.footer-widget-area .widget_nav_menu ul li a {
    color: #94a3b8;
}

.footer-widget-area .widget_recent_entries ul li a:hover,
.footer-widget-area .widget_archive ul li a:hover,
.footer-widget-area .widget_categories ul li a:hover,
.footer-widget-area .widget_nav_menu ul li a:hover {
    color: #fff;
}

.footer-widget-area .widget_recent_entries ul li .post-date {
    color: #64748b;
}

.footer-widget-area .widget_tag_cloud .tagcloud a {
    background: #1e293b;
    color: #94a3b8;
}

.footer-widget-area .widget_tag_cloud .tagcloud a:hover {
    background: #1d4ed8;
    color: #fff;
}