@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html, body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

/* Ensure headings and common elements also use Inter */
h1, h2, h3, h4, h5, h6, input, button, textarea, select {
    font-family: 'Inter', sans-serif !important;
}

/* Comment reply button styling */
.reply a {
    font-size: 11px;
    font-weight: 700;
    color: #007bbf;
    background-color: #eff6ff; /* blue-50 */
    padding: 6px 12px;
    border-radius: 9999px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}
.reply a:hover {
    background-color: #007bbf;
    color: #ffffff;
}

/* Comment form focus states */
.comment-form textarea:focus, 
.comment-form input:focus {
    border-color: #007bbf;
    box-shadow: 0 0 0 2px rgba(0, 123, 191, 0.1);
    outline: none;
}

/* Related posts logo brightness */
.group:hover img.brightness-200 {
    filter: brightness(2.5);
}

/* Scrollbar hide utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pagination Styling */
.pagination-container {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}
.pagination-container .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.pagination-container .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151; /* text-gray-700 */
    background-color: #ffffff;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    transition: all 0.2s;
}
.pagination-container .page-numbers:hover {
    background-color: #007bbf; /* brand-blue */
    color: #ffffff;
    border-color: #007bbf;
}
.pagination-container .page-numbers.current {
    background-color: #007bbf;
    color: #ffffff;
    border-color: #007bbf;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.pagination-container .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    pointer-events: none;
}
.pagination-container .page-numbers.dots:hover {
    background-color: transparent;
    color: #374151;
}

/* Primary Header Menu Styling */
.primary-nav-container > ul {
    display: flex;
    height: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
    column-gap: 1.5rem;
}
@media (max-width: 1023px) {
    .primary-nav-container {
        overflow-x: auto;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    .primary-nav-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
}
.primary-nav-container li {
    flex-shrink: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
}
.primary-nav-container li a {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    transition: color 0.15s ease-in-out;
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}
.primary-nav-container li a:hover {
    color: #007bbf;
}

/* Sub-menu (Dropdown) Styling */
.primary-nav-container ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    z-index: 50;
    border-radius: 0 0 0.375rem 0.375rem;
    overflow: hidden;
}
.primary-nav-container li:hover > ul.sub-menu,
.primary-nav-container li:focus-within > ul.sub-menu {
    display: flex;
}
.primary-nav-container ul.sub-menu li {
    width: 100%;
    height: auto;
}
.primary-nav-container ul.sub-menu li a {
    width: 100%;
    padding: 0.75rem 1.25rem;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #f3f4f6; /* gray-100 */
    transition: all 0.15s ease-in-out;
    display: block;
    height: auto;
}
.primary-nav-container ul.sub-menu li a:hover {
    background-color: #eff6ff; /* blue-50 */
    color: #007bbf;
}
.primary-nav-container ul.sub-menu li:last-child a {
    border-bottom: none;
}
