/* =========================================================
   IJCCCS PREMIUM ARTICLE PAGE
   Dark Green + Gold Academic Theme
   ========================================================= */

:root {

    --green: #073f35;
    --green-dark: #042c26;
    --green-light: #0c5b4c;

    --gold: #c79a3b;
    --gold-light: #e2bd67;

    --cream: #f7f5ef;

    --white: #ffffff;

    --text: #263631;
    --muted: #718079;

    --border: #e5e8e4;

    --shadow:
        0 15px 45px rgba(5, 45, 38, .08);

    --radius: 16px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

body {

    margin: 0;

    background: #f7f8f6;

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.75;
}

a {
    text-decoration: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.paper-container {

    width: min(1180px, 92%);

    margin: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.paper-hero {

    position: relative;

    background:
        linear-gradient(
            135deg,
            #042f28,
            #075244
        );

    padding:
        55px 0
        62px;

    overflow: hidden;

    color: white;
}


/* decorative gold line */

.paper-hero::after {

    content: "";

    position: absolute;

    width: 340px;

    height: 340px;

    right: -120px;

    top: -150px;

    border:

        1px solid
        rgba(226,189,103,.35);

    border-radius: 50%;
}


.paper-hero::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: 100px;

    bottom: -120px;

    border:

        1px solid
        rgba(226,189,103,.20);

    border-radius: 50%;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.paper-breadcrumb {

    display: flex;

    gap: 10px;

    align-items: center;

    font-size: 13px;

    color:
        rgba(255,255,255,.65);

    margin-bottom: 25px;
}

.paper-breadcrumb a {

    color: var(--gold-light);

}

.paper-breadcrumb span {

    opacity: .6;
}


/* =========================================================
   ARTICLE TYPE
   ========================================================= */

.paper-type {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-size: 11px;

    letter-spacing: 1.7px;

    font-weight: 700;

    color: var(--gold-light);

    margin-bottom: 17px;
}

.type-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--gold-light);

    box-shadow:
        0 0 0 5px
        rgba(226,189,103,.12);
}


/* =========================================================
   TITLE
   ========================================================= */

.paper-title {

    max-width: 980px;

    margin: 0;

    font-size: clamp(
        30px,
        4vw,
        48px
    );

    line-height: 1.18;

    letter-spacing: -.7px;

    font-weight: 750;

    color: white;
}


.paper-authors {

    margin-top: 22px;

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 16px;

    color:
        rgba(255,255,255,.78);
}


/* =========================================================
   MAIN
   ========================================================= */

.paper-main {

    padding: 48px 0 80px;
}


.paper-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        285px;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   ARTICLE CARD
   ========================================================= */

.article-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 28px;

    display: grid;

    grid-template-columns:
        135px
        1fr
        175px;

    gap: 28px;

    align-items: center;

    position: relative;

    overflow: hidden;
}


/* gold top line */

.article-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--gold),
            var(--green)
        );
}


/* =========================================================
   COVER
   ========================================================= */

.journal-cover {

    display: flex;

    justify-content: center;
}


.journal-cover img {

    width: 125px;

    height: 170px;

    object-fit: cover;

    border-radius: 5px;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.18);
}


/* =========================================================
   JOURNAL INFO
   ========================================================= */

.journal-name {

    color: var(--green);

    font-size: 17px;

    font-weight: 750;

    margin-bottom: 5px;
}


.copyright {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 17px;
}


/* =========================================================
   INFO GRID
   ========================================================= */

.info-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}


.info-item {

    border-left:
        2px solid
        rgba(199,154,59,.55);

    padding-left: 10px;
}


.info-item span {

    display: block;

    font-size: 9px;

    letter-spacing: 1.1px;

    color: #89958f;

    font-weight: 700;
}


.info-item strong {

    display: block;

    font-size: 13px;

    color: var(--text);
}


/* =========================================================
   DOI
   ========================================================= */

.doi-box {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 18px;

    padding: 8px 12px;

    background: #faf7ef;

    border: 1px solid #eadfca;

    border-radius: 8px;

    font-size: 12px;

    color: var(--green);

    font-weight: 600;
}


