/*
Theme Name: Eject Before Purchase
Description: Martin “Lucky” Baker’s late-night used-car dealership, with a Recall Lot, trade-in appraisal, and shareable Regret Receipts.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: eject-before-purchase
*/

.masthead .ebp-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.masthead .current-menu-item > a {
  color: var(--yellow);
}

.ebp-content {
  max-width: 48rem;
  min-height: 50vh;
  padding-block: 3rem;
  overflow-wrap: anywhere;
}

.ebp-home-content {
  min-height: auto;
}

.ebp-content h1 {
  font: italic 900 clamp(2.9rem, 7vw, 5rem)/.98 var(--display);
  text-transform: uppercase;
}

.ebp-content h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.ebp-content p,
.ebp-content .ebp-entry > *,
.ebp-content form,
.ebp-content .button {
  margin-block: 1rem;
}

.ebp-content .ebp-entry:first-child > h1:first-child {
  margin-top: 0;
}

.ebp-content .ebp-entry + .ebp-entry,
.ebp-content .ebp-comments {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.ebp-content a:not(.button) {
  color: var(--yellow);
  text-underline-offset: .18em;
}

.ebp-content img {
  height: auto;
}

.ebp-content .alignleft { float: left; margin-right: 1rem; }
.ebp-content .alignright { float: right; margin-left: 1rem; }
.ebp-content .aligncenter { margin-inline: auto; }

.ebp-content input[type="text"],
.ebp-content input[type="search"],
.ebp-content input[type="email"],
.ebp-content input[type="url"],
.ebp-content input[type="password"],
.ebp-content textarea {
  display: block;
  width: min(100%, 32rem);
  border: 1px solid #9877a5;
  padding: .55rem .65rem;
  background: var(--black);
  color: var(--cream);
  font: inherit;
}

.ebp-content input[type="submit"] {
  border: 1px solid var(--yellow);
  padding: .55rem .85rem;
  background: var(--yellow);
  color: var(--ink);
  font: 500 .875rem/1.2 var(--mono);
  cursor: pointer;
}

.ebp-content .navigation {
  display: block;
  margin-top: 1.5rem;
}

.ebp-content .page-numbers {
  margin-right: .55rem;
}

.ebp-content .screen-reader-text:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
