/* Font Face - Regular */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText55Roman.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText55Roman.woff') format('woff'),
}

/* Font Face - Regular Italic */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText56Italic.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText56Italic.woff') format('woff'),
}

/* Font Face - Medium */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText65Medium.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText65Medium.woff') format('woff'),
}

/* Font Face - Medium Italic */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText66MediumItalic.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText66MediumItalic.woff') format('woff'),
}

/* Font Face - Bold */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText75Bold.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText75Bold.woff') format('woff'),
}

/* Font Face - Bold Italic */
@font-face {
    font-family: "Neue Haas Grotesk Text";
    font-weight: bold;
    font-style: italic;
    font-display: swap;
    src: url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText76BoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/bastion/assets/fonts/Neue_Haas_Grotesk_Text/NeueHaasGroteskText76BoldItalic.woff') format('woff'),
}

/* Font Face Akkurat LL - Black Italic */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: 900;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-BlackItalic.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-BlackItalic.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-BlackItalic.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-BlackItalic.svg#AkkuratLL-BlackItalic') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Bold */
/*@font-face {*/
/*    font-weight: bold;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Bold.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Bold.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Bold.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Bold.svg#AkkuratLL-Bold') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Italic */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: normal;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Italic.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Italic.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Italic.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Italic.svg#AkkuratLL-Italic') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Regular */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Regular.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Regular.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Regular.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Regular.svg#AkkuratLL-Regular') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Thin */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: 100;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Thin.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Thin.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Thin.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Thin.svg#AkkuratLL-Thin') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Thin Italic */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: 100;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-ThinItalic.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-ThinItalic.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-ThinItalic.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-ThinItalic.svg#AkkuratLL-ThinItalic') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Light */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Light.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Light.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Light.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-Light.svg#AkkuratLL-Light') format('svg');*/
/*}*/

/* Font Face Akkurat LL - Light Italic */
/*@font-face {*/
/*    font-family: "Akkurat LL";*/
/*    font-weight: 300;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*    src: url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-LightItalic.woff2') format('woff2'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-LightItalic.woff') format('woff'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-LightItalic.ttf') format('truetype'),*/
/*        url('/wp-content/themes/bastion/assets/fonts/AkkuratLL-LightItalic.svg#AkkuratLL-LightItalic') format('svg');*/
/*}*/

/* Color Variables */
:root {
    --insights_color: #82BC00;
    --creative_color: #7734C6;
    --design_color: #7734C6;
    --digital_color: #005CFF;
    --transform_color: #0D8640;
    --reputation_color: #61B4E3;
    --amplify_color: #60B8AD;
    --crnrstone_color #60B8AD;
    --make_color: #FF671F;
    --asia_color: #FF5F90;
    --project32_color: #EE333F;
    --experience_color: #EE333F;


    /* Other Global Colors */
    --white: white;
    --black: black;
    --yellow: #F1B434;
    --grey: #DFDFDF;
    --dkgrey: #7F7F7F;
    --bone: #FEFBE7;

    /* Semantic Colors */
    --background: var(--white);
    --foreground: var(--black);
    --highlight: var(--yellow);
    --reverse: var(--black);
    --header-background: transparent;
    --header-foreground: var(--foreground);

    /* Fonts */
    --font-body: 'Neue Haas Grotesk Text', sans-serif;
    --font-heading: 'Neue Haas Grotesk Text', sans-serif;

    /* Radii */
    --radii-sm: 4px;
    --radii-md: 8px;
    --radii-lg: 16px;
    --radii-full: 100%;

    /* Transitions */
    --transition-theme: all 0.5s, background 0.5s;
    --transition-movement: all 0.25s ease-in-out;

    /* Space */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --space-10: 96px;
    --space-11: 112px;

    /* Typography */
    --font-size-body: 16px;
    --font-size-title: 24px;
    --font-size-h1: 60px;
    --font-size-h2: 40px;
    --font-size-h3: 20px;
    --font-size-h4: 18px;
    --font-size-h5: 16px;
    --font-size-p1: 16px;
    --font-size-p2: 14px;
    --font-size-p3: 12px;
    --font-size-p4: 12px;
    --font-size-p4sup: 8px;
    --font-size-p5: 10px;
    --font-size-micro: 8px;

    /* Line Heights */
    --line-height-body: 120%;
    --line-height-title: 120%;
    --line-height-h1: 100%;
    --line-height-h2: 116%;
    --line-height-h3: 120%;
    --line-height-h4: 133%;
    --line-height-h5: 125%;
    --line-height-p1: 133.33%;
    --line-height-p2: 133.33%;
    --line-height-p3: 142%;
    --line-height-p4: 125%;
    --line-height-p4sup: 100%;
    --line-height-p5: 125%;
    --line-height-micro: 100%;
}

