/* Website header and footer (rcd-site-chrome.php). Black and yellow brand, as agreed 16 November 2026.
   Everything is scoped to .rcd-sh (header) and .rcd-sf (footer), so no other page styling changes.
   Laptop layout from 1200 px; below that the phone menu. */

.rcd-sh, .rcd-sf { --rcd-sc-yellow: #ffe500; --rcd-sc-black: #000; --rcd-sc-ink: #111; --rcd-sc-line: #2b2b2b; font-family: Arial, Helvetica, sans-serif; }
.rcd-sh *, .rcd-sf * { box-sizing: border-box; }
.rcd-sh ul, .rcd-sf ul { list-style: none; margin: 0; padding: 0; }
.rcd-sh a, .rcd-sf a { text-decoration: none; }
.rcd-sh :where(button) { font: inherit; margin: 0; border-radius: 4px; cursor: pointer; text-transform: none; letter-spacing: normal; }
.rcd-sh__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rcd-sh :focus-visible, .rcd-sf :focus-visible { outline: 3px solid var(--rcd-sc-yellow); outline-offset: 2px; }

/* ---------- Header: shared ---------- */
.rcd-sh { background: var(--rcd-sc-black); color: #fff; position: relative; z-index: 999; }
.rcd-sh__ban { display: flex; align-items: center; gap: 8px; max-width: 1280px; margin: 0 auto; }
.rcd-sh__logo { display: block; line-height: 0; }
.rcd-sh__logo { width: 672px; max-width: 100%; } /* 100 px high, as on 16 Nov */
.rcd-sh__caret { display: inline-block; width: 0; height: 0; margin-left: 8px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; vertical-align: middle; transition: transform .15s; }
[aria-expanded="true"] > .rcd-sh__caret { transform: rotate(180deg); }
.rcd-sh__pl { display: inline-block; background: var(--rcd-sc-yellow); color: #000 !important; font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 4px; white-space: nowrap; }
.rcd-sh__pl:hover { background: #fff27a; }
.rcd-sh__preview { background: #fff7b3; color: #000; font-size: 14px; padding: 6px 14px; text-align: center; }
.rcd-sh__preview a { color: #000; text-decoration: underline; font-weight: 700; }

/* ---------- Header: laptop (1200 px and wider) ---------- */
@media (min-width: 1200px) {
  .rcd-sh__call, .rcd-sh__burger, .rcd-sh__plrow { display: none; }
  .rcd-sh__nav { display: flex; align-items: center; gap: 6px; max-width: 1280px; margin: 0 auto; padding: 8px 14px 10px; border-top: 1px solid #222; }
  .rcd-sh__menu { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
  .rcd-sh__item { position: relative; }
  .rcd-sh__link, .rcd-sh__split { display: inline-flex; align-items: center; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 8px 12px; border: 1px solid #444; background: #1c1c1c; border-radius: 4px; white-space: nowrap; }
  .rcd-sh__link:hover, .rcd-sh__split:hover, .rcd-sh__item:focus-within > .rcd-sh__link, .rcd-sh__item:focus-within > .rcd-sh__split { background: #2a2a2a; color: #fff; }
  .rcd-sh__split { padding: 0; }
  .rcd-sh__link--split { padding: 8px 4px 8px 12px; border: 0; background: none; color: #fff; }
  .rcd-sh__split .rcd-sh__toggle { background: none; border: 0; color: #fff; padding: 8px 10px 8px 2px; }
  .rcd-sh__link--button { color: #fff; }
  .rcd-sh__link--button:hover, .rcd-sh__link--button:focus { color: #fff; background: #2a2a2a; }
  .rcd-sh__item.is-current > .rcd-sh__link, .rcd-sh__item.is-current > .rcd-sh__split { box-shadow: inset 0 -3px 0 var(--rcd-sc-yellow); background: #2a2a2a; }
  .rcd-sh__pl--desk { margin-left: auto; }
  .rcd-sh__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 330px; margin-top: 4px; background: #fff; color: var(--rcd-sc-ink); border: 1px solid #d1d5db; box-shadow: 0 8px 18px rgba(0,0,0,.25); z-index: 1000; }
  .rcd-sh__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; } /* keeps hover alive across the gap */
  .rcd-sh__item--sub:hover > .rcd-sh__sub,
  .rcd-sh__item--sub:focus-within > .rcd-sh__sub,
  .rcd-sh__item--sub.is-open > .rcd-sh__sub { display: block; }
  .rcd-sh__sub li { border-bottom: 1px solid #eee; }
  .rcd-sh__sub li:last-child { border-bottom: 0; }
  .rcd-sh__sublink { display: block; padding: 9px 14px; color: var(--rcd-sc-ink) !important; font-size: 15px; font-weight: 400; }
  .rcd-sh__sublink:hover, .rcd-sh__sublink:focus { background: #f3f4f6; }
  .rcd-sh__sublink[aria-current="page"] { font-weight: 700; box-shadow: inset 4px 0 0 var(--rcd-sc-yellow); }
  .rcd-sh__subhead { padding: 9px 14px; background: #fff7b3; font-weight: 700; font-size: 15px; }
}

/* ---------- Header: phone and tablet (below 1200 px) ---------- */
@media (max-width: 1199.98px) {
  .rcd-sh__ban { padding: 10px 12px; }
  .rcd-sh__logo { flex: 0 1 270px; min-width: 0; } /* 40 px high when there is room, smaller on narrow phones */
  .rcd-sh__call { margin-left: auto; background: #fff; color: #000 !important; font-weight: 700; font-size: 16px; padding: 9px 13px; border-radius: 4px; min-height: 44px; display: inline-flex; align-items: center; }
  .rcd-sh__burger { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: transparent; border: 1px solid #666; padding: 6px 11px; min-height: 44px; font-weight: 700; font-size: 16px; }
  .rcd-sh__burger:hover, .rcd-sh__burger:focus { color: #fff; background: #222; }
  .rcd-sh__burger-icon, .rcd-sh__burger-icon::before, .rcd-sh__burger-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .rcd-sh__burger-icon::before, .rcd-sh__burger-icon::after { content: ""; position: absolute; left: 0; }
  .rcd-sh__burger-icon::before { top: -6px; } .rcd-sh__burger-icon::after { top: 6px; }
  .rcd-sh__burger[aria-expanded="true"] .rcd-sh__burger-icon { background: transparent; }
  .rcd-sh__burger[aria-expanded="true"] .rcd-sh__burger-icon::before { top: 0; transform: rotate(45deg); }
  .rcd-sh__burger[aria-expanded="true"] .rcd-sh__burger-icon::after { top: 0; transform: rotate(-45deg); }
  .rcd-sh__plrow { padding: 0 12px 12px; }
  .rcd-sh__plrow .rcd-sh__pl { display: block; text-align: center; font-size: 17px; padding: 12px; }
  .rcd-sh__pl--desk { display: none; }
  .rcd-sh__nav { display: none; }
  .rcd-sh.is-menu-open .rcd-sh__nav { display: block; }
  .rcd-sh__link, .rcd-sh__split { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #111; color: #fff !important; font-weight: 600; font-size: 17px; padding: 15px 16px; border: 0; border-top: 1px solid var(--rcd-sc-line); border-radius: 0; text-align: left; }
  .rcd-sh__split { padding: 0; }
  .rcd-sh__link--split { border: 0; padding: 15px 16px; flex: 1; }
  .rcd-sh__toggle .rcd-sh__caret, .rcd-sh__split .rcd-sh__toggle { display: none; } /* the lists are always open on a phone */
  .rcd-sh__link--button { cursor: default; }
  .rcd-sh__item.is-current > .rcd-sh__link, .rcd-sh__item.is-current > .rcd-sh__split { box-shadow: inset 4px 0 0 var(--rcd-sc-yellow); background: #1f1f1f; }
  .rcd-sh__sub { display: block; background: #fafafa; }
  .rcd-sh__sublink { display: block; color: var(--rcd-sc-ink) !important; font-size: 16px; padding: 12px 28px; border-top: 1px solid #eee; min-height: 44px; }
  .rcd-sh__sublink[aria-current="page"] { font-weight: 700; box-shadow: inset 4px 0 0 var(--rcd-sc-yellow); }
  .rcd-sh__subhead { padding: 10px 28px; background: #fff7b3; color: #000; font-weight: 700; font-size: 15px; }
}
@media (max-width: 380px) { .rcd-sh__burger-text { display: none; } }

/* ---------- Footer ---------- */
.rcd-sf { background: var(--rcd-sc-black); color: #d1d5db; font-size: 15px; line-height: 1.6; }
.rcd-sf__in { max-width: 1280px; margin: 0 auto; padding: 26px 34px 16px; }
.rcd-sf__cols { display: grid; grid-template-columns: 1.3fr 1fr 2fr; gap: 30px; }
.rcd-sf__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rcd-sf__cols--three .rcd-sf__pair { grid-template-columns: 1fr; }
.rcd-sf__h { color: var(--rcd-sc-yellow); font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; line-height: 1.4; }
.rcd-sf__p { margin: 0 0 4px; color: #d1d5db; }
.rcd-sf__a { display: block; color: #fff !important; text-decoration: underline !important; text-decoration-color: #666 !important; text-underline-offset: 3px; padding: 2px 0; }
.rcd-sf__a:hover { text-decoration-color: var(--rcd-sc-yellow) !important; }
.rcd-sf__bottom { border-top: 1px solid #333; margin-top: 16px; padding-top: 12px; display: flex; align-items: center; gap: 18px; font-size: 13px; color: #9ca3af; }
.rcd-sf__logo { flex: 0 0 440px; } /* larger than on 16 Nov (270 px) so the tagline reads easily */
.rcd-sf__bottom p { margin: 0; }

@media (max-width: 767.98px) {
  .rcd-sf { font-size: 16px; }
  .rcd-sf__in { padding: 22px 20px; }
  .rcd-sf__cols { grid-template-columns: 1fr; gap: 16px; }
  .rcd-sf__pair { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .rcd-sf__a { padding: 6px 0; }
  .rcd-sf__bottom { display: block; }
  .rcd-sf__logo { max-width: 440px; margin-bottom: 10px; }
}

/* ---------- Logo (17 Nov 2026, v2) ----------
   The picture holds the slashes and the company name; "YOUR FIRE DOOR SPECIALISTS" is real text laid over it in the
   brand yellow, under the company name where it is in the original artwork, so it is sharp at every size.
   Light weight (300), thinner than the bold name as in the artwork: Segoe UI Light on Windows, Helvetica Neue Light
   on Apple, Roboto Light on Android. Its size follows the logo width (container units): 11 px or larger in the
   footer and laptop header; in the narrow phone header it shrinks to fit under the name (about 9 px at 390 px). */
.rcd-logo { position: relative; display: block; width: 100%; container-type: inline-size; line-height: 0; }
.rcd-logo img { display: block; width: 100%; height: auto; max-width: none; }
.rcd-logo__tag { position: absolute; left: 24.5%; right: 7%; top: 72.5%; transform: translateY(-50%); display: none; text-align: center; white-space: nowrap; color: #ff0; opacity: 1; font-family: "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", sans-serif; font-weight: 300; font-style: normal; line-height: 1; text-transform: uppercase; font-size: 11px; letter-spacing: .22em; margin-right: -.22em; -webkit-font-smoothing: antialiased; }
@supports (container-type: inline-size) {
  .rcd-logo__tag { display: block; font-size: max(11px, 2.4cqw); } /* older browsers: no tagline rather than a wrong size */
}
@container (max-width: 299.98px) { .rcd-logo__tag { font-size: 4.3cqw; letter-spacing: .1em; margin-right: -.1em; } } /* phone header */
