:root {
  --pink: #E9A9C1;
  --pink-deep: #C76F91;
  --pink-soft: #FCE8EF;
  --pink-pale: #FFF7FA;
  --gold: #D4AF69;
  --ink: #30242B;
  --muted: #715E68;
  --white: #FFFFFF;
  --line: #E8C8D5;
  --content-width: 1440px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  background: #fbfbfc;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }

/* Utility Bar */
.utility-bar {
  min-height: 42px;
  padding: 8px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #873656;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  font-weight: 500;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.utility-left a {
  color: #FFFFFF;
  letter-spacing: 0.2px;
}
.utility-left a:hover {
  text-decoration: underline;
}
.utility-bar .pink {
  color: #ffffff;
  font-size: 16px;
  opacity: 0.95;
}
/* Utility Search Form / Masthead Search Form */
.utility-search-form,
.masthead-search-form {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.utility-search-form .search-input-wrapper,
.masthead-search-form .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #dcbac9;
  border-radius: 25px;
  padding: 3px 5px 3px 18px;
  box-shadow: 0 2px 10px rgba(135, 54, 86, 0.08);
  transition: all .25s ease;
  width: clamp(210px, 20vw, 290px);
}
.utility-search-form .search-input-wrapper:hover,
.masthead-search-form .search-input-wrapper:hover {
  border-color: #873656;
  box-shadow: 0 3px 14px rgba(135, 54, 86, 0.16);
}
.utility-search-form .search-input-wrapper:focus-within,
.masthead-search-form .search-input-wrapper:focus-within {
  width: clamp(230px, 22vw, 320px);
  border-color: #873656;
  box-shadow: 0 0 0 3.5px rgba(135, 54, 86, 0.2);
}
.utility-search-form input[type="text"],
.masthead-search-form input[type="text"] {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: #333333;
  width: 100%;
  padding: 5px 8px 5px 0;
}
.utility-search-form input[type="text"]::placeholder,
.masthead-search-form input[type="text"]::placeholder {
  color: #8c8388;
  font-size: 13px;
}
.utility-search-form button,
.masthead-search-form button {
  background: #873656;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(135, 54, 86, 0.35);
  transition: all .2s ease;
}
.utility-search-form button:hover,
.masthead-search-form button:hover {
  background: #6e2743;
  transform: scale(1.06);
}

/* User mini bar inside top utility bar */
.user-utility-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #FFFFFF;
}
.user-utility-links a {
  color: #FFFFFF;
  transition: opacity .2s ease;
}
.user-utility-links a:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.user-utility-links .user-sep {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

/* Masthead */
.masthead {
  position: relative;
  background: linear-gradient(105deg, #FFF8FA 0%, #FEEFF5 45%, #FADCE8 80%, #F8D1E1 100%);
  border-bottom: 1px solid #ecc9d7;
  overflow: visible;
}
.masthead-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
              radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
  opacity: 0.7;
}
.masthead-inner {
  max-width: var(--content-width);
  margin: auto;
  padding: 16px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
  min-height: 125px;
}
.brand-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
}
.brand-mark {
  width: auto;
  max-width: 140px;
  height: 85px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.brand-mark a {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand-mark svg {
  width: 50px;
  height: 50px;
}
.brand-mark img {
  width: auto;
  max-width: 130px;
  max-height: 85px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 2px 6px rgba(135, 54, 86, 0.12));
}
.brand-copy {
  min-width: 0;
  flex: 1;
  border-left: 1px solid #dcbac9;
  padding-left: 24px;
}
.journal-title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #2e1d25;
}
.journal-title em {
  font-style: italic;
  font-weight: 700;
  color: #7b2746;
  letter-spacing: 0.1px;
}
.journal-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  color: #55444e;
  font-size: 13px;
  font-weight: 500;
}
.journal-meta .meta-issn {
  color: #4f3f48;
  font-weight: 600;
}
.journal-meta .meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #613649;
}
.journal-meta .meta-badge svg {
  flex-shrink: 0;
  fill: #873656;
}
.journal-meta span + span {
  border-left: 1px solid #e1b9cc;
  padding-left: 14px;
}

