@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* ================= ROOT ================= */
:root {
  --primary: #1e3a5f;
  --primary-soft: #2f5d8a;
  --accent: #f5c542;
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #2c2c2c;
  --muted: #777;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
#container {
  max-width: 1200px;
  margin: 30px auto;
  background: transparent;
}

/* ================= HEADER ================= */
#header {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
}

#headerTitle img {
  max-height: 70px;
  object-fit: contain;
}

/* ================= NAVBAR ================= */
#navbar {
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

#navbar ul.menu {
  display: flex;
  justify-content: center;
  list-style: none;
}

#navbar ul.menu li {
  padding: 15px 25px;
}

#navbar a {
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

#navbar li:hover {
  background: var(--primary-soft);
}

#navbar li.active {
  border-bottom: 3px solid var(--accent);
}

/* ================= LAYOUT ================= */
#body {
  display: flex;
  gap: 20px;
}

/* ================= SIDEBAR ================= */
#leftSidebar,
#rightSidebar {
  width: 22%;
}

#sidebar .block {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 15px;
}

#sidebar .blockTitle {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

/* ================= MAIN ================= */
#main {
  width: 56%;
}

#main > h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* ================= CARD STYLE ================= */
#content .tocArticle {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 15px;
  transition: 0.3s;
}

#content .tocArticle:hover {
  transform: translateY(-3px);
}

#content .tocArticle td {
  padding: 15px;
}

.tocTitle {
  font-weight: 600;
  font-size: 16px;
}

.tocAuthors {
  color: var(--muted);
  font-size: 14px;
}

/* ================= BUTTON ================= */
.button,
.defaultButton {
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.button {
  background: #eee;
}

.defaultButton {
  background: var(--primary);
  color: #fff;
}

.defaultButton:hover {
  background: var(--primary-soft);
}

/* ================= FORM ================= */
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

/* ================= BREADCRUMB ================= */
#breadcrumb {
  background: var(--card);
  padding: 10px 15px;
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

/* ================= FOOTER ================= */
#pageFooter {
  background: var(--primary);
  color: #ddd;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 30px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  #body {
    flex-direction: column;
  }

  #leftSidebar,
  #rightSidebar,
  #main {
    width: 100%;
  }
}