/* ===== Global CSS (was WPCode snippet 329) ===== */
.pp-content-post-carousel .owl-carousel { padding: 40px 0; }
.eac-tilt-large .pp-col-separator-left svg.pp-tilt-left {
    max-height: 300px;
    width: 400px;
}
/* ===== Button Styling (was WPCode snippet 294) ===== */
a.fl-button i.fl-button-icon{
  font-size: 12px;
 
}

.fl-button-group .fl-button-wrap {
  transform: translate3d(0,0,0);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 750ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.fl-button-group .fl-button-wrap:hover,
.fl-button-group .fl-button-wrap:focus-within {
  transform: translate3d(0,-3px,0);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.fl-button-group .fl-button {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

/* Global Beaver button padding */
.fl-button-group .fl-button {
  padding: 10px 20px; /* top/bottom | left/right */
  display: inline-block;

}
/* Beaver Button Group full width buttons on mobile */
@media (max-width:768px){

.fl-button-group:not(.no-mobile-full){
    display:flex;
    flex-direction:column;
    align-items:center;
}

.fl-button-group:not(.no-mobile-full) .fl-button-group-button,
.fl-button-group:not(.no-mobile-full) .fl-button-wrap,
.fl-button-group:not(.no-mobile-full) .fl-button{
    width:100%;
}

.fl-button-group:not(.no-mobile-full) .fl-button{
    display:flex;
    justify-content:center;
    align-items:center;
}

}
/* ===== Callout Boxes CSS (was WPCode snippet 1824) ===== */
/* ════════════════════════════════════════════════════
   CALL-OUT BOX — Base styling
   Module class: call-out-box
════════════════════════════════════════════════════ */

.call-out-box .pp-infobox {
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 24px 0;
  box-shadow: 0 4px 20px rgba(0, 46, 95, 0.14);
}

.call-out-box .pp-infobox-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-out-box .pp-icon {
  font-size: 22px !important;
}

.call-out-box .pp-infobox-title-prefix {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}

.call-out-box .pp-infobox-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.call-out-box .pp-infobox-description {
  margin: 20px -24px 0;
  padding: 14px 24px;
  background: #ffffff;
}

.call-out-box .pp-infobox-description p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}


/* ════════════════════════════════════════════════════
   YELLOW ON NAVY — Colour variant
   Module class: call-out-box yellow-on-navy
════════════════════════════════════════════════════ */

.yellow-on-navy .pp-infobox {
  background-color: var(--fl-global-navy-700-base);
}

.yellow-on-navy .pp-infobox-icon {
  background-color: var(--fl-global-yellow-400-base);
}

.yellow-on-navy .pp-icon {
  color: var(--fl-global-navy-700-base) !important;
}

.yellow-on-navy .pp-infobox-title-prefix {
  color: #ffffff;
}

.yellow-on-navy .pp-infobox-title {
  color: var(--fl-global-navy-200);
}

.yellow-on-navy .pp-infobox-description p {
  color: var(--fl-global-charcoal-600);
}

/* ════════════════════════════════════════════════════
   NAVY ON YELLOW — Colour variant
   Module class: call-out-box navy-on-yellow
════════════════════════════════════════════════════ */

.navy-on-yellow .pp-infobox {
  background-color: var(--fl-global-yellow-400-base);
}

.navy-on-yellow .pp-infobox-icon {
  background-color: var(--fl-global-navy-700-base);
}

.navy-on-yellow .pp-icon {
  color: var(--fl-global-yellow-400-base) !important;
}

.navy-on-yellow .pp-infobox-title-prefix {
  color: var(--fl-global-navy-700-base);
}

.navy-on-yellow .pp-infobox-title {
  color: var(--fl-global-navy-600);
}

.navy-on-yellow .pp-infobox-description p {
  color: var(--fl-global-charcoal-600);
}

/* ===== Page Title Bar overlay (compact variant of .left-overlay) =====
   Row class: left-overlay-title
   Same navy diagonal + yellow corner as the homepage hero (.left-overlay,
   which lives in BB Global Settings CSS and is untouched), but height-capped
   so page title bars stay compact. */
.fl-row.left-overlay-title > .fl-row-content-wrap {
    position: relative;
    overflow: hidden;
    min-height: 220px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}
.fl-row.left-overlay-title > .fl-row-content-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    width: 55%;
    background: var(--fl-global-background-navy);
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
    z-index: 2;
}
.fl-row.left-overlay-title > .fl-row-content-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    height: 70%;
    width: 14%;
    background: #F5B921;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 2;
}
.fl-row.left-overlay-title .fl-row-content {
    position: relative;
    z-index: 3;
}
/* The banner template's column carries min-height:500px — cancel it only
   inside compact title bars so the shared template (homepage hero) is untouched */
