/*
 Theme Name:   Herkonudan
 Theme URI:    https://herkonudan.com
 Description:  Multi-topic authority site theme for herkonudan.com. SEO-optimized, AdSense-ready, fast.
 Author:       Herkonudan
 Author URI:   https://herkonudan.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  herkonudan
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --hk-primary: #1a56db;
    --hk-primary-dark: #1245b8;
    --hk-secondary: #059669;
    --hk-dark: #111827;
    --hk-gray-900: #1f2937;
    --hk-gray-700: #374151;
    --hk-gray-500: #6b7280;
    --hk-gray-300: #d1d5db;
    --hk-gray-200: #e5e7eb;
    --hk-gray-100: #f3f4f6;
    --hk-gray-50: #f9fafb;
    --hk-white: #ffffff;
    --hk-red: #dc2626;
    --hk-orange: #ea580c;
    --hk-radius: 8px;
    --hk-radius-lg: 12px;
    --hk-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --hk-shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --hk-shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --hk-max-width: 1200px;
    --hk-content-width: 780px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--hk-gray-900);
    background: var(--hk-gray-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--hk-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--hk-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Layout
   ======================================== */
.hk-container {
    max-width: var(--hk-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hk-content-area {
    max-width: var(--hk-content-width);
}

/* ========================================
   Header
   ======================================== */
.hk-header {
    background: var(--hk-white);
    border-bottom: 1px solid var(--hk-gray-300);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hk-header-inner {
    max-width: var(--hk-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.hk-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hk-dark);
    letter-spacing: -0.5px;
}

.hk-logo span {
    color: var(--hk-primary);
}

/* Navigation */
.hk-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

.hk-nav-link {
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--hk-radius);
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.hk-nav-link:hover {
    color: var(--hk-primary);
    background: var(--hk-gray-100);
}

.hk-nav-link.hk-nav-active {
    color: var(--hk-primary);
    font-weight: 600;
}

.hk-nav-link.hk-nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--hk-primary);
    border-radius: 1px;
}

/* "Daha Fazla" dropdown */
.hk-nav-more {
    position: relative;
}

.hk-nav-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--hk-radius);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.hk-nav-more-btn:hover {
    color: var(--hk-primary);
    background: var(--hk-gray-100);
}

.hk-nav-more-btn svg {
    transition: transform 0.2s;
}

.hk-nav-more-active .hk-nav-more-btn {
    color: var(--hk-primary);
    font-weight: 600;
}

.hk-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--hk-white);
    border: 1px solid var(--hk-gray-200);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-lg);
    min-width: 200px;
    padding: 8px;
    z-index: 110;
}

.hk-nav-more:hover .hk-nav-dropdown,
.hk-nav-more:focus-within .hk-nav-dropdown {
    display: block;
}

.hk-nav-more:hover .hk-nav-more-btn svg {
    transform: rotate(180deg);
}

.hk-nav-dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s;
}

.hk-nav-dropdown-link:hover {
    color: var(--hk-primary);
    background: var(--hk-gray-50);
}

.hk-nav-dropdown-link.hk-nav-active {
    color: var(--hk-primary);
    font-weight: 600;
    background: #eff6ff;
}

/* Mobile menu toggle */
.hk-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hk-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--hk-gray-700);
}

/* ========================================
   Hero Section (Homepage)
   ======================================== */
.hk-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
    color: var(--hk-white);
    padding: 48px 0;
    text-align: center;
}

.hk-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.hk-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hk-search-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hk-search-form input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--hk-shadow-lg);
}

.hk-search-form button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--hk-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ========================================
   Category Grid
   ======================================== */
.hk-section {
    padding: 48px 0;
}

.hk-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hk-gray-200);
}

.hk-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hk-category-card {
    background: var(--hk-white);
    border-radius: var(--hk-radius-lg);
    padding: 24px;
    border: 1px solid var(--hk-gray-300);
    transition: all 0.2s;
    text-align: center;
}

