/*
Theme Name: Berita Opini
Theme URI: https://beritaopini.com
Template: generatepress
Author: BeritaOpini Team
Author URI: https://beritaopini.com
Description: Child theme for Berita Opini based on GeneratePress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beritaopini
*/

/* Custom CSS from HTML template */

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

/* Tailwind-style utilities mapping or overrides if necessary */
.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;
}

/* Pagination Styles */
.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.375rem;
    /* rounded-md */
    font-weight: 600;
    font-size: 0.875rem;
    color: #4b5563;
    /* text-gray-600 */
    background-color: #f3f4f6;
    /* bg-gray-100 */
    text-decoration: none;
    transition: all 0.2s;
}

.page-numbers:hover {
    background-color: #e5e7eb;
    /* bg-gray-200 */
    color: #ef4444;
    /* primary red */
}

.page-numbers.current {
    background-color: #ef4444;
    /* primary red */
    color: white;
}

.page-numbers .material-symbols-outlined {
    font-size: 1.25rem;
}