@charset "utf-8";

/* 스토리북 최신글 스킨 스타일 */
.storybook-latest {
    width: 100%;
}

 .storybook-preview-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 15px;
     margin-bottom: 20px;
 }

 .storybook-preview-item {
     background: #fff;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 3px 10px rgba(0,0,0,0.1);
     transition: all 0.3s ease;
     border: 1px solid #f0f0f0;
     flex: 1;
     min-width: 0;
 }

.storybook-preview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

 .storybook-preview-cover {
     display: none;
 }

.storybook-preview-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.storybook-preview-item:hover .storybook-preview-cover img {
    transform: scale(1.05);
}

.storybook-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.storybook-preview-item:hover .storybook-preview-overlay {
    opacity: 1;
}

.storybook-preview-overlay i {
    font-size: 2em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.storybook-preview-info {
    padding: 12px;
}

 .storybook-preview-title {
     font-size: 1.1em;
     font-weight: 700;
     margin: 0 0 10px 0;
     line-height: 1.4;
     color: #2c3e50;
 }

 .storybook-preview-title a {
     color: #2c3e50;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .storybook-preview-title a:hover {
     color: #FF6B6B;
 }

 .storybook-preview-category {
     display: none;
 }

 .storybook-preview-category i {
     font-size: 0.9em;
     color: #3498db;
 }

 .storybook-preview-meta {
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-size: 0.85em;
     color: #555;
     flex-wrap: wrap;
     gap: 8px;
 }

 .storybook-age, .storybook-pages, .storybook-date {
     display: flex;
     align-items: center;
     gap: 4px;
 }

 .storybook-age {
     color: #27ae60;
     font-weight: 600;
     background: rgba(39, 174, 96, 0.1);
     padding: 3px 8px;
     border-radius: 4px;
     border-left: 2px solid #27ae60;
 }

.storybook-pages {
    color: #2196F3;
}

.storybook-date {
    color: #999;
}

.empty-storybook {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.empty-storybook i {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ccc;
    display: block;
}

 /* 반응형 */
 @media (max-width: 768px) {
     .storybook-preview-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 12px;
     }
     
     .storybook-preview-cover {
         height: 100px;
     }
     
     .storybook-preview-info {
         padding: 10px;
     }
     
     .storybook-preview-title {
         font-size: 0.9em;
     }
     
     .storybook-preview-meta {
         font-size: 0.7em;
     }
 }

 @media (max-width: 480px) {
     .storybook-preview-grid {
         grid-template-columns: repeat(2, 1fr);
         gap: 10px;
     }
     
     .storybook-preview-cover {
         height: 80px;
     }
     
     .storybook-preview-info {
         padding: 8px;
     }
     
     .storybook-preview-title {
         font-size: 0.85em;
     }
     
     .storybook-preview-meta {
         font-size: 0.65em;
     }
 }
