/* Kent Haber Custom Styles */

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Line Clamp Utilities */
.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;
}

/* Haber görseli hover efekti için zoom */
.zoom-img {
    transition: transform 0.5s ease;
}

.group:hover .zoom-img {
    transform: scale(1.05);
}

/* Video Oynat Butonu Animasyonu */
.play-btn {
    transition: all 0.3s ease;
}

.group:hover .play-btn {
    transform: scale(1.1);
    background-color: #D32F2F;
    border-color: #D32F2F;
}

/* Reklam Alanı Deseni */
.ad-pattern {
    background-image: repeating-linear-gradient(45deg, #f3f4f6 25%, transparent 25%, transparent 75%, #f3f4f6 75%, #f3f4f6),
        repeating-linear-gradient(45deg, #f3f4f6 25%, #ffffff 25%, #ffffff 75%, #f3f4f6 75%, #f3f4f6);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

/* Force Display for Generic Boxes */
.kh-generic-box {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Marquee Animation for Breaking News */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Scrollbar Hide for Gallery */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D32F2F;
}

/* Comment Styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: #111827;
}

.comment-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.comment-content {
    color: #374151;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #D32F2F;
    color: #fff;
    border-color: #D32F2F;
}

.pagination .current {
    background: #D32F2F;
    color: #fff;
    border-color: #D32F2F;
}

/* Sticky Post Badge */
.sticky-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fbbf24;
    color: #78350f;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

/* RSS Source Badge */
.rss-source {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.rss-source svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input[type="email"] {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #1E40AF;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: #1E40AF;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #1e3a8a;
}

.newsletter-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.newsletter-message.success {
    background: #d1fae5;
    color: #065f46;
}

.newsletter-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .sidebar,
    .kh-generic-box,
    .social-share,
    .comment-form {
        display: none !important;
    }
}