/*
Theme Name: Alsen Web ID - Tema Blog Sekolah
Theme URI: https://alsen.web.id
Author: Admin Sekolah
Description: Tema WordPress sekolah modern berbasis Tailwind CSS dengan menu hamburger, layout presisi full-width, footer 3 kolom, dan ikon media sosial.
Version: 4.0
Text Domain: alsen-web-id
*/

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #f8fafc;
}

img, video, iframe, embed, object, table, pre, code {
    max-width: 100%;
    height: auto;
}

.entry-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
    color: #1e3a8a;
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

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

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

/* Navigasi Desktop */
.desktop-menu ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desktop-menu a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.925rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.desktop-menu a:hover {
    color: #fbbf24;
}

/* Navigasi Mobile Hamburger */
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu a:hover {
    color: #fbbf24;
}

/* Custom Logo sizing */
.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.custom-logo-link img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Pagination */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-links .page-numbers {
    padding: 0.5rem 0.85rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
}

.nav-links .page-numbers.current {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}
