.legal-map {
    margin-top: 50px
}

@keyframes scaleUp {
    0% {
        transform: scale(0.95)
    }

    75% {
        opacity: 1
    }

    100% {
        transform: scale(1.75);
        opacity: 0
    }
}

.legal-map .map-container {
    position: relative;
    margin-bottom: 100px
}

.legal-map .map-container .count-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.legal-map .map-container .count-badge.active span {
    background: #fcfeff;
    border: 1px solid #0a73be;
    color: #0a73be
}

.legal-map .map-container .count-badge.active:before,.legal-map .map-container .count-badge.active:after {
    border: 2px solid #0a73be
}

.legal-map .map-container .count-badge span {
    position: relative;
    z-index: 1;
    user-select: none;
    border-radius: 50%;
    background: #707070;
    border: 1px solid #707070;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 33px;
    line-height: 0;
    font-weight: bold;
    width: 60px;
    height: 60px
}

/* 1. Main Badge Container - Remove all round borders and circles */
.legal-map .map-container .count-badge {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: 60px;  /* Match SVG size */
    height: 60px;
    background: none !important; /* Remove legacy background */
}

/* 2. Remove the pulsing outer circles (the :before and :after elements) */
.legal-map .map-container .count-badge:before,
.legal-map .map-container .count-badge:after {
    display: none !important;
}

/* Container for the Shield */
.legal-map .map-container .badge-bg {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1DA8E7; /* Default blue from your SVG */
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.25));
}

.legal-map .map-container .badge-bg svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 4. The Number Text - Centered inside the shield */
.legal-map .map-container .count-badge span {
    position: relative;
    z-index: 2;
    background: none !important; /* Forces removal of gray/white circles */
    border: none !important;
    border-radius: 0;
    width: auto;
    height: auto;
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF; /* White text looks better on blue shields */
    line-height: 1;
    margin-top: -5px; /* Adjust slightly to center visually in shield shape */
}

/* 5. Active State (Optional: Change shield color when region is clicked) */
.legal-map .map-container .count-badge.active .badge-bg svg path {
    fill: #0a73be; /* Darker blue highlight */
}

/* 6. Responsive Scaling */
@media(max-width: 1400px) {
    .legal-map .map-container .count-badge { width: 45px; height: 45px; }
    .legal-map .map-container .count-badge span { font-size: 18px; }
}

@media(max-width: 768px) {
    .legal-map .map-container .count-badge { width: 35px; height: 35px; }
    .legal-map .map-container .count-badge span { font-size: 14px; }
}
@media(max-width: 1400px)and (min-width: 769px) {
    .legal-map .map-container .count-badge span {
        font-size:22px;
        width: 40px;
        height: 40px
    }
}

@media(max-width: 768px)and (min-width: 551px) {
    .legal-map .map-container .count-badge span {
        font-size:16px;
        width: 30px;
        height: 30px
    }
}

@media(max-width: 550px) {
    .legal-map .map-container .count-badge span {
        font-size:12px;
        width: 20px;
        height: 20px
    }
}

.legal-map .map-container .count-badge:before,.legal-map .map-container .count-badge:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid #707070;
    background-color: rgba(255,255,255,.33);
    animation: scaleUp 5s linear 0s infinite backwards;
    width: 60px;
    height: 60px
}

@media(max-width: 1400px)and (min-width: 769px) {
    .legal-map .map-container .count-badge:before,.legal-map .map-container .count-badge:after {
        width:40px;
        height: 40px
    }
}

@media(max-width: 768px)and (min-width: 501px) {
    .legal-map .map-container .count-badge:before,.legal-map .map-container .count-badge:after {
        width:30px;
        height: 30px
    }
}

@media(max-width: 550px) {
    .legal-map .map-container .count-badge:before,.legal-map .map-container .count-badge:after {
        border-width:1px;
        width: 20px;
        height: 20px
    }
}

.legal-map .map-container .count-badge:before {
    animation-delay: 2.5s
}

.legal-map .map-container .count-badge-sa {
    bottom: 30%;
    left: 32%
}

.legal-map .map-container .count-badge-na {
    top: 20%;
    left: 20%
}

.legal-map .map-container .count-badge-eur {
    top: 17%;
    left: 57%
}

.legal-map .map-container .count-badge-as {
    top: 20%;
    right: 23%
}

.legal-map .map-container .count-badge-aus {
    bottom: 20%;
    right: 12%
}

.legal-map .map-container .count-badge-af {
    top: 50%;
    left: 54%
}

