/* Knightsbridge standalone base layer.
   Owns the small amount of normalisation and generic WordPress styling that
   was previously supplied indirectly by the parent theme. */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; min-width: 0; line-height: 1.7; }
main { display: block; min-width: 0; }
[hidden] { display: none !important; }

img, svg, video, canvas { max-width: 100%; }
img { display: block; height: auto; }
figure { margin: 0; }
iframe { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { padding: 0; }
p { overflow-wrap: break-word; }
a { color: #6d5127; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #8d713e; }

ul, ol { padding-left: 1.4em; }
li > ul, li > ol { margin-bottom: 0; }

/* Theme-owned native forms only. Plugin applications such as WPForms and the
   Knightsbridge application plugins keep ownership of their own controls. */
.search-form :where(input[type="search"], button),
.comment-form :where(input[type="text"],input[type="email"],input[type="url"],textarea,button,input[type="submit"]),
.wp-block-search :where(input[type="search"],button),
.wp-block-button__link,
.wp-element-button {
  font: inherit;
}

.search-form input[type="search"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.wp-block-search input[type="search"] {
  max-width: 100%;
  min-height: 44px;
  padding: .65rem .75rem;
  border: 1px solid rgba(17,24,32,.22);
  border-radius: 8px;
  background: #fff;
  color: #111820;
}
.search-form input[type="search"]:focus,
.comment-form :where(input[type="text"],input[type="email"],input[type="url"],textarea):focus,
.wp-block-search input[type="search"]:focus {
  border-color: #8d713e;
  outline: 2px solid rgba(180,151,96,.22);
  outline-offset: 1px;
}

.search-form button,
.comment-form :where(button,input[type="submit"]),
.wp-block-search button,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #081725;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.search-form button:disabled,
.comment-form :where(button,input[type="submit"]):disabled,
.wp-block-search button:disabled,
.wp-element-button:disabled,
.wp-block-button__link:disabled { cursor: not-allowed; opacity: .58; }

hr { height: 0; border: 0; border-bottom: 1px solid rgba(17,24,32,.18); }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
th, td { padding: .65rem .75rem; border-bottom: 1px solid rgba(17,24,32,.12); text-align: left; vertical-align: top; }
pre { max-width: 100%; overflow: auto; white-space: pre-wrap; }
code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  clip: auto !important;
  width: auto;
  height: auto;
  margin: 0;
  padding: .8rem 1rem;
  left: 8px;
  top: 8px;
  z-index: 100000;
  background: #fff;
  color: #111820;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  white-space: normal;
}

/* Search form owned by the theme; no parent-theme icon/filter is required. */
.search-form { display: flex; align-items: stretch; gap: .55rem; max-width: 640px; }
.search-form label { flex: 1 1 auto; }
.search-form .search-field { width: 100%; }
.search-form .search-submit { flex: 0 0 auto; }