.hk-category-card:hover {
    box-shadow: var(--hk-shadow-md);
    border-color: var(--hk-primary);
    transform: translateY(-2px);
}

.hk-category-card .hk-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.hk-category-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--hk-dark);
}

.hk-category-card p {
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Category card color accents */
.hk-cat-isitma .hk-cat-icon { background: #fef2f2; color: #dc2626; }
.hk-cat-beyaz .hk-cat-icon { background: #eff6ff; color: #2563eb; }
.hk-cat-finans .hk-cat-icon { background: #f0fdf4; color: #16a34a; }
.hk-cat-sigorta .hk-cat-icon { background: #fefce8; color: #ca8a04; }
.hk-cat-enerji .hk-cat-icon { background: #fdf4ff; color: #9333ea; }
.hk-cat-saglik .hk-cat-icon { background: #ecfdf5; color: #059669; }
.hk-cat-hukuk .hk-cat-icon { background: #f0f9ff; color: #0284c7; }
.hk-cat-vergi .hk-cat-icon { background: #fff7ed; color: #ea580c; }
.hk-cat-din .hk-cat-icon { background: #fef3c7; color: #b45309; }
.hk-cat-ruya .hk-cat-icon { background: #ede9fe; color: #7c3aed; }
.hk-cat-iliski .hk-cat-icon { background: #fce7f3; color: #db2777; }

/* ========================================
   Article Cards
   ======================================== */
.hk-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hk-article-card {
    background: var(--hk-white);
    border-radius: var(--hk-radius-lg);
    border: 1px solid var(--hk-gray-300);
    overflow: hidden;
    transition: all 0.2s;
}

.hk-article-card:hover {
    box-shadow: var(--hk-shadow-md);
    transform: translateY(-2px);
}

.hk-article-card-body {
    padding: 20px;
}

.hk-article-card .hk-cat-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hk-primary);
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.hk-article-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: var(--hk-dark);
}

.hk-article-card h3 a {
    color: inherit;
}

.hk-article-card h3 a:hover {
    color: var(--hk-primary);
}

.hk-article-card .hk-meta {
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
}

/* ========================================
   Category Columns (Homepage bottom)
   ======================================== */
.hk-cat-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.hk-cat-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hk-primary);
    display: inline-block;
}

.hk-cat-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-cat-column ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hk-gray-100);
}

.hk-cat-column ul li:last-child {
    border-bottom: none;
}

.hk-cat-column ul li a {
    color: var(--hk-gray-700);
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hk-cat-column ul li a:hover {
    color: var(--hk-primary);
}

.hk-cat-column ul li a::after {
    content: "\2192";
    color: var(--hk-gray-300);
    transition: color 0.2s;
}

.hk-cat-column ul li a:hover::after {
    color: var(--hk-primary);
}

.hk-cat-column .hk-see-all {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hk-primary);
}

/* ========================================
   Single Post (Article Page)
   ======================================== */
.hk-single {
    max-width: var(--hk-max-width);
    margin: 0 auto;
    padding: 32px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.hk-single-content {
    min-width: 0;
}

/* Breadcrumb */
.hk-breadcrumb {
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
    margin-bottom: 16px;
}

.hk-breadcrumb a {
    color: var(--hk-gray-500);
}

.hk-breadcrumb a:hover {
    color: var(--hk-primary);
}

.hk-breadcrumb span {
    margin: 0 6px;
}

/* Article header */
.hk-article-header {
    margin-bottom: 32px;
}

.hk-article-header .hk-cat-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hk-primary);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.hk-article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--hk-dark);
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.hk-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--hk-gray-500);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hk-gray-200);
}

.hk-article-meta strong {
    color: var(--hk-gray-700);
    font-weight: 600;
}

/* Featured Image */
.hk-featured-image {
    margin-bottom: 24px;
    border-radius: var(--hk-radius-lg);
    overflow: hidden;
}

.hk-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--hk-radius-lg);
}

/* Inline Article Images */
.hk-article-image {
    margin: 24px 0;
}

