/* Berwick Concrete Driveways — extras on top of inherited Base44/Tailwind CSS */
.font-heading, .font-display { font-family: "Playfair Display", ui-serif, Georgia, serif; }
.font-body, body.bcd-site { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
body.bcd-site { background: #F5F5F0; color: #1B2A46; margin: 0; }
body.bcd-site #wrapper.site, body.bcd-site #inner-wrap, body.bcd-site #primary,
body.bcd-site .content-container, body.bcd-site .entry-content-wrap,
body.bcd-site .site-container, body.bcd-site .content-width, body.bcd-site .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.bcd-site .entry-header, body.bcd-site .entry-hero, body.bcd-site .kadence-breadcrumbs,
body.bcd-site .site-header, body.bcd-site .site-footer, body.bcd-site #colophon,
body.bcd-site .wp-site-blocks > header, body.bcd-site .content-bg { display: none !important; }
header#bcd-header { display: block !important; }
body.bcd-site #bcd-main { display: block; }
body.bcd-site a.inline-flex { text-decoration: none; }

/* Missing Tailwind utilities used on the live site or found in the Dandenong /85 bug */
.text-white\/85 { color: #ffffffd9; }
.hover\:bg-white\/10:hover { background-color: #ffffff1a; }
.hover\:bg-white\/50:hover { background-color: #ffffff80; }
.hover\:bg-white\/5:hover { background-color: #ffffff0d; }

@media (max-width: 1023px) {
  #bcd-header nav.hidden { display: none !important; }
  body.bcd-menu-open { overflow: hidden; height: 100%; }
  #bcd-mobile:not([hidden]) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: #1B2845;
  }
  #bcd-mobile .bcd-mobile__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100dvh;
    background: #1B2845;
    color: #F5F5F0;
  }
  #bcd-mobile .bcd-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0.85rem 1.1rem 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  }
  #bcd-mobile .bcd-mobile__brand {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A961;
  }
  #bcd-mobile .bcd-mobile__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(201, 169, 97, 0.45);
    border-radius: 2px;
    background: transparent;
    color: #F5F5F0;
    cursor: pointer;
  }
  #bcd-mobile .bcd-mobile__close:focus-visible,
  #bcd-mobile .bcd-mobile__toggle:focus-visible,
  #bcd-mobile a:focus-visible {
    outline: 2px solid #C9A961;
    outline-offset: 2px;
  }
  #bcd-mobile .bcd-mobile__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1rem;
  }
  #bcd-mobile .bcd-mobile__toggle,
  #bcd-mobile .bcd-mobile__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-bottom: 1px solid rgba(245, 245, 240, 0.08);
    background: transparent;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    color: #F5F5F0 !important;
    cursor: pointer;
  }
  #bcd-mobile .bcd-mobile__chevron { flex-shrink: 0; color: #C9A961; transition: transform 0.2s ease; }
  #bcd-mobile .bcd-mobile__toggle[aria-expanded="true"] .bcd-mobile__chevron { transform: rotate(180deg); }
  #bcd-mobile .bcd-mobile__sub { background: #141C30; padding: 0.35rem 0 0.5rem; }
  #bcd-mobile .bcd-mobile__sub[hidden] { display: none !important; }
  #bcd-mobile a, #bcd-mobile .bcd-mobile__sub a, #bcd-mobile .bcd-mobile__nav a { color: #F5F5F0 !important; text-decoration: none; }
  #bcd-mobile .bcd-mobile__sub a {
    display: block;
    padding: 0.7rem 1.25rem 0.7rem 1.7rem;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
    color: #F5F5F0 !important;
  }
  #bcd-mobile .bcd-mobile__sub a:hover,
  #bcd-mobile .bcd-mobile__sub a:focus,
  #bcd-mobile .bcd-mobile__link:hover,
  #bcd-mobile .bcd-mobile__link:focus,
  #bcd-mobile .bcd-mobile__toggle:hover,
  #bcd-mobile .bcd-mobile__toggle:focus { color: #C9A961 !important; }
  #bcd-mobile .bcd-mobile__cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(201, 169, 97, 0.25);
    background: #1B2845;
  }
  #bcd-mobile .bcd-mobile__call,
  #bcd-mobile .bcd-mobile__quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem;
    border-radius: 2px;
    font-family: "Playfair Display", ui-serif, Georgia, serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
  }
  #bcd-mobile .bcd-mobile__call,
  #bcd-mobile a.bcd-mobile__call { background: #C9A961; color: #1B2845 !important; }
  #bcd-mobile .bcd-mobile__quote,
  #bcd-mobile a.bcd-mobile__quote { background: transparent; border: 1px solid rgba(201, 169, 97, 0.55); color: #F5F5F0 !important; }
}
@media (min-width: 1024px) {
  #bcd-mobile { display: none !important; }
}

/* Quote form sits in the navy contact band — match live underline fields */
.bcdq-wrap { max-width: 100%; }
.bcdq-ok { display: none; color: #F5F5F0; text-align: center; padding: 1.5rem 0; }
.bcdq-ok.is-on { display: block; }
.bcdq-ok h3 { font-family: "Playfair Display", ui-serif, Georgia, serif; color: #C9A961; font-size: 1.4rem; margin: 0 0 .5rem; }
.bcdq-err { color: #f3c1c1; font-size: .875rem; margin: 0; }
.bcdq-err[hidden] { display: none !important; }