.doi-icon {

    background: var(--gold);

    color: white;

    font-size: 9px;

    font-weight: 800;

    padding: 3px 5px;

    border-radius: 4px;
}


/* =========================================================
   PDF BUTTON
   ========================================================= */

.pdf-button {

    min-height: 125px;

    background:
        linear-gradient(
            145deg,
            var(--green),
            #0b5b4d
        );

    border-radius: 12px;

    padding: 18px;

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    gap: 9px;

    transition: .3s ease;

    box-shadow:
        0 10px 25px
        rgba(5,60,49,.16);
}


.pdf-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 16px 32px
        rgba(5,60,49,.25);

    color: white;
}


.pdf-icon {

    width: 42px;

    height: 42px;

    border-radius: 10px;

    background:
        rgba(255,255,255,.13);

    display: grid;

    place-items: center;

    font-size: 21px;
}


.pdf-button small {

    display: block;

    font-size: 8px;

    letter-spacing: 1.5px;

    color: var(--gold-light);

    font-weight: 800;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.content-section {

    background: white;

    margin-top: 24px;

    padding: 28px 30px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    box-shadow:
        0 8px 28px
        rgba(0,0,0,.035);
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}


.heading-icon {

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #eef5f2;

    color: var(--green);

    font-size: 15px;
}


.section-heading span {

    display: block;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: var(--gold);

    font-weight: 800;
}


.section-heading h2 {

    margin: 0;

    font-size: 21px;

    color: var(--green);

    line-height: 1.2;
}


/* =========================================================
   CITATION
   ========================================================= */

.citation-box {

    background:
        #f7faf8;

    border:
        1px solid #e0ebe7;

    border-left:
        4px solid var(--gold);

    border-radius: 10px;

    padding: 19px;

    position: relative;
}


.citation-text {

    font-size: 14px;

    line-height: 1.8;

    color: #55635d;

    padding-right: 120px;
}


.copy-citation {

    border: 0;

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    background: var(--green);

    color: white;

    padding: 9px 13px;

    border-radius: 7px;

    font-size: 11px;

    cursor: pointer;

    transition: .25s;
}


.copy-citation:hover {

    background: var(--green-light);
}


/* =========================================================
   ABSTRACT
   ========================================================= */

.abstract-card {

    background:
        linear-gradient(
            135deg,
            #fbfcfb,
            #f3f8f5
        );

    border-radius: 12px;

    padding: 25px 28px;

    position: relative;

    border: 1px solid #e4ebe7;
}


.abstract-card p {

    margin: 0;

    color: #56645f;

    font-size: 15px;

    line-height: 1.9;

    text-align: justify;
}


.abstract-mark {

    position: absolute;

    right: 22px;

    top: 3px;

    font-family: Georgia, serif;

    font-size: 70px;

    line-height: 1;

    color:
        rgba(199,154,59,.18);
}


/* =========================================================
   KEYWORDS
   ========================================================= */

.keyword-list {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.keyword {

    padding: 7px 13px;

    background: #f3f7f5;

    color: var(--green);

    border: 1px solid #dfe9e5;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 600;

    transition: .2s;
}


.keyword:hover {

    background: var(--green);

    color: white;

    border-color: var(--green);

    transform:
        translateY(-2px);
}


/* =========================================================
   REFERENCES
   ========================================================= */

.reference-toggle {

    width: 100%;

    border: 0;

    background: transparent;

    padding: 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    text-align: left;
}


.reference-title {

    display: flex;

    gap: 13px;

    align-items: center;
}


.reference-arrow {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: #f0f5f3;

    color: var(--green);

    transition: .3s;
}


.references-section.open
.reference-arrow {

    transform: rotate(180deg);
}


.references-content {

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .45s ease,
        opacity .3s ease;

}


.references-section.open
.references-content {

    max-height: 1500px;

    opacity: 1;

    margin-top: 22px;
}


.references-content ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.references-content li {
    margin-bottom: 14px;
    padding: 0;
    font-size: 13px;
    color: #5e6b66;
    line-height: 1.7;
}

.reference-title h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 500;
    color: #073f35;
    font-family: inherit;
}

.reference-title span {
    display: block;
    margin-bottom: 3px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #c79a3b;
    text-transform: uppercase;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.paper-sidebar {

    position: sticky;

    top: 25px;
}


/* =========================================================
   SIDE CARD
   ========================================================= */

.side-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 21px;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.04);
}


