/* Recently viewed spotlight */
#interestBasedCards.dag-recently-viewed {
    --dag-spotlight-accent: #111111;
    --dag-spotlight-dark: #000000;
    --dag-spotlight-text: #111111;
    --dag-spotlight-border: #e5e5e5;
    --dag-spotlight-heading-font: inherit;
    --dag-spotlight-body-font: inherit;
    --dag-spotlight-row-inset: 52px;
    background: #f8fafb !important;
    background-image: none !important;
    border-bottom: 1px solid var(--dag-spotlight-border);
    padding: 16px 0 !important;
    position: relative;
    z-index: 4;
}

#interestBasedCards.dag-recently-viewed .container {
    padding-left: 15px;
    padding-right: 15px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight {
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    position: relative;
    width: calc(100% - (var(--dag-spotlight-row-inset) * 2));
}

#interestBasedCards.dag-recently-viewed #dvCards {
    margin: 0 auto !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

#interestBasedCards.dag-recently-viewed #dvCards .slick-list {
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
}

#interestBasedCards.dag-recently-viewed #dvCards .slick-track {
    align-items: stretch;
    display: flex;
    margin: 0 auto;
}

#interestBasedCards.dag-recently-viewed #dvCards .slick-slide {
    height: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#interestBasedCards.dag-recently-viewed #dvCards .slick-slide > div {
    height: 100%;
}

#interestBasedCards.dag-recently-viewed #dvCards .card {
    background: #fff;
    border: 1px solid var(--dag-spotlight-border);
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    height: 100%;
    margin: 0;
    max-width: none;
    min-height: 202px;
    overflow: hidden;
    perspective: none;
    position: relative;
    transform: none !important;
}

#interestBasedCards.dag-recently-viewed #dvCards .front,
#interestBasedCards.dag-recently-viewed #dvCards .back {
    backface-visibility: visible;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    min-height: 0;
    perspective: none;
    position: static;
    transform: none !important;
    transition: none;
    width: auto;
}

#interestBasedCards.dag-recently-viewed #dvCards .front {
    align-items: center;
    background: #fff;
    border-right: 1px solid var(--dag-spotlight-border);
    display: flex;
    overflow: hidden;
    padding: 14px 18px;
}

#interestBasedCards.dag-recently-viewed #dvCards .front .card-content {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: #fff;
    display: flex;
    justify-content: center;
    height: auto;
    overflow: hidden;
    width: 100%;
}

#interestBasedCards.dag-recently-viewed #dvCards .bc-img {
    background: #fff;
    display: block;
    height: 100% !important;
    object-fit: contain;
    width: 100%;
}

#interestBasedCards.dag-recently-viewed #dvCards .bc-img.is-placeholder {
    object-fit: contain;
    padding: 6px;
}

#interestBasedCards.dag-recently-viewed #dvCards .back {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 28px 16px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight.has-multiple-items #dvCards .back {
    padding-right: 225px;
}

#interestBasedCards.dag-recently-viewed #dvCards .back .bc-title {
    align-items: flex-start;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--dag-spotlight-text);
    display: block;
    font-family: var(--dag-spotlight-heading-font);
    font-size: clamp(23px, 1.8vw, 30px);
    font-weight: 600;
    line-height: 1.12;
    min-height: 0 !important;
    padding: 5px 0 0;
    text-align: left;
}

