/* Shared search and recent businesses. All rules stay inside the guide widgets. */
.dc-latest, .dc-temporal, .dc-search-welcome, .dc-latest-frame {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #102e49;
  text-align: start;
}
.dc-latest, .dc-temporal, .dc-search-welcome {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
}
.dc-latest {
  padding: clamp(28px, 5vw, 58px) 0;
}
.dc-latest h2, .dc-archive h1, .dc-search-welcome h1 {
  margin: 0 0 1rem;
  font-weight: 520;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: #102e49;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.dc-latest h2 a {
  color: inherit;
  text-decoration: none;
}
.dc-latest h2 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.dc-latest-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 5);
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  margin: 0;
  padding: 4px 0 12px;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #aec0ca transparent;
}
.dc-latest-row > li { min-width: 0; display: flex; padding: 0; margin: 0; scroll-snap-align: start; }
.dc-latest-row a.dc-latest-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: white;
  color: #102e49;
  border: 1px solid #d9e1e6;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}
.dc-latest-row a.dc-latest-card:hover { border-color: #bf622d; }
.dc-latest-photo { display: block; height: clamp(86px, 8vw, 115px); background: #e7eff2; }
.dc-latest-row .dc-latest-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 38%; }
.dc-latest-text { display: grid; gap: 4px; padding: 10px 12px 12px; }
.dc-latest-text small { font-size: .74rem; line-height: 1.25; color: #805024; }
.dc-latest-text strong { font-size: .97rem; font-weight: 580; line-height: 1.25; overflow-wrap: anywhere; }
.dc-latest-text > span { color: #516779; font-size: .81rem; line-height: 1.35; }
.dc-latest iframe { display:block; width:100%; height:245px; border:0; }
.dc-latest-frame { margin:0; background:transparent; }
.dc-search-welcome { padding: 2.5rem 0; }
body.dc-query-open .dc-search-welcome { display:none; }
.dc-search-choice { margin:1rem 0 0; }
.dc-temporal { padding:1.1rem 0 2rem; scroll-margin-top:5.5rem; }
.dc-temporal-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dc-temporal-top h2 { font-size:clamp(1.2rem, 2vw, 1.55rem); font-weight:550; color:#102e49; margin:0; }
.dc-temporal-status { margin:.5rem 0 .9rem; color:#445e73; font-size:.94rem; }
.dc-temporal button, .dc-temporal-pages a, .dc-search-choice button, .dc-temporal-categories a {
  appearance:none; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  min-height:42px; padding:.5rem .85rem; margin:0; background:white; border:1px solid #b5c4cd;
  border-radius:24px; color:#173a53; font:500 .94rem/1.25 system-ui,sans-serif; text-decoration:none; cursor:pointer;
}
.dc-search-choice button { color:white; background:#123852; border-color:#a0b6c3; }
.dc-temporal button:hover, .dc-temporal-pages a:hover, .dc-temporal-categories a:hover, .dc-search-choice button:hover { border-color:#b8511e; color:#8b390d; background:#fff8f4; }
.dc-temporal button:focus-visible, .dc-latest a:focus-visible, .dc-search-choice button:focus-visible { outline:3px solid #d56b28; outline-offset:1px; }
.dc-temporal-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr)); gap:12px; }
.dc-temporal-card { box-sizing:border-box; min-width:0; border:1px solid #d9e2e7; border-radius:14px; overflow:hidden; background:#fff; }
.dc-temporal-card a { display:grid; grid-template-columns:80px 1fr; gap:12px; height:100%; padding:10px; text-decoration:none; color:#102e49; }
.dc-temporal-card a:hover { background:#f3f7f9; }
.dc-temporal-card img { width:80px; height:84px; object-fit:cover; object-position:50% 38%; border-radius:8px; }
.dc-temporal-card h3 { color:#102e49; margin:0 0 .25rem; font-size:1.04rem; line-height:1.25; font-weight:570; }
.dc-temporal-card p { font-size:.82rem; line-height:1.4; margin:0; color:#415b70; }
.dc-temporal-card p + p { margin-top:.35rem; }
.dc-temporal-pages, .dc-temporal-categories { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; }
.dc-temporal-pages { margin:1rem 0 0; }
.dc-temporal-strip { background:#10334d; padding:.8rem 0; }
.dc-temporal-strip .wrap { width:min(1180px,calc(100% - 40px)); margin:0 auto; }
@media(max-width:850px) {
  .dc-latest-row { grid-auto-columns: max(175px, 27%); }
}
@media(max-width:600px) {
  .dc-latest, .dc-temporal, .dc-search-welcome, .dc-temporal-strip .wrap { width:calc(100% - 28px); }
  .dc-latest-row { grid-auto-columns:clamp(165px,59vw,230px); }
  .dc-latest-photo { height:102px; }
  .dc-temporal-card a { grid-template-columns:70px 1fr; }
  .dc-temporal-card img { width:70px; height:76px; }
}

