/*
Theme Name: Neros Design and Construction
Theme URI: https://nerosdesign.com
Author: Neros Design and Construction
Author URI: https://nerosdesign.com
Description: Pixel-accurate WordPress recreation of the Neros Design and Construction landing page — same layout, copy, images, video and fonts as the original, with the hero video slider, mobile menu, accordions, testimonial carousel, scroll reveals, animated counters and a working enquiry form wired to WordPress email. Built as a single full-width landing page theme.
Version: 1.0.0
Requires at least: 5.5
Requires PHP: 7.2
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neros-design-construction
*/

/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/3f6888a5-3446-4811-9e70-16dc2f177273.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/ca61af60-626c-4076-aa5d-95baafeaef5f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/9106194f-bfba-415c-8790-836fa7b8dc64.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/4936c1ad-77b0-4a87-83c7-0f7eafa8614b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("assets/fonts/697f9b1e-4bc0-4bdf-a830-1a6883fe2613.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/3f6888a5-3446-4811-9e70-16dc2f177273.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/ca61af60-626c-4076-aa5d-95baafeaef5f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/9106194f-bfba-415c-8790-836fa7b8dc64.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/4936c1ad-77b0-4a87-83c7-0f7eafa8614b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/697f9b1e-4bc0-4bdf-a830-1a6883fe2613.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/3f6888a5-3446-4811-9e70-16dc2f177273.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ca61af60-626c-4076-aa5d-95baafeaef5f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/9106194f-bfba-415c-8790-836fa7b8dc64.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/4936c1ad-77b0-4a87-83c7-0f7eafa8614b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/697f9b1e-4bc0-4bdf-a830-1a6883fe2613.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/3f6888a5-3446-4811-9e70-16dc2f177273.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ca61af60-626c-4076-aa5d-95baafeaef5f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/9106194f-bfba-415c-8790-836fa7b8dc64.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/4936c1ad-77b0-4a87-83c7-0f7eafa8614b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/697f9b1e-4bc0-4bdf-a830-1a6883fe2613.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/3f6888a5-3446-4811-9e70-16dc2f177273.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ca61af60-626c-4076-aa5d-95baafeaef5f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/9106194f-bfba-415c-8790-836fa7b8dc64.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/4936c1ad-77b0-4a87-83c7-0f7eafa8614b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/697f9b1e-4bc0-4bdf-a830-1a6883fe2613.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/1245eaba-ffa1-42be-8e62-1303b95be953.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/208b3fce-0f90-4405-92ca-0bee0bc38e2f.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/50624d76-4656-424a-b6ef-bbfbe8287d5e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

  html, body { margin: 0; padding: 0; background: #000; }
  body { font-family: Raleway, sans-serif; -webkit-font-smoothing: antialiased; }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  img, video { max-width: 100%; }

  /* smoother compositing while scrolling */
  section, footer { contain: paint; }

  @media (max-width: 1024px) {
    section, footer { padding-left: 0; padding-right: 0; }
    section > div, footer > div { padding-left: 24px !important; padding-right: 24px !important; }
    h1 { font-size: 38px !important; line-height: 1.16 !important; }
    h2 { font-size: 32px !important; line-height: 1.18 !important; letter-spacing: .6px !important; }
    h3 { font-size: 21px !important; }
  }

  /* Base (desktop) footer layout — kept here, ahead of the mobile media
     query below, so the mobile overrides win on small screens purely by
     normal cascade order (no !important-vs-inline fights, which some
     older mobile webviews handle inconsistently). */
  .ndc-footer-grid { gap: 48px; }
  .ndc-footer-logo { height: 130px; margin-bottom: 28px; }
  .ndc-footer-links { display: flex; flex-direction: column; gap: 12px; }
  .ndc-footer-services { display: flex; flex-direction: column; gap: 12px; }
  .ndc-footer-legal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
  .ndc-footer-bottom { display: flex; justify-content: center; }
  .ndc-footer-legal-links { display: flex; gap: 26px; }

  @media (max-width: 760px) {
    header { padding: 14px 20px !important; }
    header img { height: 54px !important; }

    /* hero */
    #top { height: 100vh !important; min-height: 520px !important; }
    #top > div:nth-of-type(3) { left: 20px !important; right: 20px !important; bottom: 150px !important; }
    #top h1 { font-size: 30px !important; }

    h1 { font-size: 30px !important; }
    h2 { font-size: 27px !important; }
    p { font-size: 15px !important; }

    /* section rhythm */
    section { padding-top: 64px !important; padding-bottom: 64px !important; }

    /* grids collapse */
    section [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 20px !important; }
    section [style*="columns:4"] { columns: 1 !important; }

    /* sticky image stack — shorter panels, less dwell */
    #stack-panels > div { height: 62vh !important; margin-bottom: 30vh !important; }
    #stack-panels > div:last-child { margin-bottom: 0 !important; }
    #stack-panels [style*="font-size:42px"] { font-size: 24px !important; }
    #stack-panels > div > div:last-child { left: 22px !important; bottom: 28px !important; }

    /* menu overlay */
    #ndc-menu-overlay { padding: 72px 16px 32px !important; }
    .ndc-menu-card { padding: 64px 0 22px !important; border-radius: 16px !important; }
    .ndc-menu-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
    .ndc-menu-links, .ndc-menu-info { padding: 0 24px !important; }
    .ndc-menu-info { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.1) !important; padding-top: 28px !important; margin-top: 20px !important; }
    .ndc-menu-links a, .ndc-menu-links button, .ndc-menu-links [id$="-plus"] { font-size: 20px !important; }
    .ndc-menu-legal { margin: 28px 24px 0 !important; }

    /* testimonial carousel — one per view */
    figure { flex: 0 0 100% !important; }

    /* enquiry panel */
    [data-chat] { right: 16px !important; bottom: 16px !important; }
    [data-chat] > div:first-child { width: calc(100vw - 32px) !important; }

    /* touch targets */
    button, a[href] { min-height: 44px; }
    header a, footer a, .ndc-menu-links a, .ndc-menu-info a { min-height: 0; }

    /* compact, attractive mobile footer — keeps every section, trims height */
    footer { padding-top: 48px !important; }
    .ndc-footer-grid { gap: 34px !important; }
    .ndc-footer-logo { height: 76px !important; margin-bottom: 20px !important; }
    .ndc-footer-story-sub { display: none !important; }

    /* Quick Links: two tidy columns instead of one long stacked list */
    .ndc-footer-links { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 12px 16px !important; }

    /* Our Services: swipeable chip row instead of an 8-line list */
    .ndc-footer-services { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 10px !important; padding-bottom: 8px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .ndc-footer-services::-webkit-scrollbar { display: none; }
    .ndc-footer-services a { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 16px; font-size: 12px; white-space: nowrap; background: rgba(255,255,255,.03); }

    .ndc-footer-legal { flex-direction: column !important; text-align: center !important; justify-content: center !important; gap: 12px !important; }
    .ndc-footer-legal-links { justify-content: center !important; gap: 18px !important; }
    .ndc-credit { width: auto; }
  }

  /* "Designed by" credit — small, glowing pill, matches the site's monochrome palette */
  .ndc-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.16);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #949494 !important;
    transition: border-color .35s ease, background .35s ease, transform .35s ease, box-shadow .35s ease;
  }
  .ndc-credit strong {
    background: linear-gradient(90deg, #fff, #bdbdbd, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lxShine 4.5s linear infinite;
  }
  .ndc-credit-spark { display: inline-block; color: #fff; animation: lxFloat 2.6s ease-in-out infinite; }
  .ndc-credit:hover {
    border-color: rgba(255,255,255,.4);
    background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
    box-shadow: 0 10px 30px rgba(255,255,255,.06);
    transform: translateY(-1px);
    color: #fff !important;
  }
  /* Projects page: filter tabs with counts, search focus, card hover lift */
  .ndc-projects-filter-btn { background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 0 0 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #949494; transition: color .3s ease, border-color .3s ease; }
  .ndc-projects-filter-btn:hover { color: #111; }
  .ndc-projects-filter-btn.is-active { color: #111; border-bottom-color: #111; }
  .ndc-projects-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 999px; background: #f0f0f0; color: #6b6b6b; font-size: 10px; letter-spacing: 0; }
  .ndc-projects-search:focus { border-color: #111; }
  .ndc-projects-card:hover { box-shadow: 0 22px 60px rgba(0,0,0,.12); transform: translateY(-4px); }
  .ndc-projects-card { transition: box-shadow .4s ease, transform .4s ease; }

  /* Gallery page: filter tabs and masonry tile hover overlay */
  .ndc-gallery-filter-btn { background: #fff; color: #6b6b6b; border: 1px solid rgba(0,0,0,.14); border-radius: 999px; padding: 11px 24px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
  .ndc-gallery-filter-btn:hover { border-color: #111; color: #111; }
  .ndc-gallery-filter-btn.is-active, .ndc-gallery-filter-btn.is-active:hover { background: #111; color: #fff; border-color: #111; }
  .ndc-gallery-tile:hover .ndc-gallery-tile-overlay { opacity: 1; }
  .ndc-gallery-loadmore-btn:hover { background: #f5f5f5; }
  @media (max-width: 900px) {
    .ndc-gallery-grid { columns: 2 200px !important; }
  }
  @media (max-width: 560px) {
    .ndc-gallery-grid { columns: 1 !important; }
  }

  @keyframes lxShine { to { background-position: -200% center; } }

  /* ---------------------------------------------------------------
     Blog post body — styles whatever the admin types into the normal
     WordPress block editor (paragraphs, headings, images, lists,
     quotes, links) so it matches the rest of the site automatically.
     --------------------------------------------------------------- */
  .ndc-post-content, .ndc-page-content { font-size: 16px; line-height: 1.75; color: #3d3d3d; }
  .ndc-post-content > *:first-child, .ndc-page-content > *:first-child { margin-top: 0; }
  .ndc-post-content p, .ndc-page-content p { margin: 0 0 24px; }
  .ndc-post-content h2, .ndc-page-content h2 { font-family: 'Tenor Sans', serif; font-weight: 300; font-size: 30px; line-height: 1.28; letter-spacing: .4px; color: #111; margin: 48px 0 20px; }
  .ndc-post-content h3, .ndc-page-content h3 { font-family: 'Tenor Sans', serif; font-weight: 300; font-size: 23px; line-height: 1.3; color: #111; margin: 38px 0 16px; }
  .ndc-post-content h4, .ndc-page-content h4 { font-size: 17px; font-weight: 600; color: #111; margin: 30px 0 14px; }
  .ndc-post-content a, .ndc-page-content a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
  .ndc-post-content a:hover, .ndc-page-content a:hover { color: #6b6b6b; }
  .ndc-post-content strong, .ndc-page-content strong { color: #111; font-weight: 600; }
  .ndc-post-content ul, .ndc-page-content ul, .ndc-post-content ol, .ndc-page-content ol { margin: 0 0 24px; padding-left: 22px; }
  .ndc-post-content li, .ndc-page-content li { margin-bottom: 10px; }
  .ndc-post-content img, .ndc-page-content img { max-width: 100%; height: auto; display: block; border-radius: 8px; margin: 8px 0; }
  .ndc-post-content figure, .ndc-page-content figure { margin: 36px 0; }
  .ndc-post-content figcaption, .ndc-page-content figcaption { font-size: 13px; color: #949494; text-align: center; margin-top: 10px; }
  .ndc-post-content blockquote, .ndc-page-content blockquote { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 2px solid #111; font-family: 'Tenor Sans', serif; font-size: 20px; line-height: 1.5; color: #111; }
  .ndc-post-content hr, .ndc-page-content hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 40px 0; }
  .ndc-post-content table, .ndc-page-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
  .ndc-post-content th, .ndc-page-content th, .ndc-post-content td, .ndc-page-content td { border: 1px solid rgba(0,0,0,.1); padding: 10px 14px; text-align: left; }
  .ndc-post-content code, .ndc-page-content code { background: #f2f2f2; border-radius: 4px; padding: 2px 6px; font-size: 14px; }
  .ndc-post-content pre, .ndc-page-content pre { background: #111; color: #f2f2f2; border-radius: 8px; padding: 20px; overflow-x: auto; margin: 0 0 24px; }
  .ndc-post-content pre code, .ndc-page-content pre code { background: none; color: inherit; padding: 0; }
  .ndc-post-content .alignwide, .ndc-page-content .alignwide, .ndc-post-content .alignfull, .ndc-page-content .alignfull { max-width: 100%; }

  /* "Our Work" image grid — the Group block seeded on service and
     gallery pages. Turns consecutive Image blocks into a tidy grid
     instead of a single stacked column, however many the admin adds. */
  .ndc-work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 32px 0; }
  .ndc-work-grid figure.wp-block-image { margin: 0; }
  .ndc-work-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; margin: 0; }

  @media (max-width: 760px) {
    .ndc-post-content, .ndc-page-content { font-size: 15px; }
    .ndc-post-content h2, .ndc-page-content h2 { font-size: 24px; }
    .ndc-post-content h3, .ndc-page-content h3 { font-size: 19px; }
    .ndc-post-content blockquote, .ndc-page-content blockquote { font-size: 17px; padding-left: 18px; }
    .ndc-work-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
    .ndc-work-grid img { height: 180px; }
  }

  a { color: #fff; text-decoration: none; }
  a:hover { color: #949494; }
  input, textarea, button { font-family: Raleway, sans-serif; }
  @keyframes lxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes lxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
  @keyframes lxZoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* --- WordPress admin bar compatibility (only shown to logged-in users) --- */
body.admin-bar #ndc-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #ndc-header { top: 46px; }
}
