@charset "utf-8";
/* gukbap_gallery 스킨 스타일 */

.gukbap-gallery-widget {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gukbap-gallery-widget .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-bottom: 3px solid #ffc107;
}

.gukbap-gallery-widget .widget-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.gukbap-gallery-widget .widget-title a {
    color: #fff;
    text-decoration: none;
}

.gukbap-gallery-widget .widget-title i {
    margin-right: 6px;
    color: #ffc107;
}

.gukbap-gallery-widget .widget-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    transition: all 0.2s;
}

.gukbap-gallery-widget .widget-more:hover {
    background: rgba(255,255,255,0.25);
}

.gukbap-gallery-widget .widget-content {
    padding: 15px;
}

.gukbap-gallery-widget .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gukbap-gallery-widget .gallery-item {
    position: relative;
}

.gukbap-gallery-widget .gallery-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gukbap-gallery-widget .gallery-thumb {
    position: relative;
    padding-top: 75%;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.gukbap-gallery-widget .gallery-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gukbap-gallery-widget .no-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dee2e6 0%, #adb5bd 100%);
}

.gukbap-gallery-widget .no-thumb i {
    font-size: 36px;
    color: #6c757d;
}

.gukbap-gallery-widget .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gukbap-gallery-widget .gallery-overlay i {
    font-size: 40px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gukbap-gallery-widget .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gukbap-gallery-widget .gallery-info {
    padding: 10px 5px 5px;
}

.gukbap-gallery-widget .gallery-title {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gukbap-gallery-widget .gallery-item:hover .gallery-title {
    color: #dc3545;
}

.gukbap-gallery-widget .gallery-meta {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #999;
}

.gukbap-gallery-widget .gallery-date {
    margin-right: 10px;
}

.gukbap-gallery-widget .gallery-comment i {
    margin-right: 3px;
}

.gukbap-gallery-widget .new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 6px;
    background: #dc3545;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 1;
}

.gukbap-gallery-widget .gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.gukbap-gallery-widget .gallery-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.gukbap-gallery-widget .gallery-empty p {
    margin: 0;
}

@media (max-width: 991px) {
    .gukbap-gallery-widget .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .gukbap-gallery-widget .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
