/* single blog */

.wrap-single-blog {
    padding-top: 67px;
}

.wrap-single-blog .wrap-meta .item {
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    line-height: 100%;
    color: #434343;
}

.wrap-single-blog .wrap-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 17px;
}

.wrap-single-blog .wrap-category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
    margin-bottom: 33px;
}

.wrap-single-blog .wrap-category a {
    border: 1px solid #A8A8A8;
    padding: 6px 8px;
    border-radius: 36px;
    color: #535353;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.wrap-single-blog .wrap-category a:hover {
    background: #B31E25;
    border-color: #B31E25;
    color: #fff;
}

.wrap-single-blog .member-item img {
    max-width: 289px;
}

.wrap-single-blog .content-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: -60px;
    margin-top: 20px;
}

.wrap-single-blog .content-wrap.no-gallery .content-left {
    width: calc(100% - 60px);
}

.wrap-single-blog .content-wrap table {
    width: 100%;
}

.wrap-single-blog .content-wrap .content-left {
    width: calc(67.8% - 60px);
    margin-left: 60px;
}

.wrap-single-blog .content-wrap .content-right {
    width: calc(32.2% - 60px);
    margin-left: 60px;
}

.wrap-single-blog .custom-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wrap-single-blog .inner-content {
    color: #1F1F1F;
}

.wrap-single-blog .inner-content p {
    word-break: break-all;
}

.wrap-single-blog .inner-content ul,
.wrap-single-blog .inner-content ol {
    margin-bottom: 20px;
}

.wrap-single-blog .inner-content ol {
    list-style: decimal;
}

.wrap-single-blog .inner-content b {
    font-weight: 700;
    color: #000000;
}

.wrap-single-blog .inner-content h1,
.wrap-single-blog .inner-content h2,
.wrap-single-blog .inner-content h3,
.wrap-single-blog .inner-content h4,
.wrap-single-blog .inner-content h5,
.wrap-single-blog .inner-content h6 {
    font-family: "Poppins", sans-serif;
    color: #B31E25;
    font-weight: 700;
}

.wrap-single-blog .inner-content ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    background: #000;
    border-radius: 50%;
}

.wrap-single-blog .wrap-meta-2 {
    display: flex;
    flex-wrap: wrap;
        margin-bottom: 67px;
        margin-left: -29px;
        row-gap: 30px;
}

.wrap-single-blog .wrap-meta-2 .item {
    width: calc(33.33333% - 29px);
    margin-left: 29px;
}

