/* ==========================================================================
   OASK Publishers - Journal Details Page Styles
   ========================================================================== */

.journal-details-page {
  background-color: #F6F8FC;
}

/* Hero Section */
.details-hero-section {
  position: relative;
  background: linear-gradient(135deg, #09152E 0%, #172B56 50%, #2A1F52 100%);
  color: var(--white);
  padding: 40px 0 44px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.details-hero-bg-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  max-width: 600px;
  background: url('../assets/images/details-hero-bg.png') right center / cover no-repeat;
  opacity: 0.65;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.8) 35%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.8) 35%, black 100%);
}

.details-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  z-index: 2;
}

.details-hero-cover-col {
  display: flex;
  justify-content: center;
}

.details-hero-cover-wrapper {
  width: 190px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: perspective(600px) rotateY(-5deg);
  transition: transform var(--transition-normal);
}

.details-hero-cover-wrapper:hover {
  transform: perspective(600px) rotateY(0deg);
}

.details-hero-cover-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.details-hero-info-col {
  display: flex;
  flex-direction: column;
}

/* Breadcrumb */
.details-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #9EAFCE;
  margin-bottom: 12px;
}

.details-breadcrumb a {
  color: #9EAFCE;
}

.details-breadcrumb a:hover {
  color: var(--white);
}

.details-journal-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.details-journal-tagline {
  font-size: 0.9375rem;
  color: #D2DEEF;
  margin-bottom: 16px;
}

/* Meta Badges */
.details-badges-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.details-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #E2ECF8;
}

.details-badge-item i {
  font-size: 0.8125rem;
}

.badge-oa i {
  color: #48BB78;
}

.badge-doi i {
  color: var(--accent-orange);
}

.badge-indexed i {
  color: #9F7AEA;
}

.badge-monthly i {
  color: #4299E1;
}

.details-issn-row {
  font-size: 0.75rem;
  color: #A0B4D0;
  margin-bottom: 22px;
  display: flex;
  gap: 20px;
}

.details-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-details-orange {
  background-color: var(--accent-orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.84375rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-details-orange:hover {
  background-color: #e0720a;
  transform: translateY(-1px);
}

.btn-details-dark {
  background-color: rgba(14, 28, 56, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.84375rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-details-dark:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Statistics Metrics Bar */
.details-stats-section {
  position: relative;
  margin-top: -24px;
  margin-bottom: 30px;
  z-index: 10;
}

.details-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-metric-card {
  background-color: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-square {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.icon-stat-purple {
  background-color: #F3E8FF;
  color: #805AD5;
}

.icon-stat-blue {
  background-color: #EBF3FC;
  color: #2B6CB0;
}

.icon-stat-green {
  background-color: #EDF7EE;
  color: #38A169;
}

.icon-stat-orange {
  background-color: #FEF2E6;
  color: #DD6B20;
}

.stat-info-text .stat-label {
  font-size: 0.71875rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.stat-info-text .stat-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark-navy-blue);
  line-height: 1;
}

/* Main Layout: Sidebar + Details Content */
.details-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-bottom: 50px;
  align-items: start;
}

/* Details Sidebar Navigation */
.details-sidebar-mobile-header {
  display: none;
}

.details-sidebar-overlay {
  display: none;
}

.details-floating-nav-btn {
  display: none;
}

.details-nav-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}

.details-nav-card {
  background-color: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 12px 8px;
}

.details-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.details-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  transition: all var(--transition-fast);
}

.details-nav-btn i {
  width: 16px;
  font-size: 0.875rem;
  color: #7E93B0;
  text-align: center;
}

.details-nav-btn:hover {
  background-color: var(--bg-light-blue);
  color: var(--primary-blue);
}

.details-nav-btn.active {
  background-color: #EBF3FC;
  color: var(--primary-blue);
  font-weight: 700;
}

.details-nav-btn.active i {
  color: var(--primary-blue);
}

.manuscript-cta-card {
  background-color: #F8FAFD;
  border: 1px dashed #C8DAEE;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.manuscript-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EBF3FC;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.manuscript-cta-card h5 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
}

.manuscript-cta-card p {
  font-size: 0.71875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-manuscript-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #BACFE6;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-manuscript-submit:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

/* Details Content Body */
.details-content-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.details-content-card {
  padding: 26px 28px;
  background-image: url('../assets/images/about-journal-art.png');
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #f9f9fd;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* About Journal Section */
.about-journal-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  align-items: center;


}

.details-card-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  margin-bottom: 14px;
}

.about-journal-text {
  font-size: 0.84375rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 12px;
}

.topics-heading {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  margin-top: 18px;
  margin-bottom: 12px;
}

.research-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78125rem;
  color: var(--text-dark);
}

.topic-item i {
  color: #805AD5;
  font-size: 0.8125rem;
}



/* Current Issue & Latest Articles Row */
.issue-articles-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
}

