/* ==========================================================================
   INTERNATIONAL PROCEEDINGS — ACADEMIC CONFERENCE PLATFORM
   Classical European Academic Design System (OJS Standard)
   Palette: Deep Navy (#0A1E30), Cream (#F3EBDF), Gold Accent (#D5A34D)
   Typography: Baskervville (Headings & Brand) + Inter (UI, Menu & Body)
   ========================================================================== */

:root,
[data-theme="light"],
[data-theme="dark"] {
  /* Core Palette from Mockup Specification */
  --color-navy-deep: #0A1E30;
  --color-navy-mid: #102A42;
  --color-navy-light: #183B59;
  --color-cream: #F3EBDF;
  --color-cream-light: #FAF6F0;
  --color-cream-dark: #E6DBC8;
  --color-gold: #D5A34D;
  --color-gold-dark: #8C6218;
  --color-gold-light: #E5BA6B;

  /* Mapped Design Tokens */
  --color-primary: #0A1E30;
  --color-primary-light: #183B59;
  --color-primary-dark: #061320;
  --color-accent: #D5A34D;
  --color-accent-light: #8C6218;
  --color-success: #15803D;

  /* Surfaces */
  --color-bg-deep: #F3EBDF;
  --color-bg-primary: #FAF6F0;
  --color-bg-secondary: #EFE6D5;
  --color-bg-card: #FFFFFF;
  --color-bg-card-hover: #FFFFFF;
  --color-bg-elevated: #FFFFFF;

  /* Typography Colors */
  --color-text-primary: #0A1E30;
  --color-text-secondary: #2C3E50;
  --color-text-muted: #4A5D70;
  --color-text-dim: #687B8E;
  --color-text-gold: #8C6218;

  /* Borders */
  --border-subtle: #DCD0BE;
  --border-focus: #0A1E30;
  --border-gold: #D5A34D;
  --glass-bg: #FAF6F0;
  --glass-bg-hover: #EFE6D5;
  --glass-border: #DCD0BE;
  --glass-border-hover: #C4B59E;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A1E30 0%, #102A42 100%);
  --gradient-gold: linear-gradient(135deg, #D5A34D 0%, #B8862D 100%);
  --gradient-hero-bg: #0A1E30;
  --gradient-card: #FFFFFF;
  --gradient-text: none;
  --gradient-title-accent: none;

  /* Typography */
  --font-heading: 'Baskervville', 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-serif: 'Baskervville', 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(10, 30, 48, 0.05);
  --shadow-md: 0 6px 18px rgba(10, 30, 48, 0.08);
  --shadow-lg: 0 12px 30px rgba(10, 30, 48, 0.12);
  --shadow-glow: 0 6px 20px rgba(10, 30, 48, 0.10);
  --shadow-glow-cyan: 0 6px 20px rgba(10, 30, 48, 0.10);
  --shadow-glow-gold: 0 4px 16px rgba(213, 163, 77, 0.25);

  /* Classical Rectangular Radius */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --radius-full: 3px;

  /* Layout */
  --container-max: 1280px;
  --header-height: 82px;
  --transition: all 0.2s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  font-weight: 400;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: var(--font-body);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F3EBDF;
}

::-webkit-scrollbar-thumb {
  background: #B8AA95;
  border-radius: 2px;
  border: 2px solid #F3EBDF;
}

::-webkit-scrollbar-thumb:hover {
  background: #0A1E30;
}

.bg-ambient-layer {
  display: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   TOP UTILITY BAR & CLASSICAL HEADER (Exact Match to Mockup 1)
   ========================================================================== */
.top-utility-bar {
  background-color: #F3EBDF;
  border-bottom: 1px solid #DFD4C2;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #0A1E30;
}

.top-utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  height: 36px;
}

.top-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #0A1E30;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.top-utility-link:hover {
  color: #8C6218;
}

