/* Tips Page Styles */
.tips-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 30px;
}

/* Tips Header */
.tips-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 20px;
}

.tips-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Tips Category Menu */
.tips-category-menu {
    display: flex;
    gap: 12px;    
    flex-wrap: wrap;
}

.tips-category-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #33333380;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tips-category-item-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f6f5ff;
    color: #462cc5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}


/* Tips Category Info */
.tips-category-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 40px;
}

.tips-category-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.tips-category-info-count {
    font-size: 14px;
    color: #33333380;
}

.tips-category-highlight {
    color: #33333380;
    font-weight: 600;
    font-size: 14px;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tips-card {
    background: #fff;
    border-radius: 12px;    
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tips-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #333;
}

.tips-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.tips-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tips-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.4rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tips-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #33333380;
    margin-top: auto;
}

.tips-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tips-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Tips List */
.mobile-tips-list {
    display: none;
}

.mobile-tips-item {
    margin-bottom: 20px;
}

.mobile-tips-card {
    background: #fff;    
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-tips-link {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: #333;
}

.mobile-tips-thumbnail {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.mobile-tips-thumbnail img {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mobile-tips-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.mobile-tips-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-tips-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #33333380;
    margin-top: auto;
}

.mobile-tips-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-tips-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty State */
.tips-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.tips-empty-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.tips-empty-text {
    font-size: 16px;
    color: #33333380;
    margin: 0;
}

/* Tips Banner */
.tips-banner-section {
    margin: 40px 00;
}

.tips-banner-image {
    width: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Tips Detail Page Styles (events detail UI와 동일) */
.tips-detail-page {
    max-width: 768px;
    margin: 0 auto;
    padding: 40px 20px 10px;
}

.tips-detail-breadcrumb {
    margin-bottom: 12px;
}

.tips-detail-breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.tips-detail-breadcrumb-item {
    display: flex;
    align-items: center;
}

.tips-detail-breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: #33333380;
}

.tips-detail-breadcrumb-link {
    color: #33333380;
    text-decoration: none;
    font-size: 14px;
}

.tips-detail-breadcrumb-active {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.tips-detail-card {
    background: #fff;
    overflow: hidden;
    margin-bottom: 60px;
}

.tips-detail-card-body {
    padding: 0;
}

.tips-detail-header {
    margin-bottom: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.tips-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0 0 4px 0;
    word-break: break-word;
}

.tips-detail-author {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.tips-detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #33333380;
}

.tips-detail-featured-image {
    margin: 40px 0 30px 0;
}

/* 꿀팁 상세 스타일 */
.tips-detail-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.tips-detail-content {
    line-height: 1.7;
    color: #333;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 24px;
}

.tips-detail-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
    border-radius: 8px;
}

.tips-detail-gallery {
    margin-bottom: 32px;
}

.tips-detail-gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.tips-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.tips-detail-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tips-detail-gallery-item:hover {
    transform: translateY(-1px);
}

.tips-detail-gallery-link {
    display: block;
    text-decoration: none;
}

.tips-detail-gallery-image {
    width: 100%;
    height: auto;
    display: block;
}

.tips-detail-back-section {
    text-align: center;
    margin-bottom: 24px;
}

.tips-detail-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;  
    transition: all 0.3s ease;    
}

.tips-detail-seo {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.tips-detail-seo-text {
    font-size: 12px;
    color: #33333380;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tips-detail-page {
        padding: 30px 20px;
    }
    .tips-detail-title {
        font-size: 18px;
    }
    .tips-detail-info {
        gap: 10px;
    }
}

/* Responsive Design for Tips */
@media (max-width: 768px) {
    .tips-page {
        padding: 0 20px;
        padding-bottom: 50px;
    }
    
    .tips-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .tips-title {
        font-size: 20px;
    }
    
    .tips-category-menu {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .tips-category-item,
    .tips-category-item-pill {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .tips-category-info {
        gap: 12px;
        padding: 16px;
    }
    
    .tips-grid {
        display: none;
    }

    .tips-detail-card {
        margin-bottom: 20px;
    }
    
    .mobile-tips-list {
        display: block;
    }
}
/* 꿀팁 상세 스타일 END */