/* =========================================================
   KB7 CORPORATION
   PORTFOLIO PAGE
========================================================= */

.club-portfolio {
    background: #f7f4ed;
}

.club-portfolio main {
    width: 100%;
    overflow: hidden;
}

.club-portfolio *,
.club-portfolio *::before,
.club-portfolio *::after {
    box-sizing: border-box;
}



/* =========================================================
   HERO
========================================================= */

.kb7-businesses-hero {

    position: relative;

    min-height: 520px;

    background: #061b33;

    overflow: hidden;

    display: flex;

    align-items: center;
}


.kb7-businesses-hero .container {

    position: relative;

    z-index: 2;

    width: 100%;
    max-width: none;
    padding-left: var(--kb7-page-gutter);
    padding-right: var(--kb7-page-gutter);

}


.kb7-businesses-content {

    padding-top: 5px;

    padding-bottom: 20px;

}


.kb7-businesses-eyebrow {

    margin-bottom: 20px;

    color: #d39b3f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.kb7-businesses-content h1 {

    margin: 0;

    max-width: 700px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 68px;

    font-weight: 400;

    line-height: 1.04;

    letter-spacing: -3px;

}


.kb7-businesses-content p {

    max-width: 560px;

    margin-top: 52px;

    margin-bottom: 0;

    color: #d8e0e9;

    font-size: 16px;

    line-height: 1.65;

}


.kb7-businesses-line {

    position: absolute;

    z-index: 1;

    top: -280px;

    right: 10%;

    width: 1px;

    height: 900px;

    background:
        rgba(255,255,255,.14);

    transform:
        rotate(-45deg);

}



/* =========================================================
   HERO ANIMATION
========================================================= */

.kb7-hero-reveal {

    opacity: 0;

    transform:
        translateY(30px);

    animation:
        kb7HeroReveal
        .9s
        cubic-bezier(.2,.7,.2,1)
        forwards;

}


.kb7-hero-delay-1 {
    animation-delay: .12s;
}


.kb7-hero-delay-2 {
    animation-delay: .30s;
}


.kb7-hero-delay-3 {
    animation-delay: .52s;
}


@keyframes kb7HeroReveal {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.kb7-businesses-line {

    transform:
        rotate(-45deg)
        scaleY(0);

    transform-origin:
        center;

    animation:
        kb7HeroLine
        1.3s
        cubic-bezier(.2,.7,.2,1)
        .05s
        forwards;

}

/* Use one isolated reveal sequence for the businesses hero text. */
.club-portfolio .kb7-businesses-hero .kb7-hero-reveal {
    animation-name: kb7BusinessesHeroReveal;
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

@keyframes kb7BusinessesHeroReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes kb7HeroLine {

    from {

        opacity: 0;

        transform:
            rotate(-45deg)
            scaleY(0);

    }

    to {

        opacity: 1;

        transform:
            rotate(-45deg)
            scaleY(1);

    }

}



/* =========================================================
   PORTFOLIO
========================================================= */

.kb7-portfolio {

    position: relative;

    min-height: calc(100vh - 82px);
    scroll-margin-top: 82px;

    background: #f7f4ed;

    color: #10233f;

}


.kb7-portfolio-header {

    padding-top: 120px;

    padding-bottom: 60px;

}


.kb7-eyebrow {

    display: block;

    margin-bottom: 15px;

    color: #b58224;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 4px;

}


.kb7-portfolio-header h1 {

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 6vw, 82px);

    font-weight: 400;

    letter-spacing: -3px;

    line-height: .98;

}


.kb7-heading-line {

    width: 70px;

    height: 2px;

    margin-top: 30px;

    background: #c49438;

}


.kb7-intro {

    max-width: 400px;

    margin: 0;

    padding-left: 25px;

    border-left:
        1px solid #c49438;

    color: #41516a;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.6;

}



/* =========================================================
   BUSINESS GRID
========================================================= */

.kb7-business-grid {
    width: 100%;
}


.kb7-business-card {

    position: relative;

    height: 390px;

    overflow: hidden;

    cursor: pointer;

    background: #10233f;

    isolation: isolate;

    border-right:
        1px solid rgba(255,255,255,.8);

    border-bottom:
        1px solid rgba(255,255,255,.8);

    transition:
        transform .5s cubic-bezier(.2,.7,.2,1),
        box-shadow .5s ease,
        filter .5s ease;

}


.kb7-business-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transform:
        scale(1.04);

    transition:
        transform 1.2s cubic-bezier(.2,.7,.2,1);

}


