/* Inner journal information pages */

.nla-ji-bar {
  background: var(--jp-green-deep, #0f3d1f);
  color: #fff;
  padding: 0.65rem 0;
  border-bottom: 3px solid var(--jp-gold, #c9a227);
}
.nla-ji-bar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.nla-ji-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.95rem;
}
.nla-ji-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.nla-ji-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  font-size: 0.9rem;
  min-width: 0;
}
.nla-ji-nav > a,
.nla-ji-more-btn {
  color: #d8f0dc !important;
  text-decoration: none !important;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.65rem;
  border-radius: 0.3rem;
  line-height: 1.2;
  background: transparent;
  border: 0;
}
.nla-ji-nav > a:hover,
.nla-ji-nav > a.is-active,
.nla-ji-more-btn:hover,
.nla-ji-more-btn:focus,
.nla-ji-more-btn.is-active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none !important;
}
.nla-ji-more { display: flex; align-items: center; }
.nla-ji-more-menu {
  min-width: 13rem;
  border: 1px solid #d5ddd6;
  border-radius: 0.4rem;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 61, 31, 0.12);
  padding: 0.35rem;
}
.nla-ji-more-menu .dropdown-item {
  border-radius: 0.3rem;
  font-weight: 600;
  color: #1a1f1c;
}
.nla-ji-more-menu .dropdown-item:hover,
.nla-ji-more-menu .dropdown-item:focus,
.nla-ji-more-menu .dropdown-item.active {
  background: var(--jp-green, #1b5e20);
  color: #fff;
}
.nla-ji-chapter {
  margin-left: 0.35rem;
  padding-left: 0.85rem !important;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
@media (max-width: 991.98px) {
  .nla-ji-bar-inner { flex-wrap: wrap; }
  .nla-ji-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }
}

.nla-ji-hero {
  background: #fff;
  border-bottom: 1px solid #d5ddd6;
  padding: 1.75rem 0 1.5rem;
}
.nla-ji-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #5a635c;
}
.nla-ji-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1f1c;
  letter-spacing: -0.02em;
}
.nla-ji-lead {
  margin: 0;
  max-width: 42rem;
  color: #4a554e;
  font-size: 1.05rem;
}

.nla-ji-body {
  padding: 1.75rem 0 2.75rem;
}
.nla-ji-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .nla-ji-grid { grid-template-columns: 1fr; }
}

.nla-ji-main {
  background: #fff;
  border: 1px solid #d5ddd6;
  border-radius: 0.4rem;
  padding: 1.35rem 1.5rem 1.6rem;
}
.nla-ji-main h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jp-green-deep, #14532d);
}
.nla-ji-main h2:first-child { margin-top: 0; }
.nla-ji-main h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.nla-ji-main p,
.nla-ji-main li {
  color: #2a322d;
  line-height: 1.6;
}
.nla-ji-main ul,
.nla-ji-main ol {
  padding-left: 1.25rem;
  margin: 0.4rem 0 0.85rem;
}
.nla-ji-main li { margin-bottom: 0.35rem; }

.nla-ji-aside {
  background: #f4f7f4;
  border: 1px solid #d5ddd6;
  border-radius: 0.4rem;
  padding: 1.1rem 1.15rem;
}
.nla-ji-aside h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5a635c;
}
.nla-ji-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nla-ji-aside li { margin-bottom: 0.45rem; }
.nla-ji-aside a { font-weight: 600; font-size: 0.92rem; }

.nla-ji-steps {
  counter-reset: ji-step;
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
}
.nla-ji-steps li {
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 3rem;
  border: 1px solid #d5ddd6;
  border-radius: 0.35rem;
  margin-bottom: 0.55rem;
  background: #fafcfa;
}
.nla-ji-steps li::before {
  counter-increment: ji-step;
  content: counter(ji-step);
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--jp-green, #1b5e20);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nla-ji-steps strong { display: block; margin-bottom: 0.2rem; color: var(--jp-green-deep, #14532d); }

.nla-ji-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 0.75rem 0 1rem;
}
.nla-ji-table th,
.nla-ji-table td {
  border: 1px solid #d5ddd6;
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.nla-ji-table th {
  background: #eef5ef;
  color: var(--jp-green-deep, #14532d);
  font-weight: 700;
}

.nla-ji-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
}
.nla-ji-card {
  display: block;
  border: 1px solid #d5ddd6;
  border-radius: 0.35rem;
  padding: 0.9rem 1rem;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.nla-ji-card:hover {
  border-color: var(--jp-green, #1b5e20);
  box-shadow: 0 0.35rem 1rem rgba(20, 83, 45, 0.08);
}
.nla-ji-card strong {
  display: block;
  color: var(--jp-green-deep, #14532d);
  margin-bottom: 0.25rem;
}
.nla-ji-card span {
  font-size: 0.9rem;
  color: #5a635c;
}

.nla-ji-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.nla-ji-covers {
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d5ddd6;
}
.nla-ji-covers > p {
  margin: 0 0 1rem;
  color: #4a554e;
}
.nla-ji-covers-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: end;
}
@media (max-width: 640px) {
  .nla-ji-covers-row { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
}
.nla-ji-cover {
  margin: 0;
  text-align: center;
}
.nla-ji-cover a {
  display: block;
  text-decoration: none !important;
  outline-offset: 3px;
}
.nla-ji-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d5ddd6;
  box-shadow: 0 0.45rem 1.25rem rgba(15, 61, 31, 0.12);
  background: #eef2ef;
}
.nla-ji-cover a:hover img,
.nla-ji-cover a:focus-visible img {
  box-shadow: 0 0.55rem 1.5rem rgba(15, 61, 31, 0.2);
}
.nla-ji-cover figcaption {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5a635c;
}
