/* Site-wide tail-number bar ("Is Your Aircraft on the Tax Roll? Find Out Here.")
   Sits directly under <header class="site-header">. Not sticky: it scrolls away under the sticky header.
   Brand: deep green bar, gold accent, cream text. */
.tr-bar { background: var(--green, #16362D); color: var(--cream, #F2EBDF); border-bottom: 3px solid var(--gold, #C4A46A); }
.tr-bar__inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; justify-content: center; }
.tr-bar__h { margin: 0; font: 600 clamp(1.05rem, 1.6vw, 1.32rem)/1.2 var(--serif, Georgia, serif); color: var(--cream, #F2EBDF); }
.tr-bar__toggle { all: unset; display: inline-flex; align-items: center; gap: 10px; cursor: default; }
.tr-bar__toggle em { font-style: italic; color: var(--gold, #C4A46A); }
.tr-bar__chev { display: none; width: 18px; height: 18px; color: var(--gold, #C4A46A); transition: transform .2s ease; }
.tr-bar__form { display: flex; align-items: center; gap: 8px; margin: 0; }
.tr-bar select, .tr-bar input { height: 40px; border: 1px solid rgba(196, 164, 106, .7); border-radius: 4px; background: var(--cream-light, #FAF7F0); color: var(--green, #16362D);
  font: 500 .95rem/1 var(--sans, Arial, sans-serif); padding: 0 10px; }
.tr-bar select { min-width: 150px; }
.tr-bar input { width: 190px; text-transform: uppercase; letter-spacing: .04em; }
.tr-bar input::placeholder { text-transform: none; letter-spacing: 0; color: #6c756f; }
.tr-bar select:focus-visible, .tr-bar input:focus-visible, .tr-bar__btn:focus-visible, .tr-bar__all:focus-visible { outline: 2px solid var(--gold, #C4A46A); outline-offset: 2px; }
.tr-bar__btn { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--gold, #C4A46A); color: var(--green, #16362D); cursor: pointer;
  font: 700 .86rem/1 var(--sans, Arial, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.tr-bar__btn:hover { background: #d4b77f; }
.tr-bar__all { color: var(--cream, #F2EBDF); font: 500 .85rem/1.2 var(--sans, Arial, sans-serif); text-decoration: underline; text-decoration-color: var(--gold, #C4A46A); text-underline-offset: 3px; white-space: nowrap; }
.tr-bar__all:hover { color: #fff; }
.tr-bar__msg { flex-basis: 100%; margin: -6px 0 0; text-align: center; font: 500 .85rem/1.3 var(--sans, Arial, sans-serif); color: var(--gold, #C4A46A); }
.tr-bar__msg:empty { display: none; }

/* Mobile (default variant "tap to open"): one-line headline; the inputs open on tap. */
@media (max-width: 760px) {
  .tr-bar__inner { padding: 9px 14px; gap: 8px; }
  .tr-bar__h { width: 100%; font-size: 1rem; text-align: center; }
  .tr-bar__toggle { cursor: pointer; display: block; width: 100%; text-align: center; white-space: nowrap; font-size: clamp(.86rem, 4.1vw, 1rem); }
  .tr-bar__chev { vertical-align: -3px; margin-left: 6px; }
  .tr-bar__chev { display: inline-block; }
  .tr-bar.is-open .tr-bar__chev { transform: rotate(180deg); }
  .tr-bar__form, .tr-bar__all { display: none; }
  .tr-bar.is-open .tr-bar__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; gap: 6px; }
  .tr-bar.is-open .tr-bar__all { display: inline; font-size: .8rem; }
  .tr-bar select, .tr-bar input { min-width: 0; width: 100%; height: 38px; font-size: 16px; padding: 0 8px; }  /* 16px stops iOS zoom */
  .tr-bar__btn { height: 38px; padding: 0 14px; letter-spacing: .08em; }
  /* Alternative variant "always open": add class tr-bar--stacked to <section class="tr-bar"> */
  .tr-bar--stacked .tr-bar__toggle { cursor: default; }
  .tr-bar--stacked .tr-bar__chev { display: none; }
  .tr-bar--stacked .tr-bar__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; gap: 6px; }
  .tr-bar--stacked .tr-bar__all { display: inline; font-size: .8rem; }
}


/* Aircraft Tax 101 page: one button above the closing CTA band (links to /tail-check/) */
.ab-tailbtn { display: flex; justify-content: center; padding: clamp(22px, 3vw, 34px) 16px; background: var(--cream, #F2EBDF); }
.ab-tailbtn__a { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 30px; border-radius: 999px; background: var(--gold, #C4A46A); color: var(--green, #16362D);
  text-decoration: none; text-align: center; font: 700 clamp(.84rem, 1.2vw, 1rem)/1.25 var(--sans, Arial, sans-serif); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(22, 54, 45, .18); transition: background-color .2s ease, transform .2s ease; }
.ab-tailbtn__a span { letter-spacing: 0; transition: transform .2s ease; }
.ab-tailbtn__a:hover, .ab-tailbtn__a:focus-visible { background: #d4b77f; transform: translateY(-1px); }
.ab-tailbtn__a:hover span { transform: translateX(3px); }
.ab-tailbtn__a:focus-visible { outline: 2px solid var(--green, #16362D); outline-offset: 3px; }
@media (max-width: 600px) { .ab-tailbtn__a { letter-spacing: .06em; padding: 12px 20px; font-size: .82rem; } }
