/* =========================================================
   SADHIKA RESEARCH & PUBLICATIONS
   JOURNALS PAGE
========================================================= */

:root {
    --journal-blue: #002147;
    --journal-blue-light: #123b63;
    --journal-gold: #c28b16;
    --journal-gold-light: #e0ad3b;
    --journal-border: #e4e4e4;
    --journal-bg: #ffffff;
    --journal-soft: #faf9f5;
}


/* =========================================================
   BASIC
========================================================= */

.journals-page {
    width: 100%;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--journal-blue);
    background: #ffffff;
}

.journals-page *,
.journals-page *::before,
.journals-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.journals-hero {
    position: relative;
    min-height: 290px;

    background-image:
        url("../images/hero/journals-banner.jpg");

    background-size: cover;
    background-position: center;

    color: #ffffff;
    overflow: hidden;
}

.journals-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 33, 71, 0.97) 0%,
            rgba(0, 33, 71, 0.88) 34%,
            rgba(0, 33, 71, 0.48) 60%,
            rgba(0, 33, 71, 0.10) 100%
        );
}

.journals-hero-container {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1380px;
    min-height: 290px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.journals-hero-content {
    max-width: 700px;
}

.journals-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    font-size: 15px;
}

.journals-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.journals-breadcrumb span:last-child {
    color: var(--journal-gold-light);
}

.journals-hero-content h1 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 5vw, 68px);
    line-height: 1.05;

    font-weight: 700;

    color: #ffffff;
}

.journals-hero-content p {
    max-width: 650px;

    margin: 0;

    font-size: 25px;
    line-height: 1.35;

    color: #ffffff;

    text-align: left;
}


/* =========================================================
   HERO SERVICES
========================================================= */


.journals-hero-services {
    width: 100%;

    padding-left: 28px;

    border-left: 2px solid var(--journal-gold-light);

    justify-self: stretch;
}

.hero-service-item {
    display: flex;
    align-items: center;

    gap: 17px;

    margin-bottom: 19px;

    color: #ffffff;
}


.hero-service-item:last-child {
    margin-bottom: 0;
}

.hero-service-item span {
    width: 28px;

    flex: 0 0 28px;

    font-size: 25px;

    color: #f4bb35;
}

.hero-service-item strong {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;
    font-weight: 400;

    color: #ffffff;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.journals-main-section {
    padding: 26px 0 45px;

    background: #ffffff;
}

.journals-main-container {
    width: 95%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr)
        220px;

    gap: 20px;

    align-items: start;
}


/* =========================================================
   SIDEBARS
========================================================= */

.journals-sidebar,
.journals-right-sidebar {
    min-width: 0;
}

.journal-sidebar-box {
    width: 100%;

    padding: 12px;

    border: 1px solid var(--journal-border);

    background: #ffffff;

    margin-bottom: 22px;
}

.journal-sidebar-box h3 {
    margin: 0 0 9px;

    font-size: 19px;
    line-height: 1.2;

    color: var(--journal-blue);

    text-align: left;
}

.sidebar-title-line,
.heading-line {
    width: 38px;
    height: 3px;

    margin: 0 0 14px;

    background: var(--journal-gold);
}


/* =========================================================
   CATEGORY FILTER
========================================================= */

.journal-category-list {
    width: 100%;
}

.journal-category {
    width: 100%;

    min-height: 31px;

    display: grid;

    grid-template-columns: 25px minmax(0, 1fr) 15px;

    align-items: center;

    gap: 5px;

    padding: 5px 7px;

    border: none;
    border-bottom: 1px solid #eeeeee;

    background: #ffffff;

    color: var(--journal-blue);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}

.journal-category:last-child {
    border-bottom: none;
}

.journal-category:hover {
    background: #faf5e8;

    color: var(--journal-gold);

    padding-left: 11px;
}

.journal-category.active {
    background: #f7d889;

    color: var(--journal-blue);
}

.category-arrow {
    text-align: right;

    font-size: 18px;
}


/* =========================================================
   JOURNALS CONTENT
========================================================= */

.journals-content {
    min-width: 0;
}

.journals-section-heading {
    margin-bottom: 14px;
}

.journals-section-heading h2,
.section-title h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 28px;
    line-height: 1.2;

    color: var(--journal-blue);

    text-align: left;
}

.journal-count {
    font-size: 18px;
    font-weight: 400;
}


/* =========================================================
   JOURNAL GRID
========================================================= */

.journals-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 35px;
}

.journal-card {
    display: grid;

    grid-template-columns: 145px minmax(0, 1fr);

    min-height: 190px;

    border: 1px solid var(--journal-border);

    background: #ffffff;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-4px);

    border-color: #d7bd78;

    box-shadow: 0 8px 22px rgba(0, 33, 71, 0.08);
}

.journal-image {
    width: 145px;
    height: 180px;

    margin: 6px;

    overflow: hidden;

    background: #f2f2f2;
}

.journal-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.journal-card:hover .journal-image img {
    transform: scale(1.04);
}

.journal-info {
    padding: 12px 12px 12px 6px;

    text-align: left;
}

.journal-info h3 {
    margin: 0 0 10px;

    font-size: 16px;
    line-height: 1.25;

    color: var(--journal-blue);

    text-align: left;
}

.journal-info p {
    margin: 0 0 7px;

    font-size: 13px;
    line-height: 1.35;

    color: #26384c;

    text-align: left;
}

.journal-info strong {
    font-weight: 600;
}


/* =========================================================
   NO RESULT
========================================================= */

