/*
Theme Name: BeritaSuka Theme
Theme URI: https://beritasuka.com
Template: generatepress
Author: BeritaSuka Team
Author URI: https://beritasuka.com
Description: Child theme for BeritaSuka 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: beritasuka
*/

/* 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: var(--primary-color);
    /* primary color */
}

.page-numbers.current {
    background-color: var(--primary-color);
    /* primary color */
    color: white;
}

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

/* Content Typography */
.entry-content h2 {
    font-size: 1.875rem;
    /* 30px */
    line-height: 2.25rem;
    /* 36px */
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.dark .entry-content h2 {
    color: white;
}

.entry-content h3 {
    font-size: 1.5rem;
    /* 24px */
    line-height: 2rem;
    /* 32px */
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.dark .entry-content h3 {
    color: white;
}

.entry-content h4 {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.75rem;
    /* 28px */
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.dark .entry-content h4 {
    color: white;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

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

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #4b5563;
    /* text-gray-600 */
    background-color: #f9fafb;
    /* bg-gray-50 */
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.25rem;
}

.dark .entry-content blockquote {
    color: #9ca3af;
    /* text-gray-400 */
    background-color: #1f2937;
    /* bg-gray-800 */
}

.entry-content img {
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--accent-color);
}