/*
Custom CSS for Skylith Child Theme
-------------------------------------------------------------- */

/* Hero Rotator Slider */
.hero-rotator-slider {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin: 0 auto;
}

.hero-rotator-slider .slick-dots {
    display: none !important;
}

.hero-rotator-slider .slick-list {
    order: 0;
    min-width: 100%;
}

.hero-rotator-slider .slick-list:not(:last-child) {
    margin-bottom: 50px;
}

.hero-rotator-slider .slick-list .slick-track {
    display: flex;
    align-items: stretch;
}

.hero-rotator-slider .slick-list .slick-track > * {
    height: auto;
}

.hero-rotator-slider .slick-arrow {
    position: absolute;
    z-index: 1;
    top: unset;
    bottom: 0;
    height: 18px;
    overflow: hidden;
    width: 25px;
    font-size: 0;
    color: transparent;
    transform: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hero-rotator-slider .slick-arrow:before {
    content: "";
    width: 12px;
    height: 12px;
    left: 3px;
    top: 3px;
    opacity: 1;
    transform: rotate(-45deg);
    position: absolute;
    border-top: 2px solid #767A7B;
    border-left: 2px solid #767A7B;
}

.hero-rotator-slider .slick-arrow:after {
    content: "";
    height: 2px;
    inset: 50% 0 50% 1px;
    margin: auto;
    background-color: #767a7b;
    position: absolute;
}

.hero-rotator-slider .slick-arrow.slick-prev {
    left: 40px;
}

.hero-rotator-slider .slick-arrow.slick-next {
    left: 100px;
    transform: rotateY(180deg);
}

@media screen and (max-width: 781px) {
   .hero-rotator-slider .slick-arrow.slick-prev {
      left: calc(50% - 65px);
   }
   
   .hero-rotator-slider .slick-arrow.slick-next {
      left: calc(50% + 40px);
   }
}

.hero-rotator-slider .slick-arrow.slick-disabled {
    opacity: .4;
    cursor: no-drop;
}

.hero-rotator-slider .slick-arrow:not(.slick-disabled):hover {
    width: 45px;
}

.hero-rotator-slider .slick-arrow:not(.slick-disabled):hover:before {
    border-color: #1a85c2;
}

.hero-rotator-slider .slick-arrow:not(.slick-disabled):hover:after {
    background-color: #1a85c2;
}

/* Hero Media Pattern */
.screen-bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
}

.screen-bg .hero-bg-media {
    width: 100%;
    height: auto;
    /* margin: 0; */
    margin: 0 0 20%;
}

.screen-bg .hero-bg-media.ghostkit-video {
   background-color: transparent;
   z-index: 1;
}
.screen-bg .hero-bg-media.ghostkit-video .ghostkit-video-frame {
   padding: 0 40px;
}
.screen-bg .hero-bg-media img {
    width: 100%;
    height: auto;
    display: block;
}
   
.screen-bg .screen-img {
    position: absolute;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    margin: 0;
    z-index: 2;
    width: 100%;
    padding: 0;
    top: 0;
}

.screen-bg .screen-img img {
    width: auto;
    height: auto;
    display: block;
}

/* Container Width Override - 1400px with 40px padding */
.container,
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure full-width elements still work properly */
.alignfull {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Ribbon list styling */
ul.list-blue-ribbon,
ul.list-pink-ribbon {
    list-style: none;
    padding-left: 0;
}

ul.list-blue-ribbon li,
ul.list-pink-ribbon li {
    position: relative;
    padding-left: 5em;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
}

ul.list-blue-ribbon li::before,
ul.list-pink-ribbon li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 86px;
    height: 73px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

ul.list-blue-ribbon li::before {
    background-image: url('img/approval-blue-icon.svg');
}

ul.list-pink-ribbon li::before {
    background-image: url('img/approval-pink-icon.svg');
}

/* Checkmark list styling */
ul.list-checkmark {
    list-style: none;
    padding-left: 0;
}

ul.list-checkmark li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
}

ul.list-checkmark li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-image: url('img/list-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Orange Underline Graphic */
.orange-underline {
    position: relative;
    display: inline-block;
}

.orange-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 15px;
    margin-top: -4px;
    background-image: url('img/underline.svg');
    background-repeat: no-repeat;
    background-position: left;
    display: block;
    left: 38px;
}

@media screen and (max-width: 991px) {
    .orange-underline::after {
        margin-top: -5px;
        left: 0;
    }
}

@media screen and (max-width: 599px) {
    .orange-underline::after {
        width: 230px;
        margin-top: -9px;
        left: -15px;
    }
}

/* Video styling */
.ghostkit-video {
    border-radius: 20px;
    overflow: hidden;
}

/* Blue Line Grid */
.blue-line-grid {
    position: relative;
}

.blue-line-grid > .wp-block-group {
    position: relative;
    z-index: 2;
}

.blue-line-grid > .wp-block-group:nth-child(odd):not(:nth-last-child(2)):not(:last-child)::after {
    content: "";
    bottom: -1rem;
    height: 1px;
    left: 50px;
    right: 50px;
    position: absolute;
    background-color: #bae6ff;
}

.blue-line-grid > .wp-block-group:nth-child(even):not(:nth-last-child(2)):not(:last-child)::after {
    content: "";
    bottom: -1rem;
    height: 1px;
    left: 50px;
    right: 50px;
    position: absolute;
    background-color: #bae6ff;
}

.blue-line-grid > .wp-block-group:nth-child(even)::before {
    content: "";
    left: 0;
    top: 30px;
    width: 1px;
    bottom: 30px;
    position: absolute;
    background-color: #bae6ff;
}

@media screen and (max-width: 781px) {
    .blue-line-grid > .wp-block-group:nth-child(even)::before {
        display: none;
    }
    
    .blue-line-grid > .wp-block-group:not(:last-child)::after {
        content: "";
        bottom: -1rem;
        left: 50%;
        width: 1px;
        height: 2rem;
        position: absolute;
        background-color: #bae6ff;
        transform: translateX(-50%);
    }
}

