/* Zaria Journal of Communication - External CSS */

/* Root Variables */
:root {
  --primary-color: #1a472a;
  --secondary-color: #2d5f3f;
  --accent-color: #317a4f;
  --text-dark: #2c3e50;
  --text-light: #555;
  --bg-light: #f8f9fa;
  --border-color: #ddd;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Global Styles */
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

.journal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

/* Header Styles */
.journal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
}

.journal-header h1 {
  margin: 0 0 10px 0;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 1px;
}

.journal-header .subtitle {
  font-size: 1.1em;
  font-style: italic;
  opacity: 0.95;
  margin: 10px 0;
}

.journal-header .publisher {
  font-size: 0.95em;
  margin-top: 15px;
  opacity: 0.9;
}

/* Main Content Area */
.main-content {
  background: var(--white);
}

/* Section Styles */
.journal-section {
  background: var(--white);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.journal-section h2 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.journal-section h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.journal-section p {
  margin-bottom: 15px;
  text-align: justify;
  color: var(--text-light);
}

.journal-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.journal-section li {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* About Section Specific */
.about-section .key-info {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
}

.about-section .key-info strong {
  color: var(--primary-color);
}

/* Editorial Board Styles */
.editorial-board-section .board-category {
  margin-bottom: 30px;
}

.editorial-board-section .board-category h3 {
  background: var(--bg-light);
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.board-member {
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid var(--accent-color);
  background: var(--bg-light);
  border-radius: 4px;
}

.board-member .name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1em;
  margin-bottom: 5px;
}

.board-member .title,
.board-member .affiliation {
  color: var(--text-light);
  font-size: 0.95em;
  margin: 3px 0;
}

.board-member .email {
  color: var(--secondary-color);
  font-size: 0.9em;
  font-style: italic;
}

/* Policy Sections */
.policy-section .policy-item {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 6px;
}

.policy-section .policy-item h4 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.highlight-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 4px;
}

.highlight-box strong {
  color: #856404;
}

/* Open Access Badge */
.oa-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9em;
  margin: 10px 0;
  letter-spacing: 1px;
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.sidebar-section {
  background: var(--white);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-color);
}

.sidebar-section h3 {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 12px;
}

.sidebar-nav a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  border-left-color: var(--accent-color);
  padding-left: 20px;
}

.sidebar-info {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9em;
}

.sidebar-info strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

/* Repository Policy Table */
.repository-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
}

.repository-table th,
.repository-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.repository-table th {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 700;
}

.repository-table tr:nth-child(even) {
  background: var(--bg-light);
}

.repository-table .allowed {
  color: #28a745;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 968px) {
  .journal-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .journal-header h1 {
    font-size: 2em;
  }
  
  .journal-section {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .journal-header h1 {
    font-size: 1.5em;
  }
  
  .journal-section h2 {
    font-size: 1.4em;
  }
  
  .journal-section {
    padding: 15px;
  }
  
  .repository-table {
    font-size: 0.9em;
  }
  
  .repository-table th,
  .repository-table td {
    padding: 10px;
  }
}

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 192px;
    }
}

@media (max-width: 991px) {

  .pkp_site_name .is_img img {
      display: block;
      max-height: 6.143rem;
      max-width: 100%;
      width: auto;
      height: auto;
  }
}

.pkp_structure_head {
    background-color: #5fd298;
    border-bottom: 1px solid #ddd;
}