.top-utility-link svg {
  color: #0A1E30;
  stroke-width: 2;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #F3EBDF;
  height: var(--header-height);
  border-bottom: 1px solid rgba(10, 30, 48, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10, 30, 48, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Brand Logo with Vertical Gold Line */
.header__brand {
  display: inline-flex;
  align-items: stretch;
  gap: 14px;
  color: #0A1E30;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-gold-bar {
  width: 2.5px;
  background-color: #D5A34D;
  border-radius: 1px;
  display: block;
  align-self: stretch;
}

.brand-icon {
  display: none;
}

.brand-text-group,
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.62rem;
  font-weight: 400;
  color: #0A1E30;
  line-height: 1.12;
  letter-spacing: 0;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: #0A1E30;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 4px;
  line-height: 1;
}

/* Fallback if any page uses .brand-text */
.brand-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 400;
  color: #0A1E30;
  border-left: 2.5px solid #D5A34D;
  padding-left: 14px;
}

.brand-text span {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: #0A1E30 !important;
  font-weight: 400 !important;
}

/* Navigation Menu */
.nav {
  display: flex;
  align-items: center;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 400;
  color: #0A1E30;
  padding: 6px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__link:hover {
  color: #8C6218;
  background: transparent;
}

.nav__link.active {
  color: #0A1E30;
  font-weight: 600;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #D5A34D;
}

/* Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: #FAF6F0;
  border: 1px solid #D5C8B4;
  border-top: 2px solid #D5A34D;
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(10, 30, 48, 0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav__item--dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #0A1E30;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__dropdown-item:hover {
  background: #EFE6D5;
  color: #8C6218;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-action {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid #D5C8B4;
  background: transparent;
  color: #0A1E30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon-action:hover {
  background: #E6DBC8;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: #0A1E30;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION (Exact Match to Mockup 1)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #0A1E30;
  color: #F3EBDF;
  padding: 64px 0 76px 0;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
}

.hero__content {
  max-width: 540px;
}

.hero__gold-line {
  width: 92px;
  height: 2px;
  background-color: #D5A34D;
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.1vw, 3.65rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: 0;
  color: #F3EBDF !important;
  margin-bottom: 22px;
}

.hero__title span,
.hero__title .gradient-text {
  color: #F3EBDF !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  font-weight: 400 !important;
}

.hero__desc {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 400;
  color: rgba(243, 235, 223, 0.88) !important;
  line-height: 1.58;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* Hero Rectangular Buttons (Exact Match to Mockup 1) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-hero-primary {
  background-color: #F3EBDF !important;
  color: #0A1E30 !important;
  border: 1px solid #F3EBDF !important;
  border-radius: 2px;
  font-weight: 600;
  padding: 14px 28px;
}

.btn-hero-primary:hover {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #0A1E30 !important;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background-color: transparent !important;
  color: #F3EBDF !important;
  border: 1px solid rgba(243, 235, 223, 0.65) !important;
  border-radius: 2px;
  font-weight: 400;
  padding: 14px 28px;
}

.btn-hero-secondary:hover {
  border-color: #D5A34D !important;
  color: #D5A34D !important;
  background-color: rgba(213, 163, 77, 0.08) !important;
}

/* General Primary / Secondary Buttons on Light/Cream Sections */
.btn-primary, .btn--primary {
  background-color: #0A1E30 !important;
  color: #F3EBDF !important;
  border: 1px solid #0A1E30 !important;
  border-radius: 2px;
  font-weight: 600;
}

.btn-primary:hover, .btn--primary:hover {
  background-color: #13324E !important;
  border-color: #D5A34D !important;
  color: #F3EBDF !important;
}

.btn-secondary, .btn--outline-sm {
  background-color: transparent !important;
  color: #0A1E30 !important;
  border: 1px solid #0A1E30 !important;
  border-radius: 2px;
  font-weight: 500;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-secondary:hover, .btn--outline-sm:hover {
  background-color: #0A1E30 !important;
  color: #F3EBDF !important;
}

.btn-gold {
  background-color: #F3EBDF !important;
  color: #0A1E30 !important;
  border: 1px solid #F3EBDF !important;
  border-radius: 2px;
  font-weight: 600;
}

.btn-gold:hover {
  background-color: #D5A34D !important;
  border-color: #D5A34D !important;
  color: #0A1E30 !important;
}

/* Right Column: Open Book with European Landmarks */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__landmarks-img {
  width: 100%;
  max-width: 690px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   STATS COUNTER STRIP
   ========================================================================== */
.stats-bar-wrapper {
  background-color: #EFE6D5;
  border-top: 1px solid #D8CCB8;
  border-bottom: 1px solid #D8CCB8;
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  border-right: 1px solid #D8CCB8;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background-color: #0A1E30;
  color: #D5A34D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 400;
  color: #0A1E30;
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #4A5D70;
  font-weight: 500;
  margin-top: 3px;
}

/* ==========================================================================
   SECTION HEADERS (Classical Academic Typography)
   ========================================================================== */
.section {
  padding: 76px 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px auto;
}

.section__header::before {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background-color: #D5A34D;
  margin: 0 auto 16px auto;
}

.section__header[style*="text-align: left"]::before {
  margin-left: 0;
}

.section__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8C6218;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 8px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  font-weight: 400;
  color: #0A1E30;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #3B4D5E;
  line-height: 1.6;
}

/* ==========================================================================
   CONFERENCES CATALOG & FILTER TABS
   ========================================================================== */
#conferences {
  background-color: #F3EBDF !important;
}

.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid #C9BCA6;
  background: #FAF6F0;
  color: #0A1E30;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: #FFFFFF;
  border-color: #0A1E30;
}

