@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ==========================================================================
   THEME ARCHITECTURE - GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --arch-50: #f8fafc;
  --arch-100: #f1f5f9;
  --arch-200: #e2e8f0;
  --arch-300: #cbd5e1;
  --arch-400: #94a3b8;
  --arch-500: #64748b;
  --arch-800: #1e293b;
  --arch-900: #0f172a;
  --arch-accent: #c2410c;
  --arch-accent-hover: #9a3412;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--arch-900);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .arch-font-display, .nav-link {
  font-family: var(--font-display);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

/* ==========================================================================
   ARCHITECTURAL BLUEPRINT GRID & BORDERS
   ========================================================================== */
.architect-grid {
  background-image: 
    linear-gradient(to right, #f1f5f9 1px, transparent 1px),
    linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
  background-size: 40px 40px;
}

.strict-border {
  border: 1px solid var(--arch-200);
}

.border-b-strict {
  border-bottom: 1px solid var(--arch-200);
}

/* ==========================================================================
   1. TOP UTILITY BAR (MINIMALIST)
   ========================================================================== */
.arch-top-bar {
  background-color: var(--arch-50);
  color: var(--arch-800);
  border-bottom: 1px solid var(--arch-200);
  padding: 0.45rem 0;
  font-size: 12px;
}

.arch-top-container,
.arch-nav-container,
.arch-hero-container,
.arch-main-container,
.arch-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .arch-top-container,
  .arch-nav-container,
  .arch-hero-container,
  .arch-main-container,
  .arch-footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.arch-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.arch-top-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  letter-spacing: 0.025em;
}

.arch-top-left span.label {
  font-weight: 700;
  color: var(--arch-900);
}

.arch-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 11.5px;
}

.arch-top-right a {
  color: var(--arch-800);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.arch-top-right a:hover {
  color: var(--arch-accent);
}

.arch-sep {
  color: var(--arch-300);
}

/* ==========================================================================
   2. MAIN HEADER & NAVIGATION BAR
   ========================================================================== */
.arch-main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--arch-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.arch-nav-container {
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Monogram & Name */
.arch-brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--arch-900);
}

.arch-monogram-box {
  width: 46px;
  height: 46px;
  border: 2px solid var(--arch-900);
  color: var(--arch-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  background: #ffffff;
  flex-shrink: 0;
}

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

.arch-brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--arch-900);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.025em;
}

.arch-brand-subtitle {
  font-size: 10px;
  color: var(--arch-800);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-top: 3px;
}

/* Primary Desktop Navigation */
.arch-primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.arch-primary-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}

.arch-primary-nav > li > a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--arch-800);
  text-decoration: none;
  padding: 1.5rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.arch-primary-nav > li > a:hover,
.arch-primary-nav > li > a.active {
  color: var(--arch-accent);
}

.arch-primary-nav > li:has(ul) > a::after,
.arch-primary-nav > li.has-submenu > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.arch-primary-nav > li:hover > a::after {
  transform: rotate(180deg);
  color: var(--arch-accent);
}

/* Floating Dropdown Submenus */
.arch-primary-nav > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--arch-200);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
  animation: archFadeDown 0.2s ease forwards;
}

@keyframes archFadeDown {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.arch-primary-nav > li:hover > ul,
.arch-primary-nav > li:focus-within > ul {
  display: block;
}

.arch-primary-nav > li > ul li {
  width: 100%;
  border-bottom: 1px solid var(--arch-200);
}

.arch-primary-nav > li > ul li:last-child {
  border-bottom: none;
}

.arch-primary-nav > li > ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--arch-800);
  text-decoration: none;
  transition: all 0.15s ease;
}

.arch-primary-nav > li > ul li a:hover {
  background: var(--arch-50);
  color: var(--arch-accent);
  padding-left: 22px;
}

/* Header Actions */
.arch-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.arch-btn-search, .arch-btn-dark-toggle {
  background: transparent;
  border: none;
  color: var(--arch-800);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.arch-btn-search:hover, .arch-btn-dark-toggle:hover {
  color: var(--arch-accent);
}

.arch-divider-v {
  width: 1px;
  height: 18px;
  background-color: var(--arch-200);
}

.arch-link-register {
  font-size: 13.5px;
  color: var(--arch-800);
  font-weight: 500;
  text-decoration: none;
}

.arch-link-register:hover {
  color: var(--arch-accent);
}

.arch-btn-login {
  border: 1px solid var(--arch-900);
  color: var(--arch-900);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: all 0.2s ease;
}

.arch-btn-login:hover {
  background-color: var(--arch-900);
  color: #ffffff;
}

/* Mobile Toggle */
.arch-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--arch-900);
  cursor: pointer;
}

/* ==========================================================================
   3. HERO / FEATURED SECTION (ARCHITECTURAL GRID)
   ========================================================================== */
.arch-hero-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--arch-200);
  padding: 4.5rem 0;
}

.arch-hero-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .arch-hero-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3.5rem;
  }
  .arch-hero-left {
    flex: 0 0 58%;
    max-width: 680px;
  }
  .arch-hero-right {
    flex: 0 0 38%;
    display: flex;
    justify-content: flex-end;
  }
}

