:root {
  --pink: #7027A5;
  --pink-deep: #582080;
  --pink-soft: #F1E8F8;
  --pink-pale: #FBF8FD;
  --gold: #D4AF69;

  --ink: #30213B;
  --muted: #6F6478;
  --white: #FFFFFF;
  --line: #E3D5ED;

  --teal: #519C8C;
  --teal-deep: #347B6D;
  --teal-soft: #E8F4F1;

  --light-blue: #A7C9D1;
  --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: linear-gradient(100deg, #582080, #7027A5);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  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 #D8C5E8;
  border-radius: 25px;
  padding: 3px 5px 3px 18px;
  box-shadow: 0 3px 12px rgba(88,32,128,.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: var(--pink);
  box-shadow: 0 3px 14px rgba(88,32,128,.16);
}
.utility-search-form .search-input-wrapper:focus-within,
.masthead-search-form .search-input-wrapper:focus-within {
  width: clamp(230px, 22vw, 320px);
  border-color: var(--pink);
  box-shadow: 0 0 0 3.5px rgba(112,39,165,.18);
}
.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: var(--pink);
  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 3px 8px rgba(88,32,128,.28);
  transition: all .2s ease;
}
.utility-search-form button:hover,
.masthead-search-form button:hover {
  background: var(--pink-deep);
  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.5);
  font-weight: 300;
}

/* Desktop Hiding of Mobile Drawer and Toggle */
.mobile-nav-header,
.mobile-drawer-header,
.mobile-drawer-user-section,
.mobile-menu-toggle {
  display: none !important;
}

.mobile-menu-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  width: 36px;
  height: 32px;
  padding: 6px 7px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: all .25s ease;
}
.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}
.mobile-menu-toggle .toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.mobile-menu-toggle.is-active {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}
.mobile-menu-toggle.is-active .toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.is-active .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.is-active .toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav-drawer {
  display: flex;
  align-items: center;
  width: 100%;
}

.mobile-nav-backdrop {
  display: none;
}

/* Masthead */
.masthead {
  position: relative;
  background: linear-gradient(110deg, #FFFFFF 0%, #FBF8FD 58%, #F1E8F8 100%);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.masthead-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 45%, rgba(112,39,165,.08), transparent 48%),
              radial-gradient(circle at 8% 55%, rgba(81,156,140,.09), transparent 42%);
  opacity: 0.8;
}
.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 5px rgba(88,32,128,.12));
}
.brand-copy {
  min-width: 0;
  flex: 1;
  border-left: 1px solid var(--line);
  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: var(--ink);
}
.journal-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1px;
}
.journal-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.journal-meta .meta-issn {
  color: #50425B;
  font-weight: 600;
}
.journal-meta .meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pink-deep);
}
.journal-meta .meta-badge svg {
  flex-shrink: 0;
  fill: var(--pink);
}
.journal-meta span + span {
  border-left: 1px solid var(--line);
  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: linear-gradient(90deg, #F1E8F8, #FBF8FD, #E8F4F1);
  border-bottom: 2px solid var(--pink);
  box-shadow: 0 3px 12px rgba(88,32,128,.07);
  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: #493653;
  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: var(--pink);
  opacity: 0.95;
  transition: transform .2s ease;
}
.main-nav > li > a:hover {
  background: #FFFFFF;
  color: var(--pink-deep);
}
.main-nav > li > a:hover .nav-ico {
  transform: translateY(-1px);
}

/* Active Tab */
.main-nav > li.active > a,
.main-nav > li > a.active {
  background: var(--pink);
  color: #FFFFFF;
  border-radius: 10px 10px 0 0;
  padding: 8px 12px 6px 12px;
  margin-bottom: -2px;
  box-shadow: 0 -2px 8px rgba(88,32,128,.18);
}
.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,33,59,.14);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pink);
  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: var(--ink);
  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: var(--pink-soft);
  color: var(--pink-deep);
  padding-left: 22px;
}

