@charset "utf-8";
:root {
    --dt-primary: #008e3e;
    --dt-primary-light: #00a84d;
    --dt-primary-dark: #006b30;
    --dt-primary-bg: rgba(0, 142, 62, 0.06);
    --dt-primary-border: rgba(0, 142, 62, 0.15);
}
.fn-clear::after { content: ''; display: table; clear: both; }
body { background: #fff; }

/* ========== Page Inner ========== */
.dt-page-inner {
    max-width: 96rem;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ========== Banner ========== */
.dt-banner {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0 28px;
}
.dt-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}
.dt-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color .15s;
}
.dt-breadcrumb a:hover { color: var(--dt-primary); text-decoration: none; }
.dt-breadcrumb-sep {
    margin: 0 6px;
    color: #ccc;
}
.dt-banner h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
}
.dt-banner-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

/* ========== Two-Column Layout ========== */
.dt-layout {
    display: flex;
    gap: 24px;
    padding-top: 8px;
}
.dt-main {
    flex: 1;
    min-width: 0;
}
.dt-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* ========== Category Tabs ========== */
.dt-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 0 16px;
}
.dt-cate-item {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    height: 34px;
    border-radius: 17px;
    background: #f5f7fa;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    border: 1px solid transparent;
}
.dt-cate-item:hover {
    background: var(--dt-primary-bg);
    color: var(--dt-primary);
    text-decoration: none;
}
.dt-cate-item.active {
    background: var(--dt-primary-bg);
    border-color: var(--dt-primary);
    color: var(--dt-primary);
    font-weight: 600;
}

/* ========== Search Bar ========== */
.dt-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 16px;
    flex-wrap: wrap;
}
.dt-search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
}
.dt-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}
.dt-search-input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.dt-search-input::placeholder { color: #aaa; }
.dt-search-input:focus {
    border-color: var(--dt-primary);
    box-shadow: 0 0 0 2px var(--dt-primary-bg);
}

/* ========== Main Content ========== */
.dt-main-content {
    padding: 10px 0 40px;
}

/* ========== Focus Area ========== */
.dt-focus-area {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.dt-focus-main {
    flex: 1;
    position: relative;
    height: 272px;
    overflow: hidden;
    border-radius: 10px;
}
.dt-focus-main a { display: block; height: 100%; }
.dt-focus-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease-in-out;
}
.dt-focus-main:hover img { transform: scale(1.05); }
.dt-focus-side {
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dt-focus-side:first-of-type { gap: 10px; }
.dt-focus-side a {
    display: block;
    position: relative;
    height: 131px;
    overflow: hidden;
    border-radius: 10px;
}
.dt-focus-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease-in-out;
}
.dt-focus-side:hover img { transform: scale(1.05); }
.dt-focus-txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
    color: #fff;
    padding: 12px 16px 14px;
}
.dt-focus-txt b {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dt-focus-main .dt-focus-txt b { font-size: 20px; }

/* ========== Section Header ========== */
.dt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}
.dt-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* ========== Article Cards ========== */
.dt-listings {
    margin-bottom: 20px;
}
.dt-article-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all .2s;
    margin-bottom: 16px;
    position: relative;
}
.dt-article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--dt-primary-border);
}
.dt-article-card:hover .dt-article-title a { color: var(--dt-primary); }
.dt-article-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dt-article-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dt-article-title a {
    color: #111;
    text-decoration: none;
    transition: color .15s;
}
.dt-article-title a:hover { text-decoration: none; }
.dt-article-badge {
    display: inline-block;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 2px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
    flex-shrink: 0;
    background: #ff6000;
    color: #fff;
    margin-right: 4px;
    vertical-align: middle;
}
.dt-article-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dt-article-meta {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
}
.dt-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dt-article-meta span + span {
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid #e5e7eb;
}
.dt-article-meta a {
    color: #999;
    text-decoration: none;
    transition: color .15s;
}
.dt-article-meta a:hover { color: var(--dt-primary); text-decoration: none; }
.dt-article-img {
    width: 160px;
    height: 105px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
}
.dt-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dt-article-card:hover .dt-article-img img { transform: scale(1.05); }

/* Multi-image items */
.dt-article-pics {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}
.dt-article-pics-item {
    flex: 1;
    height: 105px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.dt-article-pics-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dt-article-pics-item:hover img { transform: scale(1.05); }

/* ========== Loading ========== */
.dt-loading {
    font-size: 14px;
    color: #bfbfbf;
    text-align: center;
    line-height: 168px;
}

/* ========== Sidebar Section ========== */
.dt-sidebar-block {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}
.dt-sidebar-block:last-child {
    margin-bottom: 0;
}
.dt-sidebar-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}
.dt-sidebar-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.dt-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dt-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all .15s;
    padding: 8px;
    border-radius: 8px;
}
.dt-sidebar-item:hover {
    background: #f5f7fa;
    text-decoration: none;
}
.dt-sidebar-item-img {
    width: 100px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}
.dt-sidebar-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dt-sidebar-item:hover .dt-sidebar-item-img img { transform: scale(1.05); }
.dt-sidebar-item-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dt-sidebar-item:hover .dt-sidebar-item-title { color: var(--dt-primary); }

/* ========== Pagination ========== */
.pagination { margin-top: 20px; padding: 10px 0 30px; text-align: center; line-height: 32px; font-size: 14px; color: #666; }
.pagination li { display: inline-block; margin-right: 7px; background-color: #fff; }
.pagination li.page_current span { border: solid 1px var(--dt-primary); background: var(--dt-primary); color: #fff; }
.pagination li.page_disabled { display: none; }
.pagination li a,
.pagination li span { display: block; padding: 0 10px; color: #797a82; border: 1px solid #D9D9D9; border-radius: 3px; box-sizing: border-box; text-decoration: none; }
.pagination li a:hover,
.pagination li.page_current span { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }
.pagination li.page_more span { background: #fff; color: #797a82; cursor: default; border-radius: 3px; }
.pagination .page_info { display: none; }

/* ========== Responsive ========== */
@media screen and (max-width: 1220px) {
    .dt-page-inner { padding-left: 16px; padding-right: 16px; }
}
@media screen and (max-width: 1200px) {
    .dt-layout { gap: 16px; }
    .dt-categories { gap: 6px; }
}
@media screen and (max-width: 900px) {
    .dt-layout { flex-direction: column; }
    .dt-sidebar { width: 100%; }
    .dt-categories { gap: 6px; flex-wrap: wrap; justify-content: center; }
    .dt-cate-item { padding: 10px 6px; }
    .dt-banner { padding: 24px 0 20px; }
    .dt-banner h1 { font-size: 24px; }
    .dt-banner-desc { font-size: 13px; }
    .dt-search-bar { flex-direction: column; }
    .dt-search-input-wrap { width: 100%; }
    .dt-focus-area { flex-direction: column; }
    .dt-focus-main { height: 200px; }
    .dt-focus-side { width: 100%; flex-direction: row; }
    .dt-focus-side a { height: 150px; flex: 1; }
    .dt-article-card { flex-direction: column; }
    .dt-article-img { width: 100%; height: 180px; }
    .dt-section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media screen and (max-width: 600px) {
    .dt-categories { gap: 4px; flex-wrap: wrap; }
    .dt-banner h1 { font-size: 22px; }
    .dt-article-meta { gap: 0; }
    .dt-article-meta span + span { padding-left: 8px; margin-left: 8px; }
    .dt-article-pics { flex-direction: column; }
    .dt-article-pics-item { height: 120px; }
    .dt-focus-side { flex-direction: column; }
    .dt-focus-side a { height: 120px; }
}
