/*
Theme Name:  IJPEYHS
Theme URI:   https://ijpeyhs.com
Description: Custom WordPress theme for the International Journal of Physical Education, Yoga and Health Sciences (IJPEYHS). Peer-reviewed academic journal theme.
Version:     1.0.0
Author:      IJPEYHS
Author URI:  https://ijpeyhs.com
Text Domain: ijpeyhs
License:     GPL-2.0-or-later
Tags:        academic, journal, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Theme base — all visual styles are loaded from
   assets/css/main.css via wp_enqueue_scripts().
   Only WordPress-specific micro-overrides go here.
   ============================================================ */

/* Ensure WordPress admin bar sits above sticky header */
.admin-bar .main-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .main-header {
        top: 46px;
    }
}

/* Align WP generated nav-menu li correctly */
.nav-menu > li {
    list-style: none;
}

/* WP Search form override */
.search-form {
    display: flex;
    width: 100%;
}
.search-form label {
    flex: 1;
}
.search-form .search-field {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
}
.search-form .search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* WP comment form quick harmonise */
#commentform input,
#commentform textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 16px;
}
#commentform .submit {
    background: var(--main-color, #c0392b);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

/* Pagination */
.wp-pagenavi,
.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 30px 0;
}
.nav-links a,
.nav-links span,
.wp-pagenavi a,
.wp-pagenavi span {
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}
.nav-links .current,
.wp-pagenavi .current {
    background: var(--main-color, #c0392b);
    color: #fff;
    border-color: var(--main-color, #c0392b);
}