.arch-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.arch-badge-square {
  width: 9px;
  height: 9px;
  background-color: var(--arch-accent);
}

.arch-badge-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--arch-800);
}

.arch-hero-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--arch-900);
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
  .arch-hero-title {
    font-size: 3.35rem;
  }
}

@media (min-width: 1200px) {
  .arch-hero-title {
    font-size: 3.65rem;
  }
}

.arch-hero-desc {
  font-size: 1.22rem;
  color: var(--arch-800);
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 2.25rem 0;
  max-width: 620px;
}

.arch-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-accent {
  background-color: var(--arch-accent);
  color: #ffffff;
  padding: 0.95rem 2rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.2s ease;
}

.btn-accent:hover {
  background-color: var(--arch-accent-hover);
  color: #ffffff;
}

.btn-outlined {
  background-color: #ffffff;
  border: 1px solid var(--arch-300);
  color: var(--arch-900);
  padding: 0.95rem 2rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.btn-outlined:hover {
  border-color: var(--arch-900);
  color: var(--arch-900);
}

/* Hero Right: 3D Blueprint Offset Shadow Cover Frame */
.arch-hero-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .arch-hero-right {
    justify-content: flex-end;
    width: auto;
  }
}

.arch-cover-blueprint-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .arch-cover-blueprint-card {
    max-width: 330px;
  }
}

@media (min-width: 1200px) {
  .arch-cover-blueprint-card {
    max-width: 355px;
  }
}

.arch-offset-bg-2 {
  position: absolute;
  inset: 0;
  background-color: var(--arch-100);
  border: 1px solid var(--arch-300);
  transform: translate(14px, 14px);
  transition: transform 0.3s ease;
}

.arch-offset-bg-1 {
  position: absolute;
  inset: 0;
  background-color: var(--arch-200);
  border: 1px solid var(--arch-300);
  transform: translate(7px, 7px);
}

.arch-cover-blueprint-card:hover .arch-offset-bg-2 {
  transform: translate(18px, 18px);
}

.arch-cover-front-container {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--arch-900);
  padding: 6px;
  z-index: 10;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.arch-cover-blueprint-card:hover .arch-cover-front-container {
  transform: translate(-4px, -4px);
}

.arch-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--arch-200);
  aspect-ratio: 1 / 1.44;
  object-fit: contain;
  background-color: #ffffff;
}

/* ==========================================================================
   4. MAIN LAYOUT & ARTICLE LIST
   ========================================================================== */
.arch-main-container {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .arch-main-container {
    flex-direction: row;
    gap: 4rem;
  }
}

.arch-content-column {
  flex: 1;
  min-width: 0;
}

.arch-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--arch-900);
  padding-bottom: 0.75rem;
}

.arch-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 0;
}

/* Minimalist Article Rows */
.arch-article-row {
  padding: 2rem 0;
  border-bottom: 1px solid var(--arch-200);
  transition: background-color 0.2s ease;
}

.arch-article-row:hover {
  background-color: var(--arch-50);
}

.arch-article-flex {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .arch-article-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.arch-article-info {
  flex: 1;
}

.arch-section-badge {
  display: inline-block;
  border: 1px solid var(--arch-300);
  color: var(--arch-800);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.arch-article-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: var(--arch-900);
}

.arch-article-title a {
  color: var(--arch-900);
  text-decoration: none;
}

.arch-article-title a:hover {
  color: var(--arch-accent);
}

.arch-article-meta {
  font-size: 13.5px;
  color: var(--arch-800);
  font-weight: 500;
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.arch-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--arch-300);
}

.arch-article-abstract {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--arch-800);
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arch-article-doi {
  font-size: 12px;
  color: var(--arch-800);
}

.arch-article-doi a {
  color: var(--arch-800);
  text-decoration: underline;
  text-decoration-color: var(--arch-300);
  text-underline-offset: 2px;
}

.arch-article-doi a:hover {
  color: var(--arch-accent);
}

/* Action Buttons (Abstract & PDF) */
.arch-article-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .arch-article-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

.arch-btn-abstract {
  border: 1px solid var(--arch-200);
  background: #ffffff;
  padding: 0.45rem 1rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--arch-900);
  text-decoration: none;
  min-width: 90px;
  text-align: center;
  transition: all 0.2s ease;
}

.arch-btn-abstract:hover {
  border-color: var(--arch-900);
}

.arch-btn-pdf {
  background: var(--arch-900);
  color: #ffffff;
  padding: 0.45rem 1rem;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  min-width: 90px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.arch-btn-pdf:hover {
  background: var(--arch-accent);
  color: #ffffff;
}

/* ==========================================================================
   4.1 CITATION BOX & MULTI-STYLE TABS
   ========================================================================== */
.arch-citation-container {
  margin-top: 2rem;
}

.arch-cite-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.arch-cite-tab-btn {
  border: 1px solid var(--arch-200);
  background: #ffffff;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--arch-800);
  cursor: pointer;
  transition: all 0.15s ease;
}

.arch-cite-tab-btn:hover {
  border-color: var(--arch-900);
  color: var(--arch-900);
}

.arch-cite-tab-btn.active {
  background: var(--arch-900);
  border-color: var(--arch-900);
  color: #ffffff;
}

.arch-cite-box-wrap {
  background-color: var(--arch-50);
  border: 1px solid var(--arch-200);
  padding: 1.25rem 1.5rem;
  position: relative;
}

.arch-cite-output-text {
  font-size: 13.5px;
  color: var(--arch-800);
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-weight: 400;
  word-break: break-word;
}

.arch-cite-output-text em {
  font-style: italic;
}

.arch-cite-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid var(--arch-200);
  padding-top: 0.75rem;
}

