/* style.css - EAJNS Website */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #fbfafc;
  color: #1a1a2c;
  line-height: 1.5;
}

:root {
  --purple-deep: #400745;
  --purple-dark: #3e083e;
  --gold: #f3a335;
  --mauve: #997994;
  --gray-bg: #f7f5f9;
  --border-light: #e9e2ef;
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* No animations */
a,
button,
.btn,
.card {
  transition: none !important;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: var(--purple-deep);
  color: white;
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  padding: 24px 0 16px 0;
}
.journal-brand h1 {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.journal-brand .tagline {
  font-size: 0.85rem;
  color: #e2d4e8;
  margin-top: 8px;
  max-width: 85%;
}

/* Sticky Navbar */
.nav-bar {
  background: var(--purple-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.nav-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.nav-link {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
}
.nav-link:hover {
  /* background: rgba(243, 163, 53, 0.25); */
  background: var(--gold);
}
.nav-link.active {
  background: var(--gold);
  color: #1e1e2a;
  font-weight: 600;
}

/* Main content */
main {
  padding: 56px 0 72px;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.2px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  /* border-left: 6px solid var(--gold); */
  /* padding-left: 20px; */
  color: var(--purple-deep);
}
h3 {
  font-size: 1.35rem;
  margin: 0 0 0.8rem 0;
  color: var(--purple-dark);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #1f1f2b;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-small {
  padding: 6px 20px;
  font-size: 0.8rem;
}
.card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}
.card-contact {
  width: 750px;
  background: white;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}
.card-home {
  background: white;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.card-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-home {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.badge {
  background: var(--mauve);
  color: white;
  font-size: 0.7rem;
  border-radius: 50px;
  padding: 4px 12px;
  display: inline-block;
  font-weight: 500;
}
.hero-section {
  background: linear-gradient(105deg, #f6eff9 0%, #fef9f2 100%);
  border-radius: 16px;
  padding: 60px 40px;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.inline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 10px;
}
.article-meta {
  font-size: 0.75rem;
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 10px 0 6px;
}
hr {
  margin: 24px 0;
  border: 0;
  height: 1px;
  background: var(--border-light);
}

footer {
  background: var(--purple-dark);
  color: #cfc3dd;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(243, 163, 53, 0.3);
}
.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.filters-bar {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 60px;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.filters-bar select,
.filters-bar input {
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  background: var(--gray-bg);
  font-family: inherit;
  font-size: 0.85rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 18px;
  font-family: inherit;
  background: var(--gray-bg);
}
@media (max-width: 800px) {
  .container {
    padding: 0 20px;
  }
  h2 {
    font-size: 1.7rem;
  }
  .hero-section {
    padding: 32px 24px;
  }
}

/* 
home article and  */
.article-section {
  padding: 2rem 0;
}
.article-section h1 {
  font-size: 1.6rem;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--purple-dark);
}
.article-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: 0.2s ease;
}
.type-item:hover {
  transform: translateY(-3px);
}
.type-item i {
  font-size: 2.4rem;
  color: var(--gold);
  min-width: 20px;
}
.type-item span {
  font-size: 1rem;
  color: var(--purple-dark);
}

.neuro-section {
  padding: 2rem 0;
}
.neuro-section h1 {
  font-size: 1.6rem;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--purple-dark);
}
.neuro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.neuro-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 0.8rem;
  transition: 0.2s ease;
}
.neuro-item:hover {
  transform: translateY(-4px);
}
.neuro-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.neuro-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--purple-dark);
}

/* Information For Authors */
.information {
  max-width: 1280px;
  /* margin: 2rem auto; */
  /* padding: 1.5rem 2rem; */
  background: var(--gray-bg);
  box-shadow:
    0 2px 8px -12px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

.information h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.information > p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.information a {
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.information h3 {
  font-size: 1.65rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--purple-dark);
}

.manuscript,
.processing,
.information > div:not(.manuscript):not(.processing) {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 0.2rem 0 1rem 0;
}

.manuscript-section,
.manuscrip-section {
  margin-top: 1.5rem;
  margin-bottom: 1.8rem;
}

.coverletter {
  background: var(--gray-bg);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0 1.5rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold);
}

.section-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.section-details p {
  background: var(--gray-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section-details p:hover {
  transform: translateY(-2px);
  border-color: var(--mauve);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  background: var(--gray-bg);
}

.section-details p b {
  background: var(--gray-bg);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-size: 0.8rem;
  margin-right: 8px;
  flex-shrink: 0;
}

.articlefile,
.images,
.referencing {
  background: var(--gray-bg);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-light);
}

.articlefile b,
.images b,
.referencing b {
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 4px;
}

.referencing .listing {
  margin-top: 0.8rem;
  margin-left: 1.2rem;
  list-style-type: none;
}

.referencing .listing li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--purple-dark);
}

