/**
 * Plus Content Block Styles
 */

.crypto-news-plus-content-block {
    width: 100%;
    padding: 24px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.crypto-news-plus-content-header {
    margin-bottom: 32px;
    text-align: center;
}

.plus-content-header-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.plus-content-badge-label {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.crypto-news-plus-content-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--wp--preset--color--foreground, #1a1a1a);
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crypto-news-plus-content-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--wp--preset--color--foreground, #666);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.crypto-news-plus-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Limit to max 4 columns on large screens */
@media (min-width: 1200px) {
    .crypto-news-plus-content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .crypto-news-plus-content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plus-content-item {
    position: relative;
}

.plus-content-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--wp--preset--color--background, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.plus-content-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plus-content-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.plus-content-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.plus-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plus-content-link:hover .plus-content-image img {
    transform: scale(1.05);
}

.plus-content-content {
    padding: 20px;
}

.plus-content-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wp--preset--color--primary, #0066cc);
    margin-bottom: 12px;
}

.plus-content-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--wp--preset--color--foreground, #1a1a1a);
}

.plus-content-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wp--preset--color--foreground, #666);
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plus-content-date {
    font-size: 12px;
    color: var(--wp--preset--color--foreground, #999);
}

/* Editor Preview Styles */
.crypto-news-plus-content-preview {
    padding: 16px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 12px;
}

.plus-header-preview h2 {
    font-size: 20px;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plus-items-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plus-item-preview {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.preview-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 10;
}

.preview-image {
    width: 100%;
    height: 120px;
    background: #ddd;
}

.preview-content {
    padding: 12px;
}

.preview-category {
    display: block;
    font-size: 10px;
    color: #666;
    margin-bottom: 8px;
}

.preview-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.crypto-news-plus-content-placeholder {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .crypto-news-plus-content-grid {
        grid-template-columns: 1fr;
    }
}