/* Add more @font-face rules for other font weights and styles as needed */

/*
a {
    color: inherit !important;
}
*/
h1 {
    font-size: 52px !important;
    font-weight: 400 !important;
    line-height: 63px !important;
    /*letter-spacing: -0.04em !important;*/
    font-family: var(--font-body) !important;
}

h2 {
    font-size: 48px !important;
    font-weight: 400 !important;
    line-height: 50px;
    /*letter-spacing: -0.04em !important;*/
    font-family: var(--font-body) !important;
    /*color: var(--black) !important;*/
}

/*h2 strong {*/
/*    font-weight: normal;*/
/*}*/

h3 {
    font-family: var(--font-body) !important;
    font-size: 36px;
    font-weight: 400 !important;
    /*letter-spacing: -0.04em !important;*/
    line-height: 112.5%;
    /*color: var(--black) !important;*/
}

h4, h5, h6 {
    font-family: var(--font-body) !important;
    font-weight: 400;
    /*letter-spacing: -0.04em !important;*/
}

p {
    font-family: var(--font-body) !important;
    font-size: 16px;
    line-height: 140%;
}

p.p1 {
    font-size: 16px;
}


p.p2 {
    font-size: 16px;
}


/* Mobile styles (for screens smaller than 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 40px !important;
        line-height: 48px !important;
        /*letter-spacing: -0.5px !important;*/
    }

    h2 {
        font-size: 32px !important;
        line-height: 36px !important;
    }

    h3 {
        font-size: 24px !important;
        line-height: 1em !important;
    }

    p {
        font-size: 16px;
        line-height: 140%;
    }

    p.p1 {
        font-size: 14px;
    }

    p.p2 {
        font-size: 14px;
    }
}


.text-title,
.text-overview {
    color: black !important;
    font-family: var(--font-body);
}

.text-title:hover,
.text-overview:hover {
    color: black !important;
}


/*
body, p {
    font-family: var(--font-body) !important;
    font-size: var(--font-size-body) !important;
    line-height: var(--line-height-body) !important;
    font-weight: 300;
}


.title {
    font-family: var(--font-heading);
    font-weight: normal;
    letter-spacing: var(--letter-spacing-title);
    text-transform: var(--text-transform-title);
    font-size: var(--font-size-title);
    line-height: var(--line-height-title);
}


h1 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-h1);
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
}

h1 strong {
    font-weight: normal;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 300 !important;
    letter-spacing: var(--letter-spacing-h2);
    font-size: var(--font-size-h2) !important;
    line-height: var(--line-height-h2) !important;
}

h2 strong {
    font-weight: normal;
}

h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-h3);
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
}

h3 strong {
    font-weight: normal;
}

h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-h3);
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
}

h4 strong {
    font-weight: normal;
}

p.p1 {
    font-family: var(--font-body) !important;
    font-weight: 300 !important;
    letter-spacing: -0.03em;
    font-size: var(--font-size-p1) !important;
    line-height: var(--line-height-p1) !important;
}

p.p2 {
    font-family: var(--font-body);
    font-weight: 300 !important;
    letter-spacing: -0.03em;
    font-size: var(--font-size-p2);
    line-height: var(--line-height-p2);
}

p.p3 {
    font-family: var(--font-body);
    font-weight: normal;
    letter-spacing: -0.02em;
    font-size: var(--font-size-p3);
    line-height: var(--line-height-p3);
}

p.p4 {
    font-family: var(--font-body);
    font-weight: normal;
    letter-spacing: -0.02em;
    font-size: var(--font-size-p4);
    line-height: var(--line-height-p4);
}

p.p4sup {
    font-family: var(--font-body);
    font-weight: normal;
    letter-spacing: -0.02em;
    font-size: var(--font-size-p4sup);
    line-height: var(--line-height-p4sup);
}

p.p5 {
    font-family: var(--font-body);
    font-weight: normal;
    letter-spacing: -0.02em;
    font-size: var(--font-size-p5);
    line-height: var(--line-height-p5);
}


.micro {
    font-family: var(--font-body);
    font-weight: normal;
    font-size: var(--font-size-micro);
    line-height: var(--line-height-micro);
}
*/

