/*
Theme Name: ColorMag Child
Template: colormag
Version: 1.0
*/

@import url("../colormag/style.css");


/* =========================================================
   CURRENT ISSUE PAGE
   ========================================================= */

.current-issue-page {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}


/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.current-issue-page .journal-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}


/* =========================================================
   ISSUE HERO
   ========================================================= */

.current-issue-hero {
    background: linear-gradient(
        135deg,
        #0b3c66,
        #1261a0
    );

    color: #ffffff;

    padding: 65px 0;
}


.current-issue-hero .section-badge {
    display: inline-block;

    background: #ffffff;

    color: #1261a0;

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 18px;
}


.current-issue-hero h1 {
    color: #ffffff;

    font-size: 42px;

    line-height: 1.25;

    margin: 0 0 15px;

    font-weight: 700;
}


.current-issue-hero p {
    max-width: 720px;

    margin: 0;

    color: rgba(255,255,255,.9);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   ISSUE INFORMATION
   ========================================================= */

.current-issue-information {
    background: #f5f8fc;

    padding: 35px 0;
}


.issue-information-box {
    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0,0,0,.07);

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    overflow: hidden;
}


.issue-information-item {
    padding: 25px 20px;

    text-align: center;

    border-right: 1px solid #e6edf3;
}


.issue-information-item:last-child {
    border-right: none;
}


.issue-information-item span {
    display: block;

    color: #71808e;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .5px;

    margin-bottom: 8px;
}


.issue-information-item strong {
    display: block;

    color: #1261a0;

    font-size: 20px;

    font-weight: 700;
}


/* =========================================================
   ARTICLES SECTION
   ========================================================= */

.current-issue-articles {
    padding: 70px 0 80px;

    background: #ffffff;
}


.issue-section-heading {
    margin-bottom: 35px;
}


.issue-section-heading .section-badge {
    display: inline-block;

    color: #1261a0;

    background: #eaf4fb;

    padding: 7px 15px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 12px;
}


.issue-section-heading h2 {
    margin: 0 0 10px;

    color: #173b56;

    font-size: 32px;

    line-height: 1.3;
}


.issue-section-heading p {
    margin: 0;

    color: #6c7b87;

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================================
   ARTICLE CARD
   ========================================================= */

.current-issue-article {
    position: relative;

    display: flex;

    gap: 25px;

    background: #ffffff;

    border: 1px solid #e2e9ef;

    border-radius: 12px;

    padding: 28px 30px;

    margin-bottom: 18px;

    box-shadow: 0 5px 18px rgba(0,0,0,.045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.current-issue-article:hover {
    transform: translateY(-2px);

    border-color: #c8dbe9;

    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}


/* =========================================================
   ARTICLE NUMBER
   ========================================================= */

.article-number {
    flex: 0 0 48px;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: #eaf4fb;

    color: #1261a0;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.article-content {
    flex: 1;

    min-width: 0;
}


.article-title {
    margin: 0 0 12px;

    font-size: 21px;

    line-height: 1.45;

    font-weight: 700;
}


.article-title a {
    color: #173b56;

    text-decoration: none;
}


.article-title a:hover {
    color: #1261a0;
}


/* =========================================================
   AUTHORS
   ========================================================= */

.article-authors {
    color: #5f6f7c;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 14px;
}


.article-authors strong {
    color: #344b5c;
}


/* =========================================================
   ARTICLE META
   ========================================================= */

.article-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 25px;

    margin-bottom: 18px;
}


.article-meta span {
    color: #687984;

    font-size: 13px;
}


.article-meta strong {
    color: #3b5363;
}


/* =========================================================
   ARTICLE BUTTONS
   ========================================================= */

.article-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.article-abstract-btn,
.article-pdf-btn {
    display: inline-block;

    padding: 9px 17px;

    border-radius: 5px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: .2s;
}


.article-abstract-btn {
    background: #1261a0;

    color: #ffffff;
}


.article-abstract-btn:hover {
    background: #0b3c66;

    color: #ffffff;
}


.article-pdf-btn {
    background: #ffffff;

    color: #1261a0;

    border: 1px solid #1261a0;
}


.article-pdf-btn:hover {
    background: #1261a0;

    color: #ffffff;
}


/* =========================================================
   NO ARTICLES
   ========================================================= */

.no-current-issue {
    background: #f7fafc;

    border: 1px solid #e1e9ef;

    border-radius: 10px;

    padding: 40px;

    text-align: center;
}


.no-current-issue h3 {
    color: #173b56;

    margin: 0 0 8px;

    font-size: 22px;
}


.no-current-issue p {
    margin: 0;

    color: #71808e;
}


/* =========================================================
   BOTTOM BUTTONS
   ========================================================= */

.current-issue-bottom {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-top: 45px;

    padding-top: 35px;

    border-top: 1px solid #e5ebf0;
}


.issue-primary-button,
.issue-secondary-button {
    display: inline-block;

    padding: 13px 25px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .2s;
}


.issue-primary-button {
    background: #1261a0;

    color: #ffffff;
}


.issue-primary-button:hover {
    background: #0b3c66;

    color: #ffffff;
}


.issue-secondary-button {
    background: #ffffff;

    color: #1261a0;

    border: 1px solid #1261a0;
}


.issue-secondary-button:hover {
    background: #1261a0;

    color: #ffffff;
}


/* =========================================================
   COLORMAG FULL WIDTH FIX
   ========================================================= */

body.page-template-page-current-issue #primary,
body.page-template-page-current-issue .content-area,
body.page-template-page-current-issue .site-content {
    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;
}


body.page-template-page-current-issue #secondary {
    display: none !important;
}


body.page-template-page-current-issue #main {
    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .current-issue-page .journal-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .current-issue-hero {
        padding: 45px 0;
    }


    .current-issue-hero h1 {
        font-size: 30px;
    }


    .current-issue-hero p {
        font-size: 15px;
    }


    .issue-information-box {
        grid-template-columns: repeat(2, 1fr);
    }


    .issue-information-item:nth-child(2) {
        border-right: none;
    }


    .issue-information-item:nth-child(1),
    .issue-information-item:nth-child(2) {
        border-bottom: 1px solid #e6edf3;
    }


    .current-issue-articles {
        padding: 50px 0 60px;
    }


    .issue-section-heading h2 {
        font-size: 27px;
    }


    .current-issue-article {
        gap: 15px;

        padding: 22px 20px;
    }


    .article-number {
        flex: 0 0 40px;

        width: 40px;

        height: 40px;
    }


    .article-title {
        font-size: 18px;
    }


    .current-issue-bottom {
        flex-direction: column;
    }


    .issue-primary-button,
    .issue-secondary-button {
        width: 100%;

        max-width: 300px;

        text-align: center;

        box-sizing: border-box;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .issue-information-box {
        grid-template-columns: 1fr;
    }


    .issue-information-item {
        border-right: none !important;

        border-bottom: 1px solid #e6edf3;
    }


    .issue-information-item:last-child {
        border-bottom: none;
    }


    .current-issue-article {
        flex-direction: column;
    }


    .article-number {
        flex: none;
    }


    .article-meta {
        flex-direction: column;

        gap: 6px;
    }


    .article-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .article-abstract-btn,
    .article-pdf-btn {
        text-align: center;
    }

}

