.jj-icl {
    margin: 42px 0;
    padding: 0;
}

.jj-icl-heading {
    margin: 0 0 18px;
    padding: 0;
}

.jj-icl-grid,
.jj-icl-grid > li,
.jj-icl-grid > li::before,
.jj-icl-grid > li::after {
    list-style: none !important;
    list-style-type: none !important;
    background-image: none !important;
}

.jj-icl-grid {
    display: grid;
    grid-template-columns: repeat(var(--jj-icl-desktop-cols, 3), minmax(0, 1fr));
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

.jj-icl-grid > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.jj-icl-grid > li::before,
.jj-icl-grid > li::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jj-icl-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    padding: 11px 15px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .025);
    color: inherit !important;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.jj-icl-link::before,
.jj-icl-link::after {
    background-image: none !important;
}

.jj-icl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .045);
    color: currentColor;
}

.jj-icl-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jj-icl-name {
    display: block;
    min-width: 0;
    font-weight: 600;
    line-height: 1.35;
}

.jj-icl-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    opacity: .5;
    transition: transform .18s ease, opacity .18s ease;
}

.jj-icl-link:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, .22);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .065);
    background: #fff;
}

.jj-icl-link:hover .jj-icl-arrow {
    transform: translateX(3px);
    opacity: .9;
}

.jj-icl-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.jj-icl--no-icons .jj-icl-link {
    grid-template-columns: minmax(0, 1fr) 20px;
}

@media (max-width: 900px) {
    .jj-icl-grid {
        grid-template-columns: repeat(var(--jj-icl-tablet-cols, 2), minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .jj-icl {
        margin: 32px 0;
    }

    .jj-icl-grid {
        grid-template-columns: 1fr;
    }

    .jj-icl-link {
        min-height: 58px;
        padding: 10px 13px;
    }
}

/* Automatic blocks are independent sections, including append fallback on full-width templates. */
.jj-icl-auto-section { width:100%; clear:both; box-sizing:border-box; padding-inline:var(--container_padding_default_left, 24px) var(--container_padding_default_right, 24px); }
.jj-icl-auto-inner { width:100%; max-width:var(--jj-icl-auto-width, var(--site_width, 1200px)); margin-inline:auto; min-width:0; }
.jj-icl-auto-inner > .jj-icl { width:100%; }
@media(max-width:640px) { .jj-icl-auto-section { padding-inline:20px; } }