.arch-btn-copy-cite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--arch-300);
  color: var(--arch-900);
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arch-btn-copy-cite:hover {
  border-color: var(--arch-accent);
  color: var(--arch-accent);
  background: #ffffff;
}

/* ==========================================================================
   4.2 ARTICLE DETAILS PAGE (PREMIUM ARCHITECTURAL LAYOUT)
   ========================================================================== */
.arch-article-detail-card {
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--arch-200);
}

.arch-article-top-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.arch-article-issue-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--arch-accent);
  transition: color 0.2s ease;
}

.arch-article-issue-link:hover {
  color: var(--arch-accent-hover);
  text-decoration: underline;
}

.arch-meta-sep {
  color: var(--arch-300);
  font-size: 13px;
}

.arch-article-detail-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--arch-900);
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
}

.arch-article-authors-block {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--arch-200);
  padding-bottom: 1.5rem;
}

.arch-authors-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.arch-author-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14.5px;
}

.arch-author-icon {
  color: var(--arch-400);
  font-size: 12px;
  margin-right: 2px;
}

.arch-article-author-name {
  font-weight: 700;
  color: var(--arch-900);
}

.arch-article-author-affil {
  font-size: 13.5px;
  color: var(--arch-500);
  font-weight: 400;
}

.arch-orcid-link {
  color: #a6ce39;
  font-size: 14px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.arch-orcid-link:hover {
  transform: scale(1.15);
}

/* 4-Tile Infobox */
.arch-article-infobox {
  background-color: var(--arch-50);
  border: 1px solid var(--arch-200);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.arch-info-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arch-info-tile-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--arch-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.arch-info-tile-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--arch-accent);
  word-break: break-all;
  transition: color 0.2s ease;
}

.arch-info-tile-link:hover {
  color: var(--arch-accent-hover);
  text-decoration: underline;
}

.arch-info-tile-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--arch-900);
}

/* Action Bar */
.arch-article-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--arch-200);
}

.arch-btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--arch-accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.arch-btn-action-primary:hover {
  background: var(--arch-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.arch-btn-action-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--arch-200);
  color: var(--arch-900);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arch-btn-action-sec:hover {
  border-color: var(--arch-900);
  color: var(--arch-900);
  background: var(--arch-50);
}

/* Section Blocks */
.arch-article-section-block {
  margin-bottom: 2.5rem;
}

.arch-section-title-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.arch-article-abstract-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--arch-800);
  font-weight: 300;
}

/* Keywords */
.arch-keywords-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.arch-keywords-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--arch-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.arch-keyword-pill {
  background: var(--arch-100);
  border: 1px solid var(--arch-200);
  color: var(--arch-800);
  padding: 0.2rem 0.65rem;
  font-size: 12px;
  font-weight: 500;
}

/* License Box */
.arch-article-license-box {
  background: var(--arch-50);
  border: 1px solid var(--arch-200);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.arch-license-icon-wrap {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.arch-license-para {
  font-size: 12.5px;
  color: var(--arch-800);
  margin: 0;
  line-height: 1.6;
}

.arch-license-para a {
  color: var(--arch-accent);
  text-decoration: underline;
}

.arch-license-para a:hover {
  color: var(--arch-accent-hover);
}

/* Dashboard & Logout Buttons in Nav */
.arch-btn-dashboard {
  font-weight: 600;
  color: var(--arch-900);
  display: inline-flex;
  align-items: center;
}

.arch-btn-dashboard:hover {
  color: var(--arch-accent);
}

.arch-btn-logout {
  background: transparent;
  border: 1px solid var(--arch-300);
  color: var(--arch-800);
}

.arch-btn-logout:hover {
  background: var(--arch-900);
  border-color: var(--arch-900);
  color: #ffffff;
}

/* ==========================================================================
   5. SIDEBAR (GEOMETRIC & ACCREDITATION)
   ========================================================================== */
.arch-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .arch-sidebar {
    width: 340px;
    flex-shrink: 0;
  }
}

/* CTA Submit Manuscript Box with Double Corner Brackets */
.arch-cta-box {
  background-color: var(--arch-50);
  padding: 2rem;
  border: 1px solid var(--arch-200);
  position: relative;
}

.arch-corner-tl {
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--arch-900);
  border-left: 2px solid var(--arch-900);
  position: absolute;
  top: 0;
  left: 0;
}

.arch-corner-br {
  width: 28px;
  height: 28px;
  border-bottom: 2px solid var(--arch-900);
  border-right: 2px solid var(--arch-900);
  position: absolute;
  bottom: 0;
  right: 0;
}

.arch-cta-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 0 0 0.75rem 0;
}

.arch-cta-desc {
  font-size: 13.5px;
  color: var(--arch-800);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.arch-btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--arch-900);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 0.75rem 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.arch-btn-cta:hover {
  background-color: var(--arch-accent);
  color: #ffffff;
}

