/*
Theme Name: News Theme 1
Theme URI: #
Author: News
Description: Modern, performance-optimized WordPress theme for news portals
Version: 1.0.1
Text Domain: news-theme
Domain Path: /languages
Language: tr_TR
*/

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

/* Pagination styling */
.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers a {
    background-color: #f3f4f6;
    color: #374151;
}

.page-numbers a:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.page-numbers .current {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

/* Prose styling for content */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: .5em;
    line-height: 1.2;
}

.prose h1 {
    font-size: 2.25em;
}

.prose h2 {
    font-size: 1.875em;
}

.prose h3 {
    font-size: 1.5em;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
}

.prose a:hover {
    color: #1d4ed8;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5em 0;
}

.prose ul,
.prose ol {
    margin: 1.25em 0;
    padding-left: 1.625em;
}

.prose li {
    margin: 0.5em 0;
}

.prose blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #6b7280;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
