:root {
    --dl-brown: #5a2a12;
    --dl-brown-dark: #281205;
    --dl-gold: #d8aa50;
    --dl-gold-light: #ffd66b;
    --dl-blue: #11263d;
    --dl-text: #333333;
    --dl-muted: #777777;
    --dl-light: #f5f5f5;
    --dl-line: #e8e8e8;
    --dl-white: #ffffff;
}

html { scroll-behavior: smooth; }
body.delang-home {
    margin: 0;
    color: var(--dl-text);
    background: var(--dl-white);
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.delang-home a { text-decoration: none; }
.dl-wrap { width: min(1080px, calc(100% - 34px)); margin: 0 auto; }

.dl-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dl-header.is-scrolled,
.dl-header.is-menu-open {
    background: var(--dl-white);
    border-bottom-color: #ececec;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .06);
}
.dl-header-inner {
    width: min(1200px, calc(100% - 34px));
    height: 64px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.dl-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dl-white);
    min-width: 235px;
}
.dl-logo-img {
    width: 222px;
    height: 30px;
    object-fit: contain;
    object-position: left center;
}
.dl-logo-img-dark { display: none; }
.dl-header.is-scrolled .dl-logo-img-light,
.dl-header.is-menu-open .dl-logo-img-light { display: none; }
.dl-header.is-scrolled .dl-logo-img-dark,
.dl-header.is-menu-open .dl-logo-img-dark { display: block; }
.dl-logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}
.dl-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.dl-nav a,
.dl-nav-link {
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s ease;
}
.dl-header.is-scrolled .dl-nav a,
.dl-header.is-scrolled .dl-nav-link,
.dl-header.is-menu-open .dl-nav a,
.dl-header.is-menu-open .dl-nav-link {
    color: #333;
}
.dl-nav a:hover,
.dl-nav a.is-red { color: #ffd66b; }
.dl-header.is-scrolled .dl-nav a:hover,
.dl-header.is-scrolled .dl-nav a.is-red,
.dl-header.is-menu-open .dl-nav a:hover,
.dl-header.is-menu-open .dl-nav a.is-red { color: #d9362b; }
.dl-nav-item { position: relative; }
.dl-nav-item::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 14px;
}
.dl-subnav {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 128px;
    padding: 8px 0;
    background: rgba(0, 0, 0, .72);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility .16s ease;
}
.dl-nav-item:hover .dl-subnav {
    opacity: 1;
    visibility: visible;
}
.dl-subnav a {
    display: block;
    padding: 9px 16px;
    color: rgba(255, 255, 255, .92) !important;
    text-align: center;
}
.dl-subnav a:hover { color: #ffd66b !important; background: rgba(255, 255, 255, .08); }
.dl-search { font-size: 24px !important; line-height: 1; }
.dl-menu-btn {
    display: none;
    border: 1px solid rgba(255,255,255,.35);
    color: var(--dl-white);
    background: transparent;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 22px;
}
.dl-header.is-scrolled .dl-menu-btn,
.dl-header.is-menu-open .dl-menu-btn {
    border-color: #ddd;
    color: #333;
}

.dl-hero {
    position: relative;
    height: 505px;
    overflow: hidden;
    background: #1a0e04;
}
.dl-hero-video {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.dl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.55) 100%);
}
.dl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 50%);
    opacity: .4;
}
.dl-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .45));
}
.dl-hero-title {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 245px;
    transform: translate(-50%, -50%);
    color: var(--dl-gold-light);
    font-size: clamp(40px, 6vw, 82px);
    font-weight: 900;
    letter-spacing: .18em;
    text-shadow: 0 0 18px rgba(255, 208, 88, .95), 0 10px 28px rgba(44, 12, 0, .55);
    white-space: nowrap;
}
.dl-hero-glow {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 250px;
    width: min(780px, 80vw);
    height: 56px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #fff0a4, transparent);
    filter: blur(2px);
}
.dl-online {
    position: fixed;
    z-index: 120;
    right: 18px;
    top: 280px;
    display: grid;
    gap: 6px;
    place-items: center;
    width: 86px;
    height: 86px;
    color: #2862b5;
    background: var(--dl-white);
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
    font-size: 12px;
    font-style: normal;
}
.dl-online span { font-size: 28px; }
.dl-online em { font-style: normal; }