.text-section+.text-section {
    padding-top: 0;
}

/* Grid */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-2);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1800px;
    }
}

/* Utility classes and specific component styles can be added as needed */

/* Target post 98 - Insights Page */
/*
.page-id-98 .highlighted-text,
.page-id-98 .logo-part,
.page-id-98 .heading {
    color: var(--insights_color) !important;
}

.page-id-98 .heading-button .elementor-button {
    background-color: var(--insights_color);
    fill: var(--insights_color);
}
    */



/* Target post 98 - Insights Page */
/*
.page-id-110 .highlighted-text,
.page-id-110 .logo-part,
.page-id-110 .heading {
    color: var(--creative_color) !important;
}

.page-id-110 .heading-button .elementor-button {
    background-color: var(--creative_color);
    fill: var(--creative_color);
}

/*
.page-id-4787 .highlighted-text,
.page-id-4787 .logo-part,
.page-id-4787 .heading {
    color: var(--make_color) !important;
}

.page-id-4787 .heading-button .elementor-button {
    background-color: var(--make_color);
    fill: var(--make_color);
}
    */

/* Use the globally set --highlight-color for styling elements */

.highlighted-text,
.curly-brace,
.heading {
    /*color: var(--highlight-color) !important;*/
    color: var(--yellow);
    /*fill: var(--highlight-color) !important;*/
}

/*
svg .curly-brace {
    fill: var(--highlight-color) !important;
}
*/
/* For buttons */
.heading-button .elementor-button {
    /*background-color: var(--highlight-color) !important;*/
    background-color: transparent;
    border: 1px var(--yellow) solid;
    color: white !important;
    font-family: var(--font-body);
}

.heading-button .elementor-button:hover {
    background-color: var(--yellow);
    color: black !important;
}

.cta-button .elementor-button{
    background-color: var(--white) !important;
}

.agency-heading h1 {
    font-size: 72px !important;
    /*font-weight: 300;*/
    line-height: 1em;
}

/* Tablet view (typically between 768px and 1024px) */
@media (max-width: 1024px) {
    .agency-heading h1 {
        font-size: 50px !important;
        /* Adjust the size for tablets */
    }
}

/* Mobile view (typically below 768px) */
@media (max-width: 768px) {
    .agency-heading h1 {
        font-size: 35px !important;
        /* Adjust the size for mobile */
    }
}

.highlighted-text {
    font-weight: 500;
}

.news-tile {
    width: 90%;
    height: 600px;
    margin: 20px auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 20px;
}

.news-tile-content {
    position: relative;
    z-index: 3000;
}

.news-tile-meta {
    margin-bottom: 20px;
}

.post-type {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.taxonomy-buttons {
    display: inline-block;
}

.taxonomy-btn {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.more-btn {
    background: #333;
    font-size: 16px;
    font-weight: bold;
}

.hidden-terms {
    display: none;
}

.taxonomy-btn:hover,
.more-btn:hover {
    background: #000;
}

.news-tile-overview {
    font-size: 16px;
    margin-top: 20px;
}

.news-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



/* General Styles for Image Wrappers and Images */
.image-wrapper,
.medium-image-wrapper,
.large-image-wrapper,
.xl-image-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%; /* Ensures the wrapper takes up the full available width */
    height: auto; /* Ensures the height is based on the content */

}

.xs-image,
.small-image,
.medium-image,
.large-image,
.xl-image
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
    /*transform-origin: center; /* Ensure zoom effect centers within the image */
    position: relative !important; /* Ensure the overlay positions correctly */
    display: block;
    border-radius: 20px !important;
}

.xs-image img,
.small-image img,
.medium-image img,
.large-image img,
.xl-image img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    position: relative;
    border-radius: 20px !important;
}

/* Add the overlay */
.xs-image::after,
.small-image::after,
.medium-image::after,
.large-image::after,
.xl-image::after, 
.xs-image-wrapper::after,
.small-image-wrapper::after,
.medium-image-wrapper::after,
.xl-image-wrapper::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px !important;
    background-color: rgba(0, 0, 0, 0.15) !important; /* Adjust the color and opacity of the overlay */
    z-index: 1;
    pointer-events: none; /* Ensure the overlay doesn't block any interactions */
}

