/* Box Left */
.col.blog-left {
    padding-right: 2rem;
}

.main-blog-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-post {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.featured-post img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.main-blog-title {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 700;
}

.main-blog-title:hover {
    color: var(--devitech-light-color);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-item .blog-title {
    font-weight: 400;
    color: #000;
}

.blog-item .blog-title:hover {
    color: var(--devitech-light-color);
}

.blog-item img {
    width: 200px;
    min-width: 200px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 8/5;
}

.blog-item h3 {
    font-size: 16px;
    margin: 0;
}

.blog-date {
    font-size: 14px;
    font-weight: 700;
    color: rgb(0 0 0 / .5);
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination .page-numbers:not(.prev):not(.next) {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    border: 1px solid #eee;
    text-decoration: none;
    border-radius: 50%;
    width: 40px;
    height: auto;
    aspect-ratio: 1 / 1;
    color: #000;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    display: inline-block;
    color: #000;
    margin: 0 4px;
    padding: 6px 12px;
    border: 2px solid #eee;
    text-decoration: none;
    border-radius: 50% 50% / 100%;
}

.pagination .page-numbers.dots {
    border: none;
    cursor: default;
}

.pagination .page-numbers:not(.dots):hover {
    border: 2px solid var(--devitech-light-color);
    color: var(--devitech-light-color);
}

.pagination .current {
    background: var(--devitech-light-color);
    color: white !important;
}

/* Box Right */
.section.blog-container.container-center-layout {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Search */
.blog-right .search-blog-custom form.searchform {
    margin-bottom: 2rem;
}

/* Title */
.post-detail__sub-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Search */
.searchform-wrapper.ux-search-box.relative.form-flat.is-normal {
    margin: 0 1rem 2.75rem;
}

.search-group {
    margin-bottom: 30px;
}

.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

#searchform {
    position: relative;
}

#searchform #s {
    height: 45px;
    border: 1px solid #ddd;
    width: 100%;
    text-indent: 15px;
    border-radius: 6px;
    -webkit-box-shadow: 0 0rem 1rem #0000000d;
    box-shadow: 0 0rem 1rem #0000000d;
}

#searchform #searchsubmit {
    position: absolute;
    right: 3px;
    top: 3px;
    height: 39px;
    width: 80px;
    color: #fff;
    border-radius: 6px;
    background: var(--devitech-linear-color);
}

/* Danh mục + Details */
.blog-items-desk-mt {
    border-radius: 1rem;
    -webkit-box-shadow: 0 0rem 1rem rgb(0 0 0 / 5%);
    box-shadow: 0 0rem 1rem rgb(0 0 0 / 5%);
    padding: .75rem .75rem 4rem;
    background: #fff;
    position: relative;
}

.mgb-2 {
    margin-bottom: 2rem;
}

.pd075 {
    padding: .75rem !important;
}

/* Danh mục */
.mt-text-center--item-desktop {
    display: inline-block;
    margin: 4px 2px;
}

.mt-text-center--item-desktop a {
    padding: .625rem 1rem;
    display: block;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background-size: 400% auto;
    background: var(--devitech-linear-color);
    -webkit-transition: all .3s;
    transition: all .3s;
}

/* Most popular */
.blog-items-1-line-first {
    margin-bottom: 15px;
    padding-bottom: 1rem;
    position: relative;
}

.blog-items-views {
    border-bottom: 1px solid #ddd;
}

.blog-items__date {
    display: flex;
    align-items: center;
    gap: .125rem;

    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 0.625rem;
}

.blog-items-1-line-first {
    margin-bottom: 15px;
    padding-bottom: 1rem;
    position: relative;
}

.blog-items__name {
    font-weight: 400;
    margin: .625rem 0 0;
}

.desktop-post-view .blog-items__name a {
    font-weight: 700;
    font-size: .95rem;
    color: #000;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-items__name a {
    font-weight: 700;
    font-size: 1.125rem;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
}

/* Company Services */
.post-detail-service-list1 {
    padding-left: 0;
}

.post-detail-service-list1 li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
}

.post-detail-service-list1 li .service-img1 {
    width: 40%;
    overflow: hidden;
}

.post-detail-service-list1 li .service-img1 .img {
    width: 100%;
    overflow: hidden;
}

.post-detail-service-list1 li .service-info1 {
    width: 57%;
}

.post-detail-service-list1 li .service-info1 a {
    color: #000;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.post-detail-service-list1 li .service-info1 .service-desc1 {
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Xem Tất Cả */
.blog-items__view {
    position: absolute;
    right: 1.125rem;
    bottom: 1.125rem;
}

.blog-items__view a {
    text-decoration: none;
}

.blog-items__view span {
    font-weight: 700;
    color: var(--fs-color-primary) !important;
    font-size: 0.75rem;
    margin-right: 1rem;
}

/* Từng Service */
.category-post {
    margin-bottom: 0rem;
}

.post-related {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.category-post li:first-child {
    border-top: none;
}

.post-related li {
    display: flex;
    margin-bottom: 1.25rem;
}

.post-related__image {
    width: 40% !important;
}

.post-related__image img {
    border-radius: 0.625rem;
}

.post-related__info {
    width: 60%;
    padding-left: 1rem;
}

.category-post .post-related__name {
    margin-bottom: 0.3rem;
}

.post-related__name {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    margin: 0 0 0.625rem;
    transition: all 0.3s;
}

.post-related__date {
    font-size: 0.625rem;
    color: #999;
}

/* Tin tuyển dụng */
.mt-item-tuyendung-desktop {
    padding: 10px 0;
    border-bottom: 1px #ddd solid;
    width: 100%;
}

.mt-item-tuyendung__desc {
    font-size: .875rem;
}

/* Media */
/* ───────── iPhone family ───────── */

/* iPhone SE (2nd gen) – 375px */
@media only screen and (max-width: 375px) {
    /* styles cho iPhone SE */
}

/* iPhone 12/13/14 Pro – 390px */
@media only screen and (max-width: 390px) {
    /* styles cho iPhone 12/13/14 Pro */
}

/* iPhone XR – 414px */
@media only screen and (max-width: 414px) {
    /* styles cho iPhone XR */
}

/* iPhone 14 Pro Max – 430px */
@media only screen and (max-width: 430px) {
    /* styles cho iPhone 14 Pro Max */
}



/* Google Nest Hub – 600px */
@media only screen and (max-width: 600px) {
    /* styles cho Nest Hub portrait */
}

/* Google Nest Hub Max – 800px */
@media only screen and (max-width: 800px) {
    /* styles cho Nest Hub Max portrait */
}


/* ───────── iPad family ───────── */

/* iPad Mini / Air (9.7"–10.2") – 768px */
@media only screen and (max-width: 768px) {
    /* styles cho iPad 9.7"/10.2" portrait */
}

/* iPad Air 10.9" – 820px */
@media only screen and (max-width: 820px) {
    /* styles cho iPad Air 10.9" portrait */
}

/* iPad Pro 11" – 834px */
@media only screen and (max-width: 834px) {
    /* styles cho iPad Pro 11" portrait */
}

/* iPad Pro 12.9" – 1024px + Nest Hub*/
@media only screen and (max-width: 1024px) {
    /* styles cho iPad Pro 12.9" portrait */
}

/* ───────── Nest Hub Max ───────── */
@media only screen and (max-width: 1280px) {
    /*  */
}