/*
Theme Name: MCQUEEN
Author: 
Description: MCQUEEN Website.
Version: 1.0.1
Template: twentytwentyfive

This is the child theme for Twenty Twenty-Five theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ==========================================================================
   Sitewide letter-spacing override — requested 2026-09-13.
   The theme's own Global Styles set letter-spacing: -0.1px on body text
   (which buttons and nav links inherit from) and on h1-h6. This overrides
   both of those from -0.1px to 0.5px, per explicit request, across the
   entire site (header, buttons, body copy).
   To reverse: delete this entire block. That restores the theme's original
   -0.1px on body/headings with no other changes needed.
   ========================================================================== */
body {
    letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.5px;
}
/* ========================================================================== */



.is-content-justification-center {
    justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

a,
.wp-element-button {
    transition: filter 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover,
.wp-element-button:hover {
    filter: brightness(0.85);
}

header .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
    color: #9fcac6;
    text-decoration: none;
    filter: none;
}

header .wp-block-button.is-style-outline--4 .wp-block-button__link:hover {
    background-color: #9fcac6;
    border-color: #9fcac6;
    color: #2A2A2A !important;
    filter: none;
}

header :focus {
    outline-color: transparent;
}

.cta-pill-wrap {
    position: relative;
    min-height: 500px;
}

.cta-pill-teal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 999px;
    padding-left: 63% !important;
    padding-right: var(--wp--preset--spacing--70) !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.cta-pill-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 57%;
    margin: 0;
    border-radius: 999px;
    overflow: hidden;
}

.cta-pill-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 859px) {
    .cta-pill-wrap {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--wp--preset--spacing--30);
    }

    .cta-pill-photo {
        position: static;
        order: 1;
        width: 100%;
        height: 280px;
        border-radius: 32px;
        margin: 0;
    }

    .cta-pill-teal {
        position: static;
        order: 2;
        padding-left: var(--wp--preset--spacing--50) !important;
        padding-right: var(--wp--preset--spacing--50) !important;
        border-radius: 32px;
        text-align: center;
    }

    .has-accent-1-background-color .is-content-justification-center.is-nowrap,
    .has-accent-2-background-color .is-content-justification-center.is-nowrap,
    .has-accent-3-background-color .is-content-justification-center.is-nowrap {
        flex-wrap: wrap !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.site-header-line {
    flex: 1 1 0;
    border-bottom-width: 3px;
}

.site-header-row {
    width: 100%;
    gap: 24px;
}

.site-header-row + .wp-block-group {
    width: 100%;
    justify-content: space-between;
    gap: 0;
}

.site-header-row + .wp-block-group nav,
.site-header-row + .wp-block-group .wp-block-navigation__container {
    display: contents;
}

@media (min-width: 860px) {
    .site-header-row + .wp-block-group nav div:not(.wp-block-navigation-item):not(.wp-block-navigation-item *):not(.offcanvas-contact-button):not(.offcanvas-contact-button *) {
        display: contents;
    }
}

@media (max-width: 859px) {
    header .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex !important;
    }

    header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }
}

@media (min-width: 860px) {
    header .wp-block-navigation__responsive-container.is-menu-open {
        display: none !important;
    }
}

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: rgba(42, 42, 42, 0.97) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    color: #fff !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
    fill: #fff !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: #fff !important;
    font-size: 2.25rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
    color: #9fcac6 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    text-align: center;
}

.wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content {
    padding-top: 24px;
}

.offcanvas-logo {
    display: none;
    max-width: 275px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 859px) {
    .offcanvas-logo {
        display: block;
        margin-top: 19px;
        margin-bottom: calc(var(--wp--preset--spacing--40) * 0.5);
    }
}

.offcanvas-divider {
    display: none;
}

@media (max-width: 859px) {
    .offcanvas-divider {
        display: block;
        width: 85%;
        height: 1px;
        background-color: #fff;
        margin: 0 auto calc(var(--wp--preset--spacing--40) * 0.5);
    }
}

