/* Shared promotion pages and the promotions archive. */

.bl-promo__container {
    padding-bottom: 56px;
}

.bl-promo__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 22px;
    color: rgba(44, 49, 57, .6);
    font-size: 14px;
    line-height: 1.4;
}

.bl-promo__breadcrumbs a {
    color: #d71920;
    font-size: inherit;
    text-decoration: none;
}

.bl-promo__breadcrumbs a:hover {
    text-decoration: underline;
}

.bl-promo__breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bl-promo__date {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 3px;
    background: #d71920;
    color: #fff;
    font-family: var(--font-bold);
    font-size: 14px;
    line-height: 1.2;
}

.bl-promo__header {
    max-width: 900px;
    margin-bottom: 30px;
}

.bl-promo__header h1 {
    margin: 0;
    color: var(--black);
    font-family: var(--font-bold);
    font-size: 32px;
    line-height: 1.25;
    text-transform: uppercase;
}

.bl-promo__intro {
    max-width: 900px;
}

.bl-promo__intro--with-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 48px;
    max-width: none;
    align-items: start;
}

.bl-promo__content {
    min-width: 0;
}

.bl-promo__content > :first-child {
    margin-top: 0;
}

.bl-promo__content > :last-child {
    margin-bottom: 0;
}

.bl-promo__content h2 {
    margin-top: 36px;
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.3;
}

.bl-promo__content ul,
.bl-promo__content ol {
    padding-left: 24px;
}

.bl-promo__content ul li,
.bl-promo__content ol li {
    margin-left: 0;
}

.bl-promo__visual {
    width: 100%;
    max-width: 340px;
    justify-self: end;
}

.bl-promo__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.bl-promo__products {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid #e5e7eb;
}

.bl-promo__products > h2 {
    margin: 0 0 24px;
    color: var(--black);
    font-family: var(--font-bold);
    font-size: 24px;
    line-height: 1.3;
}

.bl-promo__products .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
}

.bl-promo__products .woocommerce ul.products::before,
.bl-promo__products .woocommerce ul.products::after {
    display: none !important;
}

.bl-promo__products .woocommerce ul.products > * {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

.bl-promo__products .product-card {
    height: 100%;
    overflow: hidden;
    border-width: 1px;
    border-radius: 4px;
    background: #fff;
}

.bl-promo__products .product-card .image {
    height: 220px;
}

.bl-promo__products .product-card .card-items {
    gap: 20px;
}

.bl-promotions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bl-promotions-grid .item {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.bl-promotions-grid .item .img {
    width: 100%;
    height: auto;
    aspect-ratio: 545 / 893;
    background-size: cover;
}

@media (max-width: 980px) {
    .bl-promo__intro--with-image {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

    .bl-promo__products .woocommerce ul.products,
    .bl-promotions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bl-promo__container {
        padding-bottom: 40px;
    }

    .bl-promo__breadcrumbs {
        margin-bottom: 18px;
    }

    .bl-promo__date {
        margin-bottom: 14px;
    }

    .bl-promo__header {
        margin-bottom: 22px;
    }

    .bl-promo__header h1 {
        font-size: 25px;
        line-height: 1.25;
    }

    .bl-promo__intro--with-image {
        display: block;
    }

    .bl-promo__visual {
		display: block;
		max-width: 420px;
		margin: 28px auto 0;
    }

    .bl-promo__content h2 {
        margin-top: 30px;
        margin-bottom: 16px;
        font-size: 22px;
    }

    .bl-promo__content p,
    .bl-promo__content strong,
    .bl-promo__content ul li,
    .bl-promo__content ol li {
        font-size: 16px;
        line-height: 1.5;
    }

    .bl-promo__products {
        margin-top: 34px;
        padding-top: 28px;
    }

    .bl-promo__products > h2 {
        font-size: 22px;
    }

    .bl-promo__products .woocommerce ul.products,
    .bl-promotions-grid {
        grid-template-columns: 1fr;
    }

    .bl-promo__products .product-card .image {
        height: 210px;
    }
}

@media (max-width: 390px) {
    .bl-promo__header h1 {
        font-size: 23px;
    }

    .bl-promo__content ul,
    .bl-promo__content ol {
        padding-left: 20px;
    }
}
