.kdf-page .entry-header { display: none; }
/* Keep the active desktop CTA text readable on its yellow background. */
#masthead #ast-hf-menu-1 > #menu-item-3519.current-menu-item > .menu-link {
  color: #000;
}
.kdf {
  --ink: #1e1810;
  --yellow: #ffcf00;
  --gray: #f0efee;
  --text: #62615c;
  --line: #d8d5cf;
  color: var(--ink);
  font: 1rem/1.55 Roboto, Arial, sans-serif;
}
.kdf *, .kdf *::before, .kdf *::after { box-sizing: border-box; }
.kdf [hidden] { display: none !important; }
.kdf :is(h1, h2, h3) {
  margin: 0;
  color: var(--ink);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
}
.kdf p { margin: 0; }
.kdf a { color: inherit; text-underline-offset: .2em; }
.kdf :focus-visible, .kdf h3[tabindex="-1"]:focus { outline: 3px solid #775e00; outline-offset: 3px; }
.kdf-wrap { width: min(100% - 40px, 1060px); margin-inline: auto; }
.kdf-hero { padding: clamp(36px, 5.5vw, 66px) 0; background: var(--gray); border-top: 2px solid var(--yellow); }
.kdf h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.kdf-hero p { margin: 12px 0 24px; color: var(--text); }
.kdf-form { max-width: 850px; margin: 0; }
.kdf-fields { display: grid; grid-template-columns: minmax(0, 1fr) 210px auto; align-items: end; gap: 12px; }
.kdf label { display: grid; gap: 6px; font-weight: 700; }
.kdf :is(input[type="search"], select, button, .kdf-actions a) { min-height: 46px; border-radius: 4px; font: inherit; }
.kdf :is(input[type="search"], select) {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--text);
  background: white;
  color: var(--ink);
}
.kdf input::placeholder { color: var(--text); opacity: 1; }
.kdf :is(button, .kdf-actions a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  text-decoration: none;
}
.kdf button.kdf-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.kdf :is(button, .kdf-actions a):hover { background: var(--ink); border-color: var(--ink); color: white; }
.kdf-directory { padding: 36px 0 54px; }
.kdf-results-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; }
.kdf h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.kdf :is(.kdf-status, .kdf-address) { color: var(--text); }
.kdf p.kdf-status { margin-bottom: 14px; }
.kdf ul.kdf-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kdf-result { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.kdf-result h3 { font-size: 1.4rem; margin-bottom: 5px; overflow-wrap: anywhere; }
.kdf-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.kdf button.kdf-more { margin-top: 18px; }
.kdf p.kdf-help { margin-top: 24px; padding: 16px 18px; background: var(--gray); }
.kdf-help a { text-decoration: underline; }
@media (max-width: 700px) {
  .kdf-fields { grid-template-columns: 1fr; }
  .kdf-result { align-items: flex-start; flex-direction: column; gap: 11px; }
  .kdf-wrap { width: calc(100% - 32px); }
}