.referencing .listing li::before {
  content: "•";
  color: var(--purple-dark);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.checklist-card {
  /* background: var(--mauve); */
  border-radius: 24px;
  margin: 2rem 0;
  border: 1px solid var(--mauve);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.checklist-header {
  background: var(--gray-bg);
  padding: 1.2rem 1.8rem;
  border-bottom: 2px solid var(--mauve);
}
.checklist-header h3 {
  margin: 0;
  border-bottom: none;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checklist-body {
  padding: 1.2rem 1.8rem 1.8rem 1.8rem;
}
.checklist-item {
  margin-bottom: 2rem;
  border-left: 3px solid var(--mauve);
  padding-left: 1.2rem;
}
.checklist-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-item ul,
.checklist-item p {
  margin-left: 1rem;
  color: var(--purple-dark);
}
.checklist-item li {
  margin-bottom: 0.5rem;
}
.small-note {
  font-size: 0.85rem;
  background: var(--gray-bg);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  margin-top: 0.6rem;
  display: inline-block;
}

/* Archives */
.hero {
  background: var(--gray-bg);
  padding: 2.5rem 4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  border-radius: 32px 32px 0 0;
}
.hero-left {
  width: 100%;
  max-width: 500px;
  padding: 0 15px;
  box-sizing: border-box;
}
.hero-images {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  position: relative;
}
.img-card {
  width: 112px;
  height: 168px;
  border-radius: 8px;
  overflow: hidden;
  position: absolute;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
  background: white;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-card--1 {
  transform: rotate(-12deg) translateX(-170px) translateY(6px);
  z-index: 1;
}
.img-card--2 {
  transform: rotate(-6deg) translateX(-100px) translateY(3px);
  z-index: 2;
}
.img-card--3 {
  transform: rotate(0deg) translateX(0px) translateY(0px);
  z-index: 3;
}
.img-card--4 {
  transform: rotate(6deg) translateX(100px) translateY(3px);
  z-index: 4;
}
.img-card--5 {
  transform: rotate(12deg) translateX(170px) translateY(6px);
  z-index: 5;
}
.hero:hover .img-card--1 {
  transform: rotate(-14deg) translateX(-180px) translateY(2px);
}
.hero:hover .img-card--2 {
  transform: rotate(-7deg) translateX(-105px) translateY(1px);
}
.hero:hover .img-card--3 {
  transform: rotate(0deg) translateX(0px) translateY(-2px);
}
.hero:hover .img-card--4 {
  transform: rotate(7deg) translateX(105px) translateY(1px);
}
.hero:hover .img-card--5 {
  transform: rotate(14deg) translateX(180px) translateY(2px);
}
.page-divider {
  height: 1px;
  background: var(--purple-deep);
  margin: 0 4rem;
}
.archive {
  padding: 2rem 4rem 5rem;
}
.archive__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.archive__title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--purple-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.vol-filter {
  appearance: none;
  background-color: var(--gray-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  border: 1px solid var(--purple-deep);
  border-radius: 14px;
  padding: 7px 34px 7px 13px;
  font-family: inherit;
  font-size: 13px;
  color: var(--purple-dark);
  cursor: pointer;
  min-width: 148px;
  transition: border-color 0.2s;
}
.vol-filter:focus {
  outline: none;
  border-color: var(--purple-deep);
}
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}
.pdf-card {
  background: var(--gray-bg);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--purple-deep);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: fadeUp 0.4s ease both;
}
.pdf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pdf-thumb {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.pdf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdf-info {
  padding: 0.9rem 0.8rem 1rem;
}
.pdf-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-deep);
  line-height: 1.35;
  margin-bottom: 4px;
}
.pdf-meta {
  font-size: 11px;
  color: var(--purple-deep);
}
@media (max-width: 900px) {
  .hero {
    padding: 2rem 2rem 3rem;
  }
  .page-divider {
    margin: 0 2rem;
  }
  .breadcrumb {
    padding: 1rem 2rem 0;
  }
  .archive {
    padding: 2rem 2rem 4rem;
  }
  .img-card {
    width: 85px;
    height: 128px;
  }
  .img-card--1 {
    transform: rotate(-12deg) translateX(-120px);
  }
  .img-card--2 {
    transform: rotate(-6deg) translateX(-70px);
  }
  .img-card--3 {
    transform: rotate(0deg) translateX(0px);
  }
  .img-card--4 {
    transform: rotate(6deg) translateX(70px);
  }
  .img-card--5 {
    transform: rotate(12deg) translateX(120px);
  }
  .hero:hover .img-card--1 {
    transform: rotate(-14deg) translateX(-128px);
  }
  .hero:hover .img-card--5 {
    transform: rotate(14deg) translateX(128px);
  }
}
@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 3rem;
    padding-top: 3rem;
  }
  .hero-images {
    width: 100%;
    height: 200px;
  }
  .img-card {
    width: 70px;
    height: 105px;
  }
  .img-card--1 {
    transform: rotate(-12deg) translateX(-95px);
  }
  .img-card--2 {
    transform: rotate(-6deg) translateX(-55px);
  }
  .img-card--3 {
    transform: rotate(0deg) translateX(0px);
  }
  .img-card--4 {
    transform: rotate(6deg) translateX(55px);
  }
  .img-card--5 {
    transform: rotate(12deg) translateX(95px);
  }
  .archive__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ARTICLE VIEW LAYOUT */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: transparent;
}

