.campus-detail-main {
    background-color: #f5f7fa;
    min-height: calc(100vh - 200px);
    padding: 1rem 0 2rem;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--portal-accent-link, #0066cc);
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.35rem;
}

.breadcrumb-current {
    color: var(--portal-accent-link, #0066cc);
}

.content-area {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.page-title {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    text-align: left;
}

.outside-prefix {
    color: #e67e22;
    margin-right: 0.35rem;
}

.company-name {
    margin-bottom: 0;
    text-align: left;
}

.company-name h2 {
    color: var(--portal-accent-link, #0066cc);
    font-size: 16px;
    margin: 0;
}

.company-name a {
    color: var(--portal-accent-link, #0066cc);
    text-decoration: none;
}

.company-name a:hover {
    text-decoration: underline;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.page-header-left {
    flex: 1;
    min-width: 0;
}

.page-header-right {
    flex-shrink: 0;
    padding-top: 4px;
}

.favor-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.favor-btn:hover,
.favor-btn[data-favored="true"] {
    border-color: #e74c3c;
    color: #e74c3c;
}

.favor-btn:disabled {
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

.info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-bar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.info-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-bar span {
    color: #888;
    font-size: 13px;
}

.tip-box {
    background: #fff8e8;
    border: 1px solid #f6d48b;
    border-radius: 6px;
    color: #8a6d3b;
    margin-bottom: 1.4rem;
    padding: 0.85rem 1rem;
}

.tip-box strong {
    margin-right: 0.3rem;
}

.content-detail {
    color: #333;
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.content-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #e9ecef;
}

.content-detail p {
    margin: 0.6rem 0;
}

.content-detail img {
    height: auto;
    max-width: 100%;
}

.related-jobs {
    border-top: 1px solid #eee;
    margin-top: 1rem;
    padding-top: 1rem;
}

.related-jobs h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 0.8rem 0;
}

.related-jobs-table-wrap {
    border: 1px solid #e8edf4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    overflow-x: auto;
}

.related-jobs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 760px;
}

.related-jobs-table thead {
    background-color: #f6f8fb;
}

.related-jobs-table th {
    padding: 13px 16px;
    text-align: left;
    font-weight: 600;
    color: #344054;
    font-size: 14px;
    border-bottom: 1px solid #e8edf4;
    white-space: nowrap;
}

.related-jobs-table td {
    padding: 16px;
    border-bottom: 1px solid #eef2f6;
    color: #667085;
    font-size: 14px;
    vertical-align: middle;
}

.related-jobs-table tbody {
    counter-reset: campus-related-job-row;
}

.related-jobs-table tbody tr {
    counter-increment: campus-related-job-row;
}

.related-jobs-table tbody tr:hover {
    background-color: #fafcff;
}

.related-jobs-table tbody tr:last-child td {
    border-bottom: none;
}

.related-jobs-col-index,
.related-job-index {
    text-align: center;
    width: 72px;
    white-space: nowrap;
}

.related-jobs-col-action,
.related-job-action {
    text-align: center;
    width: 130px;
    white-space: nowrap;
}

.related-jobs-col-major,
.related-job-major {
    width: 32%;
    min-width: 320px;
}

.related-job-index-value {
    color: #101828;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    min-width: 2ch;
}

.related-job-index-value::before {
    content: counter(campus-related-job-row, decimal-leading-zero);
}

.related-job-title {
    color: #101828;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.related-job-title a {
    color: #1d4ed8;
    text-decoration: none;
}

.related-job-title a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.related-job-meta {
    align-items: center;
    color: #667085;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 0.35rem;
    line-height: 1.5;
    margin-top: 0.35rem;
}

.related-job-meta span {
    position: relative;
}

.related-job-meta span:not(:last-child)::after {
    color: #c2cad6;
    content: "|";
    margin-left: 0.35rem;
}

.related-job-meta .related-job-salary {
    color: #f08c00;
    font-weight: 700;
}

.related-job-major {
    color: #344054;
    line-height: 1.6;
}

.apply-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: #1d4ed8;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    background-color: #1e40af;
    text-decoration: none;
}

.apply-btn.is-disabled {
    background-color: #eef2f7;
    color: #98a2b3;
    cursor: default;
}

.bottom-actions {
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
}

.action-btn {
    background-color: var(--portal-button-primary-bg, var(--portal-accent-primary, #0066cc));
    border: 1px solid var(--portal-button-primary-border, var(--portal-accent-border, #0066cc));
    border-radius: 4px;
    color: var(--portal-button-primary-text, var(--portal-accent-contrast, #ffffff));
    cursor: pointer;
    font-size: 14px;
    padding: 0.55rem 1.1rem;
    text-decoration: none;
}

.action-btn:hover {
    background-color: var(--portal-button-primary-hover-bg, var(--portal-accent-primary-hover, #0059b3));
    border-color: var(--portal-button-primary-hover-border, var(--portal-accent-primary-hover, #0059b3));
}

.secondary-btn {
    background-color: var(--portal-button-secondary-bg, #ffffff);
    border-color: var(--portal-button-secondary-border, var(--portal-accent-border, #0066cc));
    color: var(--portal-button-secondary-text, var(--portal-accent-link, #0066cc));
}

.secondary-btn:hover {
    background-color: var(--portal-button-secondary-hover-bg, var(--portal-accent-soft, #f0f8ff));
    border-color: var(--portal-button-secondary-hover-border, var(--portal-accent-border, #0066cc));
    color: var(--portal-button-secondary-hover-text, var(--portal-accent-link-hover, #0052a3));
}

@media (max-width: 768px) {
    .content-area {
        padding: 1.2rem;
    }

    .page-title {
        font-size: 18px;
    }

    .related-jobs-table {
        min-width: 680px;
    }

    .related-jobs-table th,
    .related-jobs-table td {
        padding: 12px;
    }

    .related-jobs-col-index,
    .related-job-index {
        width: 60px;
    }

    .info-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bottom-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .action-btn {
        text-align: center;
    }
}
