/* Dynamic News Plugin Styles */

.dynamic-news-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
}

.dynamic-news-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.dynamic-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dynamic-news-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}

.dynamic-news-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dynamic-news-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 300px;
}

.dynamic-news-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dynamic-news-text {
    flex-grow: 1;
}

.dynamic-news-text h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.dynamic-news-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-top: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .dynamic-news-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .dynamic-news-image {
        width: 300px; /* Fixed width on larger screens */
    }
}

