.ab-sb-blog-widget,
.ab-sb-blog-widget * {
    box-sizing: border-box;
}

.ab-sb-blog-widget {
    --ab-sb-blog-primary: #1961a9;
    --ab-sb-blog-dark: #0d243c;
    --ab-sb-blog-muted: #607287;
    --ab-sb-blog-line: #dce8f4;
    position: relative;
    width: 100%;
}

.ab-sb-blog-search {
    width: 100%;
    margin: 0 0 28px;
}

.ab-sb-blog-search-shell {
    position: relative;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d6e5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 13px 34px rgba(13, 36, 60, .08);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.ab-sb-blog-search-shell:focus-within {
    border-color: rgba(25, 97, 169, .58);
    box-shadow: 0 16px 38px rgba(25, 97, 169, .15), 0 0 0 4px rgba(25, 97, 169, .08);
    transform: translateY(-1px);
}

.ab-sb-blog-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--ab-sb-blog-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

.ab-sb-blog-search-icon svg,
.ab-sb-blog-search-clear svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ab-sb-blog-search-input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 62px 0 56px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--ab-sb-blog-dark);
    box-shadow: none !important;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    appearance: none;
}

.ab-sb-blog-search-input::placeholder {
    color: #708399;
    opacity: 1;
}

.ab-sb-blog-search-input::-webkit-search-cancel-button {
    display: none;
}

.ab-sb-blog-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: #e8f3fd;
    color: var(--ab-sb-blog-primary);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ab-sb-blog-search-clear[hidden] {
    display: none !important;
}

.ab-sb-blog-search-clear:hover,
.ab-sb-blog-search-clear:focus-visible {
    background: var(--ab-sb-blog-primary);
    color: #fff;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.ab-sb-blog-search-status {
    min-height: 0;
    margin: 8px 5px 0;
    color: var(--ab-sb-blog-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.ab-sb-blog-search-status:empty {
    display: none;
}

.ab-sb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    transition: opacity .22s ease, transform .22s ease;
}

.ab-sb-blog-widget.is-loading .ab-sb-blog-grid {
    opacity: .24;
    transform: translateY(12px) scale(.994);
    pointer-events: none;
}

.ab-sb-blog-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    color: var(--ab-sb-blog-dark);
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.ab-sb-blog-widget.is-loading .ab-sb-blog-loading {
    opacity: 1;
    visibility: visible;
}

.ab-sb-blog-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(25, 97, 169, .2);
    border-top-color: var(--ab-sb-blog-primary);
    border-radius: 50%;
    animation: abSbBlogSpin .7s linear infinite;
}

@keyframes abSbBlogSpin {
    to { transform: rotate(360deg); }
}

.ab-sb-blog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(25, 97, 169, .13);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(13, 36, 60, .08);
    transform: translateZ(0);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ab-sb-blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(25, 97, 169, .28);
    box-shadow: 0 24px 52px rgba(13, 36, 60, .14);
}

.ab-sb-blog-card.is-entering {
    opacity: 0;
    transform: translateY(24px) scale(.975);
    animation: abSbBlogCardIn .5s cubic-bezier(.2,.75,.25,1) forwards;
    animation-delay: calc(var(--ab-sb-card-index, 0) * 45ms);
}

@keyframes abSbBlogCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ab-sb-blog-card-media {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden;
    background: #edf5fc;
    font-size: 0;
    line-height: 0;
}

.ab-sb-blog-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.75,.25,1);
}

/* Keep WordPress/Elementor global image rules from forcing height:auto. */
.ab-sb-blog-card-media > img.ab-sb-blog-card-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center;
    vertical-align: top;
}

.ab-sb-blog-card:hover .ab-sb-blog-card-image {
    transform: scale(1.055);
}

.ab-sb-blog-card-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(107, 190, 255, .28), transparent 34%),
        linear-gradient(135deg, #f3f8fd, #dfeefa);
}

