/* ===== Indexing Cards ===== */
.index-item {
    display: inline-flex;
    vertical-align: top;
    width: 170px;
    height: 105px;
    margin: 8px;
    padding: 12px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: indexFadeIn 0.7s ease both;
}

/* Card hover animation */
.index-item:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #d5d5d5;
}

/* Images */
.index-item img {
    display: block;
    max-width: 135px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

/* Image zoom on hover */
.index-item:hover img {
    transform: scale(1.08);
}

/* Remove unwanted link styling */
.index-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* DOI + ResearchGate inner layout */
.indexation-box {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.index-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.index-grid img {
    max-width: 65px;
    max-height: 65px;
    object-fit: contain;
}

/* Entry animation */
@keyframes indexFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation */
.index-item:nth-child(1) {
    animation-delay: 0.1s;
}

.index-item:nth-child(2) {
    animation-delay: 0.2s;
}

.index-item:nth-child(3) {
    animation-delay: 0.3s;
}

.index-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Mobile */
@media (max-width: 600px) {
    .index-item {
        width: 145px;
        height: 90px;
        margin: 5px;
        padding: 8px;
    }

    .index-item img {
        max-width: 115px;
        max-height: 60px;
    }

    .index-grid img {
        max-width: 55px;
        max-height: 55px;
    }
}


/* =========================================================
   UNIQUE COMPACT UNIVERSITY JOURNAL STYLE
   ARTICLE SUMMARY + SIDEBAR ONLY
   HEADER / NAVIGATION NOT TOUCHED
   ========================================================= */


/* ---------- ARTICLE SUMMARY ---------- */

.obj_article_summary {
    position: relative;
    margin: 0 0 18px !important;
    padding: 18px 20px 18px 72px !important;

    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f6f8fa 100%
    );

    border: 1px solid rgba(35, 52, 65, .08);
    border-radius: 18px;

    box-shadow:
        6px 8px 18px rgba(30, 45, 60, .09),
        -4px -4px 12px rgba(255,255,255,.95);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* ---------- SMALL FLOATING CIRCLE ---------- */

.obj_article_summary::before {
    content: "01";

    position: absolute;
    left: 18px;
    top: 20px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        145deg,
        #ffffff,
        #e3e8ec
    );

    color: #536675;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;

    box-shadow:
        4px 5px 10px rgba(30,45,60,.12),
        -3px -3px 8px rgba(255,255,255,.95);
}


/* ---------- SMALL GOLD ACADEMIC LINE ---------- */

.obj_article_summary::after {
    content: "";

    position: absolute;

    left: 67px;
    top: 22px;

    width: 2px;
    height: 32px;

    border-radius: 10px;

    background: #9b8059;
}


/* ---------- HOVER ---------- */

.obj_article_summary:hover {
    transform: translateY(-3px);

    box-shadow:
        10px 13px 24px rgba(30,45,60,.13),
        -5px -5px 13px rgba(255,255,255,.95);
}


/* ---------- ARTICLE TITLE ---------- */

.obj_article_summary .title {
    margin: 0 0 7px !important;

    font-size: 17px !important;
    line-height: 1.38 !important;

    font-weight: 700;

    color: #243746;
}

.obj_article_summary .title a {
    color: inherit;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    color: #92764e;
}


/* ---------- AUTHORS ---------- */

.obj_article_summary .authors {
    margin: 4px 0 !important;

    font-size: 12px !important;
    line-height: 1.5;

    color: #72808b;
}


/* ---------- META ---------- */

.obj_article_summary .meta {
    margin-top: 8px !important;

    font-size: 11px !important;

    color: #8a959d;
}


/* ---------- ABSTRACT ---------- */

.obj_article_summary .abstract {
    margin-top: 10px !important;
    padding: 10px 13px !important;

    background: rgba(240,243,245,.55);

    border-left: 2px solid #9b8059;

    border-radius: 8px;

    color: #687782;

    font-size: 12px !important;
    line-height: 1.55;
}


/* ---------- COMPACT BUTTONS ---------- */

.obj_article_summary .read-more,
.obj_article_summary .galley-link,
.obj_article_summary .file {
    display: inline-flex;

    margin-top: 9px;
    margin-right: 5px;

    padding: 6px 12px !important;

    border-radius: 30px;

    background: #f5f7f8;

    border: 1px solid rgba(30,45,60,.07);

    color: #536875 !important;

    font-size: 11px !important;

    text-decoration: none !important;

    box-shadow:
        3px 4px 8px rgba(30,45,60,.08),
        -2px -2px 6px rgba(255,255,255,.9);

    transition: .25s ease;
}

.obj_article_summary .read-more:hover,
.obj_article_summary .galley-link:hover,
.obj_article_summary .file:hover {
    transform: translateY(-2px);

    color: #92764e !important;
}


/* =========================================================
   SIDEBAR — COMPACT 3D CARDS
   ========================================================= */

.sidebar > * {
    margin-bottom: 16px;

    padding: 17px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f3f6f8
        );

    border: 1px solid rgba(30,45,60,.07);

    border-radius: 18px;

    box-shadow:
        6px 8px 18px rgba(30,45,60,.08),
        -4px -4px 11px rgba(255,255,255,.95);

    transition: .25s ease;
}

.sidebar > *:hover {
    transform: translateY(-3px);

    box-shadow:
        9px 12px 23px rgba(30,45,60,.12),
        -5px -5px 12px rgba(255,255,255,.95);
}


/* ---------- SIDEBAR HEADINGS ---------- */

.sidebar h2,
.sidebar h3,
.sidebar h4 {
    margin: 0 0 12px !important;

    padding-bottom: 8px;

    color: #263b4a;

    font-size: 15px !important;

    border-bottom: 1px solid rgba(40,55,70,.08);
}


/* ---------- SIDEBAR LINKS ---------- */

.sidebar li {
    margin: 4px 0 !important;
    padding: 7px 9px !important;

    border-radius: 9px;

    background: rgba(255,255,255,.55);

    font-size: 12px;

    transition: .2s ease;
}

.sidebar li:hover {
    transform: translateX(3px);

    background: #ffffff;
}


/* ---------- SIDEBAR TEXT ---------- */

.sidebar p {
    margin: 6px 0;

    color: #71808a;

    font-size: 12px;

    line-height: 1.55;
}


/* ---------- SIDEBAR IMAGE ---------- */

.sidebar img {
    border-radius: 13px;

    box-shadow:
        5px 7px 15px rgba(30,45,60,.12);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .obj_article_summary {
        padding: 16px 16px 16px 62px !important;
        border-radius: 15px;
    }

    .obj_article_summary::before {
        left: 15px;
        top: 18px;

        width: 32px;
        height: 32px;
    }

    .obj_article_summary::after {
        left: 59px;
        top: 20px;
        height: 28px;
    }

    .obj_article_summary .title {
        font-size: 15px !important;
    }

    .obj_article_summary .authors {
        font-size: 11px !important;
    }

    .obj_article_summary .abstract {
        font-size: 11px !important;
    }

    .sidebar > * {
        padding: 15px !important;
        border-radius: 15px;
    }
}
/* Remove article number circle */
.obj_article_summary::before {
    display: none !important;
}

/* Remove vertical line beside article */
.obj_article_summary::after {
    display: none !important;
}

/* Restore compact article spacing */
.obj_article_summary {
    padding: 18px 20px !important;
}