:root {
  --page-inline-padding: 1.5rem;
}

body {
  font-family: system-ui, sans-serif;
}

header, main {
  padding-inline: var(--page-inline-padding);
}

header {
  padding-block: 1rem;
}

pre {
  background: #f4f4f4;
  padding: 1rem;
  max-height: 400px;
  overflow: auto;
}

.subhead5 {
  margin_bottom: 0.5rem;
  font-style: italic;
  font-size: small;
}

.nav-pills-sm .nav-link {
  padding: 0.25rem 0.5rem;   /* default is ~0.5rem 1rem */
  font-size: 0.875rem;      /* same size Bootstrap uses for .btn-sm */
  line-height: 1.2;
}

.nav-item .nav-link {
  border: gainsboro 1px solid;
}
/*.nav-tabs {*/
/*    --bs-nav-link-padding-x: 0.6rem;*/
/*    --bs-nav-link-padding-y: 0.4rem;*/
/*}*/

.nav-tabs .nav-link {
    padding: 0.6rem;
}

.breadcrumb-item .breadcrumb-item active{
  font-size: 0.7rem !important;
}

.edop-subtitle {
  font-size: 1rem;
  white-space: nowrap;
  padding: 2px;
}

#soc_blurb {
  font-size: smaller;
}

.red-subhead {
  color: #993333;
}

/* Computing Place splash tiles */
.cp-tiles {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cp-tile {
  display: block;
  width: 220px;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #f9f9f9;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.cp-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.cp-tile-info {
  padding: 0.75rem 0.5rem;
}

.cp-tile-label {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.cp-tile-active {
  border-color: #4a7c59;
  cursor: pointer;
}

.cp-tile-active:hover {
  border-color: #3a6248;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cp-tile-disabled {
  opacity: 0.55;
  cursor: default;
  border-color: #ddd;
}