/* ========================================
   GJMR – Global Journal of Multidisciplinary Research
   Shared Stylesheet
   ======================================== */

:root {
  --olive: #7d7a3a;
  --olive-dark: #6d6b34;
  --olive-mid: #8a8540;
  --gold: #b6aa56;
  --gold-light: #d9cc73;
  --gold-muted: #c7bb5c;
  --gold-pale: #d1c36a;
  --gold-detail: #d7cb75;
  --black: #0b0b06;
  --bg: #fff;
  --sidebar-bg: linear-gradient(#6d6b34, #8a8540 18%, #7f7a3a 55%, #6d6a30);
  --main-top-border: #111;
  --nav-bg: #0f1009;
  --body-font: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: var(--body-font);
  color: #222;
}

a { text-decoration: none; color: inherit; }

/* ── Page wrapper ── */
.page { width: 1080px; max-width: 100%; margin: 0 auto; }

/* ── Banner ── */
.banner {
  height: 270px;
  position: relative;
  text-align: center;
  background: linear-gradient(#fff, #f5f5f5);
}

.title {
  position: absolute;
  top: 48px; left: 0; right: 0;
  text-align: center;
  color: #57502d;
}
.title h1 { margin: 0; font-size: 34px; line-height: 1.1; }
.title .sub { margin-top: 10px; font-size: 18px; font-weight: 700; }

.cta {
  position: absolute;
  left: 0;
  right: 50%;
  transform: translateX(+50%);
  bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.cta .btn {
  background: #202019;
  color: var(--gold-muted);
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #555;
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cta .btn:hover { background: #3a3a1a; color: #e8d96a; }

/* ── Content grid ── */
.content-wrap {
  display: grid;
  grid-template-columns: 195px 1fr 148px;
  width: 850px;
  margin: 0 auto;
}

/* ── Sidebars ── */
.left, .right { background: var(--sidebar-bg); }
.left  { padding: 0 12px; }
.right { padding: 18px 10px; }

/* ── Logo ── */
.logo {
  height: 103px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 4px solid var(--black);
  text-align: center;
  font-size: 14px;
  line-height: 1.1;
}

/* ── Nav ── */
.nav { display: flex; flex-direction: column; gap: 7px; padding: 10px 0; }
.nav a {
  background: var(--nav-bg);
  color: var(--gold-pale);
  border: 1px solid #222;
  display: flex; align-items: center; justify-content: center;
  min-height: 41px;
  font-size: 12px;
  text-align: center;
  padding: 6px 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.35);
  transition: background .15s, color .15s;
}
.nav a:hover, .nav a.active {
  background: #1e1e06;
  color: #e8d96a;
}

.spacer { height: 430px; }

/* ── Main content ── */
.main {
  background: #fff;
  border-top: 41px solid #111;
  min-height: 920px;
}
.main h2 {
  margin: -30px 0 0 0;
  color: var(--gold-light);
  text-align: center;
  font-size: 15px;
  letter-spacing: 1px;
}

/* ── Article body ── */
.article { padding: 14px 18px 20px 18px; font-size: 13px; line-height: 1.6; }
.article p { margin: 0 0 10px 0; }
.article h3 { font-size: 13px; margin: 14px 0 4px; color: #2a2508; }
.article ul, .article ol { margin: 0 0 10px 0; padding-left: 20px; }
.article li { margin-bottom: 4px; }
.article a { color: #5a5215; text-decoration: underline; }
.article a:hover { color: #8a7a20; }

/* ── Right sidebar ── */
.sidebox {
  background: #111;
  color: var(--gold-detail);
  height: 115px;
  display: flex; align-items: center; justify-content: center;
  margin: 26px 0 14px;
  border: 1px solid #222;
  font-size: 13px;
}
.details { font-size: 12px; line-height: 1.5; color: #1e1a10; padding: 0 6px; }
.details b { display: block; margin-top: 8px; color: #241f13; font-size: 13px; }

/* ── Footer ── */
.footer {
  width: 850px;
  margin: 0 auto;
  background: #090909;
  color: #bdae4d;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
}

/* ── Steps list (submission page) ── */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 12px 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 8px 8px 8px 36px;
  margin-bottom: 6px;
  background: #fafaf4;
  border-left: 3px solid var(--olive);
  font-size: 12.5px;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 10px; top: 8px;
  font-weight: 700; color: var(--olive-dark);
  font-size: 13px;
}

/* ── Editorial board grid ── */
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 10px 18px;
}
.board-member {
  font-size: 12.5px;
  line-height: 1.4;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 6px;
}
.board-member strong { display: block; color: #2a2508; font-size: 13px; }
.board-member span { color: #555; font-style: italic; }

/* ── Current issue list ── */
.issue-list { list-style: none; padding: 0; margin: 0; }
.issue-list li {
  padding: 10px 18px;
  border-bottom: 1px solid #e8e4d0;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.issue-list li .num {
  min-width: 20px;
  font-weight: 700;
  color: var(--olive-dark);
}
.issue-list li .links { margin-top: 3px; }
.issue-list li .links a {
  display: inline-block;
  background: var(--nav-bg);
  color: var(--gold-pale);
  font-size: 11px;
  padding: 2px 6px;
  margin-right: 4px;
  border: 1px solid #333;
}
.issue-list li .links a:hover { background: #2a2a0a; color: #e8d96a; text-decoration: none; }

/* ── Fields list (call for papers) ── */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px 10px;
  font-size: 12px;
  line-height: 1.6;
  padding: 0 18px 14px;
}
.fields-grid span::before { content: "• "; color: var(--olive); }

/* ── Info box ── */
.info-box {
  background: #fafaf4;
  border: 1px solid #d5cc88;
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 12.5px;
  line-height: 1.6;
}
.info-box strong { color: #2a2508; }

/* ── Contact details ── */
.contact-block { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; }
.contact-label { font-weight: 700; color: #2a2508; min-width: 80px; }

/* ── Subscription table ── */
.sub-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0; }
.sub-table th { background: #111; color: var(--gold-pale); padding: 7px 10px; text-align: left; font-size: 12px; }
.sub-table td { padding: 7px 10px; border-bottom: 1px solid #e8e4d0; }
.sub-table tr:nth-child(even) td { background: #fafaf4; }


/* ── Responsive ── */
@media (max-width: 760px) {
  .content-wrap, .footer { width: 100%; }
  .content-wrap { grid-template-columns: 1fr; }
  .spacer { display: none; }
  .board-grid { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: 1fr 1fr; }
  .right { display: none; }
}

.announcement-banner {
  background: #ec9e03;
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 2px solid #ec9e03;;
}

.announcement-banner a {
  color: white;
  text-decoration: underline;
}