.offcanvas-contact-button {
    display: none;
}

.offcanvas-contact-button .wp-block-button__link {
    font-size: 2.25rem !important;
}

@media (max-width: 859px) {
    .offcanvas-contact-button {
        display: block;
        margin-top: 0;
    }
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    row-gap: 37.5px;
}

@media (max-width: 859px) {
    footer .wp-block-columns {
        flex-wrap: wrap !important;
    }

    footer .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        text-align: center;
    }

    footer .wp-block-group.is-nowrap {
        justify-content: center;
    }

    footer p.has-text-align-right {
        text-align: center !important;
    }
}

.hero-green {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

.hero-icon-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1E4C49 !important;
    box-shadow: 0 0 40px 10px rgba(253, 245, 234, 0.48);
}

.hero-icon-circle figure {
    flex-basis: 157.5px !important;
    width: 157.5px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hero-icon-circle img {
    width: 157.5px !important;
    height: 127.575px !important;
    object-fit: contain !important;
    transform: translateY(7px);
}

.hero-green {
    margin-bottom: 0 !important;
}

.hero-green h2 {
    font-size: 60px !important;
}

.hero-cream {
    margin-top: 0 !important;
    background-color: #fef9f3 !important;
    padding-top: 70px !important;
    padding-bottom: 35px !important;
}

.hero-card {
    border-radius: 180px;
    box-sizing: border-box;
    position: relative;
    top: -150px;
    background-color: #feeae3 !important;
    padding-top: 130px !important;
    padding-bottom: 130px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.hero-card h3,
.hero-card p {
    color: #D9663A !important;
}

.hero-card h3 {
    font-size: 34px !important;
    line-height: 1.5em;
    margin-bottom: 24px;
}

.hero-card p {
    font-size: clamp(18px, 2.2vw, 26px) !important;
    line-height: 1.6 !important;
}

.hero-card .wp-block-buttons {
    justify-content: flex-end;
    margin-top: 36px !important;
}

.hero-card .wp-block-button__link {
    background-color: #E05E35 !important;
}

@media (max-width: 1200px) {
    .hero-green > .wp-block-group {
        flex-direction: column;
        align-items: center;
        gap: var(--wp--preset--spacing--40);
    }

    .hero-green h2 {
        text-align: center;
        font-size: 40px !important;
        min-width: 0;
        max-width: 100%;
    }

    .hero-icon-circle {
        width: 161px;
        height: 161px;
        margin-top: 0;
    }

    .hero-icon-circle figure {
        flex-basis: 80px !important;
        width: 80px !important;
    }

    .hero-icon-circle img {
        width: 80px !important;
        height: 64.8px !important;
        transform: translateY(4px);
    }

    .hero-cream {
        padding-top: 35px !important;
    }

    .hero-cream > .wp-block-columns {
        flex-direction: column;
    }

    .hero-cream > .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        min-width: 0;
    }

    .hero-card {
        width: 100%;
        border-radius: 40px;
        top: 0;
        padding-top: 65px !important;
        padding-bottom: 65px !important;
    }

    .hero-card h3,
    .hero-card p {
        text-align: center;
    }

    .hero-card .wp-block-buttons {
        justify-content: center;
    }
}

.services-row {
    background-color: #e2ebed !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.services-bubble {
    background-color: var(--wp--preset--color--custom-color-1);
    border-radius: 220px;
    box-sizing: border-box;
    padding-top: 110px !important;
    padding-bottom: 110px !important;
}

.services-bubble h2,
.services-bubble p {
    color: var(--wp--preset--color--base) !important;
}

.services-bubble h2 {
    font-size: 48px !important;
}

.services-row .wp-block-columns > .wp-block-column:last-child {
    padding-top: 40px;
}

.services-row .wp-block-separator.is-style-wide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background-color: #2A2A2A !important;
    color: #2A2A2A !important;
    opacity: 1 !important;
}

