.card__main-category {
    container-type: inline-size;
    container-name: card;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 45px;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.card__main-img-container {
    width: 100%;
    aspect-ratio: 404/161;
    background-color: var(--theme--grey);
    overflow: hidden;
}
.card__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__main-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    background-color: white;
    padding: 32px 24px;
}
.card__main-title {
    font-size: 28px;
    line-height: 1;
    font-weight:400;
}
.card__main-description {
    font-size: 14px;
    line-height: 1.2;
    color:var( --theme--grey-darker);
}

/* === DESKTOP === */

@container card (max-width: 340px) {
      .card__main-title {
        font-size: 32px;
        line-height: 1;
    }
}

@media screen and (min-width:1200px) {
    .card__main-title {
        font-size: 42px;
        line-height: 1;
    }
}