* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

.search-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
}

.login-link {
  text-decoration: none;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hamburger Menu Button - Hidden on Desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: #1f2937;
  transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.search-overlay.active .search-modal {
  transform: translateY(0);
}

.search-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.search-close-btn:hover {
  color: #1f2937;
}

.search-modal h3 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 20px;
  font-weight: 600;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.search-input-wrapper:focus-within {
  border-color: #2563eb;
  background: white;
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 16px;
  color: #1f2937;
  outline: none;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-submit-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit-btn:hover {
  background: #1d4ed8;
}

.search-hints {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.search-hints p {
  font-size: 14px;
  color: #6b7280;
}

.search-hints a {
  color: #2563eb;
  text-decoration: none;
}

.search-hints a:hover {
  text-decoration: underline;
}

/* Main Content */
.main {
  padding: 30px 0;
}

.journal-overview {
  background: white;
  padding: 10px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.journal-overview h2 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 0;
  font-weight: 600;
}

.hero-banner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
  height: 320px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(59, 130, 246, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  color: white;
  padding: 25px 30px;
}

.hero-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid white;
  border-radius: 0;
}

.hero-content h3 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.issn {
  font-size: 14px !important;
  margin-bottom: 30px !important;
}

.view-contents-btn {
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  transition: all 0.2s;
}

.view-contents-btn:hover {
  background: #1e40af;
}

/* Unified Page Grid - everything in one grid */
.page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.left-column .hero-banner {
  height: 340px;
  margin-bottom: 0;
}

.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-sidebar section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.right-sidebar h3 {
  font-size: 16px;
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Hero Card - combined hero banner + current issue content */
.hero-card {
  background: white;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-card .hero-banner {
  height: 340px;
  margin-bottom: 0;
  border-radius: 0;
}

.current-issue-content {
  padding: 25px 30px;
  background: #F9F9FB;
}

.current-issue-content h2 {
  font-size: 28px;
  color: #1f2937;
  margin-bottom: 8px;
  font-weight: 600;
}

.current-issue-content h3 {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 15px;
  font-weight: 400;
}

.current-issue-content p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Legacy current-issue styles (for standalone use if needed) */
.current-issue {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.current-issue h2 {
  font-size: 32px;
  color: #1f2937;
  margin-bottom: 10px;
  font-weight: 600;
}

.current-issue h3 {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 20px;
  font-weight: 400;
}

.current-issue p {
  color: #6b7280;
  margin-bottom: 25px;
  line-height: 1.7;
}

.read-aims-btn {
  background: none;
  color: #2563eb;
  border: 1px solid #2563eb;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.read-aims-btn:hover {
  background: #2563eb;
  color: white;
}

/* Featured Research */
.featured-research {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.featured-research h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 25px;
  font-weight: 600;
}

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

.research-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.research-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.research-card h4 {
  font-size: 13px;
  color: #1f2937;
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 1.4;
}

.research-card .author {
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}

.research-card .description {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.view-article-btn {
  background: none;
  color: #2563eb;
  border: 1px solid #2563eb;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.view-article-btn:hover {
  background: #2563eb;
  color: white;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 600;
}

.call-to-authors {
  margin-top: 25px;
}

.call-to-authors p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.submit-manuscript-btn,
.reviewer-guidelines-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-manuscript-btn {
  background: #2563eb;
  color: white;
}

.submit-manuscript-btn:hover {
  background: #1d4ed8;
}

.reviewer-guidelines-btn {
  background: #60a5fa;
  color: white;
}

.reviewer-guidelines-btn:hover {
  background: #3b82f6;
}

.info-list {
  list-style: disc;
  padding-left: 20px;
}

.info-list li {
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Notice Board inside Key Information */
.notice-board-inner {
  margin-top: 20px;
  padding: 15px;
  background: #F9F9FB;
  border-radius: 6px;
}

.notice-board-inner h4 {
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 600;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
}

.issues-list {
  list-style: none;
  margin-bottom: 15px;
}

.issues-list li {
  margin-bottom: 8px;
}

.issues-list a,
.view-all-issues {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.issues-list a:hover,
.view-all-issues:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  background: white;
  padding: 8px;
  border-radius: 6px;
}

.footer-text p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.contact-info p {
  font-size: 14px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.copyright p {
  font-size: 12px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-link:hover {
  opacity: 1;
}

/* Footer additional sections */
.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-publisher h5,
.contact-info h5,
.contact-address h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.footer-publisher p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-address p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }

  .header .container {
    flex-wrap: wrap;
    position: relative;
  }

  .hamburger-btn {
    display: flex;
    order: 2;
  }

  .nav {
    display: none;
    width: 100%;
    order: 4;
    background: white;
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 15px;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .header-actions {
    order: 3;
  }

  .logo-section {
    order: 1;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .left-column .hero-banner {
    height: 300px;
  }

  .hero-content h3 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .footer-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h3 {
    font-size: 28px;
  }

  .current-issue,
  .featured-research,
  .sidebar section {
    padding: 20px;
  }

  .nav-list {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }
}