.wrap-single-blog .wrap-meta-2 .item {
    background: #B31E25;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    border-radius: 9px;
        -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.wrap-single-blog .wrap-meta-2 .item:hover {
    background: #000;
}

.wrap-single-blog .wrap-meta-2 .item a {
    color: #fff;
}

.wrap-single-blog .wrap-meta-2 .item a i {
    font-size: 25px;
}

.wrap-single-blog .wrap-meta-2 .item img {
    max-width: 30px;
    max-height: 30px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.form-handle-blog .file-preview img {
    max-width: 100px;
}

.wrap-single-blog .wrap-meta-2 .item svg {
    margin: 0 auto;
    width: 45px;
    height: 45px;
}

.wrap-single-blog .wrap-meta-2 .item svg path {
    fill: #fff;
}

.wrap-single-blog .inner-content {
    margin-bottom: 80px;
}

.wrap-single-blog .wrap-tag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.wrap-single-blog .wrap-tag h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    color: #B31E25;
    margin: 0;
margin-right: 29px;
    font-family: "Poppins", sans-serif;
}

.wrap-single-blog .wrap-tag a {
font-weight: 400;
font-size: 14px;
line-height: 22px;
color: #141414;
background: #D9D9D9;
border-radius: 12px;
padding: 4px 12px;
    height: 100%;
    text-transform: capitalize;
}

.wrap-single-blog .wrap-tag a:hover {
    background: #B31E25;
    color: #fff;
}

.wrap-contact-infor {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 32px 100px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 48px;
}

.wrap-single-blog .wrap-contact-infor {
    margin-bottom: 80px;
}

.wrap-contact-infor h2 {
    font-family: "Poppins", sans-serif;
font-weight: 600;
font-size: 30px;
line-height: 40px;
margin-bottom: 16px;
color: #141414;
}

.wrap-contact-infor .list-infor li {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #141414;
    margin-bottom: 12px;
    word-break: break-word;
}

.wrap-contact-infor .list-infor li span {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #141414;
    width: 160px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wrap-contact-infor .list-infor li span i {
    color: #B31E25;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* archive blog */

.archive-blog-filter .tf-search-blog {
        width: 610px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 22px;
}

.archive-blog-filter .tf-search-blog input {
    width: 100%;
    border-radius: 100px;
    background: transparent;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    padding: 3px 16px 3px 56px;
    border: 1px solid #A8A8A8;
}

.archive-blog-filter .tf-search-blog input::placeholder {
    color: #535353;
}

.archive-blog-filter .tf-search-blog i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #B31E25;
}

.archive-blog-filter .wrap-parent-category h6 {
font-weight: 500;
font-size: 14px;
color: #535353;
font-family: "Poppins", sans-serif;
    margin-bottom: 7px;
}

.archive-blog-filter .wrap-parent-category .list-parent-category a {
    border: 1px solid #B31E25;
    border-radius: 36px;
font-weight: 500;
font-size: 14px;
line-height: 20px;
letter-spacing: 0.1px;
color: #B31E25;
    padding: 5px 8px;
display: inline-block;
}

.archive-blog-filter .wrap-parent-category .list-parent-category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
        margin-bottom: 24px;
}

.archive-blog-filter .wrap-parent-category .list-parent-category a:hover,
.archive-blog-filter .wrap-parent-category .list-parent-category a.active {
    background: #B31E25;
    color: #fff;
}

.archive-blog-filter .wrap-parent-category .list-parent-category a.active::after {
    content: '\e993';
    font-family: 'prescrire';
    margin-left: 7px;
    font-size: 10px;    
}

.archive-blog-filter .wrap-childrend-category h6 {
font-weight: 500;
font-size: 14px;
color: #535353;
margin-bottom: 7px;
font-family: "Poppins", sans-serif;
}

.archive-blog-filter .child-cat-item {
    display: none !important;
}

.archive-blog-filter .child-cat-item.active {
    display: block !important;
}

.archive-blog-filter .title-sub-category {
    display: none;
}

.archive-blog-filter .title-sub-category.active {
    display: block;
}

.archive-blog-filter .wrap-childrend-category .list-child-category {
        display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.archive-blog-filter .wrap-childrend-category .list-child-category a {
    border: 1px solid #535353;
    border-radius: 36px;
font-weight: 500;
font-size: 14px;
line-height: 20px;
letter-spacing: 0.1px;
color: #535353;
padding: 5px 8px;
display: inline-block;
}

.archive-blog-filter .wrap-childrend-category .list-child-category a:hover,
.archive-blog-filter .wrap-childrend-category .list-child-category a.active {
    background: #B31E25;
    color: #fff;
    border-color: #B31E25;
}

.archive-blog-filter .wrap-childrend-category .list-child-category a.active::after {
    content: '\e993';
    font-family: 'prescrire';
    margin-left: 7px;
    font-size: 10px;    
}

.archive-blog-filter .tf-btn-filter-blog {
    width: 32px;
    height: 32px;
    border: 1px solid #B1ADC0;
    border-radius: 6px;
    color: #64626C;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
            -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    cursor: pointer;
}

.archive-blog-filter .tf-btn-filter-blog:hover {
    background: #B31E25;
    border-color: #B31E25;
    color: #fff;
}

.archive-blog-filter .tf-btn-filter-blog.active i {
    transform: rotate(180deg);
}

.archive-blog-filter .tf-btn-reset-filter {
    border-radius: 30px;
    padding: 6px 16px;
    background: #B31E25;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1px;
    display: inline-block;
    cursor: pointer;
}

.archive-blog-filter .tf-btn-reset-filter:hover {
    background: #000000;
    color: #fff;
}

.archive-blog-filter .group-filter {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5px;
}

.archive-blog-filter .wrap-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.archive-blog-filter {
    margin-bottom: 50px;
}

.sc-archive-blog {
    padding: 100px 0;
}

.wrap-article-blog {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    position: relative;
}

.sc-archive-blog .wrap-article-blog {
    min-height: 30vh;
}

.sc-archive-blog .wrap-article-blog .nofi-notfound {
    width: calc(100% - 20px);
    margin-left: 20px;
}


.wrap-article-blog .wg-post {
    width: calc(25% - 20px);
    margin-left: 20px;
    margin-bottom: 20px;
}

.wg-post {
    border: 2px solid #A8A8A880;
    border-radius: 10px;
    overflow: hidden;
}

.wg-post .post-thumbnail {
    position: relative;
    height: 160px;
        display: flex
;
    justify-content: center;
    align-items: center;
        background: #EEEEEE;
}

.wg-post .post-thumbnail img {
    max-height: 160px;
}

.wg-post .post-thumbnail .post-meta {
    font-weight: 500;
    font-size: 11px;
    line-height: 120%;
    color: #fff;
    background: #00000080;
    border-radius: 20px;
    padding: 8px 12px;
    position: absolute;
    top: 15px;
    left: 20px;
}

.wg-post .post-category {
    display: flex
    ;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    width: max-content;
    margin-top: 12px;
    margin-bottom: 15px;
}

.wg-post .post-category a:first-child {
    background: #B31E25;
    color: #fff;
}

.wg-post .post-category a {
    background: #FFDBDB;
    color: #B31E25;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1px;
    padding: 2px 12px;
    display: none;
}

.wg-post .post-category a:nth-child(1),
.wg-post .post-category a:nth-child(2) {
    display: block;
}

.wg-post .post-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 6px;
}

.wg-post .post-title a {
    color: #B31E25;
        -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box !important;
}

.wg-post .post-title a:hover {
    color: #141414;
}

.wg-post .post-excerpt {
font-weight: 400;
font-size: 16px;
line-height: 24px;
color: #1F1F1F;
    margin-bottom: 17px;
            -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box !important;
}

.wg-post .content {
    padding: 20px 20px 16px 20px;
}

.wg-post .count-building {
    font-weight: 500;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.5em;
}

.wg-post .count-building i {
    flex-shrink: 0;
    font-size: 20px;
}

.custom-pagination {
    margin-top: 32px;
}

.custom-pagination .pagination,
.custom-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-pagination .pagination .page-numbers,
.custom-pagination .pagination .ajax-page-link ,
.custom-pagination .page-numbers .page-numbers,
.custom-pagination .page-numbers .ajax-page-link {
    border: 1px solid #DFE3E8;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #212B36;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
            -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.custom-pagination .pagination .page-numbers:hover,
.custom-pagination .pagination .ajax-page-link:hover,
.custom-pagination .pagination .page-numbers:hover i,
.custom-pagination .pagination .page-numbers.current ,
.custom-pagination .page-numbers .page-numbers:hover,
.custom-pagination .page-numbers .ajax-page-link:hover,
.custom-pagination .page-numbers .page-numbers:hover i,
.custom-pagination .page-numbers .page-numbers.current {
    color: #B31E25;
    border-color: #B31E25;
}

.custom-pagination .pagination .pagination i,
.custom-pagination .page-numbers .pagination i {
    color: #C4CDD5;
    font-weight: 900;
    font-size: 11px;
                -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.file-url-group {
    background: #D9D9D94D;
    padding: 20px;
    border: 1px solid #000000;
    border-radius: 10px;
}

.file-url-group .icon-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Popup box */
.file-url-group .icon-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

/* Header */
.file-url-group .icon-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
}

.file-url-group .icon-modal-header h4 {
    margin: 0;
    font-size: 16px;
}

.file-url-group .close-icon-modal {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* Body grid */
.file-url-group .icon-modal-body {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.file-url-group .icon-grid-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
}

.file-url-group .icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
}

.file-url-group .icon-item:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Animation */
@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.file-url-group .group-select-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-url-group .file-preview {
    border: 1px solid #828282B2;
    background: #fff;
    display: flex
;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    border-radius: 6px;
}

.archive .wrap-article-blog .custom-pagination {
        display: block;
    width: 100%;
}

.inner-select-icon {
        display: flex
;
    align-items: center;
    justify-content: space-between;
}

.inner-select-icon .btn-reload-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B31E25;
    color: #fff;
    cursor: pointer;
                    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.inner-select-icon .btn-reload-icon:hover {
    background: #000;
}

@media (max-width: 1080px) {
    .page-title.blog-pagetitle h1 {
        width: unset;
    }
    .wrap-contact-infor {
        padding: 32px 40px;
    }
    .wrap-contact-infor .list-infor li span {
    gap: 10px;
}
}

@media (max-width: 991px) {

.archive-blog-filter .tf-search-blog {
    width: 100%;
}

.wrap-contact-infor {
    flex-wrap: wrap;
}
.wrap-single-blog .content-wrap .content-left,
.wrap-single-blog .content-wrap .content-right {
    width: calc(100% - 60px);
}

.wrap-single-blog .content-wrap .content-left {
    margin-bottom: 40px;
}
    .wrap-contact-infor {
        padding: 30px 20px;
    }
    .wrap-contact-infor .list-infor li {
    gap: 15px;
}
.wrap-contact-infor .list-infor li span {
    min-width: unset;
}
.wrap-contact-infor .list-infor li {
    font-size: 14px;
}
.wrap-article-blog .wg-post {
    width: calc(33.33333% - 20px);
}
.wrap-single-blog .wrap-meta-2 .item {
    width: calc(50% - 29px);
}
}

@media (max-width: 767px) {
    .wrap-article-blog .wg-post {
        width: calc(100% - 20px);
    }
}