.hk-article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--hk-radius);
}

/* Article Card Thumbnail */
.hk-article-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--hk-radius-lg) var(--hk-radius-lg) 0 0;
}

.hk-article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hk-article-card:hover .hk-article-card-thumb img {
    transform: scale(1.05);
}

/* Article body */
.hk-article-body {
    background: var(--hk-white);
    border-radius: var(--hk-radius-lg);
    border: 1px solid var(--hk-gray-300);
    padding: 40px;
}

.hk-article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--hk-gray-100);
}

.hk-article-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.hk-article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hk-gray-900);
    margin: 24px 0 12px;
}

.hk-article-body p {
    margin: 0 0 16px;
    color: var(--hk-gray-700);
}

.hk-article-body ul, .hk-article-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
    color: var(--hk-gray-700);
}

.hk-article-body li {
    margin-bottom: 8px;
}

/* Tables */
.hk-article-body {
    overflow-x: auto;
}

.hk-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9375rem;
    min-width: 480px;
}

.hk-article-body table th {
    background: var(--hk-gray-100);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid var(--hk-gray-300);
}

.hk-article-body table td {
    padding: 12px 16px;
    border: 1px solid var(--hk-gray-300);
}

.hk-article-body table tr:hover td {
    background: var(--hk-gray-50);
}

/* FAQ Section */
.hk-faq {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--hk-primary);
}

.hk-faq h2 {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.hk-faq-item {
    border: 1px solid var(--hk-gray-300);
    border-radius: var(--hk-radius);
    margin-bottom: 8px;
    overflow: hidden;
}

.hk-faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    background: var(--hk-gray-50);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hk-faq-item summary::-webkit-details-marker {
    display: none;
}

.hk-faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--hk-gray-500);
}

.hk-faq-item[open] summary::after {
    content: "\2212";
}

.hk-faq-item .hk-faq-answer {
    padding: 16px 20px;
    color: var(--hk-gray-700);
    line-height: 1.7;
}

/* Ad placeholders */
.hk-ad-slot {
    background: var(--hk-gray-100);
    border: 1px dashed var(--hk-gray-300);
    border-radius: var(--hk-radius);
    padding: 20px;
    text-align: center;
    margin: 24px 0;
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
}

/* Related articles */
.hk-related {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--hk-gray-200);
}

/* ========================================
   Sidebar
   ======================================== */
.hk-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.hk-sidebar-widget {
    background: var(--hk-white);
    border: 1px solid var(--hk-gray-300);
    border-radius: var(--hk-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.hk-sidebar-widget h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hk-primary);
}

.hk-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hk-gray-100);
}

.hk-sidebar-widget ul li:last-child {
    border-bottom: none;
}

.hk-sidebar-widget ul li a {
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    line-height: 1.4;
}

.hk-sidebar-widget ul li a:hover {
    color: var(--hk-primary);
}

/* ========================================
   Disclaimer
   ======================================== */
.hk-disclaimer {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: var(--hk-radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.875rem;
    color: #854d0e;
    line-height: 1.6;
}

.hk-disclaimer strong {
    display: block;
    margin-bottom: 4px;
}

/* ========================================
   Update Badge
   ======================================== */
.hk-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

/* ========================================
   Category SEO Content + FAQ
   ======================================== */
.hk-cat-seo-section {
    background: var(--hk-gray-50);
    border-top: 1px solid var(--hk-gray-200);
    border-bottom: 1px solid var(--hk-gray-200);
}

.hk-cat-seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hk-cat-seo-content h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hk-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hk-primary);
    display: inline-block;
}

.hk-cat-seo-content p {
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    line-height: 1.8;
    margin: 0 0 10px;
}

.hk-cat-seo-content p:last-child {
    margin-bottom: 0;
}

.hk-cat-faq h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hk-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hk-primary);
    display: inline-block;
}