.legal-map .map .item {
    filter: drop-shadow(3px 4px 5px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: opacity .5s
}

@media(max-width: 650px) {
    .legal-map .map .item .st3,.legal-map .map .item .st484 {
        fill:rgba(10,115,190,.1)
    }
}

.legal-map .map .item.w-col {
    display: none
}

.legal-map .map .item.active {
    display: block
}

.legal-map .map .item.inactive {
    opacity: 0
}

.legal-map .items .wrapper {
    display: flex;
    flex-wrap: wrap
}

@media(min-width: 601px) {
    .legal-map .items .wrapper {
        margin-right:-20px
    }

    .legal-map .items .wrapper .item {
        margin-right: 20px
    }
}

.legal-map .items .wrapper .item {
    margin-bottom: 20px;
    padding: 15px;
    position: relative;
    cursor: pointer;
    box-shadow: 0px 0px 4px rgba(19,36,49,.33);
    width: calc(25% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 50px;
    background-color: #fcfeff;
    border: 2px solid #fcfeff
}

@media(min-width: 1651px) {
    .legal-map .items .wrapper .item {
        max-height:375px;
        /* height: 22.5vw */
    }
}

@media(max-width: 1650px)and (min-width: 1201px) {
    .legal-map .items .wrapper .item {
        /* min-height:22.5vw */
    }
}

@media(max-width: 1200px)and (min-width: 901px) {
    .legal-map .items .wrapper .item {
        width:calc(33.33% - 20px);
        /* min-height: 30.5vw */
    }
}

@media(max-width: 900px)and (min-width: 601px) {
    .legal-map .items .wrapper .item {
        width:calc(50% - 20px)
    }
}

@media(max-width: 600px) {
    .legal-map .items .wrapper .item {
        width:100%
    }
}

.legal-map .items .wrapper .item.active {
    border: 2px solid #0a73be
}

.legal-map .items .wrapper .item:hover .hover-content {
    z-index: 1;
    opacity: 1
}

.legal-map .items .wrapper .item .hover-content {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(225deg, #3caee1 0%, #6050dc 100%);
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    height: 100%;
    opacity: 0;
    transition: opacity .25s
}

.legal-map .items .wrapper .item .hover-content p {
    color: #fcfeff
}

.legal-map .items .wrapper .item .hover-content p.description {
    font-size: 16px;
    line-height: 24px
}

.legal-map .items .wrapper .item img {
    width: 55px;
    display: block;
    user-select: none;
    margin-bottom: 25px
}

.legal-map .items .wrapper .item .title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 30px;
    line-height: 40px
}

@media(max-width: 1400px)and (min-width: 1201px),(max-width: 1000px) {
    .legal-map .items .wrapper .item .title {
        font-size:20px;
        line-height: 30px
    }
}

.legal-map .items .wrapper .item .content .title {
    color: #132431
}

.legal-map .items .wrapper .item .content .sub-title {
    font-size: 18px;
    line-height: 24px;
    color: #4f575f
}

.legal-map .items .wrapper .item .content .country {
    font-size: 18px;
    line-height: 24px;
    color: #0a73be
}

.legal-map .items .wrapper .item .content .plus {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: linear-gradient(-90deg, #3caee1 0%, #6050dc 100%);
    color: #fcfeff;
    display: flex;
    border-radius: 50%
}

.legal-map .items .wrapper .item .content .plus:before,.legal-map .items .wrapper .item .content .plus:after {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    background-color: #fff;
    display: block
}

.legal-map .items .wrapper .item .content .plus:before {
    transform: rotate(90deg);
    transform-origin: bottom left;
    left: calc(50% - 1px);
    top: calc(25% - 2px)
}

.legal-map .items .wrapper .item .content .plus:after {
    top: calc(50% - 1px);
    left: 25%
}

.just-text {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px
}

.just-text .page-title {
    width: 100%;
    margin-bottom: 15px;
    order: 1;
    padding-top: 50px
}

.just-text .page-title .title {
    font-weight: bold;
    color: #132431;
    margin-bottom: 25px
}

@media(min-width: 1401px) {
    .just-text .page-title .title {
        font-size:75px;
        line-height: 90px
    }
}

@media(max-width: 1400px)and (min-width: 992px) {
    .just-text .page-title .title {
        font-size:60px;
        line-height: 70px
    }
}

@media(max-width: 991px) {
    .just-text .page-title .title {
        font-size:40px;
        line-height: 60px
    }
}

.just-text .links {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    width: 100%;
    order: 3
}

@media(min-width: 751px) {
    .just-text .links {
        width:300px;
        order: 2
    }
}

.just-text .links .links-title {
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
    color: #132431
}

@media(min-width: 751px) {
    .just-text .links .links-title {
        display:none
    }
}

.just-text .links .link {
    margin-bottom: 10px;
    text-decoration: none;
    color: #4f575f;
    font-size: 18px;
    line-height: 28px
}

@media(min-width: 951px) {
    .just-text .links .link {
        font-size:22px;
        line-height: 44px
    }
}

.just-text .links .link.active {
    color: #0a73be
}

.just-text .links .btn {
    margin-top: 25px;
    align-self: flex-start
}

.just-text .content {
    width: 100%;
    order: 2;
    padding-bottom: 25px
}

@media(min-width: 751px) {
    .just-text .content {
        width:calc(100% - 300px);
        order: 3;
        padding-bottom: 50px
    }
}

.just-text .content>* {
    color: #4f575f
}

.just-text .content a {
    color: #0a73be;
    text-decoration: none
}

@media(min-width: 951px) {
    .just-text .content p {
        font-size:22px;
        line-height: 44px
    }
}

.just-text .content ul {
    margin-left: 0;
    padding-left: 20px
}

.just-text .content ul li {
    font-size: 20px;
    line-height: 38px;
    margin-bottom: 10px
}

@media(min-width: 951px) {
    .just-text .content ul li {
        font-size:22px;
        line-height: 44px
    }
}

@media(max-width: 768px) {
    .just-text .content ul li {
        font-size:18px;
        line-height: 26px
    }
}

.just-text .content table.rights {
    border-collapse: collapse;
    border: 1px solid #4f575f
}

.just-text .content table.rights tr {
    vertical-align: top
}

.just-text .content table.rights tr td {
    border: 1px solid #4f575f;
    padding: 5px
}

.just-text .content table.rights td,.just-text .content table.rights p {
    font-size: 16px;
    line-height: 24px;
    color: #4f575f
}

.wpcf7-response-output {
    animation: hideresp 10s forwards;
    animation-iteration-count: 1
}

@keyframes hideresp {
    90% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}
