/* ============================================================
   JOJO — Journal of Joints & Orthopaedics
   Subdomain Stylesheet  |  jojo.cepienta.com
   ============================================================ */

/* --- Variables (inherits Cepienta brand palette) --- */
:root {
  --primary:        #0d2b4e;
  --primary-dark:   #081c33;
  --primary-mid:    #164270;
  --accent:         #c9981f;
  --accent-light:   #e8b92f;
  --teal:           #1a7a6e;   /* JOJO identity accent */
  --teal-light:     #23a090;
  --blue-bright:    #1a6fb5;
  --blue-light:     #e8f1fa;
  --text:           #2c2c2c;
  --text-muted:     #6b7280;
  --white:          #ffffff;
  --off-white:      #f7f8fc;
  --border:         #dde3ed;
  --shadow:         0 4px 24px rgba(13,43,78,0.10);
  --shadow-lg:      0 8px 40px rgba(13,43,78,0.16);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 13px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); }

.text-accent   { color: var(--accent) !important; }
.text-primary  { color: var(--primary) !important; }
.text-white    { color: var(--white) !important; }
.text-teal     { color: var(--teal) !important; }
.text-center   { text-align: center; }
.text-muted    { color: var(--text-muted) !important; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
  text-align: center;
}
.announcement-bar a {
  color: var(--accent-light);
  text-decoration: underline;
  margin-left: 4px;
}
.announcement-bar a:hover { color: var(--white); }

/* ============================================================
   ACCREDITATION / INDEX RIBBON
   ============================================================ */