#interestBasedCards.dag-recently-viewed #dvCards .back .card-content {
    align-items: flex-start;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    height: auto !important;
    justify-content: flex-start;
    transform: none;
    width: 100%;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__eyebrow {
    align-items: center;
    color: var(--dag-spotlight-accent);
    display: flex;
    font-family: var(--dag-spotlight-heading-font);
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__eyebrow .fa-history {
    font-size: 17px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__copy {
    color: #4a5661;
    font-family: var(--dag-spotlight-body-font);
    font-size: 14px;
    line-height: 1.45;
    margin: 5px 0 12px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__controls,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__primary-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions {
    background: #fff;
    border: 1px solid var(--dag-spotlight-border);
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 38, 74, .13);
    display: block;
    float: none;
    left: 0;
    margin: 0;
    max-width: calc(100vw - 24px);
    min-width: 200px;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    width: 240px;
    z-index: 20;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions[hidden] {
    display: none !important;
}

#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta {
    align-items: center;
    border: 1px solid var(--dag-spotlight-accent);
    border-radius: 2px;
    box-shadow: none;
    display: inline-flex;
    font-family: var(--dag-spotlight-heading-font);
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    left: auto;
    line-height: 1.15;
    margin: 0;
    min-height: 36px;
    padding: 8px 17px;
    position: static;
    text-decoration: none;
    width: auto;
}

#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta--primary {
    background: var(--dag-spotlight-accent);
    color: #fff !important;
    min-width: 112px;
}

#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta--secondary {
    background: #fff;
    color: var(--dag-spotlight-accent) !important;
    flex: 1 1 140px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions a.btn.dag-interest-spotlight__cta--secondary {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    border-radius: 0;
    color: var(--dag-spotlight-text) !important;
    display: flex;
    justify-content: flex-start;
    min-height: 40px;
    padding: 10px 14px;
    text-align: left;
    width: 100%;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions a.btn.dag-interest-spotlight__cta--secondary:last-child {
    border-bottom: 0;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions a.btn.dag-interest-spotlight__cta--secondary:hover,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__secondary-actions a.btn.dag-interest-spotlight__cta--secondary:focus {
    background: #f3f7fa;
    border-color: #edf0f2;
    box-shadow: none !important;
    color: var(--dag-spotlight-accent) !important;
    outline: 0;
}

#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta:hover,
#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta:focus {
    background: var(--dag-spotlight-dark);
    border-color: var(--dag-spotlight-dark);
    color: #fff !important;
}

#interestBasedCards.dag-recently-viewed a.btn.dag-interest-spotlight__cta:focus,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__dismiss:focus {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--dag-spotlight-accent);
    outline: 0;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore:focus,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button:focus {
    box-shadow: none !important;
    outline: 0 !important;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore:focus-visible,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button:focus-visible {
    box-shadow: none !important;
    outline: 2px solid rgba(0, 83, 153, .7) !important;
    outline-offset: 2px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore {
    align-items: center;
    background: #fff;
    border: 1px solid var(--dag-spotlight-accent);
    border-radius: 2px;
    color: var(--dag-spotlight-accent);
    display: inline-flex;
    font-family: var(--dag-spotlight-heading-font);
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
    justify-content: center;
    min-height: 36px;
    min-width: 112px;
    padding: 8px 15px;
    text-transform: uppercase;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore:hover,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore[aria-expanded="true"] {
    background: var(--dag-spotlight-dark);
    border-color: var(--dag-spotlight-dark);
    color: #fff;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore .fa-chevron-down,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore .fa-chevron-up {
    font-size: 11px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__dismiss {
    background: transparent;
    border: 0;
    color: #586570;
    font-family: var(--dag-spotlight-body-font);
    font-size: 13px;
    margin: 0 0 0 2px;
    padding: 3px 5px;
    text-decoration: underline;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__dismiss:hover,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__dismiss:focus {
    color: var(--dag-spotlight-accent);
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-controls {
    align-items: center;
    display: none;
    gap: 15px;
    justify-content: center;
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-controls.is-visible {
    display: flex;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--dag-spotlight-text);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    padding: 4px 7px;
    width: 34px;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-left,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-right {
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button:hover,
#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button:focus {
    color: var(--dag-spotlight-accent);
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button:disabled {
    color: #aeb7bf;
    cursor: default;
    opacity: .55;
}

#interestBasedCards.dag-recently-viewed .dag-interest-spotlight__position {
    color: var(--dag-spotlight-text);
    display: none;
    font-family: var(--dag-spotlight-body-font);
    font-size: 15px;
    letter-spacing: .02em;
    min-width: 48px;
    position: static;
    text-align: center;
    text-transform: none;
}

@media (max-width: 767px) {
    #interestBasedCards.dag-recently-viewed {
        padding: 14px 0 !important;
    }

    #interestBasedCards.dag-recently-viewed .container {
        padding-left: 4px;
        padding-right: 4px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight {
        width: 100%;
    }

    #interestBasedCards.dag-recently-viewed #dvCards {
        max-width: 100% !important;
        padding: 0 !important;
    }

    #interestBasedCards.dag-recently-viewed #dvCards .card {
        display: block;
        min-height: 0;
    }

    #interestBasedCards.dag-recently-viewed #dvCards .front {
        border-bottom: 1px solid var(--dag-spotlight-border);
        border-right: 0;
        padding: 12px;
    }

    #interestBasedCards.dag-recently-viewed #dvCards .back {
        padding: 19px 18px 18px;
    }

    #interestBasedCards.dag-recently-viewed #dvCards .back .bc-title {
        font-size: 25px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__copy {
        font-size: 15px;
    }

    #interestBasedCards.dag-recently-viewed #dvCards a.btn.dag-interest-spotlight__cta {
        flex: 1 1 100%;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    #interestBasedCards.dag-recently-viewed #dvCards a.btn.dag-interest-spotlight__cta--primary {
        min-width: 100px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__controls {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__primary-actions,
    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__explore {
        min-width: 0;
        width: 100%;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__primary-actions a.btn {
        width: 100%;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__dismiss {
        flex: 0 0 100%;
        grid-column: 1 / -1;
        margin: 2px 0 0;
        min-height: 38px;
        text-align: left;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight.has-multiple-items #dvCards .back {
        padding-bottom: 96px;
        padding-right: 18px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-controls {
        bottom: 34px;
        right: 16px;
        top: auto;
        transform: none;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button {
        height: 44px;
        width: 30px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-left,
    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-right {
        font-size: 29px;
    }
}

@media (max-width: 420px) {
    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight.has-multiple-items #dvCards .back {
        padding-bottom: 100px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-controls {
        bottom: 38px;
        gap: 10px;
        right: 14px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button {
        height: 40px;
        width: 28px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-left,
    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__carousel-button .fa-chevron-right {
        font-size: 27px;
    }

    #interestBasedCards.dag-recently-viewed .dag-interest-spotlight__position {
        font-size: 14px;
        min-width: 44px;
    }
}
