.a5-ads {
    --a5-team-style-ready: 1;
    /* The markup stays hidden when this stylesheet cannot load. */
    display: block !important;
    background: #edf1f7;
    padding: 8px 0 12px;
    color: #25324a;
}
.a5-ads__label {
    margin: 0 0 5px;
    color: #46536a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .05em;
    text-align: right;
    text-transform: uppercase;
}
.a5-ads__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}
.a5-ads__body.a5-ads__body--controls {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
}
.a5-ads__track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    margin: 0;
    padding: 2px 0;
    list-style: none;
}
.a5-ads__track:focus-within {
    scroll-behavior: auto;
}
.a5-ads__card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
}
.a5-ads__link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    height: 78px;
    color: #25324a;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 6px;
    text-decoration: none;
}
.a5-ads__link:hover, .a5-ads__link:focus {
    color: #16477b;
    text-decoration: underline;
}
.a5-ads__link:focus, .a5-ads__control:focus {
    outline: 2px solid #1672ba;
    outline-offset: -2px;
}
.a5-ads__logo {
    display: block;
    width: 152px;
    max-width: 100%;
    height: 46px;
    object-fit: contain;
}
.a5-ads__single-label,
.a5-ads__details,
.a5-ads__description-mobile,
.a5-ads__visit {
    display: none;
}
.a5-ads__control {
    border: 0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #174c80;
    background: #dce7f5;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}
.a5-ads__control[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
}
.a5-ads__control[hidden] {
    display: none;
}
.a5-ads__body--controls .a5-ads__track {
    scrollbar-width: none;
}
.a5-ads__body--controls .a5-ads__track::-webkit-scrollbar {
    display: none;
}
@media (min-width: 768px) {
    .a5-ads__card { flex-basis: calc((100% - 16px) / 3); }
    .a5-ads__track { justify-content: safe center; }
}
@media (min-width: 992px) {
    .a5-ads__card { flex-basis: calc((100% - 24px) / 4); }
}
@media (min-width: 1200px) {
    .a5-ads__card { flex-basis: calc((100% - 32px) / 5); }
}

@media (max-width: 767px) {
    .a5-ads { padding: 6px 0 8px; }
    .a5-ads__label { line-height: 1.2; }
    .a5-ads__link {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 8px;
        height: auto;
        min-height: 78px;
        padding: 8px;
        border-left: 3px solid #299bff;
    }
    .a5-ads__logo { height: 42px; }
    .a5-ads__details {
        display: block;
        min-width: 0;
        padding-left: 8px;
        border-left: 1px solid #e3e8f0;
        overflow-wrap: anywhere;
    }
    .a5-ads__business {
        display: block;
        font-size: 14px;
        line-height: 1.25;
        color: #174c80;
    }
    .a5-ads__description { display: none; }
    .a5-ads__description-mobile {
        display: block;
        margin-top: 3px;
        font-size: 13px;
        line-height: 1.35;
    }
}

@media (min-width: 992px) {
    .a5-ads--single .a5-ads__label { display: none; }
    .a5-ads--single .a5-ads__card { flex-basis: 100%; }
    .a5-ads--single .a5-ads__link {
        display: grid;
        grid-template-columns: 90px minmax(120px, 176px) minmax(0, 1fr) auto;
        gap: 18px;
        min-height: 78px;
        height: auto;
        padding: 10px 18px;
        border-left: 4px solid #299bff;
    }
    .a5-ads--single .a5-ads__link:hover,
    .a5-ads--single .a5-ads__link:focus {
        text-decoration: none;
    }
    .a5-ads--single .a5-ads__logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    .a5-ads__single-label {
        display: block;
        grid-column: 1;
        grid-row: 1;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }
    .a5-ads--single .a5-ads__details {
        display: block;
        padding-left: 18px;
        border-left: 1px solid #e3e8f0;
        overflow-wrap: anywhere;
    }
    .a5-ads--single .a5-ads__business {
        display: block;
        font-size: 15px;
        line-height: 1.25;
    }
    .a5-ads--single .a5-ads__description {
        display: block;
        margin-top: 3px;
        font-size: 13px;
        line-height: 1.4;
    }
    .a5-ads--single .a5-ads__visit {
        display: block;
        color: #155ab1;
        font-size: 13px;
        font-weight: 700;
        text-decoration: underline;
        white-space: nowrap;
    }
}
