/*
Theme Name:   Kraken Framework Child
Theme URI:    https://www.splashmg.ca
Description:  Kraken Framework is a foundational theme designed to help create WordPress websites with a strong focus on speed, efficiency, and optimization.
Author:       Splash Media Group Inc.
Author URI:   https://www.splashmg.ca
Template:     kraken-framework
Version:      3.11.1
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Copyright: (c) Splash Media Group
Tags: blog,accessibility-ready,custom-menu,featured-images,footer-widgets,theme-options,translation-ready
Text Domain: kraken-framework
*/

:root {
    /* -- Header -- */
    --kf-header-max-width: 100%;
    --kf-header-padding: 0;
    --kf-header-inner-max-width: 100%;
    --kf-header-inner-padding: 0;
    --kf-header-row-max-width: 100%;

    /* -- Main -- */
    --kf-main-inner-padding-top: var(--kf-page-padding-top);
    --kf-main-inner-padding-bottom: var(--kf-page-padding-bottom);
    --kf-main-inner-padding-left: var(--kf-global-padding-left);
    --kf-main-inner-padding-right: var(--kf-global-padding-right);
    --kf-entry-header-max-width: var(--kf-max-width);
    --kf-entry-content-max-width: var(--kf-max-width);
    --kf-entry-footer-max-width: var(--kf-max-width);

    /* -- Footer -- */
    --kf-footer-max-width: 100%;
    --kf-footer-padding: 0;
    --kf-footer-inner-max-width: 100%;
    --kf-footer-inner-padding: 0;
    --kf-footer-row-max-width: 100%;
    --kf-footer-row-top-inner-max-width: 100%;
    --kf-footer-row-main-inner-max-width: 100%;
    --kf-footer-row-bottom-inner-max-width: 100%;
    --kf-footer-row-top-gap-mobile: 0;
    --kf-footer-row-top-inner-padding-right: 0;
    --kf-footer-row-top-inner-padding-left: 0;

    /* -- Card -- */
    --kf-post-padding: 1.5rem;
    --kf-post-border-radius: 0.5rem;

    /* - Post Image - */
    --kf-post-image-border-radius: 0.3rem;
    --kf-post-image-margin: 0 0 1.5rem 0;
    --kf-post-image-padding: 0;

    /* - Excerpt - */
    --kf-post-excerpt-margin: 0 0 1rem 0;
    --kf-post-excerpt-padding: 0;

    /* - Tags - */
    --kf-tag-label-font-size: 0.8rem;
    --kf-tag-label-font-weight: 700;
    --kf-tag-padding: 0.2rem 0.5rem;

    /* - Categories - */
    --kf-categories-padding: 0.2rem 0.5rem;
    --kf-categories-border: 1px solid var(--kf-border);
    --kf-categories-border-radius: 0.5rem;
    --kf-categories-font-size: 0.7rem;
    --kf-categories-line-height: 1.1;

    /* - Single Image - */
    --kf-single-post-image-aspect-ratio: 900 / 506;
    --kf-single-post-image-margin: 1.5rem 0 1.5rem 0;
    --kf-single-post-image-padding: 0;
    --kf-single-post-image-border-radius: 0.3rem;

    /* Post Navigation */
    --kf-post-navigation-padding: 0.3rem 0.9rem;
    --kf-post-navigation-border-radius: 0.3rem;

    /* Address */
    --kf-address-padding: 0.3rem 0;

    /* Phone */
    --kf-phone-padding: 0;

    /* Email */
    --kf-email-padding: 0;

    /* Splash Credit */
    --kf-splash-credit-font-size: 0.8rem;

    /* Guttenberg Font Sizes */
    --wp--preset--font-size--large: clamp(1.5rem, .8333vw + 1.3333rem, 2rem);
}

.kf-navigation--mobile {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: column;
    --kf-navigation-flex-gap: 1rem;
    --kf-navigation-flex-justify: flex-start;
    --kf-navigation-link-align: flex-start;
    --kf-navigation-link-padding: 0.5rem 0.5rem;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 1rem;
    --kf-navigation-subnav-position: relative;
    --kf-navigation-subnav-top: unset;
    --kf-navigation-subnav-left: unset;
    --kf-navigation-subnav-subnav-top: unset;
    --kf-navigation-subnav-subnav-left: unset;
    --kf-navigation-subnav-width: 100%;
    --kf-navigation-subnav-margin: 1rem 0 0 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 25px;
    --kf-navigation-caret-height: 25px;
    --kf-navigation-caret-margin: auto;
}