.filter-tab.active {
  background: #0A1E30;
  color: #F3EBDF;
  border-color: #0A1E30;
  box-shadow: none;
}

.journals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.journal-card {
  background: #FAF6F0;
  border: 1px solid #D5C8B4;
  border-top: 3px solid #D5A34D;
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 225px 1fr;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(10, 30, 48, 0.06);
}

.journal-card:hover {
  transform: translateY(-3px);
  border-color: #0A1E30;
  border-top-color: #D5A34D;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(10, 30, 48, 0.12);
}

.journal-card__cover-wrapper {
  position: relative;
  overflow: hidden;
  background: #0A1E30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.journal-card:hover .journal-card__cover {
  transform: scale(1.03);
}

.journal-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(10, 30, 48, 0.92);
  border: 1px solid #D5A34D;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: #F3EBDF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journal-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: #0A1E30;
  line-height: 1.3;
  margin-bottom: 12px;
}

.journal-card:hover .journal-card__title {
  color: #8C6218;
}

.journal-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #EFE6D5;
  border: 1px solid #D5C8B4;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: #0A1E30;
}

.meta-pill--issn {
  background: #FAF6F0;
  border-color: #D5A34D;
  border-left: 3px solid #D5A34D;
  color: #0A1E30;
  font-weight: 600;
}

.journal-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #3B4D5E;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-card-primary {
  flex: 1;
  padding: 9px 16px;
  border-radius: 2px;
  background: #0A1E30 !important;
  color: #F3EBDF !important;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid #0A1E30 !important;
  transition: var(--transition);
}

.btn-card-primary:hover {
  background: #13324E !important;
  border-color: #D5A34D !important;
  color: #F3EBDF !important;
}

.btn-card-outline {
  padding: 8px 13px;
  border-radius: 2px;
  border: 1px solid #B8AA93;
  background: #FFFFFF;
  color: #0A1E30;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.btn-card-outline:hover {
  background: #EFE6D5;
  border-color: #0A1E30;
  color: #0A1E30;
}

/* ==========================================================================
   FEATURES / ACADEMIC STANDARDS & WORKFLOW
   ========================================================================== */
#features {
  background-color: #FAF6F0;
  border-top: 1px solid #DFD4C2;
  border-bottom: 1px solid #DFD4C2;
}

.features-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card,
.workflow-card {
  background: #FFFFFF;
  border: 1px solid #D8CCB8;
  border-top: 2px solid #D5A34D;
  border-radius: 2px;
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover,
.workflow-card:hover {
  transform: translateY(-3px);
  border-color: #0A1E30;
  border-top-color: #D5A34D;
  box-shadow: 0 10px 24px rgba(10, 30, 48, 0.08);
}

.feature-icon-box,
.workflow-icon {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background: #0A1E30;
  color: #D5A34D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-title,
.workflow-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: #0A1E30;
  margin-bottom: 10px;
}

.feature-desc,
.workflow-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #4A5D70;
  line-height: 1.6;
}

.workflow-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(10, 30, 48, 0.08);
}