.xs-image-wrapper:hover .xs-image,
.small-image-wrapper:hover .small-image,
.medium-image-wrapper:hover .medium-image,
.large-image-wrapper:hover .large-image,
.xl-image-wrapper:hover .xl-image {
    transform: scale(1.02); /* Zoom in the image by 10% */
    border-radius: 20px !important;
}

/* Ensure all image wrappers have the same size */
.small-image-wrapper {
    width: 100% !important; /* Take up the full width of the parent container */
    height: 250px !important; /* Set a fixed height for all images */
    overflow: hidden !important; /* Ensure images do not overflow outside the wrapper */
    position: relative !important; /* Ensure proper positioning */
    border-radius: 20px !important;
    margin-bottom: 10px; /* Space between image and terms */
}

.xs-image-wrapper{
    width: 50% !important;
    /* height: 75px !important; */
    overflow: hidden !important;
    position: relative !important;
}

/* Ensure all images fit their wrappers */
.small-image {
    width: 100% !important; /* Make sure the image takes up the full width of the wrapper */
    height: 100% !important; /* Make sure the image takes up the full height of the wrapper */
    object-fit: cover !important; /* Ensure the image covers the entire area of the wrapper while maintaining aspect ratio */
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

/* Optional: Add hover effect */
.small-image-wrapper:hover .small-image {
    transform: scale(1.02); /* Zoom in the image slightly on hover */
}

/* Home Page */
.home-page-container {
    background-color: var(--bone);
}

/* Home filtered content */
.home-filtered-content {
    background-color: var(--bone);
}

/* Page Section */
.page-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.page-section-standard {
    max-width: calc(1800px - 40px * 2) !important;
}

.heading-section {
    max-width: calc(1800px - 40px * 2);
    margin: auto !important;
}

/* XL Section */
.xl-section {
    width: 95%;
    max-width: calc(1800px - 40px * 2);
    min-height: 350px;
    max-height: 450px;
    position: relative;
    /*background-color: #f0f0f0;*/
    margin: 20px 0;
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex; /* Add this */
    gap: 75px; /* Add space between columns */
    border-top: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
}

.xl-content-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%; /* Make sure it takes full height */
    /*padding: 40px 0; /* Add some padding top and bottom */
}

.xl-content-right {
    width: 55%;
    position: relative;
}

.xl-image {
    position: relative; /* Change from absolute */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Centers the image both vertically and horizontally */
}

.xl-image-wrapper {
    position: relative; /* Change from absolute */
    width: 100%;
    height: 100%;
    border-radius: 20px !important;
}

.xl-title,
.xl-overview,
.terms {
    position: relative;
    z-index: 2;
}

.xl-title {
    font-size: 48px !important;
    line-height: 52.8px !important;
    margin-top: 15px;
    /*margin-bottom: 50px;*/
    text-align: left;
    font-weight: bold;
    color: var(--black);
    margin-top: 40px !important;
}

.xl-overview {
    position: relative; /* Change from absolute */
    bottom: auto;
    left: auto;
}

@media screen and (min-width: 769px) {
    .xl-overview {
        line-height: 1.2;
    }
}

.text-terms {
    /*z-index: 10000000;*/
    color: black;
    display: flex;
    flex-wrap: nowrap; /* Ensure items don't wrap to the next line */
    align-items: center; /* Align items vertically centered */
    /*gap: 10px; /* Space between buttons */
}

.text-button {
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
    background-color: transparent !important;
    color: black; 
    border: 1px solid var(--black);
    border-radius: 25px;
    cursor: default; /* Ensure no pointer cursor is displayed */
    font-size: 12px;
}

.text-button:hover,
.text-button:active,
.text-button:focus {
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
    background-color: transparent !important;
    color: var(--black) !important;
    border: 1px solid var(--black);
    border-radius: 25px;
    cursor: default; /* Ensure no pointer cursor is displayed */
}

.xl-text-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100%; /* Ensure it takes full height */
}

.buttons-wrapper {
    position: absolute;
    /*left: 10px;*/
    top: 24px;
    display: flex;
    align-items: start;
    gap: 4px;
    /*margin-bottom: 50px;*/
}

.news-button {
    /*margin-top: -5px !important;
    margin-right: 2px !important;*/
    background-color: var(--black) !important;
    border-color: var(--black) !important;
    color: var(--white) !important;
}

.case-study-button {
    background-color: var(--yellow) !important;
    border-color: var(--yellow) !important;
    color: var(--black) !important;
}

