/* chi tiết bài viết */
#single-post {
    padding: 24px 0;
}

#single-post .container {
    display: grid;
    grid-template-columns: 8.5fr 3.5fr;
    gap: 48px;
}

.single-post-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-post-content-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-post-content-top h1 {
    color: #000000;
    font-weight: 500;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 1%;
    margin: 0;
}

.single-post-content-top .ifo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.single-post-content-top .ifo>* {
    position: relative;
}

.single-post-content-top .ifo>*:not(:last-child) {
    margin-right: 19px;
}

.single-post-content-top .ifo>*:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -19px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #D9D9D9;
    transform: translateY(-50%);
}

.ifo .author {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    color: #616161;
    font-weight: 300;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 145%;
    letter-spacing: 2%;
    text-decoration: none;
}

.single-post-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-post-content-bottom-avt img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.single-post-content-bottom-editor {
    color: #212121;
    font-weight: 300;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: 0.01em;
}

.single-post-content-bottom-editor>*:first-child {
    margin-top: 0;
}

.single-post-content-bottom-editor>*:last-child {
    margin-bottom: 0;
}

.single-post-content-bottom-editor p,
.single-post-content-bottom-editor ul,
.single-post-content-bottom-editor ol,
.single-post-content-bottom-editor blockquote,
.single-post-content-bottom-editor table,
.single-post-content-bottom-editor figure {
    margin: 0 0 16px;
}

.single-post-content-bottom-editor h2,
.single-post-content-bottom-editor h3,
.single-post-content-bottom-editor h4,
.single-post-content-bottom-editor h5,
.single-post-content-bottom-editor h6 {
    margin: 24px 0 12px;
    color: #212121;
    font-weight: 500;
    line-height: 150%;
}

.single-post-content-bottom-editor a {
    color: #C40F0F;
}

.single-post-content-bottom-editor img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.single-post-content-bottom-editor iframe,
.single-post-content-bottom-editor video {
    max-width: 100%;
}

.ifo .date,
.ifo .cate {
    color: #616161;
    font-weight: 300;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 145%;
    letter-spacing: 2%;
    text-decoration: none;
}

.ifo .author img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.icon-share-post {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.icon-share-post label {
    margin: 0;
    color: #9E9E9E;
    font-weight: 300;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 137%;
    letter-spacing: 1%;

}

.icon-share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icon-share-list .icon {
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-share-list svg {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.single-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-tag a {
    font-weight: 300;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 137%;
    letter-spacing: 1%;
    padding: 4px 12px;
    border-radius: 24px;
    border: 1px solid #EEEEEE;
    text-decoration: none;
    background-color: #FAFAFA;
    color: #616161;
}

.single-tag a:hover {
    color: #ffffff;
    background-color: #C40F0F;
    border: none;
    transition: all 0.3s ease-in-out;
}

/* end chi tiết bài viết */
/* sidebar */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.single-post-sidebar .box {
    display: flex;
    flex-direction: column;
    gap: 24px;

}

.single-post-sidebar .box p,
.single-post-sidebar .box h2,
.single-post-sidebar .box h3 {
    margin: 0;
}

.box-about {
    display: flex;
    flex-direction: column;
    gap: 12px !important;
    padding: 24px;
    border-radius: 12px;
    background-color: #FFF7F7;
}

.single-post-sidebar .box h2 {
    margin: 0;
    color: #212121;
    font-weight: 500;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 146%;
    letter-spacing: 0%;
}

.box-about h2 {
    color: #C40F0F;
}

.box-about p {
    color: #212121;
    font-weight: 300;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 1%;
}

.box-about__content p {
    margin: 0;
}

.single-post-sidebar .questions-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-post-sidebar .question-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

.single-post-sidebar .question-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.single-post-sidebar .question-item__toggle {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

.single-post-sidebar .question-item__title,
.single-post-sidebar .question-item__content h3 {
    margin: 0;
    color: #212121;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
}

.single-post-sidebar .question-item__icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-post-sidebar .question-item__icon--minus {
    display: none;
}

.single-post-sidebar .question-item.is-active .question-item__icon--minus {
    display: inline-flex;
}

.single-post-sidebar .question-item.is-active .question-item__icon--plus {
    display: none;
}

.single-post-sidebar .question-item__answer {
    padding-top: 16px;
}

.single-post-sidebar .question-item__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-post-sidebar .question-item__content p {
    margin: 0;
    color: #616161;
    font-weight: 300;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 0.02em;
}

.products-related-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-related-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.products-related-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.products-related-item__info {
    display: flex;
    flex-direction: column;
}

.products-related-item__info h3 {
    color: #212121;
    font-weight: 300;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 145%;
    letter-spacing: 2%;
}

.products-related-item__price {
    color: #C40F0F;
    font-weight: 300;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 137%;
    letter-spacing: 2%;
}

.products-related-item__price--group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.products-related-item__price-current {
    color: #C40F0F;
}

.products-related-item__price-regular {
    color: #BDBDBD;
    text-decoration: line-through;
}

.view-most-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.view-most-item {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
}

.view-most-item__thumb {
    width: 60px;
    height: 40px;
    flex: 0 0 60px;
    overflow: hidden;
    border-radius: 4px;
    display: block;
}

.view-most-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-most-item__info {
    flex: 1 1 auto;
    min-width: 0;
}

.view-most-item__info h3 {
    color: #212121;
    font-weight: 300;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 145%;
    letter-spacing: 2%;
}

.box.images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.cat-products-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-products-item {
    background-color: #FFF7F7;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #212121;
    font-weight: 500;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 1%;
    text-align: center;

}

.cat-products-item:hover {
    color: #212121;
}

.cat-products-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}

/* end sidebar */

@media screen and (max-width: 998px) {
    #single-post .container {
        grid-template-columns: 1fr;
    }
    #single-post {
        padding-top: 0;
        padding-bottom: 48px;
    }
}