.journal-no-result {
    display: none;

    padding: 30px;

    margin-bottom: 35px;

    border: 1px solid var(--journal-border);

    background: #faf9f5;

    font-size: 17px;

    text-align: center;

    color: var(--journal-blue);
}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.submit-research-box p {
    margin: 0 0 18px;

    font-size: 14px;
    line-height: 1.5;

    color: #26384c;

    text-align: justify;
}

.gold-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 11px 13px;

    background: #f0b82f;

    color: #102a43;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.gold-button:hover {
    background: #dca31e;

    transform: translateY(-2px);
}

.indexing-box {
    background: #faf9f5;
}

.indexing-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    padding-top: 8px;
}

.indexing-grid div {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 6px;

    font-size: 14px;
    font-weight: 600;

    color: #435b72;

    text-align: center;
}


/* =========================================================
   WHY PUBLISH
========================================================= */

.why-publish-section {
    margin-top: 8px;

    padding: 0 0 45px;
}

.section-title {
    margin-bottom: 17px;
}

.publish-benefits {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    border-top: 1px solid #e8e1d3;
    border-bottom: 1px solid #e8e1d3;

    background: #faf9f5;
}

.publish-benefit {
    min-height: 120px;

    padding: 14px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-right: 1px solid #e4dccb;
}

.publish-benefit:last-child {
    border-right: none;
}

.benefit-icon {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 8px;

    border-radius: 50%;

    background: var(--journal-blue);

    color: #f2b52d;

    font-size: 23px;
}

.publish-benefit h3 {
    margin: 0 0 2px;

    font-size: 15px;

    color: var(--journal-blue);
}

.publish-benefit p {
    margin: 0;

    font-size: 14px;

    color: var(--journal-blue);
}


/* =========================================================
   REVEAL MOTION
========================================================= */

.journal-reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.journal-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .journals-main-container {
        grid-template-columns:
            210px
            minmax(0, 1fr);

        gap: 18px;
    }

    .journals-right-sidebar {
        grid-column: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .journals-hero-container {
        width: 92%;
        grid-template-columns: 53% 47%;
    }

    .journals-hero-services {
        width: 100%;
        padding-left: 22px;
    }
    
    .hero-service-item strong {
        font-size: 16px;
    }

    .journal-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .journal-image {
        width: 125px;
    }

    .publish-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .publish-benefit:nth-child(3) {
        border-right: none;
    }

    .publish-benefit:nth-child(-n+3) {
        border-bottom: 1px solid #e4dccb;
    }
}


/* =========================================================
   TABLET / SMALL
========================================================= */

@media (max-width: 850px) {

    .journals-hero {
        min-height: 410px;
    }

    .journals-hero-container {
        min-height: 410px;

        display: flex;
        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        gap: 28px;
    }

    .journals-hero-content {
        max-width: 100%;
    }

    .journals-hero-content h1 {
        font-size: 48px;
    }

    .journals-hero-content p {
        font-size: 21px;
    }

    .journals-hero-services {
        width: 100%;

        padding-left: 20px;
    }

    .journals-main-container {
        width: 92%;

        grid-template-columns: 1fr;
    }

    .journals-sidebar {
        width: 100%;
    }

    .journal-category-list {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

    .journal-category {
        border: 1px solid #eeeeee;
    }

    .journals-right-sidebar {
        grid-column: auto;

        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .journals-hero {
        min-height: 470px;
    }

    .journals-hero-container {
        min-height: 470px;

        width: 90%;

        padding: 25px 0;
    }

    .journals-breadcrumb {
        font-size: 14px;

        margin-bottom: 12px;
    }

    .journals-hero-content h1 {
        font-size: 40px;
    }

    .journals-hero-content p {
        font-size: 19px;

        line-height: 1.4;
    }

    .journals-hero-services {
        padding-left: 16px;
    }

    .hero-service-item {
        margin-bottom: 13px;
    }

    .hero-service-item strong {
        font-size: 15px;
    }

    .journals-main-section {
        padding-top: 22px;
        padding-bottom: 35px;
    }

    .journals-main-container {
        width: 92%;
    }

    .journal-category-list {
        grid-template-columns: 1fr;
    }

    .journals-section-heading h2,
    .section-title h2 {
        font-size: 25px;
    }

    .journals-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .journal-card {
        grid-template-columns: 125px minmax(0, 1fr);

        min-height: 175px;
    }

    .journal-image {
        width: 115px;
        height: 165px;
    }

    .journal-info {
        padding: 10px 8px 10px 2px;
    }

    .journal-info h3 {
        font-size: 15px;
    }

    .journal-info p {
        font-size: 12px;
    }

    .journals-right-sidebar {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .publish-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .publish-benefit {
        border-right: 1px solid #e4dccb;
        border-bottom: 1px solid #e4dccb;
    }

    .publish-benefit:nth-child(even) {
        border-right: none;
    }

    .publish-benefit:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .why-publish-section {
        padding-bottom: 55px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .journals-hero-content h1 {
        font-size: 34px;
    }

    .journals-hero-content p {
        font-size: 17px;
    }

    .journal-card {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .journal-image {
        width: 95px;
        height: 145px;
    }

    .journal-info h3 {
        font-size: 14px;
    }

    .journal-info p {
        font-size: 11px;
    }

    .publish-benefits {
        grid-template-columns: 1fr;
    }

    .publish-benefit,
    .publish-benefit:nth-child(even) {
        border-right: none;

        border-bottom: 1px solid #e4dccb;
    }

    .publish-benefit:last-child {
        border-bottom: none;
    }
}