#desktop_navigation .menu-item {
  padding-left: 0.2rem;
   padding-right: 0.2rem;
   padding-top:1rem;
   padding-bottom: 1rem;
  text-transform:uppercase;
}
.menu-intro {
padding: 1rem;
  background-color: var(--light);
  text-align: center;
  font-weight:600;
}
.sub-menu .menu-item {
  border-bottom: 0.5px solid #fff;
}
.display-choice {display:none;}
	.call-today {
  color: #fff !important;
  padding-left:3rem;
		padding-right:3rem;
  font-size: 1.25em;
	
  }
	.contact-num {
  font-weight: 900;
  color: #fff !important;
}
	
#contact_box_row .ct-fancy-icon > svg {
  width: 20px;
  height: 20px;
}
	#call-us-today {
  background: url(/wp-content/uploads/2023/08/red-banner.png);
    background-position-x: 0%;
    background-position-y: 50%;
    background-repeat: repeat;
    background-size: auto;
  background-repeat: no-repeat;
  background-size: contain;
  
  color: #fff !important;
  line-height: 2.5em;
  margin: 0;
		margin-left: auto;
}
	#call-us-today {
  color: #fff !important;
  line-height: 2.5em;
}
.ksmnav-inner {
  background-color:var(--accent);
}
.ksmnav-menu {
  background-color: var(--primary);
}
#contact_box_row {
  align-items: stretch;
  grid-template-columns: repeat(3,minmax(80px,1fr));
  grid-column-gap: 0px;
  grid-row-gap: 20px;
  display: grid;
  border-bottom: 2px solid #fff
}
#call_us {
  background-color: var(--primary);
  text-align: left;
  align-items: center;
  gap: 10px;
}
#email_us {
  text-align: left;
  align-items: center;
  gap: 10px;
}
#about_us {
  background-color: var(--accent);
  text-align: left;
  align-items: center;
  gap: 10px;
}
div.ct-fancy-icon {
  display: inline-flex;
  border-radius: 50%;
}

#fancy_icon-11-7114 > svg {
  width: 20px;
  height: 20px;
}
#fancy_icon-15-7114 > svg {
  width: 20px;
  height: 20px;
}
#fancy_icon-14-7114 > svg {
  width: 20px;
  height: 20px;
}
#neutral_div_desktop_nav_control .menu-item a:hover {
  background-color: var(--secondary);
}
#neutral_div_desktop_nav_control .menu-item a:active {
  background-color: var(--secondary);
}
#_nav_menu-2887-5620.oxy-nav-menu:not(.oxy-nav-menu-open) .sub-menu {
  background-color: var(--accent) !important;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}
.ksmnav-inner {
  background-color: var(--accent);
}
.ksmnav-target {
  color: #fff;
  border-bottom: 1px solid #fff;
}
.ksmnav-menu .menu-item.current-menu-item,
.ksmnav-menu .menu-item.current_page_item {
  background-color: var(--secondary) !important;
}
.sub-menu-1 {
  background-color: var(--accent) !important;
}
/* Scoped to header nav only — was bleeding into footer/mobile menus before.
   Active/current items use --accent as their background. */
#waterford_div_desktop_nav .current-menu-item,
#waterford_div_desktop_nav .current-menu-ancestor,
#waterford_div_desktop_nav .current-menu-parent,
#waterford_div_desktop_nav .current_page_item,
#waterford_div_desktop_nav .current_page_parent,
#waterford_div_desktop_nav .current_page_ancestor,
.menu-item-has-children .ksmnav-sub-accordion .ksmnav-depth-0 .ksmnav-active
{background-color: var(--accent) !important;}
.ksmnav .ksmnav-submenu-activation i.fa {top: 40% !important;}
.ksmnav-submenu-activation.ksmnav-submenu-activation-open {
  background-color: #fff;
}
.ksmnav-submenu-activation.ksmnav-submenu-activation-close {
  background-color: #fff;
}
.fa.fa-chevron-circle-down {
  visibility: hidden;
  position: relative;
}
.fa.fa-chevron-circle-down::before {
  visibility: visible;
  content: "▼";  /* New icon content */
  position: absolute;
  top: 0;
  left: 0;
  /* Add more styles as needed */
}
.fa.fa-chevron-circle-up {
  visibility: hidden;
  position: relative;
}

.fa.fa-chevron-circle-up::before {
  visibility: visible;
  content: "▼";  /* New icon content */
  transform: rotate(180deg);
  position: absolute;
  top: 0;
  left: 0;
  /* Add more styles as needed */
}
#menu-top-menu {
  list-style-type: none;
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  flex-wrap: wrap;
  float: right;
}
#svg-phone {width:25px; height:25px;fill:#fff;}



@media (max-width: 768px) {
  .display-choice {display:block;}
}