.fl-row.left-overlay-title .fl-col-group > .fl-col > .fl-col-content {
    min-height: 0 !important;
}
.fl-row.left-overlay-title .fl-col-group > .fl-col:first-child,
.fl-row.left-overlay-title .fl-col-group > .fl-col:first-child * {
    color: #fff;
}
/* Description line under the H1 (pp-heading sub title) — Navy 50, not white */
.fl-row.left-overlay-title .fl-col-group > .fl-col:first-child .pp-sub-heading,
.fl-row.left-overlay-title .fl-col-group > .fl-col:first-child .pp-sub-heading * {
    color: var(--fl-global-navy-50) !important;
}
.fl-row.left-overlay-title .pp-heading::before {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #F5B921;
    margin-bottom: 12px;
}
.fl-row.left-overlay-title .pp-secondary-title {
    color: #F5B921 !important;
}
/* Tablet + mobile: the banner image stacks on top — keep it flush with the
   header and the sides of the container */
@media (max-width: 992px) {
    .fl-row.left-overlay-title > .fl-row-content-wrap {
        padding-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Stacked banner image (pp-image module): kill its default module margins
       and the inline-image descender gap so the photo sits flush against the
       site header and the row edges */
    .fl-row.left-overlay-title .fl-module-pp-image > .fl-module-content {
        margin: 0 !important;
    }
    .fl-row.left-overlay-title .fl-module-pp-image .pp-image-content {
        display: block;
        line-height: 0;
    }
    .fl-row.left-overlay-title .fl-module-pp-image img {
        display: block;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .fl-row.left-overlay-title > .fl-row-content-wrap {
        min-height: 160px !important;
        padding-top: 0 !important;
        padding-bottom: 30px !important;
    }
    .fl-row.left-overlay-title > .fl-row-content-wrap::before {
        width: 100%;
        clip-path: none;
    }
    .fl-row.left-overlay-title > .fl-row-content-wrap::after {
        display: none;
    }
}

/* ===== List module utility: top-align icons =====
   Module class: icon-top (BB List module) — icons sit level with the first
   line of text instead of vertically centred against multi-line items */
.icon-top .fl-list-item-content .fl-list-item-content-icon,
.icon-top .fl-list-item-content .fl-list-item-content-text,
.icon-top .fl-list-item-heading .fl-list-item-heading-icon,
.icon-top .fl-list-item-heading .fl-list-item-heading-text {
    vertical-align: top !important;
}

/* ===== Service child template (ACF-driven Themer layout 2206) =====
   Rendered by shortcodes in service-template.php. The infoboxes and related
   buttons replicate the pp-infobox / flat button-group styling the original
   per-page layouts used. */
.eac-svc-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
}
.eac-svc-ib {
    text-align: left;
}
.eac-svc-ib__icon {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: #F0B001;
    color: #041221;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eac-svc-ib__title {
    margin: 15px 0 20px;
}
.eac-svc-ib__desc p {
    margin: 0;
}
.eac-svc-related {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.eac-svc-related__wrap {
    display: inline-block;
    transform: translate3d(0,0,0);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 750ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}
.eac-svc-related__wrap:hover,
.eac-svc-related__wrap:focus-within {
    transform: translate3d(0,-3px,0);
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.eac-svc-related__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgb(0, 46, 95);
    background: rgba(0, 46, 95, 0.07);
    border: 1px solid rgb(0, 46, 95);
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease;
}
.eac-svc-related__btn:hover {
    background: rgb(0, 46, 95);
    color: #ffffff;
}
.eac-svc-related__btn i {
    font-size: 12px;
    margin-right: 0;
}
@media (max-width: 768px) {
    .eac-svc-related {
        flex-direction: column;
    }
    .eac-svc-related__wrap,
    .eac-svc-related__btn {
        width: 100%;
    }
    .eac-svc-related__btn {
        justify-content: center;
    }
}


/* ---- [eac_service_points style=pills] — suburb/locality pill grid ----
 * Pills styled to match the team specialty tags (.eac-team-tag); laid out
 * as an even column grid (cols attr, default 4), 2-up on small screens. */
.eac-points-pills {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 0;
	margin: 0 0 10px;
	list-style: none;
}
.eac-points-pills--1 { grid-template-columns: 1fr; }
.eac-points-pills--2 { grid-template-columns: repeat(2, 1fr); }
.eac-points-pills--3 { grid-template-columns: repeat(3, 1fr); }
.eac-points-pills--5 { grid-template-columns: repeat(5, 1fr); }
.eac-points-pills--6 { grid-template-columns: repeat(6, 1fr); }
.eac-points-pills li {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fl-global-navy-600, #0a3d73);
	background: var(--fl-global-navy-50, #e6eef7);
	border-radius: 100px;
	padding: 8px 12px;
}
@media (max-width: 992px) {
	.eac-points-pills,
	.eac-points-pills--5,
	.eac-points-pills--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
	.eac-points-pills,
	.eac-points-pills--3,
	.eac-points-pills--5,
	.eac-points-pills--6 { grid-template-columns: repeat(2, 1fr); }
}
