.royal-cate-cooper {
    background-repeat: no-repeat;
    padding: var(--royal-space-xxl) 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-position: center right;
    background-size: contain;
    background-color: var(--royal-bg-light);
}

.royal-cate-cooper-content {
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.royal-cooper-title {
    font-size: var(--royal-font-xxl);
    margin-bottom: var(--royal-space-lg);
    padding-bottom: var(--royal-space-md);
    border-bottom: 1px solid var(--royal-border-light);
    line-height: 1.2;
    display: flex;
    align-items: flex-end; /* 垂直底部对齐 */
    gap: var(--royal-space-sm);
    flex-wrap: wrap; /* 允许换行 */
}

.royal-cooper-title span {
    font-size: var(--royal-font-lg);
    color: var(--royal-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    padding-bottom: 0.2em; /* 微调垂直对齐 */
}

/* 无内容时的标题样式 */
.royal-cate-cooper-content:has(.royal-cate-cooper-info:empty) .royal-cooper-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.royal-cate-cooper-info {
    line-height: 1.8;
    font-size: var(--royal-font-default);
}

.royal-cate-cooper-info p {
    margin-bottom: var(--royal-space-md);
}

.royal-cate-cooper-info p:last-child {
    margin-bottom: 0;
}

/* 无内容时的样式 */
.royal-cate-cooper-info:empty {
    display: none;
}

 

@media (max-width: 768px) {
    .royal-cate-cooper {
        padding: var(--royal-space-xl) 0;
        min-height: 350px;
        background-size: cover;
        background-position: 70% center;
    }
    
    .royal-cate-cooper-content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: var(--royal-space-lg);  
    }
    
    .royal-cooper-title {
        font-size: var(--royal-font-xl);
        margin-bottom: var(--royal-space-md);
        flex-direction: column; /* 手机端垂直排列 */
        align-items: flex-start;
        gap: var(--royal-space-xs);
    }
    
    .royal-cooper-title span {
        font-size: var(--royal-font-md);
    }
    
   
}
 
