/* NLA Borno Scholar — professional repository presentation */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,550;9..144,700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

.gs-body {
  --gs-blue: #1b5e20;
  --gs-link: #14532d;
  --gs-green: #1b5e20;
  --gs-text: #1a1f1c;
  --gs-muted: #5a635c;
  --gs-border: #d5ddd6;
  --gs-mark: #efe0a3;
  --gs-gold: #c9a227;
  --gs-soft: #eef5ef;
  background:
    radial-gradient(900px 320px at 50% -40px, rgba(46, 125, 50, 0.08), transparent 70%),
    #fafcfa;
  color: var(--gs-text);
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 70vh;
}

.gs-body a { color: var(--gs-link); text-decoration: none; }
.gs-body a:visited { color: #2e5c38; }
.gs-body a:hover { text-decoration: underline; }

.gs-wrap {
  width: 100%;
  max-width: none; /* full page width — Bootstrap container-fluid */
  margin: 0 auto;
  padding: 0 1rem 3rem;
}
@media (min-width: 576px) {
  .gs-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 992px) {
  .gs-wrap { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1400px) {
  .gs-wrap { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.gs-home {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 40px 0 32px;
  text-align: center;
}

.gs-home-form {
  width: 100%;
  max-width: none;
}

.gs-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--gs-green);
  line-height: 1.15;
}
.gs-logo-sub {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--gs-muted);
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.gs-brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0.4rem 1rem rgba(27, 94, 32, 0.18);
  margin: 0 auto 1rem;
  background: #fff;
  align-self: center;
}

.gs-search-shell {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--gs-border);
  border-radius: 999px;
  background: #fff;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 0.25rem 0.85rem rgba(20, 83, 45, 0.06);
}
.gs-search-shell:focus-within {
  border-color: var(--gs-green);
  box-shadow: 0 0.35rem 1.1rem rgba(27, 94, 32, 0.14);
}
.gs-search-shell input[type="search"],
.gs-search-shell input[type="text"] {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 13px 8px 13px 22px;
  font-size: 16px;
  color: var(--gs-text);
  min-width: 0;
  font-family: inherit;
}
.gs-search-shell button[type="submit"] {
  border: 0;
  background: transparent;
  color: var(--gs-green);
  padding: 0 20px;
  cursor: pointer;
  font-size: 1.1rem;
}

.gs-home-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.gs-btn-plain {
  background: #fff;
  border: 1px solid var(--gs-border);
  border-radius: 0.35rem;
  color: var(--gs-text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gs-btn-plain:hover,
.gs-btn-plain:visited {
  color: var(--gs-green);
  border-color: rgba(27, 94, 32, 0.35);
  background: var(--gs-soft);
  text-decoration: none !important;
}
.gs-home-links {
  margin-top: 28px;
  font-size: 13px;
  color: var(--gs-muted);
}
.gs-home-links a { margin: 0 6px; }

.gs-recent-block {
  margin-top: 40px;
  text-align: left;
  max-width: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--gs-border);
  border-radius: 0.4rem;
  padding: 1.15rem 1.35rem 0.5rem;
  box-shadow: 0 0.35rem 1.1rem rgba(20, 83, 45, 0.05);
}
.gs-recent-block h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 650;
  color: var(--gs-green);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.gs-results-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  align-items: center;
  padding: 20px 0 14px;
  border-bottom: 2px solid var(--gs-soft);
  margin-bottom: 8px;
}
.gs-results-head .gs-logo-sm {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  text-decoration: none !important;
  color: var(--gs-green) !important;
  grid-row: 1;
  grid-column: 1;
}
.gs-results-head .gs-logo-sm:visited { color: var(--gs-green) !important; }
.gs-results-head .gs-search-shell {
  max-width: none;
  width: 100%;
  grid-row: 1;
  grid-column: 2;
}
.gs-results-head .gs-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-row: 2;
  grid-column: 2;
}
@media (max-width: 700px) {
  .gs-results-head {
    grid-template-columns: 1fr;
  }
  .gs-results-head .gs-logo-sm,
  .gs-results-head .gs-search-shell,
  .gs-results-head .gs-filter-row {
    grid-column: 1;
  }
  .gs-results-head .gs-logo-sm { grid-row: 1; }
  .gs-results-head .gs-search-shell { grid-row: 2; }
  .gs-results-head .gs-filter-row { grid-row: 3; }
}
.gs-filter-row select,
.gs-filter-row input[type="number"] {
  border: 1px solid var(--gs-border);
  border-radius: 0.3rem;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--gs-text);
  background: #fff;
  max-width: 160px;
  font-family: inherit;
}
.gs-date-pair { display: none; gap: 8px; align-items: center; }
.gs-date-pair.is-open { display: flex; }

.gs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem 2.5rem;
  padding-top: 12px;
  align-items: start;
}
@media (max-width: 860px) {
  .gs-layout { grid-template-columns: 1fr; }
}

.gs-sidebar h2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gs-muted);
  margin: 0 0 10px;
}
.gs-sidebar ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.gs-sidebar li { margin: 0 0 6px; }
.gs-sidebar a,
.gs-sidebar button.gs-side-link {
  color: var(--gs-text);
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  text-align: left;
}
.gs-sidebar a:visited { color: var(--gs-text); }
.gs-sidebar a.is-active,
.gs-sidebar button.gs-side-link.is-active {
  font-weight: 700;
  color: var(--gs-green);
}
.gs-sidebar .gs-side-meta {
  font-size: 12px;
  color: var(--gs-muted);
  margin-bottom: 16px;
}

.gs-stats {
  color: #70757a;
  font-size: 13px;
  margin: 0 0 14px;
}

.gs-result {
  margin: 0 0 22px;
  max-width: none;
  width: 100%;
}
.gs-result-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 2px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
}
.gs-result-title a { color: var(--gs-link); }
.gs-result-title a:visited { color: #2e5c38; }
.gs-result-meta {
  color: #3d7a45;
  font-size: 13px;
  margin: 0 0 2px;
  word-break: break-word;
}
.gs-result-snippet {
  color: var(--gs-muted);
  font-size: 13px;
  margin: 0 0 4px;
}
.gs-result-actions {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  align-items: center;
}
.gs-result-actions a,
.gs-result-actions button {
  color: #6b6b6b;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.gs-result-actions a:visited { color: #6b6b6b; }
.gs-result-actions a:hover,
.gs-result-actions button:hover {
  color: #202124;
  text-decoration: underline;
}

.gs-cite-panel {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  background: #f8f9fa;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  font-size: 12px;
}
.gs-cite-panel.is-open { display: block; }
.gs-cite-panel select {
  font-size: 12px;
  margin-bottom: 8px;
  max-width: 140px;
}
.gs-cite-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  line-height: 1.4;
  display: block;
  margin-bottom: 8px;
  color: var(--gs-text);
}
.gs-cite-copy { font-size: 12px !important; color: var(--gs-green) !important; }

.gs-body mark {
  background: var(--gs-mark);
  color: inherit;
  padding: 0 1px;
}

.gs-empty {
  color: var(--gs-muted);
  padding: 24px 0;
  max-width: none;
}
.gs-empty strong { color: var(--gs-text); }

.gs-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 28px 0 8px;
  font-size: 14px;
}
.gs-pager a,
.gs-pager span {
  min-width: 28px;
  text-align: center;
  padding: 4px 6px;
}
.gs-pager .is-current {
  color: #ea4335;
  font-weight: 700;
}
.gs-pager .is-disabled { color: #bdc1c6; pointer-events: none; }

.gs-alert {
  background: #fce8e6;
  color: #c5221f;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 13px;
}
