/* Scholaria Journal — clean, responsive academic journal stylesheet */
:root {
  --navy: #17334d;
  --navy-2: #214966;
  --gold: #b58a43;
  --ink: #263746;
  --muted: #62717e;
  --line: #dce3e8;
  --paper: #fff;
  --wash: #f5f7f9;
  --soft: #edf2f5;
  --link: #245d82;
  --shadow: 0 3px 14px rgba(20, 45, 65, 0.045);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.75 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--navy);

}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #d8b56e;
  outline-offset: 3px;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  background: #fff;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.journal-name {
  min-width: 0;
}
.journal-name h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.35px;
  color: var(--navy);
  margin: 0 0 7px;
  font-weight: 700;
}
.journal-name p {
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.email {
  font-size: 13px;
  white-space: nowrap;
}
.email a {
  color: var(--navy);
  font-weight: 600;
}
.navigation {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.nav-links {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  color: #f4f7fa;
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.15s ease;
}
.nav-links a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--navy-2);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.menu-button {
  display: none;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 42px;
  align-items: start;
}
.main-column {
  min-width: 0;
}
.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.box h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 17px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.box h2:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 54px;
  height: 2px;
  background: var(--gold);
}
.box h3 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--navy);
  margin: 18px 0 8px;
}
.box p {
  margin: 0 0 14px;
  color: #4d5b67;
}
.box p:last-child {
  margin-bottom: 0;
}
.box ul,
.box ol {
  padding-left: 22px;
  color: #4d5b67;
}
.box li {
  margin: 5px 0;
}
.plain-button {
  display: inline-block;
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
  border-radius: 2px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  margin: 5px 7px 0 0;
  transition: background 0.15s ease;
}
.plain-button:hover {
  background: var(--navy-2);
  color: #fff;
  text-decoration: none;
}
.plain-button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: #aab9c4;
}
.plain-button.secondary:hover {
  background: var(--wash);
}
.article {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.article h3 {
  color: var(--link);
}
.sidebar .box {
  padding: 20px;
}
.sidebar .box h2 {
  font-size: 19px;
  margin-bottom: 12px;
}
.details {
  margin: 0;
  font-size: 13px;
}
.details dt {
  font-weight: 700;
  color: #344c5f;
  margin-top: 11px;
}
.details dd {
  margin: 2px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #d2dce2;
  color: var(--muted);
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0 !important;
}
.link-list li {
  border-bottom: 1px solid #e9edf0;
  padding: 7px 0;
  margin: 0 !important;
}
.link-list li:last-child {
  border-bottom: 0;
}
.link-list a {
  font-size: 13px;
  line-height: 1.5;
}
.breadcrumb {
  font-size: 12px;
  color: #7a8791;
  margin: 0 0 15px;
}
.breadcrumb a {
  color: var(--link);
}
.notice {
  border-left: 3px solid var(--gold);
  background: #faf8f2;
  padding: 13px 15px;
  color: #59636b;
  margin: 18px 0;
}
.site-footer {
  background: #f2f5f7;
  border-top: 1px solid var(--line);
  color: #52616c;
}
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 31px 0;
}
.footer-columns h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 11px;
}
.footer-columns p,
.footer-columns a {
  font-size: 12px;
  display: block;
  margin: 5px 0;
  color: #586a78;
}
.footer-columns a:hover {
  color: var(--navy);
}
.copyright {
  background: #e6ecef;
  border-top: 1px solid #d8e0e5;
  padding: 12px 0;
  font-size: 11px;
  color: #63717a;
}
.copyright .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }
  .nav-links a {
    padding: 13px 10px;
    font-size: 12px;
  }
  .footer-columns {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-columns > div:last-child {
    grid-column: auto;
  }
}
@media (max-width: 740px) {
  .container {
    width: calc(100% - 28px);
  }
  .header-row {
    min-height: 88px;
  }
  .journal-name h1 {
    font-size: 21px;
  }
  .journal-name p {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .email {
    display: none;
  }
  .menu-button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 7px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a,
  .nav-links a:first-child {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 0;
  }
  .nav-links a:hover,
  .nav-links a.active {
    box-shadow: none;
    padding-left: 8px;
  }
  .layout {
    grid-template-columns: 1fr;
    padding-top: 20px;
    gap: 0;
  }
  .box {
    padding: 20px;
    margin-bottom: 17px;
  }
  .box h2 {
    font-size: 20px;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-columns > div:first-child {
    grid-column: span 2;
  }
}
@media (max-width: 440px) {
  .journal-name h1 {
    font-size: 18px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-columns > div:first-child {
    grid-column: auto;
  }
  .copyright .container {
    display: block;
  }
}
.box p {
  text-align: justify;
}

/* Scholaria Journal Maintenance Ticker */
.maintenance-ticker {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  overflow: hidden;
  background: #102741;
  color: #ffffff;
  border-bottom: 3px solid #c49a45;
  font-family: Arial, Helvetica, sans-serif;
}

.ticker-label {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  padding: 12px 18px;
  background: #c49a45;
  color: #102741;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.ticker-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scholaria-scroll 35s linear infinite;
}

.ticker-track span {
  flex-shrink: 0;
  padding-right: 70px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.5;
}

.maintenance-ticker:hover .ticker-track,
.maintenance-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

@keyframes scholaria-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Mobile responsive styling */
@media (max-width: 600px) {
  .maintenance-ticker {
    min-height: 42px;
  }

  .ticker-label {
    padding: 11px 9px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .ticker-track span {
    font-size: 12px;
    padding-right: 40px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    width: 100%;
  }

  .ticker-track span {
    display: none;
  }

  .ticker-track span:first-child {
    display: block;
    white-space: normal;
    padding: 10px 12px;
  }

  .ticker-window {
    overflow: visible;
  }
}
/* Scholaria Current Issue page — simple styling, no animation */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #f5f7fa;
}

.page-container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 18px;
}

.current-issue {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.current-issue h2 {
  margin: 0 0 20px;
  color: #17365d;
}

.current-issue h3 {
  margin: 28px 0 16px;
  padding-bottom: 8px;
  color: #17365d;
  border-bottom: 2px solid #c39a45;
}

.issue-info {
  padding: 14px 18px;
  background: #f7f9fc;
  border: 1px solid #e1e6ed;
  border-radius: 5px;
}

.issue-info p {
  margin: 8px 0;
}

.current-article {
  margin: 18px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dddddd;

  border-radius: 5px;
}

.current-article h4 {
  margin: 0 0 16px;
  color: #17365d;
  font-size: 1.05rem;
  line-height: 1.6;
}

.current-article p {
  margin: 9px 0;
  overflow-wrap: anywhere;
}

.current-article a {
  color: #17365d;
}

.article-abstract {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid #eeeeee;
}

@media (max-width: 600px) {
  .page-container {
    margin: 18px auto;
    padding: 0 12px;
  }

  .current-issue {
    padding: 16px;
  }

  .current-article {
    padding: 15px;
  }

  .current-article h4 {
    font-size: 1rem;
  }
}

/* Paper download button */
.download-button {
  display: inline-block;
  margin-top: 16px;
  padding: 1px 18px;
  background: #17365d;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid #17365d;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.download-button:hover {
  background: #c39a45;
  border-color: #c39a45;
  color: #ffffff !important;
}

.published-issue {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dddddd;
  border-left: 4px solid #17365d;
  border-radius: 6px;
  background: #ffffff;
}

.published-issue h3 {
  color: #17365d;
  margin-top: 0;
  margin-bottom: 16px;
}

.published-issue ul {
  padding-left: 22px;
}

.published-issue li {
  margin-bottom: 14px;
  line-height: 1.7;
}

.published-issue a {
  display: inline-block;
  margin-left: 8px;
  color: #17365d;
  font-weight: 600;
  text-decoration: none;
}

.published-issue a:hover {
  text-decoration: underline;
}

.published-issues {
  width: 100%;
}

.issue-section {
  margin-top: 28px;
}

.issue-section h3 {
  color: #17365d;
  border-left: 4px solid #c39a45;
  padding: 10px 14px;
  background: #f5f7fa;
  margin-bottom: 16px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.papers-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.papers-table th {
  background: #17365d;
  color: #fff;
  text-align: left;
  padding: 13px 12px;
}

.papers-table td {
  padding: 13px 12px;
  border: 1px solid #e0e0e0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.papers-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.papers-table td a:not(.download-btn) {
  color: #17365d;
  text-decoration: none;
}

.download-btn {
  display: inline-block;
  background: #17365d;
  color: #fff;
  padding: 2px 13px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.download-btn:hover {
  background: #c39a45;
  color: #10233d;
}

@media (max-width: 768px) {
  .papers-table {
    min-width: 850px;
  }
}
