/*
 * ==========================================================
 * HolosUA Ads Framework 1.0
 * ==========================================================
 */

.hu-ad-slot {
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.hu-ad-label {
    margin-bottom: 7px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}


/*
 * ADMIN PREVIEW
 */

.hu-ad-preview {
    margin-top: 28px;
    margin-bottom: 28px;
}

.hu-ad-preview-box {
    display: grid;
    min-height: 120px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 22px;
    border: 1px dashed #98a2b3;
    border-radius: 12px;
    background:
        repeating-linear-gradient(
            -45deg,
            #f8fafc,
            #f8fafc 8px,
            #f2f4f7 8px,
            #f2f4f7 16px
        );
    color: #667085;
    text-align: center;
}

.hu-ad-preview-box span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hu-ad-preview-box strong {
    color: #344054;
    font-size: 15px;
}

.hu-ad-preview-box small {
    color: #98a2b3;
    font-size: 11px;
}


/*
 * ARTICLE INLINE
 */

.hu-ad-slot--article-inline-1,
.hu-ad-slot--article-inline-2 {
    margin: 34px 0;
}

.hu-ad-slot--article-inline-1.hu-ad-preview
.hu-ad-preview-box,
.hu-ad-slot--article-inline-2.hu-ad-preview
.hu-ad-preview-box {
    min-height: 180px;
}


/*
 * ARTICLE SIDEBAR
 */

.hu-ad-slot--sidebar-1 {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e4e7ec;
}

.hu-ad-slot--sidebar-1.hu-ad-preview
.hu-ad-preview-box {
    min-height: 250px;
}


/*
 * HOME
 */

.hu-ad-slot--home-1 {
    max-width: 970px;
    margin: 38px auto;
}

.hu-ad-slot--home-1.hu-ad-preview
.hu-ad-preview-box {
    min-height: 130px;
}


/*
 * ARCHIVE / CATEGORY
 */

.hu-ad-slot--archive-1 {
    max-width: 970px;
    margin: 36px auto;
}

.hu-ad-slot--archive-1.hu-ad-preview
.hu-ad-preview-box {
    min-height: 130px;
}


/*
 * SIDEBAR TEST PROMO
 */

.hu-test-promo--sidebar {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e4e7ec;
}

.hu-test-promo-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #667085;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .055em;
}

.hu-test-promo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e52329;
}

.hu-test-promo-image {
    display: block;
    margin-bottom: 13px;
    overflow: hidden;
    border-radius: 11px;
    aspect-ratio: 16 / 9;
    background: #eef1f5;
}

.hu-test-promo-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.hu-test-promo-image:hover img {
    transform: scale(1.025);
}

.hu-test-promo-title {
    display: -webkit-box;
    overflow: hidden;
    color: #101828;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.018em;
    line-height: 1.3;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hu-test-promo-title:hover {
    color: var(--hu-blue);
}

.hu-test-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--hu-blue);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.hu-test-promo-all {
    display: block;
    margin-top: 10px;
    color: #7a8495;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.hu-test-promo-all:hover {
    color: var(--hu-blue);
}


/*
 * FOOTER TEST PROMO
 */

.hu-footer
.hu-test-promo--footer {
    display: grid;
    max-width: 300px;
    gap: 5px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid
        rgba(255, 255, 255, .13);
    border-radius: 12px;
    background:
        rgba(255, 255, 255, .035);
}

.hu-footer
.hu-test-promo--footer
.hu-test-promo-eyebrow {
    color: #7fb0ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hu-footer
.hu-test-promo--footer
strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
}

.hu-footer
.hu-test-promo--footer
.hu-test-promo-copy {
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.4;
}

.hu-footer
.hu-test-promo--footer
a {
    width: max-content;
    margin-top: 4px;
    color: #7fb0ff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hu-footer
.hu-test-promo--footer
a:hover {
    color: #fff;
}


/*
 * TABLET
 */

@media (max-width: 1020px) {

    /*
     * Right Google unit is desktop-only.
     */

    .hu-ad-slot--sidebar-1 {
        display: none !important;
    }

    .hu-test-promo--sidebar {
        max-width: 620px;
        margin-top: 30px;
    }
}


/*
 * MOBILE
 */

@media (max-width: 680px) {

    .hu-ad-slot--article-inline-1,
    .hu-ad-slot--article-inline-2 {
        margin: 28px 0;
    }

    .hu-ad-slot--home-1,
    .hu-ad-slot--archive-1 {
        margin: 28px auto;
    }

    .hu-ad-preview-box {
        min-height: 110px;
        padding: 18px 14px;
    }

    .hu-footer
    .hu-test-promo--footer {
        max-width: none;
    }
}
