/* News Collector Shortcode Styles */

.nc-reddit-topics, .nc-reddit-news, .nc-google-news {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Theme Variations */
.nc-theme-dark {
    background: #1a1a1b;
    color: #d7dadc;
    border: 1px solid #343536;
}

.nc-theme-light {
    background: #ffffff;
    color: #1c1c1c;
    border: 1px solid #e0e0e0;
}

/* Header */
.nc-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nc-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nc-header-right {
    display: flex;
    align-items: center;
}

.nc-more-button {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.nc-more-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nc-more-button:active {
    transform: translateX(1px);
}

.nc-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nc-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    margin-left: 8px;
}

.nc-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.nc-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
}

.nc-auto-refresh {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Posts Container */
.nc-posts-container {
    padding: 25px;
    display: grid;
    gap: 20px;
}

/* Layout Variations */
.nc-layout-grid .nc-posts-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.nc-layout-list .nc-posts-container {
    grid-template-columns: 1fr;
}

/* Post Cards */
.nc-post-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.nc-theme-dark .nc-post-card {
    background: #272729;
    border: 1px solid #474748;
}

.nc-theme-light .nc-post-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nc-post-card:hover {
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.nc-theme-dark .nc-post-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.nc-theme-light .nc-post-card:hover {
    border-color: #ff4500;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.2);
}

/* Post Header */
.nc-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid;
}

.nc-theme-dark .nc-post-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: #474748;
}

.nc-theme-light .nc-post-header {
    background: #f8f9fa;
    border-bottom-color: #e9ecef;
}

.nc-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.3);
}

.nc-subreddit {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
}

.nc-theme-dark .nc-subreddit {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    border-color: rgba(255, 107, 53, 0.3);
}

.nc-theme-light .nc-subreddit {
    background: rgba(255, 69, 0, 0.1);
    color: #ff4500;
    border-color: rgba(255, 69, 0, 0.2);
}

/* Post Images */
.nc-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
}

.nc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nc-post-card:hover .nc-post-image img {
    transform: scale(1.05);
}

/* Post Placeholder for no image */
.nc-post-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px 8px 0 0;
    color: rgba(255, 255, 255, 0.4);
}

.nc-placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    opacity: 0.6;
}

.nc-placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
}

.nc-theme-light .nc-post-placeholder {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.4);
}

/* Card layout variations based on image availability */
.nc-post-card.nc-has-image .nc-post-content {
    /* Cards with images get enhanced styling */
    padding-top: 18px;
}

.nc-post-card.nc-no-image .nc-post-content {
    /* Cards without images get simplified layout */
    padding-top: 20px;
}

/* Legacy thumbnail support (fallback) */
.nc-post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nc-post-card:hover .nc-post-thumbnail img {
    transform: scale(1.05);
}

/* Post Content */
.nc-post-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nc-post-title {
    margin: 0 0 15px 0;
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
}

.nc-post-title a {
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-theme-dark .nc-post-title a {
    color: #d7dadc;
}

.nc-theme-light .nc-post-title a {
    color: #1c1c1c;
}

.nc-theme-dark .nc-post-title a:hover {
    color: #ff6b35;
}

.nc-theme-light .nc-post-title a:hover {
    color: #ff4500;
}

/* Post Meta */
.nc-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    margin-top: auto;
}