/* ==========================================================================
   ANNOUNCEMENTS SECTION (OJS Standard)
   ========================================================================== */
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.announcement-card {
  background: #FAF6F0;
  border: 1px solid #D5C8B4;
  border-left: 3px solid #D5A34D;
  border-radius: 2px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.announcement-date {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C6218;
  margin-bottom: 8px;
}

.announcement-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: #0A1E30;
  margin-bottom: 10px;
  line-height: 1.35;
}

.announcement-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #3B4D5E;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ==========================================================================
   INDEXING PARTNERS SECTION
   ========================================================================== */
.indexing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 18px;
}

.indexing-card {
  background: #FFFFFF;
  border: 1px solid #D8CCB8;
  border-radius: 2px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  transition: var(--transition);
}

.indexing-card:hover {
  transform: translateY(-2px);
  border-color: #D5A34D;
  box-shadow: 0 8px 20px rgba(10, 30, 48, 0.08);
}

.indexing-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indexing-card-img {
  max-height: 38px;
  width: auto;
}

.indexing-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0A1E30;
}

/* ==========================================================================
   CTA BANNER (Deep Navy & Gold Classical Style)
   ========================================================================== */
.cta-banner {
  background: #0A1E30;
  border: 1px solid #0A1E30;
  border-top: 3px solid #D5A34D;
  border-radius: 2px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #F3EBDF;
}

.cta-content {
  max-width: 640px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.4vw, 2.3rem);
  font-weight: 400;
  color: #F3EBDF !important;
  line-height: 1.25;
  margin-bottom: 12px;
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(243, 235, 223, 0.85) !important;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   SEARCH MODAL & SUBMISSION MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 48, 0.78);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-window {
  background: #FAF6F0;
  border: 1px solid #D5C8B4;
  border-top: 3px solid #D5A34D;
  border-radius: 2px;
  width: 100%;
  max-width: 660px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 50px rgba(10, 30, 48, 0.35);
}

.modal-header {
  padding: 22px 28px;
  background: #F3EBDF;
  border-bottom: 1px solid #D8CCB8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #0A1E30;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  border: 1px solid #C4B59E;
  background: #FAF6F0;
  color: #0A1E30;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #0A1E30;
  color: #F3EBDF;
}

.modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #0A1E30;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 2px;
  border: 1px solid #C4B59E;
  background: #FFFFFF;
  color: #0A1E30;
  font-size: 0.94rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #0A1E30;
  box-shadow: 0 0 0 2px rgba(213, 163, 77, 0.3);
}

.search-modal-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #F3EBDF;
  border-bottom: 1px solid #D8CCB8;
}

.search-modal-box input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.08rem;
  color: #0A1E30;
  outline: none;
}

.search-results-list {
  padding: 16px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  padding: 12px 16px;
  border-radius: 2px;
  background: #FFFFFF;
  border: 1px solid #D8CCB8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.search-result-item:hover {
  border-color: #0A1E30;
  background: #F3EBDF;
}

/* ==========================================================================
   FOOTER (Deep Navy #0A1E30 & Cream #F3EBDF)
   ========================================================================== */
.site-footer {
  background-color: #0A1E30;
  color: #F3EBDF;
  border-top: 2px solid #D5A34D;
  padding: 64px 0 32px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.site-footer .header__brand {
  color: #F3EBDF;
}

.site-footer .brand-title,
.site-footer .brand-subtitle,
.site-footer .brand-text,
.site-footer .brand-text span {
  color: #F3EBDF !important;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: rgba(243, 235, 223, 0.78);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: #F3EBDF;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(213, 163, 77, 0.35);
}

.footer__links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(243, 235, 223, 0.78);
  transition: var(--transition);
}

.footer__link:hover {
  color: #D5A34D;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(243, 235, 223, 0.82);
}

.contact-item:hover {
  color: #D5A34D;
}

.contact-item svg {
  color: #D5A34D;
  flex-shrink: 0;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(243, 235, 223, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(243, 235, 223, 0.68);
}

/* ==========================================================================
   OJS CONFERENCE PROCEEDINGS PAGE (journal.html, archive.html, article.html)
   ========================================================================== */
.ojs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #4A5D70;
  margin-bottom: 20px;
}

.ojs-breadcrumb a {
  color: #0A1E30;
  font-weight: 500;
}

