/* =========================================================
   Borobudur Educational Review — custom style for Great Paper theme
   Upload: Settings > Website > Appearance > Advanced > Journal style sheet
   ========================================================= */
:root {
  --bedr-navy: #16386e;
  --bedr-navy-2: #1f4f96;
  --bedr-yellow: #f2d21b;
  --bedr-ink: #1b2430;
  --bedr-muted: #5b6676;
  --bedr-line: #e3e8ef;
  --bedr-bg: #f4f6fa;
}

body { background: var(--bedr-bg); color: var(--bedr-ink); }

/* ---------- Top navigation ---------- */
.navbar-custom,
.navbar-custom.scrolled { background: var(--bedr-navy) !important; border-bottom: 3px solid var(--bedr-yellow); }
.navbar-custom .nav-link { color: #fff !important; font-weight: 500; }
.navbar-custom .nav-link:hover { color: var(--bedr-yellow) !important; }
.navbar-custom .search-box-desktop input { border-radius: 999px; border: 0; }
.navbar-custom .btn-register-desktop { background: var(--bedr-yellow) !important; color: var(--bedr-navy) !important; border-radius: 999px; font-weight: 700; }

/* ---------- Journal header ---------- */
.main-content .header.row { border-bottom: 1px solid var(--bedr-line); padding-bottom: .75rem; margin-bottom: 1.25rem; }
.main-content .header .journal_logo { display: none; }            /* cover already shown below */
.main-content .header .col-md-4 { display: none; }
.main-content .header .name-container { flex: 0 0 100%; max-width: 100%; border-left: 0 !important; }
.main-content .header .name-container p { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 800; color: var(--bedr-navy); margin: 0; line-height: 1.2; }
.journal-name { color: var(--bedr-navy) !important; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Journal identity (cover + summary) ---------- */
.journal-identity { background: #fff; border: 1px solid var(--bedr-line); border-radius: 14px; padding: 1.5rem .75rem; margin: 0 0 1.5rem; }
.journal-cover { width: 100%; max-width: 230px; aspect-ratio: 396 / 568; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 24px rgba(22,56,110,.18); }
.journal-identity p { color: var(--bedr-ink); line-height: 1.7; }
.journal-identity a { color: var(--bedr-navy-2); }
.info-tags span { background: #eef3fb; color: var(--bedr-navy); border-radius: 999px; padding: .3rem .75rem; margin-right: .4rem; font-size: .85rem; }
.info-tags span:nth-child(3) { display: none; }   /* sembunyikan klaim "Fast Response" bawaan tema */
.btn-current-issue { background: var(--bedr-navy) !important; border-color: var(--bedr-navy) !important; color: #fff !important; border-radius: 8px; }
.btn-current-issue:hover { background: var(--bedr-navy-2) !important; }

/* ---------- Current issue list ---------- */
.current-issue-section .section-title { color: var(--bedr-navy); font-weight: 800; }
.current-issue-header { border-bottom: 2px solid var(--bedr-navy); padding-bottom: .5rem; margin-bottom: 1rem; }
.article-card { border: 1px solid var(--bedr-line) !important; border-radius: 12px !important; transition: box-shadow .15s, transform .15s; }
.article-card:hover { box-shadow: 0 8px 22px rgba(22,56,110,.10); transform: translateY(-2px); }
.article-card .article-title { color: var(--bedr-ink) !important; font-weight: 700; }
.article-card a:hover .article-title { color: var(--bedr-navy-2) !important; }
.badge-research { background: #fff7cc !important; color: #7a6400 !important; }
.article-card .galley-link { display: inline-flex !important; align-items: center; gap: .3rem; width: auto !important; height: auto !important; background: var(--bedr-navy) !important; color: #fff !important; border-radius: 6px; padding: .25rem .6rem !important; font-size: .8rem; font-weight: 700; line-height: 1; text-decoration: none; }
.article-card .galley-link i { color: #fff !important; font-size: .8rem; }
.article-card .galley-link::after { content: "PDF"; }

/* ---------- Sidebar ---------- */
.sidebar-card { border-radius: 12px !important; border: 1px solid var(--bedr-line) !important; }
.sidebar-title { color: var(--bedr-navy) !important; font-weight: 800; }
.quick-link-item:hover { background: #eef3fb; color: var(--bedr-navy) !important; }
.latest-content .nav-link.active { color: var(--bedr-navy) !important; border-bottom: 2px solid var(--bedr-yellow) !important; }

/* ---------- Homepage additional content ---------- */
.bedr-band { background: #fff; border: 1px solid var(--bedr-line); border-radius: 14px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.bedr-band h3 { font-size: 1.1rem; font-weight: 800; color: var(--bedr-navy); margin: 0 0 .9rem; }
.bedr-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bedr-fact { border-left: 3px solid var(--bedr-yellow); padding-left: .75rem; font-size: .85rem; color: var(--bedr-muted); }
.bedr-fact strong, .bedr-editor .who strong { display: block; font-size: 1.05rem; color: var(--bedr-ink); }
.bedr-editor .who { color: var(--bedr-muted); font-size: .9rem; }
.bedr-fact b { display: block; font-size: 1.05rem; color: var(--bedr-ink); }
.bedr-fact span { font-size: .85rem; color: var(--bedr-muted); }
.bedr-editor { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.bedr-editor .role { font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--bedr-muted); text-transform: uppercase; min-width: 130px; }
.bedr-editor .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bedr-navy); color: var(--bedr-yellow); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.bedr-editor .who b { display: block; font-size: 1.05rem; }
.bedr-editor .who span { color: var(--bedr-muted); font-size: .9rem; }
.bedr-editor .more { margin-left: auto; font-weight: 700; color: var(--bedr-navy) !important; text-decoration: none; }
.bedr-scope { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.bedr-scope li { background: #eef3fb; color: var(--bedr-navy); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; }
.bedr-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--bedr-navy); color: #fff; border: 0; }
.bedr-cta h3 { color: #fff; margin-bottom: .25rem; }
.bedr-cta p { margin: 0; color: #dbe5f5; }
.bedr-cta a { background: var(--bedr-yellow); color: var(--bedr-navy) !important; font-weight: 800; padding: .6rem 1.1rem; border-radius: 8px; text-decoration: none; white-space: nowrap; display: inline-block; margin: .25rem .25rem .25rem 0; }

/* ---------- Footer ---------- */
.footer-custom { background: var(--bedr-navy) !important; color: #dbe5f5; border-top: 4px solid var(--bedr-yellow); }
.footer-custom a { color: #fff !important; }
.bedr-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: .5rem 0 1rem; }
.bedr-footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 .75rem; }
.bedr-footer ul { list-style: none; margin: 0; padding: 0; }
.bedr-footer li { margin: .35rem 0; }
.bedr-footer li a { text-decoration: none; }
.bedr-footer li a::before { content: "› "; color: var(--bedr-yellow); }
.bedr-footer .brand b { color: #fff; font-size: 1.1rem; display: block; }
.bedr-footer .brand small { display: block; margin: .25rem 0 .75rem; color: var(--bedr-yellow); }
.bedr-license { border-top: 1px solid rgba(255,255,255,.15); padding-top: .75rem; font-size: .85rem; }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  .bedr-facts { grid-template-columns: repeat(2, 1fr); }
  .bedr-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .bedr-facts, .bedr-footer { grid-template-columns: 1fr; }
  .bedr-editor .more { margin-left: 0; }
  .journal-cover { max-width: 180px; display: block; margin: 0 auto; }
}

/* ---------- Editorial Masthead page ---------- */
.page h2, .main-content h2 { font-size: 1.25rem; font-weight: 800; color: var(--bedr-navy); margin: 1.5rem 0 .5rem; padding-bottom: .35rem; border-bottom: 2px solid var(--bedr-yellow); }
ul.user_listing { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.user_listing li { padding: .6rem 0; border-bottom: 1px solid var(--bedr-line); }
ul.user_listing .date_start { display: none; }
ul.user_listing .name { display: block; font-weight: 700; color: var(--bedr-ink); }
ul.user_listing .affiliation { display: block; font-size: .9rem; color: var(--bedr-muted); }

/* ---------- Editorial Team page + profile badges ---------- */
.bedr-team h3 { font-size: 1.1rem; font-weight: 800; color: var(--bedr-navy); margin: 1.5rem 0 .5rem; padding-bottom: .35rem; border-bottom: 2px solid var(--bedr-yellow); }
.bedr-member { padding: .7rem 0; border-bottom: 1px solid var(--bedr-line); }
.bedr-member strong { display: block; font-size: 1.02rem; color: var(--bedr-ink); }
.bedr-member span { display: block; font-size: .9rem; color: var(--bedr-muted); }
.bedr-ids { margin: .4rem 0 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.bedr-ids a { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: .18rem .55rem; border-radius: 4px; text-decoration: none !important; color: #fff !important; }
.bedr-ids a.id-sinta { background: #0b6fb3; }
.bedr-ids a.id-orcid { background: #a6ce39; color: #1b2430 !important; }
.bedr-ids a.id-scopus { background: #e9711c; }
.bedr-ids a.id-gs { background: #4285f4; }

/* ---------- Identity tagline + attention box (AE-style) ---------- */
.journal-identity p:first-of-type em strong { color: var(--bedr-navy-2); font-size: 1.05rem; }
.journal-identity img[alt="ORCID"] { vertical-align: middle; }
.bedr-attention { background: #fffbe6; border-left: 4px solid var(--bedr-yellow); }
.bedr-attention h3 { color: #7a6400; }
.bedr-attention p { margin: 0 0 .5rem; font-size: .92rem; }