.kb7-card-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            0deg,
            rgba(5,17,30,.94) 0%,
            rgba(5,17,30,.65) 40%,
            rgba(5,17,30,.08) 100%
        );

    transition:
        background .6s ease;

}


.kb7-card-content {

    position: absolute;

    left: 40px;

    right: 40px;

    bottom: 35px;

    z-index: 2;

    color: #ffffff;

}


.kb7-card-number {

    margin-bottom: 25px;

    color: #d5a447;

    font-size: 12px;

    letter-spacing: 3px;

}


.kb7-card-content h2 {

    margin:
        0 0 12px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(27px, 2.3vw, 38px);

    font-weight: 400;

    line-height: 1.05;

}


.kb7-card-content p {

    max-width: 430px;

    margin:
        0 0 22px;

    color:
        rgba(255,255,255,.82);

    font-size: 14px;

    line-height: 1.6;

}


.kb7-card-link {

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


.kb7-card-link span {

    display: inline-block;

    margin-left: 12px;

    font-size: 17px;

    transition:
        transform .3s ease;

}


.kb7-card-arrow {

    position: absolute;

    right: 35px;

    bottom: 35px;

    z-index: 3;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid #d5a447;

    border-radius: 50%;

    color: #ffffff;

    font-size: 21px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .4s ease;

}



/* =========================================================
   CARD HOVER
========================================================= */

.kb7-business-card:hover {

    z-index: 5;

    transform:
        scale(1.015);

    box-shadow:
        0 20px 60px
        rgba(6,27,51,.20);

}


.kb7-business-card:hover img {

    transform:
        scale(1.10);

}


.kb7-business-card:hover .kb7-card-overlay {

    background:
        linear-gradient(
            0deg,
            rgba(5,17,30,.96) 0%,
            rgba(5,17,30,.48) 50%,
            rgba(5,17,30,.04) 100%
        );

}


.kb7-business-card:hover .kb7-card-arrow {

    background: #d5a447;

    color: #10233f;

    transform:
        rotate(45deg);

}


.kb7-business-card:hover
.kb7-card-link span {

    transform:
        translateX(6px);

}



/* =========================================================
   GOLD BORDER
========================================================= */

.kb7-business-card::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 4;

    pointer-events: none;

    border:
        1px solid #d5a447;

    opacity: 0;

    clip-path:
        inset(0 100% 0 0);

}


.kb7-business-card:hover::before {

    opacity: 1;

    animation:
        kb7CardBorder
        .5s
        ease
        forwards;

}


@keyframes kb7CardBorder {

    from {

        clip-path:
            inset(0 100% 0 0);

    }

    to {

        clip-path:
            inset(0 0 0 0);

    }

}



/* =========================================================
   FULLSCREEN VIEWER
========================================================= */

body.kb7-viewer-open {
    overflow: hidden;
}


.kb7-fullscreen {

    position: fixed;

    inset: 0;

    z-index: 99999;

    width: 100vw;

    height: 100vh;

    overflow: hidden;

    background: #061525;

    color: #ffffff;

    visibility: hidden;

    opacity: 0;

    clip-path:
        inset(100% 0 0 0);

    transition:
        visibility 0s linear .8s,
        opacity .3s ease,
        clip-path 1s cubic-bezier(.77,0,.18,1);

}