/* Masthead Right (Search Box) */
.masthead-right {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Navigation Menu */
.nav-wrap {
  background: #fce4ed;
  background: linear-gradient(90deg, #f7d2e1 0%, #fae1ec 50%, #f7d2e1 100%);
  border-bottom: 2px solid #873656;
  box-shadow: 0 3px 12px rgba(121,65,87,.08);
  width: 100%;
  position: relative;
  z-index: 999;
  overflow: visible;
}
.main-nav-container {
  max-width: var(--content-width);
  min-height: 44px;
  margin: auto;
  padding: 0 clamp(4px, 1.2vw, 24px);
  display: flex;
  align-items: center;
  overflow: visible;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  overflow: visible;
}
.main-nav > li {
  display: flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}
.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #4f2d3c;
  font-size: clamp(11px, 1.5vw, 12.8px);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.15px;
  transition: all .2s ease;
}
.main-nav > li > a .nav-ico {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: #873656;
  opacity: 0.9;
  transition: transform .2s ease;
}
.main-nav > li > a:hover {
  background: rgba(255, 255, 255, 0.65);
  color: #873656;
}
.main-nav > li > a:hover .nav-ico {
  transform: translateY(-1px);
}

/* Active Tab (e.g. Home pill matching 1st image) */
.main-nav > li.active > a,
.main-nav > li > a.active {
  background: #873656;
  color: #FFFFFF;
  border-radius: 10px 10px 0 0;
  padding: 8px 12px 6px 12px;
  margin-bottom: -2px;
  box-shadow: 0 -2px 8px rgba(135, 54, 86, 0.25);
}
.main-nav > li.active > a .nav-ico,
.main-nav > li > a.active .nav-ico {
  color: #FFFFFF;
  opacity: 1;
}

/* Dropdown Menus for Dynamic Navigation */
.main-nav li.dropdown {
  position: relative;
}
.main-nav li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(48, 36, 43, 0.2);
  border: 1px solid #ecc9d7;
  border-top: 3px solid #873656;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  z-index: 10000;
  list-style: none;
  margin: 0;
  text-align: left;
}
.main-nav li.dropdown:hover > .dropdown-menu,
.main-nav li.dropdown:focus-within > .dropdown-menu {
  display: block;
}
.main-nav li .dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  color: #372b32;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
}
.main-nav li .dropdown-menu li a:hover {
  background: #fce8f0;
  color: #873656;
  padding-left: 22px;
}

/* Hero Section with Content & Animations */
.hero {
  width: 100%;
  height: clamp(230px, 32vw, 420px);
  position: relative;
  overflow: hidden;
  background: #050507;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-url, url('../images/neurology-hero.png'));
  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(5,4,7,0.78) 32%, rgba(5,4,7,0.78) 68%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 18px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Peer-Reviewed Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3.5px 12px;
  background: rgba(30, 20, 28, 0.75);
  border: 1px solid rgba(233, 169, 193, 0.4);
  border-radius: 20px;
  color: #fce8ef;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
}
.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #ec4899;
  border-radius: 50%;
  box-shadow: 0 0 8px #ec4899;
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* Animated Title */
.hero-title {
  margin: 0 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.hero-title .highlight {
  background: linear-gradient(135deg, #ffd3e2 0%, #f4a1bf 50%, #fcd6ba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: title-glow 4s ease-in-out infinite alternate;
}
@keyframes title-glow {
  0% {
    filter: drop-shadow(0 0 6px rgba(244, 161, 191, 0.35));
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(244, 161, 191, 0.8));
  }
}

/* ISSN Row */
.hero-issn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  width: 100%;
  max-width: 260px;
}
.hero-issn-row .issn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 105, 0.7), transparent);
}
.hero-issn-pill {
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 105, 0.5);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #f7e3ba;
  font-family: monospace, monospace;
}

/* Subtitle description */
.hero-desc {
  margin: 0 0 14px;
  font-size: clamp(12px, 0.95vw, 13.5px);
  line-height: 1.5;
  color: #fce8ef;
  max-width: 580px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  font-style: italic;
}

/* CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
/* Primary Button - Deep rose theme gradient */
.hero-btn-primary {
  background: linear-gradient(135deg, #c76f91 0%, #9e4367 100%);
  border: 1px solid #d98aa8;
  color: #ffffff;
}
.hero-btn-primary:hover {
  background: linear-gradient(135deg, #b3567b 0%, #873355 100%);
  border-color: #eed0dc;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(199, 111, 145, 0.45);
  color: #ffffff;
}
/* Secondary Button - Gold tinted ivory */
.hero-btn-secondary {
  background: #FFF9E9;
  border: 1px solid var(--gold);
  color: #634316;
}
.hero-btn-secondary:hover {
  background: var(--gold);
  color: #261b0c;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(212, 175, 105, 0.45);
}

/* Smooth Entrance Animations */
.animate-fade-in-up {
  animation: hero-fade-up 0.8s ease-out both;
}
.animate-title {
  animation: hero-title-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes hero-fade-up {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-title-in {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    letter-spacing: -0.8px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: -0.4px;
  }
}

/* Default Page and Content Container (Traditional Layout) */
main {
  background: #ffffff;
  min-height: 500px;
}
.page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 32px clamp(18px, 4vw, 70px) 50px;
  background: #ffffff;
}

/* Breadcrumbs (Traditional clean style) */
.cmp_breadcrumbs {
  margin-bottom: 24px;
}
.cmp_breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: #666;
}
.cmp_breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.cmp_breadcrumbs a {
  color: #3b5998;
  text-decoration: none;
  transition: color .15s;
}
.cmp_breadcrumbs a:hover {
  color: var(--pink-deep);
  text-decoration: underline;
}
.cmp_breadcrumbs .separator {
  margin: 0 9px;
  color: #999;
}
.cmp_breadcrumbs .current {
  color: #777;
}

/* Page Titles */
.page > h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 2.5vw, 34px);
  color: #1f2d3d;
  font-weight: 400;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2e5944;
}
.page_issue_archive > h1 {
  border-bottom: none;
  margin-bottom: 10px;
  font-size: 32px;
}

/* Traditional Archives List (Horizontal lines, clean titles, like user screenshot) */
.issues_archive {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
}
.issues_archive > li {
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: background .15s ease;
}
.issues_archive > li:hover {
  background: #fafbfc;
}
.obj_issue_summary {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.obj_issue_summary .cover {
  flex: 0 0 120px;
  max-width: 120px;
}
.obj_issue_summary .cover img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,.06);
}
.obj_issue_summary h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.obj_issue_summary .title {
  color: #24292e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: block;
}
.obj_issue_summary .title:hover {
  color: #1a56db;
  text-decoration: underline;
}
.obj_issue_summary .series {
  color: #586069;
  font-size: 14px;
  font-weight: normal;
  margin-top: 4px;
}
.obj_issue_summary .description {
  margin-top: 10px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
}

/* Traditional Issue View & Table of Contents */
.page_issue .heading,
.obj_issue_toc .heading {
  margin-bottom: 28px;
}
.obj_issue_toc .published {
  font-size: 14px;
  color: #4a5568;
  margin: 12px 0;
}
.obj_issue_toc .published .label {
  font-weight: 700;
}
.obj_issue_toc .sections {
  margin-top: 30px;
}
.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  background: #f1f5f9;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  margin: 20px 0 14px;
}
.cmp_article_list {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.cmp_article_list > li {
  padding: 16px 0;
  border-bottom: 1px solid #edf2f7;
}
.cmp_article_list > li:last-child {
  border-bottom: none;
}
.obj_article_summary > .title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.obj_article_summary > .title a {
  color: #1e293b;
  text-decoration: none;
}
.obj_article_summary > .title a:hover {
  color: #0284c7;
  text-decoration: underline;
}
.obj_article_summary .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}
.obj_article_summary .authors {
  font-style: normal;
  color: #475569;
}
.obj_article_summary .pages {
  color: #94a3b8;
  font-size: 12.5px;
}
.obj_article_summary .galleys_links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--pink-deep);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pink-deep);
  background: #ffffff;
  text-decoration: none;
  transition: all .15s ease;
}
.obj_galley_link:hover {
  background: var(--pink-deep);
  color: #ffffff;
}

