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

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

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

.breadcrumb a:hover {
    color: #0066cc;
}

.separator {
    color: #999;
    margin: 0 0.5rem;
}

.current {
    color: #0066cc;
    font-weight: 500;
}

.fair-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
    margin-bottom: 2rem;
    padding: 3rem 2rem;
    text-align: center;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fair-detail-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    padding: 2rem;
}

.section-title {
    border-bottom: 2px solid #0066cc;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
}

.center-title {
    text-align: center;
}

.fair-stats-container {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.fair-stats {
    display: grid;
    flex: 1;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
    min-height: 110px;
    padding: 1.2rem;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.92;
}

.fair-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
}

.fair-status {
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 6px;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
}

.status-label {
    color: #666;
    font-size: 0.95rem;
}

.status-value {
    color: #28a745;
    font-size: 0.95rem;
    font-weight: 600;
}

.fair-registration {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-registration {
    border: none;
    border-radius: 6px;
    color: #fff;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student-reg {
    background-color: #0066cc;
}

.company-reg {
    background-color: #28a745;
}

.btn-registration:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.safety-tip {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
}

.tip-title {
    color: #e65100;
    font-weight: 600;
}

.fair-meta {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.meta-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.meta-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-value {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.fair-description {
    margin-bottom: 1.5rem;
}

.description-content {
    color: #333;
    line-height: 1.8;
}

.description-content p {
    margin-bottom: 1rem;
}

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

.description-content table {
    border-collapse: collapse;
    width: 100%;
}

.description-content th,
.description-content td {
    border: 1px solid #ddd;
    padding: 0.65rem;
}

.company-list {
    margin-bottom: 1.5rem;
}

.company-list-placeholder {
    background-color: #f8f9fa;
    border: 1px dashed #c7d2e3;
    border-radius: 8px;
    color: #4d5a72;
    padding: 1rem 1.2rem;
}

.article-action-row {
    text-align: center;
}

.back-link {
    color: #0066cc;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.divider {
    background-color: #e9ecef;
    height: 1px;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .fair-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 1.6rem;
    }

    .fair-stats-container {
        flex-direction: column;
    }

    .fair-actions {
        min-width: 0;
        width: 100%;
    }

    .meta-row {
        grid-template-columns: 1fr;
    }
}