#link-2881-5620 {
  background-color: #e2e2e2;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.footer-menu ul {
  padding-left: 2rem;
  color:var(--light);
  margin-top: 0;
}
.latest-footer {var(--light);  color:var(--light); padding-left:2rem; margin-top:0px;}
.latest-footer a {color:var(--light);}
.latest-footer li {margin-bottom:1rem;}
.h-footer {
  border-bottom: 2px solid #fff;
  width: 100%;
  text-transform: uppercase;
  margin-bottom: 2rem !important;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--light);
  padding-bottom: .5rem;
}
@media only screen and (min-width: 993px) {
#ksmnav-main {display:none;}
}

/* ─── Responsive show/hide (mobile <993px / desktop ≥993px) ─── */
/* Site-wide overflow guard — kills horizontal scrollbars caused by stray
   wide elements (rogue images, srcset width attrs, oversized embeds). */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Mobile header logo bar — light-grey background + uppercase teal text,
   matching the meathroofers.ie mobile header. */
#waterford_div_11 {
    background-color: var(--shade-ultra-light);
    border-bottom: 2px solid #fff;
}

/* KSM Menu integration: hide the duplicated desktop nav that ksm_nav_menu()
   renders — we use the plugin only for its mobile off-screen drawer. */
.ksm-navigation--desktop {
    display: none !important;
}
/* Trigger button keeps its visual appearance from existing #waterford_div_mobile_bar_menu rules. */
#waterford_div_mobile_bar_menu {
    cursor: pointer;
    user-select: none;
}
/* Force the inner .set-width wrapper to actually respect viewport — the
   root.css .set-width rule uses width:1400px !important which only honours
   max-width:100% via parent measurement; explicit override here guarantees
   the mobile bar never overflows. */
#waterford_div_mobile_header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}
#waterford_div_mobile_header_name_text {
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(1.6rem, 0.9rem + 2.2vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
}
/* Two-tone title: first word = primary (brown), rest = secondary (teal). */
#waterford_div_mobile_header_name_text .first-word { color: var(--primary); }
#waterford_div_mobile_header_name_text .other-words { color: var(--secondary); }
#waterford_div_mobile_header_slogan_text .text--secondary {
    color: var(--secondary);
    font-weight: 500;
    font-size: clamp(1rem, 0.7rem + 1vw, 1.25rem);
    margin-top: 0.25rem;
}

/* Default (mobile first <993px): mobile elements visible, desktop hidden */
#waterford_div_11,
#waterford_div_mobile_header,
#waterford_div_mobile_nav_wrapper {
    display: block;
}
#waterford_div_mobile_nav_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
/* Mobile header layout: logo + text as a centred inline group.
   Both items together sit in the centre of the bar, not pushed apart. */
#waterford_div_mobile_header_wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
#waterford_div_mobile_header_image,
#waterford_div_mobile_header_image_svg {
    flex: 0 0 auto;
    width: 72px;
}
#waterford_div_mobile_header_image_svg svg {
    width: 100%;
    height: auto;
    display: block;
}
#waterford_div_mobile_header_text_wrapper {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
}
#waterford_div_desktop_header,
#waterford_div_desktop_nav {
    display: none;
}

