/* VoltTech Ana Stil Dosyası */

/* --- GLOBAL AYARLAR --- */
body { 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
} 

.line-clamp-2 { 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.line-clamp-3 { 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* --- İÇERİK OKUMA TASARIMI (Summernote Çıktısı İçin) --- */
/* Kullanım: <div class="article-content"> ... içerik ... </div> */

.article-content {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem; /* 16px - Standart okuma boyutu */
    line-height: 1.75; /* Satır aralığı */
    color: #374151; /* Gray-700 */
    max-width: 100%;
    overflow-wrap: break-word;
}

.article-content .font-bold {
  font-weight: 600;
}

/* Başlıklar */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #111827; /* Gray-900 */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Başlık boyutları bir tık küçültüldü */
.article-content h1 { font-size: 1.75rem; } /* 28px (Eskisi 32px) */

.article-content h2 { 
    font-size: 1.5rem; /* 24px (Eskisi 28px) */
    border-left: 4px solid #10b981; /* Brand Primary */
    padding-left: 1rem;
}

.article-content h3 { font-size: 1.25rem; } /* 20px (Eskisi 24px) */
.article-content h4 { font-size: 1.125rem; } /* 18px (Eskisi 20px) */
.article-content h5 { font-size: 1rem; } /* 16px (Eskisi 18px) */

.article-content > *:first-child { margin-top: 0; }

/* Paragraf ve Metin */
.article-content p { margin-bottom: 1.25rem; }
.article-content strong { font-weight: 600; color: #000; }
.article-content em { font-style: italic; }

/* Linkler */
.article-content a {
    color: #10b981; /* Brand Primary */
    text-decoration: underline;
    text-decoration-thickness: 1px; /* Daha ince alt çizgi */
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    font-weight: 600;
}

.article-content a:hover {
    color: #047857;
    background-color: rgba(16, 185, 129, 0.1);
    text-decoration: none;
}

/* Listeler */
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { margin-bottom: 0.375rem; padding-left: 0.25rem; }
.article-content ul ul, .article-content ol ol { margin-top: 0.375rem; margin-bottom: 0.375rem; }

/* Görseller */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem; /* Biraz daha az oval */
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Alıntılar */
.article-content blockquote {
    border-left: 4px solid #e5e7eb;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
    font-size: 1.125rem; /* 18px */
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Tablolar */
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: 0.95rem; }
.article-content th, .article-content td { border: 1px solid #e5e7eb; padding: 0.75rem 1rem; text-align: left; }
.article-content th { background-color: #f3f4f6; font-weight: 600; color: #111827; }
.article-content tr:nth-child(even) { background-color: #f9fafb; }

/* Özel Kutular (Summernote classları ile uyumlu) */
.article-content .bg-blue-50 { background-color: #eff6ff; border: 1px solid #dbeafe; border-left: 4px solid #3b82f6; border-radius: 0.5rem; padding: 1.25rem; margin: 1.5rem 0; }
.article-content .bg-green-50 { background-color: #ecfdf5; border: 1px solid #d1fae5; border-left: 4px solid #10b981; border-radius: 0.5rem; padding: 1.25rem; margin: 1.5rem 0; }
.article-content .bg-yellow-50 { background-color: #fefce8; border: 1px solid #fef9c3; border-left: 4px solid #eab308; border-radius: 0.5rem; padding: 1.25rem; margin: 1.5rem 0; }
.article-content .bg-red-50 { background-color: #fef2f2; border: 1px solid #fee2e2; border-left: 4px solid #ef4444; border-radius: 0.5rem; padding: 1.25rem; margin: 1.5rem 0; }

@media (max-width: 768px) {
    .article-content .grid { display: block; }
    .article-content .grid > div { margin-bottom: 1.5rem; }
    
    /* Mobilde fontları biraz daha küçült */
    .article-content h1 { font-size: 1.5rem; }
    .article-content h2 { font-size: 1.25rem; }
}