/* Sidebar Section Headers */
.arch-sidebar-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--arch-900);
  border-bottom: 1px solid var(--arch-200);
  padding-bottom: 0.75rem;
  margin: 0 0 1rem 0;
}

/* Author Resources List */
.arch-resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--arch-200);
}

.arch-resource-list li {
  border-bottom: 1px solid var(--arch-200);
}

.arch-resource-list li:last-child {
  border-bottom: none;
}

.arch-resource-list a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 13.5px;
  color: var(--arch-800);
  text-decoration: none;
  transition: all 0.15s ease;
}

.arch-resource-list a i {
  width: 24px;
  text-align: center;
  color: var(--arch-400);
  transition: color 0.15s ease;
  margin-right: 0.5rem;
}

.arch-resource-list a:hover {
  background: var(--arch-50);
  color: var(--arch-accent);
}

.arch-resource-list a:hover i {
  color: var(--arch-accent);
}

/* Accreditation & Indexing 2x2 Grid */
.arch-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.arch-index-card {
  border: 1px solid var(--arch-200);
  background: #ffffff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  text-decoration: none;
  transition: all 0.2s ease;
}

.arch-index-card:hover {
  border-color: var(--arch-900);
}

.arch-index-card img {
  max-height: 36px;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.3s ease;
}

.arch-index-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.arch-index-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--arch-800);
  margin-top: 0.5rem;
}

/* Journal Metrics */
.arch-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.arch-metric-row-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.25rem;
}

.arch-metric-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--arch-800);
}

.arch-metric-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--arch-900);
}

.arch-metric-bar-bg {
  width: 100%;
  height: 4px;
  background-color: var(--arch-100);
}

.arch-metric-bar-fill {
  height: 100%;
  background-color: var(--arch-900);
}

.arch-metric-item-bordered {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--arch-100);
  padding-bottom: 0.5rem;
}

/* Native PKP Blocks integration */
.pkp_block {
  margin-bottom: 2rem;
}

.pkp_block .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--arch-900);
  border-bottom: 1px solid var(--arch-200);
  padding-bottom: 0.75rem;
  margin: 0 0 1rem 0;
}

.pkp_block .content {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--arch-800);
}

/* ==========================================================================
   6. FOOTER (4-COLUMN ACADEMIC & ARCHITECTURAL GRID LAYOUT)
   ========================================================================== */
.arch-footer {
  background-color: var(--arch-900);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #ffffff;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid #1e293b;
  position: relative;
}

.arch-footer-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .arch-footer-grid-4 {
    grid-template-columns: 2.2fr 1.3fr 1.4fr 1.6fr;
    gap: 2.5rem;
  }
}

/* Col 1: Brand & Publisher */
.arch-footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.arch-footer-logo-box {
  flex-shrink: 0;
}

.arch-footer-logo-img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.arch-footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
  line-height: 1.15;
}

.arch-footer-issn-row {
  font-size: 11.5px;
  color: var(--arch-accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.arch-footer-about-desc {
  color: var(--arch-400);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

.arch-footer-pub-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.arch-footer-pub-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--arch-accent);
  margin-bottom: 0.2rem;
}

.arch-footer-pub-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13.5px;
  color: #cbd5e1;
}

.arch-footer-pub-line strong {
  color: #ffffff;
}

/* Col 2 & 3: Navigation Headings & Links */
.arch-footer-heading-bar {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-bar-accent {
  color: var(--arch-accent);
  font-weight: 900;
  font-size: 14px;
}

.arch-footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.arch-footer-link-list li a {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.15s ease;
}

.arch-footer-link-list li a::before {
  content: '›';
  font-size: 16px;
  font-weight: 700;
  color: var(--arch-accent);
  margin-right: 8px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.arch-footer-link-list li a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.arch-footer-link-list li a:hover::before {
  color: var(--arch-accent-hover);
  transform: translateX(2px);
}

/* Col 4: Indexing Badges & Visitor Statistics */
.arch-footer-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.arch-f-badge {
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.65rem 0.5rem;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  color: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-f-badge:hover {
  border-color: var(--arch-accent);
  background: rgba(194, 65, 12, 0.15);
  color: #ffffff;
}

.arch-f-badge-scopus {
  color: var(--arch-accent);
}

.arch-f-badge-doaj {
  color: #38bdf8;
}

.arch-footer-stats-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  padding: 1rem 1.25rem;
}

.arch-stats-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--arch-400);
  display: block;
  margin-bottom: 0.4rem;
}

.arch-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arch-stats-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12.5px;
  color: var(--arch-accent);
  font-weight: 600;
}

.arch-stats-count {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.025em;
}

/* Bottom Row 1: License Wrap */
.arch-footer-license-wrap {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #334155;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.arch-footer-license-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .arch-footer-license-inner {
    flex-direction: row;
    align-items: center;
  }
}

.arch-license-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--arch-accent);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(194, 65, 12, 0.15);
  flex-shrink: 0;
}

