/* =========================================
   BRASSNET — PANNEAU LATÉRAL DROIT
========================================= */

.bn-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-width: 0;
    color: #253247;
    font-family: inherit;
}

.bn-discovery-card {
    min-width: 0;
    padding: 19px 17px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgb(24 39 75 / 3%);
}

.bn-discovery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 17px;
}

.bn-discovery-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #b47a23;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.15px;
    line-height: 1.5;
}

.bn-discovery-heading h2 {
    margin: 0;
    color: #192b45;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.bn-discovery-heading-icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff5e5;
    color: #b47a23;
    font-size: 19px;
}

.bn-discovery-list {
    display: flex;
    flex-direction: column;
}

.bn-contact-item,
.bn-community-item,
.bn-space-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f6;
    color: inherit;
    text-decoration: none;
}

.bn-contact-item:first-child,
.bn-community-item:first-child,
.bn-space-item:first-child {
    padding-top: 0;
}

.bn-contact-item:last-child,
.bn-community-item:last-child,
.bn-space-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bn-contact-avatar,
.bn-community-icon,
.bn-space-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f8;
    color: #314968;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.bn-contact-avatar {
    border-radius: 50%;
}

.bn-contact-avatar img,
.bn-community-icon img,
.bn-space-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bn-community-icon {
    background: #edf5f0;
    color: #36734f;
}

.bn-space-icon {
    background: #f2edfc;
    color: #7653a6;
}

.bn-discovery-info {
    flex: 1;
    min-width: 0;
}

.bn-discovery-name {
    display: block;
    overflow: hidden;
    color: #24344b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;
    text-overflow: ellipsis;
}

.bn-discovery-name:hover,
.bn-news-title:hover {
    color: #b47a23;
}

.bn-discovery-info p {
    margin: 3px 0 0;
    color: #7b8798;
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.bn-discovery-meta {
    display: block;
    margin-top: 5px;
    color: #929cad;
    font-size: 10px;
    line-height: 1.5;
}

.bn-discovery-action {
    display: flex;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border: 1px solid #e8c88f;
    border-radius: 9px;
    color: #a66d16;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
}

.bn-discovery-action:hover {
    background: #fff5e5;
}

.bn-discovery-chevron {
    color: #9aa5b4;
    font-size: 22px;
}

.bn-discovery-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #f0f2f6;
    color: #a66d16;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;
}

.bn-discovery-more:hover {
    color: #714707;
}

.bn-discovery-more span {
    font-size: 16px;
}

.bn-discovery-empty {
    margin: 0;
    padding: 5px 0 10px;
    color: #8792a3;
    font-size: 12px;
    line-height: 1.7;
}

/* Actualités */

.bn-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bn-news-item {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f6;
}

.bn-news-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bn-news-image {
    display: block;
    height: 105px;
    overflow: hidden;
    border-radius: 9px;
    background: #f0f3f8;
}

.bn-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.bn-news-image:hover img {
    transform: scale(1.04);
}

.bn-news-category {
    display: inline-block;
    margin-bottom: 5px;
    color: #b47a23;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.bn-news-title {
    display: block;
    color: #24344b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bn-news-content p {
    margin: 5px 0 0;
    color: #7b8798;
    font-size: 11px;
    line-height: 1.65;
}

/* Pied de panneau */

.bn-right-sidebar-footer {
    padding: 2px 5px 15px;
    color: #909bad;
    font-size: 10px;
    line-height: 1.8;
}

.bn-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 5px;
}

.bn-footer-links a {
    color: #6d7a8d;
    text-decoration: none;
}

.bn-footer-links a:hover {
    color: #a66d16;
}

.bn-right-sidebar-footer p {
    margin: 0;
}

/* Tablettes : ajuster le panneau */

@media (max-width: 1100px) {
    .bn-discovery-card {
        padding: 16px 13px;
    }

    .bn-discovery-heading h2 {
        font-size: 15px;
    }
}

/* Mobiles : masquer le panneau droit */

@media (max-width: 767px) {
    .bn-right-sidebar {
        display: none;
    }
}