/* Desktop (≥993px): hide mobile, show desktop, lay out the desktop header */
@media (min-width: 993px) {
    #waterford_div_11,
    #waterford_div_mobile_header,
    #waterford_div_mobile_nav_wrapper {
        display: none;
    }
    #waterford_div_desktop_header {
        display: block;
        padding: 1.5rem 0;
        max-width: 1400px;
        margin: 0 auto;
    }
    #waterford_div_desktop_header_wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 0 2rem;
    }
    #waterford_div_desktop_logo {
        flex: 0 0 auto;
    }
    #waterford_div_desktop_header_right {
        flex: 0 1 auto;
        max-width: 50%;
        min-width: 320px;
    }
    /* SVG stacked ABOVE the headline, both horizontally centred against each
       other. */
    #waterford_div_header_desktop_code {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    #waterford_div_header_desktop_code .hero_title {
        margin: 0;
    }
    /* Nav strip: coloured background runs full bleed; inner items constrained
       to 1400px and centred so the bar reads cleanly on wide screens.
       The wrapper has class .set-width (root.css: width:1400px !important)
       which would overflow narrow viewports — override here with width:auto
       so max-width takes effect at < 1400px. */
    #waterford_div_desktop_nav {
        display: block;
        background-color: var(--primary);
    }
    #waterford_div_desktop_nav_wrapper {
        width: auto !important;
        max-width: 1400px !important;
        margin: 0 auto;
        padding: 0 2rem;
        box-sizing: border-box;
    }
    /* Same override for the desktop header wrapper if it inherits set-width. */
    #waterford_div_desktop_header {
        width: auto !important;
        max-width: 1400px !important;
        box-sizing: border-box;
    }
    /* Primary nav list (ID #menu-top-menu set in header.php).
       Override `float: right` from the original Custom-css.txt — a floated
       child collapses the parent, hiding the brown nav strip entirely. */
    #menu-top-menu {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        float: none;
        /* Bound to parent so flex-wrap triggers when items exceed available width. */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    #menu-top-menu > li {
        min-width: 0;
    }
    #menu-top-menu > li {
        list-style: none;
    }
    #menu-top-menu > li > a {
        display: inline-flex;
        align-items: center;
        /* Padding scales with viewport so items don't overflow on 1024-1280. */
        padding: 1.2rem clamp(0.6rem, 0.3rem + 0.8vw, 1.5rem);
        color: var(--light);
        text-decoration: none;
        text-transform: capitalize;
        font-weight: 700;
        /* Scales 15px → 21px between 993px and 1440px viewport. */
        font-size: clamp(1.5rem, 0.8rem + 1vw, 2.1rem);
        letter-spacing: 0.01em;
        line-height: 1.2;
        white-space: nowrap;
    }
    /* Hover state intentionally removed — top-level desktop nav items don't
       change colour on hover; only the active (current) item is highlighted. */

    /* Sub-menus — hidden by default, revealed on parent hover/focus. */
    #menu-top-menu .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        min-width: 240px;
        margin: 0;
        padding: 0;
        list-style: none;
        background-color: var(--accent);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        display: none;
    }
    #menu-top-menu > li {
        position: relative;
    }
    #menu-top-menu > li.menu-item-has-children:hover > .sub-menu,
    #menu-top-menu > li.menu-item-has-children:focus-within > .sub-menu {
        display: block;
    }
    #menu-top-menu .sub-menu li {
        list-style: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    #menu-top-menu .sub-menu li:last-child {
        border-bottom: none;
    }
    #menu-top-menu .sub-menu a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--light);
        text-decoration: none;
        text-transform: none;
        font-weight: 500;
        font-size: clamp(1.4rem, 1.1rem + 0.4vw, 1.8rem);
        line-height: 1.3;
    }
    #menu-top-menu .sub-menu a:hover {
        background-color: var(--secondary);
    }

    /* Dropdown indicator — thin curved chevron-down (U+2304), matching
       the meathroofers.ie style. Pure CSS, no JS, no hover animation. */
    #menu-top-menu > li.menu-item-has-children > a::after {
        content: "\2304"; /* ⌄ DOWNWARDS ARROWHEAD */
        display: inline-block;
        margin-left: 6px;
        font-weight: 400;
        font-size: 1em;
        line-height: 1;
        transform: translateY(-0.15em); /* lifts the glyph onto the text mid-line */
    }
}

/* Desktop logo SVG sizing — scales 100px → 180px between 993 and 1440 viewports. */
#waterford_div_header_desktop_code svg {
    width: clamp(120px, 8vw, 180px);
    max-width: 180px;
    height: auto;
    display: block;
}
#waterford_div_header_desktop_code .hero_title {
    margin: 0.5rem 0 0;
    /* Scales 22px (small desktop) → 34px (≥1440 viewport). */
    font-size: clamp(2.2rem, 1.4rem + 1.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--secondary);
}

/* Mobile-bar phone button + menu button — sized to match meathroofers.ie
   live mobile bar (icons ~50px tall, bar ~72px). */
#waterford_div_mobile_call_wrapper,
#waterford_div_mobile_bar_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 56px;
}
/* The hamburger SVG includes a "MENU" word in white paths — give the
   button a coloured background so the text is visible and the whole
   icon sits centred (otherwise only the leftmost circle renders and
   the icon visually floats left). */
#waterford_div_mobile_bar_menu {
    background-color: var(--primary);
}
/* Both icons centred inside their respective wrapper divs.
   margin:auto + display:block guarantees centring regardless of any
   inherited inline/baseline weirdness on the parent. */
#waterford_div_mobile_call_wrapper svg,
#waterford_div_mobile_bar_menu svg {
    display: block;
    margin: 0 auto;
}
/* The inner code-block <div> is a block-level wrapper that fills its parent;
   make it a flex container so the SVG sits dead-centre rather than left-aligned. */
#waterford_div_mobile_call_code,
#waterford_div_mobile_nav_code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
/* Phone icon — square */
#waterford_div_mobile_call_wrapper svg {
    width: 38px;
    height: 38px;
}
/* Hamburger SVG — wider aspect (includes the "MENU" text). Honour its viewBox
   ratio (~69:25) by giving it a generous height and letting width follow. */
#waterford_div_mobile_bar_menu svg {
    width: auto;
    height: 32px;
    max-width: 100%;
}
/* Backup: text-align ensures inline-SVG fallback centres too. */
#waterford_div_mobile_call_wrapper,
#waterford_div_mobile_bar_menu {
    text-align: center;
}

/* Top notice strip — hide entirely if empty (no children) */
#code_block-2930-5620:empty {
    display: none;
}

/* Callout container — desktop only flex row */
@media (min-width: 993px) {
    .waterford_div_page_callout_container {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }
    .waterford_div_page_callout_container > div {
        flex: 1 1 0;
    }
}