.service-item {
    position: relative;
}

.service-icon {
    position: absolute;
    top: 8px;
    right: 0;
    width: auto;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
    cursor: pointer;
}

.service-item.is-open .service-icon {
    transform: rotate(90deg);
}

.service-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
}

.service-details {
    padding-right: 80px;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.service-details summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 35px;
    color: var(--wp--preset--color--custom-color-1);
    padding: 13px 0;
    outline: none;
}

.service-details summary:focus,
.service-details summary:focus-visible {
    outline: none;
}

.service-details summary::-webkit-details-marker {
    display: none;
}

.service-details summary::marker {
    content: "";
}

.service-details h4 {
    font-size: 28px;
    color: var(--wp--preset--color--custom-color-1);
    margin: 8px 0 16px;
}

.service-details .wp-block-details > p,
.service-details .wp-block-details > ul {
    margin-bottom: 16px;
    padding-bottom: 24px;
}

@media (max-width: 1300px) {
    .services-row .wp-block-columns {
        flex-direction: column;
    }

    .services-row .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .services-bubble {
        border-radius: 999px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .service-details {
        padding-right: 0;
    }

    .service-details summary {
        padding-right: 80px;
    }
}

.industries-top {
    background-color: #9FCAC6 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.industries-top h1 {
    color: var(--wp--preset--color--base) !important;
    font-weight: 500 !important;
}

.industries-filter {
    background-color: #e0ebed !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.industries-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--wp--preset--spacing--30);
}

.industry-tab {
    background-color: #9FCAC6;
    color: var(--wp--preset--color--base);
    border: none;
    border-radius: 999px;
    padding: 20px 16px;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: center;
    transition: filter 0.2s ease, background-color 0.2s ease;
}

.industry-tab:hover {
    background-color: #1E4C49;
}

.industry-tab.is-active {
    background-color: var(--wp--preset--color--custom-color-1);
    color: var(--wp--preset--color--base);
}

.industries-content {
    background-color: #fef9f3 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.industry-panel {
    display: none;
    text-align: center;
}

.industry-panel.is-active {
    display: block;
}

.industry-panel h2 {
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    font-size: 40px;
}

.industry-panel h3 {
    font-family: var(--wp--preset--font-family--playwrite-is);
    color: var(--wp--preset--color--custom-color-1);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 32px;
}

.industry-panel p {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    text-align: center;
}

.industry-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: start;
    gap: calc(var(--wp--preset--spacing--50) * 0.25);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.industry-logos img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
}

[data-industry="finance"] .industry-logos,
[data-industry="healthcare"] .industry-logos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
}

@media (max-width: 1100px) {
    .industry-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .industry-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .industries-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .industries-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-tab {
        font-size: 14px;
        padding: 16px 10px;
    }
}

.contact-top {
    background-color: #E05E35 !important;
}

.contact-content {
    background-color: #fefcf6 !important;
}

.contact-content .hero-card {
    box-shadow: none;
}

.portfolio-top,
.portfolio-filter-row,
.portfolio-grid-row,
.portfolio-detail-header,
.portfolio-gallery-row,
.portfolio-description-row,
.wp-site-blocks > footer.wp-block-template-part {
    margin-block-start: 0;
}

.portfolio-top {
    background-color: #e29d89 !important;
    background-image: url('/wp-content/uploads/2026/09/MCQ_Banner_Rose-1.jpg');
    background-size: cover;
}

