
/*
Theme Name: Astra Child Theme
Template: astra
Version: 1.0
Author: Ishaque Javed
Description: Child theme for medical journal website.
*/

body {
    font-family: 'Open Sans', sans-serif;
    background: #f5f9fc;
    color: #333;
}

h1,h2,h3,h4,h5 {
    font-family: 'Poppins', sans-serif;
    color: #0a3d62;
}

.site-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
}

.editor-card,
.article-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.site-branding {
    line-height: 1;
    align-self: center;
    width: 100%
}

 .ast-site-identity {
    -js-display: inline-flex;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
}

.site-title {
    font-size: 37px;
    font-size: 2.4666666666667rem;
    display: block;
}

.ast-site-identity {
    padding: 1em 0;
}
.main-header-menu .menu-item {
    padding: 10px;
}
.main-header-menu .menu-item:before {
    content: "";
    position: absolute;
    height: 33.33%;
    width: 0;
    background-color: #0a3d62;
    right: 0;
    z-index: 0;
    top: 33.33%;
    transition: all 0.5s;
    
}

.main-header-menu .menu-item:after {
    content: "";
    position: absolute;
    height: 33.33%;
    width: 0;
    background-color: #0a3d62;
    left: 0;
    z-index: 0;
    bottom: 0;
    transition: all 0.5s;
}

.main-header-menu .menu-item:hover:before, .main-header-menu .menu-item:hover:after, .main-header-menu .menu-item:hover a:before {
    width: 100%;
}

.main-header-menu .menu-item:hover > .menu-link {
    color: #ffffff !important;
    z-index: 999;
}

h2.section-title {
    background: #eaae07;
    color: #fff;
    padding: 10px;
}

.main-header-menu .menu-item a:before {
    position: absolute;
    content: "";
    height: 33.33%;
    width: 0;
    background-color: #0a3d62;
    bottom: 66.66%;
    left: 0;
    transition: all 0.5s;
}

.main-header-menu .menu-item:hover:before, .main-header-menu .menu-item:hover:after, .main-header-menu .menu-item:hover a:before {
    width: 100%;
}

.main-header-menu .menu-item:hover:before, .main-header-menu .menu-item:hover:after, .main-header-menu .menu-item:hover a:before {
    width: 100%;
}

/* Target Contact Form 7 specifically */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
}

.wpcf7-form label {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 20px;
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100% !important;
    border: 1px solid #000000 !important;
    padding: 12px 15px !important;
    border-radius: 4px;
    box-sizing: border-box;
}

.wpcf7-form input[type="file"] {
    border: 1px solid #000000;
    padding: 8px;
    width: 100%;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    background: #000;
    color: #fff;
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #333;
}

ul.secondary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.secondary-menu-list li {
    list-style: none;
    margin: 0;
    margin-bottom: 0.25em;
    padding: 20px 20px 20px 20px;
    border-bottom:  solid rgba(0, 0, 0, 0.3);
    background: #0a3d62;
}

ul.secondary-menu-list li:hover{
    background: #007bff;
    transition: all .2s linear;
}

ul.secondary-menu-list li a{
    color: #FFFFFF;
}
nav.secondary-navigation {
    background: #8a795d  !important;
    margin: 20px 0;
    max-width: 100%;
    --bellows-item-padding-v: 20px;
    --bellows-item-padding-h: 20px;
    --bellows-sub-item-padding-v: 15px;
    --bellows-sub-item-padding-h: var(--bellows-item-padding-h);
    --bellows-indent: 30px;
    --bellows-indent-level-offset: 1;
    --bellows-toggle-width: 70px;
    --bellows-level: 0;
    --bellows-tree-toggle-w: 0px;
    --bellows-focus-outline: none;
    --bellows-focus-visible-outline: auto;
}