/* OpenMoss Lab Styles - Based on Stanford NLP Design */

/* Color Scheme - Blue theme for OpenMoss Lab */
:root {
  --primary-color: rgba(14, 65, 156, 1);
  --primary-dark: rgba(10, 50, 120, 1);
  --accent-color: rgba(14, 65, 156, 0.8);
  --text-color: #2e2d29;
  --text-light: #5e5e5e;
  --bg-light: #f7f7f7;
  --bg-highlight: #fafafa;
  --border-color: #e0e0e0;
}

/* Base Typography */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

h1 { font-size: 36px; }
h2 {
  font-size: 28px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-top: 40px;
}
h3 { font-size: 22px; margin-top: 30px; }
h4 { font-size: 18px; margin-top: 25px; }

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Layout Containers */
.widewrapper {
  width: 100%;
  overflow: hidden;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.content {
  padding: 40px 0;
}

/* Navigation Bar */
.grove-navbar {
  background-color: transparent;
  border-bottom: none;
  margin-bottom: 0;
  min-height: 90px;
}

.grove-navbar .container {
  background-color: #fff;
  border-bottom: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  min-height: 90px;
}

.navbar-header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  height: auto;
  display: flex;
  align-items: center;
}

/* Logo sizing - 2x larger (84px) */
img.logo-brand {
  height: 60px !important;
  width: auto !important;
  margin: 0 15px 0 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.navbar-brand h3 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0 !important;
  line-height: 1.2;
  display: inline-block;
  vertical-align: middle;
}

.navbar-collapse {
  flex: 1 1 auto;
}

.grove-navbar .navbar-collapse {
  display: flex !important;
  justify-content: flex-end !important;
  flex-direction: row !important;
}

.grove-navbar .navbar-nav {
  float: right !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
}

.grove-navbar .navbar-nav > li {
  display: inline-block;
  float: none;
}

.grove-navbar .navbar-nav > li > a {
  color: var(--text-color);
  font-size: 15px;
  font-weight: 600;
  padding: 15px;
  text-transform: lowercase;
  display: inline-block;
  line-height: 1.2;
}

.grove-navbar .navbar-nav > li > a:hover,
.grove-navbar .navbar-nav > li.active > a {
  color: var(--primary-color);
  background-color: transparent;
}

/* Force navbar to display on desktop */
@media (min-width: 768px) {
  .grove-navbar .navbar-collapse.collapse {
    display: flex !important;
    height: auto !important;
    overflow: visible !important;
  }
}

.grove-toggle {
  margin-top: 23px;
}

/* Page Title Section */
.pagetitle {
  background: radial-gradient(ellipse at center, rgba(14, 65, 156, 0.85) 0%, rgba(14, 65, 156, 1) 100%);
  padding: 30px 0;
  margin-bottom: 0;
}

.pagetitle .container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.pagetitle h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  padding-left: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.weak-highlight {
  background-color: #fff;
}

.weak-highlight .container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  margin-bottom: 40px;
}

/* Lists */
ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

ul ul {
  list-style-type: circle;
  margin-top: 10px;
}

li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.grove-list {
  list-style: none;
  padding-left: 0;
}

.grove-list li {
  margin-bottom: 10px;
}

/* People Cards */
.person-card {
  background-color: var(--bg-highlight);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
  min-height: 120px;
}

.person-card h4 {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 8px;
}

.person-card p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

/* Images */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-thumbnail {
  padding: 4px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.center-block {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.widewrapper.footer {
  background-color: var(--text-color);
  margin-top: 60px;
  padding: 40px 0;
}

.footer .container {
  color: #fff;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer .grove-list li {
  margin-bottom: 8px;
}

.indent30 {
  padding-left: 0;
}

.footer .small {
  font-size: 13px;
  line-height: 1.8;
}

/* Info Block */
.info {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand h3 {
    font-size: 16px;
  }

  .pagetitle h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .content {
    padding: 20px 0;
  }

  .person-card {
    min-height: auto;
  }
}

/* Utility classes */
.hidden-xs {
  display: block;
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
  .hidden-sm, .hidden-md, .hidden-lg, .hidden-xl {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .hidden-sm, .hidden-md, .hidden-lg, .hidden-xl {
    display: none !important;
  }
}

/* Paragraphs in content */
section p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Strong emphasis */
strong {
  font-weight: 600;
  color: var(--text-color);
}

/* Horizontal rules */
hr {
  border: 0;
  border-top: 2px solid var(--border-color);
  margin: 40px 0;
}

/* Code blocks (if needed) */
code {
  background-color: var(--bg-light);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
}

pre {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 15px;
  overflow-x: auto;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin-left: 0;
  color: var(--text-light);
  font-style: italic;
}

/* Tables */
table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

table th {
  background-color: var(--bg-light);
  font-weight: 600;
  padding: 12px;
  border: 1px solid var(--border-color);
}

table td {
  padding: 10px;
  border: 1px solid var(--border-color);
}

table tr:nth-child(even) {
  background-color: var(--bg-highlight);
}
