.issue-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.issue-column {
  border-radius: 8px;
}

.issue-left {
  width: 25%;
}

.issue-middle {
  flex: 1;
}

  .filter-block {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
  }

  .filter-header {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .filter-body label {
    display: block;
    margin: 6px 0;
  }

  .filter-body input[type="text"] {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .filter-select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  .filter-button {
    background-color: var(--theme);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .filter-button:hover {
    background-color: var(--dark-theme);
  }

  .filter-toggle {
    cursor: pointer;
    font-weight: normal;
    font-size: 1.1rem;
    user-select: none;
  }

  .results-header {
    margin-top: 12px; 
    margin-bottom: 12px; 
    font-size: 0.95rem;
  }

/* **Pagination Container (Now on Right)** */
.pagination-container {
    display: flex;
    justify-content: flex-end; /* Aligns pagination to the right */
    align-items: center;
    margin-top: 20px;
    padding: 10px;
}

.pagination {
    display: flex;
    gap: 5px;
}

.pagination a {
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
}

.pagination a.active {
    background-color: var(--theme);
    color: white;
}

.submission-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  padding: 10px;
}

.submission-links a {
  text-decoration: none;
  color: var(--text-theme); /* You already have text color variables */
  font-weight: 400;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.submission-links a:hover {
  text-decoration: underline;
  color: var(--theme); /* Optional: can stay same or darken slightly */
}

/* Expandable subsection (Preparing your manuscript) */
.submission-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.submission-section-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--text-theme);
  margin-top: 10px;
}

.submission-section-toggle:hover {
  text-decoration: underline;
}

.submission-sublist {
  display: none; /* Hide by default */
  flex-direction: column;
  padding-left: 15px;
  margin-top: 5px;
}

.submission-sublist a {
  font-size: 0.9rem;
}

/* When active (visible) */
.submission-sublist.active {
  display: flex;
}

/* Arrow styling for dropdown */
.toggle-arrow {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.toggle-arrow.open {
  transform: rotate(90deg);
}

.issue-main-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 30px;
  color: var(--text-theme);
}

.issue-section-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  color: var(--text-theme);
}

.issue {
  margin-bottom: 20px;
  color: var(--text-theme);
}

.issue h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-theme);
}

.issue p {
  font-size: 1rem;
  color: var(--text-theme);
}

@media (max-width: 992px) {
  .issue-container {
    flex-direction: column;
  }

  .issue-column {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  .issue-main-title {
    text-align: center;
    margin-top: 20px;
  }
}

.articles {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;               /* Full width */
  margin: 15px 0;
  border-radius: 0;
  box-shadow: none;          /* Removes elevation */
  background-color: transparent; /* No background */
  border-bottom: 2px solid #ddd;  
  padding-bottom: 15px;
}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ArticleUpper,
.ArticleLower {
  width: 100%;
}

.ArticleUpper h5 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: normal;
}

.articles .p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.articles .p:hover{
  text-decoration: underline;
}

.articles .p1 {
  font-size: 1rem;
  color: #888;
  margin-bottom: 10px;
}

.articles .p3 {
  font-size: 0.9rem;
  color: #444;
}

.articles .p4 {
  font-size: 0.9rem;
  color: var(--theme);
  text-decoration: underline;
  word-break: break-word;
  overflow-wrap: break-word;
}

.articles .hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

.abstract-details summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  color: var(--theme);
}

.abstract-text {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.articles a:link,
.articles a:active,
.articles a:visited,
.articles a:hover,
.ArticleLower .p1 a,
.ArticleLower .p1 a:link,
.ArticleLower .p1 a:active,
.ArticleLower .p1 a:visited,
.ArticleLower .p1 a:hover {
    color: #000;
    background-color: transparent;
    text-decoration: none
}

.issue-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.issue-middle {
  flex: 1;
  max-width: 75%;
}

.issue-cover {
  text-align: center;
}

.issue-left {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-img {
  width: 10rem;         /* Fixed width */
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
  border: 1px solid #ccc;
}

.issue_links {
  display: flex;
  justify-content: center;
  gap: 2rem; /* Space between the links */
  flex-wrap: wrap;
}

.issue_links a {
  font-size: 0.9rem;
  color: var(--theme);
}

.issue_links a:hover {
  text-decoration: underline;
}
.article-search-bar {
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 14px; /* Right padding for icon */
  font-size: 0.85rem;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--second-text_theme);
  font-size: 1rem;
  pointer-events: none;
}

.search-input-wrapper input:focus {
  outline: 2px solid var(--theme);
}

.search-input-wrapper input:focus + .search-icon {
  color: var(--theme);
}

@media (max-width: 768px) {
  .issue-container {
    flex-direction: column;
    gap: 16px;
    padding: 0 10px;
  }

  .issue-middle,
  .issue-right {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }

  .issue-middle {
    width: 100% !important;
    max-width: 100% !important;
  }

  .issue-left {
    display: none;
  }

  .issue_links {
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
  }
}