/* Hero Section with Content & Animations */
.hero {
  width: 100%;
  height: clamp(230px, 32vw, 420px);
  position: relative;
  overflow: hidden;
  background: #F1E8F8;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-url, url('../images/neurology-hero.png'));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 1;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    rgba(255, 255, 255, 0.05) 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(88, 32, 128, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
}
.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #69C6AF;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(105,198,175,.65);
  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: #000000;
  text-shadow: 0 2px 5px rgba(48, 33, 59, 0.45);
}
.hero-title .highlight {
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #D9C1F0 55%,
    #A9DFD2 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 4px rgba(112, 39, 165, 0.3)); }
  100% { filter: drop-shadow(0 0 12px rgba(112, 39, 165, 0.65)); }
}

/* 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,.85), transparent);
}
.hero-issn-pill {
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 105, 0.7);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #FFF0CA;
  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: #000000;
  max-width: 580px;
  text-shadow: 0 1px 4px rgba(48, 33, 59, 0.4);
  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.2);
}
.hero-btn-primary {
  background: linear-gradient(135deg, #7027A5, #582080);
  border: 1px solid #A77CC8;
  color: #ffffff;
}
.hero-btn-primary:hover {
  background: linear-gradient(135deg, #582080, #40205D);
  border-color: #D5C0E8;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(88,32,128,.35);
  color: #ffffff;
}
.hero-btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--gold);
  color: #493653;
}
.hero-btn-secondary:hover {
  background: #E8F4F1;
  color: var(--teal-deep);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(81, 156, 140, 0.35);
}

/* 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 */
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 */
.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: var(--pink);
  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: var(--ink);
  font-weight: 400;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pink);
}
.page_issue_archive > h1 {
  border-bottom: none;
  margin-bottom: 10px;
  font-size: 32px;
}

/* Traditional Archives List */
.issues_archive {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.issues_archive > li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.issues_archive > li:hover {
  background: #FBF8FD;
}
.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: var(--ink);
  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: var(--pink);
  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: var(--pink-deep);
  background: var(--pink-soft);
  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 #EEE6F4;
}
.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: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.obj_article_summary > .title a {
  color: var(--ink);
  text-decoration: none;
}
.obj_article_summary > .title a:hover {
  color: var(--pink);
  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);
  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);
  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, #FFFFFF, #FBF8FD 70%, #E8F4F1);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(88,32,128,.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, 33, 59, 0.16), 0 2px 8px rgba(112, 39, 165, 0.1);
  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, 33, 59, 0.22), 0 4px 12px rgba(112, 39, 165, 0.18);
}
.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: var(--pink-soft);
  color: var(--pink-deep);
  border: 1px solid var(--line);
  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: var(--ink);
  font-weight: 700;
}
.intro-text {
  font-size: 15px;
  line-height: 1.75;
  color: #62566B;
  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: var(--pink-deep);
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.intro-tag .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.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, #7027A5, #582080);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(88,32,128,.2);
}
.intro-btn-submit:hover {
  background: linear-gradient(135deg, #582080, #40205D);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88,32,128,.3);
  color: #ffffff;
}
.intro-btn-info {
  background: #ffffff;
  color: var(--pink-deep);
  border: 1.5px solid var(--line);
}
.intro-btn-info:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-2px);
}

.empty-content {
  min-height: clamp(260px, 30vw, 420px);
  background: #ffffff;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #582080 0%, #40205D 100%);
  color: #FFFFFF;
  border-top: 3px solid var(--gold);
  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: #F1E8F8;
  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: #BFE9DE;
  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 */
.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;
}

.cmp_form fieldset,
.page_search .date_range fieldset {
  margin: 0 0 24px;
  padding: 16px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.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,
.cmp_form .label,
.page_search .date_range legend {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 8px;
}
.cmp_form .fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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: var(--ink);
  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);
  box-shadow: 0 0 0 3px rgba(112,39,165,.15);
}