.ab-sb-blog-card-placeholder svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: rgba(25, 97, 169, .42);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ab-sb-blog-card-body {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.ab-sb-blog-card-category {
    align-self: flex-start;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin: 0 0 11px;
    padding: 4px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf5ff;
    color: var(--ab-sb-blog-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.2;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ab-sb-blog-card-title {
    display: -webkit-box;
    min-height: 2.72em;
    margin: 0;
    overflow: hidden;
    color: var(--ab-sb-blog-dark);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.36;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ab-sb-blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.ab-sb-blog-card-title a:hover {
    color: var(--ab-sb-blog-primary);
}

.ab-sb-blog-card-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #748397;
    font-size: 12px;
    font-weight: 600;
}

.ab-sb-blog-card-date svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ab-sb-blog-card-excerpt {
    display: -webkit-box;
    min-height: 7.75em;
    margin-top: 15px;
    overflow: hidden;
    color: var(--ab-sb-blog-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.ab-sb-blog-card-button {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 21px;
    padding: 7px 8px 7px 18px;
    overflow: hidden;
    border: 1px solid rgba(25, 97, 169, .16);
    border-radius: 16px;
    background: #eaf5ff;
    box-shadow: 0 8px 22px rgba(25, 97, 169, .10), inset 0 1px 0 rgba(255, 255, 255, .72);
    color: var(--ab-sb-blog-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .18px;
    text-decoration: none;
    transform: translateZ(0);
    transition: background .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.ab-sb-blog-card-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, .34) 48%, transparent 82%);
    opacity: 0;
    transform: translateX(-70%);
    transition: opacity .28s ease, transform .52s ease;
}

.ab-sb-blog-card-button span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform .28s ease;
}

.ab-sb-blog-card-button span::after {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: .35;
    transition: width .28s ease, opacity .28s ease;
}

.ab-sb-blog-card-button svg {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 10px;
    border-radius: 12px;
    background: var(--ab-sb-blog-primary);
    box-shadow: 0 7px 16px rgba(25, 97, 169, .24);
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: background .28s ease, color .28s ease, box-shadow .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
}

.ab-sb-blog-card-button:hover {
    border-color: rgba(25, 97, 169, .42);
    background: var(--ab-sb-blog-primary);
    box-shadow: 0 13px 28px rgba(25, 97, 169, .20), inset 0 1px 0 rgba(255, 255, 255, .16);
    color: #fff;
    transform: translateY(-2px);
}

.ab-sb-blog-card-button:hover::before {
    opacity: 1;
    transform: translateX(70%);
}

.ab-sb-blog-card-button:hover span {
    transform: translateX(3px);
}

.ab-sb-blog-card-button:hover span::after {
    width: 32px;
    opacity: .9;
}

.ab-sb-blog-card-button:hover svg {
    background: #fff;
    box-shadow: 0 9px 20px rgba(4, 34, 63, .20);
    color: var(--ab-sb-blog-primary);
    transform: rotate(-45deg);
}

.ab-sb-blog-card-button:focus-visible {
    outline: 3px solid rgba(25, 97, 169, .24);
    outline-offset: 3px;
}

.ab-sb-blog-card-button:active {
    transform: translateY(0);
}

.ab-sb-blog-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 34px;
    border: 1px dashed rgba(25, 97, 169, .28);
    border-radius: 20px;
    background: #f7fbff;
    color: var(--ab-sb-blog-dark);
    text-align: center;
}

.ab-sb-blog-empty span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #e7f3ff;
    color: var(--ab-sb-blog-primary);
}

.ab-sb-blog-empty svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ab-sb-blog-pagination-wrap {
    margin-top: 34px;
}

.ab-sb-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ab-sb-blog-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ab-sb-blog-page-button {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid #d5e4f1;
    border-radius: 12px;
    background: #fff;
    color: var(--ab-sb-blog-primary);
    box-shadow: 0 7px 18px rgba(13, 36, 60, .055);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.ab-sb-blog-page-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ab-sb-blog-page-button:hover:not(:disabled),
.ab-sb-blog-page-button:focus-visible:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--ab-sb-blog-primary);
    box-shadow: 0 11px 24px rgba(25, 97, 169, .13);
    outline: none;
}

.ab-sb-blog-page-button.is-current {
    border-color: var(--ab-sb-blog-primary);
    background: var(--ab-sb-blog-primary);
    color: #fff;
}

.ab-sb-blog-page-button:disabled {
    opacity: .38;
    cursor: not-allowed;
    box-shadow: none;
}

.ab-sb-blog-page-gap {
    min-width: 24px;
    color: #8290a1;
    text-align: center;
}

@media (max-width: 1024px) {
    .ab-sb-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .ab-sb-blog-card-media {
        height: 210px;
    }
}