.ojs-breadcrumb a:hover {
  color: #8C6218;
}

.ojs-breadcrumb .sep {
  color: #8C6218;
}

.ojs-breadcrumb .current {
  color: #8C6218;
  font-weight: 600;
}

/* Conference Hero Card on journal.html */
.ojs-journal-header-card {
  background: #0A1E30 !important;
  color: #F3EBDF;
  border: 1px solid #0A1E30;
  border-top: 3px solid #D5A34D;
  border-radius: 2px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(10, 30, 48, 0.15);
}

.ojs-jheader-grid {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 32px;
  align-items: center;
}

.ojs-jheader-cover {
  position: relative;
  width: 195px;
  height: 270px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(213, 163, 77, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.ojs-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ojs-openaccess-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(10, 30, 48, 0.92);
  color: #F3EBDF;
  border: 1px solid #D5A34D;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 4px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ojs-jmeta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ojs-meta-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(243, 235, 223, 0.1);
  color: #F3EBDF;
  border: 1px solid rgba(243, 235, 223, 0.25);
}

.ojs-meta-tag--issn {
  color: #D5A34D;
  border-color: #D5A34D;
  background: rgba(213, 163, 77, 0.12);
  font-weight: 600;
}

.ojs-meta-tag--peer {
  color: #F3EBDF;
  border-color: rgba(213, 163, 77, 0.5);
}

.ojs-journal-main-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: #F3EBDF !important;
  line-height: 1.25;
  margin-bottom: 12px;
}

.ojs-journal-main-desc {
  font-size: 0.95rem;
  color: rgba(243, 235, 223, 0.85) !important;
  line-height: 1.65;
  margin-bottom: 18px;
}

.ojs-indexing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.indexing-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #D5A34D;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.indexing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(243, 235, 223, 0.12);
  color: #F3EBDF;
  border: 1px solid rgba(243, 235, 223, 0.2);
}

/* Sub-navigation bar on journal.html */
.journal-subnav-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 28px;
  background: #EFE6D5;
  border: 1px solid #D5C8B4;
  padding: 6px;
  border-radius: 2px;
}

.journal-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #0A1E30;
  border-radius: 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.journal-nav__link:hover {
  background: #FAF6F0;
  color: #8C6218;
}

.journal-nav__link.active {
  background: #0A1E30 !important;
  color: #F3EBDF !important;
  border-bottom: none !important;
  font-weight: 600;
}

/* 2-Column OJS Layout */
.ojs-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.ojs-issue-card,
.ojs-content-card,
.ojs-sidebar-card {
  background: #FAF6F0 !important;
  border: 1px solid #D5C8B4 !important;
  border-radius: 2px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(10, 30, 48, 0.04);
}

.ojs-issue-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #8C6218;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ojs-issue-title,
.ojs-toc-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 400;
  color: #0A1E30;
  margin-bottom: 6px;
}

.ojs-issue-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #8C6218;
  margin-bottom: 12px;
}

.ojs-issue-desc {
  font-size: 0.92rem;
  color: #3B4D5E;
  line-height: 1.65;
  margin-bottom: 18px;
}

.ojs-issue-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #D8CCB8;
}

.meta-label {
  color: #687B8E;
  display: block;
  font-size: 0.76rem;
  margin-bottom: 2px;
}

.meta-val {
  color: #0A1E30;
  font-weight: 600;
  font-size: 0.86rem;
}

.ojs-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0A1E30;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.ojs-toc-badge {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0A1E30;
  background: #EFE6D5;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid #D5A34D;
}

/* Article Cards (OJS Table of Contents) */
.ojs-articles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ojs-article-card {
  background: #FFFFFF !important;
  border: 1px solid #D8CCB8 !important;
  border-left: 3px solid #D5A34D !important;
  border-radius: 2px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
}

.ojs-article-card:hover {
  border-color: #0A1E30 !important;
  border-left-color: #D5A34D !important;
  box-shadow: 0 6px 18px rgba(10, 30, 48, 0.08);
}

.ojs-article-card__main {
  flex: 1;
}

.ojs-article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.ojs-article-authors {
  font-size: 0.86rem;
  font-weight: 600;
  color: #8C6218 !important;
}

