/* assets/css/detail.css - Single record pages: project, company, experience, certification */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.4rem 0.4rem;
}
.breadcrumb a { color: #1f6390; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
body.dark-mode .breadcrumb a { color: #7aa9d0; }
.breadcrumb i { font-size: 0.65rem; opacity: 0.6; }

.hero-badge .project-status { font-size: 0.75rem; padding: 0.2rem 1rem; }

.detail-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    padding: 6px;
    object-fit: contain;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2rem;
}

.detail-body h3,
.detail-side h3,
.related h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}
.detail-body h3 i,
.detail-side h3 i,
.related h3 i { color: #1f6390; }

.detail-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 1.6rem;
    white-space: pre-line;
}

.detail-side {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.8rem;
    padding: 1.4rem 1.6rem;
    align-self: start;
}
body.dark-mode .detail-side { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }

.fact-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.2rem; }
.fact-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.fact-list li > i { color: #1f6390; width: 1.2rem; text-align: center; margin-top: 0.2rem; }
.fact-list strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-secondary); }
.fact-list span,
.fact-list a { font-weight: 600; color: var(--text-main); font-size: 0.92rem; text-decoration: none; word-break: break-word; }
.fact-list a:hover { color: #1f6390; }

.detail-side .visit-link-btn,
.detail-side .details-link-btn,
.detail-side .cert-request-btn { width: 100%; justify-content: center; margin-top: 0.4rem; }

.cert-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1f6390;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.cert-request-btn:hover { background: transparent; color: #1f6390; border-color: #1f6390; }

.related { margin-top: 2.2rem; }

@media (max-width: 800px) {
    .detail-grid { grid-template-columns: 1fr; }
    .hero { flex-direction: column; align-items: start; padding: 1.8rem; }
    .hero-avatar { margin-top: 0.8rem; }
}
