/* ===============================
   MOBILE FIRST BASE STYLES
================================ */

/* Header Layout */
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
header h4 {
  font-size: 18px;
  font-weight: 700;
}

/* ===============================
   HAMBURGER BUTTON
================================ */
.menu-toggle {
  display: block;
  width: 30px;
  height: 22px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  left: 0;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ===============================
   NAV (MOBILE - HIDDEN)
================================ */
header nav {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #fff;

  display: none; /* IMPORTANT */
  flex-direction: column;

  padding: 15px 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

header nav a {
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

header nav a:last-child {
  border-bottom: none;
}

/* SHOW MENU WHEN ACTIVE */
header nav.active {
  display: flex;
}

/* ===============================
   HERO SECTION
================================ */
.hero {
  padding: 80px 15px 60px;
}

.hero h1 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: #f1f5f9;
}

.hero p {
  font-size: 14px;
  color: #fbbf24;
}

/* Buttons */
.hero .btn {
  width: 100%;
  margin-bottom: 10px;
}

.hero h1 .accent {
  color: #38bdf8; /* soft blue accent */
  font-weight: 800;
}

section.container.py-5 {
  padding: 60px 15px;
  background-color: var(--background-color);
  color: var(--default-color);
  font-family: var(--default-font);
}

section.container.py-5 .section-title h2 {
  font-family: var(--heading-font);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  text-align: center;
}

section.container.py-5 p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--default-color);
  text-align: justify;
}

/* ===== ARTICLE CARD (SCOPUS STYLE) ===== */
.article-card {
  background: var(--surface-color);
  border-radius: 10px;
  border: 1px solid #e6e9ef;
  transition: all 0.25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ===== META ===== */
.article-meta-top {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

/* ===== TITLE ===== */
.article-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left; /* 🔥 change this */
}

.article-title a {
  color: var(--heading-color);
  text-decoration: none;
}

.article-title a:hover {
  color: var(--accent-color);
}

/* ===== AUTHORS ===== */
.article-authors {
  font-size: 14px;
  color: var(--default-color);
  font-weight: 500;
}

/* ===== ABSTRACT ===== */
.article-abstract {
  font-size: 14px;
  color: #5a6473;
  line-height: 1.7;
  text-align: justify;
}

.article-metrics {
  font-size: 12px;
  color: #6c757d;
}

.article-metrics i {
  margin-right: 4px;
}

.article-affiliation {
  font-size: 12px;
  color: #6c757d;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
}

/* ===== META BOTTOM ===== */
.article-meta-bottom {
  border-top: 1px solid #eee;
  padding-top: 12px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--heading-color);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-color);
}

.btn-outline-primary {
  border-color: var(--heading-color);
  color: var(--heading-color);
}

.btn-outline-primary:hover {
  background: var(--heading-color);
  color: #fff;
}

/* ===============================
   SMALL DEVICES (≥576px)
================================ */
@media (min-width: 576px) {

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero .btn {
    width: auto;
  }

  .editorial-board-hero {
    padding: 48px 0 30px;
  }

  .editorial-board-hero h1 {
    font-size: 1.9rem;
  }

  .editorial-role-group__header h2 {
    font-size: 1.8rem;
  }

  .hero.editorial-board-hero .editorial-board-hero__subtitle {
    font-size: 0.97rem;
  }

  .editorial-role-group__panel {
    padding: 34px 24px 26px;
  }

  .editorial-member-card {
    padding: 28px 24px;
  }

  .editorial-member-card__name {
    font-size: 1.5rem;
  }

  .editorial-member-card__photo,
  .editorial-member-card__avatar {
    width: 144px;
  }
}

