/* Kilgen opus list pages — layered on nicepage.css.
   Colors are taken from the Kilgen shield: heraldic navy for links,
   old gold as a hairline accent. Swap the variables to retune. */

.opus-section, .opus-hero + .opus-section {
  --opus-link:       #1f4670;   /* shield navy */
  --opus-link-hover: #0b3560;
  --opus-gold:       #a07830;   /* shield gold */
  --opus-gold-pale:  #f4ecd8;
  --opus-rule:       #d9d9d9;
  --opus-rule-soft:  #ebebeb;
  --opus-bg:         #f6f6f6;
}
.opus-section a { color: var(--opus-link); text-decoration: none; }
.opus-section a:hover { color: var(--opus-link-hover); text-decoration: underline; }

.opus-hero {
  background-position: 50% 50%;
  background-size: cover;
  min-height: 204px;
}
@media (max-width: 991px) { .opus-hero { min-height: 129px; } }
@media (max-width: 575px) { .opus-hero { min-height: 61px; } }

.opus-section { padding: 30px 0 50px; }
.opus-section .u-sheet { text-align: left; }

.opus-h1 { font-family: 'Open Sans',sans-serif;	text-shadow: 2px 2px 8px rgba(0,0,0,0.4);font-size: 2.25rem; font-weight: 500; margin: 20px 0 6px; }
.opus-h2 { font-size: 1.375rem; font-weight: 500; margin: 36px 0 6px; }
.opus-intro { max-width: 720px; margin: 0 0 20px; color: #333; }
.opus-kicker { font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: #666; margin: 20px 0 0; }
.opus-place { font-size: 1.125rem; color: #333; margin: 0 0 12px; }
.opus-crumb { font-size: 0.875rem; margin: 0; color: #666666; }
.opus-muted { color: #808080; }
.opus-fine { font-size: 0.875rem; color: #666666; margin-top: 30px; }
.opus-count { margin: 16px 0 8px; color: #333; }
.opus-flag {
  display: inline-block; font-size: 0.75rem; text-transform: none; letter-spacing: 0;
  background: var(--opus-gold-pale); color: #6b4f1a; border: 1px solid var(--opus-gold); border-radius: 3px; padding: 1px 6px; margin-left: 8px;
}

/* search form */
.opus-form { background: var(--opus-bg); border: 1px solid var(--opus-rule); border-radius: 4px; padding: 16px 20px; }
.opus-form-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.opus-form label { display: flex; flex-direction: column; font-size: 0.8125rem; color: #666666; gap: 4px; }
.opus-form label:first-child { flex: 1 1 260px; }
.opus-form input, .opus-form select {
  font: inherit; font-size: 0.9375rem; padding: 7px 10px; border: 1px solid #b3b3b3; border-radius: 3px; background: #fff; color: #111;
}
.opus-form input[type="search"] { width: 100%; }
.opus-form input[type="number"] { width: 90px; }
.opus-form input[name="job"] { width: 90px; }
.opus-btn.u-btn { margin: 0; padding: 9px 26px; border-radius: 3px; background-color: #333333 !important; color: #fff !important; }
.opus-btn.u-btn:hover { background-color: #111111 !important; }
.opus-clear { align-self: center; font-size: 0.875rem; }

/* results table */
.opus-table-wrap { overflow-x: auto; }
.opus-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.opus-table th, .opus-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--opus-rule-soft); }
.opus-table th { font-weight: 600; color: #333; background: var(--opus-bg); border-bottom: 2px solid var(--opus-gold); white-space: nowrap; }
.opus-table th a { color: inherit; }
.opus-table tbody tr:hover { background: var(--opus-bg); }
.opus-table .num { text-align: right; }
.opus-table .opus-num { white-space: nowrap; font-weight: 600; }
.opus-table .opus-notes { color: #454545; font-size: 0.875rem; }
.opus-table-related { margin-top: 8px; }
.opus-why { display: block; font-size: 0.75rem; color: #808080; }

/* detail page */
.opus-detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.opus-prevnext { display: flex; gap: 20px; padding-bottom: 14px; white-space: nowrap; }
.opus-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 10px 0 0; max-width: 820px;
  border-top: 2px solid var(--opus-gold); padding-top: 16px; }
.opus-facts dt { font-weight: 600; color: #333; }
.opus-facts dd { margin: 0; }

.opus-pager { display: flex; gap: 20px; align-items: center; margin: 18px 0; font-size: 0.9375rem; }
.opus-pager-top { margin: 4px 0 10px; }
.opus-pager span { color: #666; }

@media (max-width: 575px) {
  .opus-facts { grid-template-columns: 1fr; gap: 2px; }
  .opus-facts dt { margin-top: 10px; }
  .opus-table .opus-notes { min-width: 220px; }
}
