@charset "utf-8";

.erutag {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 3fr));
    margin: auto;
}

.card-container {
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    border-radius: 4px;
}

.card-container img {
    width: 100%;
    height: auto;
}

.card {
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 .5em;
}

.image-box {
    width: 100%;
    max-width: 350px;
    margin: auto;
    padding-bottom: 10px;
}

.comment {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    color: black;
    margin: 0 0 20px 0 !important;
}


.erutag_btn {
    font-size: 16px;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 240px;
    background-color: #11BBDD;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
    line-height: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
    clear: both;
    font-weight: bold;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border: #FFF;
}


@media only screen and (max-width: 940px) {
    .erutag {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: auto;
    }

}

@media only screen and (max-width: 600px) {
    .erutag {
        display: grid;
        grid-template-columns: 1fr;
        margin: auto;
    }

}