/* Hover states */
.news-button:hover {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.case-study-button:hover {
    background-color: var(--yellow) !important;
    border-color: var(--yellow) !important;
    color: var(--black) !important;
}

.terms {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /*gap: 3px;
    /*margin-left: 1px; /* Add small gap between News button and terms */
}

.term-button, .more-terms-button {
    flex-shrink: 0;
    display: inline-block;
    margin: 0 1px;
    padding: 2px 5px;
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--white);
    border-radius: 25px;
    font-size: 12px;
}


.term-button:hover,
.term-button:active,
.term-button:focus {
    background-color: transparent;
    color: var(--black);
    border: 1px solid #DFDFDF;
}

.text-more-terms-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--black);
    color: var(--black);
}

.text-more-terms-button:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--black);
    color: var(--black);
}

.text-more-terms-button .dot {
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    margin: 0 5px;
}

.more-terms-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--white);
    color: var(--white);
}

.more-terms-button:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid var(--white);
    color: var(--white);
}

.more-terms-button .dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
}

.more-terms-content {
    display: flex;
    text-align: center;
    position: relative;
    display: flex;
    gap: 1px;
}

/* Large and Medium Sections */
.large-medium-section {
    display: flex;
    justify-content: space-between;
    width: 95%;
    max-width: calc(1800px - 40px* 2);
}

.large-section,
.medium-section {
    position: relative;
    overflow: hidden;
}

.large-section {
    width: 66%;
}

.medium-section {
    width: 32%;
}

.large-title,
.medium-title,
.large-overview,
.medium-overview {
    position: relative;
    z-index: 2;
}

.small-title,
.large-title,
.medium-title {
    /*font-size: 28px !important;*/
    font-size: 22px !important;
    line-height: 1.3em !important;
    font-weight: bold;
    color: var(--black);
    margin-top: 15px;
    margin-bottom: 5px !important;
}
.small-overview,
.large-overview,
.medium-overview {
    font-family: var(--font-body) !important;
    font-size: 16px;
    color: var(--black);
    margin-top: 10px;
}

/* Small Section */
.small-sections {
    display: flex;
    justify-content: space-between;
    width: 95%;
    max-width: calc(1800px - 40px* 2);
}

.small-section {
    width: 32%;
    position: relative;
    overflow: hidden;
}

.cn-small-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Adjust the gap between items as needed */
}

/* Media query for mobile screens */
@media (max-width: 899px) {
    .cn-small-sections {
        grid-template-columns: 1fr; /* One column layout */
        gap: 10px; /* Adjust the gap for mobile if needed */
    }
}

.cn-small-section {
    /* Additional styling for each section */
}

/* XS Sections as Grid */
.xs-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns, each 1fr wide */
    gap: 20px; /* Space between grid items */
    width: 95%;
    max-width: calc(1800px - 40px* 2);
    margin: 0 auto; /* Center the grid container */
}

.xs-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensure the content is aligned at the start */
    padding: 15px; /* Optional: Add padding inside each grid item */
}

.xs-content-wrapper {
    display: flex;
    align-items: flex-start; /* Vertically center the content next to the image */
    /*justify-content: space-between; /* Distribute space between image and content */
    justify-content: flex-start;
    width: 100%; /* Ensure the content wrapper takes up the full width */
}

.xs-image-wrapper {
    flex-shrink: 0; /* Prevent the image from shrinking */
    width: 150px; /* Set a fixed width for the image */
    /*height: 150px; /* Set a fixed height for the image */
}

.xs-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire area without distortion */
    display: block; /* Ensure the image behaves as a block-level element */
}

.xs-content {
    width: calc(100% - 170px); /* Content takes up the remaining space (150px + padding) */
    flex-grow: 1; /* Allow the content to grow to fill the space */
    padding-left: 10px; /* Add space between the image and content */
}

