@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2933;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: var(--page-bg);
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: var(--pattern-size, auto);
}

/* ========================================
   🎨 EASY COLOR CUSTOMIZATION
   Change these variables to update colors site-wide!
   ======================================== */
:root {
  /* HEADER COLOR */
  --header-color: #bc3c39;
  /* ← Dark gold */

  /* PAGE BACKGROUND - just the image URL or color */
  --page-bg: url('../img/background_pattern2.png');
  --pattern-size: 200px;
  /* ← Scale pattern (100px=small, 300px=large, auto=original) */

  /* Alternative backgrounds (uncomment one to use): */
  /* --page-bg: #e5e9f0;  /* Solid light gray */
  /* --page-bg: #1a1a2e;  /* Dark mode */
  /* --page-bg: url('../img/background4.png');  /* Different image */

  /* ACCENT COLORS */
  --accent-color: #0fa092;
  /* Teal accent */
  --gold-color: #fbb736;
  /* Gold accent */
}

/* Make wrappers transparent so page background shows through */
html,
.pkp_structure_content,
.pkp_structure_page {
  background: transparent !important;
}

/* ========================================
   HEADER CUSTOMIZATION
   ======================================== */

/* Apply header color using CSS variable */
.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper,
.pkp_structure_head .pkp_site_nav_menu,
.pkp_structure_head .pkp_navigation_primary_wrapper,
.pkp_structure_head .pkp_navigation_primary_row,
.pkp_structure_head .pkp_navigation_primary,
.pkp_structure_head ul,
.pkp_structure_head nav,
.pkp_site_nav_menu,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.aortic_nav_center,
.pkp_navigation_primary_wrapper,
.pkp_navigation_search_wrapper,
.pkp_navigation_user_wrapper,
.pkp_navigation_primary,
.pkp_navigation_user,
ul.pkp_navigation_primary,
ul.pkp_navigation_user,
ul#navigationPrimary,
ul.dropdown-menu {
  background: var(--header-color) !important;
  background-color: var(--header-color) !important;
  border: none !important;
  border-color: var(--header-color) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Make the site title HUGE and prevent wrapping */
.pkp_head_wrapper {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.pkp_site_name_wrapper {
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Site Title - centered and large */
.pkp_site_name {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 1rem 0 !important;
  gap: 2rem;
}

.pkp_site_name .is_img {
  display: inline-block;
  flex-shrink: 0;
}

.pkp_site_name .is_text,
.pkp_site_name a.is_text,
.journal-title,
span.journal-title {
  font-size: 3.75rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  white-space: nowrap !important;
  display: inline-block;
  text-align: center !important;
}

/* Golden AORTIC brand link in title */
.pkp_site_name .aortic-brand-link,
.journal-title .aortic-brand-link,
.aortic-brand-link {
  color: #FCAF17 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  transition: all 0.2s ease;
}

.pkp_site_name .aortic-brand-link:hover,
.journal-title .aortic-brand-link:hover,
.aortic-brand-link:hover {
  color: #ffd966 !important;
  text-decoration: none !important;
}

@media (max-width: 991px) {

  .pkp_site_name .is_text,
  .pkp_site_name a,
  .journal-title {
    font-size: 1.2rem !important;
    white-space: normal !important;
    /* Allow wrap on mobile */
  }
}

/* Navigation row - vertical stack of centered rows */
.pkp_site_nav_menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.5rem 0 !important;
  height: auto !important;
  background-color: var(--header-color) !important;
}

.aortic_nav_row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  /* Enable responsive stacking */
  justify-content: center !important;
  /* Center the whole cluster */
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0.25rem 2% !important;
  gap: 1rem !important;
  /* Balanced gap for 100% zoom fit */
}

.aortic_nav_utilities {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  /* Right-most child */
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 1rem !important;
  flex: 0 1 auto !important;
}

/* Old row helpers removed for single-row spread */

/* Nav links - integrated tightly */
.aortic_nav_row .pkp_navigation_primary_wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  /* Left-most child */
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto !important;
  width: auto !important;
}

.pkp_navigation_primary,
ul.pkp_navigation_primary,
ul#navigationPrimary {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  /* Align left */
  align-items: center !important;
  gap: 1rem !important;
  /* Tighter links */
  margin: 0 !important;
  padding-left: 0 !important;
  /* KILL ghost left shift */
  list-style: none !important;
  width: auto !important;
  text-align: left !important;
}

.pkp_navigation_primary>li,
ul.pkp_navigation_primary>li {
  display: block !important;
  /* Back to block for flex child */
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  /* Ensure children can be positioned absolutely */
}

/* Indicators for items with submenus */
.pkp_navigation_primary>li:has(ul)>a:after {
  content: '▼' !important;
  font-size: 0.6rem !important;
  margin-left: 0.4rem !important;
  vertical-align: middle !important;
  display: inline-block !important;
  opacity: 0.8 !important;
}

/* Submenu Dropdown Logic */
.pkp_navigation_primary ul {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #0f172a !important;
  /* Dark theme matching USER icon */
  min-width: 12rem !important;
  padding: 0.5rem 0 !important;
  list-style: none !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35) !important;
  z-index: 100 !important;
}

.pkp_navigation_primary li:hover>ul {
  display: block !important;
}

.pkp_navigation_primary ul li {
  display: block !important;
  width: 100% !important;
}