.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 var(--line);
  border-radius: 6px;
  background: #ffffff;
}
.page_search .date_range legend {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  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);
  box-shadow: 0 0 0 3px rgba(112,39,165,.15);
}
.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 var(--pink-deep);
  border-radius: 4px;
  background: linear-gradient(135deg, #7027A5, #582080);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(88,32,128,.2);
  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(135deg, #582080, #40205D);
  border-color: #40205D;
  box-shadow: 0 4px 10px rgba(88,32,128,.35);
  transform: translateY(-1px);
}
.cmp_form .buttons a {
  color: var(--pink-deep);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.cmp_form .buttons a:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}

/* ==========================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE SCREENS)
   ========================================================== */

@media (max-width: 1200px) {
  .main-nav > li > a {
    font-size: 12px;
    padding: 0 6px;
  }
}

@media (max-width: 991px) {
  /* Utility Bar on Mobile */
  .utility-bar .user-utility-links {
    display: none !important;
  }
  .utility-bar {
    padding: 6px 14px;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
  }
  .utility-right {
    gap: 0;
  }

  /* Hamburger Toggle Button */
  .mobile-menu-toggle {
    display: flex !important;
    margin-left: auto;
  }

  /* Masthead stack */
  .masthead-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 20px;
  }
  .brand-left {
    width: 100%;
  }
  .masthead-right {
    width: 100%;
    justify-content: stretch;
  }
  .masthead-search-form {
    width: 100%;
  }
  .masthead-search-form .search-input-wrapper {
    width: 100% !important;
    max-width: 100%;
  }

  /* Nav Wrap on Mobile */
  .nav-wrap {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    position: static;
    min-height: 0;
  }
  .main-nav-container {
    padding: 0;
    min-height: 0;
  }

  /* Mobile Slide-out Drawer */
  .main-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 320px);
    height: 100vh;
    background: #ffffff;
    z-index: 10001;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s ease;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-left: 1px solid var(--line);
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .main-nav-drawer.is-open {
    transform: translateX(0);
    box-shadow: -8px 0 30px rgba(48, 33, 59, 0.28);
  }

  .mobile-drawer-header {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--pink) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    margin: 0 !important;
  }
  .mobile-drawer-title {
    display: block !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff !important;
  }
  .mobile-drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
  }
  .mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .mobile-drawer-nav-section {
    flex: 1 1 auto;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .main-nav > li {
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #F1E8F8;
    padding: 0 !important;
    margin: 0 !important;
  }
  .main-nav > li:last-child {
    border-bottom: none;
  }
  .main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    border-radius: 0;
    white-space: normal;
    transition: all .2s ease;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .main-nav > li > a .nav-ico {
    width: 17px;
    height: 17px;
    color: var(--pink);
  }
  .main-nav > li > a:hover,
  .main-nav > li > a:focus {
    background: var(--pink-soft);
    color: var(--pink-deep);
    padding-left: 24px;
  }
  .main-nav > li.active > a,
  .main-nav > li > a.active {
    background: var(--pink);
    color: #ffffff;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    padding-left: 22px;
  }
  .main-nav > li.active > a .nav-ico,
  .main-nav > li > a.active .nav-ico {
    color: #ffffff;
  }

  .main-nav li.dropdown > a::after {
    content: "▾";
    margin-left: auto;
    font-size: 13px;
    transition: transform .25s ease;
    color: var(--pink);
  }
  .main-nav li.dropdown.is-expanded > a::after {
    transform: rotate(180deg);
  }
  .main-nav li .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid #ebd3dd;
    background: #FBF8FD;
    border-radius: 0;
    padding: 4px 0 8px;
  }
  .main-nav li.dropdown.is-expanded > .dropdown-menu {
    display: block;
    animation: fadeInMenu .25s ease;
  }
  .main-nav li .dropdown-menu li a {
    padding: 10px 20px 10px 44px;
    font-size: 13.5px;
    color: var(--ink);
  }
  .main-nav li .dropdown-menu li a:hover {
    background: var(--pink-soft);
    color: var(--pink-deep);
    padding-left: 48px;
  }

  /* User Account in Mobile Drawer */
  .mobile-drawer-user-section {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0;
    padding: 16px 20px 24px;
    background: var(--pink-soft);
    border-top: 2px solid var(--line);
    margin-top: auto;
  }
  .mobile-user-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--pink);
    margin-bottom: 12px;
  }
  .mobile-user-links {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-user-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
  }
  .mobile-user-login,
  .mobile-user-dashboard {
    background: var(--pink);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(88,32,128,.28);
  }
  .mobile-user-login:hover,
  .mobile-user-dashboard:hover {
    background: var(--pink-deep);
    color: #ffffff;
  }
  .mobile-user-register,
  .mobile-user-logout {
    background: #ffffff;
    color: var(--pink-deep);
    border: 1.5px solid var(--line);
  }
  .mobile-user-register:hover,
  .mobile-user-logout:hover {
    background: var(--teal-soft);
    border-color: var(--teal);
  }

  /* Mobile Backdrop */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(48, 33, 59, 0.55);
    backdrop-filter: blur(3px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .mobile-nav-backdrop.is-active {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .journal-meta {
    gap: 7px 10px;
  }
  .journal-meta span + span {
    padding-left: 10px;
  }
}

/* Mobile Screens */
@media (max-width: 640px) {
  .utility-bar {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 8px 14px;
    gap: 10px;
  }
  .utility-left, .utility-right {
    gap: 8px 12px;
  }
  .utility-bar,
  .user-utility-links {
    font-size: 12px;
  }

  .masthead {
    padding: 0;
    background: linear-gradient(135deg, #FFFFFF, #F1E8F8);
  }
  .masthead-inner {
    padding: 14px 14px 18px;
    gap: 14px;
    min-height: auto;
  }

  /* Mobile: Logo Left, Title Right */
  .brand-left {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    width: 100%;
  }
  .masthead-brain-art {
    display: none;
  }
  .brand-mark {
    width: auto;
    max-width: 80px;
    height: auto;
    max-height: 70px;
    margin: 0;
    flex-shrink: 0;
    flex-basis: auto;
  }
  .brand-mark img {
    max-width: 75px;
    max-height: 70px;
    height: auto;
  }
  .brand-mark svg {
    width: 38px;
    height: 38px;
  }
  .brand-copy {
    border-left: 1px solid var(--line);
    padding-left: 14px;
    width: 100%;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .journal-title {
    font-size: 19px;
    line-height: 1.25;
    text-align: left;
    color: var(--ink);
  }

  /* Hide metadata on mobile header */
  .journal-meta {
    display: none !important;
  }

  .masthead-right {
    width: 100%;
    margin-top: 4px;
  }
  .masthead-search-form {
    width: 100%;
  }
  .masthead-search-form .search-input-wrapper {
    width: 100% !important;
    border-radius: 24px;
    padding: 3px 6px 3px 16px;
  }
  .masthead-search-form input[type="text"] {
    font-size: 13.5px;
  }

  /* Hero Section in Mobile */
  .hero {
    height: auto;
    min-height: 270px;
    padding: 26px 14px;
  }
  .hero-content {
    padding: 0;
  }
  .hero .hero-overlay {
    background: rgba(48, 33, 59, 0.22) !important;
  }
  .hero-title {
    font-size: 20px;
    line-height: 1.25;
    text-shadow: 0 2px 5px rgba(48, 33, 59, 0.5) !important;
  }
  .hero-desc {
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 12px;
  }
  .hero-cta-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 360px;
    gap: 8px;
    justify-content: center;
  }
  .hero-btn {
    flex: 1;
    width: auto;
    justify-content: center;
    padding: 8px 10px;
    font-size: 11.5px;
    white-space: nowrap;
    border-radius: 5px;
    gap: 5px;
  }
  .hero-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .hero::before {
    inset: auto;
    top: 0;
    bottom: 0;
    left: -300px;
    right: 0;
    width: calc(100% + 300px);
    background-position: center;
    background-size: cover;
  }

  .site-content {
    padding: 24px 14px 40px;
  }
  .journal-home-presentation {
    padding: 18px 14px;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }
  .journal-cover-col {
    max-width: 220px;
    margin: 0 auto;
  }
  .intro-title {
    font-size: 20px;
    line-height: 1.3;
  }
  .intro-text {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .intro-meta-tags {
    justify-content: center;
  }

  /* Presentation Actions: Row Centered strictly on Mobile */
  .intro-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 320px !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 12px auto 0 auto !important;
  }
  .intro-btn {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .empty-content {
    min-height: 200px;
  }
  .footer-inner {
    padding: 24px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