.xs-title {
    font-size: 18px !important;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.post-type-button {
    color: var(--black);
    border: 1px solid var(--black);
    font-size: 12px;
    padding-top: 3px;
    padding: 3px 10px;
    border-radius: 7px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.post-type-button:hover {
    color: var(--white) !important;
    border: 1px solid var(--black) !important;
    font-size: 12px !important;
    padding-top: 3px !important;
    padding: 3px 10px !important;
    border-radius: 7px !important;
    background-color: var(--black);
}

/* Text Section */
.text-section {
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-title {
    font-size: 50px !important;
}

.read-case-study-button {
    display: inline-block;
    font-size: 24px;
    /*font-weight: 300;*/
    padding: 10px 20px;
    background-color: transparent;
    color: var(--black);
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    border: 1px solid var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
}

.read-case-study-button:hover {
    display: inline-block;
    font-size: 24px;
    /*font-weight: 300;*/
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
}

.news-label,
.client-name {
    font-weight: bold;
    color: inherit;
    font-size: inherit;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px; /* Adjust gap between grid items */
    width: 95%; /* Grid takes up 95% of the container width */
    margin: 0 auto; /* Center the grid within its container */
    padding: 20px 0;
}

.small-grid-section {
    width: 100%; /* Ensure the small-section takes up the full width of its grid cell */
    box-sizing: border-box; /* Ensure padding is included in width */
}

.small-grid-overview {
    font-size: 16px;
    color: var(--black);
}

.small-grid-title {
    font-size: 20px !important;
    color: var(--black);
    margin-top: 10px;
}

/*
.industry-button,
.service-button,
.case-study-button {
    border-radius: 4px;
    border: 1px solid #DFDFDF;
    font-size: 12px;
    color: white;
    background: transparent;
    padding: 3px 10px;
}
*/
.add-industry-button,
.add-service-button,
.add-agency-button {
    border-radius: 15px;
    border: 1px solid var(--black);
    font-size: 12px;
    color: var(--black);
    background: transparent;
    padding: 3px 10px;
    /*margin-top: 5px !important;
    margin-bottom: 5px !important;*/
    gap: 5px !important;
}

.case-study-fields-heading {
    font-size: 13px;
    color: var(--black);
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 15px;

}

.custom-team-layout {
    display: flex;
}

.left-column {
    flex: 1;
    padding: 20px;
    max-width: 33.33%; /* Set to 1/3 of the container's width */
    box-sizing: border-box; /* Include padding and border in width */
    text-align: center;
}

.left-column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.right-column {
    flex: 2;
    padding: 20px;
    max-width: 66.66%; /* Set to 2/3 of the container's width */
    box-sizing: border-box; /* Include padding and border in width */
    color: black;
}

.team-member {
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.team-member:hover {
    background-color: #f0f0f0;
}
.team-wrapper {
    display: flex;
    flex-wrap: wrap; /* Ensure content wraps on smaller screens */
    justify-content: space-between;
    width: 100%; /* Ensure the wrapper takes full width */
    box-sizing: border-box; /* Include padding and border in width */
}

@media (min-width: 769px) {
    .team-wrapper {
        gap: 146px;
        flex-wrap: nowrap;
    }
}

.team-list-column {
    flex: 1;
    width: 100%;
    overflow-y: scroll; /* Enable scrolling */
    height: 100vh; /* Make sure the column can scroll */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.team-list-column::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.team-info-column {
    flex: 1;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
}

.team-member-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.team-member-image-name {
    width: 100%;
}


.team-member-image {
    flex: 0 0 33.33%; /* Image takes up 1/3 of the space */
    text-align: center; /* Center the image in its column */
}

.team-member-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Optional: Make the image circular */
}

.team-member-info {
    flex: 0 0 66.66%; /* Name and position take up 2/3 of the space */
}

.team-member-info h3 {
    margin: 0;
    font-size: 24px; /* Adjust the font size as needed */
}

.team-member-info .team-member-title {
    margin: 0;
    font-size: 16px; /* Adjust the font size as needed */
    color: black; /* Optional: Lighter color for the position */
}


.team-member-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.team-member-info img {
    width: 100px;
    height: 100px;
}

/* Default state: black color */
.team-member-item a .fa-linkedin {
    color: var(--black) !important;
    transition: color 0.3s ease; /* Smooth transition */
}

/* Hover and active state: yellow color */
.team-member-item a:hover .fa-linkedin,
.team-member-item a:active .fa-linkedin {
    color: var(--yellow) !important;
}

.news-views-button {
    /*border-radius: 15px;*/
    border: 1px solid var(--black);
    font-size: 14px;
    color: black;
    background: transparent;
    padding: 3px 10px;
    margin-right: 5px;
}

.news-service-button,
.news-industry-button,
.industry-button,
.service-button { 
    border-radius: 15px;
    border: 1px solid var(--black);
    font-size: 14px;
    color: black;
    background: transparent;
    padding: 3px 10px;
}

.news-views-button,
.news-industry-button,
.news-service-button,
.industry-button,
.service-button,
.case-study-button {
    border-radius: 4px !important;
    padding: 4px 12px !important;
}

.news-views-button {
    background-color: #000000 !important;
    color: #FEFBE7 !important;
    border-color: #000000 !important;
}

.news-industry-button,
.news-service-button,
.industry-button,
.service-button {
    border-color: #DFDFDF !important;
    color: #000000 !important;
}

.case-study-industries-services,
.news-views-industries-services,
.news-views-button,
.news-industry-button,
.news-service-button {
    display: flex;
    flex-wrap: wrap;
    gap: 4px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 16.8px !important;
}

.news-views-industries-services {
    justify-content: flex-start !important;
}

/* Default styles */
.subheading .elementor-heading-title {
    font-weight: 300 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    letter-spacing: 0.02em !important;
}

/* Styles for screens less than 1024px */
@media (max-width: 1024px) {
    .subheading .elementor-heading-title {
        font-weight: 300 !important;
        font-size: 14px !important;
        line-height: 19.6px !important;
        letter-spacing: 0.02em !important;
    }
}


.search-results-page h1 {
    font-size: 22px !important;
    text-align: left; /* Align text to the left */
    width: 100%; /* Make sure the H1 takes up the full width */
    margin-left: 0; /* Remove any left margin */
}

.title-section {
    display: flex;
    flex-direction: column; /* Stack title elements vertically */
    align-items: flex-start; /* Align child elements (like H2) to the left */
    width: 100%; /* Ensure full width */
    margin: 0 auto; /* Center the container itself */
}


.title-section h2 {
    width: 100% !important; /* Ensure full width */
    text-align: left !important; /* Force left alignment */
    font-size: 22px !important;
    margin-left: 0 !important; /* Remove any left margin if present */
    padding-left: 0 !important; /* Remove any left padding if present */
}

.title-section h2 sup {
    font-size: 0.5em; /* Adjust the size relative to the h2 text */
    vertical-align: 0.3em; /* Aligns the superscript at the top */
    color: #999999; /* Change the color if needed */
    font-weight: 400;
    /*margin-left: 2px; /* Optional: Add a small margin to the left */
}

/* Ensure the whole page section takes up full width and any required padding */
.results-page-section {
    width: 100%;
    max-width: 1800px;
    display: flex;
    flex-direction: column; /* Stack child elements (title and xs-sections) vertically */
    border-top: 1px solid var(--grey);
    align-items: center; /* Center child elements horizontally */
    padding-top: 12px;
}

/* XS Sections as Grid */
.results-section {
    display: flex;
    flex-direction: column;
    padding: 0px; /* Optional: Add padding inside each grid item */
}

.results-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 748px) {
    .results-sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
        margin: 0 auto;
    }
}

@media (min-width: 1100px) {
    .results-sections {
        grid-template-columns: repeat(3, 1fr);
    }
}

.results-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.results-image-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.results-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.results-image {*/
/*    width: 100%;*/
/*    height: 75%;*/
    object-fit: cover; /* Ensure the image covers the entire area without distortion */
    display: block; /* Ensure the image behaves as a block-level element */
/*}*/

.results-content {
    width: calc(100% - 170px); /* Content takes up the remaining space (150px + padding) */
    flex-grow: 1; /* Allow the content to grow to fill the space */
    padding-left: 20px; /* Add space between the image and content */
}

.results-title {
    font-size: 18px !important;
    color: var(--black);
    margin-bottom: 10px;
}

.results-post-type-button {
    color: var(--black);
    border: 1px solid var(--black);
    font-size: 12px;
    padding-top: 3px;
    padding: 3px 10px;
    border-radius: 7px;
    background-color: transparent;
}

.results-post-type-button:hover {
    color: var(--white) !important;
    border: 1px solid var(--black) !important;
    font-size: 12px !important;
    padding-top: 3px !important;
    padding: 3px 10px !important;
    border-radius: 7px !important;
    background-color: var(--black);

}

.search-results-page h1 {
    font-size: 22px !important;
}

.search-results-page {
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    align-items: center; /* Center child elements horizontally */
    justify-content: center; /* Center child elements vertically (if necessary) */
    padding: 16px 16px 48px;
    width: 100%;
}

@media (min-width: 1024px) {
    .search-results-page {
        padding: 16px 64px 80px;
    }
}

#page-title-btn {
    display: inline-block;
    margin-bottom: -10px;
    padding: 10px;
    background-color: transparent;
    color: #fff !important;
    border: 1px solid var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

.case-study-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px; /* Adjust gap between grid items */
    width: 95%; /* Grid takes up 95% of the container width */
    margin: 20px auto; /* Center the grid within its container */
}

.case-study-section {
    width: 100%; /* Ensure each section takes up the full width of its grid cell */
    box-sizing: border-box; /* Ensure padding is included in width */
}

/* Small Section */
.small-sections {
    display: flex;
    justify-content: space-between;
    width: 95%;
}

.small-section {
    width: 32%;
    position: relative;
    overflow: hidden;
}

/* Style for the site selection prompt */
.site-prompt {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background-color: #ffffff;
    padding: 10px;
    z-index: 3001;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
    max-width: 90%;
    border: 1px solid #000000;
}

/* Style for the prompt text */
.site-prompt-text {
    /*margin-bottom: 15px;*/
    font-size: 16px;
    color: #000000;
}

/* Style for the links container */
.site-prompt-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Style for the individual site links */
.site-prompt-link {
    display: inline-block;
    /*padding: 10px;*/
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover state for site links */
.site-prompt-link:hover {
    /*background-color: #000000;*/
    color: #000;
    font-weight: bold;
}

/* Current site link style */
.site-prompt-link[data-host*="<?php echo $_SERVER['HTTP_HOST']; ?>"] {
    font-weight: bold;
    background-color: #000000;
    color: #ffffff;
}

.agency-logo svg {
    width: auto !important; /* Adjust width as needed */
    height: 17px !important;
    margin-bottom: 5px !important;
}

.page-results-title,
.page-results-title:hover,
.page-results-title a,
.page-results-title:hover a{
    font-size: 24px !important;
    font-weight: 500 !important;
    color: var(--black) !important;
    }

.page-short-description {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-top: 5px !important;
}

#search-bar .search-input-wrapper input[type="text"] {
    height: 35px !important; /* Set the height to your desired value */
    border: none;
    padding: 5px !important;
}

.bottom-left-menu a {
    color: var(--grey) !important;
}

.case-study, .news-views {
    font-family: var(--font-body);
}


.post-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px; /* Space between terms and title */
}

.post-term,
.term-button {
    border: 1px solid #DFDFDF;
    color: var(--black);
    padding: 5px 10px;
    font-size: 12px !important;
    border-radius: 5px;
}

.more-terms {
    background: #555;
}



.small-date {
    font-weight: 300;
    font-size: 14px;
    line-height: 19.6px;
    letter-spacing: 2%;
    color: #444444;
}

.xl-date {
    font-weight: 300;
    font-size: 16px;
    line-height: 22.4px;
    letter-spacing: 2%;
    color: #444444;
}


/* Ensure menu is horizontal */
.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    align-items: center;
}