/* LEFT FILTERS PANEL */
.filters-panel {
  background: var(--gray-bg);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 1.2rem;
  height: fit-content;
  position: sticky;
  top: 1.5rem;
  border: 1px solid var(--border-light);
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-group label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--purple-dark);
}

select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: var(--gray-bg);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--purple-dark);
}

select:focus {
  outline: none;
  border-color: var(--mauve);
  box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

.reset-btn {
  background: var(--gray-bg);
  border: none;
  width: 100%;
  padding: 0.6rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--purple-dark);
  cursor: pointer;
  transition: 0.2s;
  margin-top: 0.8rem;
  font-family: inherit;
}

.reset-btn:hover {
  background: var(--gray-bg);
  color: var(--purple-dark);
}

/* RIGHT SECTION: articles gallery */
.right-articles {
  background: transparent;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mauve);
}

.articles-header h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--purple-dark);
  letter-spacing: -0.2px;
}

.result-count {
  background: var(--purple-dark);
  color: var(--gold);
  padding: 0.25rem 0.9rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* Article card */
.article-card {
  background: var(--gray-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.1s ease,
    box-shadow 0.2s;
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  margin-top: 3.5rem;
  padding: 30px 0;
}
.article-card .article-img {
  width: 210px;
  height: 300px;
  top: -30px;
  position: absolute;
  left: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.article-card .article-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.article-content {
  margin-left: 240px;
  width: 100%;
}

.article-card:hover {
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.article-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-authors {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.8rem 0 1rem 0;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 40px;
  background: var(--purple-deep);
  color: var(--gray-bg);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.3px;
}

.badge-scope {
  background: var(--purple-dark);
  color: var(--gray-bg);
}

.pages-pdf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px dashed var(--purple-dark);
  padding-top: 1rem;
}

.pagination-info {
  font-weight: 600;
  background: var(--purple-dark);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  color: var(--gray-bg);
}

.pdf-link {
  background: var(--purple-dark);
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-bg);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
}

.pdf-link:hover {
  background: var(--purple-dark);
  color: var(--gray-bg);
  box-shadow: 0 2px 8px rgba(44, 125, 160, 0.3);
}

.empty-state {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--purple-dark);
  font-size: 1.1rem;
  border: 1px dashed var(--mauve);
}

@media (max-width: 1024px) {
  .article-card {
    padding: 25px 0;
  }
  .article-card .article-img {
    width: 180px;
    height: 260px;
    left: 10px;
  }
  .article-content {
    margin-left: 210px;
  }
  .pages-pdf-row {
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .article-layout {
    display: flex;
    flex-direction: column;
  }
  .article-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .article-card .article-img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    border-radius: 8px;
  }
  .article-content {
    margin-left: 0;
    margin-top: 1rem;
  }
  .pages-pdf-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .pdf-link {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 1.1rem;
  }
  .filters-panel {
    position: static;
  }
  .article-authors {
    font-size: 0.85rem;
  }
  .badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }
  .article-card {
    padding: 1.2rem;
  }
  .pages-pdf-row {
    display: flex;
    flex-direction: row;
  }
}

