:root {
    /* text */
    --text-color-common: #000000;
    --text-color-card: #858585;
    --text-color-no-active: #B3B3B3;
    --text-color-menu: #FFFFFF;
    /* background */
    --bg-common: #000000;
    --bg-bagde: #EBEBEB;
    --bg-page-link: #EBEBEB;
    --bg-button-secondary: #FFFFFF;
    --bg-pickup: #F8F1F1;
    /* border */
    --border-color: #000000;
}

body {
    font-family: Noto Sans !important;
}

a {
    text-decoration: none;
}

.site {
    margin: 0;
}

.site-inner {
    max-width: unset;
}

.site-header {
    padding: 0 4.5455%;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    line-height: 32.69px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-left: 6px;
}

.section-title::after {
    content: "";
    width: 4px;
    height: 10px;
    border-radius: 12px;
    background-color: red;
    display: inline-block;
    position: absolute;
    left: -6px;
    top: 40%;
}

.section-title.underline::before {
    content: "";
    width: calc(100% + 6px);
    height: 4px;
    border-radius: 12px;
    background-color: var(--bg-common);
    display: inline-block;
    position: absolute;
    left: -6px;
    bottom: -18px;
}

.card {
    position: relative;
    border: none;
}

.card .badge-box,
.badge-box {
    position: absolute;
    left: 10px;
    top: 10px;
}

.badge {
    border-radius: 4px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card .card-img-top {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 1.75;
    object-fit: cover;
}

.card .card-body .card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32.69px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card-title a,
.breadcrumb a {
    color: var(--text-color-common);
    box-shadow: none;
}

.breadcrumb {
    font-size: 12px;
    font-weight: 500;
    line-height: 16.34px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card .card-body .card-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 27.24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--text-color-card);
}

.card .card-body .card-date {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--text-color-no-active);
}

.card.card-row-left {
    display: flex;
    flex-direction: row;
}

.card.card-row-left .card-body,
.card-row-right .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.card-row-left .card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card.card-row-left .card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card.card-row-left .card-date {
    font-size: 12px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card-row-left img {
    width: 100%;
    height: 171px;
    object-fit: cover;
}

.card-row-right img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.card-row-right .card-body {
    position: absolute;
    width: 100%;
    bottom: 0;
    color: white;
    background-color: rgba(17, 0, 0, 0.53);
}

.card-row-right .card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card-row-right .card-title a {
    color: white;
}

.card-row-right .card-date {
    font-size: 12px;
    font-weight: 400;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin: 0;
}

.card-row-right .card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.top-post {
    background-color: rgba(245, 245, 245, 1);
    border-radius: 12px;
}

.card.card-top-post {
    display: flex;
    background-color: transparent;
    flex-direction: row;
}

.card.card-top-post img {
    aspect-ratio: 1;
    object-fit: cover;
}

.card.card-top-post .card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 27.24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card.card-top-post .badge {
    font-size: 12px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background-color: var(--bg-bagde);

}

.card.card-top-post .card-body {
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.img-banner {
    width: 100%;
    aspect-ratio: 1.9;
    border-radius: 12px;
}

.card.card-pickup img {
    width: 100%;
    height: 267px;
    border-radius: 12px;
    object-fit: cover;
}

.card.card-pickup {
    background-color: transparent;
}

.pickup-section {
    background-color: var(--bg-pickup);
}

.pickup-section .pickup-title {
    margin-left: 4.5455%;
    margin-right: 4.5455%;
}

.custom-prev,
.custom-next {
    background-color: var(--bg-button-secondary);
    border-radius: 12px;
    width: 50px;
    gap: 20px
}

.custom-prev:hover,
.custom-next:hover,
.custom-next:focus,
.custom-prev:focus {
    background-color: var(--bg-button-secondary);
}

.card.card-pickup .card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.card.card-pickup .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.card-pickup .card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ellipsis-1-line {
    white-space: nowrap;
    /* Không cho phép ngắt dòng */
    overflow: hidden;
    /* Ẩn phần nội dung vượt quá khung */
    text-overflow: ellipsis;
    /* Thêm dấu "..." ở cuối dòng */
}

.ellipsis-3-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    /* Giới hạn nội dung ở 3 dòng */
    line-clamp: 3;
    /* Hỗ trợ các trình duyệt mới */
}


.follow-us-content {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.follow-us-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    text-decoration: none;
    color: var(--text-color-common);
    font-size: 24px;
}

.subscribe-form {
    display: flex;
    justify-content: start;
}

.subscribe-form input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    outline: none;
    width: 50%;
    min-width: 250px;
    height: 40px;
    font-family: Noto Sans;
    font-weight: 400;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.subscribe-form-button:hover {
    cursor: pointer;
}

.subscribe-form-button:hover rect {
    fill: var(--border-color);
}

.tags-filter {
    gap: 24px;
}

.filter-item {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--text-color-no-active);
}

.tags-filter a.active {
    color: var(--text-color-common);
}

.tags-filter a:focus {
    outline: none;
}

.tag-posts-list .post-item img {
    aspect-ratio: 0.8;
    object-fit: cover;
    border-radius: 12px;
}

.post-item .card-body {
    position: absolute;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    bottom: 8px;
    width: calc(100% - 16px);
    right: 8px;
    height: 121px;
}

.post-item .card-body .card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21.79px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--text-color-common);
    height: 43px;
}

.post-item .card-body .card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.content-bottom-widgets {
    display: block;
    background-color: var(--bg-common);
}

.content-bottom-widgets .widget_block {
    border: none;
}

.pagination .prev,
.pagination .next {
    position: static;
    height: 32px;
    background-color: white !important;
    width: 42px;
}

.pagination::after,
.pagination::before {
    display: none;
}

.pagination {
    min-height: 32px;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    gap: 8px;
    border: none;
}

.pagination a,
.pagination span {
    width: 32px;
    height: 32px;
    padding: 5px 4px 5px 4px;
    gap: 0px;
    border-radius: 4px;
    border-color: var(--border-color);
    color: var(--text-color-common) !important;
}

.pagination span.page-link {
    font-weight: 700;
    background-color: var(--bg-page-link) !important;
}

.pagination .prev::before,
.pagination .next::before {
    font-size: 24px;
    height: 32px;
    line-height: 32px;
    position: relative;
    width: 43px;
}

.categories-image {
    width: 100%;
    aspect-ratio: 3 !important;
}

@media screen and (min-width: 56.875em) {
    .main-full-width {
        margin-left: -5%;
        margin-right: -5%;
    }
}

@media screen and (max-width: 768px) {
    .categories-image {
        aspect-ratio: 2 !important;
    }
    .content-post {
        padding-left: 26px;
        padding-right: 26px;
    }
}

.prev-post,
.next-post,
.home-post {
    display: flex;
    gap: 4px;
    color: var(--text-color-common) !important;
    cursor: pointer;
}

.prev-post.disabled,
.next-post.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.site-media {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

.content-bottom-widgets {
    margin: 0px !important;
}

.menu-toggle {
    border: none !important;
    padding: 0;
}


.menu-toggle.toggled-on,
.menu-toggle.toggled-on:hover,
.menu-toggle.toggled-on:focus {
	background-color: var(--bg-page-link);
	border-color: #1a1a1a;
	color: var(--text-color-menu);
}