/* Component styles only. The theme owns the surrounding page and typography. */
.vth-listing {
  --vth-ink: #003c69;
  --vth-accent: #d55c19;
  --vth-mist: #edf3f7;
  color: inherit;
  font: inherit;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.vth-listing,
.vth-listing * {
  box-sizing: border-box;
}
.vth-listing :is(h2, h3, p, dl) {
  margin: 0 0 1rem;
  padding: 0;
  overflow-wrap: anywhere;
}
.vth-listing h2 {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.25;
  color: inherit;
}
.vth-listing h3 {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.3;
  color: inherit;
}
.vth-listing a {
  text-underline-offset: 0.2em;
}
.vth-listing :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #fff;
}
.vth-listing .vth-section-head {
  margin-bottom: 1rem;
}
.vth-listing .vth-status-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9em;
}
.vth-listing .vth-notice {
  padding: 1rem;
  border: 2px solid #956000;
  background: #fff5df;
  color: #332400;
}
.vth-listing .vth-notice a {
  color: inherit;
  text-decoration: underline;
}
.vth-listing .vth-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.vth-listing .vth-filters label {
  display: block;
  font-weight: 600;
  min-width: 0;
}
.vth-listing .vth-filters :is(input, select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0.35rem 0 0;
  padding: 0.65rem;
  border: 1px solid #687680;
  border-radius: 0;
  background: #fff;
  color: #202830;
  font: inherit;
}
.vth-listing .vth-result-count {
  font-size: 0.9em;
}
.vth-listing .vth-tender-grid {
  display: grid;
  grid-template-columns: repeat(var(--vth-columns, 3), minmax(0, 1fr));
  gap: var(--vth-gap, 24px);
  align-items: stretch;
}
.vth-listing .vth-tender {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #b7c4cc;
  border-top: 4px solid var(--vth-ink);
  border-radius: var(--vth-card-radius, 0);
  background: #fff;
  color: #202830;
}
.vth-listing.vth-equal-0 .vth-tender-grid,
.vth-listing .vth-tender-grid:has(details[open]) {
  align-items: start;
}
.vth-listing .vth-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.vth-listing .vth-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #e7f1e9;
  color: #174829;
  font-weight: 700;
  font-size: 0.85em;
}
.vth-listing .vth-badge--soon {
  background: #fff0d0;
  color: #663c00;
}
.vth-listing .vth-id {
  font-size: 0.85em;
}
.vth-listing .vth-dates {
  margin-bottom: 1rem;
}
.vth-listing .vth-dates > div {
  margin-bottom: 0.6rem;
}
.vth-listing .vth-dates dt {
  font-size: 0.9em;
  font-weight: 600;
}
.vth-listing .vth-dates dd {
  margin: 0;
}
.vth-listing .vth-details {
  margin: 0 0 1rem;
}
.vth-listing .vth-details summary {
  cursor: pointer;
  min-height: 44px;
  padding: 0.6rem 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.vth-listing .vth-details > div {
  padding: 0.5rem 0 0;
}
.vth-listing .vth-card-action {
  margin-top: auto;
  padding-top: 0.5rem;
}
.vth-listing.vth-anchor-content .vth-card-action {
  margin-top: 0;
}
.vth-listing .vth-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 48px;
  padding: var(--vth-button-padding, 14px);
  border: 2px solid var(--vth-button, #d55c19);
  border-radius: var(--vth-button-radius, 0);
  background: var(--vth-button, #d55c19);
  color: var(--vth-button-text, #000) !important;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.vth-listing .vth-card-action .vth-button {
  width: 100%;
}
.vth-listing .vth-button:hover {
  text-decoration: underline;
}
.vth-listing .vth-button--outline {
  background: #fff;
  color: var(--vth-ink) !important;
  border-color: var(--vth-ink);
}
.vth-listing .vth-button--dark {
  background: var(--vth-ink);
  color: #fff !important;
  border-color: var(--vth-ink);
}
.vth-listing .vth-empty {
  border: 1px solid #b7c4cc;
  padding: 1.25rem;
}
.vth-listing .vth-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.vth-listing .vth-pagination :is(a, span[aria-current]) {
  min-width: 44px;
  min-height: 44px;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid #687680;
}
.vth-listing .vth-pagination [aria-current] {
  background: var(--vth-ink);
  color: #fff;
}
.vth-listing .vth-fine-print {
  margin: 1rem 0;
  font-size: 0.85em;
}
.vth-listing .vth-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.vth-listing.vth-layout-list .vth-tender-grid,
.vth-listing.vth-layout-featured .vth-tender-grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 850px) {
  .vth-listing .vth-tender-grid {
    grid-template-columns: repeat(var(--vth-small-columns, 2), minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .vth-listing .vth-tender-grid,
  .vth-listing .vth-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}
@supports (container-type: inline-size) {
  .vth-listing {
    container-type: inline-size;
  }
  @container (max-width:760px) {
    .vth-listing .vth-tender-grid {
      grid-template-columns: repeat(
        var(--vth-small-columns, 2),
        minmax(0, 1fr)
      );
    }
  }
  @container (max-width:540px) {
    .vth-listing .vth-tender-grid,
    .vth-listing .vth-filters {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}
/* Same bounded component approach as Events; higher specificity for page builders. */
.vth-listing.vth-component {
  font-family: inherit;
  font-size: var(--vth-font-size, 16px);
  color: var(--vth-text, #262626);
}
.vth-listing.vth-component .vth-tender {
  background: var(--vth-card, #fffdf9) !important;
  border: 1px solid var(--vth-line, #ded8ca) !important;
  border-radius: var(--vth-card-radius, 0) !important;
  color: var(--vth-text, #262626) !important;
  padding: 1rem;
}
.vth-listing.vth-component .vth-tender h3 {
  font-family: inherit !important;
  color: var(--vth-heading, #244b71) !important;
  font-size: 1.15em !important;
  line-height: 1.3;
  font-weight: 750;
  padding: 0;
}
.vth-listing.vth-component .vth-tender :is(p, dl, dt, dd, summary) {
  font-family: inherit;
  line-height: 1.5;
  color: inherit;
}
.vth-listing.vth-component .vth-tender p {
  font-size: 1em;
}
.vth-listing.vth-component .vth-card-action .vth-button {
  background: var(--vth-button, #d55c19) !important;
  color: var(--vth-button-text, #000) !important;
  border-color: var(--vth-button, #d55c19) !important;
  border-radius: var(--vth-button-radius, 0) !important;
  font-size: 1em;
  padding: var(--vth-button-padding, 14px) !important;
}
/* Instance-generated rules own the breakpoints and minimum widths. */
.vth-listing .vth-scroll-nav { gap:.6rem;justify-content:flex-end;margin:.5rem 0; }
.vth-listing .vth-scroll-nav button { width:44px;height:44px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:0; }
.vth-listing .vth-scroll-nav button:disabled { opacity:.35;cursor:default; }
.vth-listing .vth-tender-grid:focus-visible { outline:2px solid currentColor;outline-offset:3px; }
.vth-listing.vth-component .vth-card-action { padding-top:var(--vth-button-offset,16px); }
.vth-listing.vth-component .vth-card-action .vth-button { padding:var(--vth-button-y,14px) var(--vth-button-x,14px) !important; }
.vth-listing .vth-card-credit { font-size:.8em;margin:.75rem 0 0;padding-top:.5rem;border-top:1px solid var(--vth-line,#ded8ca); }
.vth-listing .vth-card-shell { display:flex;flex-direction:column;flex:1;min-width:0; }
.vth-listing .vth-card-content { display:flex;flex-direction:column;flex:1;min-width:0; }
.vth-listing .vth-card-image { min-width:0;overflow:hidden;margin-bottom:1rem; }
.vth-listing .vth-card-image img,.vth-listing .vth-local-image { display:block;width:100%;height:auto;max-width:100%; }
.vth-listing .vth-local-note { margin-bottom:1rem; }
/* Keep absolute screen-reader labels inside their scrolling card's containing block. */
.vth-listing .vth-tender { position:relative; }
