/* ===== 반응형 디자인 ===== */

/* 태블릿 */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        border-left: none;
        border-right: none;
    }
    
    .header-content {
        padding: 16px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .post-card {
        padding: 12px 16px;
    }
    
    .post-content {
        margin-left: 48px;
    }
    
    .post-avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* 모바일 */
@media screen and (max-width: 480px) {
    .header-content {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .post-card {
        padding: 10px 12px;
    }
    
    .post-content {
        margin-left: 40px;
    }
    
    .post-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 8px;
    }
    
    .post-info h3 {
        font-size: 14px;
    }
    
    .post-date {
        font-size: 12px;
    }
    
    .post-text {
        font-size: 14px;
    }
    
    .post-image {
        height: 200px;
    }
    
    .images-grid.grid-2 .post-image,
    .images-grid.grid-4 .post-image {
        height: 150px;
    }
    
    .images-grid.grid-3 .post-image:first-child {
        height: 300px;
    }
    
    .images-grid.grid-3 .post-image:not(:first-child) {
        height: 148px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
    
    .loading,
    .no-posts {
        padding: 40px 16px;
    }
    
    .loading i,
    .no-posts i {
        font-size: 36px;
    }
    
    .footer {
        padding: 30px 16px;
        font-size: 12px;
    }
}

/* 아주 작은 화면 */
@media screen and (max-width: 320px) {
    .post-content {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .post-header {
        margin-bottom: 8px;
    }
    
    .post-text {
        font-size: 13px;
    }
    
    .images-grid.grid-2,
    .images-grid.grid-4 {
        grid-template-columns: 1fr;
    }
    
    .images-grid.grid-3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .images-grid.grid-3 img:first-child {
        grid-row: auto;
    }
}