/* Custom rules for Creative News beyond Tailwind */

/* Base Typography tweaks */
.news-content h2 {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #111827 !important;
    line-height: 1.3 !important;
    /* Dark gray for editorial starkness */
}

.dark .news-content h2 {
    border-bottom-color: #ffffff !important;
}

.news-content h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    line-height: 1.4 !important;
}

.news-content h3::before {
    content: '' !important;
    display: block !important;
    width: 6px !important;
    height: 1.25rem !important;
    background-color: #111827 !important;
}

.dark .news-content h3::before {
    background-color: #ffffff !important;
}

.news-content p {
    margin-bottom: 1.75rem !important;
    line-height: 1.8 !important;
    font-size: 1.05rem !important;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1.75rem !important;
    padding-left: 1.5rem !important;
    line-height: 1.8 !important;
}

.news-content ul {
    list-style-type: disc !important;
}

.news-content ol {
    list-style-type: decimal !important;
}

.news-content li {
    margin-bottom: 0.75rem !important;
}

.news-content img {
    border-radius: 0 !important;
    margin: 2.5rem 0 !important;
    width: 100% !important;
}

/* Pagination Styling */
.news-pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-pagination li {
    list-style: none;
}

.news-pagination a,
.news-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.news-pagination a {
    color: #4b5563;
    background-color: transparent;
    border: 1px solid #e5e7eb;
}

.news-pagination a:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

.dark .news-pagination a {
    color: #9ca3af;
    background-color: transparent;
    border: 1px solid #374151;
}

.dark .news-pagination a:hover {
    background-color: #ffffff;
    color: #111827;
    border-color: #ffffff;
}

.news-pagination .current {
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #111827;
}

.dark .news-pagination .current {
    background-color: #ffffff;
    color: #111827;
    border: 1px solid #ffffff;
}

/* WP Toolbar Override for News (If ever shown) */
#wpadminbar {
    z-index: 99999;
}