/* Homepage content container */
.site-content {
  min-height: clamp(260px, 30vw, 420px);
  background: #ffffff;
  padding: 40px clamp(18px, 4vw, 70px);
}
.site-content-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Journal Cover Page & Intro Showcase */
.journal-home-presentation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 50px);
  padding: 30px;
  background: linear-gradient(135deg, #FFF9FB 0%, #FDF1F5 50%, #FAF0EE 100%);
  border: 1px solid #ecc9d7;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(135, 54, 86, 0.07);
  margin-bottom: 40px;
}
.journal-cover-col {
  flex: 0 0 clamp(200px, 22vw, 290px);
  max-width: 290px;
}
.journal-cover-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(48, 36, 43, 0.22), 0 2px 8px rgba(135, 54, 86, 0.15);
  border: 3px solid #ffffff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.journal-cover-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(48, 36, 43, 0.28), 0 4px 12px rgba(135, 54, 86, 0.2);
}
.journal-cover-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.journal-intro-col {
  flex: 1;
  min-width: 0;
}
.intro-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fae0eb;
  color: #873656;
  border: 1px solid #eabecd;
  margin-bottom: 12px;
}
.intro-title {
  margin: 0 0 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: #2e1d25;
  font-weight: 700;
}
.intro-text {
  font-size: 15px;
  line-height: 1.75;
  color: #4f3d47;
  margin-bottom: 20px;
}
.intro-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #613649;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #ebd3dd;
}
.intro-tag .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #873656;
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}
.intro-btn-submit {
  background: linear-gradient(135deg, #873656 0%, #6e2743 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(135, 54, 86, 0.3);
}
.intro-btn-submit:hover {
  background: linear-gradient(135deg, #712a45 0%, #541c32 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(135, 54, 86, 0.4);
  color: #ffffff;
}
.intro-btn-info {
  background: #ffffff;
  color: #873656;
  border: 1.5px solid #dcbac9;
}
.intro-btn-info:hover {
  background: #fdf2f6;
  border-color: #873656;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .journal-home-presentation {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .journal-cover-col {
    max-width: 220px;
    margin: 0 auto;
  }
  .intro-meta-tags {
    justify-content: center;
  }
  .intro-actions {
    justify-content: center;
  }
}

.empty-content {
  min-height: clamp(260px, 30vw, 420px);
  background: #ffffff;
}

/* Footer - Backend / Admin Panel Content with #873656 Theme Palette */
.footer {
  background: #873656;
  background: linear-gradient(180deg, #873656 0%, #752946 100%);
  color: #FFFFFF;
  border-top: 3px solid #D4AF69;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--content-width);
  margin: auto;
  padding: 34px clamp(18px, 4vw, 70px);
  text-align: center;
  position: relative;
  z-index: 1;
}
.custom-page-footer {
  font-size: 14px;
  line-height: 1.85;
  color: #fae4ee;
  letter-spacing: 0.15px;
}
.custom-page-footer p {
  margin: 6px 0;
}
.custom-page-footer strong,
.custom-page-footer b {
  color: #FFFFFF;
  font-weight: 600;
}
.custom-page-footer a {
  color: #ffd6e6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all .2s ease;
}
.custom-page-footer a:hover {
  color: #ffffff;
  text-decoration-color: #ffd6e6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Forms & Registration Styling */
/* Hide the written text "Required" while keeping the clean red asterisk (*) */
.cmp_form .label .pkp_screen_reader,
.page_register .pkp_screen_reader,
.page_login .pkp_screen_reader {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.cmp_form .label .required {
  color: #dc2626;
  font-weight: bold;
  margin-left: 2px;
}

/* Form fieldsets & field spacing */
.cmp_form fieldset {
  margin: 0 0 24px;
  padding: 16px 20px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
}

/* Side by side Profile and Login fieldsets on Registration Page */
.page_register .cmp_form.register {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .page_register .cmp_form.register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .page_register .cmp_form.register > fieldset.identity {
    grid-column: 1;
    margin-bottom: 24px;
  }
  .page_register .cmp_form.register > fieldset.login {
    grid-column: 2;
    margin-bottom: 24px;
  }
  .page_register .cmp_form.register > fieldset:not(.identity):not(.login),
  .page_register .cmp_form.register > .buttons,
  .page_register .cmp_form.register > .pkp_form_error,
  .page_register .cmp_form.register > div:not(fieldset) {
    grid-column: 1 / -1;
  }
}

.cmp_form legend {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  padding: 0 8px;
}
.cmp_form .fields {
  display: flex;
  flex-direction: column;
  gap: 14px; /* little gap in between the fields */
}
.cmp_form .fields > div {
  margin-bottom: 0;
}
.cmp_form label {
  display: block;
}
.cmp_form .label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
  font-style: normal;
}
.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form select,
.cmp_form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cmp_form select {
  cursor: pointer;
}
.cmp_form textarea {
  height: auto;
}
.cmp_form input[type="text"]:focus,
.cmp_form input[type="email"]:focus,
.cmp_form input[type="password"]:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(199, 111, 145, 0.2);
}

/* Side by side Published After & Published Before on Search Page */
.page_search .date_range {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 680px) {
  .page_search .date_range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}
.page_search .date_range .from,
.page_search .date_range .to {
  min-width: 0;
}
.page_search .date_range fieldset {
  margin: 0;
  padding: 16px 18px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
}
.page_search .date_range legend {
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  padding: 0 6px;
}
.page_search .date_range label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin: 10px 0 4px;
}
.page_search .date_range label:first-of-type {
  margin-top: 4px;
}
.page_search .date_range select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 14px;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page_search .date_range select:focus {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(199, 111, 145, 0.2);
}
.cmp_form .buttons {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cmp_form .buttons button,
.cmp_button,
.page_register button[type="submit"],
.page_login button[type="submit"] {
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #aa4f73;
  border-radius: 4px;
  background: linear-gradient(180deg, #d3799b 0%, #b8547a 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(184, 84, 122, 0.25);
  transition: all .2s ease;
}
.cmp_form .buttons button:hover,
.cmp_button:hover,
.page_register button[type="submit"]:hover,
.page_login button[type="submit"]:hover {
  background: linear-gradient(180deg, #b8547a 0%, #9e3d62 100%);
  border-color: #8c3254;
  box-shadow: 0 4px 10px rgba(158, 61, 98, 0.35);
  transform: translateY(-1px);
}
.cmp_form .buttons a {
  color: #8c3b5d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.cmp_form .buttons a:hover {
  color: #5d2039;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .main-nav > li > a {
    font-size: 12px;
    padding: 0 6px;
  }
}

@media (max-width: 900px) {
  .main-nav-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav-container::-webkit-scrollbar {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
    width: max-content;
    gap: 4px;
  }
  .main-nav > li > a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }
  .journal-meta {
    gap: 7px 10px;
  }
  .journal-meta span + span {
    padding-left: 10px;
  }
}
@media (max-width: 640px) {
  .utility-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .utility-left, .utility-right {
    gap: 9px 13px;
  }
  .masthead-brain-art {
    display: none;
  }
  .brand-copy {
    border-left: none;
    padding-left: 0;
  }
  .brand-mark {
    width: auto;
    max-width: 90px;
    height: 55px;
    flex-basis: auto;
  }
  .brand-mark img {
    max-width: 90px;
    max-height: 55px;
  }
  .brand-mark svg {
    width: 36px;
    height: 36px;
  }
  .journal-title {
    font-size: 20px;
  }
  .journal-meta {
    font-size: 11px;
  }
  .journal-meta span + span {
    border-left: 0;
    padding-left: 0;
  }
  .hero {
    height: 190px;
  }
  .hero::before {
    background-position: center;
  }
  .empty-content {
    min-height: 270px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
