/* Trang chi tiết sản phẩm / dự án / đề tài */
.dt-page {
    background: var(--bg-page);
}

.dt-top {
    padding-top: 16px;
    padding-bottom: 0;
}

.dt-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    margin: 0;
    color: var(--muted);
}
.dt-crumb a {
    color: var(--brand) !important;
    text-decoration: none !important;
}
.dt-crumb a:hover {
    color: var(--brand-deep) !important;
}

.dt-card--summary .dt-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 8px;
    padding: 3px 8px;
    background: var(--mist);
    border-left: 3px solid var(--brand);
}

.dt-card--summary .dt-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 24px);
    color: var(--ink);
    margin: 0 0 10px;
    line-height: 1.25;
}

.dt-card--summary .dt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}
.dt-card--summary .dt-meta span {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #f3f6fa;
    border: 1px solid var(--line);
    padding: 3px 8px;
}

.dt-card--summary .dt-lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.dt-price-box {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: var(--mist);
    border: 1px solid var(--line);
}
.dt-price-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.dt-price {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand);
}

.dt-card--summary .dt-btn {
    margin-bottom: 10px;
}
.dt-card--summary .dt-phone {
    margin-top: 2px;
}

.dt-article-hero {
    padding-top: 8px;
    padding-bottom: 8px;
}
.dt-media--full {
    margin: 0 0 8px;
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
}
.dt-media--full img {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    background: #fff;
}
.dt-article-lead {
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: var(--ink) !important;
    margin: 0 !important;
}

.dt-body {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 56px;
    align-items: start;
}
.dt-body--article {
    padding-top: 12px;
}

.dt-media {
    display: block;
    margin: 0 0 24px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
}
.dt-media img {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    background: #fff;
}

.dt-aside-media {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--mist);
    position: relative;
    font: inherit;
    color: inherit;
    text-align: left;
}
.dt-aside-media img {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    background: var(--mist);
}
button.dt-aside-media {
    cursor: default;
    appearance: none;
    background: var(--mist);
}
button.dt-aside-media--zoom {
    cursor: zoom-in;
}
button.dt-aside-media--zoom:hover img {
    transform: scale(1.02);
    transition: transform 0.25s ease;
}
.dt-aside-zoom-hint {
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 46, 104, 0.78);
    padding: 4px 8px;
    pointer-events: none;
}

/* Lightbox ảnh sidebar */
body.dt-lightbox-open {
    overflow: hidden;
}
.dt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}
.dt-lightbox[hidden] {
    display: none !important;
}
.dt-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(10, 16, 28, 0.82);
    cursor: zoom-out;
}
.dt-lightbox-frame {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.dt-lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.dt-lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.dt-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.75);
}

.dt-block {
    margin-bottom: 28px;
}
.dt-block--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dt-h2 {
    font-family: var(--font-display);
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--ink);
}

.dt-block p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.dt-block--long p + p {
    margin-top: 12px;
}
.dt-block--long p {
    line-height: 1.65;
}

.dt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dt-list li {
    position: relative;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.45;
}
.dt-list li:last-child { border-bottom: none; }
.dt-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 7px;
    height: 7px;
    background: var(--brand);
}
.dt-list--compact li {
    padding-top: 6px;
    padding-bottom: 6px;
}

.dt-steps {
    margin: 0;
    padding: 0 0 0 1.2em;
}
.dt-steps li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.dt-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
}

.dt-card {
    border: 1px solid var(--line);
    padding: 20px 18px;
    background: #fff;
    border-top: 3px solid var(--brand);
}
.dt-card--soft {
    background: var(--mist);
    border-top-color: var(--sky);
}

.dt-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    margin: 0 0 8px;
    color: var(--ink);
}

.dt-card-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.dt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    background: var(--grad-brand);
    border: 1px solid transparent;
    padding: 11px 14px;
    text-decoration: none !important;
    margin-bottom: 10px;
}
.dt-btn:hover {
    background: var(--grad-brand-hover);
}

.dt-card--summary:hover,
.dt-card--soft:hover {
    border-color: rgba(0, 58, 140, 0.35);
    box-shadow: 0 8px 22px rgba(0, 58, 140, 0.08);
}

.dt-media {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dt-media:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 22px rgba(0, 58, 140, 0.1);
}

.dt-phone {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.dt-phone:hover {
    color: var(--brand-deep) !important;
}

.dt-related {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dt-related li {
    margin-bottom: 12px;
}
.dt-related li:last-child { margin-bottom: 0; }
.dt-related span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}
.dt-related a {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand) !important;
    text-decoration: none !important;
    line-height: 1.4;
}
.dt-related a:hover {
    color: var(--brand-deep) !important;
}
.dt-related-extra {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}
.dt-related-extra a {
    color: var(--brand) !important;
    font-weight: 600;
    text-decoration: none !important;
}
.dt-related-extra a:hover {
    color: var(--brand-deep) !important;
}

.dt-back {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand) !important;
    text-decoration: none !important;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.dt-back:hover {
    color: var(--brand-deep) !important;
    padding-left: 4px;
}

@media (max-width: 900px) {
    .dt-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .dt-aside {
        position: static;
    }
    .dt-block--pair {
        grid-template-columns: 1fr;
    }
}