.policies-container {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--gray-bg);
  border-radius: 28px;
  box-shadow:
    0 20px 35px -12px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.2s ease;
}

/* inner spacing */
.policies-inner {
  padding: 2rem 2rem 2.8rem 2rem;
}

/* each major section */
.policy-section {
  margin-bottom: 2.8rem;
  scroll-margin-top: 1rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

/* headings hierarchy */
.policy-section h3 {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--purple-dark);
  border-left: 5px solid var(--purple-dark);
  padding-left: 1rem;
  margin-bottom: 1.2rem;
  margin-top: 0;
  line-height: 1.3;
}

/* sub-headings inside AI policy (h3 and h4) */
.policy-section h3 strong,
.policy-section h3 b {
  font-weight: 600;
  color: var(--purple-dark);
}

.subheading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin: 1.2rem 0 0.6rem 0;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--gray-bg);
  display: inline-block;
}

/* paragraphs */
p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--purple-dark);
  line-height: 1.55;
}

/* lists – clean spacing */
ul,
ol {
  margin: 0.75rem 0 1.2rem 1.8rem;
}

li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
  color: var(--purple-dark);
}

li strong {
  color: var(--purple-dark);
  font-weight: 600;
}

/* specific for authorship long bullet, keep readability */
.policy-section ul li {
  text-align: left;
}

/* links */
a {
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
}

a:hover {
  color: var(--purple-dark);
  border-bottom: 1px solid var(--purple-deep);
}

/* subtle highlights for compliance statements */
.compliance-note {
  background: var(--gray-bg);
  border-left: 4px solid var(--purple-deep);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

/* AI policy sub-sections: we treat internal headings nicely */
.ai-sub {
  margin-top: 1.2rem;
}

.ai-sub p {
  margin-bottom: 0.5rem;
}

hr {
  margin: 1.8rem 0;
  border: none;
  height: 1px;
  background: var(--gray-bg);
}

/* copyright/licensing block branding */
.cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gray-bg);
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-dark);
  margin-top: 0.2rem;
}

/* Responsive & mobile refinement */
@media (max-width: 680px) {
  .policies-inner {
    padding: 1.5rem;
  }

  .policy-section h3 {
    font-size: 1.4rem;
    padding-left: 0.75rem;
  }

  .subheading {
    font-size: 1.2rem;
  }

  ul,
  ol {
    margin-left: 1.2rem;
  }
}


.journal-header {
  border-bottom: 1px solid var(--gray-bg);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.journal-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--purple-dark);
}

.journal-badge {
  font-size: 0.8rem;
  background: var(--gray-bg);
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  color: var(--purple-deep);
}

.archive-box {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--mauve);
  margin-top: 0.5rem;
}

.compact-list li {
  margin-bottom: 0.7rem;
}