.arch-license-desc {
  font-size: 12.5px;
  color: var(--arch-400);
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

.arch-license-desc a {
  color: var(--arch-accent);
  text-decoration: underline;
}

.arch-license-desc a:hover {
  color: #ffffff;
}

/* Bottom Row 2: Copyright & Credits */
.arch-footer-copyright-row {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  font-size: 12px;
  color: var(--arch-400);
  font-weight: 300;
}

@media (min-width: 768px) {
  .arch-footer-copyright-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.arch-powered-text {
  color: var(--arch-400);
}

/* ==========================================================================
   7. INNER PAGES (ABOUT, SUBMISSIONS, ARCHIVE, ARTICLE, AUTH)
   ========================================================================== */
.arch-card {
  background: #ffffff;
  border: 1px solid var(--arch-200);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.arch-page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 0 0 1.5rem 0;
  border-bottom: 2px solid var(--arch-900);
  padding-bottom: 0.75rem;
}

.arch-lead-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--arch-800);
  margin-bottom: 2rem;
}

.arch-sub-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 2rem 0 0.75rem 0;
  border-bottom: 1px solid var(--arch-200);
  padding-bottom: 0.5rem;
}

/* Auth Cards (Login & Register) */
.arch-auth-container {
  max-width: 520px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.arch-auth-card {
  background: #ffffff;
  border: 1px solid var(--arch-900);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.arch-auth-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--arch-900);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.arch-auth-subtitle {
  font-size: 13.5px;
  color: var(--arch-800);
  text-align: center;
  margin: 0 0 2rem 0;
}

.arch-form-group {
  margin-bottom: 1.25rem;
}

.arch-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--arch-900);
  margin-bottom: 0.35rem;
}

.arch-form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--arch-300);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--arch-900);
  background: #ffffff;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.arch-form-input:focus {
  outline: none;
  border-color: var(--arch-900);
}

/* ==========================================================================
   8. COMPREHENSIVE HIGH-CONTRAST DARK MODE
   ========================================================================== */
html.dark-mode,
body.dark-mode {
  --arch-50: #0b1120;
  --arch-100: #131d33;
  --arch-200: #1e293b;
  --arch-300: #334155;
  --arch-400: #94a3b8;
  --arch-500: #cbd5e1;
  --arch-800: #e2e8f0;
  --arch-900: #f8fafc;
  --arch-accent: #ea580c;
  --arch-accent-hover: #f97316;
  background-color: #070b14 !important;
  color: #f8fafc !important;
}

html.dark-mode body,
body.dark-mode {
  background-color: #070b14 !important;
  color: #f8fafc !important;
}

