/* =====================================================
   INSANI: Jurnal Maqasid al-Syariah dan Masyarakat
   Journal Style Sheet
   Golden Indonesian Batik Academic Theme
   Publisher: Bahtera Al Fikr Press, Part of Bahtera Studi Islam
   ===================================================== */

/* ===== GLOBAL ===== */
body {
    background:
        radial-gradient(circle at 10% 20%, rgba(212,175,55,0.12) 0, transparent 22%),
        radial-gradient(circle at 90% 10%, rgba(140,107,47,0.10) 0, transparent 24%),
        linear-gradient(180deg, #fffaf0, #f7efd8);
    color: #3b2f1c;
    font-family: Georgia, Garamond, "Times New Roman", serif;
    line-height: 1.7;
}

/* ===== LINKS ===== */
a {
    color: #8c6b2f;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #c9a44c;
    text-decoration: none;
}

/* ===== HEADER ===== */
.pkp_structure_head {
    background:
        linear-gradient(135deg, rgba(90,69,32,0.96), rgba(140,107,47,0.94), rgba(201,164,76,0.92)),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.08) 0px,
            rgba(255,255,255,0.08) 2px,
            transparent 2px,
            transparent 12px
        );
    border-bottom: 6px solid #f2d27a;
    box-shadow: 0 10px 28px rgba(120,90,30,0.30);
}

.pkp_site_name,
.pkp_site_name a {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ===== NAVIGATION ===== */
.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.pkp_navigation_primary > li > a:hover {
    color: #f7df9e !important;
}

.pkp_navigation_primary ul a {
    color: #3b2f1c !important;
}

.pkp_navigation_primary ul a:hover {
    background: #fff4d5;
    color: #8c6b2f !important;
}

/* ===== MAIN CONTENT ===== */
.pkp_structure_main {
    background: linear-gradient(180deg, #ffffff, #fff8e8);
    border-radius: 18px;
    border: 1px solid #e0c88a;
    box-shadow: 0 12px 34px rgba(120,90,30,0.14);
    padding: 24px;
}

/* ===== PAGE TITLES ===== */
.page h1,
.page h2,
.page h3,
.obj_issue_toc .heading,
.cmp_announcements h2 {
    color: #5a4520;
    font-weight: 800;
    border-bottom: 3px double #d4af37;
    padding-bottom: 9px;
}

/* ===== ARTICLE LIST ===== */
.obj_article_summary {
    background: linear-gradient(180deg, #ffffff, #fff6df);
    border: 1px solid #e6d3a3;
    border-left: 6px solid #d4af37;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(120,90,30,0.12);
}

.obj_article_summary .title a {
    color: #5a4520;
    font-weight: 800;
}

.obj_article_summary .title a:hover {
    color: #c9a44c;
}

.obj_article_summary .authors {
    color: #6d5a34;
}

/* ===== BUTTONS ===== */
.cmp_button,
.cmp_form .buttons button,
.page_lost_password .buttons button,
.page_search .submit button,
.block_make_submission a {
    background: linear-gradient(135deg, #d4af37, #8c6b2f, #5a4520) !important;
    color: #ffffff !important;
    border: 1px solid #f2d27a !important;
    border-radius: 999px !important;
    padding: 9px 18px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(120,90,30,0.26);
}

.cmp_button:hover,
.cmp_form .buttons button:hover,
.page_search .submit button:hover,
.block_make_submission a:hover {
    background: linear-gradient(135deg, #5a4520, #8c6b2f, #d4af37) !important;
    color: #ffffff !important;
}

/* ===== SIDEBAR BLOCKS ===== */
.pkp_structure_sidebar .block {
    background: linear-gradient(180deg, #ffffff, #fcf1d6);
    border: 1px solid #e0c88a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(120,90,30,0.16);
}

.pkp_structure_sidebar .block .title {
    background: linear-gradient(135deg, #5a4520, #8c6b2f, #c9a44c);
    color: #ffffff;
    padding: 10px;
    font-weight: 800;
    text-align: center;
    border-bottom: 4px solid #f2d27a;
    letter-spacing: 0.4px;
}

/* ===== TABLES ===== */
table {
    border-color: #e6d3a3;
}

th {
    background: #8c6b2f;
    color: #ffffff;
}

td {
    border-color: #e6d3a3;
}

tr:nth-child(even) {
    background: #fff4d5;
}

/* ===== FORMS ===== */
input,
textarea,
select {
    border: 1px solid #d6bd78 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    background: #ffffff !important;
    color: #3b2f1c !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.20);
    outline: none;
}

/* ===== GALLEY / PDF BUTTON ===== */
.obj_galley_link {
    background: #8c6b2f !important;
    border: 1px solid #d4af37 !important;
    color: #ffffff !important;
    border-radius: 999px;
    font-weight: 800;
}

.obj_galley_link:hover {
    background: #d4af37 !important;
    color: #3b2f1c !important;
}

/* ===== BREADCRUMB ===== */
.cmp_breadcrumbs a {
    color: #8c6b2f;
}

.cmp_breadcrumbs .current {
    color: #5a4520;
    font-weight: 800;
}

/* ===== FOOTER ===== */
.pkp_structure_footer_wrapper {
    background: linear-gradient(135deg, #5a4520, #8c6b2f, #c9a44c);
    color: #ffffff;
    border-top: 6px solid #f2d27a;
}

.pkp_structure_footer_wrapper a {
    color: #f7df9e;
}

.pkp_structure_footer_wrapper a:hover {
    color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pkp_structure_main {
        padding: 16px;
        border-radius: 12px;
    }

    .pkp_site_name,
    .pkp_site_name a {
        font-size: 20px !important;
        line-height: 1.4;
    }

    .obj_article_summary {
        padding: 12px;
    }
}