.kf-navigation--hamburger {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: column;
    --kf-navigation-flex-gap: 1rem;
    --kf-navigation-flex-justify: flex-start;
    --kf-navigation-link-align: flex-start;
    --kf-navigation-link-padding: 0.5rem 0.5rem;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 1rem;
    --kf-navigation-subnav-position: relative;
    --kf-navigation-subnav-top: unset;
    --kf-navigation-subnav-left: unset;
    --kf-navigation-subnav-subnav-top: unset;
    --kf-navigation-subnav-subnav-left: unset;
    --kf-navigation-subnav-width: 100%;
    --kf-navigation-subnav-margin: 1rem 0 0 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 25px;
    --kf-navigation-caret-height: 25px;
    --kf-navigation-caret-margin: auto;
}

.kf-navigation--primary {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: row;
    --kf-navigation-flex-gap: 1rem;
    --kf-navigation-flex-justify: flex-start;
    --kf-navigation-link-align: center;
    --kf-navigation-link-padding: 0.5rem 0.5rem;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 0.5rem;
    --kf-navigation-subnav-position: absolute;
    --kf-navigation-subnav-top: 100%;
    --kf-navigation-subnav-left: 0;
    --kf-navigation-subnav-subnav-top: 0;
    --kf-navigation-subnav-subnav-left: 100%;
    --kf-navigation-subnav-width: 200px;
    --kf-navigation-subnav-margin: 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 16px;
    --kf-navigation-caret-height: 16px;
    --kf-navigation-caret-margin: auto;
}

.kf-navigation--secondary {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: row;
    --kf-navigation-flex-gap: 1rem;
    --kf-navigation-flex-justify: flex-start;
    --kf-navigation-link-align: center;
    --kf-navigation-link-padding: 0.5rem 0.5rem;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 0.5rem;
    --kf-navigation-subnav-position: absolute;
    --kf-navigation-subnav-top: 100%;
    --kf-navigation-subnav-left: 0;
    --kf-navigation-subnav-subnav-top: 0;
    --kf-navigation-subnav-subnav-left: 100%;
    --kf-navigation-subnav-width: 200px;
    --kf-navigation-subnav-margin: 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 16px;
    --kf-navigation-caret-height: 16px;
    --kf-navigation-caret-margin: auto;
}

.kf-navigation--footer {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: column;
    --kf-navigation-flex-gap: 0.5rem;
    --kf-navigation-flex-justify: center;
    --kf-navigation-link-align: center;
    --kf-navigation-link-padding: 0.3rem 0;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 0.5rem;
    --kf-navigation-subnav-position: absolute;
    --kf-navigation-subnav-top: 100%;
    --kf-navigation-subnav-left: 0;
    --kf-navigation-subnav-subnav-top: 0;
    --kf-navigation-subnav-subnav-left: 100%;
    --kf-navigation-subnav-width: 200px;
    --kf-navigation-subnav-margin: 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 16px;
    --kf-navigation-caret-height: 16px;
    --kf-navigation-caret-margin: auto;
}

.kf-navigation--legal {
    /* Navigation */
    --kf-navigation-display: flex;
    --kf-navigation-flex-direction: column;
    --kf-navigation-flex-gap: 0.5rem;
    --kf-navigation-flex-justify: center;
    --kf-navigation-link-align: center;
    --kf-navigation-link-padding: 0.3rem 0.5rem;
    --kf-navigation-link-margin: 0;

    /* Sub Navigation */
    --kf-navigation-subnav-flex-direction: column;
    --kf-navigation-subnav-flex-justify: flex-start;
    --kf-navigation-subnav-link-align: flex-start;
    --kf-navigation-subnav-flex-gap: 0.5rem;
    --kf-navigation-subnav-position: absolute;
    --kf-navigation-subnav-top: 100%;
    --kf-navigation-subnav-left: 0;
    --kf-navigation-subnav-subnav-top: 0;
    --kf-navigation-subnav-subnav-left: 100%;
    --kf-navigation-subnav-width: 200px;
    --kf-navigation-subnav-margin: 0;
    --kf-navigation-subnav-link-padding: 0.3rem 0.5rem;
    --kf-navigation-subnav-link-margin: 0;
    --kf-navigation-caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m8 10l4 4l4-4'/%3E%3C/svg%3E");
    --kf-navigation-caret-width: 16px;
    --kf-navigation-caret-height: 16px;
    --kf-navigation-caret-margin: auto;
}



