.at-imageTile {
    position: relative;
    aspect-ratio: 4 / 3;
}

.at-imageTile__image {
    display: block;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.at-imageTile__ribbon {
    color: #fff;
    position: absolute;
    inset: auto 1rem 1rem;
    padding: .5rem 1rem;
    background: rgba(0, 43, 92, 0.5);
    line-height: 1.2;

    transform: translate(0, 0);
    transition: transform .3s;
    .at-imageTile:hover &:has(.--download),
    .at-imageTile:hover &:has(.--external) {
        transform: translate(0, -3px);
    }
}

.at-imageTile__title {
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.8rem);
    display: flex;
    gap: .5em;

    &.--download:after {
        content: '\2193';
    }

    &.--external:after {
        content: '\2197';
    }

    &.--download:after,
    &.--external:after {
        display: inline-block;
        margin: 0;
        font-family: 'icons', sans-serif;
        text-decoration: underline;
        color: #f9a702;
        transition: 0.2s ease;
    }
}

.at-imageTile__link {
    position: absolute;
    inset: 0;
    text-indent: -999em;
}