﻿/* 主要内容区域 */
.main-content {
    width: 1200px;
    margin: 1rem auto 0; /* 头部高度48px + 导航条高度50px + 间隙55px = 153px/16 = 9.5625rem */
    padding: 1rem 0;
    display: flex;
}

/* 左边内容区域 - 修改为公司列表形式 */
.content-left {
    width: 58.125rem; /* 930px */
    margin-right: 0.625rem; /* 10px */
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.company-item {
    display: flex;
    background-color: white;
    border: 1px solid #e8e8e8;
    padding: 1.25rem;
    gap: 1.25rem;
}

.company-logo {
    width: 8rem; /* 128px */
    height: 8rem;
    flex-shrink: 0;
    border: 1px solid #eee;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .company-logo img {
        max-width: 100%;
        max-height: 100%;
        display: block;
    }

.company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

    .company-name a {
        color: #3687d9;
        text-decoration: none;
        font-weight: bold;
    }

        .company-name a:hover {
            text-decoration: underline;
        }

.company-products {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.company-address {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

    .company-address i {
        margin-right: 0.3rem;
        color: #3687d9;
    }

.company-vip {
    display: inline-block;
    font-size: 0.75rem;
    color: #fff;
    background-color: #ff9900;
    padding: 0.2rem 0.5rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
}

    .company-vip.gold {
        background-color: #ff9900;
    }

    .company-vip.platinum {
        background-color: #999;
    }

    .company-vip.diamond {
        background-color: #3687d9;
    }

/* 分类标题 */
.category-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 1.25rem;
}

/* 友情链接 */
.friend-links {
    border: 1px solid #e8e8e8;
    padding: 0.625rem;
    margin-top: 1.25rem;
}

.friend-links-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0.625rem;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
}

.friend-links-item {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

    .friend-links-item a {
        color: #3687d9;
        text-decoration: none;
        font-size: 0.875rem;
    }

        .friend-links-item a:hover {
            text-decoration: underline;
        }

/* 右边内容区域 */
.content-right {
    width: 16.25rem; /* 260px */
}

.right-section {
    border: 1px solid #e8e8e8;
    margin-bottom: 0.625rem; /* 10px */
    padding: 0.625rem; /* 10px */
}

.right-section-title {
    font-size: 1rem; /* 16px */
    font-weight: bold;
    color: #3687d9;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0.5rem;
}

    .right-section-title a {
        color: inherit;
        text-decoration: none;
    }

        .right-section-title a:hover {
            text-decoration: underline;
        }

.right-section-list {
    list-style: none;
}

.right-section-item {
    padding: 0.25rem 0;
    font-size: 0.875rem; /* 14px */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .right-section-item a {
        color: #333;
        text-decoration: none;
    }

        .right-section-item a:hover {
            color: #3687d9;
            text-decoration: underline;
        }
