.glo-tabs {
    width: 100%;
    margin-bottom: 20px;
}

.glo-tab-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center;
}

.glo-tab-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    text-decoration: none;
    color: #777B7F;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    transition: .2s linear;
    text-transform: uppercase;
    position: relative;
}

.glo-tab-links a span {
    font-weight: 400;
}

.glo-tab-links li.active a {
    color: #026FB5;
}

.glo-tab-links li a:hover {
    color: #026FB5;
}

.glo-tab-links li a:hover .category-image-2 {
    z-index: 999;
}

.glo-tab-links li.active .category-image-2 {
    z-index: 999;
}

.glo-tab-links li .category-image-2 {
    position: absolute;
    z-index: -1;
    top: 0;
}

.glo-tab-links a img {
    min-width: 182px;
    height: 182px;
    margin-bottom: 16px;
}

.glo-popup-trigger {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.glo-post:hover .glo-popup-btn {
    border: 2px solid #22A9CB;
    background: var(--colors-primitives-neutrals-50, #FBFCFD);
    box-shadow: 0px 0px 6px 0px var(--Green-200, #B0FFE2);
}

.glo-post:hover .glo-popup-trigger img {
   opacity: 1;
}

.glo-post .glo-popup-btn {
    border: 1px solid var(--colors-primary-Blue---Linear-Gradient, #22A9CB);
    background: var(--colors-primitives-neutrals-50, #FBFCFD);
    padding: 10px;
    height: 40px;
    width: 40px;
    border-radius: 100px;
    text-align: center;
    transition: .2s linear;
    box-shadow: 0px 1px 2px 0px rgba(30, 41, 59, 0.12);
}

.glo-popup-container .glo-popup-btn {
    font-size: 16px;
    padding: 8px 32px;
    line-height: 20px;
    border-radius: 100px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}

.glo-popup-container .glo-popup-btn:nth-child(1) {
    color: #333333;
    background-color: #FFFFFF;
    border: 1px solid var(--colors-primary-Blue---Linear-Gradient, #22A9CB);
}

.glo-popup-container .glo-popup-btn:nth-child(2) {
    color: #333333;
    background-color: #00FFA1;
    border: 1px solid #00FFA1;
}

.glo-tab-pane {
    display: none;
    margin-top: 66px;
}

.glo-tab-pane.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.glo-post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 40px;
}

.glo-post {
    cursor: pointer;
    display: flex;
    min-height: 380px;
    min-width: 280px;
    max-width: 360px;
    padding: 48px 48px 32px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    text-align: left;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(30, 41, 59, 0.12);
    border: 3px solid transparent;
    transition: .2s linear;
}

.glo-post:hover {
    border: 3px solid #22A9CB;
    box-shadow: 0px 0px 6px 0px var(--Green-200, #B0FFE2);
}

.glo-popup-trigger img {
    opacity: .6;
    transition: opacity 0.3s ease;
}

.glo-post-text h3 {
    font-weight: 600;
    padding-bottom: 12px;
}

.glo-post-content .glo-post-text p {
    color: #333333;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 1px;
}

.glo-button {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.glo-button:hover {
    background-color: #0056b3;
}


/*POPUP*/

.glo-popup-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(54, 61, 74, 0.8);
    padding: 50px 20px 80px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 999999999999999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glo-popup-content-slider {
    display: flex;
    width: 100%;
    height: 100%;
    margin-top: 100px;
    transition: transform 0.5s ease-in-out;
}

.glo-popup-content-wrapper {
    margin-top: -100px;
    overflow: hidden;
    width: 100%;
    height: calc(100% - 60px);
}

.glo-popup-content .glo-popup-close {
    display: none !important;
}

.glo-popup-content {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.glo-popup-image-container {
    margin-top: -130px;
    margin-left: -50px;
    margin-bottom: -25px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.glo-popup-container {
    position: relative;
    background: linear-gradient(180deg, #D9E0E7 3.24%, #FFF 56.46%);
    border-radius: 8px;
    max-width: 1102px;
    margin: 100px auto 0px;
}

.glo-popup-title-area {
    width: 280px;
    padding-top: 44px;
}

.glo-popup-body {
    text-align: center;
    padding: 0px 70px;
}

.glo-popup-body h3 {
    color: #333333;
    font-size: 38px;
    font-weight: 400;
    line-height: 52px;
}

.glo-popup-body h4 {
    font-weight: 700;
    color: #026FB5;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 1px;
}

.glo-popup-body p {
    color: #333333;
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
}

.glo-popup-title-area {
    text-align: center;
    width: 280px;
}

.glo-popup-title-area h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    color: #026FB5;
    padding-top: 16px;
    padding-bottom: 32px;
    text-transform: uppercase;
}

.glo-popup-title-area h2 span {
    font-weight: 400;
    display: block;
}

.glo-popup-header {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    margin-bottom: -30px;
}

.glo-popup-image {
    max-width: 90%;
    height: auto;
}

.glo-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 23px;
}

.glo-popup-close {
    position: absolute;
    top: 24px;
    right: 26px;
    background: none;
    border: none;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--colors-primary-Blue---Linear-Gradient, #22A9CB) !important;
    padding: 10px;
    height: 40px;
    width: 40px;
    border-radius: 100px;
    text-align: center;
    transition: .2s linear;
}

.glo-popup-close:hover {
    border: 2px solid #22A9CB !important;
    background: var(--colors-primitives-neutrals-50, #FBFCFD);
    box-shadow: 0px 0px 6px 0px var(--Green-200, #B0FFE2);
}

.glo-popup-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.glo-popup-nav {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px;
    position: absolute;
    width: 100%;
    top: 50%;
}

.glo-popup-prev, .glo-popup-next {
    background: none;
    border: none;
    cursor: pointer;
    border: 1px solid var(--colors-primary-Blue---Linear-Gradient, #22A9CB) !important;
    padding: 10px;
    height: 40px;
    width: 40px;
    border-radius: 100px;
    text-align: center;
    transition: .2s linear;
}

.glo-popup-prev:focus, .glo-popup-next:focus {
    border: 2px solid var(--Blue-700---Arch-Blue, #014F81);
    background: var(--colors-contrast-white, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(30, 41, 59, 0.12);
}

.glo-popup-prev:hover, .glo-popup-next:hover {
    border: 2px solid #22A9CB !important;
    background: var(--colors-primitives-neutrals-50, #FBFCFD);
    box-shadow: 0px 0px 6px 0px var(--Green-200, #B0FFE2);
}

.glo-popup-prev:disabled, .glo-popup-next:disabled {
     pointer-events: none;
     opacity:.5;
}

.glo-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 23px;
    padding-top: 48px;
    padding-bottom: 32px;
}

.glo-popup-prev,
.glo-popup-next {
    background: none;
    border: none;
    cursor: pointer;
}

.glo-popup-progress-bar {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    bottom: -53px;
}

.glo-progress-category {
    position: relative;
}

.glo-progress-line {
    position: absolute;
    left: 0;
    bottom: 11px;
    width: 100%;
    height: 2px;
    background-color: #9A9FA4;
    transition: .2s linear;
}

.glo-progress-category.active-category .glo-progress-line {
    background-color: #FFFFFF;
    transition: .2s linear;
}

.glo-progress-category.active-category .glo-progress-step {
    background-color: #FFFFFF;
    transition: .2s linear;
}

.glo-progress-category.active-category .glo-progress-step.active-post {
    background-color: #026FB5;
    border: 1px solid #ffffff;
    transform: scale(1.4);
    z-index: 9999;
    transition: .2s linear;
}

.glo-progress-step {
    width: 14.95px;
    height: 14.95px;
    border-radius: 50%;
    background-color: #9A9FA4; /* Grey color for inactive posts */
    display: inline-block;
    margin-right: 41.4px;
    position: relative;
    transition: .2s linear;
}

.glo-progress-step:last-child {
    margin-right: 0;
}

.glo-progress-separator {
    width: 2px;
    height: 10px;
    background-color: #ccc; /* Grey color for separator lines */
    display: inline-block;
    transition: .2s linear;
}

@media(max-width:1280px) {

.glo-tab-pane.active {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
}

.glo-tab-links a img {
    min-width: 140px;
    width: 140px;
    height: auto;
    margin-bottom: 16px;
}

.glo-posts {
    padding: 32px 25px 32px;
    min-width: auto;
    max-width: 25%;
    flex: auto;
}

.glo-tab-links a {
    font-size: 16px;
    text-align:center;
}

.glo-post {
    min-height: 300px;
    min-width: auto;
    max-width: calc(50% - 25px);
    padding: 32px 25px 32px;
    flex: auto;
    margin-top: 0;
}

}



@media(max-width: 1024px) {

.glo-popup-open {
    overflow: hidden !important;
}

.glo-progress-step {
    width: 7.95px;
    height: 7.95px;
    display: inline-block;
    margin-right: 9.4px;
}

.glo-progress-line {
    position: absolute;
    left: 0;
    bottom: 7px;
}

.glo-progress-category.active-category .glo-progress-step.active-post {
    transform: scale(1.6);
}

.glo-tab-links a {
    padding: 0;
}

.glo-tab-links a img {
    min-width: 110px;
    width: 110px;
    height: auto;
    margin-bottom: 16px;
}

.glo-popup-overlay {
    display: flex;
}

.glo-popup-header {
    flex-direction: column;
    margin: 0;
    position: relative;
}

.glo-tab-links {
    justify-content: space-between; 
    flex-wrap: wrap;
}

.glo-tab-links li {
    width: calc(33.33% - 14px);
}

.glo-popup-container {
    margin: 0!important;
}

.glo-popup-image-container {
    margin: 0 auto !important;
}

.glo-popup-title-area {
    text-align: center;
    width: 60vw;
    padding-top: 20px;
    padding-left: 18px;
}

.glo-popup-category-images {
    display: flex;
    justify-content: space-between;
}

.glo-popup-category-images img {
    width: 58px;
    height: 58px;
}

.glo-popup-title-area .glo-popup-icon {
    width: 38px;
    height: 38px;
    left: 20px;
    position: absolute;
    bottom: 10px;
}

.glo-popup-title-area h2 {
    padding-bottom: 0;
    padding-top: 10px;
    color: #026FB5;
    width: 180px;
}

.glo-post {
    width: 100%;
    max-width: 100%;
}

.glo-popup-body {
    text-align: center;
    padding: 0px 18px;
}

.glo-popup-body h4 {
    display: none;
}

.glo-popup-close {
    top: 18px;
    right: 20px;
    height: 38px;
    width: 38px;
}

.glo-popup-body h3 {
    color: #333333;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
}

.glo-popup-body p {
    color: #333333;
    font-size: 14px;
    line-height: 125%;
    font-weight: 400;
}

.glo-popup-buttons {
    padding-top: 22px;
    padding-bottom: 24px;
}

.glo-popup-container .glo-popup-btn:nth-child(1) {
    display: none;
}

.glo-popup-nav {
    padding: 0px 18px;
    top: auto;
    bottom: 28px;
}

.glo-popup-container .glo-popup-btn {
    font-size: 14px;
    z-index: 99999999999999999;
}

.glo-popup-container .glo-popup-btn {
    font-size: 14px;
    padding: 6px 32px;
    line-height: 20px;
}

.glo-popup-prev, .glo-popup-next {
    padding: 8px;
    width: 32px;
    height: 32px;
}

}


@media(max-width: 767px) {
   .glo-popup-overlay {
     padding: 0;
   }
   .glo-popup-content-wrapper {
    margin: 0;
   }
   .glo-popup-content-slider {
     display: flex;
     width: 100%;
     max-width: 700px;
     height: 100%;
     margin-top: 0;
     transition: transform 0.5s ease-in-out;
   }
}

@media(max-width: 500px) {
   .glo-popup-title-area h2 {
      width: fit-content;
   }
   .glo-popup-content-slider {
     max-width: 390px;
   }
}


@media(max-width: 400px) {
   .glo-popup-content-slider {
     max-width: 380px;
   }
}