.breadcrumb-bar {
    border-radius: 0.95rem;
}

.detail-card {
    border: 1px solid rgba(31, 111, 67, 0.14);
    border-radius: 1.2rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 41, 34, 0.1);
    margin-bottom: 1.5rem;
}

.detail-card .card-header {
    border: none;
    padding: 1rem 1.25rem;
    background: linear-gradient(120deg, #1f6f43 0%, #2f8b54 72%, #3a9d63 100%);
}

.detail-card .card-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.detail-card .card-body {
    padding: 1.25rem;
}

.detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.detail-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #184c34;
    background: rgba(31, 111, 67, 0.12);
}

.detail-pill-soft {
    color: #78450e;
    background: rgba(231, 155, 47, 0.22);
}

.detail-poste {
    margin: 0 0 0.8rem;
    font-size: clamp(1.3rem, 1.1rem + 1.1vw, 1.8rem);
    font-weight: 800;
    color: #1b3b2b;
    line-height: 1.32;
}

.detail-block {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(31, 111, 67, 0.14);
    background: rgba(255, 255, 255, 0.95);
}

.detail-block h5 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #145236;
}

.detail-richtext {
    color: #44564b;
    line-height: 1.65;
}

.detail-richtext :is(h1, h2, h3, h4, h5, h6) {
    color: #12452e;
    font-weight: 700;
}

.detail-richtext ul,
.detail-richtext ol {
    padding-left: 1.15rem;
}

.detail-richtext a {
    color: #145236;
    font-weight: 700;
    text-decoration-color: rgba(20, 82, 54, 0.4);
}

.detail-card .card-footer {
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 0.95rem 1.25rem 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 248, 0.98) 100%);
}

.btn-detail-primary,
.btn-detail-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.56rem 0.92rem;
}

.btn-detail-primary {
    border: none;
    color: #fff;
    background: linear-gradient(120deg, #1f6f43 0%, #2f8b54 70%, #3a9d63 100%);
    box-shadow: 0 8px 18px rgba(31, 111, 67, 0.2);
}

.btn-detail-primary:hover,
.btn-detail-primary:focus {
    color: #fff;
    filter: brightness(1.05);
}

.btn-detail-outline {
    color: #145236;
    border: 1px solid rgba(31, 111, 67, 0.24);
    background: #f8fcf9;
}

.btn-detail-outline:hover,
.btn-detail-outline:focus {
    color: #fff;
    border-color: #e79b2f;
    background: linear-gradient(120deg, #d58a20 0%, #e79b2f 100%);
}

@media (max-width: 991px) {
    .detail-card .card-body,
    .detail-card .card-header,
    .detail-card .card-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