.pkp_navigation_primary ul a {
  display: block !important;
  padding: 0.5rem 1rem !important;
  color: #e2f3ff !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  text-align: left !important;
}

.pkp_navigation_primary ul a:hover {
  background: #1e293b !important;
}

/* Search bar - integrated tightly */
.aortic_nav_search {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aortic_nav_search .pkp_search {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem;
  /* Normal buffer between input and Search button */
}

.aortic_nav_search .pkp_search__controls {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem;
  /* Normal buffer between input and Search button */
}

.aortic_nav_search .pkp_search__input {
  min-width: 120px;
  width: 280px;
  /* Shorter search bar */
}

.aortic_nav_search .pkp_search__button {
  flex-shrink: 0;
  white-space: nowrap;
}

/* User icon - integrated tightly */
.aortic_nav_row .pkp_navigation_user_wrapper {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  /* Don't grow/shrink */
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

.aortic_nav_row .pkp_navigation_user {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center !important;
}

.aortic_nav_row .pkp_navigation_user li,
.aortic_nav_row .pkp_navigation_user a {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* CRITICAL: Crushing the "Right Buffer" - OJS often adds padding here */
.aortic_nav_row .pkp_navigation_user,
.aortic_nav_row .pkp_navigation_user>li,
.aortic_nav_row .pkp_navigation_user>li>a {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Hide task count bubble that creates asymmetrical spacing */
.aortic_nav_row .task_count {
  display: none !important;
}

/* Typography fix for nav links - bold and prominent */
.aortic_nav_row .pkp_navigation_primary>li>a,
.aortic_nav_row ul.pkp_navigation_primary>li>a {
  font-size: 0.95rem !important;
  /* Further reduced for perfect fit */
  font-weight: 700 !important;
  /* Bolder */
  letter-spacing: 0.01em !important;
  color: #ffffff !important;
  text-transform: none !important;
  padding: 0.5rem 0.5rem !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  /* Remove Underlines */
}

.aortic_nav_row .pkp_navigation_primary>li>a:hover {
  text-decoration: none !important;
  /* Remain underline-free on hover */
  opacity: 0.9 !important;
}

/* Ensure the nav container itself doesn't limit the width */
.pkp_site_nav_menu.pkp_container {
  max-width: none !important;
  width: 100% !important;
}

/* Override desktop Less rules that set text-align: left */
@media (min-width: 992px) {

  .pkp_navigation_primary,
  ul.pkp_navigation_primary,
  ul#navigationPrimary {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.page_title,
.aortic-hero-title {
  font-family: 'Outfit', sans-serif !important;
}

/* Main content wrapper – card again */
.aortic-page {
  max-width: 85%;
  margin: 2rem auto 1rem;
  padding: 0 1.5rem 0rem;
  background: #f9fafb;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}


.pkp_structure_content {
  background: #e5e9f0;
}


.pkp_structure_main {
  background: transparent;
  box-shadow: none;
  border: 0;
}


.pkp_structure_main {
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* Lists like TOC / article lists */
.cmp_article_list,
.obj_issue_toc {
  background: transparent;
  border: 0;
}

.cmp_article_list .title a {
  font-weight: 600;
  text-decoration: none;
}

/* ===========================
   HEADER + NAV (AORTIC style)
   =========================== */
/* Hide the "Open Menu" toggle button in the header */
.pkp_site_nav_toggle {
  display: none;
}

.pkp_structure_head {
  /* AORTIC header - uses CSS variable from :root */
  background: var(--header-color);
  color: #ffffff;
}


/* Header structure - Title above Nav */
.pkp_head_wrapper {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.pkp_site_name,
.pkp_site_name a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.pkp_site_name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pkp_site_name a:hover {
  opacity: 0.9;
  text-decoration: none;
}

.pkp_site_name_wrapper img {
  max-height: 120px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* User nav (Register / Login OR user dropdown) */
.pkp_navigation_user_wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.pkp_navigation_user_wrapper a {
  color: #e2f3ff;
  font-size: 0.85rem;
  text-decoration: none;
}

.pkp_navigation_user_wrapper a:hover {
  text-decoration: underline;
}

/* Cleanup: Removed legacy flex nav rules here to prevent conflicts */


/* ===========================
   Search Bar Styling
   =========================== */

.pkp_search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pkp_search input[type="text"],
.pkp_search input[type="search"] {
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.9rem;
  min-width: 200px;
  transition: all 0.2s ease;
}

.pkp_search input[type="text"]::placeholder,
.pkp_search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.pkp_search input[type="text"]:focus,
.pkp_search input[type="search"]:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.pkp_search button,
.pkp_search .pkp_search_icon {
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: #e34326;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pkp_search button:hover,
.pkp_search .pkp_search_icon:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.pkp_search a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  transition: all 0.2s ease;
}

.pkp_search a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

.pkp_search .fa {
  margin-right: 0.25rem;
}

/* ===========================
   HOMEPAGE AORTIC BLOCKS
   =========================== */

.aortic-hero {
  /* Teal hero background */
  background: linear-gradient(135deg, #0d9488, #149db8);
  color: #ffffff;

  /* pull hero out to the edges of the card */
  margin: 0 -1.5rem 2rem;
  padding: 1.75rem 2.5rem 1.5rem;

  border-radius: 24px 24px 0 0;
}



.aortic-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.aortic-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.aortic-hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.aortic-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aortic-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid #ffffff;
}

.aortic-btn-primary {
  background: #ffffff;
  color: #005066;
}

.aortic-btn-outline {
  background: transparent;
  color: #ffffff;
}

/* Mission, features, programmes */

.aortic-mission,
.aortic-programmes {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.aortic-mission h2,
.aortic-programmes h2 {
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.aortic-features {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.aortic-feature,
.aortic-programme-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* CTA band */

.aortic-cta {
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  margin: 3rem 0;
}

/* Center the CTA buttons only */
.aortic-cta .aortic-hero-cta {
  justify-content: center;
}

/* ===========================
   Issues slider (HORIZONTAL & CINEMATIC)
   =========================== */

/* Higher specificity to beat any OJS defaults */
body .aortic-section.aortic-current-issue {
  position: relative !important;
  margin: 1.25rem -1.5rem !important;
  padding: 0.5rem 2rem !important;
  /* Narrower (less tall) */
  overflow: hidden !important;
  background-color: #0f172a !important;
  /* Fallback dark */
  z-index: 1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Blurred background via pseudo-element */
body .aortic-section.aortic-current-issue::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url('../img/background3.png') !important;
  background-size: cover !important;
  background-position: center !important;
  filter: blur(0px) brightness(0.6) !important;
  z-index: -1 !important;
  opacity: 1 !important;
}

body .aortic-issue-header {
  position: relative !important;
  z-index: 10 !important;
  max-width: 1200px !important;
  margin: 0 auto 0.25rem !important;
  /* Reduced margin */
  padding: 0 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body .aortic-issue-header h2 {
  letter-spacing: 0.12em !important;
  font-size: 1.05rem !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
  margin: 0 !important;
}

body .aortic-link {
  font-size: 0.85rem !important;
  color: #fbb736 !important;
  /* Gold */
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}

body .aortic-link:hover {
  color: #ffffff !important;
  animation: aorticBounce 0.5s ease infinite alternate;
}

@keyframes aorticBounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-4px);
  }
}

/* Swiper container */
body .aortic-issue-swiper {
  position: relative !important;
  z-index: 10 !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 4rem !important;
  overflow: visible !important;
}

/* The card - HORIZONTAL & TRANSPARENT */
body .issue-card {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  /* Minimal gap for maximum image size */
  width: 100% !important;
  padding: 0 !important;
}

/* cover - Left Side */
body .issue-cover {
  flex: 0 0 52% !important;
  /* Dominant share to force vertical growth */
  width: 52% !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
}

body .issue-cover img {
  width: 100% !important;
  height: auto !important;
  max-height: 650px !important;
  /* Removing cap to allow 75% coverage */
  object-fit: contain !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
  filter: none !important;
  /* NO BLUR */
  opacity: 1 !important;
}

/* Explicitly hide OJS default cover overlay */
body .cover-overlay {
  display: none !important;
}

/* details - Right Side */
body .issue-details {
  flex: 1 !important;
  text-align: left !important;
  color: #ffffff !important;
  padding: 0 !important;
}

body .issue-year {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #fbb736 !important;
  /* Stand-out color for metadata */
  text-transform: uppercase !important;
  margin-bottom: 0.4rem !important;
  display: block !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

body .issue-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.1 !important;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7) !important;
}

body .issue-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

body .issue-meta {
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 1.8rem 0 !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

body .issue-actions {
  display: flex !important;
  gap: 1.25rem !important;
}

body .btn-view {
  background: #fbb736 !important;
  color: #000 !important;
  padding: 0.9rem 2.2rem !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  box-shadow: 0 8px 16px rgba(251, 183, 54, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 0.9rem !important;
}

body .btn-view:hover {
  background: #ffffff !important;
  color: #fbb736 !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(251, 183, 54, 0.6) !important;
}

/* Swiper navigation tweaks */
body .aortic-issue-swiper .swiper-button-prev,
body .aortic-issue-swiper .swiper-button-next {
  width: 56px !important;
  height: 56px !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body .aortic-issue-swiper .swiper-button-prev:hover,
body .aortic-issue-swiper .swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-pdf {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  padding: 0.9rem 2rem !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-decoration: none !important;
}

/* Swiper nav buttons */
.aortic-issue-swiper .swiper-button-prev,
.aortic-issue-swiper .swiper-button-next {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.aortic-issue-swiper .swiper-button-prev:hover,
.aortic-issue-swiper .swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.aortic-issue-swiper .swiper-button-prev::after,
.aortic-issue-swiper .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}



/* ===========================
   Header nav layout + user profile icon
   =========================== */

/* Header bar: centered layout */
.pkp_head_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Logo/title block - centered */
.pkp_site_name_wrapper {
  flex: 0 0 auto;
  margin: 0 auto;
  text-align: center;
}

/* Nav/search/profile cluster - all on one row, centered */
.pkp_site_nav_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  background: transparent !important;
  width: 100%;
}

/* Inner nav container - keeps nav + search + user grouped and centered */
.aortic_nav_center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  width: 100%;
}

/* Primary nav + search in a single row */
.pkp_navigation_primary_row {
  display: flex;
  align-items: center;
}

/* Primary nav list in a row */
#navigationPrimary.pkp_navigation_primary {
  display: flex;
  flex-wrap: nowrap;
  /* keep Current | Archives | About on one line */
  align-items: center;
  gap: 1.25rem;
  /* slightly smaller gap to save space */
  margin: 0;
  padding: 0;
}


/* Space between nav items and Search - on same row */
.pkp_navigation_search_wrapper {
  margin-left: 1.5rem;
  display: inline-flex;
  align-items: center;
}

/* User wrapper next to Search - on same row */
.pkp_navigation_user_wrapper {
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Top-level user menu list - single icon trigger with dropdown */
.pkp_navigation_user_wrapper>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}

/* All list items hidden by default, stacked for dropdown */
.pkp_navigation_user_wrapper>ul>li {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0f172a;
  min-width: 10rem;
  z-index: 50;
}

/* First item is always visible as the icon trigger */
.pkp_navigation_user_wrapper>ul>li:first-child {
  display: block !important;
  position: relative !important;
  background: transparent !important;
  min-width: 36px !important;
  /* MATCH ICON WIDTH - KILL 10REM DEAD SPACE */
  width: 36px !important;
}

/* First item link becomes the circular profile icon trigger */
.pkp_navigation_user_wrapper>ul>li:first-child>a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  background-image: url('../img/user-icon.svg');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 120% 120% !important;
  /* Filled look */
  color: transparent;
  font-size: 0;
  text-indent: -9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

/* Hover effect on icon */
.pkp_navigation_user_wrapper>ul>li:first-child>a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Hide task count bubble inside the icon */
.pkp_navigation_user_wrapper .task_count {
  display: none;
}

/* Bridge gap between icon and dropdown to prevent flicker */
.pkp_navigation_user_wrapper>ul::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 36px;
  height: 12px;
  background: transparent;
  display: none;
}

.pkp_navigation_user_wrapper>ul:hover::after {
  display: block;
}

/* On hover of the ul, show ALL items as dropdown */
.pkp_navigation_user_wrapper>ul:hover>li {
  display: block;
}

/* Create a unified dropdown panel using the first dropdown item */
.pkp_navigation_user_wrapper>ul:hover>li:first-child {
  position: relative;
  background: transparent;
}

/* Position all items EXCEPT first as dropdown panel items */
.pkp_navigation_user_wrapper>ul:hover>li:not(:first-child) {
  position: absolute;
  right: 0;
  background: #0f172a;
  min-width: 10rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  padding: 0.5rem 0;
}

/* First non-icon item (Register = 2nd item) */
.pkp_navigation_user_wrapper>ul:hover>li:nth-child(2) {
  top: calc(100% + 8px);
  border-radius: 0.5rem 0.5rem 0 0;
  padding-bottom: 0;
}

/* Second non-icon item (Login = 3rd item) */
.pkp_navigation_user_wrapper>ul:hover>li:nth-child(3) {
  top: calc(100% + 8px + 2.25rem);
  border-radius: 0 0 0.5rem 0.5rem;
  padding-top: 0;
}

/* Style dropdown text links */
.pkp_navigation_user_wrapper>ul:hover>li:not(:first-child)>a {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: #e2f3ff !important;
  text-decoration: none !important;
  /* Kill Underlines */
  background: none;
  background-image: none;
  border: none;
  width: auto;
  height: auto;
  text-indent: 0;
  border-radius: 0;
}

.pkp_navigation_user_wrapper>ul:hover>li:not(:first-child)>a:hover {
  background: #1e293b;
}

/* ===========================
   JS-Generated User Menu (Register/Login dropdown)
   =========================== */

/* Wrapper li created by JS */
.pkp_user_menu_wrapper {
  position: relative;
  display: block !important;
}

/* Icon trigger (the profile circle) */
.pkp_user_icon_trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  background-image: url('../img/user-icon.svg');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 85% 85% !important;
  /* Filled look */
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: none;
}

.pkp_user_icon_trigger:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Dropdown ul created by JS */
.pkp_user_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 10rem;
  background: #0f172a;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 50;
}

/* Show dropdown on hover */
.pkp_user_menu_wrapper:hover .pkp_user_dropdown,
.pkp_user_menu_wrapper:focus-within .pkp_user_dropdown {
  display: block;
}

/* Dropdown items */
.pkp_user_dropdown li {
  margin: 0;
  padding: 0;
}

.pkp_user_dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: #e2f3ff !important;
  text-decoration: none !important;
  /* Kill Underlines */
}

.pkp_user_dropdown a:hover {
  background: #1e293b;
}

/* Nested dropdown menus (for logged-in user with dashboard/profile/logout) */
.pkp_navigation_user_wrapper li ul {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 12rem;
  background: #0f172a;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 50;
}

/* Show nested dropdown on hover / focus */
.pkp_navigation_user_wrapper li:hover>ul,
.pkp_navigation_user_wrapper li:focus-within>ul {
  display: block;
}

/* Items inside nested dropdown */
.pkp_navigation_user_wrapper li ul a {
  display: block;
  padding: 0.35rem 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: #e2f3ff !important;
  text-decoration: none !important;
  /* Kill Underlines */
}

.pkp_navigation_user_wrapper li ul a:hover {
  background: #1e293b;
}


/* ===========================
   Responsive tweaks
   =========================== */

@media (max-width: 900px) {
  .pkp_head_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .aortic-hero-title {
    font-size: 1.7rem;
  }

  .aortic-features {
    grid-template-columns: 1fr;
  }

  .aortic-programmes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .aortic-programmes-grid {
    grid-template-columns: 1fr;
  }
}

/* Visually hide screen-reader-only text (keep it accessible) */
.pkp_screen_reader {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* Skip links: hide off-screen until focused */
.cmp_skip_to_content a {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html {
  background: #e5e9f0;
  /* soft grey behind the pattern */
}


.pkp_structure_page {
  background: transparent;
}

.cmp_skip_to_content a:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: #004c6d;
  z-index: 1000;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Map page
   =========================== */

/* Map page: hide breadcrumbs + default page title */
.pkp_page_map .cmp_breadcrumbs,
.pkp_page_map .page_title,
.pkp_structure_main h1:first-child,
.aortic-page .page h1:first-child {
  display: none;
}

/* Map page layout */
.aortic-page-map .aortic-map-section {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem 3rem;
}

/* Map canvas + image */
.aortic-map-canvas {
  position: relative;
  max-width: 900px;
  margin: 1.5rem auto 0;
}

.aortic-map-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Bubbles positioned over countries */
.aortic-map-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #b35c00;
  /* dark orange text */
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);

  /* NEW: clickable */
  pointer-events: auto;
  cursor: pointer;
}

/* Results list under the map */
.aortic-map-results {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 1.75rem 1.75rem 2.25rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.aortic-map-results h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.aortic-map-results-country-label {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 1.25rem;
}

.aortic-map-results-placeholder {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
}

.aortic-map-results-empty {
  margin: 0;
  font-size: 0.95rem;
  color: #9ca3af;
  font-style: italic;
}

.aortic-map-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aortic-map-results-item {
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
}

.aortic-map-results-item:first-child {
  border-top: none;
}

.aortic-map-results-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
}

.aortic-map-results-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 0.25rem;
}

.aortic-map-results-link {
  font-size: 0.8rem;
  color: #b35c00;
  text-decoration: none;
}

.aortic-map-results-link:hover {
  text-decoration: underline;
}

/* ===========================
   Generic page card (login, register, profile, etc.)
   =========================== */

/* Standardize standard OJS page containers to be transparent/flat, 
   the .aortic-page div inside will provide the card look */
.pkp_page_login .pkp_structure_main,
.pkp_page_register .pkp_structure_main,
.pkp_page_user .pkp_structure_main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===========================
   Header Fixes - Single Color & Layout
   =========================== */

/* Force single header color - uses CSS variable */
.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper,
.pkp_structure_head .pkp_site_nav_menu,
.pkp_structure_head .pkp_navigation_primary_wrapper,
.pkp_structure_head .pkp_navigation_primary_row,
.pkp_structure_head .pkp_navigation_primary,
.pkp_structure_head ul,
.pkp_structure_head nav {
  background: var(--header-color) !important;
}

/* Base Card Styles for standard OJS pages - Applied to .aortic-page to match index style */
.aortic-page-register,
.aortic-page-login,
.pkp_page_user .aortic-page {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  /* Flush with red bar */
  padding: 1rem 2.5rem 0 !important;
  /* Bottom padding handled by buttons buffer */
  background: rgba(249, 250, 251, 0.98);
  border-radius: 24px 24px 0 0;
  /* Flat bottom to hit bar */
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  position: relative;
  z-index: 5;
}

/* Ensure the red bar follows the card immediately */
.aortic-page-register+.pkp_structure_footer_wrapper .aortic-body-end-accent,
.aortic-page-login+.pkp_structure_footer_wrapper .aortic-body-end-accent {
  margin-top: 0 !important;
}

/* Clean up standard OJS main container to allow our custom card logic */
.pkp_page_login .pkp_structure_main,
.pkp_page_register .pkp_structure_main,
.pkp_page_user .pkp_structure_main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pkp_site_nav_menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

/* Navigation wrapper inline */
.pkp_navigation_primary_wrapper {
  display: inline-flex !important;
  align-items: center !important;
}

/* Search wrapper inline next to nav */
.pkp_navigation_search_wrapper {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 1.5rem !important;
}

/* User profile wrapper inline next to search */
.pkp_navigation_user_wrapper {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 1rem !important;
}

/* ===========================
   Global Page Title Hero
   =========================== */

/* Ensure content cards snap to the top so hero touches edges */
.aortic-page,
.aortic-page-static,
.pkp_structure_main {
  padding-top: 0 !important;
}

/* Style the standard OJS page title as a hero block */
.page_title,
.pkp_structure_main h1:first-child,
.aortic-page .page h1:first-child {
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
  color: #ffffff !important;
  margin: 0 -1.5rem 2.5rem !important;
  padding: 3rem 2.5rem 2.5rem !important;
  border-radius: 24px 24px 0 0 !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left;
  display: block;
}

/* Breadcrumbs styled as "eyebrows" labels inside the hero */
.cmp_breadcrumbs {
  margin: 0 -1.5rem 0 !important;
  padding: 1.5rem 2.5rem 0.5rem !important;
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
  border-radius: 24px 24px 0 0 !important;
}

.cmp_breadcrumbs ol,
.cmp_breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.cmp_breadcrumbs li,
.cmp_breadcrumbs a,
.cmp_breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
}

.cmp_breadcrumbs .current,
.cmp_breadcrumbs li:last-child {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Snap title to breadcrumbs if both exist */
.cmp_breadcrumbs+.page_title,
.cmp_breadcrumbs+h1,
.cmp_breadcrumbs+.pkp_structure_main h1,
.cmp_breadcrumbs+.pkp_structure_main .page_title {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  padding-top: 0.5rem !important;
  margin-top: 0 !important;
}

/* Global Scroll Fix - ensure entire page is always scrollable */
html,
body {
  min-height: 100vh !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  display: block !important;
}

.pkp_structure_page,
.pkp_structure_content {
  height: auto !important;
  min-height: 1px !important;
}

.pkp_structure_footer_wrapper {
  display: block !important;
  clear: both !important;
  background-color: #004c6d !important;
  margin-top: 0 !important;
}

.aortic-body-end-accent {
  background: #d32f2f !important;
  height: 48px !important;
  margin: 1.5rem -1.5rem 0 !important;
  border-radius: 0 0 24px 24px;
  display: block !important;
  position: relative;
  z-index: 10;
}

/* ===========================
   Footer Redesign (Combined)
   =========================== */
/* ===========================
   Registration & Login Refinement
   =========================== */

/* Add excitement to the registration portal */
.aortic-page-register .pkp_structure_main::before {
  content: "Start your journey with AJCR. Join a global community dedicated to African-led cancer research and health equity.";
  display: block;
  background: #f8fafc;
  border-left: 6px solid #0fa092;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  margin-bottom: 3rem;
  font-size: 1.15rem;
  color: #1e293b;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Shared Red accent bar at the bottom of the main content area */
.aortic-body-end-accent {
  background: #d32f2f !important;
  height: 48px !important;
  margin: 0 !important;
  /* No gaps */
  width: 100% !important;
  display: block !important;
  position: relative;
  z-index: 10;
  border-radius: 0 !important;
}

/* Ensure the structural content has no bottom margin pushing the bar away */
.pkp_structure_content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Modernize OJS Forms (.cmp_form) */
.aortic-page-register fieldset,
.aortic-page-login fieldset,
.cmp_form fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 2.5rem 0 !important;
}

.aortic-page-register legend,
.aortic-page-login legend,
.cmp_form legend {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0fa092 !important;
  display: block !important;
  width: 100% !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-bottom: 1rem !important;
  float: none !important;
  text-transform: none !important;
}

/* Form Layout & Row Spacing */
.cmp_form .section,
.cmp_form .fields {
  margin-bottom: 1.75rem !important;
}

.cmp_form label {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  color: #475569 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.65rem !important;
  display: block !important;
}

/* Premium Inputs - be extremely aggressive with selectors */
.cmp_form input[type="text"],
.cmp_form input[type="password"],
.cmp_form input[type="email"],
.cmp_form select,
.cmp_form textarea {
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  color: #1e293b !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
  border-color: #0fa092 !important;
  box-shadow: 0 0 0 4px rgba(15, 160, 146, 0.1) !important;
  outline: none !important;
  background: #ffffff !important;
}

/* Select arrows fix */
.cmp_form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.2rem !important;
  padding-right: 3rem !important;
}

/* Checkboxes & Radios - Improved Spacing */
.cmp_form .optin,
.cmp_form .checkbox {
  margin-bottom: 1rem !important;
}

.cmp_form input[type="checkbox"],
.cmp_form input[type="radio"] {
  width: 20px !important;
  height: 20px !important;
  accent-color: #0fa092 !important;
  cursor: pointer !important;
  margin-right: 0.75rem !important;
  /* Slightly more gap */
  vertical-align: middle !important;
}

/* Complex Reordering: Interests above ALL checkboxes */
.cmp_form.register {
  display: flex !important;
  flex-direction: column !important;
}

/* Break open the fieldsets so we can reorder their children relative to each other */
.cmp_form.register fieldset {
  display: contents !important;
}

/* Complex Reordering: Interests above ALL checkboxes */
.cmp_form.register {
  display: flex !important;
  flex-direction: column !important;
}

/* Break open ALL containers so we can reorder their children form-wide */
.cmp_form.register fieldset,
.cmp_form.register .section,
.cmp_form.register .fields {
  display: contents !important;
}

/* Order the children */
.cmp_form.register>*:not(.reviewer_interests):not(#reviewerInterests):not(.optin):not(.buttons) {
  order: 1 !important;
  /* Standard fields top */
}

/* Specific targeting for standard field wrappers that might still be direct flex items */
.cmp_form.register .section,
.cmp_form.register .fields {
  order: 1 !important;
}

/* Target the interests field to be #2 - ABOVE checkboxes */
.cmp_form.register .reviewer_interests,
.cmp_form.register #reviewerInterests {
  order: 10 !important;
  margin-bottom: 2rem !important;
  display: block !important;
  width: 100% !important;
}

/* Target ALL checkboxes (Consent + Reviewer Opt-in) to be #3 */
.cmp_form.register .optin,
.cmp_form.register .checkbox,
.cmp_form.register label:has(input[type="checkbox"]) {
  order: 20 !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
}

/* Buttons always last with a large buffer below them (inside the card) */
.cmp_form.register .buttons,
.aortic-page-login .buttons {
  order: 30 !important;
  margin-top: 3rem !important;
  padding-bottom: 8rem !important;
  /* This creates the buffer inside the card */
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

/* Reviewer Opt-in fix for spacing */
.cmp_form.register .optin-reviewer {
  margin-top: 0 !important;
}

/* Buttons Transformation */
.cmp_form button,
.cmp_form .buttons button,
.cmp_form button[type="submit"] {
  background: #d32f2f !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  padding: 1rem 3.5rem !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3) !important;
  margin-top: 1.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cmp_form button:hover {
  background: #b71c1c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4) !important;
}

/* Secondary links (Login instead / Forgot password) */
.cmp_form .buttons a,
.cmp_form a[href*="login"],
.cmp_form a[href*="register"] {
  color: #0fa092 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-left: 1rem !important;
  text-decoration: underline !important;
}

.cmp_form a:hover {
  color: #0d9488 !important;
}

@media (max-width: 850px) {
  .aortic-combined-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem !important;
  }

  .aortic-footer-v-sep {
    width: 60% !important;
    height: 6px !important;
    margin: 0 auto !important;
    flex-shrink: 0;
  }

  .aortic-footer-col {
    min-width: 100% !important;
  }
}

/* =========================================
   ISSUE CARD PLACEHOLDER STYLES (from archive.html)
   ========================================= */
.issue-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  /* Ensure consistent height */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.issue-card:hover {
  transform: translateY(-10px);
  border-color: #0fa092;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.issue-cover {
  height: 240px;
  background: #1e293b;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.issue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: blur(2px);
}

.cover-overlay {
  position: absolute;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.cover-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.cover-vol {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.issue-details {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.issue-year {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0fa092;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.issue-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.issue-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.issue-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* Ensure buttons inside issue-card behave correctly */
.issue-card .btn-action {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
  line-height: 1.2;
}

.issue-card .btn-view {
  background: #1e293b;
  color: #fff;
}

.issue-card .btn-view:hover {
  background: #0f172a;
}

.issue-card .btn-pdf {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.issue-card .btn-pdf:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Swiper Slide Sizing Fix */
.aortic-issue-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.aortic-issue-swiper .issue-card {
  width: 100%;
}

/* =========================================
   WHY SUBMIT SECTION (Replaces Flip Cards)
   ========================================= */
.aortic-submit-benefits {
  padding: 2rem 0;
}

.submit-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: #0fa092;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card.highlight {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #0fa092;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.benefit-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   COMPACT MEMBERSHIP & DATA CTA
   ========================================= */
.aortic-cta-compact {
  background: #1e293b;
  border-radius: 24px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

@media (max-width: 900px) {
  .aortic-cta-compact {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
}

.aortic-cta-compact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
}

.cta-text-side {
  flex: 2;
  z-index: 2;
}

.cta-data-side {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 280px;
  text-align: center;
  z-index: 2;
}

.aortic-cta-compact h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.aortic-cta-compact p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Data Tracker Styles */
.tracker-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #0fa092;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tracker-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  display: block;
}

.btn-cta-primary {
  background: #d32f2f;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-cta-primary:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* =========================================
   FLIP CARDS (Programmes Section)
   ========================================= */
.aortic-programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

.flip-card {
  background-color: transparent;
  height: 320px;
  border-radius: 24px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 24px;
  box-sizing: border-box;
}

.flip-card-front {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.flip-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.flip-card-front h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.flip-card-front p {
  color: #64748b;
  font-size: 1rem;
}

.flip-card-back {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  transform: rotateY(180deg);
  border: 1px solid #1e293b;
}

.flip-card-back h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0fa092;
}

.flip-card-back p {
  color: #e2e8f0;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-flip-action {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0fa092;
  color: white;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-flip-action:hover {
  background: #0d9488;
  transform: scale(1.05);
}

/* =========================================
   MEMBERSHIP CTA BANNER
   ========================================= */
.aortic-cta-membership {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.aortic-cta-membership::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.aortic-cta-membership h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.aortic-cta-membership p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.btn-cta-white {
  background: white;
  color: #d32f2f;
  padding: 1.25rem 3rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: #f8fafc;
}

/* Updated Read More Link Style */
.aortic-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0fa092;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.aortic-read-more-btn:hover {
  color: #0d9488;
  gap: 0.75rem;
  /* Slight movement animation */
}

.aortic-read-more-btn svg {
  transition: transform 0.2s;
}

/* =========================================
   SCIENTIFIC ACCORDION (Why Submit)
   ========================================= */
.aortic-scientific-accordion {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  border-top: 1px solid #e2e8f0;
}

.scientific-details {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.scientific-details[open] {
  background: #f8fafc;
}

.scientific-summary {
  padding: 1.5rem 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #1e293b;
  font-weight: 500;
}

.scientific-summary::-webkit-details-marker {
  display: none;
}

.scientific-summary::after {
  content: "+";
  font-size: 1.5rem;
  color: #94a3b8;
  font-weight: 300;
  transition: transform 0.3s;
}

.scientific-details[open] .scientific-summary::after {
  transform: rotate(45deg);
  color: #d32f2f;
}

.scientific-content {
  padding: 0 1rem 1.5rem 1rem;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 800px;
}

/* =========================================
   AUTHOR SPOTLIGHT (Dynamic)
   ========================================= */
.aortic-author-spotlight {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  margin: 4rem 0;
  display: flex;
  align-items: stretch;
  min-height: 350px;
}

@media (max-width: 900px) {
  .aortic-author-spotlight {
    flex-direction: column;
  }
}

.spotlight-image-side {
  flex: 1;
  background: #1e293b;
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.spotlight-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.spotlight-text-side {
  flex: 1.5;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-label {
  display: inline-block;
  background: #d32f2f;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.spotlight-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.spotlight-affil {
  font-size: 1rem;
  color: #0fa092;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.spotlight-bio {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-spotlight-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid #d32f2f;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: all 0.2s;
}

.btn-spotlight-link:hover {
  color: #d32f2f;
}

/* =========================================
   COLLECTIONS GRID (Balanced)
   ========================================= */
/* Ensure 4 items per row on desktop for perfect balance */
.aortic-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

@media (max-width: 1100px) {
  .aortic-collections-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid */
  }
}

@media (max-width: 600px) {
  .aortic-collections-grid {
    grid-template-columns: 1fr;
    /* Stacked */
  }
}

.collection-card {
  background: #f8fafc;
  border: 3px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.collection-card:hover {
  background: #ffffff;
  border-color: #0fa092;
  transform: translateY(-3px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.collection-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.collection-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* =========================================
   HOMEPAGE REFACTOR (Merge & Condense)
   ========================================= */

/* 1. New Split Container */
.aortic-content-merge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .aortic-content-merge {
    grid-template-columns: 1fr;
  }
}

/* 2. Jazzed-up Why Publish (Visual List) */
.why-publish-container {
  padding-right: 1rem;
}

.why-publish-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.why-publish-item:hover {
  transform: translateX(10px);
  border-color: #0fa092;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  background: #f0fdfa;
  /* Light teal tint */
}

.wp-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #e0f2f1;
  color: #0fa092;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.why-publish-item:hover .wp-icon {
  background: #0fa092;
  color: white;
  transform: rotate(5deg) scale(1.1);
}

.wp-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.wp-content p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* 3. Modified Spotlight -> Profile Card Style */
.aortic-content-merge .aortic-author-spotlight {
  margin: 0;
  height: 100%;
  display: block;
  /* reset flex? or just let it be a block container for the card */
  flex-direction: column;
  /* Force column in case JS makes it flex */
  box-shadow: none;
  /* Card has its own shadow */
  background: transparent;
}

/* Reusing the "Profile Card" aesthetic from Welcome page */
.profile-card {
  position: relative;
  overflow: hidden;
  background: #1c3b57;
  /* Fallback dark teal */
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  box-sizing: border-box;
  color: #fff;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/background4.png') center/cover no-repeat;
  filter: blur(0px) brightness(0.5);
  transform: scale(1.1);
  /* Prevent blurry edges */
  z-index: 0;
}

/* Ensure content stays above background */
.profile-card>* {
  position: relative;
  z-index: 1;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.profile-image-container {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  /* Subtle aesthetic touch per original */
  transition: filter 0.3s ease;
}

.profile-card:hover .profile-image-container img {
  filter: grayscale(0%);
}

.profile-role {
  font-size: 0.85rem;
  color: #d32f2f;
  /* Red for "Spotlight" label equivalent */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.profile-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  color: #ffffff;
  /* White name */
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-affil {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  /* Slightly transparent white for subheader */
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

.profile-bio {
  font-size: 1rem;
  color: #fbb736;
  /* Gold bio */
  line-height: 1.6;
  margin: 0 auto 2rem auto;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
  font-weight: 400;
}

.profile-link {
  display: inline-block;
  background: #0fa092;
  /* Teal background */
  color: #ffffff !important;
  /* White text */
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(15, 160, 146, 0.3);
}

.profile-link:hover {
  background: #0d8a7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 160, 146, 0.4);
  color: #ffffff !important;
}

/* 4. Compact Browse By Collections */
.aortic-collections-grid {
  margin-top: 2rem;
  /* Reduced from 3rem */
  margin-bottom: 3rem;
  /* Reduced from 5rem */
}

.collection-card {
  padding: 1.25rem;
  /* Slightly more compact */
}

/* ========================================
   CRITICAL HEADER OVERRIDES - MUST BE LAST
   ======================================== */

/* Header background - ALL elements - uses CSS variable */
html body .pkp_structure_head,
html body header.pkp_structure_head,
html .pkp_structure_head,
.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_nav_menu,
nav.pkp_site_nav_menu,
html body .pkp_site_nav_menu,
html body nav.pkp_site_nav_menu,
.aortic_nav_center,
.pkp_navigation_primary_wrapper,
.pkp_navigation_search_wrapper,
.pkp_navigation_user_wrapper,
.pkp_navigation_primary,
.pkp_nav_list,
ul.pkp_navigation_primary,
ul.pkp_nav_list,
.pkp_navigation_user,
ul.pkp_navigation_user {
  background: var(--header-color) !important;
  background-color: var(--header-color) !important;
}

/* HUGE site title */
html body .pkp_site_name .is_text,
html body .pkp_site_name a,
.pkp_site_name .is_text,
.pkp_site_name a,
.pkp_site_name>a,
.journal-title,
.pkp_site_name .journal-title {
  font-size: 4rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}