.commentMain {
    padding-top: 20px;
}

.Comment.Title {
    display: inline-flex;
    align-items: center;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    width: 550px;
    height: 50px;
    background: #52d8f4;
    color: white;
    padding-left: 20px;
}

.CommentList {
    margin-top: 10px;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    list-style: disc;
    padding-left: 20px;
}

.CommentList li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.CommentBox {
    padding: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .Comment.Title {
        display: inline-flex;
        align-items: center;
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
        width: 350px;
        height: 50px;
        background: #52d8f4;
        color: white;
        padding-left: 20px;
        font-size: 11px;
    }

    .CommentBox {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .CommentBox {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .CommentBox {
        grid-template-columns: 1fr;
    }
}

.Commentgrid-item {
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
}

.Commentgrid-item-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

body.no-scroll {
    overflow: hidden;
}

.modal {
    display: none;
    /* Modal başlangıçta gizli olacak */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);

    /* justify-content ve align-items, modal display:flex olduğunda geçerli olur */
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}