/* Latest Gallery Skin Style - Final Layout Fix */ .latest-gallery-skin { width: 100%; box-sizing: border-box; position: relative; overflow: hidden; background: #fff; padding: 15px; /* 💡 [핵심 수정] Flexbox 컬럼 방향으로 설정하여 세로 배치 강제 */ display: flex; flex-direction: column; } .latest-gallery-skin .bbs_main_wrap_tit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #333; flex-shrink: 0; } .latest-gallery-skin .bbs_main_wrap_tit_l { min-width: 0; } .latest-gallery-skin .bbs_main_wrap_tit_l h2 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .latest-gallery-skin .bbs_main_wrap_tit_r { flex-shrink: 0; margin-left: 15px; } .latest-gallery-skin .more_btn { position: relative; /* 💡 [핵심 수정] absolute 속성 덮어쓰기 */ background: none; border: 1px solid #ddd; padding: 5px 10px; font-size: 12px; color: #666; cursor: pointer; border-radius: 3px;} .latest-gallery-skin .cb { display: none; } .gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--pc-columns, 4), 1fr); gap: 15px; } .latest-gallery-skin li { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.3s; } .latest-gallery-skin li:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .latest-gallery-skin .lt_img { display: block; width: 100%; padding-top: 75%; position: relative; background: #f8f8f8; } .latest-gallery-skin .lt_img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } .latest-gallery-skin .lt_tit { display: block; padding: 10px; font-size: 14px; font-weight: 500; color: #333; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; } .empty_li { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: #999; } @media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(var(--mo-columns, 2), 1fr); } }