@media (max-width: 767px) {
    .ab-sb-blog-search {
        margin-bottom: 20px;
    }

    .ab-sb-blog-search-shell,
    .ab-sb-blog-search-input {
        min-height: 50px;
    }

    .ab-sb-blog-search-shell {
        border-radius: 14px;
    }

    .ab-sb-blog-search-icon {
        left: 15px;
        width: 19px;
        height: 19px;
    }

    .ab-sb-blog-search-input {
        padding: 0 52px 0 45px !important;
        font-size: 13px;
    }

    .ab-sb-blog-search-clear {
        right: 8px;
        width: 34px;
        height: 34px;
        padding: 9px;
    }

    .ab-sb-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ab-sb-blog-card {
        border-radius: 15px;
    }

    .ab-sb-blog-card-media {
        height: 145px;
    }

    .ab-sb-blog-card-body {
        padding: 14px;
    }

    .ab-sb-blog-card-category {
        min-height: 22px;
        margin-bottom: 8px;
        padding: 3px 7px;
        font-size: 8px;
    }

    .ab-sb-blog-card-title {
        min-height: 2.7em;
        font-size: 15px;
        line-height: 1.35;
    }

    .ab-sb-blog-card-date {
        gap: 5px;
        margin-top: 9px;
        font-size: 10px;
    }

    .ab-sb-blog-card-date svg {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .ab-sb-blog-card-excerpt {
        min-height: 7.25em;
        margin-top: 10px;
        font-size: 11px;
        line-height: 1.45;
    }

    .ab-sb-blog-card-button {
        min-height: 44px;
        margin-top: 14px;
        gap: 9px;
        padding: 5px 6px 5px 13px;
        border-radius: 12px;
        font-size: 11px;
    }

    .ab-sb-blog-card-button span {
        gap: 6px;
    }

    .ab-sb-blog-card-button span::after {
        width: 14px;
        height: 1.5px;
    }

    .ab-sb-blog-card-button:hover span::after {
        width: 20px;
    }

    .ab-sb-blog-card-button svg {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        padding: 8px;
        border-radius: 9px;
    }

    .ab-sb-blog-pagination-wrap {
        margin-top: 25px;
        overflow-x: auto;
        padding: 2px 2px 7px;
        scrollbar-width: thin;
    }

    .ab-sb-blog-pagination {
        width: max-content;
        min-width: 100%;
    }

    .ab-sb-blog-page-button {
        min-width: 38px;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 11px;
    }

    .ab-sb-blog-page-button.is-prev span,
    .ab-sb-blog-page-button.is-next span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-sb-blog-search-shell,
    .ab-sb-blog-search-clear,
    .ab-sb-blog-card,
    .ab-sb-blog-card-image,
    .ab-sb-blog-card-button,
    .ab-sb-blog-card-button::before,
    .ab-sb-blog-card-button span,
    .ab-sb-blog-card-button span::after,
    .ab-sb-blog-card-button svg,
    .ab-sb-blog-grid,
    .ab-sb-blog-page-button {
        transition: none;
    }

    .ab-sb-blog-card.is-entering,
    .ab-sb-blog-spinner {
        animation: none;
    }
}

/* Dedicated WordPress blog search results page. */
.ab-sb-blog-search-page {
    width: 100%;
    min-height: 55vh;
    padding: clamp(42px, 5vw, 76px) 24px clamp(64px, 7vw, 104px);
    background: #fff;
}

.ab-sb-blog-search-page-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.ab-sb-blog-search-results-widget .ab-sb-blog-search {
    width: min(860px, 100%);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 36px;
}

.ab-sb-blog-search-results-widget .ab-sb-blog-search-status {
    text-align: center;
}

@media (max-width: 767px) {
    .ab-sb-blog-search-page {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* --------------------------------------------------------------------------
 * v2.0.8 horizontal professional blog cards: two columns, one on mobile.
 * -------------------------------------------------------------------------- */
.ab-sb-blog-widget .ab-sb-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.ab-sb-blog-widget .ab-sb-blog-card {
    min-width: 0;
    min-height: 210px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(25, 97, 169, .14);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(13, 36, 60, .075);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ab-sb-blog-widget .ab-sb-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 97, 169, .28);
    box-shadow: 0 24px 58px rgba(13, 36, 60, .13);
}

.ab-sb-blog-widget .ab-sb-blog-card-media {
    flex: 0 0 190px;
    width: 190px;
    height: auto !important;
    min-height: 210px;
    align-self: stretch;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(145deg, #eaf5ff, #d9ebfa);
}

.ab-sb-blog-widget .ab-sb-blog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 72%, rgba(9, 35, 59, .12));
    pointer-events: none;
}

.ab-sb-blog-widget .ab-sb-blog-card-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.ab-sb-blog-widget .ab-sb-blog-card:hover .ab-sb-blog-card-image {
    transform: scale(1.055);
}

.ab-sb-blog-widget .ab-sb-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-sb-blog-widget .ab-sb-blog-card-category {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    max-width: calc(190px - 28px);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(255, 255, 255, .90);
    color: var(--ab-sb-blog-primary);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .045em;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(9, 35, 59, .12);
    backdrop-filter: blur(8px);
}

.ab-sb-blog-widget .ab-sb-blog-card-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(25, 97, 169, .055), transparent 38%),
        transparent;
}