.nc-post-meta > span {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.nc-theme-dark .nc-post-meta > span {
    background: rgba(255, 255, 255, 0.08);
    color: #b3b3b3;
}

.nc-theme-light .nc-post-meta > span {
    background: #f1f3f4;
    color: #5f6368;
}

.nc-score {
    color: #ff4500 !important;
}

.nc-comments {
    color: #46d160 !important;
}

.nc-author {
    color: #ffd635 !important;
}

.nc-time {
    color: #818384 !important;
}

/* Reddit News Specific Styles - Text-only layout */
.nc-reddit-news .nc-post-card.nc-text-only {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 16px 0;
    border-bottom: 1px solid;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Desktop Grid Layout for Reddit News */
@media (min-width: 769px) {
    .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 12px;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 280px; /* 최소 높이 보장 */
        height: auto; /* 자동 높이로 변경 */
        transition: all 0.3s ease;
    }
    
    .nc-theme-dark .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only {
        background: #272729;
        border-color: #474748;
    }
    
    .nc-theme-light .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only {
        background: #ffffff;
        border-color: #e0e0e0;
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only:hover {
        transform: translateY(-4px);
        background: rgba(255, 107, 53, 0.08);
        border-color: #ff6b35;
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
        margin: 0;
        padding: 20px;
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only .nc-post-header {
        padding: 0 0 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 15px;
        background: none;
        min-width: auto;
        flex-shrink: 0;
        justify-content: center;
        display: flex !important;
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-card.nc-text-only .nc-post-content {
        padding: 0;
        flex: 1;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        overflow: visible; /* hidden에서 visible로 변경 */
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-title {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.4;
        display: -webkit-box !important;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 5.6em; /* 4줄을 위한 최대 높이 */
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-excerpt {
        margin: 8px 0 12px 0;
        font-size: 0.85rem;
        line-height: 1.4;
        opacity: 0.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 4.2em; /* 3줄을 위한 높이 증가 (1.4 * 3) */
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-meta {
        gap: 12px;
        margin-top: auto;
        padding-top: 10px;
        flex-wrap: wrap;
        font-size: 0.75rem;
    }
    
    .nc-reddit-news.nc-layout-grid .nc-post-meta > span {
        background: rgba(255, 255, 255, 0.08);
        padding: 3px 6px;
        border-radius: 8px;
        font-size: 0.75rem;
    }
}

/* Mobile and List Layout (keep existing styles) */
/* Mobile and List Layout (keep existing styles) */
@media (max-width: 768px) {
    .nc-reddit-news .nc-post-card.nc-text-only {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 16px 0;
        border-bottom: 1px solid;
        border-radius: 0;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        height: auto; /* 모바일에서는 auto 높이 */
    }

    .nc-theme-dark .nc-reddit-news .nc-post-card.nc-text-only {
        border-bottom-color: #474748;
    }

    .nc-theme-light .nc-reddit-news .nc-post-card.nc-text-only {
        border-bottom-color: #e9ecef;
    }

    .nc-reddit-news .nc-post-card.nc-text-only:last-child {
        border-bottom: none;
    }

    .nc-reddit-news .nc-post-card.nc-text-only:hover {
        transform: none;
        background: rgba(255, 107, 53, 0.05);
        border-radius: 8px;
        padding: 16px;
        margin: 0 -16px;
    }

    .nc-reddit-news .nc-post-card.nc-text-only .nc-post-header {
        padding: 0;
        border: none;
        background: none;
        min-width: 40px;
        flex-shrink: 0;
    }

    .nc-reddit-news .nc-post-card.nc-text-only .nc-post-content {
        padding: 0;
        flex: 1;
    }
}

/* List Layout (same as mobile on all devices) */
.nc-reddit-news.nc-layout-list .nc-post-card.nc-text-only {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 16px 0;
    border-bottom: 1px solid;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: auto;
}

.nc-reddit-news .nc-post-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.nc-reddit-news .nc-post-excerpt {
    margin: 8px 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-reddit-news .nc-post-meta {
    gap: 16px;
    margin-top: 8px;
}

.nc-reddit-news .nc-post-meta > span {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

.nc-reddit-news .nc-subreddit {
    background: rgba(255, 107, 53, 0.15);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.nc-reddit-news .nc-stats {
    display: flex;
    gap: 12px;
}

/* Footer */
.nc-footer {
    padding: 15px 25px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid;
}

.nc-theme-dark .nc-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top-color: #474748;
    color: #818384;
}

.nc-theme-light .nc-footer {
    background: #f8f9fa;
    border-top-color: #e9ecef;
    color: #6c757d;
}

/* No Data State */
.nc-no-data {
    text-align: center;
    padding: 60px 30px;
    border-radius: 12px;
}

.nc-theme-dark.nc-no-data {
    background: #272729;
    color: #818384;
    border: 1px solid #474748;
}

.nc-theme-light.nc-no-data {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.nc-no-data p {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.nc-no-data small {
    opacity: 0.7;
}

/* List Layout Specific Styles */
.nc-layout-list .nc-post-card {
    flex-direction: row;
    align-items: stretch;
}

.nc-layout-list .nc-post-header {
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
    border-right: 1px solid;
    border-bottom: none;
}

.nc-layout-list .nc-post-image,
.nc-layout-list .nc-post-thumbnail {
    width: 150px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
}

/* List layout placeholder 크기 조정 */
.nc-layout-list .nc-post-placeholder {
    width: 150px;
    height: 100px;
    border-radius: 8px 0 0 8px;
}

.nc-layout-list .nc-placeholder-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.nc-layout-list .nc-placeholder-text {
    font-size: 0.7rem;
}

.nc-layout-list .nc-post-content {
    flex: 1;
}

.nc-layout-list .nc-post-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Lazy Loading Styles */
.nc-post-image img.nc-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.nc-post-image img.nc-loaded {
    opacity: 1;
}

.nc-post-image img.nc-lazy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: nc-spin 1s linear infinite;
}

@keyframes nc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Grid Layouts */
.nc-layout-grid .nc-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    align-items: start;
}

/* Masonry-like layout for mixed content */
.nc-posts-container.nc-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 10px;
    gap: 20px;
}

.nc-posts-container.nc-masonry .nc-post-card {
    grid-row-end: span var(--row-span, 30);
}

.nc-layout-list .nc-post-meta {
    justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nc-reddit-topics {
        margin: 10px 0;
    }
    
    .nc-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .nc-title {
        font-size: 1.2rem;
    }
    
    .nc-posts-container {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .nc-layout-grid .nc-posts-container {
        grid-template-columns: 1fr;
    }
    
    .nc-layout-list .nc-post-card {
        flex-direction: column;
    }
    
    .nc-layout-list .nc-post-header {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid;
    }
    
    .nc-layout-list .nc-post-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .nc-post-content {
        padding: 15px;
    }
    
    .nc-post-meta {
        gap: 8px;
        font-size: 0.75rem;
    }
    
    .nc-footer {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .nc-header {
        padding: 12px 15px;
    }
    
    .nc-posts-container {
        padding: 15px 10px;
    }
    
    .nc-post-content {
        padding: 12px;
    }
    
    .nc-post-meta {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .nc-post-meta > span {
        align-self: flex-start;
    }
}

/* Category News Specific Styles */
.nc-category-news {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nc-category-news .nc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nc-category-news .nc-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nc-category-news .nc-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.nc-category-news .nc-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.nc-category-news .nc-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 0;
}

.nc-category-news .nc-post-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.nc-category-news .nc-post-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nc-category-news .nc-post-header {
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
    background: none;
    justify-content: center;
    flex-shrink: 0;
}

.nc-category-news .nc-post-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-category-news .nc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nc-category-news .nc-post-card:hover .nc-post-image img {
    transform: scale(1.05);
}

.nc-category-news .nc-post-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.nc-category-news .nc-placeholder-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.nc-category-news .nc-placeholder-text {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nc-category-news .nc-post-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nc-category-news .nc-post-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.nc-category-news .nc-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nc-category-news .nc-post-title a:hover {
    color: #ff6b35;
}

/* Grid layout: no excerpt */
.nc-category-news.nc-layout-grid .nc-post-excerpt {
    display: none;
}

/* List layout: show excerpt */
.nc-category-news.nc-layout-list .nc-post-excerpt {
    margin: 8px 0 12px 0;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-category-news .nc-post-meta {
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    flex-wrap: wrap;
    font-size: 12px;
}

.nc-category-news .nc-post-meta > span {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.nc-category-news .nc-source {
    color: #ff6b35 !important;
    font-weight: 600;
}

.nc-category-news .nc-author {
    color: #46d160 !important;
}

.nc-category-news .nc-time {
    color: #818384 !important;
}

/* No Data Message for Category News */
.nc-category-news .nc-no-data {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.nc-category-news .nc-no-data h4 {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

.nc-category-news .nc-no-data small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Mobile responsive for category news */
@media (max-width: 768px) {
    .nc-header {
        padding: 15px 20px;
    }
    
    .nc-header-left {
        flex: 1;
        min-width: 0;
    }
    
    .nc-title {
        font-size: 1.2rem;
    }
    
    .nc-more-button {
        padding: 6px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .nc-category-news .nc-posts-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nc-category-news .nc-post-card {
        height: auto;
        min-height: 240px;
    }
    
    .nc-category-news .nc-title {
        font-size: 20px;
    }
}