/* Current Issue Card */
.current-issue-card {
  background-color: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-header-bar h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
}

.card-header-bar a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.issue-visual-box {
  background: linear-gradient(135deg, #0A1C38 0%, #1C3360 100%);
  border-radius: 8px;
  padding: 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 14px;
}

.issue-abbr {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.issue-meta-text {
  font-size: 0.75rem;
  color: #B0C4DE;
  line-height: 1.4;
  margin-bottom: 10px;
}

.issue-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
}

.btn-view-issue {
  background-color: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78125rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: all var(--transition-fast);
}

.btn-view-issue:hover {
  background-color: #1d5292;
}

/* Latest Articles Carousel */
.latest-articles-wrapper {
  background-color: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.articles-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.articles-cards-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 4px 2px 8px;
}

.articles-cards-row::-webkit-scrollbar {
  display: none;
}

.details-article-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 180px;
  max-width: calc((100% - 28px) / 3);
  scroll-snap-align: start;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.details-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.articles-next-btn {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.details-article-thumb {
  height: 90px;
  background-color: #0A1C38;
  overflow: hidden;
}

.details-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-article-info {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.details-article-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-article-authors {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.details-article-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.details-article-date::before {
  content: '•';
  color: #805AD5;
  font-size: 1rem;
}

/* Editorial Board & Indexing Row */
.board-indexing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.editorial-board-card,
.indexing-card {
  background-color: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.editorial-members-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  height: 100%;
}

.editorial-member-item {
  background-color: var(--white);
  border: 1px solid #EAEFF5;
  border-radius: 10px;
  padding: 16px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.editorial-member-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

.editorial-avatar-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #EBF3FC;
  display: block;
  flex-shrink: 0;
}

.editorial-member-name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  line-height: 1.25;
  margin-bottom: 3px;
  text-align: center;
}

.editorial-member-country {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-align: center;
}

.editorial-member-role {
  font-size: 0.65625rem;
  color: var(--primary-blue);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* Indexing Logos Grid */
.indexing-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
  height: 100%;
}

.indexing-logo-box {
  background-color: var(--white);
  border: 1px solid #EAEFF5;
  border-radius: 8px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.indexing-logo-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

.indexing-logo-box img {
  max-height: 28px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Publication Process Workflow */
.details-process-card {
  background-color: #F0F4FA;
  border-radius: 10px;
  border: 1px solid #DCE6F2;
  padding: 22px 24px;
}

.details-process-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  margin-bottom: 4px;
}

.details-process-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.workflow-steps-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.workflow-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #D8E4F2;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-navy-blue);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.workflow-step-pill i {
  color: var(--primary-blue);
  font-size: 0.8125rem;
}

.workflow-arrow-sep {
  color: #A0B4D0;
  font-size: 0.8125rem;
}

/* Details CTA Banner */
.details-cta-banner {
  background: linear-gradient(135deg, #0E2448 0%, #1A3F7A 60%, #3B2A66 100%);
  border-radius: 12px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.details-cta-text h3 {
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.details-cta-text p {
  font-size: 0.8125rem;
  color: #B4C8E4;
}

.details-cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Related Journals Row */
.related-journals-card {
  background-color: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 20px 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.related-journals-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.related-journals-grid {
  display: flex;
  gap: 12px;
  flex-grow: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.related-journals-grid::-webkit-scrollbar {
  display: none;
}

.related-journal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #EAEFF5;
  background-color: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 175px;
  max-width: calc((100% - 48px) / 5);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.related-journal-item:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  border-color: #C8DCF0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.related-journal-thumb {
  width: 35px;
  height: 46px;
  max-width: 35px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.related-journal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.related-journal-info .rel-title {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--dark-navy-blue);
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.related-journal-info .rel-cat {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.carousel-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A5568;
  font-size: 0.6875rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background-color: #F8FAFD;
  color: var(--primary-blue);
  border-color: #CBD5E1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Responsive Journal Details */
@media (max-width: 1024px) {
  .details-main-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .details-content-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Mobile Slide-Out Drawer Navigation */
  .details-nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background-color: #FFFFFF;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 28px 0;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, visibility 0.32s ease;
    z-index: 1060;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
  }

  body.details-sidebar-open .details-nav-sidebar,
  .details-nav-sidebar.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 10px 0 35px rgba(9, 21, 46, 0.28);
  }

  .details-sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, #09152E 0%, #172B56 100%);
    color: var(--white);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .details-sidebar-mobile-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
  }

  .details-sidebar-mobile-title i {
    color: var(--accent-orange);
    font-size: 1rem;
  }

  .details-sidebar-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .details-sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
  }

  .details-sidebar-close-btn:focus-visible {
    outline: 2px solid var(--accent-orange);
  }

  .details-nav-sidebar .details-nav-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0 16px;
  }

  .details-nav-sidebar .manuscript-cta-card {
    margin: 0 16px;
  }

  .details-nav-sidebar .details-nav-btn {
    padding: 12px 14px;
    font-size: 0.84375rem;
    border-radius: 8px;
    min-height: 44px;
  }

  /* Backdrop Overlay */
  .details-sidebar-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(9, 21, 46, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 1050;
    pointer-events: none;
  }

  body.details-sidebar-open .details-sidebar-overlay,
  .details-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Floating Trigger Button */
  .details-floating-nav-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #09152E 0%, #1A365D 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(9, 21, 46, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all var(--transition-normal);
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .details-floating-nav-btn i {
    color: var(--accent-orange);
    font-size: 0.9375rem;
    transition: transform var(--transition-fast);
  }

  .details-floating-nav-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(9, 21, 46, 0.45);
    background: linear-gradient(135deg, #0D1E40 0%, #1F406D 100%);
  }

  .details-floating-nav-btn:hover i {
    transform: rotate(25deg);
  }

  .details-floating-nav-btn:active {
    transform: translateY(0) scale(0.98);
  }

  body.details-sidebar-open {
    overflow: hidden;
  }

  .details-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .issue-articles-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .board-indexing-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  /* Latest Articles: 2 cards per view on tablet */
  .latest-articles-wrapper {
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .articles-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .articles-cards-row {
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .details-article-card {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 200px;
    max-width: calc((100% - 12px) / 2);
    box-sizing: border-box;
  }

  .articles-next-btn {
    right: -8px;
    width: 26px;
    height: 26px;
    font-size: 0.625rem;
  }

  /* Related Journals: 3 cards per view on 1024px */
  .related-journals-card {
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .related-journals-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .related-journals-grid {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .related-journal-item {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: 170px;
    max-width: calc((100% - 20px) / 3);
    box-sizing: border-box;
  }

  .carousel-nav-btn {
    width: 26px;
    height: 26px;
    font-size: 0.625rem;
  }
}

@media (max-width: 850px) {

  /* Related Journals: 2 cards per view on small tablet */
  .related-journal-item {
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: 170px;
    max-width: calc((100% - 10px) / 2);
  }
}

@media (max-width: 768px) {
  .details-hero-section {
    padding: 28px 0 32px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }



  .details-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
  }

  .details-hero-cover-col {
    justify-content: center;
    width: 100%;
  }

  .details-hero-cover-wrapper {
    width: 140px;
    max-width: 100%;
    transform: none;
  }

  .details-breadcrumb {
    justify-content: center;
    flex-wrap: wrap;
  }

  .details-journal-title {
    font-size: 1.5rem;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .details-badges-row {
    justify-content: center;
    gap: 8px;
  }

  .details-issn-row {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .details-hero-ctas {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-details-orange,
  .btn-details-dark {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Stats Section on Mobile */
  .details-stats-section {
    margin-top: 14px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .details-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .stat-metric-card {
    padding: 10px 8px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .stat-icon-square {
    width: 34px;
    height: 34px;
    font-size: 0.875rem;
  }

  .stat-info-text {
    min-width: 0;
    overflow: hidden;
  }

  .stat-info-text .stat-value {
    font-size: 1.0625rem;
  }

  /* Main Layout & Details Content Column */
  .details-main-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
    margin-bottom: 35px;
  }

  .details-content-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
  }

  /* About Journal Section with DNA background scaled properly */
  .details-content-card {
    background-image: url('../assets/images/about-journal-art.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position-x: left;
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .about-journal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .about-journal-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .research-topics-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .topic-item {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Current Issue & Latest Articles Row */
  .issue-articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .current-issue-card {
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .issue-visual-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Latest Articles: 1 card per view on mobile */
  .latest-articles-wrapper {
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .articles-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .articles-cards-row {
    gap: 10px;
    padding: 2px 0 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
  }

  .details-article-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .details-article-title,
  .details-article-authors {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hide next button on mobile to avoid overlapping and rely on native touch swipe */
  .articles-next-btn {
    display: none !important;
  }

  /* Editorial Board & Indexing */
  .board-indexing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .editorial-board-card,
  .indexing-card {
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .editorial-members-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .editorial-member-item {
    min-width: 0;
    padding: 12px 6px 10px;
    box-sizing: border-box;
  }

  .editorial-member-name,
  .editorial-member-role {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .indexing-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .indexing-logo-box {
    min-width: 0;
    padding: 4px 6px;
    height: 46px;
    box-sizing: border-box;
  }

  .indexing-logo-box img {
    max-width: 100%;
    max-height: 26px;
    object-fit: contain;
  }

  /* Workflow Steps */
  .details-process-card {
    padding: 16px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .workflow-steps-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .workflow-step-pill {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .workflow-arrow-sep {
    text-align: center;
    transform: rotate(90deg);
    margin: 2px auto;
  }

  /* CTA Banner */
  .details-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .details-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .details-cta-buttons .btn-primary-orange,
  .details-cta-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Related Journals: 1 card per view on mobile */
  .related-journals-card {
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .related-journals-carousel-wrapper {
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .related-journals-grid {
    gap: 10px;
    padding: 2px 0 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
  }

  .related-journal-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .related-journal-info {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .related-journal-info .rel-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .related-journal-thumb {
    max-width: 35px;
    width: 35px;
    height: 46px;
    flex-shrink: 0;
  }

  /* Hide prev/next buttons on mobile to maximize card width and rely on smooth touch swipe */
  .related-journals-carousel-wrapper .carousel-nav-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .details-floating-nav-btn {
    bottom: 20px;
    right: 16px;
    padding: 9px 15px;
    font-size: 0.78125rem;
    gap: 7px;
  }

  .details-nav-sidebar {
    width: 295px;
    max-width: 88vw;
  }

  .details-journal-title {
    font-size: 1.3125rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .details-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .editorial-members-row {
    grid-template-columns: 1fr;
  }

  .indexing-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .indexing-logo-box {
    height: 44px;
    padding: 4px 6px;
  }
}

@media (max-width: 350px) {
  .details-floating-nav-btn {
    bottom: 16px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .details-nav-sidebar {
    width: 275px;
    max-width: 92vw;
  }

  .stat-metric-card {
    padding: 8px 6px;
  }

  .details-hero-section {
    padding: 20px 0 24px;
  }

  .details-journal-title {
    font-size: 1.1875rem;
  }
}