.portfolio-pill {
    display: inline-block;
    background-color: transparent;
    border: 1px solid rgba(42, 42, 42, 0.2);
    color: rgba(42, 42, 42, 0.4);
    border-radius: 999px;
    padding: 10px 20px;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: filter 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-pill.is-active {
    background-color: #fab8a8;
    border-color: transparent;
    color: var(--wp--preset--color--base);
}

button.portfolio-pill {
    border-style: solid;
    cursor: pointer;
}

button.portfolio-pill:hover {
    background-color: #fab8a8;
    border-color: transparent;
    color: var(--wp--preset--color--base);
}

.portfolio-pill-small {
    padding: 6px 14px;
    font-size: 11px;
}

.portfolio-filter-row,
.portfolio-detail-header {
    padding-top: var(--wp--preset--spacing--50);
    padding-bottom: var(--wp--preset--spacing--50);
}

.portfolio-filter-row {
    background-color: #fef7ed;
}

.portfolio-detail-header {
    background-color: #fefcf6;
}

.portfolio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--20);
}

.portfolio-filter-row .portfolio-pills,
.portfolio-detail-header .portfolio-pills {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--20);
}

.portfolio-filter-row .portfolio-pill,
.portfolio-detail-header .portfolio-pill {
    text-align: center;
}

.portfolio-clear-filters {
    display: block;
    width: fit-content;
    margin: var(--wp--preset--spacing--20) auto 0;
    background: none;
    border: none;
    padding: 0;
    color: rgba(42, 42, 42, 0.4);
    text-decoration: underline;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 13px;
    cursor: pointer;
}

.portfolio-detail-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--30);
    margin-bottom: var(--wp--preset--spacing--30);
}

.portfolio-service-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.portfolio-service-icon {
    width: 64px;
    height: 64px;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-service-icon:hover {
    transform: rotate(90deg);
}

@media (max-width: 700px) {
    .portfolio-detail-heading {
        justify-content: center;
    }

    .portfolio-detail-heading-text {
        flex-basis: 100%;
        text-align: center;
    }

    .portfolio-service-icons {
        flex-basis: 100%;
        justify-content: center;
    }

    .portfolio-service-icon {
        width: 48px;
        height: 48px;
    }
}

.portfolio-detail-title {
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.portfolio-detail-industry {
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2A2A2A;
    margin: 0;
}

.portfolio-grid-row {
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--60);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wp--preset--spacing--40);
    align-items: start;
}

.portfolio-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-radius: 0;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(224, 94, 53, 0.9);
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--wp--preset--spacing--30);
    transition: opacity 0.25s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    opacity: 0;
}

.portfolio-item-title {
    color: #fff;
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 600;
    font-size: clamp(20px, calc(20px + (34.375 - 20) * ((100vw - 375px) / (1440 - 375))), 34.375px);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.portfolio-item-industry {
    color: #fff;
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--poppins);
    font-weight: 400;
    font-size: clamp(11px, calc(11px + (16.25 - 11) * ((100vw - 375px) / (1440 - 375))), 16.25px);
    letter-spacing: 0.05em;
    margin-top: 8px;
}

.portfolio-gallery-row {
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--30);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wp--preset--spacing--40);
}

@media (max-width: 700px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

.portfolio-gallery-item {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0;
}

.portfolio-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-gallery-item:hover img {
    transform: scale(1.03);
}

.portfolio-description-row {
    background-color: #fef9f3;
    padding-top: var(--wp--preset--spacing--50);
    padding-bottom: var(--wp--preset--spacing--50);
}

.portfolio-description-nav {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--40);
}

.portfolio-description-box {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.portfolio-description-content {
    color: #2A2A2A;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 20px;
    line-height: 1.6;
    max-width: 960px;
    margin: 0 auto;
}

.portfolio-description-content p:last-child {
    margin-bottom: 0;
}

.portfolio-nav-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #F79E89;
    color: #fff;
    transition: background-color 0.2s ease;
}

.portfolio-nav-arrow:hover {
    background-color: #E05E35;
    color: #fff;
}

@media (max-width: 860px) {
    .portfolio-description-nav {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: var(--wp--preset--spacing--30);
    }

    .portfolio-description-nav .portfolio-description-box {
        order: 1;
        flex-basis: 100%;
    }

    .portfolio-description-nav .portfolio-nav-prev {
        order: 2;
    }

    .portfolio-description-nav .portfolio-nav-next {
        order: 3;
    }

    .portfolio-description-content {
        font-size: 17px;
    }
}

