/* Interiors by Design: header, navigation and footer (from components/header.html and footer.html).
   Uses the design system's tokens and bb- buttons. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.ibd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ibd-hd { background: var(--ds-color-white, #fff); font-family: var(--ds-font-body, Poppins, sans-serif); color: var(--ds-color-ink, #232323); position: relative; z-index: 50; }
.ibd-util { background: var(--ds-color-tint, #EEF3EE); font-size: 13px; color: var(--ds-color-muted, #5E5E5E); }
.ibd-util__in { display: flex; justify-content: flex-end; gap: 28px; min-height: 38px; align-items: center; flex-wrap: wrap; }
.ibd-util a { color: var(--ds-color-ink, #232323); font-weight: 500; text-decoration: none; }
.ibd-util a:hover { color: var(--ds-color-green, #34623E); }
.ibd-hd__main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.ibd-logo img { display: block; height: 52px; width: auto; }
.ibd-hd__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ibd-menu-btn { display: none; }
.ibd-nav { border-top: 1px solid var(--ds-color-line, #D9DED8); border-bottom: 1px solid var(--ds-color-line, #D9DED8); }
.ibd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: space-between; }
.ibd-nav__item { position: relative; display: flex; align-items: center; }
.ibd-nav__link { display: flex; align-items: center; min-height: 52px; padding: 0 6px; color: var(--ds-color-ink, #232323); text-decoration: none; font-weight: 500; font-size: 15px; }
.ibd-nav__link:hover, .ibd-nav__item.is-current > .ibd-nav__link { color: var(--ds-color-green, #34623E); }
.ibd-nav__item.is-current > .ibd-nav__link { box-shadow: inset 0 -2px 0 var(--ds-color-green, #34623E); }
.ibd-nav__toggle { width: 22px; height: 32px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; color: var(--ds-color-muted, #5E5E5E); }
.ibd-nav__toggle::after { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.ibd-nav__sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ds-color-white, #fff); border: 1px solid var(--ds-color-line, #D9DED8); border-radius: 4px; display: none; z-index: 60; }
.ibd-nav__item:hover > .ibd-nav__sub, .ibd-nav__item:focus-within > .ibd-nav__sub, .ibd-nav__sub.is-open { display: block; }
.ibd-nav__sublink { display: block; padding: 9px 20px; color: var(--ds-color-ink, #232323); text-decoration: none; font-size: 15px; }
.ibd-nav__sublink:hover, .ibd-nav__sublink[aria-current] { color: var(--ds-color-green, #34623E); background: var(--ds-color-stone, #F6F6F4); }
.ibd-nav__item:last-child .ibd-nav__sub { left: auto; right: 0; }
.ibd-nav__btns { display: none; }

.ibd-ft { background: var(--ds-color-ink, #232323); color: rgba(255, 255, 255, .9); font-family: var(--ds-font-body, Poppins, sans-serif); font-size: 14px; padding: 80px 0 0; }
.ibd-ft a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.ibd-ft a:hover { color: #fff; text-decoration: underline; }
.ibd-ft__top { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ibd-ft__logo img { height: 96px; width: auto; display: block; margin-bottom: 22px; }
.ibd-ft__h { font-family: var(--ds-font-body, Poppins, sans-serif); font-weight: 600; font-size: 15px; line-height: 1.4; color: #fff; margin: 0 0 14px; }
.ibd-ft__h a { color: #fff; }
.ibd-ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ibd-ft__show { display: flex; flex-direction: column; gap: 6px; }
.ibd-ft__mid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ibd-ft__explore ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ibd-ft__badge { margin-top: 24px; width: 140px; height: 56px; border: 1px dashed rgba(255, 255, 255, .4); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255, 255, 255, .75); }
.ibd-ft__bot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0 32px; color: rgba(255, 255, 255, .75); font-size: 13px; }
.ibd-ft__bot nav { display: flex; gap: 20px; }
.ibd-ft__btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ibd-ft .bb-btn--primary { background: #fff; color: var(--ds-color-green, #34623E); border-color: #fff; }
.ibd-ft .bb-btn--primary:hover { background: var(--ds-color-tint, #EEF3EE); color: var(--ds-color-green-dark, #264A2E); text-decoration: none; }
.ibd-ft__u { text-decoration: underline !important; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .ibd-nav__link { font-size: 14px; padding: 0 2px; }
  .ibd-ft__mid { grid-template-columns: 1fr 1fr; }
  .ibd-ft__explore { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ibd-util__in { justify-content: flex-start; gap: 6px 20px; padding: 8px 0; }
  .ibd-hd__btns { display: none; }
  .ibd-menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ds-color-green, #34623E); background: #fff; color: var(--ds-color-green, #34623E); font: 500 15px var(--ds-font-body, Poppins, sans-serif); cursor: pointer; }
  .ibd-logo img { height: 42px; }
  .ibd-nav { display: none; }
  .ibd-nav.is-open { display: block; }
  .ibd-nav__list { flex-direction: column; gap: 0; }
  .ibd-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--ds-color-line, #D9DED8); }
  .ibd-nav__link { min-height: 48px; flex: 1; }
  .ibd-nav__toggle { width: 48px; height: 48px; }
  .ibd-nav__toggle::after { left: 20px; top: 18px; }
  .ibd-nav__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); top: 22px; }
  .ibd-nav__sub, .ibd-nav__item:hover > .ibd-nav__sub, .ibd-nav__item:focus-within > .ibd-nav__sub { position: static; display: none; border: 0; padding: 0 0 10px 12px; min-width: 0; width: 100%; }
  .ibd-nav__sub.is-open { display: block; }
  .ibd-nav__btns { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 24px; }
  .ibd-ft__top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .ibd-ft__mid { grid-template-columns: 1fr; }
}

/* PHP templates (project, blog post, legal) and shortcode output: the design
   system's reset, restated so browser default margins don't creep in. */
.fl-ds-page :is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
.fl-ds-page :is(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
.fl-ds-page .bb-prose > * + *, .fl-ds-page .bb-body > * + *, .fl-ds-page .bb-faq__a > * + * { margin-top: 16px; }
.fl-ds-page .bb-prose > * + * { margin-top: 22px; }
.fl-ds-page .bb-prose h2 { margin-top: 44px; }
.fl-ds-page .bb-prose h3 { margin-top: 36px; }
.fl-ds-page .bb-gallery figure { margin: 0; }
.fl-ds-page .bb-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: rgba(255, 255, 255, .92); color: var(--ds-color-ink, #232323); }

/* Shortcodes wrap their output in .fl-ds-page so they style correctly on
   their own; inside a page section the wrapper must not repaint the band
   (the reviews band was showing a white box with white text). */
.bb-sc > .fl-ds-page,
.fl-ds-block .fl-ds-page {
	background: transparent;
	color: inherit;
}