.ab-sb-blog-widget .ab-sb-blog-card-title {
    order: 1;
    min-height: 0;
    margin: 0 0 6px;
    font-size: clamp(18px, 1.45vw, 23px);
    font-weight: 850;
    line-height: 1.24;
    letter-spacing: -.025em;
}

.ab-sb-blog-widget .ab-sb-blog-card-title a {
    color: var(--ab-sb-blog-dark);
    text-decoration: none;
    transition: color .2s ease;
}

.ab-sb-blog-widget .ab-sb-blog-card-title a:hover,
.ab-sb-blog-widget .ab-sb-blog-card-title a:focus-visible {
    color: var(--ab-sb-blog-primary);
    outline: none;
}

.ab-sb-blog-widget .ab-sb-blog-card-excerpt {
    order: 2;
    margin: 0 0 18px;
    color: var(--ab-sb-blog-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ab-sb-blog-widget .ab-sb-blog-card-footer {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(25, 97, 169, .10);
}

.ab-sb-blog-widget .ab-sb-blog-card-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #71849A;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

.ab-sb-blog-widget .ab-sb-blog-card-date svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.ab-sb-blog-widget .ab-sb-blog-card-button {
    width: auto;
    min-width: 112px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 9px 11px 9px 15px;
    border: 1px solid rgba(25, 97, 169, .18);
    border-radius: 12px;
    background: #EAF5FF;
    color: var(--ab-sb-blog-primary);
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}

.ab-sb-blog-widget .ab-sb-blog-card-button svg {
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 8px;
    background: var(--ab-sb-blog-primary);
    color: #FFFFFF;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform .22s ease, background .22s ease;
}

.ab-sb-blog-widget .ab-sb-blog-card-button:hover,
.ab-sb-blog-widget .ab-sb-blog-card-button:focus-visible {
    border-color: var(--ab-sb-blog-primary);
    background: var(--ab-sb-blog-primary);
    color: #FFFFFF;
    transform: translateY(-1px);
    outline: none;
}

.ab-sb-blog-widget .ab-sb-blog-card-button:hover svg,
.ab-sb-blog-widget .ab-sb-blog-card-button:focus-visible svg {
    background: rgba(255, 255, 255, .18);
    transform: translateX(2px);
}

@media (max-width: 1024px) {
    .ab-sb-blog-widget .ab-sb-blog-card-media {
        flex-basis: 165px;
        width: 165px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-category {
        max-width: calc(165px - 28px);
    }

    .ab-sb-blog-widget .ab-sb-blog-card-body {
        padding: 19px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .ab-sb-blog-widget .ab-sb-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card {
        min-height: 190px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-media {
        flex-basis: 135px;
        width: 135px;
        min-height: 190px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-category {
        left: 10px;
        top: 10px;
        max-width: calc(135px - 20px);
        padding: 5px 8px;
        font-size: 9px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-body {
        padding: 17px 15px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-title {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-excerpt {
        margin-bottom: 12px;
        font-size: 12px;
        line-height: 1.55;
        -webkit-line-clamp: 3;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-footer {
        gap: 9px;
        padding-top: 10px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-button {
        min-width: 104px;
        min-height: 36px;
        padding: 7px 9px 7px 12px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-button svg {
        width: 23px;
        height: 23px;
    }
}

@media (max-width: 420px) {
    .ab-sb-blog-widget .ab-sb-blog-card-media {
        flex-basis: 120px;
        width: 120px;
    }

    .ab-sb-blog-widget .ab-sb-blog-card-category {
        max-width: calc(120px - 20px);
    }

    .ab-sb-blog-widget .ab-sb-blog-card-date {
        display: none;
    }
}


/* v2.1.8: reduce the title-to-description gap and keep the featured image stretched to the full horizontal card height. */
