/* 웹진 스킨 스타일 */

.board-webzine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .board-webzine-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .board-webzine-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }
}

.board-webzine-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.board-webzine-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.board-webzine-item.board-webzine-notice {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.board-webzine-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.board-webzine-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.board-webzine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.board-webzine-item:hover .board-webzine-image img {
    transform: scale(1.05);
}

.board-webzine-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.board-webzine-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.board-webzine-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.board-webzine-notice-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #3b82f6;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.board-webzine-no {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.board-webzine-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.875rem 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    transition: color 0.2s;
}

.board-webzine-item:hover .board-webzine-title {
    color: #3b82f6;
}

.board-webzine-summary {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.board-webzine-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: #9ca3af;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.board-webzine-author {
    font-weight: 500;
    color: #374151;
}

.board-webzine-date {
    color: #9ca3af;
}

.board-webzine-hit,
.board-webzine-comment {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #9ca3af;
}

.board-webzine-empty {
    grid-column: 1 / -1;
    padding: 4rem 1rem;
    text-align: center;
}

@media (max-width: 767px) {
    .board-webzine-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem;
    }
    
    .board-webzine-image {
        height: 200px;
    }
    
    .board-webzine-content {
        padding: 1.25rem;
    }
    
    .board-webzine-title {
        font-size: 1rem;
    }
}

