[x-cloak] {
    display: none !important;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.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;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Breaking News */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-ticker {
    animation: ticker 40s linear infinite;
}

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

/* Article Content */
.article-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #1f2937;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #111827;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: #1f2937;
}

.article-content ul,
.article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--primary-color, #dc2626);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--secondary-color, #b91c1c);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color, #dc2626);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #fef2f2;
    font-style: italic;
    color: #4b5563;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    background: #fef2f2;
}

.article-content figure {
    margin: 2rem 0;
}

.article-content figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* Transitions */
.transition-base {
    transition: all 0.2s ease;
}

/* Focus States */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

/* Image Lazy Loading */
img[loading="lazy"] {
    background: #f3f4f6;
}

/* HABER DETAY PAYLAŞ SATIRI (CRITICAL) */
.article-share-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.article-share-row .share-title {
    font-weight: 700 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.article-share-row .post-share {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-right: auto !important;
}

.article-share-row .font-size-box {
    display: flex !important;
    gap: 6px !important;
    margin-left: auto !important;
}

/* GLOBAL SOCIAL SHARE STYLES - BULLETPROOF */
.share-btn {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    margin: 0 4px !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-btn i {
    font-size: 16px !important;
    color: white !important;
}

.share-btn.facebook {
    background-color: #1877f2 !important;
}

.share-btn.twitter {
    background-color: #000000 !important;
}

.share-btn.whatsapp {
    background-color: #25d366 !important;
}

.share-btn.telegram {
    background-color: #0088cc !important;
}

.share-btn.copy-link {
    background-color: #64748b !important;
    cursor: pointer;
}

.article-meta-share {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: auto !important;
    gap: 5px !important;
}

.share-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #666 !important;
    margin-right: 8px !important;
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .article-meta {
        flex-wrap: wrap !important;
    }
    .article-meta-share {
        width: 100% !important;
        margin-top: 10px !important;
        margin-left: 0 !important;
        justify-content: flex-start !important;
    }
}
