/*
Theme Name: Blocks Child
Theme URI: https://criterionb.com/
Author: Team CriterionB.
Author URI: https://criterionb.com/
Description: Gutenberg Compatible theme for PixelKiosk
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Template: core-blocks

*/

:root {
    --light-color: #fff;
    --blue-color: #00334a;
    --light-bg-color: #69758C12;
    --light-blue-color: #69758C;
    --primary-hover-color: color-mix(in srgb, var(--primary-color) 85%, #ffffff 15%);
    --secondary-hover-color: color-mix(in srgb, var(--secondary-color) 85%, #ffffff 15%);
    --accent-hover-color: color-mix(in srgb, var(--accent-color) 85%, #ffffff 15%);
    --tertiary-hover-color: color-mix(in srgb, var(--tertiary-color) 85%, #ffffff 15%);
    --body-font: "Urbanist", sans-serif;
    --heading-font: "Instrument Serif", serif;
    --container-small: 1170px;
    --container-default: 1710px;
    --container-large: 1800px;
    --container-edge: 100%;
}

/* Global Box Sizing & Tap Highlight Removal */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-family: sans-serif;
    scroll-behavior: smooth;
}

/* Global Body Styling */
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    color: var(--dark-text-color);
    font-family: var(--body-font, Arial, Helvetica, sans-serif);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary {
    display: block
}

audio,canvas,progress,video {
    vertical-align: baseline;
    display: inline-block
}

audio:not([controls]) {
    height: 0;
    display: none
}

[hidden],template {
    display: none
}


/* Structural Elements */
header, footer, main, section, article {
    container-type: inline-size;
}

h1.section-heading,
.section-heading h2 {
    font-family: var(--heading-font);
    font-size: clamp(45px, 6vw, 85px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

p,
li {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: clamp(22px, 2vw, 34px);
    text-wrap: pretty;
    letter-spacing: 0.03em;
}

p:empty {
    display: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    text-wrap: balance;
    margin: 0 0 15px;
}

/* ================================
   Core Blocks Typography
   ================================ */

/* Subtitle (Generic + Blog Subtitle Shared Style) */
.block-subtitle,
.blog-block-subtitle {
    font-family: var(--body-font);
    font-style: normal;
    font-weight: 700;
    font-size: clamp(12px, calc(9.7px + 0.393vw), 18px);
    line-height: 1.1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: clamp(40px, 5vw, 80px);
}

/* Block Title */
.block-title, .block-title span {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: clamp(35px, 3.3vw, 65px);
    line-height: 1.1;
    margin: 0 0 clamp(40px, 5vw, 80px);
}

.block-title span{
    display: block;
    margin-bottom: 0;
    font-style: italic;
}

/* Paragraph Wrapper */
.block-paragraphs,
.block-paragraphs p {
    font-family: var(--body-font);
    font-size: clamp(14px, 1vw + 10px, 18px);
    font-weight: 400;
    line-height: clamp(24px, 2vw, 32px);
    margin-bottom: clamp(40px, 5vw, 80px);
}

/* Last Paragraph remove bottom gap */
.block-paragraphs p:last-child {
    margin-bottom: 0;
}


/* Spacing Utilities */
.p0{
    padding: 0 !important;
}
.ptb-0 {
    padding-block: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.ptb-l {
    padding-block: clamp(100px, 12vw, 150px);
}

.pt-l {
    padding-top: clamp(100px, 12vw, 150px);
}

.pb-l {
    padding-bottom: clamp(100px, 12vw, 150px);
}

.ptb-m {
    padding-block: clamp(60px, 8vw, 100px);
}

.pt-m {
    padding-top: clamp(60px, 8vw, 100px);
}

.pb-m {
    padding-bottom: clamp(60px, 8vw, 100px);
}

.ptb-s {
    padding-block: clamp(30px, 5vw, 50px);
}

.pt-s {
    padding-top: clamp(30px, 5vw, 50px);
}

.pb-s {
    padding-bottom: clamp(30px, 5vw, 50px);
}

.mtb-0 {
    margin-block: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}


.container,
.container-small,
.container-large,
.container-edge{
    width: 90%;
    display: block;
    max-width: var(--container-default);
    margin-inline: auto;
    position: relative;
}

/* Specific sizes */
.container-small {
  max-width: var(--container-small);
}

.container {
  max-width: var(--container-default);
}

.container-large {
  max-width: var(--container-large);
}

.container-edge {
    width: 100%;
  max-width: var(--container-edge);
}


/* Background Colors */
.light-bg {
    background-color: var(--light-bg-color);
}

/* Text Alignment */
.center-text {
    text-align: center;
}

/* Colors */
.text-color-dark {
    color: var(--dark-text-color);
}

.text-color-light {
    color: var(--light-text-color);
}

.primary-color {
    color: var(--primary-color);
}

.secondary-color {
    color: var(--secondary-color);
}

.accent-color {
    color: var(--accent-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-secondary-light {
    background-color: rgba(227, 231, 255, 0.34);
}

.bg-accent {
    background-color: var(--accent-color);
}

/* Button Styles */
/* Button Overrides (safe + consistent) */
a.btn {
    font-weight: 500;
    letter-spacing: 0.02em; /* subtle but valid */
}

/* Fix arrow scaling — clean clamp */
a.btn::before {
    width: clamp(20px, 2vw, 28px);
    height: clamp(13px, 1.2vw, 20px);
}

.btn-primary a,
.btn-secondary a,
.btn-accent a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary a {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary a:hover,
.btn-primary a:focus-visible {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary a {
    background: var(--secondary-color);
    color: #fff;
}

.btn-accent a {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-accent a:hover,
.btn-accent a:focus-visible {
    background-color: var(--primary-color);
    color: #fff;
}

/* Streamline Button */
a.streamline-button,
.cta-type-1 a.streamline-button {
    position: relative;
    padding-right: 3rem;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.cta-type-1 a.streamline-button {
    border: 2px solid #fff;
    color: #fff;
    width: 248px;
    height: 64px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

a.streamline-button::after,
.cta-type-1 a.streamline-button::after {
    content: "";
    background: url(assets/images/CTA-arrow.svg) no-repeat;
    width: 33px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    transition: all 0.5s ease;
}

.cta-type-1 a.streamline-button:hover{
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
header .header-cta{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
header .header-cta a.streamline-link:hover:after,
.cta-type-1 a.streamline-button:hover:after {
    right: 10px;
}

.forminator-ui.forminator-design--default .forminator-button-submit {
    background: var(--secondary-color) !important;
    font-family: var(--body-font);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 58px !important;
    box-shadow: none !important;
}


.scroll-down {
    position: relative;
    bottom: 30px;
    left: 50%;
    z-index: 1;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
}

.scroll-down:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    background: url(/wp-content/uploads/2024/12/banner-arrow-down.png) no-repeat;
    color: #fff;
    width: 22px;
    height: 22px;
    background-size: contain;
    animation: bounce 2s ease infinite;
}

/* === FLEXIBLE COLUMN SYSTEM === */
.flex-section {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 2rem);
}

.flex-col-2 > * {
    flex: 1 1 calc(50% - 2rem);
}

.flex-col-3 > * {
    flex: 1 1 calc(33.33% - 2rem);
}

/* === FULL WIDTH WRAPPERS === */
.full-width-wrap {
    width: 100%;
    padding: clamp(60px, 8vw, 100px) 0;
}

.full-bg-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}




/* -----------------------------
         SHAPES
----------------------------- */

.shapes-wrap .container {
    position: relative;
}

.section-corner-lt {
    border-top-left-radius: clamp(150px, 5vw, 250px);
    /* Min: 100px, scales with 5vw, Max: 200px */
}

.section-corner-rt {
    border-top-right-radius: clamp(150px, 5vw, 250px);
}

/* -----------------------------
             COMMON STYLE
----------------------------- */
.hero-pattern{
    position: relative !important;
    background-color: transparent !important;
}
.content-block.home-hero .section-pattern-right-bottom {
    bottom: -13vw;
    right: -9px;
}
.content-block.home-hero .section-pattern {
    position: absolute;
    max-width: 41VW;
}
.inner-hero{
    padding: 100px 0 !important;
}

.inner-hero h1{
    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 85px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1.5px;
    word-spacing: 2px;
    display: inline;
}
.inner-hero h1 em{
    font-style: italic;
}
.inner-hero-wrap {
    max-width: 55%;
}
.inner-hero .sub-title p{
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* 🔥 Disable all AOS animations */
.aos-init,
.aos-animate,
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* -----------------------------
             HEADER
----------------------------- */
header.header {
    position: relative;
    z-index: 9999;
}

header .main-header {
  padding: 18px 0;
}

header.header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header>.wp-block-streamline-columns {
    margin-bottom: 0;
}

header .logo-wrap {
    max-width: 280px;
}

header .header-logo {
    width: 224px;
    height: 72px;
    display: flex;
    align-items: center;
}

header .header-logo a{
    display: flex;
}

header .header-cta-wrap {
    max-width: 300px;
}

header .header-cta a.streamline-link {
    background-color: var(--accent-color) !important;
    color: #fff;
    min-width: 220px;
    height: 56px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
}

header .header-cta a.streamline-link:hover{
    background-color: var(--secondary-color) !important;
}

.header-menu {
    position: relative;
}

.header-menu ul#menu-main-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    margin: 0;
    position: relative;
    padding-left: 0;
    justify-content: end;
    padding-right: 50px;
    gap: clamp(16px, 1.6vw, 45px);
}

.header-menu ul#menu-main-menu li.menu-item {
    position: relative;
    padding: 10px 15px;
}

.header-menu ul#menu-main-menu li.menu-item a {
    color: var(--light-color);
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    padding: 10px 0px;
}

/* Underline element */
.menu-underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: var(--accent-color);
    width: 0;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
    pointer-events: none;
}

/* ========== CTA BUTTON ========== */
.header-ctas a.btn {
   transition: all 0.3s ease;
   padding: clamp(10px, 1.2vw, 14px) /* top */ clamp(45px, 5.5vw, 70px) /* right */ clamp(10px, 1.2vw, 16px) /* bottom */ clamp(25px, 3.1vw, 35px);
}

.header-ctas a.btn::before{
    right: clamp(25px, 2vw, 25px);
}

/* Padding */

.content-block.block-padding-small {
    padding-top: clamp(25px, 3.3vw, 70px);
    padding-bottom: clamp(25px, 3.3vw, 70px);
}

.content-block.block-padding-medium {
    padding-top: clamp(30px, 4.5vw, 100px);
    padding-bottom: clamp(30px, 4.5vw, 100px);
}

.content-block.block-padding-large {
    padding-top: clamp(40px, 6.3vw, 150px);
    padding-bottom: clamp(40px, 6.3vw, 150px);
}

.content-block.home-hero {
    padding-top: clamp(40px, 7.5vw, 250px);
    padding-bottom: clamp(40px, 9vw, 350px);
}



/* -----------------------------
        MOBILE MENU
----------------------------- */
.mobile-menu-wrapper {
    right: -100%;
    width: 100%;
}



/* -----------------------------
        HOME HERO
----------------------------- */
.hero-container .hero-content .hero-content-outer {
    width: 50vw;
    max-width: 820px;
}

.inner-hero-block.hero-type-inner1 .hero-container .hero-content .hero-content-outer{
    width: 60vw;
}

.content-block.amp-banner .hero-container .hero-content .hero-content-outer{
    max-width: 100%;
    width: 100%;
}

.hero-type-home .hero-container .hero-content .hero_title{
    font-size: clamp(45px, calc(2.62vw + 34.7px), 85px);
    line-height: 1.1; /* matches figma 110% */
}

.hero-type-home .hero-container .hero-content .hero_title, 
.hero-type-home .hero-container .hero-content .hero_title span{
    color: var(--primary-color) !important;
}

.block-type-hero.bg-primary .hero-container .content-container h1.hero_title, 
.block-type-hero.bg-primary .hero-container .content-container h1.hero_title span{
    color: var(--secondary-color) !important;
}

.hero-container .hero-content .hero-content-outer .hero-paragraphs {
    width: 50vw;
    max-width: 745px;
}

.hero-type-inner1 .hero-container{
    padding: 0;
}

/* -----------------------------
      HOME WORK POSTS
----------------------------- */
/* Default */
.work-posts .posts-col-2 .blogs-listing .single-post {
    flex: 0 0 40%;
    padding: 0;
    flex-grow: 1;
}

/* Pattern repeats every 4 posts */
.work-posts .posts-col-2 .blogs-listing .single-post:nth-child(4n+1) {
    flex-basis: calc(60% - 20px) /* Row 1 - left */
}
.work-posts .posts-col-2 .blogs-listing .single-post:nth-child(4n+2) {
    flex-basis: 40%; /* Row 1 - right */
}
.work-posts .posts-col-2 .blogs-listing .single-post:nth-child(4n+3) {
    flex-basis: 40%; /* Row 2 - left */
}
.work-posts .posts-col-2 .blogs-listing .single-post:nth-child(4n+4) {
    flex-basis: calc(60% - 20px); /* Row 2 - right */
}

.blogs-listing .single-post .post-img-wrap{
    height: auto;
}

/* Apply only inside Work Posts 2-column block */
.work-posts .posts-col-2 .blogs-listing .single-post .post-img-wrap{
    width: 100%;
    height: clamp(220px, 32vw, 595px);
    max-width: none;
}

/* Ensure internal image wrapper respects ratio */
.work-posts .posts-col-2 .blogs-listing .single-post .post-img .single-featured-image{
    width: 100%;
    height: 100%;
}

/* Make image cover correctly */
.work-posts .posts-col-2 .blogs-listing .single-post .post-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-posts .blogs-listing .single-post .post-title {
    position: relative;
    padding-right: 50px;
}

.work-posts .blogs-listing .single-post .post-title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: clamp(20px, 2.5vw, 36px);
    height: clamp(14px, 1.7vw, 24px);
    background-color: currentColor;
    -webkit-mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-color 0.3s ease;
    will-change: transform;
}


.work-posts .blogs-listing .single-post:hover .post-title::before {
    transform: translate(6px, -50%);
    background-color: var(--accent-color);
}

.work-posts .blogs-listing .single-post .post-title h2 {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(18px, 1.8vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    margin: clamp(8px, 1vw, 12px) 0 clamp(14px, 1.2vw, 18px);
    transition: all 0.5s ease;
}

.work-posts .blogs-listing .single-post:hover .post-title h2{
    color: var(--accent-color);
}

.work-posts .posts-block .buttons-wrapper {
    text-align: center;
}

.work-posts-home .posts-carousel {
    margin-bottom: 50px;
}

.blogs-listing .single-post .post-categories, 
.blogs-listing .single-post .post-excerpt {
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(14px, 1vw, 20px);
    letter-spacing: clamp(0.6px, 0.25vw, 1.8px);
    line-height: 1.1;
    color: var(--secondary-color);
}

.blogs-listing .single-post .post-categories span {
    position: relative;
    padding-right: 14px;
}

.blogs-listing .single-post .post-categories span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 0;
    line-height: inherit;
}




/* -----------------------------
      HOME CLITENT SLIDER
----------------------------- */
.clients-logo-section {
    overflow: hidden;
    width: 100%;
    background: white;
    padding: 20px 0;
    position: relative;
}

.clients-logo-section .clients-logo-slide-lr>.streamline-row {
    display: flex;
    gap: 20px;
    width: max-content;
}

.clients-logo-section .clients-logo-slide-lr>.streamline-row .streamline-column {
    min-width: 150px;
    max-width: 400px;
    max-height: 130px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 8px;
}

/* Continuous Scroll Animation */
.clients-logo-slide-lr .streamline-row {
    display: flex;
    animation: scrollLeft 10s linear infinite;
}

.clients-logo-slide-rl .streamline-row {
    display: flex;
    animation: scrollRight 10s linear infinite;
}

/* Smooth Infinite Scroll */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


.wp-block-streamline-columns.bottom-cta {
    min-height: 600px;
    align-items: center;
    display: flex;
    background-position: 0 center;
    background-size: 153%;
    margin-bottom: 0;
    padding: 0 !important;
}

.wp-block-streamline-columns.bottom-cta h1 {
    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 85px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1.5px;
    word-spacing: 2px;
    display: inline;
    color: var(--secondary-color) !important;
}

.wp-block-streamline-columns.bottom-cta-logo{
    position: relative;
}

.wp-block-streamline-columns.bottom-cta-logo::after{
    content: "" !important;
    width: 60%;
    height: 200px;
    background: url(assets/images/cta-criterionb.svg) no-repeat;
    position: absolute;
    right: -100px;
    bottom: 0;
    z-index: 10;
}

.home-team-section .streamline-block .streamline-column-wrapper {
    margin: 0 !important;
}

/* =========================
   FOOTER LAYOUT – GRID
   ========================= */
footer {
    position: relative;
    padding: 50px 0;
}

footer .section-patterns-wrapper .section-pattern-1{
    height: 100%;
    max-width: 50px;
    overflow: hidden;
}

footer .section-patterns-wrapper .section-pattern-1 img.section-pattern-img {
    height: 100%;
    width: auto;
}

footer .footer-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 0;
    align-items: stretch;
}

.footer-left,
.footer-middle,
.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

footer .footer-wrap .footer-left {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Left Column (Menu) */
.footer-left .footer-links {
    margin-bottom: 25px;
}
.footer-left .footer-links ul.menu li{
    text-align: left;
}
.footer-left .footer-links ul.menu li a{
    font-family: var(--heading-font);
    font-weight: 400;
    /* font-size: clamp(24px, 4vw, 30px); */
    font-size: clamp(24px, 4.3vw, 40px);
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: #fff;
}

.footer-left .footer-links ul.menu li a:hover{
    color: var(--accent-color);
}

.footer-bottom .copyright-section p {
    font-size: 16px;
}

/* Middle Column (Office Info Section) */
.footer-middle {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 18px;
}

.footer-logo img {
    max-width: 220px;
    height: auto;
}

/* Address / Phones / Emails block wrapper */
.footer-office-info,
.footer-address {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Right Column (Form) */
.footer-right {
    position: relative;
}

.footer-right .form-bg {
    border-radius: 10px;
}

/* =========================
   FOOTER BOTTOM
   ========================= */
.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.bottom-footer-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 40px;
    padding: 0;
    align-items: stretch;
}

/* Left bottom: copyright + policy links */
.footer-bottom .copyright-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-bottom .copyright-section a{
    color: var(--light-color);
    transition: all 0.5s ease;
}

.footer-bottom .copyright-section a:hover{
    color: var(--accent-color);
}

.footer-bottom .footer-links-wrap ul.footer-links {
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.footer-bottom .footer-links-wrap ul.footer-links li {
    list-style: none;
    border-left: 1px solid rgba(255,255,255,0.5);
    padding-left: 12px;
}

/* Right bottom: social */
.footer-bottom .footer-social {
    display: flex;
    gap: 14px;
}

.footer-bottom .footer-social img,
.footer-bottom .footer-social i {
    width: 22px;
    height: 22px;
    display: block;
}

.footer-left .footer-links ul.menu li a, 
.footer-bottom { 
    color: #fff; 
    transition: all 0.5s ease;
} 

.footer-office-info { 
    color: var(--secondary-color); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-office-info a:hover{
    color: var(--secondary-color);
}

.footer-office-info > * {
    width: 100%;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 992px) {

    footer .footer-wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left right"
            "middle right";
    }

    .footer-left { grid-area: left; }
    .footer-middle { grid-area: middle; }
    .footer-right { grid-area: right; }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-bottom .copyright-section {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {

    footer .footer-wrap {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-bottom .footer-links-wrap ul.footer-links {
        justify-content: center;
    }

    .footer-bottom .footer-social {
        justify-content: center;
    }
}



/* === OUR WORK SECTION === */
.our-work-section{

}

.our-work-section .work-row{
    
}

/* -----------------------------
        OUR TEAM
----------------------------- */
.branding-logo {
    width: 100%;
    max-width: 408px;
    height: auto;
    max-height: 564px;
}

.search-bar-container {
    position: relative;
    z-index: 2;
}

.team-categories {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.team-categories .dropdown-toggle {
    background-color: #fff;
    padding: 7px 15px 10px 15px;
    border: 0;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 8px;
    border-radius: 0;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-color);
    width: 100%;
    text-align: left;
    font-family: var(--body-font);
    position: relative;
    transition: all 0.3s ease;
}

.team-categories .dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    border-width: 6px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
    transition: transform 0.3s ease;
}

.team-categories.active .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown menu */
.team-categories .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 100%;
    min-width: 250px;
    border-radius: 0;
    z-index: 1;
    padding: 0;
    margin-top: 0px;
    font-size: 18px;
    border: 1px solid #00000026;
}

/* Dropdown items */
.team-categories .dropdown-menu li {
    padding: 8px 15px;
    cursor: pointer;
    list-style: none;
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-color);
}

/* Hover effect */
.team-categories .dropdown-menu li:hover {
    color: var(--secondary-color);
    background-color: #f5f5f5;
}


.team-members-wrap .streamline-block-posts__items {
    column-gap: 20px;
}

.team-members-wrap .streamline-block-posts__items .streamline-block-posts__item {
    width: calc(100% - 20px);
    flex-basis: calc(33.33% - 20px);
}

.team-members-wrap .streamline-block-posts__items .streamline-block-posts__item h2{
    font-weight: 400;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.1;
    margin-bottom: clamp(8px, 1vw, 10px);
    letter-spacing: 0.03em;
}

.team-members-list .streamline-block-posts__item .streamline-container article div.position {
    font-size: clamp(16px, 2.5vw, 18px);
    letter-spacing: 0.055em;
    line-height: 1.8;
    margin-bottom: clamp(8px, 1vw, 10px);
    color: var(--secondary-color);
}

/* Show menu on active */
.team-categories.active .dropdown-menu {
    display: block;
}

.team-members-list {
    padding: 50px 0 100px;
}

.team-members-list .streamline-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    align-items: stretch;
}

.team-members-list .streamline-block-posts__item .streamline-container {
    flex-direction: column;
    margin: 0;
    position: relative;
}

.team-members-list .streamline-block-posts__item figure.streamline-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
    transition: all 0.5s ease;
}

.team-members-list .streamline-block-posts__item:hover figure.streamline-img-wrapper img {
    scale: 1.1;
}

.team-members-list .streamline-block-posts__item .streamline-container article {
    width: 100%;
    padding-left: 0;
    position: relative;
}

.team-members-list .streamline-block-posts__item .streamline-container article h3.streamline-block-posts__title {
    position: relative;
    margin-bottom: 10px;
}

.team-members-list .streamline-block-posts__item .streamline-container article h3.streamline-block-posts__title a {
    font-size: 22px;
    font-weight: 400;
    text-transform: capitalize;
    color: var(--primary-color);
    font-family: var(--body-font);
    width: 100%;
    transition: all 0.5s ease;
    letter-spacing: 1px;
}

.team-members-list .streamline-block-posts__item .streamline-container article h3.streamline-block-posts__title a:hover {
    color: var(--secondary-color);
}

.team-members-list .team-col-4 .streamline-block-posts__item .streamline-container article h3.streamline-block-posts__title a {
    width: 120px;
}

.team-members-list .executive-team .streamline-block-posts__item .streamline-container article h3.streamline-block-posts__title a::after {
    content: "" !important;
    background-image: url('/wp-content/uploads/2024/12/arrow-team.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 0px;
    width: 49px;
    height: 49px;
    transform: translateY(-10px);
}

.team-members-list .streamline-block-posts__item .streamline-container article .email {
    display: none;
}

.team-members-list .streamline-block-posts__item .streamline-container article .email a {
    color: var(--accent-color);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.team-members-list .streamline-block-posts__item .streamline-container article .email a:hover {
    opacity: 1;
}

body.single-products .team-members-list .streamline-block-posts__item .streamline-container article .email {
    display: block;
}

.members-col .streamline-block-posts__items {
    gap: 30px;
}

.members-col .streamline-block-posts__items .streamline-block-posts__item {
    max-width: calc(25% - 30px);
    flex: 1 1 calc(25% - 30px) !important;
    box-sizing: border-box;
}

.team-members-wrap .streamline-column-wrapper {
    box-shadow: none;
}

.team-members-wrap .streamline-column-wrapper .wp-block-streamline-posts {
    margin: 0;
    width: 100%;
}

.team-members-wrap .streamline-column-wrapper .is-style-list .alignwide {
    max-width: 100%;
}

.provident-popup {
    background: rgba(17, 51, 86, 0.7);
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    top: 0;
    left: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;

}

.provident-popup.active {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.provident-popup-inner {
    background: #fff;
    width: 90%;
    max-width: 1340px;
    height: auto;
    max-height: 90vh;
    overflow: auto;
    padding: 30px;
    position: relative;
}

.streamline-block-posts__item .wp-block-search__input,
.search-member .wp-block-search__input {
    padding-left: 40px;
}

.search-member button.wp-block-search__button {
    position: absolute;
    background: transparent;
    transform: scaleX(-1);
    border: 0;
    width: 24px;
    padding: 0;
    left: 0;
}

.streamline-block-posts__item.no-search {
    display: none;
}

.provident-popup-body .member-info .member-img {
    width: 100%;
    height: auto;
    max-width: 570px;
    max-height: 593px;
}

.provident-popup-body .member-info .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provident-popup-body .member-info {
    display: flex;
    flex-flow: row;
}

.provident-popup-body .member-info .member-meta {
    padding-left: 70px;
}

.provident-popup-body .member-info h3.popup-member-name {
    font-size: 30px;
    font-weight: 700;
    font-family: var(--body-font);
    color: var(--primary-color);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
}

.provident-popup-body .member-info h4.popup-member-position {
    font-size: 18px;
    font-weight: 400;
    color: #999999;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.provident-popup-body .member-info .member-meta .popup-member-email {
    margin: 25px 0;
}

.provident-popup-body .member-info .member-meta .popup-member-email a {
    font-size: 20px;
    color: var(--secondary-color);
    text-decoration: underline;
}

.provident-popup-body .member-info .member-meta {
    padding-left: 70px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.provident-popup-inner .memeber-desc {
    max-width: 540px;
    height: 254px;
    overflow: auto;
    padding-right: 20px;
}

.provident-popup-inner a.pro-popup-close {
    font-size: 70px;
    width: 70px;
    height: 70px;
    color: #999999;
    text-align: center;
    float: right;
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.provident-popup-inner a.pro-popup-close span {
    transform: rotate(45deg);
}

.our-team-hero{
    padding-bottom: 660px;
}

.streamline-inner-blocks .intro-img-full{
    margin-top: -330px;
    margin-bottom: 150px;
}

.streamline-inner-blocks .intro-img-full figure{
    height: 660px;
    overflow: hidden;
}

.founder-info h3{
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 65px); 
    line-height: 1.1; 
    margin-bottom: 15.86px; 
    letter-spacing: 0.03em;
}


/* ========== Post Filters ========== */
.blog-archive-wrapper {
	max-width: 1200px;
	margin: auto;
	padding: 20px;
}
.category-filters {
	text-align: center;
	margin-bottom: 20px;
}
.category-tabs {
	list-style: none;
	padding: 0 0 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.category-tabs li {
	cursor: pointer;
	margin: 0px 5px;
    padding-bottom: 5px;
    color: #BABABA;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.category-tabs li.active {
	position: relative;
    color: var(--secondary-color);
}

.category-tabs li::before{
    content: "";
    width: 0;
    height: 1px;
    border-bottom: 1px solid var(--secondary-color);
    transition: all 0.5s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.category-tabs li.active::before{
    width: 100%;
}

.mobile-dropdown {
	display: none;
	width: 100%;
	padding: 8px;
	margin-top: 10px;
}
.posts-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.blog-post {
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 8px;
	background: #fff;
}
.post-thumb img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.load-more-button {
	margin: 30px auto;
	display: block;
	padding: 10px 20px;
	font-size: 16px;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
.load-more-button.hidden {
	display: none;
}

@media (max-width: 768px) {
	.desktop-tabs {
		display: none;
	}
	.mobile-dropdown {
		display: block;
	}
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========== Work Posts  =========== */
.work-post {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	display: none;
}

.work-post.visible {
	opacity: 1;
	transform: translateY(0);
	display: block;
}

/* =========== SERVICES Posts  =========== */
.services-posts .block-paragraphs, 
.services-posts .posts-carousel {
    max-width: 1500px;
    width: 90%;
    display: block;
    margin: 0 auto;
    position: relative;
}

.services-posts .block-paragraphs p{
    width: 100%;
    max-width: 690px;
    margin-bottom: 50px;
}

.services-posts .blogs-listing .single-post{
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 30px;
}

.services-posts .posts-block .blogs-listing{
    gap: 0 6vw;
}

.services-posts .posts-block .blogs-listing .single-post{
    flex: 0 0 calc(50% - 3vw);
    padding-bottom: 40px;
    background-color: transparent;
}

.services-posts .blogs-listing .single-post .post-title{
    transition: all 0.5s ease;
}

.services-posts .blogs-listing .single-post .post-title:hover h2{
    color: var(--accent-color);
}

.bg-grey-gradient{
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);

}


/* =========== Home About Section  =========== */
.content-block.home-about-section {
    margin: 5vw 0;
    margin-left: 0;
    width: min(94.3vw, calc(100vw - (100vw - 1698px) / 2));
}

.home-about-section .section-patterns-wrapper .section-pattern-1 {
    left: calc(50% + 48px);
    width: 84px;
}

.home-about-section .section-patterns-wrapper .section-pattern-2 {
    width: clamp(60px, 14.95vw, 257px);
    height: clamp(85px, 22vw, 373px);
    opacity: 1;
    right: 20px;
}

.content-block.home-about-section .block-paragraphs {
    color: var(--light-color);
}

.block-type-image-text.home-about-section .image-position-left .mac-intro-content{
    padding-left: calc(5vw + 48px);
    padding-right: calc(5vw - 48px);
}

.home-about-section .section-patterns-wrapper .section-pattern-1 img.section-pattern-img {
    transform: scaleX(-1);
    transform-origin: center;
}

/* =========== Home Dule Logo Section  =========== */
.home-logo-slider-section .block-title span{
    display: inline-block;
}




/* ================================
   WORK POSTS STYLE FOR RESOURCES
   Only applies when parent has .work-posts
================================ */
.work-posts .swifty-cards .swifty-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Default card */
.work-posts .swifty-cards .swifty-card {
    flex: 0 0 40%;
    padding: 0;
    flex-grow: 1;
}

/* Pattern repeats every 4 items */
.work-posts .swifty-cards .swifty-card:nth-child(4n+1) {
    flex-basis: calc(60% - 20px); /* Row 1 - Left */
}
.work-posts .swifty-cards .swifty-card:nth-child(4n+2) {
    flex-basis: 40%; /* Row 1 - Right */
}
.work-posts .swifty-cards .swifty-card:nth-child(4n+3) {
    flex-basis: 40%; /* Row 2 - Left */
}
.work-posts .swifty-cards .swifty-card:nth-child(4n+4) {
    flex-basis: calc(60% - 20px); /* Row 2 - Right */
}


/* ================================
   IMAGE SIZING LIKE WORK POSTS
================================ */
.work-posts .swifty-cards .swifty-card .post-img-wrap{
    width: 100%;
    height: clamp(220px, 32vw, 595px);
    margin-bottom: 10px;
}

.work-posts .swifty-cards .swifty-card .post-img-wrap a.post-img {
    width: 100%;
    height: clamp(220px, 32vw, 595px);
}

.work-posts .swifty-cards .swifty-card .post-img,
.work-posts .swifty-cards .swifty-card .single-featured-image{
    width: 100%;
    height: 100%;
}

.work-posts .swifty-cards .swifty-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   TITLE & HOVER ARROW LIKE WORK
================================ */
.work-posts .swifty-cards .swifty-card .post-title {
    position: relative;
    padding-right: 50px;
    display: inline-block;
}

.work-posts .swifty-cards .swifty-card .post-title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: clamp(20px, 2.5vw, 36px);
    height: clamp(14px, 1.7vw, 24px);
    background-color: currentColor;
    mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    -webkit-mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    transition: transform .3s ease, background .3s ease;
}

.work-posts .swifty-cards .swifty-card:hover .post-title::before {
    transform: translate(6px, -50%);
    background: var(--accent-color);
}


/* ================================
   TYPOGRAPHY LIKE WORK POSTS
================================ */
.work-posts .swifty-cards .swifty-card .single-post-title {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(18px, 1.8vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    transition: .4s ease;
}

.work-posts .swifty-cards .swifty-card:hover .single-post-title {
    color: var(--accent-color);
}


/* ================================
   CATEGORY STYLING LIKE WORK
================================ */
.work-posts .swifty-cards .post-categories,
.work-posts .swifty-cards .post-excerpt {
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(14px, 1vw, 20px);
    letter-spacing: clamp(.6px, .25vw, 1.8px);
    color: var(--secondary-color);
}

.work-posts .swifty-cards .post-categories span {
    position: relative;
    padding-right: 14px;
}

.work-posts .swifty-cards .post-categories span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
}

/* Match Blog Posts Category + Excerpt Style */
.post-category.field.field--name-field-article-type,
.post-excerpt {
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(14px, 1vw, 20px);
    letter-spacing: clamp(0.6px, 0.25vw, 1.8px);
    line-height: 1.1;
    color: var(--secondary-color);
}

.work-posts .post-category.field.field--name-field-article-type {
    order: 2;
}

.work-posts .swifty-card .post-details .post-info{
    padding: 20px 0;
}

.content-block.work-posts .swifty-grid {
    padding: 0;
}


.fixed-text {
    display: none;
}

/* ================================
   Resources Posts
================================ */
.resources-posts .swifty-card .post-details .post-info .post-title-wrap {
    display: none;
}


.resources-posts .swifty-card .post-details .post-info a.btn.read-more-link {
    transition: all 0.3s ease;
    padding: clamp(10px, 1.2vw, 14px) /* top */ clamp(45px, 5.5vw, 70px) /* right */ clamp(10px, 1.2vw, 16px) /* bottom */ clamp(25px, 3.1vw, 35px);
    color: var(--primary-color);
    margin: 0 auto;
    font-size: 0;
    border: 2px solid var(--primary-color);
}

.resources-posts .swifty-card .post-details .post-info a.btn.read-more-link::after {
    content: "Downalod";
    font-size: clamp(16px, 1.1vw, 20px);
    font-family: var(--body-font);
    font-weight: 700;
    width: auto;
    height: auto;
    border: transparent;
    display: block;
    position: relative;
    line-height: 0;
    transform: translateY(-10px);
}

.resources-posts .swifty-card .post-details .post-info .post-category,
.resources-posts .swifty-card .post-details .post-info h2.single-post-title {
    display: none;
}


/* ================================
   About Us page
================================ */
/* TEAM ACTIVITIES — ARTISTIC LAYOUT */

/* canvas container */
.team-activities .gallery-wrapper {
    position: relative;
}

/* responsive height to contain positioned images */
.team-activities .gallery-wrapper .modular-gallery-ul {
    position: relative;
    height: 75vw;
    max-height: 1300px;
    margin: 0;
}

/* base image styling */
.team-activities .gallery-wrapper .gallery-item {
    position: absolute;
    border-radius: 0px;
    overflow: hidden;
}

.team-activities .gallery-wrapper .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.gallery-block .container-edge + .gallery-wrapper {
    padding: 0;
}

/* --------------------------------
   POSITIONED ITEMS (Converted from Figma)
   -------------------------------- */

/* 1 — Big Feature */
.team-activities .gallery-wrapper .gallery-item:nth-child(1){
    width: 40.2vw;
    height: 29.5vw;
    top: 5vw;
    left: 0vw;
    padding: 0;
}

/* 2 — Tall Right */
.team-activities .gallery-wrapper .gallery-item:nth-child(2){
    width: 23.1vw;
    height: 22.8vw;
    top: 1vw;
    left: 54.9vw;
}

/* 3 — Wide Bottom Left */
.team-activities .gallery-wrapper .gallery-item:nth-child(3){
    width: 34.6vw;
    height: 22.3vw;
    top: 38vw;
    left: 6.4vw;
}

/* 4 — Mid Right */
.team-activities .gallery-wrapper .gallery-item:nth-child(4){
    width: 17vw;
    height: 22.3vw;
    top: 25vw;
    left: 45.5vw;
}

/* 5 — Large Far Right */
.team-activities .gallery-wrapper .gallery-item:nth-child(5){
    width: 31.6vw;
    height: 26.5vw;
    top: 30vw;
    left: 68.4vw;
}


.content-block.team-top-img {
    overflow: visible;
}

/* .content-block.team-top-img .text-block .full-width-image{
    width: 90%;
    max-width: var(--container-default);
    margin: 0 auto;
} */

.content-block.team-top-img .section-patterns-wrapper .section-pattern {
    top: -20vw;
    right: 10vw;
}

.content-block.four-pillars {
    overflow: visible;
}

.content-block.four-pillars .section-patterns-wrapper .section-pattern-1 {
    max-width: 100%;
}

.content-block.four-pillars .tiles-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 88%;
    margin: 0 auto;
}

.content-block.four-pillars .tiles-block .title-container {
    width: 100%;
}

.content-block.four-pillars .tiles-block .title-container .tiles-title-wrap h2.block-title {
    color: var(--secondary-color);
}

.content-block.four-pillars .tiles-block .title-container .block-paragraphs {
    color: var(--light-text-color);
}

.content-block.four-pillars .tiles-wrapper .single-tile.bg-default{
    background: transparent;
}

.gallery-wrapper .modular-image-container {
    padding: 10px;
    box-sizing: border-box;
    pointer-events: none;
    cursor: default;
}

.content-block.four-pillars .tiles-wrapper .single-tile .single-tile-wrapper {
    border-top: 2px solid #fff;
}

.content-block.four-pillars .tiles-wrapper .single-tile .single-tile-wrapper h3.tile-title{
    font-family: var(--body-font);
    font-weight: 300;
    font-size: clamp(28px, 3vw, 56px);
    line-height: 1.1; 
    letter-spacing: 0.03em;
}

.content-block.four-pillars .tiles-wrapper .single-tile .single-tile-wrapper h3.tile-title span{
    color: var(--accent-color);
}

.content-block.four-pillars .tiles-wrapper .single-tile .single-tile-wrapper .tile-description{
    margin-bottom: 0;
    padding-bottom: 0;
}



.team-members  .swifty-cards .swifty-cards-wrapper{
    gap: 40px 20px;
}

.team-members .swifty-card .post-title-wrap h2.single-post-title {
   font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(18px, 1.8vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    transition: .4s ease;
}

.team-members  .swifty-card .post-details .post-info .member-position{
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(14px, 1vw, 20px);
    letter-spacing: clamp(0.6px, 0.25vw, 1.8px);
    line-height: 1.1;
    color: var(--secondary-color);
}
.team-members  .swifty-card .post-details .post-info .member-position:hover{
    color: var(--light-text-color);
}
.team-members .swifty-cards .swifty-cards-wrapper .post-info {
    padding: 20px 0;
}





.team-member-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* Image Column Full Height */
.member-headshot {
    position: relative;
    height: 100%;
}

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

/* Content */
.team-member-content {
    padding-top: 40px;
    padding-right: 5vw;
}

/* Heading */
.team-name {
    font-size: clamp(28px, 3vw, 48px);
    margin: 0 0 10px;
}

.team-position {
    font-size: clamp(16px, 1.4vw, 22px);
    color: var(--secondary-color, #777);
    margin: 0 0 25px;
}

/* Bio */
.team-bio {
    font-family: var(--body-font);
    font-size: clamp(14px, 1vw + 10px, 18px);
    font-weight: 400;
    line-height: clamp(24px, 2vw, 32px);
    margin-bottom: clamp(40px, 5vw, 80px);
}

/* Back Button */
.back-btn {
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    position: relative;
    padding-left: 46px; 
}

.back-btn::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0; 
    transform: translateY(-50%) scaleX(-1);
    width: clamp(20px, 2.1vw, 24px);
    height: clamp(14px, 1.3vw, 26px);
    background-color: currentColor;
    -webkit-mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    mask: url("/wp-content/uploads/2025/02/arrow.svg") no-repeat center / contain;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.services-posts .swifty-cards .swifty-cards-wrapper{
    gap: 40px;
}

.services-posts .swifty-cards-wrapper .swifty-card{

}

.services-posts .swifty-cards-wrapper .post-details {
    display: grid;
    grid-template-columns: repeat(var(--posts-per-row, 3), 1fr 2fr);
    gap: 30px;
    border-top: 2px solid var(--primary-color);
    padding-top: 30px;
}


.load-more-message{
    display: block;
    text-align: center;
}

/* =========================================
   MORE WORK — 2 COLUMN MODERN LAYOUT
========================================= */
.post-nav-wrap.more-options {
    padding-top: clamp(30px, 4.5vw, 100px);
    padding-bottom: clamp(30px, 4.5vw, 100px);
}

.post-nav-wrap.more-options h2.block-title {
    text-align: center;
}

.post-nav-wrap.more-options h2.block-title span{
    display: inline;
}

.post-nav-wrap.more-options .nav-more{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2.5vw, 40px);
    max-width: var(--container-default);
    margin-inline: auto;
}

/* Card */
.post-nav-wrap.more-options .nav-more .nav-box{
    width: 100%;
    height: clamp(260px, 35vw, 595px);
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.post-nav-wrap.more-options .nav-more .nav-box a{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Image should fill & crop */
.post-nav-wrap.more-options .nav-more .nav-box .bgimg{
    position: relative;
    height: 100%;
}

.post-nav-wrap.more-options .nav-more .nav-box img.wp-post-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* OVERLAY */
.post-nav-wrap.more-options .nav-more .nav-box::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.45);
    transition: .4s ease;
    z-index:1;
}

.post-nav-wrap.more-options .nav-more .nav-box:hover::before{
    background: rgba(0,0,0,.65);
}


/* CONTENT AREA */
.post-nav-wrap.more-options .nav-more .nav-box .navinfo{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: clamp(18px, 2.5vw, 30px);
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    color:#fff;
}

/* logo */
.post-nav-wrap.more-options .nav-more .nav-box .logowrap{
    display: none;
}

.post-nav-wrap.more-options .nav-more .nav-box .logowrap img{
    width: 100%;
    height:auto;
}

/* Title */
.post-nav-wrap.more-options .nav-more .nav-box .navinfo h2{
    font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(24px, 3vw, 48px);
    line-height: 1.1;
    letter-spacing: .03em;
    color:#fff;
    margin: 0;
    position:relative;
    padding-right: 50px;
    transition: .4s ease;
    text-align: center;
}

/* HOVER ARROW + LABEL  */

/* arrow container */
.post-nav-wrap.more-options .nav-more .nav-box::after{
    content:"";
    position:absolute;
    right: clamp(18px, 2vw, 32px);
    bottom: clamp(18px, 2vw, 30px);
    width: clamp(26px, 2.6vw, 40px);
    height: clamp(26px, 2.6vw, 40px);
    background: url("/wp-content/uploads/arrow.svg") no-repeat center/contain;
    opacity: 0;
    transform: translateX(10px);
    transition: .4s ease;
    z-index:3;
}

/* LEFT card says PREVIOUS — RIGHT says NEXT */
.post-nav-wrap.more-options .nav-more .nav-box:first-child .navinfo h2::after{
    content:"Previous";
}

.post-nav-wrap.more-options .nav-more .nav-box:last-child .navinfo h2::after{
    content:"Next";
}

.post-nav-wrap.more-options .nav-more .nav-box .navinfo h2::after{
    font-size: clamp(12px, 1vw, 14px);
    opacity:0;
    position:absolute;
    right:0;
    bottom:-22px;
    transition: .4s ease;
}

/* HOVER EFFECTS */
.post-nav-wrap.more-options .nav-more .nav-box:hover .navinfo h2{
    transform: translateY(-4px);
}

.post-nav-wrap.more-options .nav-more .nav-box:hover::after,
.post-nav-wrap.more-options .nav-more .nav-box:hover .navinfo h2::after{
    opacity:1;
    transform: translateX(0);
}


/* ================================
   Team Page CSS
================================ */
.content-block.team-top-img {
    z-index: 1;
}

.content-block.team-top-img + .content-block.founder-intro {
    margin-top: -200px;
    padding-top: 350px;
    z-index: 0;
}

.content-block.founder-intro .mac-intro-section .img-text-block-img {
    padding: 0;
    max-width: 580px;
}

.content-block.founder-intro .mac-intro-section .mac-intro-content {
    transform: translateY(10vw);
    padding-right: 0;
}

.content-block.founder-intro .mac-intro-section .mac-intro-content h2.block-title {
    color: var(--secondary-color);
    text-wrap: auto;
}

.content-block.service-intro-section .text-block .flex-container {
    display: grid;
    grid-template-columns: repeat(var(--posts-per-row, 2), 1fr);
    gap: 50px;
}

.text-block .text-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Services Page */
.content-block.service-intro-section {
    overflow: visible;
}
.content-block.service-intro-section .text-block .flex-container .text-column{
    display: flex;
    flex-direction: column;
}

.content-block.service-intro-section .text-block .flex-container .text-column:nth-child(2n) {
    display: flex;
    flex-direction: column-reverse;
}

.content-block.service-intro-section .text-block .flex-container .text-column:nth-child(2n) .block-paragraphs {
    transform: translateY(-50px) !important;
    margin-left: 5%;
}

.content-block.service-intro-section .text-block .flex-container .text-column:first-child{
    padding-top: 50px;
    padding-left: 5vw;
    width: calc(100% - 5vw) !important;
}

.content-block.service-intro-section .text-block .flex-container .text-column:first-child .flexi-img-txt-img {
    max-height: 20vw;
    overflow: hidden;
    margin-bottom: 50px;
}

.content-block.service-intro-section .text-block .flex-container .text-column .block-paragraphs{
    max-width: 80%;
}

.content-block.service-intro-section .text-block .flex-container .text-column:first-child .block-paragraphs {
    transform: translateY(5vw) !important;
    max-width: 80%;
}



/* =========================================
   FORCE SERVICES POSTS GRID LAYOUT
========================================= */
.services-posts .swifty-card .post-img-wrap{
    width: clamp(280px, 30vw, 574px);
    aspect-ratio: 574 / 433;
    height: auto;
    display: block;
    object-fit: cover;
    grid-column: 1;
    grid-row: 2;
}

.services-posts .swifty-card .post-details{
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: auto auto;
    gap: 30px 40px;
    border-top: 2px solid var(--primary-color);
    padding-top: 30px;
    align-items: start;
}

/* row1 — full width title */
.services-posts .swifty-card .post-title-wrap{
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.services-posts .swifty-card .post-title-wrap a.post-title h2{
    font-family: var(--body-font);
    font-weight: 400;
    font-size: clamp(18px, 2.7vw, 40px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    transition: all 0.5s ease;
    margin-bottom: 0;
}

/* convert post-info from flex → grid */
.services-posts .swifty-card .post-info{
    grid-column: 2 / 4;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;      /* <-- fixes uneven spacing */
    gap: 25px 35px;
    align-items: start;
}

/* left column */
.services-posts .swifty-card .service-heading{
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
}

.services-posts .swifty-card .service-information{
    grid-column: 1;
    grid-row: 2;
}

.services-posts .swifty-card .service-heading p{
    color: var(--secondary-color);
    font-size: clamp(20px, 1.5vw, 27px);
    font-weight: 700;
}

/* right column */
.services-posts .swifty-card .what-we-do{
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
}

.services-posts .swifty-card .what-we-do h4{
    margin-top: 0;
}

/* cleanup */
.services-posts .swifty-card .post-category,
.services-posts .swifty-card .post-excerpt{
    display:none !important;
}



.content-block.contact-address .container.flex-container {
    display: flex;
}



.contact-social {
    display: flex;
    gap: 14px;
}

.contact-social .contact-social {
    display: flex;
    gap: 14px;
}

.contact-social .contact-social img,
.contact-social .contact-social i {
    width: 22px;
    height: 22px;
    display: block;
}

.contact-address .text-block {
    position: relative;
    z-index: 2;
}

.block-type-flexi-text.work-hero  .full-width-img{
    width: 100%;
    height: clamp(220px, 39vw, 750px);
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.work-hero .flex-container .text-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 90% !important;
    max-width: var(--container-default);
    margin: 0 auto;
}

.work-hero .flex-container .text-column h2.block-title,
.work-hero .flex-container .text-column .block-paragraphs {
    margin-bottom: 0;
    padding-top: clamp(25px, 3.3vw, 70px);
    padding-bottom: clamp(25px, 3.3vw, 70px);
}

.work-hero .flex-container .text-column h2.block-title span{
    display: inline;
}


.gallery-block .gallery-wrapper img{
    border-radius: 0;
}



/* Base grid inside container */
.work-gallery .gallery-block .gallery-wrapper .modular-gallery-ul{
    display: grid !important;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 20px;
    row-gap: 80px;
    grid-auto-flow: dense;
    width: calc(90% + 60px);
    max-width: var(--container-default);
    margin: 0 auto;
}

/* all items default behavior */
.work-gallery .gallery-block .gallery-wrapper .gallery-item{
    width: 100%;
}

.work-gallery .gallery-block .gallery-wrapper .gallery-item img{
    width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------------
   REPEATING PATTERN (every 7 images)
------------------------------------------ */

/* 1️⃣ full width container */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+1){
    grid-column: 1 / span 12;
}

/* 2️⃣ 60% left (container width) */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+2){
    grid-column: 1 / span 7;
}

/* 3️⃣ 40% right (container width) */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+3){
    grid-column: 8 / span 5;
}

/* 4️⃣ EDGE-TO-EDGE full viewport */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+4){
    grid-column: 1 / -1;
}

.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+4) img{
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw); /* full bleed */
}

/* 5️⃣ full width container */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+5){
    grid-column: 1 / span 12;
}

/* 6️⃣ 40% left (container width) */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+6){
    grid-column: 1 / span 5;
}

/* 7️⃣ 60% right (container width) */
.work-gallery .gallery-block .gallery-wrapper .gallery-item:nth-child(7n+7){
    grid-column: 6 / span 7;
}

/* Image container becomes ratio-locked */
.work-gallery .gallery-block .gallery-wrapper .gallery-item a{
    display:block;
}

/* Make every image same height (responsive) */
.work-gallery .gallery-block .gallery-wrapper .gallery-item img{
    width:100%;
    height: clamp(220px, 35vw, 540px); /* responsive height */
    object-fit: cover;
    object-position: center;
    border-radius: 0; /* optional */
}

.work-gallery .gallery-block .gallery-wrapper .gallery-item img {
    width: 100%;
    height: clamp(220px, 39vw, 750px);
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.contact-address .text-column .block-subtitle {
    margin-bottom: 20px;
}

.contact-address h2.block-title {
    margin-bottom: 30px;
}

.contact-office-info a, 
.contact-office-info span{
    color: var(--secondary-color);
}

.contact-office-info a{
    cursor: pointer;
}

.contact-office-info a:hover{
    color: var(--accent-color);
}

.contact-social a.social-icon{
    width: 36px;
    height: 36px;
}
.contact-address .section-patterns-wrapper {
    z-index: 0;
}

.contact-address .contact-office-info {
    margin-bottom: 20px;
}


/* -----------------------------------------
   Blog Post
------------------------------------------ */

body.blog .swifty-card .post-title-wrap h2.single-post-title{
    font-family: var(--body-font);
    color: var(--primary-color);
    font-weight: 400;
    font-size: clamp(18px, 1.7vw, 30px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    margin: clamp(8px, 1vw, 12px) 0 clamp(14px, 1.2vw, 18px);
    transition: all 0.5s ease;
}

body.blog .swifty-cards-wrapper article.swifty-card .post-excerpt p {
    text-transform: none;
    margin: 0 0 20px;
    color: var(--primary-color);
}

/* body.blog .swifty-card .post-img-wrap a.post-img .single-featured-image{
    width: clamp(280px, 35vw, 475px);
    height: clamp(170px, 21vw, 287px);
} */

/* body.blog .swifty-card .post-details .post-img-wrap {
    width: clamp(280px, 35vw, 475px);
    height: clamp(170px, 21vw, 287px);
} */


/* Normalize wrapper size */
body.blog .swifty-card .post-img-wrap {
    width: clamp(280px, 35vw, 475px);
    height: clamp(170px, 30vw, 300px);
    overflow: hidden;
    display: block;
}

/* Case 1: images wrapped in .single-featured-image */
body.blog .swifty-card .post-img-wrap .single-featured-image,
body.blog .swifty-card .post-img-wrap a.post-img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Case 2: raw <img> directly under post link */
body.blog .swifty-card .post-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.blog .swifty-card .post-details .post-info{
    padding: 20px 0;
    height: auto;
    flex: 1;
}

body.blog .swifty-card .post-details .post-info .post-title-wrap{
    flex:none;
}

body.blog .swifty-card .post-details .post-info .post-excerpt{
    flex: 1;
}

body.blog .swifty-cards .swifty-cards-wrapper {
    gap: clamp(24px, 8vw, 140px);
}



/* -----------------------------------------
   AMP Posts
------------------------------------------ */

.content-block.amp-banner .flexi-img-txt-img{
    width: clamp(320px, 90vw, 1200px);
    height: auto;
    margin: 0 auto;
}

.why-choose .section-title-wrap .block-title{
    text-align: center;
}

.why-choose .section-title-wrap .block-title span{
    display: inline;
}


html.pum-open.pum-open-overlay-disabled.pum-open-fixed .pum-container {
    border: 0;
}


.blog-archive-wrapper{
    display: none;
}