.seo-edge-industry-grid {
    width: 100%;
    --seo-edge-card-width: 280px;
    --seo-edge-grid-gap: 16px;
}

.seo-edge-industry-grid__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--seo-edge-grid-gap);
    margin-bottom: 18px;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: calc(var(--seo-edge-card-width) * 2 + var(--seo-edge-grid-gap));
    margin-left: auto;
    margin-right: auto;
}

.seo-edge-industry-grid__count {
    font-size: 13px;
    color: #7a7a7a;
    flex: 1 1 auto;
    min-width: 0;
}

.seo-edge-industry-grid__count strong,
.seo-edge-industry-grid__count-label {
    color: #111111;
    font-weight: 600;
}

.seo-edge-industry-grid__search-wrap {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.elementor-widget-seo-edge-industry-grid .seo-edge-industry-grid__search {
    width: 260px !important;
    height: 38px !important;
    padding: 8px 12px 8px 32px !important;
    border: 1px solid #ededed !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.elementor-widget-seo-edge-industry-grid .seo-edge-industry-grid__search-wrap::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 13.1l3.7 3.7-1.4 1.4-3.7-3.7a7 7 0 1 1 1.4-1.4zM8.5 14a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11z' fill='%23999999'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.elementor-widget-seo-edge-industry-grid .seo-edge-industry-grid__search::placeholder {
    color: #b3b3b3 !important;
}

.elementor-widget-seo-edge-industry-grid .seo-edge-industry-grid__search:focus {
    outline: none !important;
    border-color: #d6d6d6 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.seo-edge-industry-grid__items {
    display: grid;
    grid-template-columns: repeat(2, var(--seo-edge-card-width));
    gap: var(--seo-edge-grid-gap);
    justify-content: center;
}

.seo-edge-industry-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2;
    min-height: 320px;
    /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); */
}

.seo-edge-industry-card__link,
.seo-edge-industry-card__body {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.seo-edge-industry-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

.seo-edge-industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.78) 100%);
}

.seo-edge-industry-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #ffffff;
}

.seo-edge-industry-card__title {
    font-size: 20px;
    font-family: "Montserrat";
    font-weight: 400;
    margin: 0 0 4px;
}

.seo-edge-industry-card__tags {
    font-family: "Montserrat";
    font-weight: 400;
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

.seo-edge-industry-card:hover .seo-edge-industry-card__image {
    transform: scale(1.04);
}

.seo-edge-industry-grid__pagination {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.seo-edge-industry-grid__page {
    border: none;
    background: transparent;
    color: #6f6f6f;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.seo-edge-industry-grid__page.is-active {
    background: #0b0f1a;
    color: #ffffff;
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    justify-content: center;
}

.seo-edge-industry-grid__page.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.seo-edge-industry-grid__pagination {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 18px;
    padding: 6px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.seo-edge-industry-grid__pagination:empty {
    display: none;
}

.seo-edge-industry-grid__page--nav {
    color: #3b3b3b;
    font-weight: 500;
}

.seo-edge-industry-grid__arrow {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
    background-color: transparent;
    color: inherit;
}

.seo-edge-industry-grid__arrow--prev {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 4l-6 6 6 6' fill='none' stroke='%23666666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.seo-edge-industry-grid__arrow--next {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 4l6 6-6 6' fill='none' stroke='%23666666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
    .seo-edge-industry-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .seo-edge-industry-card {
        min-height: 260px;
    }

    .seo-edge-industry-grid__bar {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .seo-edge-industry-grid__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .seo-edge-industry-grid__search {
        width: 100%;
        height: 30px;
        font-size: 10px;
        padding: 4px 8px 4px 26px;
    }

    .seo-edge-industry-grid__count {
        width: 100%;
    }

    .seo-edge-industry-grid__items {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .seo-edge-industry-card {
        min-height: 190px;
    }

    .seo-edge-industry-grid__pagination {
        padding: 4px 8px;
        gap: 8px;
    }

    .seo-edge-industry-grid__page {
        font-size: 12px;
        padding: 4px 6px;
    }

    .seo-edge-industry-grid__page.is-active {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    .elementor-widget-seo-edge-industry-grid .seo-edge-industry-grid__search{
            width: 245px !important;

    }
}