.index-ribbon {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.index-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.index-ribbon-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
  white-space: nowrap;
}
.index-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.index-badge i { color: var(--teal); font-size: 0.65rem; }
.index-badge.pending { color: var(--text-muted); border-style: dashed; }
.index-badge.pending i { color: var(--accent); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background-color: var(--white);
  background-image:
    linear-gradient(to right, var(--white) 35%, transparent 65%),
    url('/assets/images/bg1.png');
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right center;
  background-size: 100% 100%, auto 100%;
  box-shadow: 0 2px 12px rgba(13,43,78,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Brand / Journal Name Row */
.header-brand-row {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Journal Logo / Name */
.journal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.journal-cover-thumb {
  width: 44px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.journal-name-block { line-height: 1.2; }
.journal-acronym {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  letter-spacing: -2pt;
}
.jn-line1 {
  display: block;
  font-size: 0.45em;
  font-weight: 600;
  color: #000;
  letter-spacing: 0em;
  text-transform: none;
  line-height: 1.0;
}
.jn-line2,
.jn-line3 {
  display: block;
  color: #0e3578;
  letter-spacing: -.01em;
  line-height: 1.0;
  font-size: .8em;
}
.journal-acronym sup {
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
}
.journal-full-name {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}
.journal-publisher {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Header right: Search + Auth */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
}
.search-form input {
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-size: 0.85rem;
  color: var(--text);
  width: 200px;
  font-family: inherit;
  outline: none;
}
.search-form button {
  background: var(--primary);
  color: var(--white);
  padding: 7px 12px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.search-form button:hover { background: var(--primary-mid); }
.btn-login {
  background: var(--primary);
  color: var(--white);
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.btn-login:hover { background: var(--primary-mid); }
.btn-register {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-register:hover { background: var(--primary); color: var(--white); }

/* Publisher (Cepienta) logo in header */
.publisher-logo-link {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  padding-left: 16px;
  margin-left: 4px;
  opacity: 0.9;
  transition: var(--transition);
}
.publisher-logo-link:hover { opacity: 1; }
.publisher-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  background: var(--primary);
  padding: 4px 0px
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-nav {
  display: flex;
  align-items: stretch;
}
.navbar-cepienta-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 20px;
  opacity: 0.82;
  transition: var(--transition);
}
.navbar-cepienta-logo:hover { opacity: 1; }
.navbar-cepienta-logo img {
  height: 46px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--accent-light); }
.nav-link .arrow { font-size: 0.65rem; transition: var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 999;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--primary);
  border-left-color: var(--accent);
}
.dropdown-menu a i { color: var(--accent); width: 16px; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ============================================================
   JOURNAL OVERVIEW HERO
   ============================================================ */
.journal-hero {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.journal-hero-grid {
  display: grid;
  grid-template-columns: 300px 1fr 280px;
  gap: 0 40px;
  align-items: stretch;
  min-height: 500px;
}

/* Cover Image */
.journal-cover {
  flex-shrink: 0;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.journal-cover-img {
  width: 180px;
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 50%, var(--teal) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 16px;
}
.journal-cover-img::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cover-vol-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.cover-journal-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 6px;
}
.cover-subtitle {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cover-year {
  font-size: 0.72rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-top: auto;
  padding-top: 16px;
}
.current-issue-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 10px;
}
.journal-cover-real {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.journal-cover .current-issue-badge {
  margin-top: 10px;
  display: inline-block;
  text-align: center;
}

/* Journal Main Info */
.journal-info-main {
  padding: 40px 0;
}
.journal-info-main h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 10px;
}
.journal-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.journal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.journal-badge.oa  { background: #e6f7f5; color: var(--teal); border: 1px solid #b2e8e3; }
.journal-badge.pr  { background: #e8f1fa; color: var(--blue-bright); border: 1px solid #b3d4f0; }
.journal-badge.cope { background: #fef8e8; color: var(--accent); border: 1px solid #f5dfa0; }
.journal-badge.active { background: #edfaf5; color: #1a7a4e; border: 1px solid #a8e6c3; }
.journal-badge i { font-size: 0.65rem; }

.journal-overview-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.journal-issn-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.issn-item {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.issn-item strong { color: var(--primary); }

.journal-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,152,31,0.35);
  color: var(--white);
}
.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
}

/* Journal Stats Sidebar */
.journal-stats-sidebar {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  align-self: center;
  margin: 40px 0;
}
.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.stat-icon.gold { background: #fef8e8; color: var(--accent); }
.stat-icon.teal { background: #e6f7f5; color: var(--teal); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); line-height: 1.2; }
.stat-value { font-size: 0.88rem; font-weight: 700; color: var(--primary); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--primary);
  padding: 24px 0;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.strip-stat {
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.strip-stat:last-child { border-right: none; }
.strip-stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-light);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 4px;
}
.strip-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   MAIN CONTENT + SIDEBAR LAYOUT
   ============================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ============================================================
   TABS (Articles section)
   ============================================================ */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  gap: 0;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-card {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.article-card:last-child { border-bottom: none; }
.article-type-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.type-original { background: #e8f1fa; color: var(--blue-bright); }
.type-review    { background: #fef8e8; color: var(--accent); }
.type-case      { background: #e6f7f5; color: var(--teal); }
.type-editorial { background: #f3e8fa; color: #7c3aed; }

/* ── Article Types Grid (What We Publish) ─────────────────── */
.article-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.article-type-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.article-type-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.article-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}
.article-type-icon.blue { background: var(--blue-light); color: var(--blue-bright); }
.article-type-icon.gold { background: #fef8e8; color: var(--accent); }
.article-type-icon.teal { background: #e6f7f5; color: var(--teal); }
.article-type-icon.purp { background: #f3e8fa; color: #7c3aed; }
.article-type-limit {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.article-types-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.article-card-body { flex: 1; }
.article-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.article-title a:hover { color: var(--blue-bright); }
.article-authors {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.article-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-meta span i { color: var(--accent); }
.article-thumb {
  width: 90px;
  height: 70px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-light), #c8dff5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 1.4rem;
  overflow: hidden;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-top: 16px;
  transition: var(--transition);
}
.view-all-link:hover { color: var(--primary); gap: 10px; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-widget ul li a:hover { color: var(--blue-bright); padding-left: 4px; }
.sidebar-widget ul li a i { color: var(--accent); width: 14px; }

/* Submit widget */
.submit-widget {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border: none;
  color: var(--white);
  text-align: center;
}
.submit-widget .widget-title { color: var(--accent-light); border-color: var(--accent); }
.submit-widget p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.submit-widget .btn-primary { width: 100%; justify-content: center; }

/* Alert widget */
.alert-widget {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border: none;
  color: var(--white);
}
.alert-widget .widget-title { color: var(--white); border-color: rgba(255,255,255,0.5); }
.alert-form { display: flex; flex-direction: column; gap: 8px; }
.alert-form input {
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: var(--text);
}
.alert-form button {
  background: var(--accent);
  color: var(--white);
  padding: 9px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.alert-form button:hover { background: var(--accent-light); }

/* ============================================================
   EDITOR SECTION
   ============================================================ */
.editor-section {
  padding: 48px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.editor-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.editor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.editor-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.editor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.editor-affil {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.editor-message {
  font-size: 0.9rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-top: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.editor-section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.orca-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.orca-link:hover { text-decoration: underline; }

/* ============================================================
   JOURNAL UPDATES
   ============================================================ */
.update-card {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.update-card:last-child { border-bottom: none; }
.update-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 1rem;
  flex-shrink: 0;
}
.update-icon.gold { background: #fef8e8; color: var(--accent); }
.update-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.update-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.update-title a:hover { color: var(--blue-bright); }

/* ============================================================
   SCOPE CHIPS
   ============================================================ */
.scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.scope-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-light);
  color: var(--blue-bright);
  border: 1px solid #c2dcf5;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 500;
}
.scope-chip i { font-size: 0.68rem; color: var(--accent); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--teal) 100%);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(201,152,31,0.08);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,0.75); margin-bottom: 24px; font-size: 0.95rem; position: relative; z-index: 1; }
.cta-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 10px 22px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
  background: rgba(0,0,0,0.15);
}
.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-top-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-index-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-index-badge {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.footer-main {
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand-block {}
.footer-journal-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.footer-journal-full {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-issn {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 5px;
}
.footer-issn strong { color: rgba(255,255,255,0.65); }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-links li {
  padding: 5px 0;
}
.footer-links li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a:hover { color: var(--white); padding-left: 4px; }
.footer-links li a i { font-size: 0.65rem; color: var(--accent); }

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-inner p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }
.publisher-link {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 5px;
}
.publisher-link a { color: var(--accent-light); }
.publisher-link a:hover { color: var(--accent-light); text-decoration: underline; }

/* ============================================================
   SECTION LABELS & DIVIDERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-header {
  margin-bottom: 32px;
}
.section-header h2 { margin-bottom: 10px; }
.divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 10px 0;
}

/* ============================================================
   HIGHLIGHTS / NEWS CARDS
   ============================================================ */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.highlight-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.highlight-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
}
.highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.highlight-card:hover .highlight-img img {
  transform: scale(1.04);
}
.highlight-body { padding: 16px; }
.highlight-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.highlight-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.highlight-title a:hover { color: var(--blue-bright); }
.highlight-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .journal-hero-grid { grid-template-columns: 240px 1fr; min-height: 420px; }
  .journal-stats-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sidebar-title { grid-column: 1 / -1; }
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .journal-hero-grid { grid-template-columns: 1fr; }
  .journal-cover { display: none; }
  .header-right { display: none; }
  .publisher-logo-link { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-nav {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 8px 0;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .navbar-nav.open { display: flex; }
  .navbar { position: relative; }
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    background: rgba(0,0,0,0.2);
    padding: 4px 0;
    display: none;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,0.7); padding: 8px 32px; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: var(--white); border-left-color: var(--accent); }
  .footer-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .editor-card { flex-direction: column; }
  .editor-section-card { padding: 22px 18px; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .article-types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .tab-bar { flex-wrap: wrap; }
  .tab-btn { flex: 1; text-align: center; font-size: 0.75rem; padding: 8px 10px; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
  .journal-meta-row { gap: 6px; }
  .journal-action-row { flex-direction: column; }
  .journal-action-row .btn { justify-content: center; }
  .article-types-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BUSINESS OPPORTUNITIES PAGE
   ============================================================ */

/* Hero */
.biz-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, #164270 75%, var(--teal) 100%);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.biz-hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.biz-hero-circle-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.biz-hero-circle-2 { width: 260px; height: 260px; bottom: -80px; left: 10%; }

/* Right-side blending image — mask-image for seamless all-edge fade */
.biz-hero-img-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  z-index: 1;
  pointer-events: none;
  /* Single radial mask: opaque at right-centre, transparent on every edge */
  -webkit-mask-image: radial-gradient(
    ellipse 78% 85% at 72% 50%,
    black 15%, rgba(0,0,0,0.7) 40%, transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 78% 85% at 72% 50%,
    black 15%, rgba(0,0,0,0.7) 40%, transparent 72%
  );
}
.biz-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.55;
  mix-blend-mode: luminosity;
  filter: brightness(1.1) contrast(1.05) saturate(0.85);
}

.biz-hero-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.biz-hero-anchor {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.biz-hero-anchor:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.biz-hero-anchor i { font-size: 0.75rem; }

/* Pillar cards */
.biz-pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.biz-pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(201,152,31,0.35);
}
.biz-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
}

/* Advertisement section */
.biz-ad-visual {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.biz-placement-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.biz-placement-row:last-of-type { border-bottom: none; }
.biz-placement-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Ad banner */
.biz-ad-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid) 60%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.biz-ad-banner-deco {
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.biz-ad-banner-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-light);
  flex-shrink: 0;
}

/* Permissions visual */
.biz-perm-visual {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.biz-perm-icon-hero {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.biz-perm-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.biz-perm-icon-hero:hover .biz-perm-real-img {
  transform: scale(1.04);
}
.biz-perm-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(8,28,51,0.82);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Contact section */
.biz-contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--teal) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.biz-contact-deco-1 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -150px; right: -100px;
  pointer-events: none;
}
.biz-contact-deco-2 {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(201,152,31,0.06);
  bottom: -100px; left: 5%;
  pointer-events: none;
}

/* Responsive */
.biz-section-grid { }
@media (max-width: 1024px) {
  .biz-section-grid { grid-template-columns: 1fr !important; }
  .biz-perm-icon-hero { height: 120px; }
}
@media (max-width: 768px) {
  .biz-hero { padding: 44px 0 36px; }
  .biz-hero-nav { gap: 6px; }
  .biz-hero-anchor { font-size: 0.75rem; padding: 6px 12px; }
  .biz-ad-banner { padding: 22px 20px; }
  .biz-hero-img-wrap { display: none; }
}
@media (max-width: 480px) {
  #contact .container > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .biz-pillar-card { padding: 18px 14px; }
}

/* ── Utility ── */
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.bg-off-white { background: var(--off-white); }

/* ============================================================
   PAGE HERO (shared by Editorial pages, etc.)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--teal) 100%);
  padding: 56px 0 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.page-hero-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
  display: block;
}
.page-hero-title {
  /* font-family: 'Playfair Display', 'Georgia', serif; */
  font-family: 'imes New Roman', 'Georgia', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.page-hero-sub {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 0;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero-breadcrumb a:hover { color: var(--accent-light); }

/* ============================================================
   EDITORIAL BOARD PAGE
   ============================================================ */

/* EiC Featured Card */
.eic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.eic-top-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.eic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--teal));
}
.eic-photo {
  width: 190px;
  height: 240px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.eic-photo-placeholder {
  width: 190px;
  height: 240px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  color: var(--white);
  font-size: 4rem;
}
.eic-info { flex: 1; }
.eic-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.eic-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
  line-height: 1.2;
}
.eic-creds {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.eic-title {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}
.eic-inst {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.eic-specialty {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.eic-message {
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.85;
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Editor-in-Chief Full Message (inside eic-card) */
.eic-message-full {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.eic-message-full-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}
.eic-message-full-label i {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}
.eic-message-full p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1em;
}
.eic-message-full p:last-child { margin-bottom: 0; }
.eic-message-closing {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.eic-message-closing p {
  margin-bottom: 0.25em;
  font-size: 0.91rem;
  color: var(--text-muted);
}
.eic-message-closing p strong {
  color: var(--primary);
  font-weight: 700;
}

/* Board Section Headers */
.board-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}
.board-section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.board-section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Member Grids */
.members-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.members-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.members-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Member Card */
.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}
.member-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(201,152,31,0.45);
}
.member-photo-wrap {
  width: 100%;
  height: 320px;
  flex-shrink: 0;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--border);
  background: #eef3f8;
}
.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.member-card:hover .member-photo-wrap img { transform: scale(1.04); }
.member-photo-placeholder {
  width: 100%;
  height: 320px;
  flex-shrink: 0;
  border-radius: 0;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-mid), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 4rem;
}
.member-card-body {
  padding: 16px 14px 18px;
  flex: 1 1 auto;
  overflow: hidden;
}
.member-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
  line-height: 1.3;
}
.member-creds {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.member-role-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.role-deputy   { background: #e8f1fa; color: var(--blue-bright); }
.role-section  { background: #fef8e8; color: var(--accent); }
.role-co       { background: #e6f7f5; color: var(--teal); }
.role-emeritus { background: #f3e8fa; color: #7c3aed; }
.role-board    { background: var(--off-white); color: var(--text-muted); border: 1px solid var(--border); }
.member-title {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 3px;
}
.member-inst {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.member-country {
  font-size: 0.7rem;
  color: var(--teal);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ============================================================
   EDITORIAL POLICY PAGE
   ============================================================ */
.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.policy-card:hover { box-shadow: var(--shadow); }
.policy-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.policy-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.policy-icon.blue  { background: var(--blue-light); color: var(--blue-bright); }
.policy-icon.gold  { background: #fef8e8; color: var(--accent); }
.policy-icon.teal  { background: #e6f7f5; color: var(--teal); }
.policy-icon.purp  { background: #f3e8fa; color: #7c3aed; }
.policy-icon.green { background: #edfaf5; color: #1a7a4e; }
.policy-card-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}
.policy-card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.policy-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 14px;
}
.policy-checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.policy-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}
.policy-checklist li i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.policy-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.policy-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.policy-step:last-child { border-bottom: none; }
.policy-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.policy-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}
.policy-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.policy-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.decision-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.decision-chip i { font-size: 1.1rem; }
.decision-chip.accept { border-color: #b2e8e3; background: #e6f7f5; color: var(--teal); }
.decision-chip.minor  { border-color: #b3d4f0; background: #e8f1fa; color: var(--blue-bright); }
.decision-chip.major  { border-color: #f5dfa0; background: #fef8e8; color: var(--accent); }
.decision-chip.reject { border-color: #f5c6c6; background: #fef0f0; color: #c0392b; }
.reporting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.reporting-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reporting-chip i { color: var(--accent); }

@media (max-width: 1024px) {
  .members-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .members-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .policy-check-grid { grid-template-columns: 1fr; }
  .policy-decision-grid { grid-template-columns: repeat(2, 1fr); }
  .reporting-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar-cepienta-logo { display: none; }
  .eic-card { padding: 24px 20px; }
  .eic-card::before { width: 100%; height: 5px; top: 0; left: 0; }
  .eic-top-row { flex-direction: column; align-items: center; text-align: center; }
  .eic-specialty { justify-content: center; }
  .eic-message-full { padding-top: 20px; }
  .eic-message-full-label { justify-content: center; }
  .members-grid-2 { grid-template-columns: 1fr 1fr; }
  .policy-card { padding: 20px; }
  .reporting-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .members-grid-2,
  .members-grid-3,
  .members-grid-4 { grid-template-columns: 1fr; }
  .policy-decision-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── Contact Info Cards ── */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contact-info-card--primary {
  border-color: var(--primary-mid);
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: var(--white);
}
.contact-info-card--primary .contact-card-title { color: var(--white); }
.contact-info-card--primary .contact-card-desc  { color: rgba(255,255,255,0.82); }
.contact-info-card--primary .contact-card-email { color: var(--accent-light); }
.contact-info-card--primary .contact-card-email:hover { color: var(--white); }
.contact-info-card--primary .contact-card-tags span {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
}
.contact-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.contact-card-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue-bright);
  word-break: break-all;
  transition: var(--transition);
}
.contact-card-email:hover { color: var(--primary); text-decoration: underline; }
.contact-card-email i { font-size: 0.78rem; flex-shrink: 0; }
.contact-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.contact-card-tags span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  color: var(--text-muted);
}

/* ── Form Layout ── */
.contact-form-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Sidebar ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-sidebar-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-sidebar-icon {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 2px;
}
.contact-sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.contact-sidebar-val {
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}
.contact-sidebar-val a { color: var(--blue-bright); font-weight: 600; }
.contact-sidebar-val a:hover { text-decoration: underline; }
.contact-sidebar-note {
  background: #fef8e8;
  border: 1px solid #f5dfa0;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-sidebar-note a { color: var(--blue-bright); font-weight: 600; }

/* ── Form Wrap ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px 36px;
  box-shadow: var(--shadow);
}
.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ── Form Fields ── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-child { margin-bottom: 0; }
.form-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-required { color: #c0392b; font-weight: 700; }
.form-optional { color: var(--text-muted); font-size: 0.75rem; font-weight: 400; }
.form-control {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--blue-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,111,181,0.12);
}
.form-group--error .form-control {
  border-color: #e74c3c;
  background: #fff8f8;
}
.form-group--error .form-control:focus {
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error-msg {
  font-size: 0.78rem;
  color: #c0392b;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── CAPTCHA ── */
.captcha-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.captcha-question {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}
.captcha-question i { color: var(--accent-light); font-size: 0.9rem; }
.captcha-question strong { color: var(--accent-light); font-size: 1.1rem; }
.captcha-input {
  max-width: 120px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ── Form Footer Row ── */
.form-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 200px;
}
.contact-submit-btn {
  padding: 11px 28px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Success / Error boxes ── */
.contact-success-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #e6f7f3;
  border: 1px solid #a8ddc8;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.contact-success-icon {
  font-size: 1.6rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-success-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}
.contact-success-body {
  font-size: 0.84rem;
  color: #2a6652;
  line-height: 1.65;
}
.contact-error-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.84rem;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-form-layout { grid-template-columns: 1fr; }
  .contact-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 18px 26px; }
  .captcha-wrap { flex-direction: column; align-items: flex-start; }
  .captcha-input { max-width: 100%; }
  .form-footer-row { flex-direction: column; align-items: stretch; }
  .contact-submit-btn { width: 100%; text-align: center; justify-content: center; }
  .contact-sidebar { grid-template-columns: 1fr; }
}