.kb7-fullscreen.active {

    visibility: visible;

    opacity: 1;

    clip-path:
        inset(0 0 0 0);

    transition:
        visibility 0s,
        opacity .35s ease,
        clip-path 1s cubic-bezier(.77,0,.18,1);

}



/* =========================================================
   FULLSCREEN VIDEO
========================================================= */

.kb7-fullscreen-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

    z-index: 1;

}


.kb7-fullscreen-image-element {

    position: absolute;

    inset: 0;

    width: 100% !important;

    height: 100% !important;

    display: block;

    object-fit: cover;

    opacity: 0;

    transform:
        scale(1.15);

    filter:
        brightness(.65)
        saturate(.85);

    transition:
        opacity 1s ease,
        transform 1.8s cubic-bezier(.2,.7,.2,1),
        filter 1.2s ease;

}


.kb7-fullscreen.active
.kb7-fullscreen-image-element {

    opacity: 1;

    transform:
        scale(1);

    filter:
        brightness(.72)
        saturate(1);

}


.kb7-fullscreen-image-element.kb7-image-out {

    opacity: 0;

    transform:
        scale(1.08);

}


.kb7-fullscreen-image-element.kb7-image-in {

    opacity: 1;

    transform:
        scale(1);

}



/* =========================================================
   VIDEO OVERLAY
========================================================= */

.kb7-fullscreen-image::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(6,21,37,.99) 0%,
            rgba(6,21,37,.91) 24%,
            rgba(6,21,37,.58) 48%,
            rgba(6,21,37,.16) 75%,
            rgba(6,21,37,.05) 100%
        );

    opacity: 0;

    transition:
        opacity 1s ease .2s;

}


.kb7-fullscreen.active
.kb7-fullscreen-image::after {

    opacity: 1;

}



/* =========================================================
   FULLSCREEN CONTENT
========================================================= */

.kb7-fullscreen-content {

    position: absolute;

    inset: 0;

    z-index: 5;

    width: 100%;

    height: 100%;

}



/* =========================================================
   FULLSCREEN TEXT
========================================================= */

.kb7-fullscreen-text {

    position: absolute;

    left: 0;

    top: 0;

    z-index: 5;

    width: 58%;

    height: 100%;

    padding:
        130px 60px 100px 13%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        linear-gradient(
            90deg,
            rgba(6,21,37,.99) 0%,
            rgba(6,21,37,.94) 62%,
            rgba(6,21,37,0) 100%
        );

    opacity: 0;

    transform:
        translateX(-50px);

    transition:
        opacity .8s ease .3s,
        transform .9s cubic-bezier(.2,.7,.2,1);

}


.kb7-fullscreen.active
.kb7-fullscreen-text {

    opacity: 1;

    transform:
        translateX(0);

}



/* =========================================================
   NUMBER
========================================================= */

.kb7-fullscreen-number {

    display: flex;

    gap: 8px;

    margin-bottom: 18px;

    color:
        rgba(255,255,255,.35);

    font-size: 12px;

    letter-spacing: 3px;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .6s ease .65s,
        transform .6s ease .65s;

}


.kb7-fullscreen.active
.kb7-fullscreen-number {

    opacity: 1;

    transform:
        translateY(0);

}


.kb7-fullscreen-number strong {

    color:
        #d5a447 !important;

    font-weight: 500;

}



/* =========================================================
   GOLD LINE
========================================================= */

.kb7-fullscreen-line {

    width: 0;

    height: 1px;

    margin-bottom: 30px;

    background:
        #d5a447;

    transition:
        width .8s cubic-bezier(.2,.7,.2,1) .8s;

}


.kb7-fullscreen.active
.kb7-fullscreen-line {

    width: 65px;

}



/* =========================================================
   TITLE
========================================================= */

.kb7-fullscreen-text h2 {

    max-width: 760px;

    margin:
        0 0 24px;

    color: #ffffff !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(44px, 5.5vw, 82px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -3px;

    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity .8s ease 1s,
        transform .9s cubic-bezier(.2,.7,.2,1);

}


