/* UNJ Press - Bootstrap 3 + gaya Wix */
:root {
    --unj-primary: #1a6b6b;
    --unj-primary-dark: #155c5c;
    --unj-teal: #1f7a7a;
    --unj-accent: #1a6b6b;
    --unj-orange: #e85d04;
    --unj-dark: #1b1b1b;
}

body.unjpress-body {
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
}

/* Header */
.unj-header { background: #1a6b6b; }
.header-top { background: #1a6b6b; padding: 18px 0 12px; }
.header-top .logo-img,
.header-top img {
    height: 58px;
    width: auto;
    max-width: 160px;
}
.header-logo-wrap { padding-top: 4px; }

.header-search { margin-top: 12px; max-width: 520px; }
.header-search .form-control {
    height: 42px;
    border: 0;
    border-radius: 40px 0 0 40px;
    background: rgba(255,255,255,0.22);
    color: #fff;
    box-shadow: none;
}
.header-search .form-control::-webkit-input-placeholder { color: #e8e8e8; }
.header-search .btn-search {
    height: 42px;
    border: 0;
    border-radius: 0 40px 40px 0;
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.header-search .input-group { width: 100%; }

/* Menu bar */
.unj-navbar {
    background: #155c5c !important;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    min-height: 48px;
}
.unj-navbar .navbar-collapse { padding-left: 0; padding-right: 0; }
.unj-navbar .nav > li { display: inline-block; float: none; }
.unj-navbar .navbar-nav {
    float: none;
    text-align: center;
    margin: 0 auto;
}
.unj-navbar .nav > li > a,
.unj-navbar .nav li a {
    color: #fff !important;
    font-weight: 500;
    padding: 14px 16px;
    background: transparent !important;
}
.unj-navbar .nav > li > a:hover,
.unj-navbar .nav > .active > a {
    color: #fff !important;
    background: transparent !important;
}
.unj-navbar .navbar-right { float: right !important; }
.unj-navbar .menu-masuk { color: #f97316 !important; }
.unj-navbar .navbar-toggle {
    border-color: #fff;
    margin-right: 0;
}
.unj-navbar .navbar-toggle .icon-bar { background: #fff; }
.unj-navbar .navbar-header { float: none; }

@media (min-width: 768px) {
    .header-search { margin-top: 8px; }
    .unj-navbar .navbar-nav { display: inline-block; }
    .unj-navbar .navbar-header { display: none; }
}

/* Slider overlay seperti Wix */
.main-content .carousel,
.main-content header {
    position: relative;
}
.main-content .carousel:after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(26,107,107,0.35);
    pointer-events: none;
    z-index: 2;
}
.main-content .carousel-control,
.main-content .carousel-indicators {
    z-index: 3;
}
.main-content .carousel-inner > .item > img,
.main-content .carousel-inner > .item > a > img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

/* Tabs New Arrival */
.unj-tabs {
    text-align: center;
    margin: 28px 0 10px;
}
.unj-tabs .tab-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 26px;
    border-radius: 30px;
    border: 1px solid #1a6b6b;
    color: #1a6b6b;
    background: #fff;
    font-weight: 600;
    text-decoration: none !important;
}
.unj-tabs .tab-btn.active,
.unj-tabs .tab-btn:hover {
    background: #1a6b6b;
    color: #fff;
}

.section-title {
    text-align: center;
    color: #1a6b6b;
    font-weight: 700;
    margin: 30px 0 18px;
    position: relative;
    padding-bottom: 10px;
}
.section-title:after {
    content: "";
    width: 46px;
    height: 3px;
    background: #c9a227;
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -23px;
}

.explore-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    min-height: 180px;
}
.explore-icon {
    width: 58px;
    height: 58px;
    line-height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(26,107,107,0.12);
    color: #1a6b6b;
    font-size: 22px;
}
.explore-card h4 { color: #1a6b6b; font-weight: 700; }

.btn-unj, .btn-accent {
    background: #1a6b6b;
    color: #fff !important;
    border: 0;
    border-radius: 24px;
    padding: 10px 22px;
}
.btn-unj:hover, .btn-accent:hover { background: #155c5c; color: #fff !important; }

/* Book / product */
.book-card {
    border: 0;
    background: transparent;
    text-align: center;
    margin-bottom: 10px;
}
.book-card .cover-wrap,
.book-card img {
    width: 100%;
}
.book-card img {
    height: 340px;
    object-fit: cover;
    object-position: center center;
    background: #fff;
    display: block;
    margin: 0 auto;
}
.book-card .card-body { padding: 12px 6px 0; }
@media (max-width: 767px) {
    .book-card img { height: 220px; }
}
.book-title { font-weight: 700; }
.book-author { color: #888; font-size: 13px; }

.product-page { padding: 40px 0; }
.product-title { font-size: 28px; font-weight: 700; }
.product-price { font-size: 24px; color: #1a6b6b; font-weight: 700; margin: 12px 0; }
.product-gallery img { max-width: 100%; }

/* Footer */
.unj-footer { background: #1b1b1b; color: #ccc; padding: 45px 0 20px; margin-top: 40px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-contact li { margin-bottom: 8px; }
.footer-contact i { color: #c9a227; margin-right: 6px; }
.unj-footer a { color: #ccc; }
.footer-divider { border-color: rgba(255,255,255,0.1); }
.copyright { color: #999; }
.mb-foot { margin-bottom: 20px; }

.back-to-top {
    position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px;
    line-height: 42px; text-align: center; border-radius: 50%;
    background: #1a6b6b; color: #fff; display: none; z-index: 99;
}
.back-to-top:hover { color: #fff; background: #155c5c; }

/* Tab homepage New Arrival / Best Seller / Coming Soon */
.unj-book-tabs {
    text-align: center;
    margin: 30px 0 20px;
}
.unj-book-tabs > li {
    display: inline-block;
    float: none;
}
.unj-book-tabs > li > a {
    border: 1px solid #1a6b6b;
    border-radius: 30px !important;
    color: #1a6b6b;
    background: #fff;
    padding: 10px 26px;
    margin: 0 6px;
    font-weight: 600;
}
.unj-book-tabs > li.active > a,
.unj-book-tabs > li > a:hover {
    background: #1a6b6b !important;
    color: #fff !important;
    border-color: #1a6b6b;
}

/* ===== Homepage lebih elegan ===== */
.main-content { background: #f7f6f2; }
.main-content .container { padding-bottom: 20px; }
.tab-content { padding: 10px 0 20px; }

.unj-book-tabs { margin: 36px 0 28px; }
.unj-book-tabs > li > a {
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}
.unj-book-tabs > li.active > a {
    box-shadow: 0 8px 18px rgba(26,107,107,0.25);
}

.book-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.book-card img {
    height: 360px;
    border-radius: 2px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    background: #efece6;
}
.book-card:hover { transform: translateY(-6px); }
.book-card:hover img { box-shadow: 0 16px 32px rgba(0,0,0,0.18); }
.book-title {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    line-height: 1.35;
    min-height: 38px;
}
.book-author {
    font-size: 12px;
    color: #8a8175;
    margin-top: 2px;
}

.section-title {
    margin: 56px 0 28px;
    font-size: 26px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.explore-card {
    border: 0;
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px 24px;
    min-height: 220px;
    box-shadow: 0 8px 24px rgba(27,27,27,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(27,27,27,0.12);
}
.explore-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}
.explore-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: linear-gradient(180deg, #1a6b6b, #155c5c);
    color: #fff;
    box-shadow: 0 8px 16px rgba(26,107,107,0.25);
}
.explore-card h4 {
    margin-top: 8px;
    font-size: 18px;
    letter-spacing: 0.3px;
}
.explore-card p {
    color: #6f6a63;
    font-size: 13px;
    line-height: 1.6;
}

.btn-unj {
    margin-top: 8px;
    padding: 11px 26px;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 16px rgba(26,107,107,0.2);
}

/* Community Events ala Wix */
.event-intro {
    text-align: center;
    max-width: 640px;
    margin: -10px auto 28px;
    color: #5f5a54;
    font-size: 15px;
    line-height: 1.6;
}
.event-col { margin-bottom: 28px; }
.event-card { background: transparent; }
.event-photo img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 6px;
}
.event-body { padding: 16px 4px 0; text-align: left; }
.event-title {
    margin: 0 0 8px;
    color: #1a6b6b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.event-desc {
    color: #6b6560;
    font-size: 13px;
    line-height: 1.6;
    min-height: 60px;
}
.event-more {
    display: inline-block;
    margin-top: 8px;
    color: #1a6b6b !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
    border-bottom: 1px solid #1a6b6b;
    padding-bottom: 2px;
}
.event-more:hover { color: #0e4d4d !important; }


/* MORE TO EXPLORE sesuai mockup.jpg */
.explore-wrap {
    background: #1b6d6d;
    padding: 48px 15px 70px;
    margin: 10px 0 0;
    color: #fff;
}
.explore-wrap .section-title {
    color: #fff !important;
    margin: 0 0 36px !important;
    font-size: 22px !important;
    letter-spacing: 2px;
}
.explore-wrap .section-title:after { background: #c9a227; }

.explore-timeline {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}
.explore-timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 40px;
    width: 1px;
    margin-left: -1px;
    background: rgba(255,255,255,0.45);
}
.explore-item {
    width: 50%;
    position: relative;
    padding: 8px 28px 28px;
    box-sizing: border-box;
}
.explore-item.left { margin-right: 50%; text-align: center; }
.explore-item.right { margin-left: 50%; text-align: center; }
.explore-item .dot {
    position: absolute;
    top: 55px;
    width: 34px;
    height: 34px;
    margin-top: 0;
    border-radius: 50%;
    background: #1b6d6d;
    border: 2px solid #fff;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    z-index: 3;
}
.explore-item.left .dot { right: -17px; }
.explore-item.right .dot { left: -17px; }
.explore-item img {
    width: 230px;
    height: 128px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
}
.explore-item h4,
.explore-item a h4 {
    color: #fff !important;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.4px;
}
.explore-item a { text-decoration: none !important; color: #fff; }

@media (max-width: 767px) {
    .explore-timeline:before { left: 17px; }
    .explore-item.left,
    .explore-item.right {
        width: 100%;
        margin: 0;
        padding: 10px 10px 24px 54px;
        text-align: left;
    }
    .explore-item.left .dot,
    .explore-item.right .dot { left: 0; right: auto; }
    .explore-item img { width: 100%; height: 140px; margin: 0 0 10px; }
}

.explore-full {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #1b6d6d !important;
    padding: 50px 0 70px;
    color: #fff;
    box-sizing: border-box;
}
.main-content { overflow-x: hidden; }

.explore-full {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: #1b6d6d !important;
    padding: 55px 0 70px;
    color: #fff;
}
.explore-full .section-title,
.explore-full h2,
.explore-full h4 { color: #fff !important; }

.explore-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0;
}
.explore-track:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    margin-left: -1px;
    background: #ffffff;
    z-index: 1;
}
.explore-row {
    position: relative;
    min-height: 140px;
    margin-bottom: 10px;
    overflow: hidden;
}
.explore-row .side {
    width: 42%;
    padding: 15px 20px;
}
.explore-row .side.left { float: left; text-align: right; }
.explore-row .side.right { float: right; text-align: left; }
.explore-row .big-icon {
    font-size: 72px !important;
    color: #fff !important;
    line-height: 1;
    display: inline-block;
}
.explore-row h4 {
    color: #fff !important;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    margin: 8px 0 0;
}
.explore-row .dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    margin-top: -11px;
    background: #1b6d6d;
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 3;
}

.explore-row .icon-circle {
    width: 110px;
    height: 110px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 106px;
    color: #fff;
    transition: all 0.25s ease;
}
.explore-row .icon-circle i,
.explore-row .icon-circle .big-icon {
    font-size: 42px !important;
    color: #fff !important;
    line-height: 106px;
    transition: color 0.25s ease;
}
.explore-row .icon-circle:hover {
    border-color: #d4b45a;
    background: rgba(212,180,90,0.12);
}
.explore-row .icon-circle:hover i,
.explore-row .icon-circle:hover .big-icon {
    color: #d4b45a !important;
}
.explore-row a:hover { text-decoration: none; }

/* Dropdown menu navbar */
.unj-navbar .dropdown-menu {
    background: #1b6d6d !important;
    border: 0 !important;
    border-radius: 0;
    padding: 8px 0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.unj-navbar .dropdown-menu > li > a,
.unj-navbar .dropdown-menu > li > a:focus {
    color: #fff !important;
    background: transparent !important;
    padding: 10px 20px;
}
.unj-navbar .dropdown-menu > li > a:hover,
.unj-navbar .dropdown-menu > .active > a,
.unj-navbar .dropdown-menu > .active > a:hover {
    color: #d4b45a !important;
    background: #155c5c !important;
}

.vm-wrap { padding: 20px 0 40px; }
.vm-wrap h1 { color: #1a6b6b !important; font-weight: 700; }
.vm-line { width: 70px; height: 4px; background: #c9a227; margin: 0 0 18px; }
.vm-intro { max-width: 760px; color: #555; line-height: 1.7; margin-bottom: 30px; }
.vm-visi, .vm-misi { padding: 32px 28px; min-height: 300px; margin-bottom: 20px; }
.vm-visi { background: #f7f6f2; }
.vm-misi { background: #1a6b6b; color: #fff; }
.vm-visi h2 { color: #1a6b6b !important; margin-top: 0; }
.vm-misi h2 { color: #fff !important; margin-top: 0; }
.vm-misi p, .vm-misi li, .vm-misi ol { color: #fff !important; }
.vm-icon { font-size: 32px; color: #1a6b6b; margin-bottom: 8px; }
.vm-misi .vm-icon { color: #fff; }

.page-head h1 { color: #1a6b6b !important; font-weight: 700; letter-spacing: 1px; }
.page-head .vm-line { margin-bottom: 16px; }
.layanan-item { margin: 0 0 36px; }
.layanan-item img { width: 100%; height: 220px; object-fit: cover; }
.layanan-item h2 { color: #1a6b6b !important; margin-top: 0; }

.vm-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 50px;
}
.vm-visi {
    background: #ffffff;
    border: 1px solid #e8e2d8;
}
.vm-icon { font-size: 36px; }

.editor-wrap { padding: 30px 15px 50px; }
.editor-wrap .page-head { text-align: center; max-width: 820px; margin: 0 auto 28px; }
.editor-wrap .page-head .vm-line,
.editor-wrap .vm-line { margin-left: auto; margin-right: auto; }
.editor-card { text-align: center; margin-bottom: 24px; }
.editor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #ddd;
    display: block;
}
.editor-card h4 {
    color: #1a6b6b !important;
    margin: 12px 0 4px;
    font-weight: 700;
}
.editor-card p { color: #666; margin: 0; }

.editor-wrap .editor-card {
    padding: 16px !important;
    min-height: 0 !important;
}
.editor-wrap .editor-card img {
    height: 220px !important;
    width: 70%;
    margin: 0 auto;
    object-fit: cover;
}
.editor-wrap .editor-card h4 { margin-top: 10px; font-size: 16px; }
.editor-wrap .editor-card p { font-size: 13px; }

.editor-wrap .editor-card {
    padding: 18px !important;
    min-height: 0 !important;
    text-align: center;
}
.editor-wrap .editor-card img {
    width: 220px !important;
    height: 220px !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
}

.editor-wrap .col-md-6 { text-align: center; }
.editor-wrap .editor-card.vm-visi,
.editor-wrap .editor-card {
    width: 260px;
    max-width: 100%;
    margin: 0 auto 20px !important;
    padding: 16px !important;
    min-height: 0 !important;
    display: inline-block;
    box-sizing: border-box;
}
.editor-wrap .editor-card img {
    width: 220px !important;
    height: 220px !important;
}

.editor-wrap .row {
    max-width: 580px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.editor-wrap .col-md-6 {
    width: auto;
    float: none;
    padding: 8px 10px;
}

.btn-wa {
    display: inline-block;
    background: #25d366 !important;
    color: #fff !important;
    border: 0;
    border-radius: 24px;
    padding: 10px 22px;
    font-weight: 600;
}
.btn-wa:hover { background: #1ebe5a !important; color: #fff !important; text-decoration: none; }

.btn-wa {
    display: inline-block !important;
    background: #128c7e !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 6px !important;
    padding: 12px 26px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    box-shadow: 0 4px 0 #0b5c52;
}
.btn-wa i {
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
.btn-wa:hover,
.btn-wa:focus {
    background: #075e54 !important;
    color: #fff !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    body, .main-content { overflow-x: hidden; }
    .unj-top { padding: 10px 12px !important; }
    .unj-top .logo img { max-height: 42px; }
    .unj-top .search-box { width: 100%; margin-top: 8px; }
    .unj-navbar .navbar-toggle {
        float: right;
        margin: 8px 12px;
        border-color: #fff;
    }
    .unj-navbar .navbar-toggle .icon-bar { background: #fff; }
    .unj-book-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
    }
    .unj-book-tabs > li { float: none; display: inline-block; }
    .book-card { margin-bottom: 16px; }
    .book-card img { height: 210px !important; object-fit: cover; }
    .product-page .product-gallery img { width: 100%; height: auto; }
    .explore-full, .explore-wrap {
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 30px 15px !important;
    }
    .explore-row { min-height: 0; }
    .explore-row .side,
    .explore-row .side.left,
    .explore-row .side.right {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 0;
    }
    .explore-row .dot { display: none; }
    .explore-track:before { display: none; }
    .event-card img, .event-photo img { width: 100%; height: 160px; object-fit: cover; }
    .editor-wrap .row { max-width: 100% !important; display: block !important; }
    .editor-wrap .editor-card { width: 100%; max-width: 260px; }
    .vm-wrap, .pnb-wrap, .ba-wrap { padding-left: 15px; padding-right: 15px; }
    iframe { max-width: 100%; }
}
