/* ==========================================================================
   HOME STYLES FOR DAUTU-KINHTE (NO CSS ROOT VARIABLES, FONT ARIAL)
   ========================================================================== */

.dt-home-main {
    padding: 15px 0 35px;
    background-color: #ffffff;
}

.dt-home-main-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* --- Main Featured Article Block --- */
.dt-feature-block {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.dt-feature-content {
    flex: 1;
}

.dt-feature-title {
    font-size: 26px;
    margin: 0 0 10px 0;
}

.dt-feature-meta {
    color: #999;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.dt-meta-category {
    font-weight: bold;
    color: #000;
}

.dt-meta-sep {
    color: #cccccc;
}

.dt-feature-desc {
    font-size: 14px;
    color: #666;
    text-align: justify;
}

.dt-feature-image {
    flex: 0 0 55%;
    width: 55%;
}

.dt-feature-image .wrap-img {
    padding-bottom: 56.25%;
}

/* --- Sub Articles Grid (3 columns) --- */
.dt-sub-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dt-sub-article-img-wrap {
    padding-bottom: 56.25%;
    margin-bottom: 7px;
}

.dt-sub-article-title {
    font-size: 18px;
}

.dt-sub-article-title a {
    transition: color 0.2s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* --- Tablet Breakpoint (max-width: 991px) --- */
@media screen and (max-width: 991px) {
    .dt-home-main {
        padding: 10px 0 25px;
    }

    .dt-feature-block {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .dt-feature-image {
        flex: 0 0 100%;
        width: 100%;
    }

    .dt-feature-title {
        font-size: 24px;
    }

    .dt-sub-articles-grid {
        gap: 15px;
        grid-template-columns: repeat(1, 1fr);
    }

    .dt-sub-article-title {
        font-size: 16px;
    }

    .dt-sub-article-item {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 15px;
    }
}

/* --- Mobile Breakpoint (max-width: 767px) --- */
@media screen and (max-width: 767px) {
    .dt-feature-title {
        font-size: 22px;
    }

    .dt-home-main-inner {
        grid-template-columns: 1fr;
    }

    .dt-home-main-inner .ads {
        display: none;
    }
}

/* ==========================================================================
   SECTION ARTICLES & MOST READ LAYOUT
   ========================================================================== */

.dt-section-articles {
    padding: 40px 0;
}

.dt-section-articles-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.dt-article-row {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.dt-article-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.dt-article-row-img {
    flex: 0 0 270px;
    width: 270px;
}

.dt-article-row-img .wrap-img {
    padding-bottom: 56.25%;
}

.dt-article-row-content {
    flex: 1;
}

.dt-article-row-title {
    font-size: 22px;
    margin-bottom: 5px;
}

.dt-article-row-meta {
    font-size: 14px;
    color: #999999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.dt-article-row-category.highlight-red {
    color: #88282c;
}

.dt-article-row-category.highlight-orange {
    color: #d35400;
}

.dt-article-row-sep {
    color: #cccccc;
}

.dt-article-row-desc {
    font-size: 14px;
    color: #666666;
    text-align: justify;
}

/* Right Column: Most Read */
.dt-most-read-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    border-top: 3px solid #E77919;
    padding-top: 8px;
}

.dt-most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.dt-most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.dt-most-read-rank {
    font-size: 32px;
    font-weight: 700;
    color: #9199b4;
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
}

.dt-most-read-title {
    flex: 1;
    font-size: 14px;
}

.dt-most-read-title a {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-most-read-thumb {
    flex: 0 0 90px;
    width: 90px;
}

.dt-most-read-thumb .wrap-img {
    padding-bottom: 56.25%;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS FOR SECTION ARTICLES
   ========================================================================== */

/* --- Tablet Breakpoint (max-width: 991px) --- */
@media screen and (max-width: 991px) {
    .dt-section-articles-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* --- Mobile Breakpoint (max-width: 767px) --- */
@media screen and (max-width: 767px) {
    .dt-article-row {
        gap: 15px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .dt-article-row-title {
        font-size: 16px;
    }

    .dt-most-read-item {
        gap: 10px;
    }

    .dt-most-read-rank {
        font-size: 28px;
        width: 20px;
    }

    .dt-article-row-img {
        flex: 0 0 40%;
        width: 40%;
    }

    .dt-article-row-meta,
    .dt-article-row-desc {
        display: none;
    }

    .dt-section-articles {
        padding: 25px 0;
    }
}

.c-more {
    text-align: center;
}

.c-more a {
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    border: 1px solid #ccc1b7;
    color: #222;
    padding: 7px 0;
    max-width: 370px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
}

.c-more a:hover {
    background: #E77919;
    color: #fff;
    border-color: #E77919;
}

/* ==========================================================================
   CATEGORY WIDGETS GRID LAYOUT (4 COLUMNS)
   ========================================================================== */

.dt-section-categories {
    padding: 35px 0;
    background-color: #f5f5f5;
}

.dt-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dt-category-heading {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 15px;
}

.dt-category-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #E77919;
}

.dt-category-main {
    margin-bottom: 10px;
}

.dt-category-main-thumb {
    margin-bottom: 15px;
}

.dt-category-main-thumb .wrap-img {
    padding-bottom: 56.25%;
}

.dt-category-main-title {
    font-size: 17px;
    font-weight: 700;
}

.dt-category-main-title a {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-category-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.dt-category-sub-list li {
    padding: 10px 0;
    border-top: 1px solid #ddd;
}

.dt-category-sub-list li a {
    font-size: 15px;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS FOR SECTION CATEGORIES
   ========================================================================== */

/* --- Tablet Breakpoint (max-width: 991px) --- */
@media screen and (max-width: 991px) {
    .dt-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* --- Mobile Breakpoint (max-width: 767px) --- */
@media screen and (max-width: 767px) {
    .dt-category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dt-section-categories {
        padding: 25px 0;
    }

}