.kb7-fullscreen.active
.kb7-fullscreen-text h2 {

    opacity: 1;

    transform:
        translateY(0);

}



/* =========================================================
   DESCRIPTION
========================================================= */

.kb7-fullscreen-text p {

    max-width: 540px;

    margin:
        0 0 35px;

    color:
        rgba(255,255,255,.72) !important;

    font-size: 17px;

    line-height: 1.7;

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease 1.2s,
        transform .7s cubic-bezier(.2,.7,.2,1);

}


.kb7-fullscreen.active
.kb7-fullscreen-text p {

    opacity: 1;

    transform:
        translateY(0);

}



/* =========================================================
   FEATURES
========================================================= */

.kb7-feature-list {

    display: flex;

    gap: 24px;

    margin-bottom: 38px;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease 1.35s,
        transform .7s ease 1.35s;

}


.kb7-fullscreen.active
.kb7-feature-list {

    opacity: 1;

    transform:
        translateY(0);

}


.kb7-feature-list div {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding-right: 22px;

    border-right:
        1px solid
        rgba(255,255,255,.16);

}


.kb7-feature-list div:last-child {
    border-right: 0;
}


.kb7-feature-list strong {

    color:
        #d5a447 !important;

    font-size: 10px;

    font-weight: 400;

}


.kb7-feature-list span {

    color:
        rgba(255,255,255,.7) !important;

    font-size: 10px;

    letter-spacing: 1px;

}



/* =========================================================
   EXPLORE BUTTON
========================================================= */

.kb7-explore-button {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 22px;

    width: fit-content;

    min-height: 48px;

    padding:
        0 24px;

    border:
        1px solid #d5a447 !important;

    border-radius:
        0 !important;

    background:
        #d5a447 !important;

    color:
        #061525 !important;

    text-decoration:
        none !important;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease 1.65s,
        transform .7s ease 1.65s,
        background .3s ease,
        color .3s ease;

}


.kb7-fullscreen.active
.kb7-explore-button {

    opacity: 1;

    transform:
        translateY(0);

}


.kb7-explore-button > span:last-child {

    font-size: 18px;

    transition:
        transform .3s ease;

}


.kb7-explore-button:hover {

    background:
        #ffffff !important;

    border-color:
        #ffffff !important;

    color:
        #061525 !important;

}


.kb7-explore-button:hover
> span:last-child {

    transform:
        translateX(6px);

}



/* =========================================================
   SLIDE TRANSITIONS
========================================================= */

.kb7-slide-out {

    opacity: 0 !important;

    transform:
        translateY(-25px) !important;

}


.kb7-slide-in {

    animation:
        kb7SlideIn
        .65s
        cubic-bezier(.2,.7,.2,1)
        forwards;

}

/* Prevent the active-state transition from running a second reveal on titles
   that are already using the slide-in animation. */
.kb7-fullscreen-text h2.kb7-slide-in {
    transition: none;
}


@keyframes kb7SlideIn {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}



/* =========================================================
   TOP BAR
========================================================= */

.kb7-fullscreen-top {

    position: absolute;

    top: 28px;

    left: 40px;

    right: 40px;

    z-index: 30;

    display: flex;

    align-items: center;

    justify-content: space-between;

    opacity: 0;

    transform:
        translateY(-20px);

    transition:
        opacity .6s ease .4s,
        transform .7s ease .4s;

}


.kb7-fullscreen.active
.kb7-fullscreen-top {

    opacity: 1;

    transform:
        translateY(0);

}



/* =========================================================
   LOGO
========================================================= */

.kb7-logo {

    display: flex;

    flex-direction: column;

}


.kb7-logo strong {

    color:
        #ffffff !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 400;

    line-height: 1;

}