/* Background Blueprint Drafting Grid */
.dark-mode .architect-grid,
body.dark-mode .architect-grid {
  background-image: 
    linear-gradient(to right, #1e293b 1px, transparent 1px),
    linear-gradient(to bottom, #1e293b 1px, transparent 1px);
}

/* Top Utility Bar */
.dark-mode .arch-top-bar,
body.dark-mode .arch-top-bar {
  background-color: #0b1120;
  border-color: #1e293b;
  color: #cbd5e1;
}

.dark-mode .arch-top-left span.label,
body.dark-mode .arch-top-left span.label {
  color: #94a3b8;
}

.dark-mode .arch-top-left span,
body.dark-mode .arch-top-left span {
  color: #f1f5f9;
}

.dark-mode .arch-top-right a,
body.dark-mode .arch-top-right a {
  color: #cbd5e1;
}

.dark-mode .arch-top-right a:hover,
body.dark-mode .arch-top-right a:hover {
  color: #fb923c;
}

.dark-mode .arch-btn-dark-toggle,
body.dark-mode .arch-btn-dark-toggle {
  color: #fbbf24;
}

/* Sticky Main Header */
.dark-mode .arch-main-header,
body.dark-mode .arch-main-header {
  background: #0f172a;
  border-color: #1e293b;
}

.dark-mode .arch-brand-title,
body.dark-mode .arch-brand-title {
  color: #ffffff !important;
}

.dark-mode .arch-brand-subtitle,
body.dark-mode .arch-brand-subtitle {
  color: #94a3b8 !important;
}

.dark-mode .arch-monogram-box,
body.dark-mode .arch-monogram-box {
  background: #1e293b;
  border-color: #ffffff;
  color: #ffffff;
}

.dark-mode .arch-primary-nav > li > a,
body.dark-mode .arch-primary-nav > li > a {
  color: #f1f5f9;
}

.dark-mode .arch-primary-nav > li > a:hover,
body.dark-mode .arch-primary-nav > li > a:hover {
  color: #fb923c;
}

.dark-mode .arch-primary-nav > li > ul,
body.dark-mode .arch-primary-nav > li > ul {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dark-mode .arch-primary-nav > li > ul li,
body.dark-mode .arch-primary-nav > li > ul li {
  border-color: #1e293b;
}

.dark-mode .arch-primary-nav > li > ul li a,
body.dark-mode .arch-primary-nav > li > ul li a {
  color: #e2e8f0;
}

.dark-mode .arch-primary-nav > li > ul li a:hover,
body.dark-mode .arch-primary-nav > li > ul li a:hover {
  background: #1e293b;
  color: #fb923c;
}

.dark-mode .arch-btn-search,
body.dark-mode .arch-btn-search {
  color: #f1f5f9;
}

.dark-mode .arch-btn-search:hover,
body.dark-mode .arch-btn-search:hover {
  color: #fb923c;
}

.dark-mode .arch-link-register,
body.dark-mode .arch-link-register {
  color: #f1f5f9;
}

.dark-mode .arch-link-register:hover,
body.dark-mode .arch-link-register:hover {
  color: #fb923c;
}

.dark-mode .arch-btn-login,
body.dark-mode .arch-btn-login {
  background: #c2410c;
  border-color: #c2410c;
  color: #ffffff;
}

.dark-mode .arch-btn-login:hover,
body.dark-mode .arch-btn-login:hover {
  background: #ea580c;
  border-color: #ea580c;
}

.dark-mode .arch-divider-v,
body.dark-mode .arch-divider-v {
  background-color: #334155;
}

.dark-mode .arch-mobile-btn,
body.dark-mode .arch-mobile-btn {
  color: #f1f5f9;
}

.dark-mode .arch-mobile-menu-overlay,
body.dark-mode .arch-mobile-menu-overlay {
  background: #0f172a;
}

/* Hero Section */
.dark-mode .arch-hero-section,
body.dark-mode .arch-hero-section {
  background-color: #0b1120;
  border-color: #1e293b;
}

.dark-mode .arch-hero-title,
body.dark-mode .arch-hero-title {
  color: #ffffff !important;
}

.dark-mode .arch-hero-desc,
body.dark-mode .arch-hero-desc {
  color: #cbd5e1 !important;
}

.dark-mode .arch-hero-badge,
body.dark-mode .arch-hero-badge {
  background: rgba(194, 65, 12, 0.25);
  border-color: #ea580c;
  color: #fed7aa;
}

.dark-mode .arch-btn-hero-sec,
body.dark-mode .arch-btn-hero-sec {
  border-color: #ffffff;
  color: #ffffff;
}

.dark-mode .arch-btn-hero-sec:hover,
body.dark-mode .arch-btn-hero-sec:hover {
  border-color: #fb923c;
  color: #fb923c;
}

/* Cover Front & 3D Cards */
.dark-mode .arch-cover-front-container,
body.dark-mode .arch-cover-front-container {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.dark-mode .arch-3d-card-front,
body.dark-mode .arch-3d-card-front {
  background: #0f172a;
  border-color: #334155;
}

.dark-mode .arch-cover-book-title,
body.dark-mode .arch-cover-book-title {
  color: #ffffff;
}

.dark-mode .arch-cover-book-sub,
body.dark-mode .arch-cover-book-sub {
  color: #cbd5e1;
}

/* Main Cards & General Elements */
.dark-mode .arch-card,
body.dark-mode .arch-card {
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

.dark-mode .arch-section-header,
body.dark-mode .arch-section-header {
  border-color: #ffffff !important;
}

.dark-mode .arch-section-title,
body.dark-mode .arch-section-title {
  color: #ffffff !important;
}

.dark-mode .arch-section-badge,
body.dark-mode .arch-section-badge {
  background: rgba(194, 65, 12, 0.25);
  border-color: #ea580c;
  color: #fed7aa;
}

/* Articles List (issue_toc.tpl) */
.dark-mode .arch-article-row,
body.dark-mode .arch-article-row {
  border-color: #1e293b !important;
  background-color: transparent;
}

.dark-mode .arch-article-row:hover,
body.dark-mode .arch-article-row:hover {
  background-color: #131d33 !important;
}

.dark-mode .arch-article-title,
body.dark-mode .arch-article-title {
  color: #ffffff !important;
}

.dark-mode .arch-article-title a,
body.dark-mode .arch-article-title a {
  color: #ffffff !important;
}

.dark-mode .arch-article-title a:hover,
body.dark-mode .arch-article-title a:hover {
  color: #fb923c !important;
}

.dark-mode .arch-article-meta,
body.dark-mode .arch-article-meta {
  color: #cbd5e1 !important;
}

.dark-mode .arch-meta-dot,
body.dark-mode .arch-meta-dot {
  background-color: #475569 !important;
}

.dark-mode .arch-article-abstract,
body.dark-mode .arch-article-abstract {
  color: #94a3b8 !important;
}

.dark-mode .arch-article-doi,
body.dark-mode .arch-article-doi {
  color: #cbd5e1 !important;
}

.dark-mode .arch-article-doi a,
body.dark-mode .arch-article-doi a {
  color: #cbd5e1 !important;
  text-decoration-color: #475569 !important;
}

.dark-mode .arch-article-doi a:hover,
body.dark-mode .arch-article-doi a:hover {
  color: #fb923c !important;
}

.dark-mode .arch-btn-abstract,
body.dark-mode .arch-btn-abstract {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

.dark-mode .arch-btn-abstract:hover,
body.dark-mode .arch-btn-abstract:hover {
  border-color: #fb923c !important;
  color: #fb923c !important;
}

.dark-mode .arch-btn-pdf,
body.dark-mode .arch-btn-pdf {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #f1f5f9 !important;
}

.dark-mode .arch-btn-pdf:hover,
body.dark-mode .arch-btn-pdf:hover {
  background: #c2410c !important;
  border-color: #c2410c !important;
  color: #ffffff !important;
}

/* Sidebar Widgets */
.dark-mode .arch-cta-box,
body.dark-mode .arch-cta-box {
  background-color: #0f172a !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-corner-tl,
body.dark-mode .arch-corner-tl {
  border-top-color: #fb923c !important;
  border-left-color: #fb923c !important;
}

.dark-mode .arch-corner-br,
body.dark-mode .arch-corner-br {
  border-bottom-color: #fb923c !important;
  border-right-color: #fb923c !important;
}

.dark-mode .arch-cta-title,
body.dark-mode .arch-cta-title {
  color: #ffffff !important;
}

.dark-mode .arch-cta-desc,
body.dark-mode .arch-cta-desc {
  color: #cbd5e1 !important;
}

.dark-mode .arch-btn-cta,
body.dark-mode .arch-btn-cta {
  background: #c2410c !important;
  border-color: #c2410c !important;
  color: #ffffff !important;
}

.dark-mode .arch-btn-cta:hover,
body.dark-mode .arch-btn-cta:hover {
  background: #ea580c !important;
}

.dark-mode .arch-sidebar-heading,
body.dark-mode .arch-sidebar-heading {
  color: #ffffff !important;
  border-bottom-color: #1e293b !important;
}

.dark-mode .arch-resource-list,
body.dark-mode .arch-resource-list {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-resource-list li,
body.dark-mode .arch-resource-list li {
  border-color: #1e293b !important;
}

.dark-mode .arch-resource-list a,
body.dark-mode .arch-resource-list a {
  color: #e2e8f0 !important;
}

.dark-mode .arch-resource-list a:hover,
body.dark-mode .arch-resource-list a:hover {
  background: #1e293b !important;
  color: #fb923c !important;
}

.dark-mode .arch-resource-list a i,
body.dark-mode .arch-resource-list a i {
  color: #fb923c !important;
}

.dark-mode .arch-index-card,
body.dark-mode .arch-index-card {
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #f1f5f9 !important;
}

.dark-mode .arch-index-card:hover,
body.dark-mode .arch-index-card:hover {
  border-color: #fb923c !important;
}

.dark-mode .arch-index-tag,
body.dark-mode .arch-index-tag {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #fed7aa !important;
}

.dark-mode .arch-metrics-list,
body.dark-mode .arch-metrics-list {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-metric-label,
body.dark-mode .arch-metric-label {
  color: #94a3b8 !important;
}

.dark-mode .arch-metric-val,
body.dark-mode .arch-metric-val {
  color: #ffffff !important;
}

.dark-mode .arch-metric-bar-bg,
body.dark-mode .arch-metric-bar-bg {
  background: #1e293b !important;
}

.dark-mode .arch-metric-item-bordered,
body.dark-mode .arch-metric-item-bordered {
  border-color: #1e293b !important;
}

/* Article Detail Page & Inner Pages */
.dark-mode .arch-page-title,
body.dark-mode .arch-page-title {
  color: #ffffff !important;
  border-color: #334155 !important;
}

.dark-mode .arch-sub-heading,
body.dark-mode .arch-sub-heading {
  color: #ffffff !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-lead-text,
body.dark-mode .arch-lead-text {
  color: #e2e8f0 !important;
}

.dark-mode div[style*="background-color: var(--arch-50)"],
body.dark-mode div[style*="background-color: var(--arch-50)"],
.dark-mode div[style*="background-color:#f8fafc"],
body.dark-mode div[style*="background-color:#f8fafc"] {
  background-color: #0b1120 !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
}

.dark-mode div[style*="color: var(--arch-800)"],
body.dark-mode div[style*="color: var(--arch-800)"],
.dark-mode span[style*="color: var(--arch-800)"],
body.dark-mode span[style*="color: var(--arch-800)"] {
  color: #cbd5e1 !important;
}

.dark-mode span[style*="color: var(--arch-900)"],
body.dark-mode span[style*="color: var(--arch-900)"],
.dark-mode h1[style*="color: var(--arch-900)"],
body.dark-mode h1[style*="color: var(--arch-900)"] {
  color: #ffffff !important;
}

/* Citation Box Styles in Dark Mode */
.dark-mode .arch-cite-tab-btn,
body.dark-mode .arch-cite-tab-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.dark-mode .arch-cite-tab-btn:hover,
body.dark-mode .arch-cite-tab-btn:hover {
  border-color: #fb923c !important;
  color: #ffffff !important;
}

.dark-mode .arch-cite-tab-btn.active,
body.dark-mode .arch-cite-tab-btn.active {
  background: #c2410c !important;
  border-color: #c2410c !important;
  color: #ffffff !important;
}

.dark-mode .arch-cite-box-wrap,
body.dark-mode .arch-cite-box-wrap {
  background-color: #0b1120 !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-cite-output-text,
body.dark-mode .arch-cite-output-text {
  color: #f1f5f9 !important;
}

.dark-mode .arch-cite-actions-row,
body.dark-mode .arch-cite-actions-row {
  border-top-color: #1e293b !important;
}

.dark-mode .arch-btn-copy-cite,
body.dark-mode .arch-btn-copy-cite {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

.dark-mode .arch-btn-copy-cite:hover,
body.dark-mode .arch-btn-copy-cite:hover {
  border-color: #fb923c !important;
  color: #fb923c !important;
}

/* Auth Cards (Login & Register) */
.dark-mode .arch-auth-card,
body.dark-mode .arch-auth-card {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

.dark-mode .arch-auth-title,
body.dark-mode .arch-auth-title {
  color: #ffffff !important;
}

.dark-mode .arch-auth-subtitle,
body.dark-mode .arch-auth-subtitle {
  color: #cbd5e1 !important;
}

.dark-mode .arch-form-label,
body.dark-mode .arch-form-label {
  color: #f1f5f9 !important;
}

.dark-mode .arch-form-input,
body.dark-mode .arch-form-input {
  background: #0b1120 !important;
  border-color: #334155 !important;
  color: #ffffff !important;
}

.dark-mode .arch-form-input:focus,
body.dark-mode .arch-form-input:focus {
  border-color: #fb923c !important;
}

.dark-mode .arch-btn-submit,
body.dark-mode .arch-btn-submit {
  background: #c2410c !important;
  border-color: #c2410c !important;
  color: #ffffff !important;
}

.dark-mode .arch-btn-submit:hover,
body.dark-mode .arch-btn-submit:hover {
  background: #ea580c !important;
}

.dark-mode .arch-auth-footer,
body.dark-mode .arch-auth-footer {
  color: #cbd5e1 !important;
}

.dark-mode .arch-auth-footer a,
body.dark-mode .arch-auth-footer a {
  color: #fb923c !important;
}

/* Native OJS Form & Table Elements in Dark Mode */
.dark-mode table,
body.dark-mode table {
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

.dark-mode th,
body.dark-mode th {
  background-color: #131d33 !important;
  color: #ffffff !important;
  border-color: #1e293b !important;
}

.dark-mode td,
body.dark-mode td {
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
}

.dark-mode select,
body.dark-mode select {
  background-color: #0b1120 !important;
  color: #ffffff !important;
  border-color: #334155 !important;
}

.dark-mode blockquote,
body.dark-mode blockquote {
  background: #0b1120 !important;
  border-left-color: #fb923c !important;
  color: #cbd5e1 !important;
}

/* Universal Typography & High-Contrast Overrides in Dark Mode */
.dark-mode p,
body.dark-mode p,
.dark-mode li,
body.dark-mode li {
  color: #e2e8f0;
}

.dark-mode strong,
body.dark-mode strong,
.dark-mode b,
body.dark-mode b {
  color: #ffffff !important;
}

.dark-mode em,
body.dark-mode em {
  color: inherit;
}

.dark-mode a,
body.dark-mode a {
  color: #f1f5f9;
}

.dark-mode a:hover,
body.dark-mode a:hover {
  color: #fb923c;
}

.dark-mode h1,
body.dark-mode h1,
.dark-mode h2,
body.dark-mode h2,
.dark-mode h3,
body.dark-mode h3,
.dark-mode h4,
body.dark-mode h4,
.dark-mode h5,
body.dark-mode h5,
.dark-mode h6,
body.dark-mode h6 {
  color: #ffffff !important;
}

/* Article Detail & Dashboard Overrides in Dark Mode */
.dark-mode .arch-article-detail-card,
body.dark-mode .arch-article-detail-card {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-article-detail-title,
body.dark-mode .arch-article-detail-title {
  color: #ffffff !important;
}

.dark-mode .arch-article-author-name,
body.dark-mode .arch-article-author-name {
  color: #ffffff !important;
}

.dark-mode .arch-article-author-affil,
body.dark-mode .arch-article-author-affil {
  color: #94a3b8 !important;
}

.dark-mode .arch-info-tile-val,
body.dark-mode .arch-info-tile-val {
  color: #ffffff !important;
}

.dark-mode .arch-info-tile-label,
body.dark-mode .arch-info-tile-label {
  color: #94a3b8 !important;
}

.dark-mode .arch-btn-action-sec,
body.dark-mode .arch-btn-action-sec {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

.dark-mode .arch-btn-action-sec:hover,
body.dark-mode .arch-btn-action-sec:hover {
  background: #0b1120 !important;
  border-color: #fb923c !important;
  color: #fb923c !important;
}

.dark-mode .arch-section-title-line,
body.dark-mode .arch-section-title-line {
  color: #ffffff !important;
}

.dark-mode .arch-article-abstract-body,
body.dark-mode .arch-article-abstract-body {
  color: #e2e8f0 !important;
}

.dark-mode .arch-keyword-pill,
body.dark-mode .arch-keyword-pill {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.dark-mode .arch-article-license-box,
body.dark-mode .arch-article-license-box {
  background: #0b1120 !important;
  border-color: #1e293b !important;
}

.dark-mode .arch-license-para,
body.dark-mode .arch-license-para {
  color: #cbd5e1 !important;
}

.dark-mode .arch-btn-dashboard,
body.dark-mode .arch-btn-dashboard {
  color: #f1f5f9 !important;
}

.dark-mode .arch-btn-dashboard:hover,
body.dark-mode .arch-btn-dashboard:hover {
  color: #fb923c !important;
}

.dark-mode .arch-btn-logout,
body.dark-mode .arch-btn-logout {
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.dark-mode .arch-btn-logout:hover,
body.dark-mode .arch-btn-logout:hover {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
}