.hk-faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hk-faq-item {
    background: var(--hk-white);
    border: 1px solid var(--hk-gray-200);
    border-radius: var(--hk-radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.hk-faq-item:hover {
    border-color: var(--hk-gray-300);
}

.hk-faq-item[open] {
    border-color: var(--hk-primary);
    box-shadow: 0 0 0 1px rgba(26, 86, 219, 0.08);
}

.hk-faq-item summary {
    padding: 14px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hk-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hk-faq-item summary::-webkit-details-marker {
    display: none;
}

.hk-faq-item summary::after {
    content: '+';
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--hk-gray-400, #9ca3af);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hk-gray-100);
    transition: all 0.2s;
}

.hk-faq-item[open] summary::after {
    content: '\2212';
    color: var(--hk-white);
    background: var(--hk-primary);
}

.hk-faq-item summary:hover {
    color: var(--hk-primary);
}

.hk-faq-item p {
    padding: 0 16px 14px;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--hk-gray-600, #4b5563);
    border-top: 1px solid var(--hk-gray-100);
    padding-top: 12px;
}

/* ========================================
   Footer
   ======================================== */
.hk-footer {
    background: var(--hk-dark);
    color: var(--hk-gray-300);
    padding: 48px 0 24px;
    margin-top: 48px;
}

.hk-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.hk-footer h4 {
    color: var(--hk-white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.hk-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--hk-gray-500);
}

.hk-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-footer ul li {
    margin-bottom: 8px;
}

.hk-footer ul li a {
    color: var(--hk-gray-300);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.hk-footer ul li a:hover {
    color: var(--hk-white);
}

.hk-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--hk-gray-700);
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hk-footer-bottom a {
    color: var(--hk-gray-500);
}

.hk-footer-bottom a:hover {
    color: var(--hk-white);
}

/* ========================================
   Archive / Category Page
   ======================================== */
.hk-archive-header {
    background: var(--hk-white);
    border-bottom: 1px solid var(--hk-gray-300);
    padding: 32px 0;
}

.hk-archive-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hk-dark);
    margin: 0 0 8px;
}

.hk-archive-header p {
    color: var(--hk-gray-500);
    margin: 0;
    font-size: 1rem;
}

/* Subcategory pills */
.hk-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hk-subcats a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--hk-gray-100);
    color: var(--hk-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--hk-gray-300);
    transition: all 0.2s;
}

.hk-subcats a:hover,
.hk-subcats a.active {
    background: var(--hk-primary);
    color: var(--hk-white);
    border-color: var(--hk-primary);
}

/* Archive Layout (with sidebar) */
.hk-archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.hk-archive-main {
    min-width: 0;
}

.hk-articles-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ========================================
   Pagination
   ======================================== */
.hk-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 40px 0;
}

.hk-pagination a,
.hk-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--hk-radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--hk-gray-300);
    color: var(--hk-gray-700);
    background: var(--hk-white);
    transition: all 0.2s;
}

.hk-pagination a:hover {
    border-color: var(--hk-primary);
    color: var(--hk-primary);
}

.hk-pagination .current {
    background: var(--hk-primary);
    color: var(--hk-white);
    border-color: var(--hk-primary);
}

/* ========================================
   Comments
   ======================================== */
.hk-comments {
    margin-top: 32px;
}

.hk-comments-area {
    background: var(--hk-white);
    border-radius: var(--hk-radius-lg);
    border: 1px solid var(--hk-gray-300);
    padding: 32px;
}

.hk-comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hk-gray-100);
}

.hk-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hk-gray-100);
}

.hk-comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hk-comment .children {
    list-style: none;
    padding-left: 32px;
    margin-top: 16px;
    border-left: 2px solid var(--hk-gray-100);
}

.hk-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hk-comment-avatar img {
    border-radius: 50%;
    display: block;
}

.hk-comment-author {
    display: block;
    font-size: 0.9375rem;
    color: var(--hk-dark);
}

.hk-comment-author a {
    color: var(--hk-dark);
    text-decoration: none;
}

.hk-comment-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
}

.hk-comment-content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hk-gray-700);
}

