.oasb-block {
    width: 100%;
    padding: 12px 18px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.oasb-heading {
    display: flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 2px 6px 0;
}

.oasb-heading h3 {
    position: relative;
    z-index: 0;
    display: inline-block;
    margin: 0;
    padding: 0 3px 3px;
    color: #2563eb;
    font-size: 17px;
    font-style: italic;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
}

.oasb-heading h3::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: 0;
    left: 20%;
    z-index: -1;
    height: 8px;
    background: #ffd43b;
    border-radius: 999px;
}

.oasb-items {
    display: grid;
    grid-template-columns: repeat(var(--oasb-cols, 3), minmax(0, var(--oasb-card-width, 330px)));
    gap: 14px 10px;
    justify-content: start;
}

.oasb-card {
    --oasb-line: #f3c64c;
    --oasb-soft: #fffaf0;
    position: relative;
    display: block;
    width: min(100%, var(--oasb-card-width, 330px));
    height: var(--oasb-card-height, 76px);
    min-width: 0;
    padding: 12px 28px 10px 24px;
    overflow: hidden;
    color: var(--oasb-text, #243044);
    background:
        linear-gradient(105deg, rgba(255, 255, 255, .98), rgba(255, 252, 241, 0.9)), var(--oasb-bg, #fff);
    border: 1px solid var(--oasb-line);
    border-radius: 12px;
    box-shadow: none;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oasb-card:hover,
.oasb-card:focus {
    color: var(--oasb-text, #243044);
    border-color: #efb51f;
    box-shadow: 0 12px 24px rgba(212, 151, 24, .14);
    text-decoration: none;
}

.oasb-card--compact:hover,
.oasb-card--compact:focus {
    color: var(--oasb-text, #243044);
    border-color: #4f93fd;
    box-shadow: 0 12px 24px rgba(54, 107, 232, 0.14);
    text-decoration: none;
}

.oasb-badge {
    position: absolute;
    top: 4px;
    left: -25px;
    z-index: 4;
    width: 76px;
    height: 18px;
    padding: 0 18px;
    overflow: hidden;
    color: #1f2937;
    background: linear-gradient(90deg, #ffd84c, #ffe98b);
    border-radius: 0;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    text-overflow: ellipsis;
    transform: rotate(-45deg);
    transform-origin: center;
    white-space: nowrap;
}

.oasb-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    z-index: 0;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-radius: 50%;
    opacity: .36;
    transform: translateY(-50%);
    pointer-events: none;
}

.oasb-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  filter: none;
  opacity: .36;
  border-radius: 50%;
}

.oasb-letter {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: #9aa4b2;
    background: #eef1f6;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.oasb-body {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding-left: 4px;
}
@media (max-width: 767px) {
    .oasb-body {
    padding-left: 9px;
}
}

.oasb-title-row {
    position: relative;
    z-index: 2;
    min-width: 0;
    font-size: 15px;
}

.oasb-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.oasb-summary {
    display: block;
    margin: 0px 0 0;
    overflow: hidden;
    color: #67758b;
    font-size: 13px;
    /*! font-weight: 600; */
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oasb-expire {
    flex: 0 0 auto;
    max-width: 82px;
    padding: 2px 8px;
    overflow: hidden;
    color: #6c7890;
    background: #eef1f5;
    border-radius: 5px;
    font-size: 12px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oasb-arrow {
    display: none;
}

.oasb-card--compact {
    height: var(--oasb-card-height, 76px);
    padding: 14px 58px 12px 22px;
    border-color: #d8e3f0;
    background: linear-gradient(105deg, #fff, #f8fbff);
}

.oasb-card--compact .oasb-badge {
    color: #0f5fbf;
    background: linear-gradient(90deg, #dff0ff, #eef8ff);
}

.oasb-card--compact .oasb-title {
    font-size: 15px;
    font-style: normal;
}

.oasb-card--compact .oasb-summary {
    margin-top: 1px;
    font-size: 13px;
}

.oasb-card--compact .oasb-icon {
    width: 44px;
    height: 44px;
    right: 12px;
}

.oasb-card--banner {
    height: var(--oasb-card-height, 76px);
    grid-column: span 2;
    padding: 15px 84px 12px 28px;
    border-color: #f4bc34;
    background:
        linear-gradient(100deg, #fff 0%, #fff8df 100%),
        var(--oasb-bg, #fff);
}

.oasb-card--banner .oasb-title {
    font-size: 19px;
}

.oasb-card--banner .oasb-icon {
    width: 70px;
    height: 70px;
    right: 20px;
    opacity: .18;
}

.oasb-card--spotlight {
    height: var(--oasb-card-height, 76px);
    padding: 15px 78px 12px 26px;
    color: #172033;
    border-color: #f5c542;
    background:
        linear-gradient(115deg, #fff 0%, #fff5cf 54%, #ffe993 100%),
        var(--oasb-bg, #fff);
}

.oasb-card--spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.oasb-card--spotlight .oasb-title {
    color: #111827;
}

.oasb-card--spotlight .oasb-summary {
    color: #526078;
}

.oasb-card--spotlight .oasb-badge {
    color: #111827;
    background: linear-gradient(90deg, #ffcf24, #ffe47a);
}

.oasb-card--spotlight .oasb-icon {
    width: 68px;
    height: 68px;
    opacity: .38;
}

.oasb-card--badge-right .oasb-badge {
    left: auto;
    right: -22px;
    transform: rotate(45deg);
}

.oasb-block--banner .oasb-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oasb-native-card {
    min-width: 0;
}

.io-sidebar-widget .oasb-block,
.sidebar .oasb-block {
    padding: 12px;
    border-radius: 12px;
    box-shadow: none;
}

.io-sidebar-widget .oasb-items,
.sidebar .oasb-items {
    grid-template-columns: 1fr;
    gap: 10px;
}

.io-sidebar-widget .oasb-card,
.sidebar .oasb-card {
    height: var(--oasb-card-height, 76px);
    padding: 14px 56px 12px 20px;
}

.io-sidebar-widget .oasb-card--banner,
.sidebar .oasb-card--banner {
    grid-column: span 1;
}

.io-sidebar-widget .oasb-title,
.sidebar .oasb-title {
    font-size: 16px;
}

.io-sidebar-widget .oasb-summary,
.sidebar .oasb-summary {
    margin-top: 5px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .oasb-items,
    .oasb-block--banner .oasb-items {
        grid-template-columns: repeat(var(--oasb-cols, 3), minmax(0, var(--oasb-card-width, 330px)));
        gap: 14px;
    }

    .oasb-card--banner {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .oasb-block {
        padding: 13px 10px 16px;
        border-radius: 14px;
    }

    .oasb-heading {
        margin-bottom: 12px;
        padding-left: 8px;
    }

    .oasb-heading h3 {
        font-size: 16px;
    }

    .oasb-items,
    .io-sidebar-widget .oasb-items,
    .sidebar .oasb-items,
    .oasb-block--banner .oasb-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .oasb-card,
    .io-sidebar-widget .oasb-card,
    .sidebar .oasb-card,
    .oasb-card--banner,
    .oasb-card--spotlight {
        width: 100%;
        height: var(--oasb-card-height, 76px);
        padding: 12px 42px 10px 15px;
        border-radius: 10px;
    }

    .oasb-title,
    .oasb-card--banner .oasb-title {
        font-size: 14px;
        line-height: 1.25;
    }

    .oasb-summary {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.25;
    }

    .oasb-icon,
    .oasb-card--banner .oasb-icon,
    .oasb-card--spotlight .oasb-icon {
        right: 9px;
        width: 36px;
        height: 36px;
    }

    .oasb-card::after {
        right: 8px;
        bottom: 12px;
        width: 34px;
        height: 34px;
    }

    .oasb-badge {
        top: 5px;
        left: -24px;
        width: 70px;
        height: 16px;
        padding: 0 16px;
        font-size: 10px;
        line-height: 16px;
    }

    .oasb-card--badge-right .oasb-badge {
        right: -24px;
    }

    .oasb-expire {
        display: none;
    }
}