.kf-footer {
    /* Address */
    --kf-address-padding: 0.3rem 0;

    /* Phone */
    --kf-phone-padding: 0.3rem 0;

    /* Email */
    --kf-email-padding: 0.3rem 0;

}





/* //////////////////////////////////////////////////// */
/*                                                      */
/*                  BASE (HTML Elements)                */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*      body, img, figure, p, h1-h6, ul, ol, etc.       */
/* //////////////////////////////////////////////////// */




/* //////////////////////////////////////////////////// */
/*                                                      */
/*                       TYPOGRAPHY                     */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*    Font utilities, text treatments, heading styles   */
/* //////////////////////////////////////////////////// */

/* ===================================== */
/*        WP Font Preset Overrides       */
/* ===================================== */
:root {
    /* --font-size-small:; */
    /* --font-size-medium:; */
    --font-size-large:clamp(1.5rem, 1.0909vw + 1.2545rem, 3rem);
    --font-size-xlarge:clamp(2rem, 1.6364vw + 1.6318rem, 4.25rem);

    /* --lh-small:; */
    /* --lh-medium:; */
    --lh-large:1.4;
    --lh-xlarge:1.2;
}

/* Matches Gutenberg's .has-small-font-size, etc., to Kraken scale variables. */
.has-small-font-size {
    /* font-size: var(--font-size-small) !important; */
    line-height: var(--lh-small) !important;
}

.has-medium-font-size {
    /* font-size: var(--font-size-medium) !important; */
    line-height: var(--lh-medium) !important;
}

.has-large-font-size {
    font-size: var(--font-size-large) !important;
    line-height: var(--lh-large) !important;
}

.has-xlarge-font-size {
    font-size: var(--font-size-xlarge) !important;
    line-height: var(--lh-xlarge) !important;
}



/* h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {} */



/* ==================================== */
/*             Web Fonts             */
/* ==================================== */






/* //////////////////////////////////////////////////// */
/*                                                      */
/*                         LAYOUT                       */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*      Containers, wrappers, section spacing, etc      */ 
/* //////////////////////////////////////////////////// */

/* ============================================ */
/*                 Notification                 */
/* ============================================ */

/* ============================================ */
/*                    Header                    */
/* ============================================ */

    /* ------------------------
    Top Row
    --------------------------- */

    /* ------------------------
    Main Row
    --------------------------- */

    /* ------------------------
    Bottom Row
    --------------------------- */



/* ============================================ */
/*                     Main                     */
/* ============================================ */

/* ============================================ */
/*                    Sidebar                   */
/* ============================================ */