/* Footer 6-Column Responsive Layout */
@media (max-width: 991px) {
    /* On tablets, show 3 columns per row */
    .nk-footer-widgets .row > div:nth-child(4),
    .nk-footer-widgets .row > div:nth-child(5),
    .nk-footer-widgets .row > div:nth-child(6) {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    /* On mobile, stack all columns vertically */
    .nk-footer-widgets .row > div {
        margin-bottom: 2rem;
    }
    
    .nk-footer-widgets .row > div:last-child {
        margin-bottom: 0;
    }
}

/* MarketTime Features Section Styling */
.seller-features-inner {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 50px;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.seller-features-inner .seller-features {
    width: 37%;
    border-radius: 15px;
    padding: 0 30px 30px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    box-shadow: 8px 10px 60px rgba(0, 0, 0, 0.07);
    min-height: 420px;
    background: #fff;
}

.seller-features-inner .seller-features .seller-features-icon {
    width: 94px;
    height: 94px;
    padding: 20px;
    margin: -50px auto 30px auto;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: #1a85c2;
    flex-shrink: 0;
}

.seller-features-inner .seller-features .seller-features-icon img {
    width: 54px;
    height: 54px;
}

.seller-features-inner .seller-features .seller-features-icon figure,
.seller-features-inner .seller-features-circle .seller-features-icon figure {
    margin: 0 !important;
}

.seller-features-inner .seller-features h5 {
    font-size: 20px;
    margin-bottom: 20px;
}

.seller-features-inner .seller-features p {
    font-size: 16px;
    margin-bottom: 35px;
}

.seller-features-inner .seller-features .learn-more-link {
    margin-top: auto;
    margin-bottom: 0;
}

.seller-features-inner .seller-features .learn-more-link a {
    font-size: 20px;
    font-weight: 700;
    color: #1a85c2;
    font-family: Ubuntu, sans-serif;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-decoration: none;
}

.seller-features-inner .seller-features:hover .learn-more-link a {
    opacity: 1;
    visibility: visible;
}

.seller-features-inner .seller-features-icon.order-writing {
    background-color: #1a85c2;
}

.seller-features-inner .seller-features-icon.b2b-ecommerce {
    background-color: #e4263d;
}

.seller-features-inner .seller-features-icon.global-marketplace {
    background-color: #f79152;
}

.seller-features-inner .seller-features-icon.all-data-manage {
    background-color: #e96394;
}

.seller-features-inner .seller-features-circle {
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 280px;
    height: 280px;
    position: absolute;
    transform: translate(-50%, -50%);
}

.seller-features-inner .seller-features-circle:after {
    content: "";
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    border: 20px solid;
    border-radius: 50%;
    background-color: #fff;
    transform: rotate(-45deg);
    border-right-color: #626262;
    border-bottom-color: #b0b0b0;
    border-left-color: #888;
    border-top-color: #d8d8d8;
}

.seller-features-inner .seller-features-circle .seller-features-circle-inner {
    inset: 0;
    display: flex;
    padding: 30px 20px;
    position: absolute;
    align-items: center;
    justify-content: center;
    border: 20px solid transparent;
}

.seller-features-inner .seller-features-circle .seller-features-circle-inner .seller-features-circle-img img {
    width: 160px;
    height: auto;
}

.seller-features-inner .seller-features-circle .seller-features-icon {
    top: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    width: 78px;
    height: 78px;
    margin: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.seller-features-inner .seller-features-circle .seller-features-icon.order-writing {
    background-color: #1a85c2;
}

.seller-features-inner .seller-features-circle .seller-features-icon.b2b-ecommerce {
    left: unset;
    right: 0;
    background-color: #e4263d;
}

.seller-features-inner .seller-features-circle .seller-features-icon.global-marketplace {
    top: unset;
    bottom: 0;
    background-color: #f79152;
}

.seller-features-inner .seller-features-circle .seller-features-icon.all-data-manage {
    top: unset;
    left: unset;
    bottom: 0;
    right: 0;
    background-color: #e96394;
}

.seller-features-inner .seller-features-circle ~ .seller-features {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .seller-features-inner {
        display: grid;
        grid-column-gap: 20px;
        grid-row-gap: 50px;
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
        margin-top: 30px;
    }

    .seller-features-inner .seller-features {
        width: auto;
        min-height: auto;
        margin-bottom: 0;
        padding: 0 20px 25px;
    }

    .seller-features-inner .seller-features .seller-features-icon {
        width: 80px;
        height: 80px;
        margin: -40px auto 25px auto;
        padding: 18px;
    }

    .seller-features-inner .seller-features .seller-features-icon img {
        width: 44px;
        height: 44px;
    }

    .seller-features-inner .seller-features h5 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .seller-features-inner .seller-features p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .seller-features-inner .seller-features .learn-more-link a {
        visibility: visible;
        opacity: 1;
        font-size: 16px;
    }

    .seller-features-inner .seller-features-circle {
        display: none;
    }
}

@media screen and (max-width: 599px) {
    .seller-features-inner {
        grid-template-columns: 1fr;
        grid-row-gap: 40px;
        padding: 0 10px;
    }

    .seller-features-inner .seller-features {
        padding: 0 15px 20px;
    }

    .seller-features-inner .seller-features .seller-features-icon {
        width: 70px;
        height: 70px;
        margin: -35px auto 20px auto;
        padding: 15px;
    }

    .seller-features-inner .seller-features .seller-features-icon img {
        width: 40px;
        height: 40px;
    }

    .seller-features-inner .seller-features h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .seller-features-inner .seller-features p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .seller-features-inner .seller-features .learn-more-link a {
        font-size: 14px;
    }
}

/* Industry Circle Section Styling */

/* Flexible Industry Circle - handles dynamic number of items */
.industry-circle-flexible .industry-block {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -53.5px;
}

/* Dynamic positioning will be handled by JavaScript */
.industry-circle-flexible[data-item-count] .industry-block {
    /* Position will be calculated and set via JS */
}

/* Ensure flexible circle inherits all the base styles */
.industry-circle-flexible {
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    padding: 0;
    list-style: none;
    margin: 0 auto;
    position: relative;
    border: 1px dashed rgba(26, 133, 194, 0.5);
}

.industry-circle-flexible .industry-block .industry-icon {
    width: 107px;
    height: 107px;
    padding: 20px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: #21925c;
    transition: 0.3s;
    box-shadow: none;
}

.industry-circle-flexible .industry-block .industry-icon img {
    max-height: 100%;
}

.industry-circle-flexible .industry-block .industry-name {
    width: max-content;
    max-width: 155px;
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #282c4b;
    font-family: Ubuntu, sans-serif;
    position: absolute;
    transition: 0.3s;
    margin: 0;
}

.industry-circle-flexible .industry-block:hover .industry-icon {
    transform: scale(1.45);
    box-shadow: 0 0 0 17px #fff, 0 0 60px 17px rgba(143, 143, 143, 0.32);
}

.industry-circle-flexible:before,
.industry-circle-flexible:after {
    content: "";
    border-radius: 50%;
    border: 1px dashed rgba(26, 133, 194, 0.5);
    position: absolute;
}

.industry-circle-flexible:before {
    inset: 70px;
}

.industry-circle-flexible:after {
    inset: 150px;
}

/* Responsive styles for flexible circle */
@media screen and (max-width: 1540px) {
    .industry-circle-flexible {
        width: 800px;
        height: 800px;
    }

    .industry-circle-flexible .industry-block {
        margin: -45px;
    }

    .industry-circle-flexible .industry-block .industry-icon {
        width: 90px;
        height: 90px;
        padding: 25px !important;
    }

    .industry-circle-flexible .industry-block:hover .industry-icon {
        transform: scale(1.35) !important;
        box-shadow: 0 0 0 10px #fff, 0 0 40px 10px rgba(143, 143, 143, 0.32) !important;
    }
}

@media screen and (max-width: 1280px) {
    .industry-circle-flexible {
        width: 700px;
        height: 700px;
    }

    .industry-circle-flexible .industry-block {
        margin: -40px;
    }

    .industry-circle-flexible .industry-block .industry-icon {
        width: 80px;
        height: 80px;
        padding: 25px !important;
    }

    .industry-circle-flexible:before {
        inset: 55px !important;
    }

    .industry-circle-flexible:after {
        inset: 110px !important;
    }
}

@media screen and (max-width: 1080px) {
    .industry-circle-flexible {
        width: 600px;
        height: 600px;
    }

    .industry-circle-flexible:after {
        inset: 100px !important;
    }

    .industry-circle-flexible .industry-block:hover .industry-icon {
        transform: scale(1.2) !important;
    }
}

@media screen and (max-width: 991px) {
    .industry-circle-flexible {
        height: auto;
        width: auto;
        border: 0;
        border-radius: unset;
        display: grid;
        grid-gap: 30px;
        align-items: flex-start;
        grid-template-columns: repeat(3, 1fr);
        max-height: 380px;
        overflow: hidden;
        transition: 0.3s;
        margin-bottom: 50px;
    }

    .industry-circle-flexible:after,
    .industry-circle-flexible:before {
        content: none;
    }

    .industry-circle-flexible .industry-block {
        position: relative !important;
        transform: none !important;
        margin: 0 !important;
        left: unset !important;
        right: unset !important;
        bottom: unset !important;
        top: unset !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .industry-circle-flexible .industry-block .industry-name {
        position: unset !important;
        transform: none !important;
        padding: 0 !important;
        text-align: center !important;
        width: auto !important;
        font-size: 18px !important;
        margin: 0 auto !important;
        top: unset !important;
        left: unset !important;
        right: unset !important;
        bottom: unset !important;
    }

    .industry-circle-flexible .industry-block .industry-icon {
        width: 107px;
        height: 107px;
        padding: 20px !important;
        margin: 0 auto 15px;
    }

    .industry-circle-flexible .industry-block:hover .industry-icon {
        transform: unset !important;
        box-shadow: none !important;
    }
}

@media screen and (max-width: 767px) {
    .industry-circle-flexible {
        max-height: 330px;
    }

    .industry-circle-flexible .industry-block .industry-icon {
        width: 90px;
        height: 90px;
        padding: 20px !important;
    }

    .industry-circle-flexible .industry-block .industry-name {
        font-size: 16px !important;
        line-height: 22px;
    }
}

@media screen and (max-width: 400px) {
    .industry-circle-flexible {
        column-gap: 20px;
    }

    .industry-circle-flexible .industry-block .industry-icon {
        width: 70px;
        height: 70px;
        padding: 15px !important;
    }

    .industry-circle-flexible .industry-block .industry-name {
        font-size: 14px !important;
    }
}

/* Simple Editor Override - Just reset positioning */

/* Remove pseudo-elements (background circles) in editor */
.block-editor-page .industry-circle::before,
.block-editor-page .industry-circle::after,
.block-editor-page .industry-circle-flexible::before,
.block-editor-page .industry-circle-flexible::after,
.wp-block-group__inner-container .industry-circle::before,
.wp-block-group__inner-container .industry-circle::after,
.wp-block-group__inner-container .industry-circle-flexible::before,
.wp-block-group__inner-container .industry-circle-flexible::after,
.editor-styles-wrapper .industry-circle::before,
.editor-styles-wrapper .industry-circle::after,
.editor-styles-wrapper .industry-circle-flexible::before,
.editor-styles-wrapper .industry-circle-flexible::after,
.wp-admin .industry-circle::before,
.wp-admin .industry-circle::after,
.wp-admin .industry-circle-flexible::before,
.wp-admin .industry-circle-flexible::after,
body.wp-admin .industry-circle::before,
body.wp-admin .industry-circle::after,
body.wp-admin .industry-circle-flexible::before,
body.wp-admin .industry-circle-flexible::after,
.edit-post-visual-editor .industry-circle::before,
.edit-post-visual-editor .industry-circle::after,
.edit-post-visual-editor .industry-circle-flexible::before,
.edit-post-visual-editor .industry-circle-flexible::after,
.block-editor__container .industry-circle::before,
.block-editor__container .industry-circle::after,
.block-editor__container .industry-circle-flexible::before,
.block-editor__container .industry-circle-flexible::after {
    display: none !important;
    content: none !important;
}

/* Remove main circle border and styling in editor */
.block-editor-page .industry-circle,
.block-editor-page .industry-circle-flexible,
.wp-block-group__inner-container .industry-circle,
.wp-block-group__inner-container .industry-circle-flexible,
.editor-styles-wrapper .industry-circle,
.editor-styles-wrapper .industry-circle-flexible,
.wp-admin .industry-circle,
.wp-admin .industry-circle-flexible,
body.wp-admin .industry-circle,
body.wp-admin .industry-circle-flexible,
.edit-post-visual-editor .industry-circle,
.edit-post-visual-editor .industry-circle-flexible,
.block-editor__container .industry-circle,
.block-editor__container .industry-circle-flexible {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}

/* Industry blocks in editor - FORCE VISIBILITY */
body.block-editor-page .industry-block,
.wp-block-group__inner-container .industry-block,
.editor-styles-wrapper .industry-block,
.edit-post-visual-editor .industry-block,
.block-editor__container .industry-block,
.wp-admin .industry-block,
.wp-admin .industry-circle .industry-block,
.wp-admin .industry-circle-flexible .industry-block {
    position: relative !important;
    transform: none !important;
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 160px !important;
    transition: all 0.2s ease !important;
}

.block-editor-page .industry-block:hover,
.wp-block-group__inner-container .industry-block:hover,
.editor-styles-wrapper .industry-block:hover {
    border-color: #007cba !important;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2) !important;
}

/* Industry icons in editor */
.block-editor-page .industry-icon,
.wp-block-group__inner-container .industry-icon,
.editor-styles-wrapper .industry-icon {
    position: relative !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 0 10px 0 !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: none !important;
}

.block-editor-page .industry-icon:hover,
.wp-block-group__inner-container .industry-icon:hover,
.editor-styles-wrapper .industry-icon:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Industry names in editor */
.block-editor-page .industry-name,
.wp-block-group__inner-container .industry-name,
.editor-styles-wrapper .industry-name {
    position: relative !important;
    transform: none !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    width: auto !important;
    max-width: 100% !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e1e1e !important;
    line-height: 1.4 !important;
}

/* Title section in editor */
.block-editor-page .title-sec,
.wp-block-group__inner-container .title-sec,
.editor-styles-wrapper .title-sec {
    position: relative !important;
    z-index: auto !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 20px 0 !important;
    padding: 15px !important;
    background: #e7f3ff !important;
    border-radius: 6px !important;
    text-align: center !important;
}

/* Industry inner container in editor */
.block-editor-page .industry-inner,
.wp-block-group__inner-container .industry-inner,
.editor-styles-wrapper .industry-inner {
    display: block !important;
    position: relative !important;
}


/* View All button in editor */
.block-editor-page .view-all-industries-btn,
.wp-block-group__inner-container .view-all-industries-btn,
.editor-styles-wrapper .view-all-industries-btn {
    margin-top: 20px !important;
    display: flex !important;
}

/* Ensure editor styles take priority */
.block-editor-page .industry-circle .industry-block,
.block-editor-page .industry-circle-flexible .industry-block,
.wp-block-group__inner-container .industry-circle .industry-block,
.wp-block-group__inner-container .industry-circle-flexible .industry-block,
.editor-styles-wrapper .industry-circle .industry-block,
.editor-styles-wrapper .industry-circle-flexible .industry-block {
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
}
.industry-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-inner .title-sec {
    z-index: 1;
    max-width: 450px;
    text-align: center;
    position: absolute;
    margin: 0 !important;
}

.industry-inner .view-all-industries-btn {
    display: none;
}

.industry-circle {
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    padding: 0;
    list-style: none;
    margin: 0 auto;
    position: relative;
    border: 1px dashed rgba(26, 133, 194, 0.5);
}

.industry-circle .industry-block {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -53.5px;
}

.industry-circle .industry-block:nth-of-type(1) {
    transform: rotate(-90deg) translate(500px) rotate(90deg);
}

.industry-circle .industry-block:nth-of-type(2) {
    transform: rotate(-67.5deg) translate(500px) rotate(67.5deg);
}

.industry-circle .industry-block:nth-of-type(3) {
    transform: rotate(-45deg) translate(500px) rotate(45deg);
}

.industry-circle .industry-block:nth-of-type(4) {
    transform: rotate(-22.5deg) translate(500px) rotate(22.5deg);
}

.industry-circle .industry-block:nth-of-type(5) {
    transform: rotate(0deg) translate(500px) rotate(0deg);
}

.industry-circle .industry-block:nth-of-type(6) {
    transform: rotate(22.5deg) translate(500px) rotate(-22.5deg);
}

.industry-circle .industry-block:nth-of-type(7) {
    transform: rotate(45deg) translate(500px) rotate(-45deg);
}

.industry-circle .industry-block:nth-of-type(8) {
    transform: rotate(67.5deg) translate(500px) rotate(-67.5deg);
}

.industry-circle .industry-block:nth-of-type(9) {
    transform: rotate(90deg) translate(500px) rotate(-90deg);
}

.industry-circle .industry-block:nth-of-type(10) {
    transform: rotate(112.5deg) translate(500px) rotate(-112.5deg);
}

.industry-circle .industry-block:nth-of-type(11) {
    transform: rotate(135deg) translate(500px) rotate(-135deg);
}

.industry-circle .industry-block:nth-of-type(12) {
    transform: rotate(157.5deg) translate(500px) rotate(-157.5deg);
}

.industry-circle .industry-block:nth-of-type(13) {
    transform: rotate(180deg) translate(500px) rotate(-180deg);
}

.industry-circle .industry-block:nth-of-type(14) {
    transform: rotate(202.5deg) translate(500px) rotate(-202.5deg);
}

.industry-circle .industry-block:nth-of-type(15) {
    transform: rotate(225deg) translate(500px) rotate(-225deg);
}

.industry-circle .industry-block:nth-of-type(16) {
    transform: rotate(247.5deg) translate(500px) rotate(-247.5deg);
}

.industry-circle .industry-block .industry-icon {
    width: 107px;
    height: 107px;
    padding: 20px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: #21925c;
    transition: 0.3s;
    box-shadow: none;
}

.industry-circle .industry-block .industry-icon img {
    max-height: 100%;
}

.industry-circle .industry-block .industry-name {
    top: 50%;
    right: unset;
    left: 100%;
    width: max-content;
    max-width: 155px;
    text-align: left;
    padding: 0 0 0 15px;
    transform: translateY(-50%);
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    color: #282c4b;
    font-family: Ubuntu, sans-serif;
    position: absolute;
    transition: 0.3s;
    margin: 0;
}

.industry-circle .industry-block:nth-child(1) .industry-name {
    top: unset;
    left: 50%;
    bottom: 100%;
    text-align: center;
    padding: 0 0 15px;
    transform: translate(-50%);
}

.industry-circle .industry-block:nth-child(1):hover .industry-name {
    bottom: 150%;
    top: unset;
    left: 50%;
}

.industry-circle .industry-block:nth-child(9) .industry-name {
    left: 50%;
    top: 100%;
    bottom: unset;
    right: unset;
    padding: 15px 0 0;
    text-align: center;
    transform: translate(-50%);
}

.industry-circle .industry-block:nth-child(9):hover .industry-name {
    top: 150%;
    left: 50%;
    bottom: unset;
}

.industry-circle .industry-block:nth-child(n+10) .industry-name {
    top: 50%;
    left: unset;
    right: 100%;
    padding: 0 15px 0 0;
    text-align: right;
    transform: translateY(-50%);
}

.industry-circle .industry-block:nth-child(n+10):hover .industry-name {
    right: 150%;
    left: unset;
}

.industry-circle .industry-block:hover .industry-icon {
    transform: scale(1.45);
    box-shadow: 0 0 0 17px #fff, 0 0 60px 17px rgba(143, 143, 143, 0.32);
}

.industry-circle .industry-block:hover .industry-name {
    left: 150%;
    right: unset;
    font-size: 23px;
}

.industry-circle:before,
.industry-circle:after {
    content: "";
    border-radius: 50%;
    border: 1px dashed rgba(26, 133, 194, 0.5);
    position: absolute;
}

.industry-circle:before {
    inset: 70px;
}

.industry-circle:after {
    inset: 150px;
}

@media screen and (max-width: 1540px) {
    .industry-circle {
        position: relative;
        width: 800px;
        height: 800px;
        border-radius: 50%;
        padding: 0;
        list-style: none;
    }

    .industry-circle .industry-block {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -45px;
    }

    .industry-circle .industry-block:nth-of-type(1) {
        transform: rotate(-90deg) translate(400px) rotate(90deg);
    }

    .industry-circle .industry-block:nth-of-type(2) {
        transform: rotate(-67.5deg) translate(400px) rotate(67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(3) {
        transform: rotate(-45deg) translate(400px) rotate(45deg);
    }

    .industry-circle .industry-block:nth-of-type(4) {
        transform: rotate(-22.5deg) translate(400px) rotate(22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(5) {
        transform: rotate(0deg) translate(400px) rotate(0deg);
    }

    .industry-circle .industry-block:nth-of-type(6) {
        transform: rotate(22.5deg) translate(400px) rotate(-22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(7) {
        transform: rotate(45deg) translate(400px) rotate(-45deg);
    }

    .industry-circle .industry-block:nth-of-type(8) {
        transform: rotate(67.5deg) translate(400px) rotate(-67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(9) {
        transform: rotate(90deg) translate(400px) rotate(-90deg);
    }

    .industry-circle .industry-block:nth-of-type(10) {
        transform: rotate(112.5deg) translate(400px) rotate(-112.5deg);
    }

    .industry-circle .industry-block:nth-of-type(11) {
        transform: rotate(135deg) translate(400px) rotate(-135deg);
    }

    .industry-circle .industry-block:nth-of-type(12) {
        transform: rotate(157.5deg) translate(400px) rotate(-157.5deg);
    }

    .industry-circle .industry-block:nth-of-type(13) {
        transform: rotate(180deg) translate(400px) rotate(-180deg);
    }

    .industry-circle .industry-block:nth-of-type(14) {
        transform: rotate(202.5deg) translate(400px) rotate(-202.5deg);
    }

    .industry-circle .industry-block:nth-of-type(15) {
        transform: rotate(225deg) translate(400px) rotate(-225deg);
    }

    .industry-circle .industry-block:nth-of-type(16) {
        transform: rotate(247.5deg) translate(400px) rotate(-247.5deg);
    }

    .industry-circle .industry-block .industry-icon {
        width: 90px;
        height: 90px;
        padding: 20px;
    }

    .industry-circle .industry-block .industry-icon {
        padding: 25px !important;
    }

    .industry-circle .industry-block:hover .industry-icon {
        transform: scale(1.35) !important;
        box-shadow: 0 0 0 10px #fff, 0 0 40px 10px rgba(143, 143, 143, 0.32) !important;
    }

    .industry-circle .industry-block:hover .industry-name {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 1280px) {
    .industry-circle {
        width: 700px;
        height: 700px;
    }

    .industry-circle .industry-block {
        margin: -40px;
    }

    .industry-circle .industry-block:nth-of-type(1) {
        transform: rotate(-90deg) translate(350px) rotate(90deg);
    }

    .industry-circle .industry-block:nth-of-type(2) {
        transform: rotate(-67.5deg) translate(350px) rotate(67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(3) {
        transform: rotate(-45deg) translate(350px) rotate(45deg);
    }

    .industry-circle .industry-block:nth-of-type(4) {
        transform: rotate(-22.5deg) translate(350px) rotate(22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(5) {
        transform: rotate(0deg) translate(350px) rotate(0deg);
    }

    .industry-circle .industry-block:nth-of-type(6) {
        transform: rotate(22.5deg) translate(350px) rotate(-22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(7) {
        transform: rotate(45deg) translate(350px) rotate(-45deg);
    }

    .industry-circle .industry-block:nth-of-type(8) {
        transform: rotate(67.5deg) translate(350px) rotate(-67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(9) {
        transform: rotate(90deg) translate(350px) rotate(-90deg);
    }

    .industry-circle .industry-block:nth-of-type(10) {
        transform: rotate(112.5deg) translate(350px) rotate(-112.5deg);
    }

    .industry-circle .industry-block:nth-of-type(11) {
        transform: rotate(135deg) translate(350px) rotate(-135deg);
    }

    .industry-circle .industry-block:nth-of-type(12) {
        transform: rotate(157.5deg) translate(350px) rotate(-157.5deg);
    }

    .industry-circle .industry-block:nth-of-type(13) {
        transform: rotate(180deg) translate(350px) rotate(-180deg);
    }

    .industry-circle .industry-block:nth-of-type(14) {
        transform: rotate(202.5deg) translate(350px) rotate(-202.5deg);
    }

    .industry-circle .industry-block:nth-of-type(15) {
        transform: rotate(225deg) translate(350px) rotate(-225deg);
    }

    .industry-circle .industry-block:nth-of-type(16) {
        transform: rotate(247.5deg) translate(350px) rotate(-247.5deg);
    }

    .industry-circle .industry-block .industry-icon {
        width: 80px;
        height: 80px;
        padding: 25px !important;
    }

    .industry-circle:before {
        inset: 55px !important;
    }

    .industry-circle:after {
        inset: 110px !important;
    }

    .industry-circle .industry-block:hover .industry-icon {
        transform: scale(1.35) !important;
        box-shadow: 0 0 0 10px #fff, 0 0 40px 10px rgba(143, 143, 143, 0.32) !important;
    }

    .industry-circle .industry-block:hover .industry-name {
        left: 130%;
        font-size: 20px !important;
    }

    .industry-circle .industry-block:nth-child(n+10):hover .industry-name {
        right: 130% !important;
    }

    .industry-circle .industry-block:nth-child(9):hover .industry-name {
        top: 130% !important;
    }

    .industry-circle .industry-block:nth-child(1):hover .industry-name {
        bottom: 130% !important;
    }
}

@media screen and (max-width: 1080px) {
    .industry-inner .title-sec {
        max-width: 350px;
        padding-top: 50px;
    }

    .industry-circle {
        width: 600px;
        height: 600px;
    }

    .industry-circle .industry-block:nth-of-type(1) {
        transform: rotate(-90deg) translate(300px) rotate(90deg);
    }

    .industry-circle .industry-block:nth-of-type(2) {
        transform: rotate(-67.5deg) translate(300px) rotate(67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(3) {
        transform: rotate(-45deg) translate(300px) rotate(45deg);
    }

    .industry-circle .industry-block:nth-of-type(4) {
        transform: rotate(-22.5deg) translate(300px) rotate(22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(5) {
        transform: rotate(0deg) translate(300px) rotate(0deg);
    }

    .industry-circle .industry-block:nth-of-type(6) {
        transform: rotate(22.5deg) translate(300px) rotate(-22.5deg);
    }

    .industry-circle .industry-block:nth-of-type(7) {
        transform: rotate(45deg) translate(300px) rotate(-45deg);
    }

    .industry-circle .industry-block:nth-of-type(8) {
        transform: rotate(67.5deg) translate(300px) rotate(-67.5deg);
    }

    .industry-circle .industry-block:nth-of-type(9) {
        transform: rotate(90deg) translate(300px) rotate(-90deg);
    }

    .industry-circle .industry-block:nth-of-type(10) {
        transform: rotate(112.5deg) translate(300px) rotate(-112.5deg);
    }

    .industry-circle .industry-block:nth-of-type(11) {
        transform: rotate(135deg) translate(300px) rotate(-135deg);
    }

    .industry-circle .industry-block:nth-of-type(12) {
        transform: rotate(157.5deg) translate(300px) rotate(-157.5deg);
    }

    .industry-circle .industry-block:nth-of-type(13) {
        transform: rotate(180deg) translate(300px) rotate(-180deg);
    }

    .industry-circle .industry-block:nth-of-type(14) {
        transform: rotate(202.5deg) translate(300px) rotate(-202.5deg);
    }

    .industry-circle .industry-block:nth-of-type(15) {
        transform: rotate(225deg) translate(300px) rotate(-225deg);
    }

    .industry-circle .industry-block:nth-of-type(16) {
        transform: rotate(247.5deg) translate(300px) rotate(-247.5deg);
    }

    .industry-circle:after {
        inset: 100px !important;
    }

    .industry-circle .industry-block:hover .industry-icon {
        transform: scale(1.2) !important;
    }

    .industry-circle .industry-block:hover .industry-name {
        left: 120%;
    }

    .industry-circle .industry-block:nth-child(n+10):hover .industry-name {
        right: 120% !important;
    }

    .industry-circle .industry-block:nth-child(9):hover .industry-name {
        top: 120% !important;
    }

    .industry-circle .industry-block:nth-child(1):hover .industry-name {
        bottom: 120% !important;
    }
}

@media screen and (max-width: 991px) {
    .industry-inner {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .industry-inner .title-sec {
        position: unset;
        max-width: 450px;
        margin: 0 auto 50px !important;
    }

    .industry-inner .view-all-industries-btn {
        display: flex;
    }

    .industry-circle {
        height: auto;
        width: auto;
        border: 0;
        border-radius: unset;
        display: grid;
        grid-gap: 30px;
        align-items: flex-start;
        grid-template-columns: repeat(3, 1fr);
        max-height: 380px;
        overflow: hidden;
        transition: 0.3s;
        margin-bottom: 50px;
    }

    .industry-circle:after,
    .industry-circle:before {
        content: none;
    }

    .industry-circle .industry-block {
        position: relative;
        transform: none !important;
        margin: 0;
        left: unset;
        right: unset;
        bottom: unset;
        top: unset;
        visibility: hidden;
        opacity: 0;
    }

    .industry-circle .industry-block .industry-name {
        position: unset;
        transform: none !important;
        padding: 0 !important;
        text-align: center !important;
        width: auto;
        font-size: 18px;
        margin: 0 auto;
    }

    .industry-circle .industry-block .industry-icon {
        width: 107px;
        height: 107px;
        padding: 20px !important;
        margin: 0 auto 15px;
    }

    .industry-circle .industry-block:hover .industry-icon {
        transform: unset !important;
        box-shadow: none !important;
    }

    .industry-circle .industry-block:hover .industry-name {
        font-size: 18px !important;
    }

    .industry-circle .industry-block:nth-child(1),
    .industry-circle .industry-block:nth-child(2),
    .industry-circle .industry-block:nth-child(3),
    .industry-circle .industry-block:nth-child(4),
    .industry-circle .industry-block:nth-child(5),
    .industry-circle .industry-block:nth-child(6) {
        visibility: visible;
        opacity: 1;
    }

    .industry-circle.show-content {
        max-height: 2000px;
        transition: 1s;
    }

    .industry-circle.show-content .industry-block {
        visibility: visible;
        opacity: 1;
    }
}

@media screen and (max-width: 767px) {
    .industry-circle {
        max-height: 330px;
    }

    .industry-circle .industry-block .industry-icon {
        width: 90px;
        height: 90px;
        padding: 20px !important;
    }

    .industry-circle .industry-block .industry-name {
        font-size: 16px;
        line-height: 22px;
    }
}

@media screen and (max-width: 400px) {
    .industry-circle {
        column-gap: 20px;
    }

    .industry-circle .industry-block .industry-icon {
        width: 70px;
        height: 70px;
        padding: 15px !important;
    }

    .industry-circle .industry-block .industry-name {
        font-size: 14px;
    }
}

/* Simple Editor Solution: Hide columns on frontend, show circle layout */
/* In editor: shows as clean columns, on frontend: shows as circle */

/* Hide columns on frontend only (not in editor) */
.industry-circle .editor-columns,
.industry-circle-flexible .editor-columns {
    display: none;
}

/* Make industry blocks clickable on frontend */
.industry-block {
    cursor: pointer;
}

/* Only add hover effects in editor, not on frontend circular layout */
.editor-columns .industry-block {
    transition: box-shadow 0.2s ease;
}

.editor-columns .industry-block:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ensure links within industry blocks don't interfere with block clicking */
.industry-block .industry-name a {
    pointer-events: auto;
    color: inherit;
    text-decoration: none;
}

/* Make industry blocks from columns work in the circle positioning */
.industry-circle .wp-block-column .industry-block,
.industry-circle-flexible .wp-block-column .industry-block {
    /* Override column positioning and use circle positioning instead */
    position: absolute;
    transform: none;
    /* Circle positioning CSS above will handle the placement */
}

/* Remove margin from images inside industry icons */
.industry-icon .wp-block-image {
    margin: 0 !important;
}

/* View All Industries Button Styling - Only what can't be done with block attributes */
.view-all-industries-btn .wp-block-button__link {
    transition: all 0.3s ease;
    min-width: 160px;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.view-all-industries-btn .wp-block-button__link:hover {
    background-color: #3A7FB0 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 194, 0.4) !important;
}

/* News Slider Styling */


/* News slider editor styles removed */







/* Frontend Slider Styling */
.new-news-slider .slick-track {
    margin: 10px 0;
}

.new-news-slider .slick-slider .slick-list {
    order: 2;
    margin-bottom: 0;
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
}

.new-news-slider .slick-slider .slick-list .slick-track > * {
    padding: 0 12px;
}

.new-news-slider .slick-slider .slick-arrow {
    margin-top: -44px;
}

/* News Slider Layout Updates - Following MarketTime Pattern */
.new-news-slider .slick-slider {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: flex-end;
}

.new-news-slider .slick-slider .slick-list {
    order: 2;
    min-width: 100%;
}

.new-news-slider .slick-slider .slick-list:not(:last-child) {
    margin-bottom: 50px;
}

.new-news-slider .slick-slider .slick-list .slick-track {
    display: flex;
    align-items: stretch;
}

.new-news-slider .slick-slider .slick-list .slick-track > * {
    height: auto;
}

/* General transition rule for links and buttons */
a, button {
    transition: .3s;
}

/* MarketTime-style Arrow Styling */
.new-news-slider .slick-slider .slick-arrow {
    position: relative;
    z-index: 1;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    height: 18px;
    overflow: hidden;
    width: 25px;
    font-size: 0;
    color: transparent;
    transform: none;
    background: none;
    border: none;
    cursor: pointer;
}

.new-news-slider .slick-slider .slick-arrow:before {
    content: "";
    width: 12px;
    height: 12px;
    left: 3px;
    top: 3px;
    opacity: 1;
    transform: rotate(-45deg);
    position: absolute;
    border-top: 2px solid #767A7B;
    border-left: 2px solid #767A7B;
}

.new-news-slider .slick-slider .slick-arrow:after {
    content: "";
    height: 2px;
    inset: 50% 0 50% 1px;
    margin: auto;
    background-color: #767a7b;
    position: absolute;
}

.new-news-slider .slick-slider .slick-arrow.slick-next {
    margin-left: 20px;
    transform: rotateY(180deg);
}

.new-news-slider .slick-slider .slick-arrow.slick-disabled {
    opacity: .4;
    cursor: no-drop;
}

.new-news-slider .slick-slider .slick-arrow:not(.slick-disabled):hover {
    width: 45px;
}

.new-news-slider .slick-slider .slick-arrow:not(.slick-disabled):hover:before {
    border-color: #1a85c2;
}

.new-news-slider .slick-slider .slick-arrow:not(.slick-disabled):hover:after {
    background-color: #1a85c2;
}

.new-news-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 25px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    border-radius: 15px;
    background: #fff;
}

/* Frontend only - exclude editor */
body:not(.block-editor-page) .new-news-box .news-image {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
}

/* Frontend only - exclude editor */
body:not(.block-editor-page) .new-news-box .news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Frontend only - exclude editor */
body:not(.block-editor-page) .new-news-box .news-image a {
    display: block;
}

.new-news-box h5 {
    margin-bottom: 15px;
}

.new-news-box .news-text {
    font-size: 16px;
    margin-bottom: 15px;
    flex: 1 0 0;
}

.new-news-box .news-title {
    padding: 5px 20px;
    margin: 0 -10px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.new-news-box .news-title p {
    margin: 0;
    width: 100%;
}

.new-news-box .news-title a {
    color: #1d1d1d;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    transition: 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
}

.new-news-box .news-title a:hover {
    color: #1a85c2;
}

.new-news-box .press-date {
    font-size: 14px;
    color: gray;
    padding: 0 20px;
    margin: auto -10px 0;
}

/* Top Latest News (optional featured news section) */
.top-latest-news {
    display: flex;
    padding: 30px 60px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    border-radius: 25px;
    margin: 40px 0 30px;
}

.top-latest-news .latest-news-img {
    width: 400px;
    margin-right: 40px;
}

.top-latest-news .latest-news-content {
    flex: 1;
}

.top-latest-news .latest-news-content h3 {
    max-width: 650px;
    line-height: 40px;
    margin-bottom: 25px;
}

/* Industry Slider Styling */

/* Editor Display - Show industry items in 5-column flexbox layout */
.block-editor-block-list__layout .industry-slider .top-brands-slider,
.editor-styles-wrapper .industry-slider .top-brands-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    justify-content: flex-start;
}

.block-editor-block-list__layout .industry-slider .top-brands-slider > *,
.editor-styles-wrapper .industry-slider .top-brands-slider > * {
    flex: 0 0 calc(20% - 16px);
    margin: 0 !important;
    padding: 0;
}

/* Responsive for editor */
@media (max-width: 991px) {
    .block-editor-block-list__layout .industry-slider .industry-carousel,
    .editor-styles-wrapper .industry-slider .industry-carousel {
        gap: 14px;
    }
    
    .block-editor-block-list__layout .industry-slider .industry-carousel > *,
    .editor-styles-wrapper .industry-slider .industry-carousel > * {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media (max-width: 599px) {
    .block-editor-block-list__layout .industry-slider .industry-carousel,
    .editor-styles-wrapper .industry-slider .industry-carousel {
        gap: 14px;
    }
    
    .block-editor-block-list__layout .industry-slider .industry-carousel > *,
    .editor-styles-wrapper .industry-slider .industry-carousel > * {
        flex: 0 0 calc(50% - 7px);
    }
}

/* Frontend Industry Slider Layout */
.top-brands-inner .top-brands-slider.slick-slider {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: flex-end;
}

.industry-slider .slick-slider .slick-list {
    order: -1;
    min-width: 100%;
}

.industry-slider .slick-slider .slick-list:not(:last-child) {
    margin-bottom: 50px;
}

.top-brands-inner .top-brands-slider .slick-list .slick-track {
    display: flex;
    align-items: stretch;
}

.industry-slider .slick-slider .slick-list .slick-track > * {
    height: auto;
}

/* Industry Arrow Styling - Same as News Slider */
.top-brands-inner .top-brands-slider .slick-arrow {
    position: relative;
    z-index: 1;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
    height: 18px;
    overflow: hidden;
    width: 25px;
    font-size: 0;
    color: transparent;
    transform: none;
    background: none;
    border: none;
    cursor: pointer;
}

.top-brands-inner .top-brands-slider .slick-arrow:before {
    content: "";
    width: 12px;
    height: 12px;
    left: 3px;
    top: 3px;
    opacity: 1;
    transform: rotate(-45deg);
    position: absolute;
    border-top: 2px solid #767A7B;
    border-left: 2px solid #767A7B;
}

.top-brands-inner .top-brands-slider .slick-arrow:after {
    content: "";
    height: 2px;
    inset: 50% 0 50% 1px;
    margin: auto;
    background-color: #767a7b;
    position: absolute;
}

.top-brands-inner .top-brands-slider .slick-arrow.slick-next {
    margin-left: 20px;
    transform: rotateY(180deg);
}

.top-brands-inner .top-brands-slider .slick-arrow.slick-disabled {
    opacity: .4;
    cursor: no-drop;
}

.top-brands-inner .top-brands-slider .slick-arrow:not(.slick-disabled):hover {
    width: 45px;
}

.industry-slider .slick-slider .slick-arrow:not(.slick-disabled):hover:before {
    border-color: #1a85c2;
}

.top-brands-inner .top-brands-slider .slick-arrow:not(.slick-disabled):hover:after {
    background-color: #1a85c2;
}

/* Industry Item Styling */
.top-brand-block {
    min-height: 163px;
    max-height: 200px;
    height: 100%;
    padding: 10px;
    display: flex;
    overflow: hidden;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ececec;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.07);
}

/* Industry Slider Track Styling */
.top-brands-inner .top-brands-slider .slick-list {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
}

.top-brands-inner .top-brands-slider .slick-list .slick-track > * {
    margin: 10px;
}

.top-brand-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.top-brand-block .wp-block-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    margin-bottom: 0;
    padding: 1em;
}

.top-brand-block img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: .3s;
}

.top-brand-block:hover img {
    filter: grayscale(0%);
}

/* Industry Slider Responsive Styles */
@media screen and (max-width: 991px) {
    .top-brands-inner .top-brands-slider {
        justify-content: center;
    }
    
    .top-brands-inner .top-brands-slider .slick-list {
        width: calc(100% + 50px);
        padding-right: 60px;
        margin-right: -40px;
    }
}

@media screen and (max-width: 480px) {
    .top-brands-inner .top-brands-slider .slick-list {
        width: calc(100% + 37px);
        padding-right: 28px;
        margin-right: -30px;
        margin-left: -7px;
    }
    
    .top-brands-inner .top-brands-slider .slick-list .slick-track > * {
        margin: 7px;
    }
    
    .top-brand-block {
        min-height: 130px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .new-news-slider .slick-slider .slick-list {
        width: calc(100% + 130px);
    }

    .new-news-box .news-image {
        margin-bottom: 20px;
    }

    .new-news-box .news-title {
        margin-bottom: 15px;
    }
    
    .new-news-box .news-title a {
        font-size: 18px;
        line-height: 26px;
    }

    .top-latest-news {
        padding: 30px;
        border-radius: 15px;
    }

    .top-latest-news .latest-news-img {
        width: 300px;
        margin-right: 25px;
    }

    .top-latest-news .latest-news-content h3 {
        max-width: 650px;
        line-height: 40px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 767px) {
    .top-latest-news .latest-news-img {
        width: 200px;
        margin-right: 15px;
    }

    .top-latest-news .latest-news-content h3 {
        line-height: 30px;
        margin-bottom: 20px;
        font-size: 24px;
    }
}

@media screen and (max-width: 599px) {
    .new-news-slider .slick-slider .slick-list {
        width: calc(100% + 24px);
        margin-right: -12px;
    }

    .new-news-slider .slick-slider .slick-arrow {
        margin-top: -25px;
    }

    .new-news-inner .title-sec h2,
    .new-news-inner .press-date {
        text-align: center;
    }

    .top-latest-news {
        padding: 10px 10px 25px 15px;
        flex-direction: column;
    }

    .top-latest-news .latest-news-img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }

    .top-latest-news .latest-news-content h3 {
        font-size: 22px;
    }
}

/* Client Testimonials Slider Styling */

/* Editor Display - Show testimonials in single column for clean editing */
.block-editor-block-list__layout .clients-say-carousel {
    /* display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0; */
}

.block-editor-block-list__layout .clients-say-carousel .client-say-wpr {
    margin: 0 !important;
    padding: 0;
}

/* Turn off absolute positioning in editor for client-info */
.block-editor-block-list__layout .client-say .client-say-media .client-info,
.editor-styles-wrapper .client-say .client-say-media .client-info,
.wp-block-group__inner-container .client-say .client-say-media .client-info,
.edit-post-visual-editor .client-say .client-say-media .client-info,
.block-editor__container .client-say .client-say-media .client-info {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    background-color: transparent;
    color: inherit;
    box-shadow: none;
    z-index: auto;
    padding: 10px;
    margin: 10px 0;
}

/* Main Container Styling */
.clients-say-inner .title-sec {
    margin-bottom: 100px;
}

.clients-say-inner .clients-say-slider-sec {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.clients-say-inner .clients-say-slider-sec .clients-say-carousel {
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
}

/* Frontend Slider Layout */
.clients-say-inner .clients-say-carousel.slick-slider .slick-list {
    margin-left: -20px;
    margin-right: -20px;
}

.clients-say-inner .clients-say-carousel.slick-slider .slick-list:not(:last-child) {
    margin-bottom: 75px;
}

.clients-say-inner .clients-say-carousel.slick-slider .slick-list .slick-track {
    display: block;
}

/* Slide Wrapper */
.clients-say-carousel .client-say-wpr {
    padding: 0 20px;
}

/* Individual Testimonial Styling */
.client-say {
    display: grid;
    grid-gap: 30px;
    height: 100%;
    align-items: flex-end;
    padding: 0 20px;
}

/* Client Logo */
.client-say .client-logo {
    width: 112px;
    height: 112px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 35px;
    background-color: #fff;
    border: 4px solid #f79152;
    position: absolute;
    margin-top: -56px;
    z-index: 3;
    box-shadow: inset 0 0 0 8px #fff;
    top: 51px;
    left: 0;
    right: 0;
}

.client-say .client-logo img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

/* Client Info Container */
.client-say .client-say-info {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    border-radius: 15px;
    background-color: #05254a;
    margin-top: 56px;
}

.client-say .client-say-info.with-out-client-logo {
    margin-top: 0;
}

.client-say .client-say-info * {
    color: inherit;
}

.client-say .client-say-info .client-info h5 {
    line-height: 36px;
}

/* Text Testimonial Styling */
.client-say .client-say-details {
    color: #fff;
    padding: 85px 35px 35px;
    /* max-width: 475px; */
    margin-left: auto;
    margin-right: auto;
}

.client-say .client-say-details:before {
    content: "";
    top: -13px;
    left: 50px;
    z-index: 1;
    width: 86px;
    height: 75px;
    position: absolute;
    background-image: url('img/quote-icon.svg');
}

.client-say .client-say-details .client-logo {
    position: relative;
}

.client-say .client-say-details .client-say-des {
    margin-bottom: 30px;
}

/* Video Testimonial Styling */
.client-say .client-say-media .client-video {
    z-index: 1;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
    width: 100%;
}

.client-say .client-say-media .client-video .client-info *{
    margin:0;
}

.client-video .ghostkit-video {
    border-radius: 0;
    margin-bottom: 0;
}

.client-say .client-say-media .client-video .video-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    background-color: rgba(5, 37, 74, 0.5);
    box-shadow: 8px 10px 60px rgba(0, 0, 0, 0.07);
    z-index: 1;
    transition: 0.3s;
    cursor: pointer;
}

.client-say .client-say-media .client-video .video-overlay.hide-overlay {
    visibility: hidden;
    opacity: 0;
}

.client-say .client-say-media .client-video video {
    width: 100%;
    display: block;
}

.client-say .client-say-media .client-image,
.client-say .client-say-media .client-image img {
    width: 100%;
}

.client-say .client-say-media .client-info {
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 10px 15px 15px;
    text-align: center;
    border-radius: 15px;
    background-color: rgba(5, 37, 74, 0.5);
    box-shadow: 8px 10px 60px rgba(0, 0, 0, 0.07);
    z-index: 2;
}

.client-say-media + .client-info {
    background-color: #05254a;
    color: #fff;
}

.client-say .client-say-media .client-info.hide-info {
    visibility: hidden;
    opacity: 0;
}

/* Responsive adjustments for video testimonials */
@media screen and (max-width: 991px) {
    .client-say .client-say-media .client-video {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .client-say .client-say-media .client-info {
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Client Testimonials Slider Layout - Copy News Slider Pattern */
.clients-say-carousel.slick-slider {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: flex-end;
    width: 100%;
    margin: 0 auto;
    max-width: 690px;
}

.clients-say-carousel.slick-slider .slick-list {
    order: 2;
    min-width: 100%;
}

.clients-say-carousel.slick-slider .slick-list:not(:last-child) {
    margin-bottom: 50px;
}

/* Client Testimonials Arrow Styling - Copy from News Slider */
.clients-say-carousel.slick-slider .slick-arrow {
    position: absolute;
    z-index: 1;
    top: unset;
    left: unset;
    right: unset;
    bottom: 0;
    height: 18px;
    overflow: hidden;
    width: 25px;
    font-size: 0;
    color: transparent;
    transform: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: -44px;
}

.clients-say-carousel.slick-slider .slick-arrow:before {
    content: "";
    width: 12px;
    height: 12px;
    left: 3px;
    top: 3px;
    opacity: 1;
    transform: rotate(-45deg);
    position: absolute;
    border-top: 2px solid #767A7B;
    border-left: 2px solid #767A7B;
}

.clients-say-carousel.slick-slider .slick-arrow:after {
    content: "";
    height: 2px;
    inset: 50% 0 50% 1px;
    margin: auto;
    background-color: #767a7b;
    position: absolute;
}

.clients-say-carousel.slick-slider .slick-arrow.slick-prev {
    right: 130px;
}

.clients-say-carousel.slick-slider .slick-arrow.slick-next {
    margin-left: 20px;
    transform: rotateY(180deg);
}

.clients-say-carousel.slick-slider .slick-arrow.slick-disabled {
    opacity: .4;
    cursor: no-drop;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover {
    width: 45px;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover:before {
    border-color: #1a85c2;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover:after {
    background-color: #1a85c2;
}

.clients-say-carousel.slick-slider .slick-arrow.slick-next {
    margin-left: 20px;
    transform: rotateY(180deg);
    right: 60px;
}

@media screen and (max-width:991px) {
    .clients-say-carousel.slick-slider .slick-arrow {
       display: none !important;
    }
}

.clients-say-carousel.slick-slider .slick-arrow.slick-disabled {
    opacity: .4;
    cursor: no-drop;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover {
    width: 45px;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover:before {
    border-color: #1a85c2;
}

.clients-say-carousel.slick-slider .slick-arrow:not(.slick-disabled):hover:after {
    background-color: #1a85c2;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .clients-say-inner .clients-say-slider-sec .client-say .client-say-details {
        max-width: unset;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-list:not(:last-child) {
        margin-bottom: 50px;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots {
        position: unset;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots li {
        margin: 4px;
        height: auto;
        width: auto;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots li button {
        height: 14px;
        width: 14px;
        padding: 0;
        border-radius: 50%;
        font-size: 0 !important;
        color: transparent;
        background-color: #d9d9d9;
        cursor: pointer;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots li button:after,
    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots li button:before {
        content: none;
    }

    .clients-say-inner .clients-say-slider-sec .clients-say-carousel.slick-slider .slick-dots li.slick-active button {
        background-color: #083f72;
    }
}

@media screen and (max-width: 599px) {
    .clients-say-inner .clients-say-slider-sec .client-say .client-say-details {
        padding: 0 25px 25px;
    }
}

/* =============================================================================
   MARKETTIME MENU ADAPTATION - Task 45
   Adapting Angular menu styles to WordPress menu structure
   ============================================================================= */

/* Menu Links - Override colors, text styles and hover states */
.nk-nav.nk-nav-right li {
    margin-bottom: 0 !important;
}

/* Resources Menu - Extra right margin */
#menu-item-603 {
    margin-right: 5em !important;
}

@media screen and (max-width: 1200px){
   #menu-item-603 {
       margin-right: 2em !important;
   }
}


/* Login Menu - Right margin */

@media screen and (min-width: 1201px){
   .menu-login {
      margin-right: 1em !important;
   }
}

.nk-navbar-full .nk-nav .dropdown > li, .nk-navbar-full .nk-nav > li{
   padding: .5em 2em;
   max-width: 100%;
}


.nk-nav.nk-nav-right li a {
    color: #626262 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: color 0.3s ease;
}

@media screen and (max-width: 1200px){

   .nk-navbar-full #menu-main-1.nk-nav .nk-drop-item > a::after,
   .nk-navbar-full #menu-main-1.nk-nav .nk-drop-item .nk-drop-item > a::after,
   .nk-navbar-full #menu-main-1.nk-nav > .nk-drop-item > a::after {
      content: "";
      width: 12px;
      height: 12px;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23626262' stroke='%23626262' stroke-width='20' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      transition: transform 0.3s;
      margin-left: 8px;
      margin-top: -5px;
      border: none;
  }
  
  .nk-navbar-full #menu-main-1.nk-nav a{
     padding: 20px 30px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
  }
  .nk-navbar-full #menu-main-1.nk-nav li:not(.menu-item-367) a{
     color: #5e5e5e !important;

}
.nk-navbar-full #menu-main-1.nk-nav li:not(.menu-item-368) a{
     color: #5e5e5e !important;

}
  
}

@media screen and (max-width: 1200px){
   /* padding: 6px 10px; */
   .nk-nav-icons .single-icon{
      display: inline-block !important;
   }
   .nk-navbar .nk-nav-table > .nk-nav#menu-main{
      display: none !important;
   }

}

.nk-nav.nk-nav-right li a:hover,
.nk-nav.nk-nav-right li a.active {
    color: #1a85c2 !important;
}

/* Dropdown Menu Styling */
.nk-nav.nk-nav-right .menu-item-has-children {
    position: relative;
}

.nk-nav.nk-nav-right .menu-item-has-children > a {
    position: relative;
    z-index: 11;
}

.nk-nav.nk-nav-right .menu-item-has-children > a:after {
    content: "";
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23626262' stroke='%23626262' stroke-width='20' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s;
    margin-left: 8px;
    margin-top: 2px;
    display: inline-block;
}

.nk-nav.nk-nav-right .menu-item-has-children:hover > a {
    color: #1a85c2;
}

.nk-nav.nk-nav-right .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%231a85c2' stroke='%231a85c2' stroke-width='20' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e");
}

/* Dropdown Menu Container */
.nk-nav.nk-nav-right .dropdown.sub-menu {
    position: absolute;
    z-index: 10;
    background-color: #fff;
    top: 100%;
    left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    transition: all 0s;
    transform: translateY(-20%);
    opacity: 0;
    visibility: hidden;
    display: block;
    min-width: 160px;
    border-radius: 0 0 5px 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nk-nav.nk-nav-right .menu-item-has-children:hover .dropdown.sub-menu {
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    opacity: 1;
    visibility: visible;
    margin-top: 0 !important;
}

.nk-nav.nk-nav-right .dropdown.sub-menu li {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    display: block;
}

.nk-nav.nk-nav-right .dropdown.sub-menu li a {
    padding: 13px 25px;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    display: block;
    color: #626262 !important;
}

.nk-nav.nk-nav-right .dropdown.sub-menu li:last-child a {
    border-bottom: 0;
}

.nk-nav.nk-nav-right .dropdown.sub-menu li a:hover {
    background-color: #def1ff;
    color: #1a85c2 !important;
}

/* Solutions Menu - Big Menu with Icons */
#menu-item-360 .dropdown.sub-menu {
    min-width: 350px;
}

#menu-item-360 .dropdown.sub-menu li a {
    white-space: unset;
    display: flex !important;
    align-items: center;
}

/* Icon Circles for Solutions Menu */
#menu-item-361 .icon,
#menu-item-362 .icon,
#menu-item-363 .icon {
    width: 40px;
    height: 40px;
    display: flex;
    background-color: #1a85c2;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

#menu-item-361 .icon img,
#menu-item-361 .icon svg,
#menu-item-362 .icon img,
#menu-item-362 .icon svg,
#menu-item-363 .icon img,
#menu-item-363 .icon svg {
    margin: auto;
    width: 24px;
    height: 24px;
}

#menu-item-361 .icon svg .fill,
#menu-item-362 .icon svg .fill,
#menu-item-363 .icon svg .fill {
    fill: #fff;
    transition: 0.3s;
}

/* Menu Text Layout for Solutions - Only apply to dropdown items */
#menu-item-361 a,
#menu-item-362 a,
#menu-item-363 a {
    flex: 1 0 0;
}

/* Last Menu Item Dropdown Alignment */
.nk-nav.nk-nav-right > li:last-child .dropdown.sub-menu {
    left: unset;
    right: 0;
}

/* Resources Menu Styling */
#menu-item-603 .dropdown.sub-menu {
    min-width: 255px;
}

/* Multi-level Dropdown (API Documentation) */
.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children {
    position: relative;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children > a {
    position: relative;
    padding-right: 50px;
    z-index: 11;
    white-space: unset;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children > a:after {
    content: "";
    width: 12px !important;
    height: 12px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3e%3cpath fill='%23626262' stroke='%23626262' stroke-width='30' d='M64 448c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L178.8 256L41.38 118.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25l-160 160C80.38 444.9 72.19 448 64 448z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children .dropdown.sub-menu {
    position: absolute;
    z-index: 10;
    background-color: #fff;
    top: 0;
    left: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    transform: translate(0);
    transition: all 0s;
    opacity: 0;
    visibility: hidden;
    display: block;
    min-width: 200px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children:hover > a {
    background-color: #def1ff;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children:hover > a:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3e%3cpath fill='%231a85c2' stroke='%231a85c2' stroke-width='30' d='M64 448c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L178.8 256L41.38 118.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25l-160 160C80.38 444.9 72.19 448 64 448z'/%3e%3c/svg%3e");
}

/* V1 Pill Styling */
.menu-pill {
    outline: #1a85c2 solid 1px;
    padding: 2px 6px;
    text-transform: uppercase;
    font-size: 12px;
    margin-left: 7px;
    border-radius: 3px;
    color: #fff;
    background: #1a85c2;
    font-weight: 600;
}

/* Login Menu Styling */
.menu-login .dropdown.sub-menu {
    min-width: 200px;
}

.menu-login .dropdown.sub-menu li a {
    display: flex !important;
    align-items: center;
    white-space: unset;
    padding: 15px 20px;
}

/* Login Menu Icon */
.menu-login .dropdown.sub-menu .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.menu-login .dropdown.sub-menu .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Login Menu Text */
.menu-login .dropdown.sub-menu li a {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #fff !important;
}

.menu-login .dropdown.sub-menu li a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Login dropdown menu item - minimum width */
#menu-item-1331 {
    min-width: 250px;
}

/* Login Button Override - Styled like original button */
#menu-item-367 > a,
.menu-login > a {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    background-color: #1a85c2 !important;
    padding: 12px 20px 13px !important;
    border-radius: 6px !important;
    border: none !important;
    transition: all 0.3s ease;
}

#menu-item-367 > a:hover,
.menu-login > a:hover {
    color: #fff !important;
    background-color: #155a8f !important;
}

/* Login Menu Arrow - White */
#menu-item-367 > a:after,
.menu-login > a:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23fff' stroke='%23fff' stroke-width='20' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e") !important;
}

#menu-item-367:hover > a:after,
.menu-login:hover > a:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23fff' stroke='%23fff' stroke-width='20' d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3e%3c/svg%3e") !important;
}

/* Demo Button Override - Light blue bg with blue text, then dark blue bg with white text on hover */
#menu-item-368 > a,
.menu-demo > a {
    background-color: #e8f4fd !important;
    color: #4a90c2 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    padding: 12px 20px 13px !important;
    border-radius: 6px !important;
    border: none !important;
    transition: all 0.3s ease;
}

#menu-item-368 > a:hover,
.menu-demo > a:hover {
    background-color: #1a85c2 !important;
    color: #fff !important;
}

.nk-nav.nk-nav-right .menu-item-has-children .menu-item-has-children:hover .dropdown.sub-menu {
    transform: translate(0);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    opacity: 1;
    visibility: visible;
}

/* API Version Badge (if needed) */
.menu-api-ver {
    outline: #1a85c2 solid 1px;
    padding: 0 5px;
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 7px;
    border-radius: 3px;
    color: #fff;
    transition: 0.3s ease;
    background: #1a85c2;
}


/* Responsive Design */
@media screen and (max-width: 1310px) {
    .nk-nav.nk-nav-right > li {
        /* margin-right: 24px; */
    }
}

@media screen and (max-width: 1279px) {
    .nk-nav.nk-nav-right > li {
        /* margin-right: 20px; */
    }
}

@media screen and (max-width: 991px) {
    /* .new-styles .tab-sec {
        column-gap:10px!important
    }

    .new-styles .hero-content {
        flex-direction: column-reverse;
        margin: 0 auto
    }

    .new-styles .hero-content .hero-media-sec {
        width: 100%!important;
        margin: 0 auto
    }

    .new-styles .hero-content .hero-text-sec {
        width: 100%!important;
        max-width: unset!important;
        margin: 0 0 60px;
        text-align: center
    }

    .tab-text-center {
        text-align: center!important
    }

    .tab-text-center .yellow-line {
        background-position: center!important
    }

    .tab-text-left {
        text-align: left!important
    }

    .tab-text-left .yellow-line {
        background-position: left!important
    }

    .tab-text-right {
        text-align: right!important
    }

    .tab-text-right .yellow-line {
        background-position: right!important
    } */
}

@media screen and (max-width: 768px) {
    h1 {
        font-size:45px !important;
        line-height: 60px !important;
    }

    h2 {
        font-size: 40px !important;
        line-height: 50px !important;
    }
}

@media screen and (max-width: 599px) {
    h1 {
        font-size:30px !important;
        line-height: 42px !important;
    }

    h1 .yellow-line {
        width: 200px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        background-size: 100%;
        background-position: center
    }

    /* .new-styles .hero-content .hero-text-sec {
        text-align: center
    } */

    h2 {
        font-size: 30px !important;
        line-height: 42px !important;
    }

    h4 {
        font-size: 20px !important;
        line-height: normal !important;
    }

    h5 {
        font-size: 18px !important;
        line-height: normal !important;
    }

    /* .mobile-text-center {
        text-align: center!important
    }

    .mobile-text-center .yellow-line {
        background-position: center!important
    }

    .mobile-text-left {
        text-align: left!important
    }

    .mobile-text-left .yellow-line {
        background-position: left!important
    }

    .mobile-text-right {
        text-align: right!important
    }

    .mobile-text-right .yellow-line {
        background-position: right!important
    } */
}

@media screen and (max-width: 480px) {
    /* .new-styles .layout {
        padding:0 30px!important
    } */
}

@media screen and (max-width: 400px) {
    h1 {
        font-size:25px !important;
        line-height: 35px !important;
    }

    h2 {
        font-size: 22px !important;
        line-height: 30px !important;
    }
}



.ghostkit-tabs.is-style-pills .ghostkit-tabs-buttons-item{
   min-width: 140px;
}
@media screen and (max-width: 991px) {
    .static-news-grid{
       grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    ul.list-blue-ribbon li,
    ul.list-pink-ribbon li{
        padding-left: 2.5em;
     }

    ul.list-blue-ribbon li::before,
    ul.list-pink-ribbon li::before {
      height: 60px;
      width: 43px;
    }

}
@media screen and (max-width: 599px) {
    .static-news-grid{
       grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    ul.list-blue-ribbon li::before,
    ul.list-pink-ribbon li::before {
      height: 44px;
      width: 32px;
    }
    
    .hero-rotator-slider{
       padding: 0;
    }

}


.slick-dots li button:before{
   font-size: 15px !important;
}


.nk-footer-widgets .nk-widget>div>* {
    padding: 0 10px !important;
}

.nk-footer-text{
   color: white;
}

.nk-footer-text a{
   color: white;
}