.ojs-article-pages {
  font-size: 0.8rem;
  color: #4A5D70;
  font-weight: 500;
}

.ojs-article-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.38;
  margin-bottom: 6px;
}

.ojs-article-title a {
  color: #0A1E30 !important;
}

.ojs-article-title a:hover {
  color: #8C6218 !important;
}

.ojs-article-abstract {
  font-size: 0.86rem;
  color: #3B4D5E;
  line-height: 1.6;
  margin-bottom: 8px;
}

.ojs-article-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
}

.ojs-article-doi {
  color: #4A5D70;
}

.ojs-article-doi a {
  color: #0A1E30 !important;
  text-decoration: underline;
  font-weight: 500;
}

.ojs-article-doi a:hover {
  color: #8C6218 !important;
}

/* PDF Galley Button */
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #0A1E30 !important;
  color: #F3EBDF !important;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid #0A1E30 !important;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-pdf:hover {
  background: #13324E !important;
  border-color: #D5A34D !important;
  color: #F3EBDF !important;
}

.btn-pdf-disabled {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #EFE6D5;
  color: #687B8E;
  font-size: 0.8rem;
  border-radius: 2px;
  border: 1px dashed #C4B59E;
  white-space: nowrap;
}

/* Sidebar Elements */
.ojs-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: #0A1E30;
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid #D5A34D;
}

.ojs-sidebar-text {
  font-size: 0.86rem;
  color: #3B4D5E;
  line-height: 1.6;
  margin-bottom: 12px;
}

.ojs-sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ojs-sidebar-list li,
.ojs-info-item {
  font-size: 0.85rem;
  color: #2C3E50;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #DCD0BE;
}

.ojs-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  color: #4A5D70;
  font-weight: 500;
}

.info-val {
  color: #0A1E30;
  font-weight: 600;
  text-align: right;
}

.ojs-indexing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.indexing-badge {
  background: #FFFFFF;
  border: 1px solid #D5C8B4;
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0A1E30;
  text-align: center;
}

/* Archives Grid on archive.html & journal.html */
.ojs-archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ojs-archive-item {
  background: #FFFFFF;
  border: 1px solid #D5C8B4;
  border-top: 3px solid #D5A34D;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 18px;
  transition: var(--transition);
}

.ojs-archive-item:hover {
  border-color: #0A1E30;
  box-shadow: 0 8px 22px rgba(10, 30, 48, 0.1);
}

.ojs-archive-item__cover {
  width: 90px;
  height: 125px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #D5C8B4;
}

.ojs-archive-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ojs-archive-item__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #8C6218;
  margin-bottom: 4px;
}

.ojs-archive-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #0A1E30;
  margin-bottom: 4px;
}

.ojs-archive-item__desc {
  font-size: 0.83rem;
  color: #4A5D70;
  line-height: 1.4;
}

/* Editorial Board Cards */
.ojs-editorial-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ojs-editor-card {
  background: #FFFFFF;
  border: 1px solid #D8CCB8;
  border-left: 3px solid #D5A34D;
  padding: 16px 18px;
  border-radius: 2px;
}

.ojs-editor-role {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8C6218;
  margin-bottom: 4px;
}

.ojs-editor-name {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: #0A1E30;
  margin-bottom: 4px;
}

.ojs-editor-aff {
  font-size: 0.83rem;
  color: #4A5D70;
}

/* Loader */
.loader {
  width: 32px;
  height: 32px;
  border: 3px solid #DCD0BE;
  border-top-color: #0A1E30;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__visual {
    justify-content: center;
  }

  .stats-grid,
  .features-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .announcements-grid {
    grid-template-columns: 1fr;
  }

  .journals-grid {
    grid-template-columns: 1fr;
  }

  .ojs-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: calc(36px + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: #F3EBDF;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 32px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    border-top: 1px solid #D5C8B4;
  }

  .nav__menu.mobile-open {
    transform: translateX(0);
  }

  .journal-card {
    grid-template-columns: 1fr;
  }

  .journal-card__cover-wrapper {
    height: 260px;
  }

  .ojs-jheader-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ojs-jheader-cover {
    margin: 0 auto;
  }

  .ojs-article-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid,
  .features-grid,
  .workflow-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid #D8CCB8;
    padding-bottom: 14px;
  }
}