.kb7-logo small {

    margin-top: 5px;

    color:
        #d5a447 !important;

    font-size: 8px;

    letter-spacing: 3px;

}



/* =========================================================
   CLOSE
========================================================= */

.kb7-close {

    appearance: none !important;

    -webkit-appearance: none !important;

    position: relative;

    width: 48px;

    height: 48px;

    padding: 0 !important;

    border:
        1px solid #d5a447 !important;

    border-radius:
        50% !important;

    outline: none !important;

    background:
        rgba(6,21,37,.35) !important;

    box-shadow: none !important;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease;

}


.kb7-close span {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 18px;

    height: 1px;

    background:
        #ffffff !important;

}


.kb7-close span:first-child {

    transform:
        translate(-50%,-50%)
        rotate(45deg);

}


.kb7-close span:last-child {

    transform:
        translate(-50%,-50%)
        rotate(-45deg);

}


.kb7-close:hover {

    background:
        #d5a447 !important;

    transform:
        rotate(90deg);

}


.kb7-close:hover span {

    background:
        #061525 !important;

}



/* =========================================================
   SIDE NAV
========================================================= */

.kb7-side-navigation {

    position: absolute;

    left: 40px;

    top: 50%;

    z-index: 25;

    display: flex;

    flex-direction: column;

    gap: 7px;

    transform:
        translateY(-50%)
        translateX(-25px);

    opacity: 0;

    transition:
        opacity .7s ease 1s,
        transform .8s cubic-bezier(.2,.7,.2,1);

}


.kb7-fullscreen.active
.kb7-side-navigation {

    opacity: 1;

    transform:
        translateY(-50%)
        translateX(0);

}


.kb7-side-item {

    appearance: none !important;

    -webkit-appearance: none !important;

    display: flex !important;

    align-items: center;

    gap: 12px;

    width: 125px;

    min-height: 28px;

    margin: 0 !important;

    padding:
        6px 0 6px 12px !important;

    border:
        0 !important;

    border-left:
        1px solid transparent !important;

    border-radius:
        0 !important;

    outline:
        none !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    color:
        rgba(255,255,255,.42) !important;

    text-align: left;

    font-family: inherit;

    cursor: pointer;

    transition:
        color .3s ease,
        border-color .3s ease,
        padding-left .3s ease;

}


.kb7-side-item small {

    color:
        #777f89 !important;

    font-size: 9px;

    letter-spacing: 1px;

}


.kb7-side-item span {

    color: inherit !important;

    font-size: 10px;

    letter-spacing: .5px;

}


.kb7-side-item:hover {

    color:
        #ffffff !important;

    padding-left:
        16px !important;

}


.kb7-side-item.active {

    border-left-color:
        #d5a447 !important;

    color:
        #ffffff !important;

}


.kb7-side-item.active small {

    color:
        #d5a447 !important;

}



/* =========================================================
   PREVIOUS / NEXT
========================================================= */

.kb7-fullscreen-controls {

    position: absolute;

    right: 45px;

    bottom: 90px;

    z-index: 30;

    display: flex;

    gap: 10px;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .7s ease 1.45s,
        transform .7s ease 1.45s;

}


.kb7-fullscreen.active
.kb7-fullscreen-controls {

    opacity: 1;

    transform:
        translateY(0);

}


.kb7-fullscreen-controls button {

    appearance: none !important;

    -webkit-appearance: none !important;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    padding: 0 !important;

    border:
        1px solid
        rgba(255,255,255,.45) !important;

    border-radius:
        50% !important;

    background:
        rgba(6,21,37,.35) !important;

    color:
        #ffffff !important;

    box-shadow:
        none !important;

    outline:
        none !important;

    font-size: 20px;

    cursor: pointer;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease;

}


.kb7-fullscreen-controls button:hover {

    background:
        #d5a447 !important;

    border-color:
        #d5a447 !important;

    color:
        #061525 !important;

}



/* =========================================================
   BOTTOM
========================================================= */

