.column.is-3:last-child {
    position: relative;
    padding-top: 0;
    margin-top: -40px;
}

.social-card {
    position: relative;
    background: var(--box-color);
    border-radius: 12px;
    color: var(--text-color);
    overflow: hidden;
    width: 100%;
    display: flex;
    height: 82px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.social-card-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    height: 60px;
}

.story-block {
    text-align: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    height: 60px;
    align-items: center;

    &:hover {
        animation: pulse 1s ease-in-out infinite;
    }
}

.story-block .img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border-color-social);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme='light'] .story-block .img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--border-color-social);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-block img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
}

.story-meta {
    font-size: 1.1rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

.grid-header {
    margin: 1.5rem 0 1rem;
}

.grid-header .header-inner {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.grid-header img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.grid-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    flex-grow: 1;
}

.left-profile-wrapper {
    width: 326px;
    position: relative;
    height: fit-content;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reseaux-bar {
    height: 82px;
    width: 100%;
    position: relative;
    display: flex;
    float: right;
    margin-bottom: 24px;
    border-radius: 12px;
}

.header-news-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: block;
    float: right;
    width: 100%;
}

.header-news-wrapper .header-news {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-news-text {
    font-size: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.header-news-button {
    padding: 7px 12px;
    background: var(--color-blue);
    border-radius: 12px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.header-news-button a {
    gap: 10px;
    display: flex;
}

.header-news-button:hover {
    opacity: 0.7;
}

@keyframes animateFleche {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(6px);
    }
    100% {
        transform: translateY(0px);
    }
}

.header-news-button-icon {
    rotate: -90deg;
    width: 20px;
    animation: animateFleche 1.5s infinite;
}

.news-box {
    margin-right: 25px;
    background-color: var(--box-color);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 12px;
}

.news-box:hover {
    box-shadow: var(--box-shadow);
    transform: scale(1.05, 1.05);
}

.news-box:hover .box-img--hover {
    height: 100%;
    opacity: .2;
}

.news-body-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    float: right;
    width: 100%;
    gap: 14px;
    margin-bottom: 15px;
}

.news-body-wrapper .news-card-item {
    width: calc(100% / 4 - 14px / 4 * 3);
    flex: none;
    height: 360px;
}

.time-badge-news {
    position: absolute;
    top: -10px;
    margin-left: 90px;
    background: var(--color-blue);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgb(85, 115, 175);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.time-badge-news::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url(/assets/img/icon/icon_time.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.time-badge-news {
    animation: timeNewsPulse 1.5s infinite;
    background: var(--color-blue);
}

@keyframes timeNewsPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgb(85, 115, 175);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(85, 115, 175, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgb(85, 115, 175);
    }
}

.main-alert-warning {
    display: flex;
    gap: 5px;
    padding: 16px;
    border: 2px solid #ffa726;
    border-radius: 12px;
    background: rgba(255, 167, 38, 0.1);
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.main-alert-success {
    display: flex;
    gap: 5px;
    padding: 16px;
    border: 2px solid #26ff88;
    border-radius: 12px;
    background: rgba(38, 255, 92, 0.1);
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.main-alert-error {
    display: flex;
    gap: 5px;
    padding: 16px;
    border: 2px solid #ff2626;
    border-radius: 12px;
    background: rgba(255, 38, 38, 0.1);
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.main-alert-warning-icon {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
}

.main-alert-warning-icon img {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-top: -20px;
    margin-left: -8px;
    -webkit-filter: drop-shadow(1px 1px 0 #fff) drop-shadow(-1px 0px 0 #fff) drop-shadow(0 -1px 0 #fff);
}

.main-alert-warning-content {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
}

.main-alert-warning-title {
    font-size: 20px;
    line-height: 1.5;
    flex: 1;
}

.main-alert-warning-content strong {
    color: #ff8f00;
    font-weight: 700;
}

.main-alert-warning-signature strong {
    color: #ff8f00;
    font-weight: 700;
}

.news-body-wrapper .news-card-item .news-box {
    background-color: var(--box-color);
    margin-right: 25px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: none;
    outline: none;
    height: 360px;
}

.news-body-wrapper .news-card-item .news-box:hover {
    box-shadow: var(--box-shadow);
    outline: none;
    border: none;
}

.news-body-wrapper .news-card-item .news-box .news-info-hover:hover {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    width: 100%;
    opacity: 0;
    z-index: 1;
}

.news-body-wrapper .news-card-item .news-box:hover .news-info-hover {
    opacity: 1;
}

.news-body-wrapper .news-card-item .news-box .news-info-hover svg {
    stroke: #fff;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.news-body-wrapper .news-card-item .news-box .news-info-hover .news-comment-info {
    float: right;
    stroke: var(--text-color);
    width: 15px;
    vertical-align: middle;
}

.news-body-wrapper .news-card-item .news-box {
    position: relative;
    border: 1px solid var(--border-color);
}

.news-body-wrapper .news-card-item .news-box .news-info-hover {
    position: absolute;
    top: 12px;
    right: 100px;
    z-index: 2;
    display: flex;
    align-items: center;
    width: auto;
    pointer-events: none;
}

.news-body-wrapper .news-card-item .news-box .news-info-hover .news-comment-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    font-size: 11px;
    white-space: nowrap;
    text-shadow: var(--box-shadow);
}

.news-body-wrapper .news-card-item .news-box .news-info-hover .news-comment-info svg {
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 1.5;
    fill: none;
    display: block;
    flex-shrink: 0;
}

.news-body-wrapper .news-card-item .news-box .news-info-hover .news-comment-info .news-comment-count {
    font-size: 12px;
    color: #fff;
    vertical-align: middle;
}

.news-box .box-img {
    visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 245px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.has-background-image:hover {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center;
}

.news-box .box-img:hover {
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: absolute;
    height: 235px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;
}

.news-box .box-img--hover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: absolute;
    height: 250px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    top: 0;
}

.news-box .box-img--hover:hover {
    height: 100%;
    opacity: .2;
}

.news-box .box-info-add {
    z-index: 2;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 16px 24px 24px 24px;
    background-color: var(--box-color);
}

.news-box .box-info-add .vues {
    font-size: 12px;
    color: var(--text-color);
    vertical-align: middle;
    opacity: 0.8;
}

.news-box:hover .box-info-add {
    background-color: transparent;
    position: relative;
}

.news-box .box-info-add .box-add-autor {
    font-size: 13px;
    color: var(--text-muted);
}

.news-box .box-info-add .box-add-title {
    max-width: 100%;
    overflow: hidden;
    max-height: 40px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
    font-size: 16px;
}

.news-box .box-info-add .box-add-members {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}

.news-box .box-info-add .box-add-members a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    text-decoration: none;
    color: var(--secondary-color);
}

.news-box .box-info-add .box-add-members a svg.feather-eye {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.news-box .box-info-add .box-add-members a:hover svg.feather-eye {
    stroke: var(--text-color);
}

.news-box .box-info-add .box-add-members .members-preview img {
    display: inline-block;
    height: 28px;
    width: 28px;
    min-width: 28px;
}

.bottom-body-wrapper {
    position: relative;
    display: flex;
    float: right;
    width: 100%;
    height: fit-content;
    gap: 14px;
}

.bottom-body-wrapper .last-wrapper {
    width: calc(100% / 2 - 14px / 2);
    flex: none;
}

.bottom-body-wrapper .last-wrapper .card-last {
    position: relative;
    background: var(--box-color);
    border-radius: .85rem;
    box-shadow: var(--box-shadow);
    max-width: 100%;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.bottom-body-wrapper .last-wrapper .card-last .header-last {
    display: flex;
    align-items: center;
    border-color: var(--border-color);
    height: 65px;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.bottom-body-wrapper .last-wrapper .card-last .header-last .last-icon-forum {
    background-image: url(/assets/img/icon/icon_forum.png);
    width: 36px;
    height: 36px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 16px;
    margin-right: 16px;
}

.bottom-body-wrapper .last-wrapper .card-last .header-last img {
    margin-right: 24px;
}

.bottom-body-wrapper .last-wrapper .card-last .header-last .link-button-last {
    margin-left: auto;
}

.bottom-body-wrapper .last-wrapper .card-last .header-last .button-header-last {
    margin-left: auto;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/assets/img/icon/icon_fleche.png) no-repeat;
    background-size: contain;
    transform: rotate(-90deg);
    right: 10px;
}

.bottom-body-wrapper .last-wrapper .card-last .header-last .button-header-last:hover {
    animation: pulse 1s ease-in-out infinite;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last {
    align-items: center;
    border-color: var(--border-color);
    height: 69px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last:first-child {
    align-items: center;
    border-color: var(--border-color);
    border-bottom: 1px solid var(--border-color);
    height: 68px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last:not(:first-child) {
    align-items: center;
    border-color: var(--border-color);
    border-top: 1px solid var(--border-color);
    max-height: 80px;
    display: inline-block;
    width: 100%;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    height: 100%;
}

.home-avatar-wrapper {
    height: 65px;
    position: relative;
    overflow: hidden;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-avatar {
    display: block;
    margin-top: -8px;
    margin-left: -8px;
    transition: transform 0.3s ease;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last:hover .content-last-card .last-avatar {
    transform: translateY(-5px);
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .meta-last {
    padding: 0 10px;
    line-height: 1.3;
    width: calc(100% - 150px);
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .meta-last span {
    display: block;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .meta-last span:first-child {
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    transition: color 0.3s ease;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .meta-last span:nth-child(2) {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.right-info {
    margin-left: auto;
    display: flex;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-vue {
    display: flex;
    align-items: center;
    width: auto;
    height: 30px;
    margin-left: auto;
    border-radius: 50%;
    transition: all .3s;
    cursor: pointer;
    margin-right: 10px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-vue svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
    margin-right: 6px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-vue span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-comm {
    display: flex;
    align-items: center;
    width: auto;
    height: 30px;
    margin-left: auto;
    border-radius: 50%;
    transition: all .3s;
    cursor: pointer;
    margin-right: 10px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-comm svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
    margin-right: 6px;
}

.bottom-body-wrapper .last-wrapper .card-last .content-last .content-last-card .last-comm span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.bottom-body-wrapper .last-wrapper .card-last .header-last .last-icon-offi {
    background-image: url(/assets/img/icon/icon_staff.png);
    width: 36px;
    height: 36px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 16px;
    margin-right: 16px;
}

@media (max-width: 1330px) and (min-width: 769px) {
    .left-profile-wrapper {
        flex-shrink: 1;
    }
}

@media (max-width: 768px) {
    .left-profile-wrapper {
        width: 100%;
    }

    .reseaux-bar {
        display: none;
    }

    .social-card {
        display: none;
    }

    .bottom-body-wrapper {
        display: none;
    }

    .bottom-body-wrapper .last-wrapper {
        width: 100%;
        flex: none;
    }

    .header-news-button {
        display: none;
    }

    .news-body-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .news-body-wrapper .news-card-item {
        height: 345px;
        width: 100%;
    }

    .news-body-wrapper .news-card-item .news-box {
        height: 335px;
    }

    .time-badge-news {
        margin-left: 260px;
    }
}