.hk-comment-content p {
    margin: 0 0 8px;
}

.hk-comment-awaiting {
    font-size: 0.8125rem;
    color: var(--hk-orange);
    font-style: italic;
    margin: 4px 0 8px;
}

.hk-comment-actions {
    margin-top: 8px;
}

.hk-comment-actions a {
    font-size: 0.8125rem;
    color: var(--hk-primary);
    text-decoration: none;
    font-weight: 600;
}

.hk-comment-actions a:hover {
    text-decoration: underline;
}

/* Comment Form */
#reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hk-dark);
    margin: 24px 0 8px;
    display: block;
}

#reply-title small a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--hk-gray-500);
    margin-left: 8px;
}

.hk-comment-notes {
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
    margin-bottom: 16px;
}

.hk-comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.hk-comment-form-field {
    margin-bottom: 16px;
}

.hk-comment-form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hk-gray-700);
    margin-bottom: 6px;
}

.hk-comment-form-field input,
.hk-comment-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--hk-gray-300);
    border-radius: var(--hk-radius);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--hk-dark);
    background: var(--hk-gray-50);
    transition: border-color 0.2s;
}

.hk-comment-form-field input:focus,
.hk-comment-form-field textarea:focus {
    outline: none;
    border-color: var(--hk-primary);
    background: var(--hk-white);
}

.hk-comment-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.hk-no-comments {
    text-align: center;
    color: var(--hk-gray-500);
    font-style: italic;
}

.form-submit input[type="submit"] {
    background: var(--hk-primary);
    color: var(--hk-white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--hk-radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit input[type="submit"]:hover {
    background: var(--hk-primary-dark);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hk-single,
    .hk-archive-layout {
        grid-template-columns: 1fr;
    }
    .hk-sidebar {
        position: static;
        max-height: none;
    }
    .hk-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hk-cat-seo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hk-hero h1 {
        font-size: 1.5rem;
    }
    .hk-hero {
        padding: 32px 0;
    }
    .hk-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hk-articles-grid,
    .hk-articles-grid-2col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hk-comment-form-row {
        grid-template-columns: 1fr;
    }
    .hk-comments-area {
        padding: 20px;
    }
    .hk-comment .children {
        padding-left: 16px;
    }
    .hk-cat-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hk-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--hk-white);
        flex-direction: column;
        padding: 8px 16px 16px;
        border-bottom: 1px solid var(--hk-gray-300);
        box-shadow: var(--hk-shadow-lg);
        gap: 0;
    }
    .hk-nav.active {
        display: flex;
    }
    .hk-menu-toggle {
        display: block;
    }
    .hk-nav-link {
        padding: 12px 16px;
        font-size: 0.9375rem;
        border-radius: 0;
        border-bottom: 1px solid var(--hk-gray-100);
    }
    .hk-nav-link.hk-nav-active::after {
        display: none;
    }
    .hk-nav-link.hk-nav-active {
        background: #eff6ff;
        border-left: 3px solid var(--hk-primary);
        padding-left: 13px;
    }
    .hk-nav-more {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .hk-nav-more-btn {
        display: none !important;
    }
    .hk-nav-dropdown {
        display: flex !important;
        flex-direction: column;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: auto;
        width: 100%;
    }
    .hk-nav-dropdown-link {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9375rem;
        border-radius: 0;
        border-bottom: 1px solid var(--hk-gray-100);
    }
    .hk-nav-dropdown-link:last-child {
        border-bottom: none;
    }
    .hk-nav-dropdown-link.hk-nav-active {
        background: #eff6ff;
        border-left: 3px solid var(--hk-primary);
        padding-left: 13px;
    }
    .hk-article-body {
        padding: 24px 16px;
    }
    .hk-article-header h1 {
        font-size: 1.5rem;
    }
    .hk-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hk-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .hk-section {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .hk-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .hk-category-card {
        padding: 16px;
    }
    .hk-category-card .hk-cat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    .hk-category-card h3 {
        font-size: 0.875rem;
    }
    .hk-category-card p {
        display: none;
    }
}

/* ========================================
   WordPress Core Overrides
   ======================================== */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
    padding: 12px 16px;
    border: 1px solid var(--hk-gray-300);
}

.wp-block-table th {
    background: var(--hk-gray-100);
    font-weight: 600;
}

/* Table of Contents plugin override */
#ez-toc-container {
    background: var(--hk-gray-50) !important;
    border: 1px solid var(--hk-gray-300) !important;
    border-radius: var(--hk-radius) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
}