.kb7-fullscreen-bottom {

    position: absolute;

    left: 40px;

    right: 40px;

    bottom: 30px;

    z-index: 30;

    display: flex;

    align-items: center;

    gap: 30px;

    color:
        rgba(255,255,255,.42);

    font-size: 8px;

    letter-spacing: 2px;

    opacity: 0;

    transform:
        translateY(15px);

    transition:
        opacity .7s ease 1.5s,
        transform .7s ease 1.5s;

}


.kb7-fullscreen.active
.kb7-fullscreen-bottom {

    opacity: 1;

    transform:
        translateY(0);

}


.kb7-fullscreen-progress {

    flex: 1;

    height: 1px;

    background:
        rgba(255,255,255,.15);

    overflow: hidden;

}


.kb7-fullscreen-progress span {

    display: block;

    width: 0;

    height: 100%;

    background:
        #d5a447;

}


.kb7-progress-running {

    animation:
        kb7Progress
        5.5s
        linear
        forwards;

}


@keyframes kb7Progress {

    from {
        width: 0;
    }

    to {
        width: 100%;
    }

}



/* =========================================================
   CTA
========================================================= */

.kb7-cta-section {

    padding:
        100px 0;

    background:
        #ffffff;

}


.kb7-cta-box {

    padding:
        70px 65px;

    background:
        #061b33;

}


.kb7-cta-title {

    margin: 0;

    color:
        #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(35px, 4vw, 58px);

    font-weight: 400;

    line-height: 1.05;

}


.kb7-cta-action {

    display: flex;

    justify-content: flex-end;

}


.kb7-cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 28px;

    border:
        1px solid #d5a447;

    background:
        #d5a447;

    color:
        #061525;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background .3s ease,
        color .3s ease;

}


.kb7-cta-button:hover {

    background:
        #ffffff;

    border-color:
        #ffffff;

    color:
        #061525;

}



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

@media (max-width: 1199px) {

    .kb7-fullscreen-text {

        width: 65%;

        padding-left:
            15%;

    }

}

@media (max-width: 991px) {

    .kb7-businesses-hero {

        min-height:
            480px;

    }


    .kb7-businesses-content h1 {

        font-size:
            56px;

    }


    .kb7-fullscreen-text {

        width: 100%;

        padding:
            130px 70px 110px 100px;

        background:
            linear-gradient(
                90deg,
                rgba(6,21,37,.98) 0%,
                rgba(6,21,37,.85) 65%,
                rgba(6,21,37,.25) 100%
            );

    }


    .kb7-side-navigation {

        left: 25px;

    }


    .kb7-side-item {

        width: 105px;

    }


    .kb7-fullscreen-controls {

        right: 30px;

    }

}


@media (max-width: 767px) {

    .kb7-businesses-hero {

        min-height:
            520px;

    }


    .kb7-businesses-content {

        padding:
            0 25px;

    }


    .kb7-businesses-content h1 {

        font-size:
            44px;

        letter-spacing:
            -2px;

    }


    .kb7-businesses-content p {

        margin-top:
            35px;

        font-size:
            14px;

    }


    .kb7-portfolio-header {

        padding:
            115px 25px 45px;

    }


    .kb7-portfolio-header h1 {

        font-size:
            48px;

    }


    .kb7-intro {

        margin-top:
            30px;

    }


    .kb7-business-card {

        height:
            360px;

    }


    .kb7-card-content {

        left:
            25px;

        right:
            25px;

        bottom:
            30px;

    }


    .kb7-card-arrow {

        right:
            25px;

        bottom:
            25px;

    }


    .kb7-fullscreen-top {

        left:
            20px;

        right:
            20px;

        top:
            20px;

    }


    .kb7-side-navigation {

        display:
            none;

    }


    .kb7-fullscreen-text {

        width:
            100%;

        padding:
            120px 30px 100px;

        justify-content:
            center;

        background:
            linear-gradient(
                90deg,
                rgba(6,21,37,.97),
                rgba(6,21,37,.82)
            );

    }


    .kb7-fullscreen-text h2 {

        font-size:
            43px;

        letter-spacing:
            -2px;

    }


    .kb7-fullscreen-text p {

        font-size:
            14px;

    }


    .kb7-feature-list {

        gap:
            12px;

        flex-wrap:
            wrap;

    }


    .kb7-feature-list div {

        padding-right:
            12px;

    }


    .kb7-fullscreen-controls {

        right:
            25px;

        bottom:
            70px;

    }


    .kb7-fullscreen-controls button {

        width:
            44px;

        height:
            44px;

    }


    .kb7-fullscreen-bottom {

        left:
            20px;

        right:
            20px;

        bottom:
            20px;

    }


    .kb7-fullscreen-bottom > span:last-child {

        display:
            none;

    }


    .kb7-cta-box {

        padding:
            50px 30px;

    }


    .kb7-cta-action {

        justify-content:
            flex-start;

        margin-top:
            30px;

    }

}