.dl-ticker {
    height: 90px;
    background: linear-gradient(90deg, rgba(46, 25, 14, .9), rgba(157, 93, 34, .8)), #87531f;
    color: var(--dl-white);
}
.dl-ticker-inner {
    height: 90px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
}
.dl-ticker-news {
    display: flex;
    align-items: center;
    height: 90px;
    overflow: hidden;
}
.dl-ticker-news-list {
    position: relative;
    flex: 1;
    height: 90px;
    overflow: hidden;
}
.dl-ticker-news-item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 90px;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    animation: dl-news-carousel 15s linear infinite;
}
.dl-ticker-news-item:nth-child(1) { animation-delay: 0s; }
.dl-ticker-news-item:nth-child(2) { animation-delay: 3s; }
.dl-ticker-news-item:nth-child(3) { animation-delay: 6s; }
.dl-ticker-news-item:nth-child(4) { animation-delay: 9s; }
.dl-ticker-news-item:nth-child(5) { animation-delay: 12s; }
@keyframes dl-news-carousel {
    0%    { opacity: 0; transform: translateY(100%); }
    1%    { opacity: 1; transform: translateY(0); }
    19%   { opacity: 1; transform: translateY(0); }
    20%   { opacity: 0; transform: translateY(-100%); }
    100%  { opacity: 0; transform: translateY(-100%); }
}
.dl-ticker-news-img {
    flex-shrink: 0;
    width: 100px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}
.dl-ticker-news-text {
    font-style: normal;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.dl-ticker-news-time {
    flex-shrink: 0;
    font-size: 12px;
    color: rgba(255,255,255,.55);
}
.dl-ticker-slogan { font-size: 34px; letter-spacing: .08em; white-space: nowrap; }

.dl-about { padding: 70px 0 86px; background: var(--dl-white); }
.dl-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
}
.dl-about-left { position: relative; }
.dl-about-left::before {
    content: "";
    position: absolute;
    left: -58px;
    top: 250px;
    width: 3px;
    height: 48px;
    background: var(--dl-blue);
}
.dl-about h1 {
    margin: 0;
    color: #3f4248;
    font-size: 44px;
    font-weight: 700;
}
.dl-title-line { width: 136px; height: 3px; background: var(--dl-blue); margin: 18px 0 28px; }
.dl-about h2 { margin: 0 0 28px; color: #777; font-size: 26px; font-weight: 400; letter-spacing: .08em; }
.dl-about p { color: #777; font-size: 14px; line-height: 2.1; text-align: justify; }
.dl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    margin: 46px 0 36px;
}
.dl-stats span { display: block; color: #333; font-size: 13px; text-align: center; }
.dl-stats strong {
    position: relative;
    display: block;
    padding-bottom: 12px;
    color: var(--dl-blue);
    font-size: 42px;
    line-height: 1.2;
    text-align: center;
}
.dl-stats strong::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--dl-blue);
}
.dl-more {
    display: block;
    width: 104px;
    margin: 36px auto 0;
    padding: 9px 0;
    color: #999;
    border: 1px solid var(--dl-line);
    text-align: center;
    font-size: 13px;
}

