.journal-card {
    width: 320px;
}

.journal-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.card:hover .journal-img {
    transform: scale(1.05);
}

.card {
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 183, 194, 0.15);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .journal-card {
        width: 80%;
    }
}

.fw-600 {
    font-weight: 600 !important;
}

.rounded-10 {
    border-radius: 10px !important;
}

.border-color {
    border-color: #00b7c2 !important;
}

.shadow-soft {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.shadow-soft:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 183, 194, 0.15);
}


.article-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    /* Adjust height as needed */
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owl-carousel .item {
    padding: 10px;
}





/* .journal-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        } */

/* Card sizing on scroll layout */






.bg-custom {
    background-color: #485574;
}

.input-white {
    background-color: #ffffff !important;
    color: #000000;
}

.nav-tabs .nav-link {
    color: #212529;
    /* dark text for non-active tabs */
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    color: #7cba5e;
    /* green on hover */
}

.nav-tabs .nav-link.active {
    color: #7cba5e !important;
    /* active tab green */
    border-bottom: 2px solid #7cba5e;
    /* subtle underline for active tab */
    background-color: transparent;
}

.nav-tabs .nav-link.active {
    color: #7cba5e !important;
}

.nav-tabs .nav-link {
    color: #212529;
    /* dark text for non-active tabs */
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-publish {
    display: inline-block;
    color: #485574;
    border: 1px solid #485574;
    background-color: transparent;
    border-radius: 30px;
    padding: 3px 25px;

    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-publish:hover,
.btn-publish:focus {
    background-color: #485574;
    color: #fff;
    text-decoration: none;
    outline: none;
}







/* Card wrapper inside Owl */
.journal-card {
    width: 100% !important;
}

/* Card container */
.journal-card .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* Hover effect */
.card:hover {
    box-shadow: 0 10px 20px rgba(0, 183, 194, 0.15);
    transform: translateY(-5px);
}

/* Image */
.journal-img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #fff;
}

/* Text */
.journal-card h6 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    height: 42px;
    overflow: hidden;
    color: #515f7b;
}

.journal-card p {
    font-size: 13px;
    color: #6c757d;
    height: 20px;
    overflow: hidden;
    white-space: normal;
}

/* Remove extra padding added by Owl */
#featured-carousel .owl-item {
    padding: 0 !important;
}

/* Match spacing of article carousel */
#featured-carousel .owl-stage-outer {
    padding-left: 0 !important;
}

/* Reduce gap exactly like Most Read Articles */
#featured-carousel .owl-stage {
    margin-left: 0 !important;
}

/* ===============================
   MOBILE RESPONSIVE
================================= */
@media (max-width: 768px) {
    .journal-img {
        height: 200px;
    }

    .journal-card h6 {
        height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .journal-card p {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

}

.equal-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.equal-inner {
    display: flex;
    align-items: stretch;
}

.equal-date {
    min-width: 90px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equal-title {
    min-height: 48px;
}

.equal-link {
    min-height: 40px;
    display: flex;
    align-items: center;
}

.journals-scroll>div {
    height: 100%;
}

.relative {
    height: 100%;
}

.article-card h6 {
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;
}

.article-card p {
    white-space: normal !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.indexing-logo {
    max-height: 60px;

    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .indexing-logo {
        max-height: 70px;

    }
}

/* ===============================
   CALL FOR PAPERS — HORIZONTAL SCROLL CARDS
================================= */

/* Card fixed width */
.equal-card {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
}

/* Keep cards in one horizontal row */
.journals-scroll>div {
    flex: 0 0 auto !important;
}

/* Allow title to wrap */
.equal-title {
    white-space: normal !important;
    overflow: visible !important;
    word-wrap: break-word;
    line-height: 1.3;
}

/* Allow link to wrap */
.equal-link {
    white-space: normal !important;
    word-break: break-word;
}

/* Ensure the card inner layout stays aligned */
.equal-inner {
    display: flex;
    align-items: flex-start;
}

/* Date column stays fixed */
.equal-date {
    min-width: 90px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text column grows */
.equal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    /* Scroll remains horizontal on mobile */
    .journals-scroll {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 10px;
    }

    .equal-card {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
    }

    .equal-title {
        font-size: 14px;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .equal-link {
        font-size: 13px;
    }


}

/* page css  */




.journal-wrapper {
    padding-top: 110px;

}

/* Green Banner */
.journal-banner {
    background: #4da723;
    padding: 20px 0;
}

.journal-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.profile-banner {
    background: #4da723;
    padding: 8px 0;
}

.profile-container {
    padding-left: 15px;
    padding-right: 15px;
}

.profile-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
}


/* Navigation Tabs */
.journal-tabs {
    background: #44506f;
}

.journal-tabs .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 14px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border: none;
}

.journal-tabs .nav-link:hover {
    background: #546E7A;
    color: #fff;
}

.journal-tabs .nav-link.text-warning {
    color: #FFEB3B !important;
}

/* Section headers */
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
}

.sidebar-widget {
    background: #44506f;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
}

.sidebar-link.link-dark-blue {
    background-color: #0f172a;
    color: #fff;
}

.sidebar-link.link-dark-blue:hover {
    background-color: #0f172a;
    color: #fff;
}

.sidebar-link.link-green {
    background-color: #4da723;
    color: #fff;
    border-bottom: none;
}

.sidebar-link.link-green:hover {
    background-color: #4da723;
    color: #fff;
}

/* Standard Links Hover */
.sidebar-link.link-light:hover {
    background-color: #f8f9fa;
    color: #8bc34a;
    padding-left: 25px;
}

/* .sticky-top {
    margin-top: 25px;
} */

.dropdown-toggle::after {
    display: inline-block !important;
    margin-left: .255em !important;
    vertical-align: .255em !important;
    content: "" !important;
    margin-top: 13px;
    /* border-top: .3em solid; */
    border-right: .3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: .3em solid transparent !important;
}

/* <!-- Mobile Hamburger Menu --> */
@media (max-width: 768px) {
    .journal-tabs ul.nav {
        display: none;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-color {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 50%;
}

.legend-item:nth-child(1) .legend-color {
    background-color: #dc3545;
}

.legend-item:nth-child(2) .legend-color {
    background-color: #ffc107;
}

.legend-item:nth-child(3) .legend-color {
    background-color: #198754;
}


.legend-text {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.legend-item i {
    font-size: 16px;
}