@media (max-width: 480px) {

    .kb7-businesses-content h1 {

        font-size:
            39px;

    }


    .kb7-fullscreen-text {

        padding:
            110px 22px 100px;

    }


    .kb7-fullscreen-text h2 {

        font-size:
            37px;

    }


    .kb7-fullscreen-text p {

        margin-bottom:
            25px;

    }


    .kb7-feature-list {

        margin-bottom:
            25px;

    }


    .kb7-explore-button {

        min-height:
            45px;

        padding:
            0 18px;

    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .kb7-hero-reveal,
    .kb7-businesses-line,
    .kb7-business-card,
    .kb7-fullscreen,
    .kb7-fullscreen-image-element,
    .kb7-fullscreen-text,
    .kb7-fullscreen-number,
    .kb7-fullscreen-line,
    .kb7-fullscreen-text h2,
    .kb7-fullscreen-text p,
    .kb7-feature-list,
    .kb7-explore-button,
    .kb7-fullscreen-top,
    .kb7-side-navigation,
    .kb7-fullscreen-controls,
    .kb7-fullscreen-bottom {

        animation:
            none !important;

        transition:
            none !important;

    }

}


.kb7-fullscreen-video-element {

    position: absolute;

    inset: 0;

    width: 100% !important;

    height: 100% !important;

    display: none;

    object-fit: cover;

    opacity: 1;

    transform: scale(1);

    filter:
        brightness(.72)
        saturate(1);

}

.kb7-feature-list i {
    color: #d5a447;
    font-size: 25px;
    line-height: 1;
}


/* =========================================================
   INLINE BUSINESSES HERO VIEWER
   The animated viewer is part of the page flow, not a popup.
========================================================= */

.club-portfolio main {
    display: flex;
    flex-direction: column;
    padding-top: 82px;
    background: #061525;
}

.club-portfolio .kb7-main-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 82px;
    min-height: 82px;
    margin: 0 !important;
    transform: none !important;
    z-index: 1100;
}

.club-portfolio .kb7-main-navbar .kb7-navbar-container {
    height: 82px;
    min-height: 82px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .club-portfolio main {
        padding-top: 72px;
    }

    .club-portfolio .kb7-main-navbar {
        height: 72px;
        min-height: 72px;
    }

    .club-portfolio .kb7-main-navbar .kb7-navbar-container {
        height: 72px;
        min-height: 72px;
    }

    .club-portfolio .kb7-businesses-hero {
        height: calc(100vh - 72px);
        min-height: calc(100vh - 72px);
    }
}

.club-portfolio .kb7-main-navbar.kb7-navbar-dark {
    background: transparent !important;
    background-image: none !important;
    border-bottom: 0;
    box-shadow: none;
}

.club-portfolio .kb7-main-navbar.kb7-navbar-dark .kb7-logo-default {
    filter: brightness(0) invert(1);
}