@media (max-width: 700px) {
    .portfolio-nav-arrow {
        width: 44px;
        height: 44px;
    }

    .portfolio-nav-arrow svg {
        width: 10px;
        height: 17px;
    }
}

.portfolio-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.portfolio-lightbox.is-open {
    display: flex;
}

.portfolio-lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.portfolio-lightbox-image {
    position: relative;
    z-index: 1;
    max-width: 85vw;
    max-height: 85vh;
    display: block;
    padding: 20px;
    background-color: #fff;
    box-sizing: border-box;
}

.portfolio-lightbox-close,
.portfolio-lightbox-prev,
.portfolio-lightbox-next {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    color: var(--wp--preset--color--base);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

.portfolio-lightbox-close {
    top: 24px;
    right: 32px;
}

.portfolio-lightbox-prev {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.portfolio-lightbox-next {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.portfolio-lightbox-counter {
    position: absolute;
    z-index: 2;
    left: 32px;
    bottom: 24px;
    color: var(--wp--preset--color--base);
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 14px;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .portfolio-filter-row .portfolio-pills,
    .portfolio-detail-header .portfolio-pills {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-filter-row .portfolio-pills,
    .portfolio-detail-header .portfolio-pills {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   About Us — photo collage begins. Added 2026-09-18 as a curated hero
   graphic (not tied to the People CPT). Each shape is a future photo slot;
   for now they're filled with placeholder colors from the Global Styles
   palette so the layout can be reviewed before real photos are added.
   Swapping in a photo later = add "background-image: url(...); background-size:
   cover; background-position: center;" to that shape's rule below.
   ========================================================================== */

.about-collage {
    position: relative;
    z-index: 2;
    max-width: var(--wp--style--global--wide-size) !important;
    aspect-ratio: 2015 / 1461.47;
    margin-bottom: -230px;
}

.about-collage-shape {
    position: absolute;
    background-color: #ccc;
}

.about-collage-shape--circle {
    border-radius: 50%;
}

.about-collage-shape--pill {
    border-radius: 999px;
}

.about-collage-shape-1 {
    left: 2.23%;
    top: 5.65%;
    width: 18.86%;
    height: 42.77%;
    background-color: var(--wp--preset--color--custom-color-1);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/jared-tabler-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-2 {
    left: 23.82%;
    top: 5.65%;
    width: 17.37%;
    height: 23.95%;
    background-color: var(--wp--preset--color--accent-5);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/amy-roettger-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-3 {
    left: 43.67%;
    top: 5.65%;
    width: 17.37%;
    height: 23.95%;
    background-color: var(--wp--preset--color--contrast);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/ellie-heath-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.about-collage-shape-4 {
    left: 18.79%;
    top: 34.5%;
    width: 30.02%;
    height: 27.02%;
    background-color: var(--wp--preset--color--accent-3);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/cindy-biglin-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-5 {
    left: 57.4%;
    top: 13.62%;
    width: 18.6%;
    height: 45.16%;
    background-color: var(--wp--preset--color--accent-1);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/amelia-hlushak-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-collage-shape-6 {
    left: 79%;
    top: 5.65%;
    width: 18.6%;
    height: 25.67%;
    background-color: var(--wp--preset--color--accent-4);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/joanna-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-7 {
    left: 79%;
    top: 33.01%;
    width: 18.6%;
    height: 25.67%;
    background-color: var(--wp--preset--color--accent-2);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/carmen-hrynchuk-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-8 {
    left: 57.4%;
    top: 60.37%;
    width: 18.6%;
    height: 25.67%;
    background-color: var(--wp--preset--color--accent-5);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/mcq-balloon-cl.jpg');
    background-size: cover;
    background-position: center;
}

.about-collage-shape-9 {
    left: 79%;
    top: 60.37%;
    width: 18.6%;
    height: 25.67%;
    background-color: var(--wp--preset--color--accent-1);
    background-image: url('https://mcqueenagency.com/wp-content/uploads/2026/09/curtis-paradis-headshot-cl.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 1090px) {
    .about-collage {
        margin-bottom: clamp(3px, 0.7vw, 7px);
    }

    .about-agency-bubble {
        margin-top: 0 !important;
    }
}

/* ==========================================================================
   About Us — photo collage ends
   ========================================================================== */

/* About Us — H1 hero row. Matches Industries/Portfolio height + font;
   background color/image is set per-page via the editor, not forced here. */
.about-top {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.about-top h1 {
    color: var(--wp--preset--color--base) !important;
    font-weight: 500 !important;
}

/* About Us — "Our Agency" top bubble */
.about-agency-bubble {
    border-radius: 60px;
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-agency-bubble,
.about-agency-bubble h6,
.about-agency-bubble p {
    color: var(--wp--preset--color--base);
}

.about-agency-bubble h6 {
    font-size: calc(var(--wp--preset--font-size--large) * 1.25);
    font-weight: 600;
}

.about-agency-bubble p.has-x-large-font-size {
    font-size: 36.8px;
}

.about-agency-bubble .wp-block-button__link {
    font-weight: 600;
    text-transform: uppercase;
}

/* About Us — "Our Mission" / "Our Vision" pill pair */
.wp-block-column:has(> .about-pill) {
    display: flex;
}

.about-pill {
    border-radius: 999px;
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60) !important;
    text-align: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.about-pill,
.about-pill h3,
.about-pill p {
    color: var(--wp--preset--color--base);
}

.about-pill h3 {
    font-weight: 500;
    font-size: 31.05px;
}

.about-pill p {
    font-weight: 400;
}

/* About Us — "Our Values" bottom bubble */
.about-values {
    border-radius: 40px;
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
    margin-bottom: 30px;
}

.about-values h2 {
    text-align: center;
    margin-bottom: var(--wp--preset--spacing--40);
    font-weight: 500;
    font-size: 31.05px;
}

.about-values .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wp--preset--spacing--40);
}

@media (max-width: 700px) {
    .about-values .wp-block-columns {
        grid-template-columns: 1fr;
    }
}

.about-values .wp-block-column {
    width: auto;
}

.about-values p {
    font-size: var(--wp--preset--font-size--medium);
}

.about-values,
.about-values h2,
.about-values h6,
.about-values p {
    color: var(--wp--preset--color--base);
}

.about-values h6 {
    font-size: 17.5px;
}

/* ==========================================================================
   Ninja Forms styling begins — Contact page form
   ========================================================================== */

.nf-form-fields-required {
    display: none;
}

.label-above .nf-field-label {
    margin-bottom: 4px;
}

.nf-field-label label {
    font-size: 16.5px;
    font-weight: 500;
}

.nf-form-cont .ninja-forms-req-symbol {
    color: #9FCAC6;
}

.nf-form-cont,
.nf-field-label label,
.nf-form-cont .nf-field-element input,
.nf-form-cont .nf-field-element textarea,
.nf-form-cont .nf-field-element select {
    font-family: var(--wp--preset--font-family--poppins);
}

.nf-form-cont .nf-field-element input:not([type="submit"]),
.nf-form-cont .nf-field-element textarea,
.nf-form-cont .nf-field-element select {
    padding: 10px;
}

.nf-form-cont .nf-field-element select {
    font-size: 18px;
}

.nf-form-cont .nf-field-element textarea {
    height: 100px;
}

.nf-form-cont input[type="submit"] {
    background-color: #1E4C49;
    color: #fff;
    font-size: 16.67px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    border-radius: 9999px;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nf-form-cont input[type="submit"]:hover {
    background-color: #2A2A2A;
}

/* ==========================================================================
   Ninja Forms styling ends
   ========================================================================== */

.mcq-people-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.mcq-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    perspective: 800px;
}

.mcq-person-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.mcq-person:hover .mcq-person-photo {
    transform: rotateY(35deg);
}

.mcq-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mcq-person-name {
    margin-top: var(--wp--preset--spacing--20);
    margin-bottom: 0;
    font-family: var(--wp--preset--font-family--poppins);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
}

.mcq-person-pronouns {
    margin-top: 4px;
    margin-bottom: 0;
    font-family: var(--wp--preset--font-family--playwrite-is);
    text-transform: lowercase;
    font-size: 17.6px;
    font-weight: 300;
    color: var(--wp--preset--color--contrast);
}

@media (max-width: 1100px) {
    .mcq-people-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .mcq-people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mcq-people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   People bio lightbox begins — added 2026-09-17.
   Clicking a person in .mcq-people-grid opens this shared overlay, populated
   via js/people-bio-lightbox.js. To remove this feature entirely: delete
   this block, the matching block in functions.php, and js/people-bio-lightbox.js.
   ========================================================================== */

.mcq-person {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
}

.mcq-people-lightbox {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    max-width: none !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.mcq-people-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.mcq-people-lightbox-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(42, 42, 42, 0.7);
}

.mcq-people-lightbox-content {
    position: relative;
    z-index: 1;
    background-color: #fff;
    border-radius: 32px;
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
    max-width: 560px;
    width: calc(100% - 80px);
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.mcq-people-lightbox.is-open .mcq-people-lightbox-content {
    transform: translateY(0);
}

.mcq-people-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 2;
    background: none;
    border: none;
    color: #2A2A2A;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

.mcq-people-lightbox-photo {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mcq-people-lightbox-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mcq-people-lightbox-name {
    margin-top: var(--wp--preset--spacing--30);
    margin-bottom: 0;
    font-family: var(--wp--preset--font-family--poppins);
    text-transform: uppercase;
    font-size: 27.5px;
    font-weight: 600;
}

.mcq-people-lightbox-pronouns {
    margin-top: 4px;
    margin-bottom: 0;
    font-family: var(--wp--preset--font-family--playwrite-is);
    text-transform: lowercase;
    font-size: 16.5px;
    font-weight: 300;
}

.mcq-people-lightbox-bio {
    margin-top: var(--wp--preset--spacing--30);
    font-family: var(--wp--preset--font-family--poppins);
    color: #2A2A2A;
    text-align: left;
}

.mcq-people-lightbox-bio p:last-child {
    margin-bottom: 0;
}

.mcq-people-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #F79E89;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mcq-people-lightbox-nav:hover {
    background-color: #E05E35;
}

.mcq-people-lightbox-prev {
    left: 32px;
}

.mcq-people-lightbox-next {
    right: 32px;
}

@media (max-width: 600px) {
    .mcq-people-lightbox-content {
        padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
    }

    .mcq-people-lightbox-photo {
        width: 125px;
        height: 125px;
    }

    .mcq-people-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .mcq-people-lightbox-nav svg {
        width: 10px;
        height: 17px;
    }

    .mcq-people-lightbox-prev {
        left: 12px;
    }

    .mcq-people-lightbox-next {
        right: 12px;
    }
}

/* ==========================================================================
   Footer social icons — Facebook removed per client request; the remaining
   LinkedIn/Instagram icons are sized up 15% (30px -> 34.5px) to fill the
   visual space left behind. Targeted by href since these are theme-provided
   inline SVGs with no class hook.
   ========================================================================== */

footer a[href*="facebook.com"] {
    display: none;
}

footer a[href*="linkedin.com"] svg,
footer a[href*="instagram.com"] svg {
    width: 34.5px !important;
    height: 34.5px !important;
}

/* ==========================================================================
   Footer social icons end
   ========================================================================== */

/* ==========================================================================
   People bio lightbox ends
   ========================================================================== */