@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);
}

/* ========== 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: 280px;
    flex-shrink: 0;
}
.dt-sidebar-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dt-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dt-primary);
}

/* Destination search */
.dt-dest-form {
    margin-bottom: 16px;
}
.dt-dest-search {
    display: flex;
    gap: 0;
}
.dt-dest-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    color: #333;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.dt-dest-input::placeholder { color: #aaa; }
.dt-dest-input:focus { border-color: var(--dt-primary); }
.dt-dest-btn {
    width: 40px;
    height: 36px;
    background: var(--dt-primary);
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.dt-dest-btn:hover { background: var(--dt-primary-dark); }

/* Destination list */
.dt-dest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dt-dest-list li {
    border-bottom: 1px solid #f5f5f5;
}
.dt-dest-list li:last-child { border-bottom: none; }
.dt-dest-item {
    display: block;
    padding: 10px 8px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all .15s;
    border-radius: 4px;
}
.dt-dest-item:hover {
    color: var(--dt-primary);
    background: var(--dt-primary-bg);
    text-decoration: none;
}

/* ========== 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;
}

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

/* ========== Listing Cards ========== */
.dt-listings {
    margin-bottom: 20px;
}
.dt-listing-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    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-listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--dt-primary-border);
}
.dt-listing-card:hover .dt-listing-title a { color: var(--dt-primary); }

/* Listing image */
.dt-listing-img {
    width: 240px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.dt-listing-img a {
    display: block;
    width: 100%;
    height: 100%;
}
.dt-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dt-listing-card:hover .dt-listing-img img { transform: scale(1.05); }

/* Listing main content */
.dt-listing-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dt-listing-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
}
.dt-listing-title a {
    color: #333;
    text-decoration: none;
    transition: color .15s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.dt-listing-title a:hover { text-decoration: none; }
.dt-listing-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
}

/* Author info bar */
.dt-listing-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}
.dt-listing-author-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dt-listing-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.dt-listing-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dt-listing-author-name {
    font-size: 14px;
    color: #787878;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}
.dt-listing-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
}

/* Loading indicator */
.dt-loading {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    color: #999;
}

/* Empty state */
.dt-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    border: none;
}
.dt-list-empty img {
    width: 200px;
    max-width: 100%;
    margin-bottom: 16px;
}
.dt-list-empty span {
    font-size: 14px;
    color: #999;
}

/* ========== Pagination ========== */
.dt-pagination {
    margin-top: 20px;
    padding: 10px 0 30px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    color: #666;
}
.dt-pagination a,
.dt-pagination span {
    display: inline-block;
    padding: 0 12px;
    height: 32px;
    line-height: 32px;
    color: #797a82;
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    text-decoration: none;
    margin: 0 3px;
    background: #fff;
}
.dt-pagination a:hover {
    background: var(--dt-primary);
    border-color: var(--dt-primary);
    color: #fff;
}
.dt-pagination .curr {
    background: var(--dt-primary);
    border-color: var(--dt-primary);
    color: #fff;
}
.dt-pagination .disabled {
    color: #ccc;
    cursor: default;
    background: #f9f9f9;
}
.dt-pagination .interim {
    border: none;
    background: none;
    color: #999;
    padding: 0 4px;
}

/* ========== Responsive ========== */
@media screen and (max-width: 1220px) {
    .dt-page-inner { padding-left: 16px; padding-right: 16px; }
}
@media screen and (max-width: 960px) {
    .dt-sidebar { display: none; }
}
@media screen and (max-width: 900px) {
    .dt-banner { padding: 24px 0 20px; }
    .dt-banner h1 { font-size: 24px; }
    .dt-listing-card { flex-direction: column; }
    .dt-listing-img { width: 100%; height: 200px; }
    .dt-listing-title { font-size: 16px; }
    .dt-categories { gap: 6px; }
    .dt-cate-item { padding: 0 12px; height: 30px; font-size: 13px; }
}
@media screen and (max-width: 600px) {
    .dt-banner h1 { font-size: 22px; }
    .dt-listing-desc { -webkit-line-clamp: 3; }
}