/* ============================================ */
/*                    Footer                    */
/* ============================================ */
.kf-footer__contact {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.kf-social-media--footer {
    .kf-social-media__list {
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    :root {
        /* Splash Credit */
        --kf-splash-credit-font-size: 0.8rem;
    }

    .kf-navigation--footer {
        /* Navigation */
        --kf-navigation-flex-justify: flex-start;
        --kf-navigation-flex-gap: 0;
    }

    .kf-navigation--legal {
        /* Navigation */
        --kf-navigation-display: flex;
        --kf-navigation-flex-direction: row;
        --kf-navigation-flex-justify: flex-start;
        --kf-navigation-flex-gap: 1rem;
        --kf-navigation-link-padding: 0.5rem 0.5rem;
    }
}

    /* ----------------------------------------------------------
    Top Row
    ---------------------------------------------------------- */
    .kf-footer__row-inner--top {
        .kf-footer__column--end {
            @media (min-width: 991px) {
                display: flex;
                justify-content: flex-end;
            }
        }
    }

    .kf-footer__row--top {
        border-bottom: 1px solid #FFF;

        .kf-footer__row-inner--top {
            gap:0;

            .kf-footer__column--end {
                display:flex;
                justify-content: flex-end;
                align-items: center;

                .kf-footer__column--end--colwrap {
                    display:flex;
                    justify-content: flex-end;
                    align-items: center;
                    height: 100px;
                    min-height:100px;

                    .kf-footer__column--end--01 {
                        display: flex;
                        align-items: center;
                        height: 100px;
                        padding-right: 2rem;
                        border-right: 1px solid #FFF;

                        /* Tagline */
                        p.footer-tagline {
                            font-size: clamp(1.2rem, .5vw + 1.1rem, 1.5rem);
                            line-height: 1;
                            margin:0;
                        }
                    }

                    .kf-footer__column--end--02 {
                        display: flex;
                        height: 100px;

                    }
                }
            }
        }
    }

    /* --- Top Row Media Query --- */
    @media only screen and (max-width: 615px) {

        .kf-footer__row--top .kf-footer__column--end--colwrap {
            flex-direction: column;
            align-items: stretch !important;
            width: 100%;
            min-height: 150px !important;
        }
        .kf-footer__row--top .kraken-link-arrow {
            width: 100%;
            justify-content: center;
        }

        .kf-footer__row--top .footer-tagline {justify-content: center;}

        .kf-footer__row--top .kf-footer__column--end--01 {
            justify-content: center;
            padding-right: 0 !important;
            border-right: 0 !important;
            border-bottom: 1px solid #fff;
        }

        .kf-footer__row--top .kf-footer__column--end--01,
        .kf-footer__row--top .kf-footer__column--end--02 {min-height: 75px !important;}

    }

    /* --- Link + arrow --- */
    .kf-footer {
        .kraken-link-arrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: #004761; /* text stays white */
            font-size: clamp(1.2rem, .5vw + 1.1rem, 1.5rem);;
            line-height: 1;
            font-weight: 400;
            padding-left: clamp(2rem, 4vw, 3.5rem);
            padding-right: clamp(2rem, 4vw, 3.5rem);
            background-color: #FDD26E;

            @media (min-width: 991px) {
                font-size: 1.5rem;
            }
        }
        /* Icon */
        .kraken-link-arrow__icon {
            width: 1.25em;
            height: 1.25em;
            flex: 0 0 auto;
            stroke: #004761;
            stroke-width: 2;
            fill: none;
            transition: transform 0.25s ease;
        }
        /* Subtle motion on hover */
        .kraken-link-arrow:hover .kraken-link-arrow__icon,
        .kraken-link-arrow:focus-visible .kraken-link-arrow__icon {
            transform: translateX(0.2em);
        }
    }





    /* ----------------------------------------------------------
    Main Row
    ---------------------------------------------------------- */
    .kf-footer__row--main {
        .kf-footer__column--start {
            @media (min-width: 991px) {
                flex: 0 0 calc(40% - 0.8rem);
            }
        }

        .kf-footer__column--middle {
            @media (min-width: 991px) {
                flex: 0 0 calc(15% - 0.3rem);
            }
        }

        .kf-footer__column--end {
            @media (min-width: 991px) {
                flex: 0 0 calc(15% - 0.3rem);
            }
        }
    }

    /* ----------------------------------------------------------
    Bottom Row
    ---------------------------------------------------------- */

    /* ----------------------------------------------------------
    Base Row
    ---------------------------------------------------------- */
    .kf-footer {
        & .kf-footer__row-inner {
            &.kf-footer__row-inner--base {
                max-width: 100%;
            }
        }
    }



    .kf-footer .footer-links a {
        color: #00303C;
        text-decoration: none;

        &:hover {
            color: #000000;
        }
    }



/* //////////////////////////////////////////////////// */
/*                                                      */
/*                       NAVIGATION                     */
/*                                                      */
/* //////////////////////////////////////////////////// */

/* ============================================ */
/*           Secondary (Top) Navigation         */
/* ============================================ */

/* Button */
a.header-button {
    padding: 10px 24px; 
    font-size: 1rem; 
    font-style: normal; 
    font-weight: 700; 
    text-transform: uppercase; 
    background-color: #FDD26E; 
    border-radius: 9999px; 
    text-decoration: none; 
    color: #004761;
    margin-left: 1rem;
    margin-right: 1rem;

    transition: background-color 0.3s ease, color 0.3s ease;
}

a.header-button:hover {
    background-color: #002633; 
    color: #FDD26E;
}



/* ============================================ */
/*               Primary Navigation             */
/* ============================================ */

/* ============================================ */
/*                     Drawer                   */
/* ============================================ */
:where(.kf-navigation__drawer) {
    :where(.kf-navigation__drawer-inner) {
        background-image: url(https://www.douglasbarwick.ca/wp-content/uploads/2026/07/db-tiled-bg-pattern-drawer-mobile-menu.png);

    }
}

.kf-navigation--hamburger {
    max-width: 600px;
    margin: 0 auto;
}




/* //////////////////////////////////////////////////// */
/*                                                      */
/*                       COMPONENTS                     */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*                 reusable UI patterns                 */
/* //////////////////////////////////////////////////// */





/* //////////////////////////////////////////////////// */
/*                                                      */
/*                    WORDPRESS BLOCKS                  */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*               Overrides for core blocks              */
/* //////////////////////////////////////////////////// */

/* ============================================ */
/*                    Buttons                   */
/* ============================================ */
/*
  Solid button with small radius, uppercase text,
  and fixed text color (no hover change)
*/
/* --- Default Button --- */
.wp-block-button__link {
/* Layout */
display: inline-block;

/* Typography */
font-size: 1rem;
font-weight: 700;
line-height: 1.1;
text-transform: uppercase;
color: #004860;

/* Visual */
background-color: #FFD26E;
border-radius: 50px;
border: none;

/* Spacing (adjust if needed) */
padding: .75em 1em;

/* Smooth hover */
transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover / Focus */
.wp-block-button__link:hover,
.wp-block-button__link:focus {
background-color: #002633;
color: #FFD26E;
}

/* Optional: remove default WP outline styles (if present) */
.wp-block-button__link:focus-visible {
outline: none;
}




/* --- Red Default Button --- */
.button-red .wp-block-button__link {
/* Layout */
display: inline-block;

/* Typography */
font-size: 1rem;
font-weight: 700;
line-height: 1.1;
text-transform: uppercase;
color: #ffffff;

/* Visual */
background-color: #da291c;
border-radius: 50px;
border: none;

/* Spacing (adjust if needed) */
padding: .75em 1em;

/* Smooth hover */
transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover / Focus */
.button-red .wp-block-button__link:hover,
.button-red .wp-block-button__link:focus {
background-color: #891a12;
color: #ffffff;
}

/* Optional: remove default WP outline styles (if present) */
.button-red .wp-block-button__link:focus-visible {
outline: none;
}








/* ============================================ */
/*                     Columns                  */
/* ============================================ */

    /* -------------------------------------------------------
    Change Column Breakpoints and remove gap
    ---------------------------------------------------------- */
    /*
    Apply appropriate helper class to the Columns block 
    */
    @media (max-width: 1000px) {
        .wp-block-columns.columns-stack-1000 {
            flex-wrap: wrap !important;
            gap: var(--wp--style--block-gap, 1.5rem);
        }

        .wp-block-columns.columns-stack-1000 > .wp-block-column {
            flex-basis: 100% !important;
            flex-grow: 0;
        }
    }

    @media (max-width: 1100px) {
        .wp-block-columns.columns-stack-1100 {
            flex-wrap: wrap !important;
            gap: var(--wp--style--block-gap, 1.5rem);
        }

        .wp-block-columns.columns-stack-1100 > .wp-block-column {
            flex-basis: 100% !important;
            flex-grow: 0;
        }
    }

    @media (max-width: 1200px) {
        .wp-block-columns.columns-stack-1200 {
            flex-wrap: wrap !important;
            gap: var(--wp--style--block-gap, 1.5rem);
        }

        .wp-block-columns.columns-stack-1200 > .wp-block-column {
            flex-basis: 100% !important;
            flex-grow: 0;
        }
    }

    @media (max-width: 1300px) {
        .wp-block-columns.columns-stack-1300 {
            flex-wrap: wrap !important;
            gap: var(--wp--style--block-gap, 1.5rem);
        }

        .wp-block-columns.columns-stack-1300 > .wp-block-column {
            flex-basis: 100% !important;
            flex-grow: 0;
        }
    }

    @media (max-width: 1400px) {
        .wp-block-columns.columns-stack-1400 {
            flex-wrap: wrap !important;
            gap: var(--wp--style--block-gap, 1.5rem);
        }

        .wp-block-columns.columns-stack-1400 > .wp-block-column {
            flex-basis: 100% !important;
            flex-grow: 0;
        }
    }



    /* --------------------------------------------------------------------------
    Breakout Content
    -------------------------------------------------------------------------- */
    /*
        Apply either .breakout-content-left or .breakout-content-right
        directly to the WordPress Columns block.
        This version expects the Columns block to be full-width / alignfull.
        It preserves normal inner content alignment by using separate
        padding tracks inside the grid.
    */
    .wp-block-columns.breakout-content-left,
    .wp-block-columns.breakout-content-right {
        --breakout-content-gap: var(--wp--style--block-gap, 1.5rem);
        --breakout-content-split-left: 50;

        --breakout-content-inner-width: calc(
            var(--kf-max-width) - var(--kf-global-padding-left) - var(--kf-global-padding-right) - var(--breakout-content-gap)
        );

        --breakout-content-inner-left: calc(
            var(--breakout-content-inner-width) * (var(--breakout-content-split-left) / 100)
        );

        --breakout-content-inner-right: calc(
            var(--breakout-content-inner-width) * ((100 - var(--breakout-content-split-left)) / 100)
        );

        display: grid;
        gap: 0;

        grid-template-columns:
            minmax(0, 1fr)
            var(--kf-global-padding-left)
            minmax(0, var(--breakout-content-inner-left))
            var(--breakout-content-gap)
            minmax(0, var(--breakout-content-inner-right))
            var(--kf-global-padding-right)
            minmax(0, 1fr);

        max-width: none;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    /* Split helper classes */
    .wp-block-columns.breakout-content-split-30-70 { --breakout-content-split-left: 30; }
    .wp-block-columns.breakout-content-split-35-65 { --breakout-content-split-left: 35; }
    .wp-block-columns.breakout-content-split-40-60 { --breakout-content-split-left: 40; }
    .wp-block-columns.breakout-content-split-50-50 { --breakout-content-split-left: 50; }
    .wp-block-columns.breakout-content-split-60-40 { --breakout-content-split-left: 60; }
    .wp-block-columns.breakout-content-split-65-35 { --breakout-content-split-left: 65; }
    .wp-block-columns.breakout-content-split-70-30 { --breakout-content-split-left: 70; }

    /* Gap helper classes */
    .wp-block-columns.breakout-content-gap-none  { --breakout-content-gap: 0; }
    .wp-block-columns.breakout-content-gap-xs    { --breakout-content-gap: 0.5rem; }
    .wp-block-columns.breakout-content-gap-sm    { --breakout-content-gap: 1rem; }
    .wp-block-columns.breakout-content-gap-md    { --breakout-content-gap: 1.5rem; }
    .wp-block-columns.breakout-content-gap-lg    { --breakout-content-gap: 2rem; }
    .wp-block-columns.breakout-content-gap-xl    { --breakout-content-gap: 3rem; }
    .wp-block-columns.breakout-content-gap-xxl   { --breakout-content-gap: 4rem; }
    .wp-block-columns.breakout-content-gap-xxxl  { --breakout-content-gap: 5rem; }
    .wp-block-columns.breakout-content-gap-xxxxl { --breakout-content-gap: 6rem; }

    /* Neutralize core Columns sizing */
    .wp-block-columns.breakout-content-left > .wp-block-column,
    .wp-block-columns.breakout-content-right > .wp-block-column {
        width: auto;
        max-width: none;
        flex: initial;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* LEFT breakout */
    .wp-block-columns.breakout-content-left > .wp-block-column:first-child {
        grid-column: 1 / 4;
    }

    .wp-block-columns.breakout-content-left > .wp-block-column:last-child {
        grid-column: 5 / 6;
    }

    /* RIGHT breakout */
    .wp-block-columns.breakout-content-right > .wp-block-column:first-child {
        grid-column: 3 / 4;
    }

    .wp-block-columns.breakout-content-right > .wp-block-column:last-child {
        grid-column: 5 / 8;
    }

    /* Mobile stack */
    @media (max-width: 781px) {
        .wp-block-columns.breakout-content-left,
        .wp-block-columns.breakout-content-right {
            display: flex;
            flex-direction: column;
            gap: var(--breakout-content-gap);

            width: auto !important;
            max-width: none !important;

            margin-left: 0 !important;
            margin-right: 0 !important;

            box-sizing: border-box;
        }

        .wp-block-columns.breakout-content-left > .wp-block-column,
        .wp-block-columns.breakout-content-right > .wp-block-column {
            width: 100%;
            max-width: 100%;
            margin: 0;
            box-sizing: border-box;
        }

        .wp-block-columns.breakout-content-left.breakout-content-mobile-reverse > .wp-block-column:first-child,
        .wp-block-columns.breakout-content-right.breakout-content-mobile-reverse > .wp-block-column:first-child {
            order: 2;
        }

        .wp-block-columns.breakout-content-left.breakout-content-mobile-reverse > .wp-block-column:last-child,
        .wp-block-columns.breakout-content-right.breakout-content-mobile-reverse > .wp-block-column:last-child {
            order: 1;
        }
    }




/* //////////////////////////////////////////////////// */
/*                                                      */
/*                     HELPER CLASSES                   */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*  One-purpose helper classes: .hidden, .sr-only, etc. */
/* //////////////////////////////////////////////////// */
.roundy-bar-wrap {

    .roundy-bar-columns {

        .roundy-bar-col1 {

        }


        .roundy-bar-col2 {
            height: 100%;

            figure {
                width: 100%;
                height: 100%;


                margin: 0;
                overflow: hidden;

                /* SVG mask */
                -webkit-mask-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/image-curve-mask4.svg");
                mask-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/image-curve-mask4.svg");

                /* Position the SVG shape along the left edge */
                -webkit-mask-position: left center;
                mask-position: left center;

                /* Scale according to the figure's height */
                -webkit-mask-size: auto 100%;
                mask-size: auto 100%;

                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;


                    img {
                        display: block;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }

            }
        }
    }
}

/* =========================================
   Roundy Bar
   ========================================= */





/* =========================================
   Mobile
   ========================================= */

/* @media (max-width: 781px) {
    .roundy-bar-wrap .roundy-bar-columns {
        flex-direction: column;
    }

    .roundy-bar-wrap .roundy-bar-col2 figure {
        min-height: 300px;
    }
} */



/* ------------------------------------------- */
/* .image-bite {
        container-type: inline-size;
}

.image-bite img {
        --bite-size: 40.5cqi;

        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;

        -webkit-mask: radial-gradient(
                circle var(--bite-size) at -15% 50%,
                transparent calc(100% - 1px),
                #000 100%
        );
        mask: radial-gradient(
                circle var(--bite-size) at -15% 50%,
                transparent calc(100% - 1px),
                #000 100%
        );
} */
/* ------------------------------------------- */








.content-img img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    display: block;    
}



.image-display-block img {
    display:block;
}



strong {
    font-weight:700;
}



.responsive-circle-img img {
  width: 100%;
  max-width: 700px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}





/* //////////////////////////////////////////////////// */
/*                                                      */
/*                   PAGE / POST SPECIFIC               */
/*                                                      */
/* //////////////////////////////////////////////////// */

    /* ========================================== */
    /*                   Homepage                 */
    /* ========================================== */
    .home h2 {
        font-size: clamp(3.3rem, 3.25vw + 2.65rem, 5.25rem);
        line-height: 1.1;
    }

    /* ----------------------------------------------------------
    Industry section (hover over links and graphics change)
    ---------------------------------------------------------- */
    .feat-btn-outer-row {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding: 10rem 3rem 14rem 3rem;

        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-oil-gas.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        display: flex;
        align-items: center;
        justify-content: center;

        .feat-btn-outer-section {
            z-index:3;

            .feat-btn-container {
                margin-top: 4rem;
                display: flex;
                flex-direction: row;
                gap: 25px;
                width: 100%;
                max-width: 1440px;
                flex-wrap: wrap;
                line-height: 1.1;
                position: relative;
                z-index: 1;

                .feat-btn {
                    display: flex;
                    position: relative;
                    background-color: #004761; 
                    color: #fff; 
                    text-transform: uppercase; 
                    font-weight: 600; 
                    text-decoration: none;
                    text-align:left;
                    font-size: 18px;
                    margin-left: 50px;
                    padding: 15px 30px;
                    border-top-right-radius: 30px;
                    width: calc((100% - 200px) / 3);

                    &::before {
                        content: "";
                        position: absolute;
                        content: "";
                        top: 0;
                        left: -50px;
                        width: 50px;
                        height: 100%;
                        background-size: cover;
                        background-repeat: no-repeat;
                        background-position: center;
                        filter: grayscale(100%);
                    }

                    &.ai-data::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-data-center.webp");
                    }

                    &.agriculture::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-agriculture.webp");
                    }

                    &.petro-chemical::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-chemical.webp");
                    }

                    &.ethanol::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-ethanol-biofuels.webp");
                    }

                    &.food-beverage::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-food-beverage.webp");
                    }

                    &.liquid-gas::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-lng.webp");
                    }
                    
                    &.oil-gas::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-oil-gas.webp");
                    }

                    &.potable-water::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-potable-water.webp");
                    }
                    
                    &.pulp-paper::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-pulp-paper.webp");
                    }

                    &.waste-water::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-water-treatment.webp");
                    }
                    
                    &.wine-spirit::before {
                        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/08/market-wine-spirit.webp");
                    }
                    
                }

                .feat-btn:hover {
                    color: #FDD26E;
                }

                .feat-btn:hover::before {
                    filter: grayscale(0%);
                }

            }

        }

    }

    .feat-btn-outer-row::after {
        content: "";
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .feat-btn-container {
        position: relative;
        z-index: 2;
    }


    /* Overlay color */
    .bg-overlay-color {
        position: absolute;
        content: "";
        top:0;
        right:0;
        bottom:0;
        left:0;

        background-color: rgba(0, 0, 0, .5);

        z-index: 1;
    }


    /* Overlay for smooth fade */
    .bg-overlay {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        opacity: 0;
        transition: opacity 0.5s ease;

        z-index: 0;
    }

    @media only screen and (max-width: 1440px) {
        .feat-btn {width: calc((100% - 125px) / 2) !important;}
    }

    @media only screen and (max-width: 980px) {
        .feat-btn-container {max-width: 430px;}
        .feat-btn {
            width: calc((100% - 50px) / 1) !important;
            font-size: 16px;
            padding: 13px 30px 13px 13px;
        }
    }












    /* ========================================== */
    /*                   Subpage                  */
    /* ========================================== */
    body:not(.home) {
        background-image: url("https://www.douglasbarwick.ca/wp-content/uploads/2026/07/db-watermark.webp");
        background-size: 50% auto;
        background-repeat: no-repeat;
        background-position: 100% 60%;
    }




/* //////////////////////////////////////////////////// */
/*                                                      */
/*                       ANIMATIONS                     */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*       @keyframes and animation helper classes        */
/* //////////////////////////////////////////////////// */




/* //////////////////////////////////////////////////// */
/*                                                      */
/*                       PLUGINS                        */
/*                                                      */
/* //////////////////////////////////////////////////// */
/*      Gravity Forms, Kadence Blocks, Kraken, etc      */
/* //////////////////////////////////////////////////// */

    /* ========================================== */
    /*                Gravity Forms               */
    /* ========================================== */

button.gform_button {
    background-color: #fdd26e!important;
    color: #004860!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    border: none;
    border-radius: 50px!important;

    transition: background-color 0.3s ease, color 0.3s ease;
}

button.gform_button:hover {
    background-color: #004860!important;
    color: #FDD26E!important;
}



    /* ========================================== */
    /*               Kadence Blocks               */
    /* ========================================== */

    /* ----------------------------------------------------------
    Breakout Content
    ---------------------------------------------------------- */
    /* 
    Custom breakout column adjustment for Kadence two-column layouts 
    */
    @media (min-width: 1025px) and (max-width: 1440px) {
        .kb-row-layout-wrap.custom-breakout-left > .kt-row-column-wrap > .wp-block-kadence-column:nth-child(1) {
            margin-inline-start: calc((((var(--global-vw, 100vw) -(var(--kraken-framework-max-width) - (0px * 2))) / 2)* -1) + -1px);
        }
    }

    @media (min-width: 1025px) and (max-width: 1440px) {
        .kb-row-layout-wrap.custom-breakout-right > .kt-row-column-wrap > .wp-block-kadence-column:nth-child(2) {
            margin-inline-end: calc((((var(--global-vw, 100vw) -(var(--kraken-framework-max-width) - (0px * 2))) / 2)* -1) + -1px);
        }
    }






/* //////////////////////////////////////////////////// */
/*                                                      */
/*                 3RD-PARTY FUNCTIONALITY              */
/*                                                      */
/* //////////////////////////////////////////////////// */