.dl-lawyers { padding: 96px 0 84px; background: #fbfbfb; }
.dl-section-title { text-align: center; margin-bottom: 58px; }
.dl-section-title h2 { margin: 0; color: #444; font-size: 30px; font-weight: 700; }
.dl-section-title p { margin: 6px 0 0; color: #555; font-size: 26px; }
.dl-section-title::after {
    content: "";
    display: block;
    width: min(1020px, calc(100% - 34px));
    height: 1px;
    margin: 52px auto 0;
    background: #e4e4e4;
}
.dl-lawyer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 34px;
}
.dl-lawyer-card {
    min-height: 210px;
    background: #f1f1f1;
}
.dl-lawyer-card-link {
    display: grid;
    grid-template-columns: 1fr 160px;
    min-height: 210px;
    color: inherit;
    text-decoration: none;
}
.dl-lawyer-card-link:hover { color: inherit; text-decoration: none; }
.dl-lawyer-card .dl-lawyer-info { padding: 24px 20px 18px 24px; display: flex; flex-direction: column; }
.dl-lawyer-card h3 { margin: 0; color: #60646b; font-size: 22px; font-weight: 500; }
.dl-lawyer-card p { margin: 8px 0 0; color: #9b9b9b; font-size: 13px; }
.dl-lawyer-card .dl-lawyer-divider { width: 100%; height: 1px; background: #ddd; margin: 14px 0; }
.dl-lawyer-card .dl-lawyer-spec { display: block; color: #666; font-size: 13px; line-height: 1.55; }
.dl-lawyer-card .dl-lawyer-consult { display: inline-block; margin-top: auto; padding-top: 14px; color: #444; font-size: 12px; text-decoration: none; }
.dl-lawyer-card figure.dl-lawyer-avatar {
    margin: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #d5e0ea, #0f75bd);
    font-size: 58px;
    font-weight: 700;
    overflow: hidden;
}
.dl-lawyer-card figure.dl-lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dl-lawyer-card figure.dl-lawyer-avatar span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}
.dl-lawyer-card:nth-child(2n) figure { background: linear-gradient(145deg, #eeeeee, #4c89c3); }
.dl-lawyer-card:nth-child(3n) figure { background: linear-gradient(145deg, #e8eef7, #182f57); }

.dl-news { padding: 96px 0 80px; background: var(--dl-white); }
.dl-news-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
}
.dl-news-main-link,
.dl-news-side-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.dl-news-main h3 { margin: 22px 0 10px; color: #333; font-size: 20px; font-weight: 500; }
.dl-news-main time,
.dl-news-main p { color: #999; font-size: 13px; line-height: 1.8; }
.dl-news-cover {
    height: 250px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #d7b75d;
    background: radial-gradient(circle at 58% 48%, rgba(216, 170, 80, .72), transparent 24%), linear-gradient(135deg, #5e5e5e, #222);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .08em;
}
.dl-news-cover span {
    justify-self: start;
    padding-left: 30px;
}
.dl-news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dl-news-side { display: grid; gap: 20px; }
.dl-news-side article { display: block; }
.dl-news-side-link {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
}
.dl-news-side figure {
    margin: 0;
    min-height: 112px;
    display: grid;
    place-items: center;
    color: #f3ce67;
    background: linear-gradient(135deg, #1b2430, #a06a25);
    font-weight: 800;
    overflow: hidden;
}
.dl-news-side figure img {
    width: 100%;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}
.dl-news-side h3 { margin: 0 0 12px; color: #555; font-size: 16px; line-height: 1.6; font-weight: 500; }
.dl-news-side time,
.dl-news-side p { margin: 0; color: #aaa; font-size: 12px; line-height: 1.7; }

.dl-contact { padding: 88px 0 110px; background: #fafafa; }
.dl-contact-card {
    display: grid;
    grid-template-columns: .78fr 1fr;
    gap: 42px;
    padding: 26px;
    background: var(--dl-white);
    box-shadow: 0 4px 22px rgba(0,0,0,.04);
}
.dl-map {
    position: relative;
    height: 290px;
    overflow: hidden;
    background:
        linear-gradient(35deg, transparent 45%, rgba(229, 115, 85, .7) 46% 54%, transparent 55%),
        linear-gradient(145deg, #d4ead0, #f2f1e7 48%, #c7dceb);
}
.dl-map::before,
.dl-map::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,.75);
}
.dl-map::before { left: -10%; top: 42%; width: 120%; height: 18px; transform: rotate(-15deg); }
.dl-map::after { left: 15%; top: 0; width: 16px; height: 100%; transform: rotate(24deg); }
.dl-map span {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    padding: 8px 14px;
    background: rgba(255,255,255,.9);
    color: #555;
    border-radius: 3px;
    font-size: 14px;
    white-space: nowrap;
}
.dl-map i {
    position: absolute;
    z-index: 3;
    left: 55%;
    top: 55%;
    width: 30px;
    height: 30px;
    background: #3388ff;
    border: 5px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.dl-contact-info { padding: 22px 22px 0 0; }
.dl-contact-info h3 { margin: 0 0 24px; padding: 13px 22px; color: #fff; background: var(--dl-blue); font-size: 18px; font-weight: 500; }
.dl-contact-info p { margin: 20px 0; color: #777; font-size: 15px; }
.dl-contact-info b { display: inline-block; width: 52px; color: #999; font-weight: 400; }
.dl-contact-info a { color: #777; }
.dl-qrcode {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #eee;
    background: #fff;
}
.dl-qrcode img { width: 118px; height: 118px; object-fit: cover; }
.dl-qrcode span { color: #777; font-size: 13px; }

.dl-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: 52px;
    padding: 0;
    text-align: center;
}

.dl-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.dl-pagination > li,
.dl-pagination .pagination li,
.dl-pagination .page-item {
    display: inline-flex;
    margin: 0;
    list-style: none;
}

.dl-pagination > li > a,
.dl-pagination > li > span,
.dl-pagination .pagination a,
.dl-pagination .pagination span,
.dl-pagination .page-item .page-link,
.dl-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #dce2ea;
    border-radius: 3px;
    background: #fff;
    color: #59616c;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.dl-pagination > li > a:hover,
.dl-pagination .pagination a:hover,
.dl-pagination .page-link:hover {
    border-color: #b42118;
    background: #b42118;
    color: #fff;
}

.dl-pagination > li:first-child > a,
.dl-pagination > li:first-child > span,
.dl-pagination > li:last-child > a,
.dl-pagination > li:last-child > span,
.dl-pagination .page-item:first-child .page-link,
.dl-pagination .page-item:last-child .page-link,
.dl-pagination .pagination li:first-child a,
.dl-pagination .pagination li:first-child span,
.dl-pagination .pagination li:last-child a,
.dl-pagination .pagination li:last-child span {
    border-radius: 3px;
}

.dl-pagination .pagination .active span,
.dl-pagination .page-item.active .page-link,
.dl-pagination > li.active > span,
.dl-pagination > li.active > a {
    border-color: #1f3f62;
    background: #1f3f62;
    color: #fff;
}

.dl-pagination .pagination .disabled span,
.dl-pagination .page-item.disabled .page-link,
.dl-pagination > li.disabled > span,
.dl-pagination > li.disabled > a {
    border-color: #edf0f4;
    background: #f4f6f8;
    color: #b6bdc7;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .dl-nav { gap: 16px; }
    .dl-logo-text { font-size: 15px; }
    .dl-lawyer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .dl-header-inner { position: relative; }
    .dl-menu-btn { display: block; }
    .dl-logo { min-width: 0; }
    .dl-logo-img { width: 190px; height: 26px; }
    .dl-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(61, 27, 10, .96);
    }
    .dl-header.is-scrolled .dl-nav,
    .dl-header.is-menu-open .dl-nav { background: var(--dl-white); }
    .dl-nav.is-open { display: flex; }
    .dl-nav a { padding: 10px; }
    .dl-nav-item { width: 100%; }
    .dl-nav-item::after { display: none; }
    .dl-subnav {
        position: static;
        display: none;
        min-width: 0;
        padding: 4px 0 4px 16px;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, .45);
    }
    .dl-nav-item:hover .dl-subnav { display: block; }
    .dl-subnav a { text-align: left; }
    .dl-hero { height: 380px; }
    .dl-hero-title { top: 205px; }
    .dl-ticker { height: auto; }
    .dl-ticker-inner { height: auto; padding: 18px 0; grid-template-columns: 1fr; gap: 12px; }
    .dl-ticker-news { height: auto; }
    .dl-ticker-news-list { height: 28px; }
    .dl-ticker-news-item { height: 28px; gap: 8px; }
    .dl-ticker-news-img { width: 40px; height: 26px; }
    .dl-ticker-slogan { font-size: 24px; }
    .dl-about-grid,
    .dl-news-grid,
    .dl-contact-card { grid-template-columns: 1fr; }
    .dl-stats { margin-top: 20px; }
}
@media (max-width: 620px) {
    .dl-online { display: none; }
    .dl-about { padding: 44px 0 60px; }
    .dl-about h1 { font-size: 36px; }
    .dl-stats { gap: 12px; }
    .dl-stats strong { font-size: 30px; }
    .dl-lawyers,
    .dl-news,
    .dl-contact { padding: 58px 0; }
    .dl-section-title { margin-bottom: 34px; }
    .dl-section-title::after { margin-top: 30px; }
    .dl-lawyer-grid { grid-template-columns: 1fr; }
    .dl-lawyer-card-link { grid-template-columns: 1fr 118px; }
    .dl-news-side-link { grid-template-columns: 1fr; }
    .dl-news-cover { height: 190px; font-size: 22px; }
    .dl-contact-card { padding: 14px; }
    .dl-map { height: 220px; }
}
