/* Plugin Frontend Styles */
.rnp-breaking-news {
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin: 15px 0;
    border-radius: 5px;
}

.breaking-news-label {
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.breaking-news-content {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
}

.breaking-news-item {
    display: inline-block;
    margin-right: 30px;
}

.breaking-news-item a {
    color: white !important;
    text-decoration: none;
}

.breaking-news-item a:hover {
    text-decoration: underline;
}

/* Recent Posts Styles */
.rnp-recent-posts {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.rnp-recent-posts.columns-1 { grid-template-columns: 1fr; }
.rnp-recent-posts.columns-2 { grid-template-columns: repeat(2, 1fr); }
.rnp-recent-posts.columns-3 { grid-template-columns: repeat(3, 1fr); }
.rnp-recent-posts.columns-4 { grid-template-columns: repeat(4, 1fr); }

.recent-post-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.recent-post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 15px;
}

/* Posts Grid Styles */
.rnp-posts-grid {
    display: grid;
    gap: 20px;
}

.layout-3x3 { grid-template-columns: repeat(3, 1fr); }
.layout-2x2 { grid-template-columns: repeat(2, 1fr); }
.layout-featured { grid-template-columns: 2fr 1fr 1fr; }

.grid-post-item.featured-post {
    grid-column: span 1;
    grid-row: span 2;
}

/* Sticky Header */
.rnp-sticky-header {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Widget Styles */
.rnp-widget {
    margin-bottom: 30px;
}

/* Box Layout */
.rnp-box-layout .site {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .rnp-recent-posts.columns-2,
    .rnp-recent-posts.columns-3,
    .rnp-recent-posts.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .rnp-posts-grid {
        grid-template-columns: 1fr !important;
    }
    
    .grid-post-item.featured-post {
        grid-column: span 1;
        grid-row: span 1;
    }
}