/* Home horizontal competition tiles — flush image gutters, 740×555 aspect */

.event-home-tile-h.card {
    border: 1px solid #94a3b8;
}

.event-home-tile-h {
    overflow: hidden;
}

.event-home-tile-h__inner {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.event-home-tile-h__media.card-img-actions {
    margin: 0 !important;
    float: none !important;
    position: relative;
    flex-shrink: 0;
    line-height: 0;
}

.event-home-tile-h__media .card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 740 / 555;
    margin: 0;
    border-radius: 0;
    vertical-align: top;
}

.event-home-tile-h__media .card-img-actions-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-home-tile-h__content {
    padding: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

/* Mobile: full width, flush top / left / right */
@media (max-width: 575.98px) {
    .event-home-tile-h__media.card-img-actions {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Desktop (sm+): image left, flush top / left; full 740×555 frame (no crop) */
@media (min-width: 576px) {
    .event-home-tile-h__inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .event-home-tile-h.blog-horizontal .card-img-actions,
    .event-home-tile-h__media.card-img-actions {
        width: 35%;
        max-width: 12.5rem;
        float: none !important;
        align-self: flex-start;
    }
}
