/* HEADER */
.pkp_structure_head {
    background-color: #c03a2b !important;
    background-image: 
        radial-gradient(circle at 30% 40%, #ffd700 4%, transparent 5%),
        radial-gradient(circle at 70% 60%, #ffd700 4%, transparent 5%),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,215,0,0.2) 20px),
        radial-gradient(#d64d3e 20%, transparent 20%),
        radial-gradient(#d64d3e 20%, transparent 20%) !important;
    background-position: 0 0, 0 0, 0 0, 0 0, 10px 10px !important;
    background-size: 60px 60px, 60px 60px, auto, 20px 20px, 20px 20px !important;
    border-bottom: 5px solid #ffd700 !important;
}


/* HEADER IMAGE */
.has_site_logo .pkp_site_name .is_img,
.pkp_site_name .is_img {
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.has_site_logo .pkp_site_name .is_img img,
.pkp_site_name .is_img img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

/* NAVIGATION */
.pkp_navigation_primary_wrapper {
    background: #1a1a1a !important;
    border-bottom: 2px solid #ffd700 !important;
    margin-top: 2rem;
}

.pkp_navigation_primary li a {
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    padding: 15px 20px !important;
}


/* CURRENT ISSUE */
.current_issue {
    padding: 60px 20px;
    background: #fdfdfd;
    overflow: hidden;
    position: relative;
}

/* current issue: HEADER CURRENT ISSUE */
.current_issue h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -3px;
    margin: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    position: relative;
    z-index: 2;
}

/* current issue: SUBTITLE VOL & NO */
.current_issue_title {
    display: inline-block;
    background: #c03a2b; /* Merah Khas */
    color: #ffd700; /* Emas Khas */
    padding: 10px 25px;
    font-weight: 900;
    font-size: clamp(1rem, 3vw, 1.5rem);
    transform: rotate(-1.5deg);
    margin: 20px 0 40px 0;
    box-shadow: 5px 5px 0px #8e2a1e;
    z-index: 3;
    position: relative;
}

/* current issue: CARD ISSUE */
.obj_issue_toc {
    background: #ffffff;
    border-left: 8px solid #c03a2b;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 30px;
    border-radius: 0 15px 15px 0;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin: 0 auto;
}

/* current issue: PUBLISHED DATE */
.obj_issue_toc .published {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid #ffd700;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

/* current issue: HEADING SECTION (ARTICLES) */
.section h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h3::after {
    content: "";
    flex-grow: 1;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #ffd700,
        #ffd700 10px,
        transparent 10px,
        transparent 20px
    );
}

/* INDEX IMAGE */
.pkp_page_index .homepage_image img {margin: 2rem auto 0;}

/* LISTING ARTIKEL (STABILIZED GRID) */
.section > .cmp_article_list.articles {
    counter-reset: row;
    margin: 0;
    padding: 0;
}

.section > .cmp_article_list.articles li .obj_article_summary {
    display: grid;
    grid-template-columns: 25px minmax(0, 3fr) minmax(0, 2fr) 90px;
    column-gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 13px;
    background: #ffffff;
    border: 1px solid darkorange;
    margin-bottom: 0.25em !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.section > .cmp_article_list.articles li .obj_article_summary::before {
    counter-increment: row;
    content: counter(row, decimal-leading-zero);
    font-weight: 800;
    color: #c03a2b;
    font-size: 16px;
    text-align: right;
}

.section > .cmp_article_list.articles li .obj_article_summary .title {
    grid-column: 2;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.section > .cmp_article_list.articles li .obj_article_summary .title a {
    color: inherit;
    text-decoration: none;
}

.section > .cmp_article_list.articles li .obj_article_summary .meta {
    grid-column: 3;
    font-size: 14px;
    line-height: 1.3;
    color: #444;
}

.section > .cmp_article_list.articles li .obj_article_summary .meta b {
    color: #c03a2b;
    display: block;
    margin-bottom: 4px;
}

.section > .cmp_article_list.articles li .obj_article_summary .galleys_links {
    grid-column: 4;
    justify-self: end;
}

.section > .cmp_article_list.articles li .obj_article_summary .obj_galley_link {
    display: inline-block;
    background: #c03a2b;
    color: #ffd700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #a02a1b;
}

.section > .cmp_article_list.articles li:hover .obj_article_summary {
    background: #fffcf5;
    border-color: #ffd700;
    transform: translateY(-2px);
}

.section > .cmp_article_list.articles li .obj_article_summary img {
    display: none !important;
}

/* SIDEBAR */
.pkp_structure_sidebar .pkp_block {
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid #c03a2b;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 0 0 8px 8px;
}

.pkp_structure_sidebar .pkp_block .title {
    color: #c03a2b;
    text-transform: uppercase;
    font-weight: 800;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 8px;
    font-size: 15px;
}

/* FOOTER */
.pkp_structure_footer_wrapper {
    width: 100% !important;
    padding: 60px 20px !important;
    margin-top: 40px !important;
    clear: both !important;
    border-top: 10px solid #ffd700 !important;
    background-color: #1a1a1a !important;
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.7)), 
        url("https://static.vecteezy.com/system/resources/thumbnails/019/050/333/small/gold-chinese-dragon-png.png") !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
    background-size: contain !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5) !important;
}

.pkp_footer_content {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .pkp_structure_head { min-height: 8rem; }
    .current_issue {
        padding: 40px 15px;
    }
    
    .current_issue_title {
        transform: rotate(0deg);
        box-shadow: 4px 4px 0px #8e2a1e;
    }
    .has_site_logo .pkp_site_name .is_img img,
    .pkp_site_name .is_img img { display: none !important; }

    .section > .cmp_article_list.articles li .obj_article_summary {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 15px;
        position: relative;
        padding-right: 115px;
    }

    .section > .cmp_article_list.articles li .obj_article_summary::before {
        grid-column: 1;
        grid-row: 1 / span 20;
    }

    .section > .cmp_article_list.articles li .obj_article_summary .title,
    .section > .cmp_article_list.articles li .obj_article_summary .meta,
    .section > .cmp_article_list.articles li .obj_article_summary > * {
        grid-column: 2;
        width: 100%;
    }

    .section > .cmp_article_list.articles li .obj_article_summary .galleys_links {
        position: absolute;
        right: 12px;
        top: 12px;
        width: 90px;
        grid-column: unset;
        grid-row: unset;
    }

    .section > .cmp_article_list.articles li .obj_article_summary .meta b {
        display: block;
        margin-bottom: 2px;
    }
}

@media(max-width: 768px) {
    .current_issue h2 {
        letter-spacing: -1px;
    }
    
    .obj_issue_toc {
        padding: 20px;
        border-left-width: 5px;
    }
    
    .section h3 {
        font-size: 1.8rem;
    }
    .section > .cmp_article_list.articles li .obj_article_summary {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    
    .section > .cmp_article_list.articles li .obj_article_summary .galleys_links {
        position: static;
        width: auto;
        margin-top: 12px;
        text-align: left;
    }

    .section > .cmp_article_list.articles li .obj_article_summary::before {
        text-align: left;
        border-bottom: 1px solid #f1f1f1;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .pkp_structure_footer_wrapper {
        background-position: bottom right !important;
        background-size: 50% !important;
        padding: 40px 15px !important;
    }
}