.side-title {

    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--green);

    font-weight: 750;

    font-size: 15px;

    padding-bottom: 15px;

    border-bottom:
        1px solid var(--border);

    margin-bottom: 5px;
}


.side-title i {

    color: var(--gold);
}


.side-row {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 10px 0;

    border-bottom:
        1px dashed #e6e9e7;

    font-size: 12px;
}


.side-row:last-child {

    border-bottom: 0;
}


.side-row span {

    color: #84908b;
}


.side-row strong {

    color: var(--green);

    text-align: right;
}


/* =========================================================
   SIDE DOI
   ========================================================= */

.side-doi {

    margin-top: 18px;

    background:
        linear-gradient(
            145deg,
            #075044,
            #04372f
        );

    color: white;

    padding: 20px;

    border-radius: 14px;

    position: relative;

    overflow: hidden;
}


.side-doi::after {

    content: "";

    position: absolute;

    width: 110px;

    height: 110px;

    border: 1px solid
        rgba(255,255,255,.12);

    border-radius: 50%;

    right: -40px;

    bottom: -55px;
}


.doi-symbol {

    display: inline-block;

    background: var(--gold);

    color: white;

    padding: 4px 7px;

    border-radius: 5px;

    font-size: 9px;

    font-weight: 900;

    margin-bottom: 10px;
}


.side-doi span {

    display: block;

    color:
        rgba(255,255,255,.6);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.side-doi strong {

    display: block;

    margin-top: 6px;

    font-size: 12px;

    color: var(--gold-light);

    word-break: break-all;
}


/* =========================================================
   SIDE PDF
   ========================================================= */

.side-pdf {

    margin-top: 18px;

    padding: 23px;

    border-radius: 14px;

    background: white;

    border: 1px solid var(--border);

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.04);
}


.side-pdf-icon {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    background: #fff1f0;

    color: #c9362c;

    border-radius: 10px;

    font-size: 20px;
}


.side-pdf h3 {

    margin:
        13px 0 3px;

    color: var(--green);

    font-size: 16px;
}


.side-pdf p {

    margin:
        0 0 15px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


.side-pdf a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: var(--green);

    color: white;

    padding: 10px 13px;

    border-radius: 7px;

    font-size: 12px;

    font-weight: 700;

    transition: .25s;
}


.side-pdf a:hover {

    background: var(--green-light);

    color: white;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .paper-grid {

        grid-template-columns: 1fr;
    }


    .paper-sidebar {

        position: static;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;
    }


    .side-doi,
    .side-pdf {

        margin-top: 0;
    }

}


@media (max-width: 800px) {

    .article-card {

        grid-template-columns:
            110px 1fr;
    }


    .paper-download {

        grid-column:
            1 / -1;
    }


    .pdf-button {

        min-height: auto;

        flex-direction: row;

        justify-content: center;
    }


    .paper-sidebar {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .paper-hero {

        padding:
            35px 0
            42px;
    }


    .paper-title {

        font-size: 28px;
    }


    .paper-main {

        padding-top: 25px;
    }


    .article-card {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 22px;
    }


    .journal-cover {

        margin: auto;
    }


    .info-grid {

        text-align: left;
    }


    .doi-box {

        justify-content: center;

        flex-wrap: wrap;
    }


    .content-section {

        padding: 21px;
    }


    .citation-text {

        padding-right: 0;

        padding-bottom: 48px;
    }


    .copy-citation {

        top: auto;

        bottom: 13px;

        transform: none;

        right: 13px;
    }


    .abstract-card {

        padding: 20px;
    }


    .abstract-card p {

        font-size: 14px;

        text-align: left;
    }

}


.references-content ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.references-content li {
    margin-bottom: 14px;
    padding-left: 0;
}

