.linkedin-follow-banner {
    position: relative;
    display: block;
    min-height: 190px;
    overflow: hidden;
    background: #000000 url('/wp-content/uploads/2026/10/bee%20pop%20up%20bg.png') center / cover no-repeat;
    color: #ffffff;
    text-decoration: none;
}

.linkedin-follow-banner__art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.linkedin-follow-banner__bee {
    position: absolute;
    height: auto;
}

.linkedin-follow-banner__bee--large {
    top: -16px;
    left: 65%;
    width: 230px;
    transform: rotate(-13deg);
}

.linkedin-follow-banner__bee--medium {
    top: 21px;
    left: 83%;
    width: 127px;
    transform: rotate(12deg);
}

.linkedin-follow-banner__bee--small {
    top: -5px;
    left: 94%;
    width: 94px;
    transform: rotate(-18deg);
}

.linkedin-follow-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 55px;
    min-height: 190px;
}

.linkedin-follow-banner__text {
    flex: 0 1 auto;
    font-family: "Pastiche Grotesque", "Open Sans", sans-serif;
    font-size: clamp(30px, 3.3vw, 48px);
    font-weight: 400;
    line-height: 1.35;
}

.linkedin-follow-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    background: #0a66c2;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.linkedin-follow-banner__icon svg {
    width: 72px;
    height: 72px;
}

.linkedin-follow-banner__icon svg path,
.linkedin-follow-inline__button-icon svg path {
    fill: currentColor;
}

.linkedin-follow-banner:hover,
.linkedin-follow-banner:focus-visible {
    color: #ffffff;
}

.linkedin-follow-banner:hover .linkedin-follow-banner__icon,
.linkedin-follow-banner:focus-visible .linkedin-follow-banner__icon {
    transform: scale(1.07);
}

.linkedin-follow-banner:focus-visible {
    outline: 4px solid #ffcf00;
    outline-offset: -4px;
}

.linkedin-follow-inline__button-icon {
    display: flex;
    flex: 0 0 auto;
}

.linkedin-follow-inline {
    padding: 46px 0;
    background: #ffcf00;
    color: #000000;
}

.linkedin-follow-inline__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.linkedin-follow-inline__content {
    max-width: 760px;
}

.linkedin-follow-inline__heading {
    margin: 0 0 10px;
    color: #000000;
    font-family: "Pastiche Grotesque", "Open Sans", sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.linkedin-follow-inline__text {
    max-width: 700px;
    margin: 0;
    color: #000000;
    font-size: 17px;
    line-height: 1.55;
}

.linkedin-follow-inline__button,
.linkedin-exit-intent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 24px;
    border: 2px solid #000000;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.linkedin-follow-inline__button:hover,
.linkedin-follow-inline__button:focus-visible {
    background: transparent;
    color: #000000;
}

.linkedin-follow-inline__button:focus-visible,
.linkedin-exit-intent__button:focus-visible,
.linkedin-exit-intent__close:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.linkedin-follow-inline__button-icon svg {
    width: 22px;
    height: 22px;
}

.linkedin-exit-intent[hidden] {
    display: none !important;
}

.linkedin-exit-intent {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.linkedin-exit-intent.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.linkedin-exit-intent__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.64);
    cursor: pointer;
}

.linkedin-exit-intent__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 840px);
    min-height: 440px;
    max-height: calc(100vh - 48px);
    padding: 42px 40px 36px;
    overflow-y: auto;
    border-radius: 12px;
    background: #000000 url('/wp-content/uploads/2026/10/bee%20pop%20up%20bg.png') right top / auto 165px no-repeat;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
    color: #ffffff;
    text-align: left;
    transform: translateY(14px) scale(0.985);
    transition: transform 0.22s ease;
}

.linkedin-exit-intent.is-open .linkedin-exit-intent__dialog {
    transform: translateY(0) scale(1);
}

.linkedin-exit-intent__dialog:focus {
    outline: none;
}

.linkedin-exit-intent__close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #000000;
    cursor: pointer;
    font: inherit;
    font-size: 42px;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.linkedin-exit-intent__close:hover,
.linkedin-exit-intent__close:focus-visible {
    background: #000000;
    color: #ffffff;
}

.linkedin-exit-intent__art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.linkedin-exit-intent__bee {
    position: absolute;
    height: auto;
}

.linkedin-exit-intent__bee--top {
    top: 30px;
    right: 235px;
    width: 112px;
    transform: rotate(-20deg);
}

.linkedin-exit-intent__bee--middle {
    top: 117px;
    right: 95px;
    width: 142px;
    transform: rotate(17deg);
}

.linkedin-exit-intent__bee--bottom {
    right: 18px;
    bottom: 16px;
    width: 182px;
    transform: rotate(-10deg);
}

.linkedin-exit-intent__content {
    position: relative;
    z-index: 1;
    max-width: 555px;
}

.linkedin-exit-intent__heading {
    margin: 0 0 70px;
    color: #ffffff;
    font-family: "Pastiche Grotesque", "Open Sans", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.linkedin-exit-intent__text {
    margin: 0 0 52px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.35;
}

.linkedin-exit-intent__note {
    margin: 0 0 34px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
}

.linkedin-exit-intent__button {
    min-height: 56px;
    padding: 12px 42px;
    border-color: #ffcf00;
    background: #ffcf00;
    color: #000000;
    font-size: 20px;
    font-weight: 400;
}

.linkedin-exit-intent__button:hover,
.linkedin-exit-intent__button:focus-visible {
    background: transparent;
    color: #ffffff;
}

body.linkedin-exit-intent-is-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .linkedin-follow-banner {
        min-height: 170px;
        background-image: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.9) 62%, rgba(0, 0, 0, 0.28) 100%), url('/wp-content/uploads/2026/10/bee%20pop%20up%20bg.png');
        background-position: center, right center;
        background-size: cover, auto 170px;
    }

    .linkedin-follow-banner__art {
        display: block;
    }

    .linkedin-follow-banner__bee--large,
    .linkedin-follow-banner__bee--medium {
        display: none;
    }

    .linkedin-follow-banner__bee--small {
        top: 0;
        left: auto;
        right: 12px;
        width: 70px;
    }

    .linkedin-follow-banner__inner {
        gap: 18px;
        min-height: 170px;
    }

    .linkedin-follow-banner__text {
        font-size: clamp(23px, 6.5vw, 30px);
        line-height: 1.25;
    }

    .linkedin-follow-banner__icon {
        margin-left: auto;
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        border-radius: 5px;
    }

    .linkedin-follow-banner__icon svg {
        width: 41px;
        height: 41px;
    }
}

@media (max-width: 639px) {
    .linkedin-follow-inline {
        padding: 36px 0;
    }

    .linkedin-follow-inline__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .linkedin-follow-inline__button {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 1023px) {
    .linkedin-exit-intent {
        display: none !important;
    }
}

@media (max-width: 359px) {
    .linkedin-follow-banner__inner {
        gap: 14px;
    }

    .linkedin-follow-banner__text {
        font-size: 20px;
        line-height: 1.3;
    }

    .linkedin-follow-banner__icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .linkedin-follow-banner__icon svg {
        width: 37px;
        height: 37px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .linkedin-exit-intent,
    .linkedin-exit-intent__dialog,
    .linkedin-follow-inline__button,
    .linkedin-follow-banner__icon {
        transition: none;
    }
}
