/* ===============================
   GRID
================================ */
.du-an-grid .col .col-inner { padding: 0; }
.du-an-grid { display: flex; flex-wrap: wrap; gap: 0; }
.du-an-grid .col { flex: 1 1 33.333%; max-width: 33.333%; }
/* .du-an-grid .du-an-box {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.du-an-grid .du-an-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.du-an-grid .box-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.du-an-grid .du-an-box:hover .box-image img {
    transform: scale(1.06);
}

.du-an-grid .box-text {
    padding: 18px 20px;
    flex: 1;
}

.du-an-grid .post-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    min-height: calc(1.4em * 2);
}

.du-an-grid .post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.du-an-grid .du-an-box:hover .post-title a {
    color: #d62828;
} */

@media (max-width: 1024px) {
    .du-an-grid .col { flex: 1 1 50%; max-width: 50%; }
}
@media (max-width: 768px) {
    .du-an-grid .col { flex: 1 1 100%; max-width: 100%; }
}

/* ===============================
   BOX
================================ */
.du-an-box { height: 100%; display: flex; flex-direction: column; min-height: 30px; }
.du-an-box .box-image { align-items: center; margin: initial; }
.du-an-box .box-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; display: block; margin: 0; }
.du-an-box .box-text { flex: 1; display: flex; flex-direction: column; }
.du-an-meta { margin: 8px 0; font-size: 13px; }
.du-an-meta div { margin-bottom: 5px; }
.no-image-placeholder { color: #999; font-size: 14px; text-align: center; }

/* ===============================
   CONTENT
================================ */
.duan-meta-bar { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.duan-meta-bar .share-label { font-weight: 600; }
.duan-meta-bar .duan-views { color: #666; }

/* ===============================
   RELATED
================================ */
.duan-related { padding: 50px 0; }
.duan-related h3 { font-size: 28px; margin-bottom: 24px; text-align: center; }
.duan-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px auto; }
.duan-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.duan-card__link { display: block; text-decoration: none; color: inherit; }
.duan-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.duan-card__info { padding: 15px; }
.duan-card__title { font-size: 16px; font-weight: 600; color: #222; margin: 0; line-height: 1.4; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.duan-card__metas { background: #f5f5f5; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.duan-card__meta { font-size: 13px; color: #555; line-height: 1.5; }

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) { .duan-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .duan-related-grid { grid-template-columns: 1fr; } }

/* ===============================
   LOAD MORE
================================ */
.du-an-load-more-container { text-align: center; }
#du-an-load-more { background: #D32F2F; color: white; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: background 0.3s ease; font-size: 16px; text-transform: uppercase; }
#du-an-load-more:hover { background: #B71C1C; }
#du-an-load-more:disabled { background: #ccc; cursor: not-allowed; }

/* ===============================
   SPINNER
================================ */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.spinner { border: 4px solid #f3f3f3; border-top: 4px solid #D32F2F; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto; }

/* ===============================
   COLUMNS
================================ */
/* @media (min-width: 769px) {
    .large-columns-5 .col { flex: 0 0 20%; max-width: 20%; }
    .large-columns-6 .col { flex: 0 0 16.666%; max-width: 16.666%; }
}
 */