/* Project details styles (moved from inline <style> in resources/views/project_details.blade.php) */

/* hero */
.tcg-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, .95);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .85rem;
}

/* jump links */
.tcg-jump {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.tcg-jump-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.tcg-jump-link:hover {
    background: rgba(255, 255, 255, .20);
    transform: translateY(-1px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.dot-edu {
    background: var(--primary);
}

.dot-inf {
    background: var(--accent);
}

.dot-par {
    background: var(--primary);
}

.dot-com {
    background: var(--accent);
}

/* card */
.tcg-details-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
    margin-bottom: 28px;
}

/* media */
.tcg-details-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    background: #e9eef0;
}

.tcg-details-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* tag */
.tcg-details-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem 1rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    z-index: 2;
}

.tag-primary {
    background: var(--primary);
}

.tag-accent {
    background: var(--accent);
}

/* body */
.tcg-details-body {
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tcg-details-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.tcg-details-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--secondary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.tcg-details-title {
    margin: 0 0 8px 0;
    color: var(--dark);
    font-weight: 950;
    font-size: 1.55rem;
    line-height: 1.25;
}

.tcg-details-meta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: .85rem;
    color: var(--secondary);
    background: rgba(11, 95, 42, .08);
}

.pill-soft {
    color: #2f3b46;
    background: rgba(0, 0, 0, .06);
}

/* text */
.tcg-details-text p {
    color: #4f5f6e;
    line-height: 1.9;
    font-size: 1rem;
    margin-bottom: 12px;
}

/* callout */
.tcg-callout {
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(140, 198, 63, .10), rgba(11, 95, 42, .06));
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 10px;
}

.tcg-callout-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 950;
    color: var(--secondary);
    margin-bottom: 6px;
}

.tcg-link {
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
    word-break: break-word;
}

.tcg-link:hover {
    color: var(--primary-hover);
}

/* actions */
.tcg-details-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: 12px;
}

.tcg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 950;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}

.tcg-btn-primary {
    background: var(--primary);
    color: #fff;
}

.tcg-btn-primary:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.tcg-btn-outline {
    background: transparent;
    border: 2px solid rgba(11, 95, 42, .22);
    color: var(--secondary);
}

.tcg-btn-outline:hover {
    background: rgba(11, 95, 42, .06);
    transform: translateY(-1px);
}

/* responsive */
@media (max-width: 992px) {
    .tcg-details-media {
        min-height: 260px;
    }

    .tcg-details-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .ul-breadcrumb-title {
        font-size: 2.1rem !important;
    }

    .tcg-jump {
        gap: .5rem;
    }

    .tcg-details-body {
        padding: 18px 16px 16px;
    }
}