.club-portfolio .kb7-main-navbar.kb7-navbar-dark .kb7-nav-link {
    color: #ffffff !important;
}

.club-portfolio .kb7-main-navbar.kb7-navbar-dark .kb7-nav-link.active,
.club-portfolio .kb7-main-navbar.kb7-navbar-dark .kb7-nav-link:hover {
    color: #d39b3f !important;
}

.club-portfolio .kb7-main-navbar.kb7-navbar-dark .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.kb7-fullscreen {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    height: calc(100vh - 82px);
    min-height: 720px;
    background: #061525 !important;
    z-index: 1;
}

.kb7-businesses-hero {
    order: 2;
    height: calc(100vh - 82px);
    min-height: calc(100vh - 82px);
}

.kb7-portfolio {
    order: 3;
}

.club-portfolio .kb7-cta-section {
    order: 4;
}

body.kb7-viewer-open {
    overflow-x: hidden;
    overflow-y: auto;
}

.kb7-fullscreen-top {
    display: none;
}

.kb7-fullscreen-text {
    top: 18%;
    left: 6%;
    width: min(560px, 38vw);
    height: auto;
    min-height: 330px;
    padding: 42px 38px 36px;
    background: transparent;
}

.kb7-fullscreen-text h2 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: clamp(36px, 4vw, 62px);
    line-height: 1;
}

.club-portfolio .kb7-fullscreen.active .kb7-fullscreen-text h2,
.club-portfolio .kb7-fullscreen.active .kb7-fullscreen-text p,
.club-portfolio .kb7-fullscreen.active .kb7-feature-list {
    opacity: 1;
    transform: translateY(0);
}

.club-portfolio .kb7-fullscreen.active .kb7-fullscreen-line {
    width: 58px;
}

.kb7-fullscreen-text p {
    max-width: 460px;
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1.5;
}

.kb7-fullscreen-number {
    margin-bottom: 14px;
    font-size: 10px;
}

.kb7-fullscreen-line {
    width: 58px;
    margin-bottom: 24px;
}

.kb7-feature-list {
    gap: 14px;
    margin-bottom: 25px;
    font-size: 9px;
}

.kb7-explore-button {
    min-height: 42px;
    padding: 0 22px;
    font-size: 9px;
    display: none;
}

.kb7-side-navigation {
    top: 42%;
    left: 2%;
    z-index: 8;
    display: none;
}

.kb7-fullscreen-controls {
    right: 3%;
    bottom: 7%;
    z-index: 8;
    display: none;
}

.kb7-fullscreen-bottom {
    right: 3%;
    bottom: 3%;
    left: 3%;
    z-index: 8;
    display: none;
}

@media (max-width: 767px) {

    .kb7-fullscreen {
        height: calc(100vh - 70px);
        min-height: 560px;
    }

    .kb7-fullscreen-text {
        top: 14%;
        right: 20px;
        left: 20px;
        width: auto;
        min-height: 300px;
        padding: 32px 25px 28px;
    }

    .kb7-fullscreen-text h2 {
        font-size: 40px;
    }

    .kb7-side-navigation {
        display: none;
    }

}

/* Compact vertical feature blocks for the Our Businesses mobile slideshow. */
@media (max-width: 767px) {
    .club-portfolio .kb7-feature-list {
        display: grid;
        grid-template-columns: 54px;
        gap: 0;
        width: 54px;
        margin-bottom: 28px;
    }

    .club-portfolio .kb7-feature-list div {
        width: 54px;
        min-height: 38px;
        box-sizing: border-box;
        padding: 4px 2px;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
        text-align: center;
    }

    .club-portfolio .kb7-feature-list div:last-child {
        border-bottom: 0;
    }

    .club-portfolio .kb7-feature-list strong {
        font-size: 15px;
        line-height: 1;
    }

    .club-portfolio .kb7-feature-list span {
        font-size: 7px;
        line-height: 1.1;
        letter-spacing: 0;
    }
}