@media (max-width: 1024px) {
    .menu {
        overflow: hidden;
    }
}

/* Base styling for menu items */
.menu > li {
    position: relative;
    padding: 10px;
}

.menu > li:last-of-type {
    padding: 0;
}

.menu > li > a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    display: block;
}

/* Hide sub-menu (mega menu) by default */
.menu > li.menu-item-has-children .sub-menu {
    display: none;
    /*position: absolute;*/
    /*top: 100%;*/
    /*left: 0;*/
    /*min-width: 600px;*/
    /*max-width: 100vw;*/
    /*left: 0;*/
    /*grid-template-columns: repeat(3, 1fr);*/
    /*gap: 20px;*/
    /*border-top: 1px solid #ddd;*/
    /*z-index: 1000;*/
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

@media (min-width: 1024px) {
    .menu > li.menu-item-has-children .sub-menu {
        padding: 20px;
    }
}

.menu > li.menu-item-has-children .sub-menu-wrapper.open .sub-menu {
    display: block;
    opacity: 100;
    visibility: visible;
}

/* Show sub-menu on hover */

@media (min-width: 1024px) {
    .menu > li.menu-item-has-children:hover .sub-menu,
    .menu > li.menu-item-has-children.active .sub-menu { /* Also allows toggle via JavaScript */
        display: grid;
        opacity: 1;
        visibility: visible;
    }
}

/* Styling for Mega Menu Items */
.sub-menu {
    list-style: none;
    margin: 0;
    background: #F6F1E9;
}

@media (min-width: 1024px) {
    padding: 10px 0;
}

.sub-menu li {
    padding: 5px 0;
}

.sub-menu li a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    display: block;
    padding: 5px;
}

.sub-menu li a:hover {
    text-decoration: underline;
    /*font-weight: 700;*/
}

