.recommended-container2 {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #232323;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.recommended-title {
    color: #fefefe;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

#posts-container, #drawings-container, #comments-container, #alarms-container {
	padding:15px 20px 20px;
}

@media (max-width:567px) {
	#posts-container, #drawings-container, #comments-container, #alarms-container {
		padding:unset;
		padding-top:15px;
	}

}

.post {
    /* background-color: #343434; */
    background-color: #434754;
    padding: 15px 15px 0 15px;
    margin-bottom: 20px;
    border-radius: 10px;    
    box-shadow: 1px 1px 1px rgb(24 24 24);
}
.post-header {
    display: flex;
    justify-content: space-between;
    gap: 13px;
    align-items: center;
    margin-bottom: 10px;
}
.post-author {
	display:flex;
	align-items:center;
    font-weight: bold;
    color: #fefefe;
    font-size: 1rem;
}

.post-content {
    color: #eeeeee;
    margin: 20px 0 10px;	
	padding-right:10px;
    line-height: 1.6;
	font-size:0.94rem;
	overflow-x: hidden;
}

.post-content a {
	display:block;
}

.post-content a:hover {
	/* text-decoration:underline; */
	color:#fff;
}

.post-content a.read-more {
	color:#eee;	
}

.post-footer {
    display: flex;
    justify-content: left;
	align-items: center;
    gap: 20px;
   		
    padding-bottom: 10px;
	padding-top:10px;
    font-size: 0.8rem;
	padding-left:5px;
}

.post-meta {
    display: flex;
	align-items:center;
	    justify-content: space-between;
}
.post-menu-toggle {
    cursor: pointer;
    margin-left: 10px;
}
.post-menu {
    display: none;
    position: absolute;
    background-color: #232323;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 10px;
    z-index: 1000;
	font-size:0.9rem;
	right:10px;
}
.post-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.post-menu li {
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
	white-space:nowrap;
}
.post-menu li:hover {
    background-color: #000000;
}
.post-menu li i {
    margin-left: 10px;
}


.comment-profile-image {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    margin-right: -5px;
    border: 1px solid #333;
    object-fit: cover;
}


.like-button {
    /* background-color: #b7b7b7; */
	background:none;
    color: #eeeeee;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
	font-size: 0.9rem;
}
.like-button.liked {
    /* background-color: #ff1744; */
	background:none;
    color: orangered;
}
.comment-link {
    color: #b7b7b7;
    text-decoration: none;
	font-size:0.8rem;
	transition:transform 0.2s;
}

.recommended-container .read-more {
    color: #eeeeee;
    text-decoration: none;
}
.post-tags {
    margin-bottom: 10px;
}
.tag {
    display: inline-block;
    background-color: #b7b7b7;
    color: #232323;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 0.8em;
    border-radius: 5px;
}

.comment-link:hover {
	transform:scale(1.1);
}
.post-comment-status {
    color: #999999;
    font-style: italic;
}
.no-posts {
    color: #fefefe;
    text-align: center;
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a, .pagination .current-page {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    color: #fefefe;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.pagination .current-page {
    background-color: #b7b7b7;
    color: #232323;
    border: none;
}
.pagination a:hover {
    background-color: #ff80ab;
    color: #232323;
}
.heart-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    color: #b7b7b7;
}
.heart-icon {

    margin-right: 5px;
	transition: transform 0.2s;
}

.heart-icon:hover {
	transform:scale(1.1);

}

.like-count {
    font-size: 0.9em;
    color: #eeeeee;
}

.ignore-menu {
	
	text-align:right;
}


.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.post-author-info {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
	/* border: 1px solid #eee */
}

.profile-image-menu {
    width: 25px;
    height: 25px;
    border-radius: 50%;

    object-fit: cover;
	border: 1px solid #eee	
}

.main-profile-image {
	width: 80px;
    height: 80px;	
}

.post-author a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
	margin-right:5px;
}

.post-author a:hover {
	color:#d3c7ff;
	text-decoration:none;
}

.post-date {
    color: #999;
    font-size: 0.8em;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
    overflow-x: auto; /* 좌우 스크롤 가능 */
    white-space: nowrap; /* 자식 요소가 줄바꿈되지 않도록 설정 */
    scroll-behavior: smooth; /* 부드러운 스크롤 */
    position: relative; /* 절대 위치 요소의 기준점 */
}

/* 스크롤 바 숨기기 */
.main-container::-webkit-scrollbar {
    display: none;
}

.main-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.main-content {
    display: inline-flex; /* inline-flex로 변경하여 좌우 스크롤 가능 */
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

.main-content:hover {
    background-color: #e0e0e0;
    color: #000;
}

.main-content.active {
    border: 1px solid #333;
    font-weight: bold;
}

.main-content i {
    margin-right: 8px;
}

/* 메뉴가 많아질 때 좌측 정렬을 위해 추가 */
.main-container.scrollable {
    justify-content: flex-start;
    padding-left: 10px; /* 좌측 패딩 추가 */
}

.userlevel img {
	vertical-align:middle;
	margin-left:5px;

}


.post-images-container {
	margin-top:20px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-images {
    display: flex;
    gap: 10px;    
	cursor: grab;
}

.post-image {
    max-height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 5px;
	transition:transform 0.2s;
}


.post-image:active {
    cursor: grabbing;
}


.post-image:hover {
	transform:scale(1.02);
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    /* overflow: hidden; */
}

.modal-image {
    width: auto;
    height: auto;
    max-height: 90vh;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s; /* 애니메이션 효과 추가 */
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.zoom-in, .zoom-out {
	display:none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    margin-left: 10px;
    border-radius: 5px;
}

.zoom-out {
    right: 120px;
}
