/**
 * Combined Updates Shortcode Styles
 * News (Left) + Notices (Right)
 */

.lu-combined-updates {
    margin: 40px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lu-combined-updates .updates-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.lu-combined-updates .updates-column {
    margin-bottom: 30px;
}

.lu-combined-updates .column-card {
    background: #fff;
    border: 1px solid #cce2ff;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.lu-combined-updates .column-title {
    font-size: 24px;
    font-weight: 800;
    color: #3182ce;
    text-align: center;
    padding: 25px 20px;
    margin: 0;
    border-bottom: 1px solid #edf2f7;
}

/* Notices Styles */
.lu-combined-updates .updates-list {
    padding: 20px;
    flex-grow: 1;
}

.lu-combined-updates .notice-list-item {
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
}

.lu-combined-updates .notice-list-item:last-child {
    border-bottom: none;
}

.lu-combined-updates .notice-item-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.lu-combined-updates .notice-item-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}

.lu-combined-updates .notice-item-title a:hover {
    color: #3182ce;
}

.lu-combined-updates .notice-meta {
    font-size: 13px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.lu-combined-updates .notice-excerpt {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

/* News Styles */
.lu-combined-updates .news-updates-grid {
    padding: 25px;
    flex-grow: 1;
}

.lu-combined-updates .news-grid-item {
    margin-bottom: 30px;
}

.lu-combined-updates .news-grid-item.large {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 30px;
}

.lu-combined-updates .news-img-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
}

.lu-combined-updates .news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lu-combined-updates .news-grid-item:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.lu-combined-updates .news-meta {
    font-size: 13px;
    color: #718096;
    margin-bottom: 10px;
    font-weight: 500;
}

.lu-combined-updates .news-cat {
    color: #3182ce;
}

.lu-combined-updates .news-item-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lu-combined-updates .news-item-title a {
    color: #1a202c;
    text-decoration: none;
    flex: 1;
}

.lu-combined-updates .news-item-title .arrow-icon {
    font-size: 14px;
    color: #2d3748;
    margin-left: 10px;
    transition: transform 0.2s;
}

.lu-combined-updates .news-grid-item:hover .arrow-icon {
    transform: rotate(-45deg);
}

.lu-combined-updates .news-excerpt {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

/* Small News Row */
.lu-combined-updates .small-news-row {
    margin-top: 10px;
}

.lu-combined-updates .news-grid-item.small {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.lu-combined-updates .news-thumb {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.lu-combined-updates .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lu-combined-updates .news-grid-item.small .news-item-title {
    font-size: 15px;
    margin-bottom: 5px;
}

.lu-combined-updates .news-grid-item.small .news-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer & View All */
.lu-combined-updates .column-footer {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.lu-combined-updates .view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.lu-combined-updates .view-all-link:hover {
    color: #3182ce;
}

.lu-combined-updates .view-all-link i {
    font-size: 12px;
}

/* No Posts */
.lu-combined-updates .no-posts {
    text-align: center;
    color: #718096;
    padding: 20px;
}

/* Responsive */
@media (min-width: 992px) {
    .lu-combined-updates .updates-container {
        display: grid;
        grid-template-columns: 8fr 4fr;
        gap: 30px;
        flex-wrap: nowrap;
    }
    
    .lu-combined-updates .updates-column {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .lu-combined-updates .updates-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .lu-combined-updates .updates-column {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .lu-combined-updates .column-title {
        font-size: 20px;
    }
    
    .lu-combined-updates .news-grid-item.small {
        flex-direction: row; /* Keep news summary horizontal even on smaller screens until very small */
    }
}

@media (max-width: 767px) {
    .lu-combined-updates .news-grid-item.small {
        flex-direction: column;
    }
    .lu-combined-updates .news-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
}