#ez-toc-container .ez-toc-title {
    font-weight: 700 !important;
    font-size: 1.0625rem !important;
}

/* Yoast breadcrumbs */
.yoast-breadcrumbs {
    font-size: 0.8125rem;
    color: var(--hk-gray-500);
    margin-bottom: 16px;
}

.yoast-breadcrumbs a {
    color: var(--hk-gray-500);
}

.yoast-breadcrumbs a:hover {
    color: var(--hk-primary);
}

/* ========================================
   Table of Contents (Auto TOC)
   ======================================== */
.hk-toc {
    background: var(--hk-gray-50);
    border: 1px solid var(--hk-gray-300);
    border-radius: var(--hk-radius-lg);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.hk-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.hk-toc-header strong {
    font-size: 1.0625rem;
    color: var(--hk-dark);
}

.hk-toc-toggle {
    font-size: 1.25rem;
    color: var(--hk-gray-500);
    line-height: 1;
}

.hk-toc.collapsed .hk-toc-list {
    display: none;
}

.hk-toc.collapsed .hk-toc-toggle {
    visibility: hidden;
    position: relative;
}

.hk-toc.collapsed .hk-toc-toggle::after {
    content: "+";
    visibility: visible;
    position: absolute;
    right: 0;
    font-size: 1.25rem;
}

.hk-toc-list {
    margin: 14px 0 0;
    padding-left: 20px;
    list-style: decimal;
}

.hk-toc-list li {
    padding: 4px 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.hk-toc-list li a {
    color: var(--hk-gray-700);
}

.hk-toc-list li a:hover {
    color: var(--hk-primary);
}

.hk-toc-list li.hk-toc-sub {
    margin-left: 16px;
    font-size: 0.875rem;
    list-style-type: disc;
}

/* ========================================
   "Bunlari da okuyun" kutusu
   ======================================== */
.hk-read-also {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--hk-primary);
    border-radius: var(--hk-radius);
    padding: 16px 20px;
    margin: 24px 0;
}

.hk-read-also strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--hk-dark);
    margin-bottom: 8px;
}

.hk-read-also ul {
    margin: 0;
    padding-left: 20px;
}

.hk-read-also ul li {
    padding: 3px 0;
    font-size: 0.9375rem;
}

.hk-read-also ul li a {
    color: var(--hk-primary);
    font-weight: 500;
}

.hk-read-also ul li a:hover {
    color: var(--hk-primary-dark);
    text-decoration: underline;
}

/* ========================================
   Sosyal Paylasim Butonlari
   ======================================== */
.hk-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--hk-gray-200);
    border-bottom: 1px solid var(--hk-gray-200);
}

.hk-share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hk-gray-700);
    margin-right: 4px;
}

.hk-share-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hk-white);
    transition: opacity 0.2s;
}

.hk-share-btn:hover {
    opacity: 0.85;
    color: var(--hk-white);
}

.hk-share-x { background: #000; }
.hk-share-fb { background: #1877f2; }
.hk-share-wa { background: #25d366; }
.hk-share-li { background: #0a66c2; }

/* ========================================
   Back to Top Butonu
   ======================================== */
.hk-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--hk-primary);
    color: var(--hk-white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    box-shadow: var(--hk-shadow-md);
}

.hk-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.hk-back-to-top:hover {
    background: var(--hk-primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   Inline AdSense Reklam Alani
   ======================================== */
.hk-ad-inline {
    margin: 28px 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
    min-height: 100px;
}
