.project-header-card {
    background: #fff;
    border: 1px solid #ead8bb;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(43, 31, 21, 0.1);
    overflow: visible;
    margin-top: 0.65rem;
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 100;
}

.project-header-card .panel {
    margin-bottom: 0 !important;
    border: 0;
    border-radius: 18px;
}

.project-header-card .panel-heading {
    padding: 1.25rem 1.35rem 1rem;
}

.tt-proj-head-top {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #ecdcc2;
    border-radius: 14px;
    background:
        radial-gradient(circle at 84% 24%, rgba(184, 134, 47, 0.13), transparent 34%),
        linear-gradient(125deg, #fffdf7 0%, #f5e7d2 100%);
    padding: 1rem 1.1rem;
    margin-bottom: 0.9rem;
}

.tt-proj-title-link {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
}

.tt-proj-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1px solid #dfc8a0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b8862f;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tt-proj-title-wrap small {
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7b6f61;
    font-size: 0.66rem;
    font-weight: 700;
}

.tt-proj-title-wrap h4 {
    margin: 0;
    color: #26190e;
    font-size: 1.22rem;
    line-height: 1.2;
    font-weight: 800;
}

.tt-proj-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.tt-proj-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e4d1b1;
    border-radius: 999px;
    background: #fff;
    color: #6f5f4b;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.28rem 0.62rem;
}

.tt-proj-meta i {
    color: #b8862f;
    font-size: 0.83rem;
}

.tt-proj-nav.navbar.bg-light {
    background: #fff !important;
    border: 1px solid #f0e3cf;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

.tt-proj-nav .navbar-nav {
    gap: 0.15rem;
}

.tt-proj-nav .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: #3d4b5e !important;
    border-radius: 999px;
    padding: 0.48rem 0.84rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    transition: all 0.15s ease;
}

.tt-proj-nav .navbar-nav .nav-link:hover {
    background: #faf4e8;
    color: #9a6a29 !important;
}

.tt-proj-nav .navbar-nav .nav-link i {
    color: #b8862f;
    font-size: 0.95rem;
}

.tt-proj-nav .dropdown-menu {
    border: 1px solid #efe1cb;
    border-radius: 12px;
    box-shadow: 0 16px 28px rgba(43, 31, 21, 0.12);
    padding: 0.42rem 0;
    margin-top: 0.4rem !important;
    z-index: 1050 !important;
    background: #fff;
}

.tt-proj-nav .dropdown-item {
    font-size: 0.84rem;
    padding: 0.56rem 1rem;
    color: #3d4b5e;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.tt-proj-nav .dropdown-item:hover {
    background: #faf4e8;
    color: #9a6a29;
}

.tt-proj-nav .dropdown-item i {
    color: #b8862f;
    width: 1rem;
}

.tt-proj-nav .navbar-toggler {
    border: 1px solid #e8d7b9;
    border-radius: 8px;
}

.tt-proj-nav .navbar-toggler:focus {
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(184, 134, 47, 0.2);
}

@media (max-width: 991px) {
    .tt-proj-head-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .tt-proj-meta {
        justify-content: flex-start;
    }

    .tt-proj-nav .navbar-nav {
        margin-top: 0.45rem;
    }
}

@media (max-width: 575px) {
    .project-header-card .panel-heading {
        padding: 0.95rem 0.85rem;
    }

    .tt-proj-title-wrap h4 {
        font-size: 1.02rem;
    }

    .tt-proj-meta span {
        font-size: 0.68rem;
    }
}
