/**
 * Newsroom Shortcode Styles
 * Frontend styling for newsroom article shortcodes - MINIMAL ORIGINAL STYLE
 */

/* Newsroom Container - Keep Original Simple Style */
.newsroom-container {
    margin: 20px 0;
    clear: both;
}

/* Original Simple Newsroom Layout */
.newsroom {
    display: flex;
    margin-bottom: 20px;
    clear: both;
}

/* Original Newsroom Columns - Exactly as before */
.newsroom-col1 {
    flex: 0 0 auto;
    margin-right: 20px;
}

.newsroom-col2 {
    flex: 1;
    min-width: 0;
}

/* Featured Images - Original Style */
.newsroom-col1 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove all enhanced styling - keep original simple look */
.newsroom-title {
    margin: 0 0 10px 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

.newsroom-title a {
    color: inherit;
    text-decoration: none;
}

.newsroom-title a:hover {
    text-decoration: underline;
}

.newsroom-content {
    display: flex;
}

.newsroom-full-content {
    line-height: inherit;
    color: inherit;
}

/* Hide all enhanced features to maintain original look */
.newsroom-breaking-badge,
.newsroom-header,
.newsroom-meta,
.newsroom-excerpt,
.newsroom-read-more,
.external-link-icon {
    display: none !important;
}

/* Remove enhanced styling */
.newsroom.newsroom-breaking,
.newsroom.newsroom-priority-urgent,
.newsroom.newsroom-priority-high,
.newsroom.newsroom-priority-normal,
.newsroom.newsroom-priority-low {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Hide grid and other enhanced layouts - only show original */
.newsroom-grid,
.newsroom-recent-list,
.newsroom-priority-urgent,
.newsroom-priority-high,
.newsroom-priority-normal,
.newsroom-priority-low {
    display: none !important;
}

/* Responsive - maintain original behavior */
@media screen and (max-width: 768px) {
    .newsroom {
        flex-direction: column;
    }
    
    .newsroom-col1 {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Only show enhanced features for new shortcodes (not original NewsReviewShorts) */
.newsroom-container:not(.newsroom-layout-default) .newsroom-breaking-badge,
.newsroom-container:not(.newsroom-layout-default) .newsroom-header,
.newsroom-container:not(.newsroom-layout-default) .newsroom-meta,
.newsroom-container:not(.newsroom-layout-default) .external-link-icon {
    display: block !important;
}

/* Enhanced layouts for new shortcodes only */
.newsroom-layout-compact .newsroom,
.newsroom-layout-grid .newsroom {
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.newsroom-layout-compact .newsroom-breaking-badge,
.newsroom-layout-grid .newsroom-breaking-badge {
    display: block !important;
    position: absolute;
    top: -1px;
    left: -1px;
    background: #dc3232;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px 0 4px 0;
    z-index: 2;
}

.newsroom-layout-compact .newsroom-header,
.newsroom-layout-grid .newsroom-header {
    display: block !important;
    margin-bottom: 15px;
}

.newsroom-layout-compact .newsroom-meta,
.newsroom-layout-grid .newsroom-meta {
    display: block !important;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

/* Grid layouts for new shortcodes */
.newsroom-grid {
    display: grid !important;
    gap: 20px;
    margin: 20px 0;
}

.newsroom-grid-2-columns { grid-template-columns: repeat(2, 1fr); }
.newsroom-grid-3-columns { grid-template-columns: repeat(3, 1fr); }
.newsroom-grid-4-columns { grid-template-columns: repeat(4, 1fr); }

.newsroom-grid-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.newsroom-grid-item:hover {
    transform: translateY(-3px);
}

/* Recent list for new shortcodes */
.newsroom-recent-list {
    display: block !important;
    margin: 20px 0;
}

.newsroom-recent-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
