/* 首页专用样式 */
:root {
    /* 页面背景颜色 */
    --srsc-bg-super-dark: #000e14;
    /* 页头背景色 */
    --srsc-bg-header: #34383c;
    /* 页脚背景色 */
    --srsc-bg-footer: #191e24;
    /* 字体颜色 */
    --srsc-text-white: #ffffff;
    --srsc-text-gray: #888c90;
    /* 主体色 */
    --srsc-link-color: #ff404a;
}

.home-main {
    max-width: 1566px !important;
    margin: 0 auto;
}

.next-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 700px;
}

/* 新闻模块样式 */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    grid-template-areas:
        "main top-right top-right2"
        "main bottom-right bottom-right2";
}

.news-card {
    position: relative;
    overflow: hidden;
    background-color: var(--srsc-bg-footer);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.fu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card .title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--srsc-text-white);
    line-height: 1.2;
    margin-bottom: 5px;
}

.news-card .desc {
    font-size: 0.8rem;
    color: var(--srsc-text-gray);
    line-height: 1.4;
    flex: 1;
    margin-bottom: 10px;
    overflow: hidden;
}

.news-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--srsc-text-gray);
}

.news-card .date {
    color: var(--srsc-text-gray);
}

.main-card {
    grid-area: main;
    height: 100%;
}

.top-right-card {
    grid-area: top-right;
}

.top-right2-card {
    grid-area: top-right2;
}

.bottom-right-card {
    grid-area: bottom-right;
}

.bottom-right2-card {
    grid-area: bottom-right2;
}

.main-card .title {
    font-size: 1.5rem;
}

.main-card .title a,
.fu-card .title a {
    color: var(--srsc-text-white);
}

.main-card .title a:hover,
.fu-card .title a:hover {
    color: var(--srsc-text-white);
    border-bottom: 1px solid var(--srsc-text-white);
}

/* 比赛模块样式 */
.matches-card { 
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.card-colors {
    color: var(--srsc-text-white);
    background-color: var(--srsc-bg-footer);
}

.matches-a:nth-child(1),
.matches-a:nth-child(2),
.matches-a:nth-child(3) {
    border-right: 2px solid var(--srsc-bg-super-dark);
}

.matches-a:hover {
    color: var(--srsc-text-white);
}

.name-number {
    display: flex;
    justify-content: space-between;
}

.match-card {
    padding: 20px;
}

.champion-card-phone{
    display: none;
}

/* 冠军卡片样式 */
.champion-card {
    padding: 20px;
}

.champion-card:hover{
    border-bottom: 1px solid var(--srsc-link-color);
}

.champion-card a {
    color: var(--srsc-text-white);
}

.champion-logo {
    width: 130px;
    height: 130px;
    object-fit: cover;
}

.champion-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.champion-info {
    flex: 1;
}

.champion-description h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.champion-description p {
    line-height: 1.6;
    color: var(--srsc-text-gray);
}

.champion-description .timestamp {
    display: flex;
    justify-content:flex-end;
    margin-bottom: 0;
}

/* 球员卡片样式 */
.player-photo {
    width: 130px !important;
    height: 160px !important;
    object-fit: cover;
}