/* ============================================
   Dembasiby 现代渐变模板 - 主样式文件
   ============================================ */

/* --- 全局基础 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #212529;
    background-color: #f8f9fa;
    overflow-x: hidden;
}
a { color: #0d6efd; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #0b5ed7; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* --- Header 导航栏 --- */
.dmb-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(to right, #667eea, #764ba2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    height: 70px;
}
.dmb-nav { display: flex; align-items: center; height: 70px; }
.dmb-nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.dmb-logo { display: flex; align-items: center; color: #fff; font-size: 20px; font-weight: 700; }
.dmb-logo:hover { color: #fff; }
.dmb-logo mip-img { height: 36px; width: auto; }
.logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255,255,255,0.2);
    border-radius: 8px; margin-right: 10px; font-size: 18px;
}
.dmb-nav-links { display: flex; align-items: center; gap: 5px; }
.dmb-nav-links .nav-item {
    color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px;
    font-size: 15px; font-weight: 500; transition: all 0.3s;
}
.dmb-nav-links .nav-item:hover, .dmb-nav-links .nav-item.active {
    color: #fff; background: rgba(255,255,255,0.15);
}
.btn-register {
    background: linear-gradient(to right, #fceabb, #f8b500);
    color: #333 !important; padding: 8px 20px; border-radius: 50px;
    font-weight: 600; font-size: 14px; margin-left: 10px;
    box-shadow: 0 2px 8px rgba(248,181,0,0.3);
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(248,181,0,0.4); color: #333 !important; }
.dmb-menu-toggle {
    display: none; background: none; border: none; color: #fff;
    font-size: 24px; cursor: pointer; padding: 5px;
}

/* --- 移动端菜单 --- */
.dmb-mobile-menu { width: 280px; padding: 0; background: #fff; height: 100%; }
.mobile-menu-header {
    display: flex; align-items: center; padding: 20px;
    background: linear-gradient(to right, #667eea, #764ba2); color: #fff;
    font-size: 18px; font-weight: 700;
}
.mobile-menu-header .logo-icon { background: rgba(255,255,255,0.2); }
.mobile-menu-header .close-btn {
    margin-left: auto; background: none; border: none;
    color: #fff; font-size: 20px; cursor: pointer;
}
.mobile-nav-list { list-style: none; padding: 10px 0; }
.mobile-nav-list li a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; color: #333; font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-list li a:hover { background: #f8f9fa; color: #667eea; }
.btn-register-mobile {
    background: linear-gradient(to right, #fceabb, #f8b500) !important;
    color: #333 !important; font-weight: 600 !important;
    justify-content: center !important; margin: 10px 20px !important;
    border-radius: 50px !important; border: none !important;
}
.mobile-search { padding: 15px 20px; }
.mobile-search-input {
    width: 100%; padding: 10px 15px; border: 1px solid #ddd;
    border-radius: 8px 0 0 8px; font-size: 14px; outline: none;
}
.mobile-search-btn {
    padding: 10px 15px; background: #667eea; color: #fff;
    border: none; border-radius: 0 8px 8px 0; cursor: pointer;
}

/* --- Hero Banner --- */
.dmb-hero {
    background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
    padding: 70px 0 100px; position: relative; overflow: hidden;
}
.hero-content { color: #fff; }
.hero-content h1 { font-size: 32px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-hero-primary {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff !important; padding: 12px 28px; border-radius: 6px;
    font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(0,114,255,0.3); transition: all 0.3s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,114,255,0.4); color: #fff !important; }
.btn-hero-secondary {
    background: rgba(255,255,255,0.1); color: #fff !important; padding: 12px 28px;
    border-radius: 6px; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); color: #fff !important; }
.hero-image { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* --- 关于我们 --- */
.dmb-about { padding: 60px 0; }
.section-heading { font-size: 28px; margin-bottom: 16px; color: #1a1a2e; }
.section-desc { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 24px; }
.about-image { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.about-features { display: flex; flex-direction: column; gap: 16px; }
.about-feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px; border-radius: 10px; background: #f8f9fa;
    transition: all 0.3s;
}
.about-feature-item:hover { background: #e8f4fd; transform: translateX(5px); }
.about-feature-item .feature-icon {
    width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
    background: rgba(0,123,255,0.1); display: flex; align-items: center;
    justify-content: center; font-size: 20px; color: #007bff;
}
.about-feature-item:hover .feature-icon { background: #007bff; color: #fff; }
.about-feature-item h5 { font-size: 16px; margin-bottom: 4px; color: #1a1a2e; }
.about-feature-item p { font-size: 14px; color: #666; margin: 0; }

/* --- 信任理由区 --- */
.dmb-trust {
    background: linear-gradient(135deg, #1d2b64, #f8cdda);
    padding: 60px 0;
}
.section-subtitle { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 40px; }
.section-subtitle-dark { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 40px; }
.section-subtitle-blue { color: #666; font-size: 16px; margin-bottom: 40px; }
.section-subtitle-green { color: #555; font-size: 16px; margin-bottom: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 15px; padding: 30px 20px; text-align: center;
    color: #fff; transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.trust-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.15); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.trust-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.15); display: flex;
    align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 16px;
}
.trust-card h5 { font-size: 17px; margin-bottom: 10px; }
.trust-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; margin: 0; }

/* --- 服务卡片区 --- */
.dmb-services {
    background: #101010; padding: 60px 0;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: #1a1a1a; border-radius: 12px; overflow: hidden;
    transition: all 0.3s; border: 1px solid #2a2a2a;
}
.service-card:hover { transform: translateY(-6px); border-color: #667eea; }
.service-card-body { padding: 24px; }
.service-card-body h4 { color: #fff; font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid #007bff; display: inline-block; }
.service-article-list { list-style: none; padding: 0; margin: 0 0 16px; }
.service-article-list li { padding: 8px 0; border-bottom: 1px dashed #333; }
.service-article-list li a { color: #bbb; font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-article-list li a:hover { color: #667eea; }
.service-more { color: #667eea; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.service-more:hover { color: #f8b500; gap: 10px; }

/* --- 资讯推荐区 --- */
.dmb-news {
    background: linear-gradient(135deg, #a8f1ff, #fff6da);
    padding: 60px 0;
}
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.news-card-img { overflow: hidden; }
.news-card-img mip-img { transition: transform 0.3s; }
.news-card:hover .news-card-img mip-img { transform: scale(1.05); }
.news-card-body { padding: 16px; }
.news-card-body h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.5; }
.news-card-body h4 a { color: #1a1a2e; }
.news-card-body h4 a:hover { color: #007bff; }
.news-desc { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 15px; font-size: 12px; color: #999; }
.news-meta span { display: flex; align-items: center; gap: 4px; }

/* --- 热门标签区 --- */
.dmb-tags {
    background: linear-gradient(135deg, #bdf2d5, #97c4b8);
    padding: 60px 0;
}
.tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-item {
    display: inline-block; padding: 8px 18px; background: #fff;
    color: #333; border-radius: 50px; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s;
}
.tag-item:hover { background: #007bff; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,123,255,0.3); }

/* --- 页面头部 --- */
.dmb-page-header {
    background: linear-gradient(to right, #667eea, #764ba2);
    padding: 30px 0 20px; color: #fff;
}
.page-title { font-size: 24px; color: #fff; margin-bottom: 0; }
.dmb-breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin-bottom: 12px; font-size: 14px; }
.dmb-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.dmb-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.dmb-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: '/'; color: rgba(255,255,255,0.5); margin: 0 4px; }
.dmb-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.9); }

/* --- 文章列表页 --- */
.dmb-article-list { padding: 40px 0; }
.article-list-wrap { display: flex; flex-direction: column; gap: 20px; }
.article-card-h {
    display: flex; background: #fff; border-radius: 12px;
    overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.article-card-h:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.article-card-h-img { width: 260px; min-width: 260px; overflow: hidden; }
.article-card-h-img mip-img { transition: transform 0.3s; width: 100%; height: 100%; object-fit: cover; }
.article-card-h:hover .article-card-h-img mip-img { transform: scale(1.05); }
.article-card-h-body { padding: 20px; flex: 1; }
.article-card-h-body h3 { font-size: 18px; margin-bottom: 10px; }
.article-card-h-body h3 a { color: #1a1a2e; }
.article-card-h-body h3 a:hover { color: #007bff; }
.article-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; gap: 15px; font-size: 13px; color: #999; }
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* --- 文章详情页 --- */
.dmb-article-detail { padding: 40px 0; }
.detail-card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 20px; }
.detail-title { font-size: 28px; color: #1a1a2e; margin-bottom: 16px; line-height: 1.4; }
.detail-meta { display: flex; gap: 20px; font-size: 14px; color: #888; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-tag-item {
    display: inline-block; padding: 4px 12px; background: #e8f4fd;
    color: #007bff; border-radius: 4px; font-size: 13px;
}
.detail-tag-item:hover { background: #007bff; color: #fff; }
.detail-body { font-size: 16px; line-height: 1.8; color: #333; }
.detail-body mip-img { border-radius: 8px; margin: 15px 0; }
.detail-body h2, .detail-body h3, .detail-body h4 { margin: 20px 0 10px; color: #1a1a2e; }
.detail-body p { margin-bottom: 15px; }
.detail-pagination { margin: 20px 0; text-align: center; }
.detail-pagination .page-list { list-style: none; display: inline-flex; gap: 5px; padding: 0; }
.detail-pagination .page-list li a, .detail-pagination .page-list li span {
    display: inline-block; padding: 5px 12px; border: 1px solid #ddd;
    border-radius: 4px; font-size: 13px; color: #333;
}
.detail-pagination .page-list li.active span, .detail-pagination .page-list li a:hover {
    background: #007bff; color: #fff; border-color: #007bff;
}
.detail-nav { display: flex; gap: 20px; margin: 20px 0; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.detail-nav .nav-item { flex: 1; }
.detail-nav .nav-item span { display: block; font-size: 13px; color: #999; margin-bottom: 5px; }
.detail-nav .nav-item a { color: #007bff; font-size: 15px; }
.detail-nav .nav-item a:hover { color: #0056b3; }
.detail-related { margin-top: 30px; }
.detail-related h4 { font-size: 20px; margin-bottom: 16px; color: #1a1a2e; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-card { background: #f8f9fa; border-radius: 10px; overflow: hidden; transition: all 0.3s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.related-card a { display: block; }
.related-card h5 { padding: 10px 12px; font-size: 14px; color: #333; line-height: 1.4; }
.detail-page-img { border-radius: 8px; margin: 15px 0; }
.img-pagination { margin: 15px 0; }

/* --- 侧边栏 --- */
.sidebar-widget {
    background: #fff; border-radius: 12px; padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 20px;
}
.widget-title {
    font-size: 18px; color: #1a1a2e; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 3px solid #007bff; display: inline-block;
}
.widget-article-list { list-style: none; padding: 0; margin: 0; }
.widget-article-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px dashed #eee;
}
.widget-article-list li:last-child { border-bottom: none; }
.widget-article-list li a { color: #333; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 10px; }
.widget-article-list li a:hover { color: #007bff; }
.widget-date { font-size: 12px; color: #999; white-space: nowrap; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tag-item {
    display: inline-block; padding: 5px 12px; background: #f0f0f0;
    color: #555; border-radius: 4px; font-size: 13px; transition: all 0.3s;
}
.widget-tag-item:hover { background: #007bff; color: #fff; }

/* --- 分页 --- */
.dmb-pagination { margin-top: 30px; text-align: center; }
.dmb-pagination .pagination { display: inline-flex; gap: 5px; list-style: none; padding: 0; }
.dmb-pagination .pagination li a, .dmb-pagination .pagination li span {
    display: inline-block; padding: 8px 14px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 14px; color: #333; transition: all 0.3s;
}
.dmb-pagination .pagination li.active span, .dmb-pagination .pagination li a:hover {
    background: #007bff; color: #fff; border-color: #007bff;
}
.fanye { display: inline-flex; gap: 5px; list-style: none; padding: 0; flex-wrap: wrap; justify-content: center; }
.fanye li a, .fanye li span {
    display: inline-block; padding: 8px 14px; border: 1px solid #ddd;
    border-radius: 6px; font-size: 14px; color: #333; transition: all 0.3s;
}
.fanye li.active span, .fanye li a:hover {
    background: #007bff; color: #fff; border-color: #007bff;
}

/* --- 标签页 --- */
.dmb-tag-list { padding: 40px 0; }
.tag-cloud-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud-item {
    display: inline-block; padding: 8px 18px; background: #fff;
    color: #333; border-radius: 8px; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s;
    border: 1px solid #eee;
}
.tag-cloud-item:hover { background: #007bff; color: #fff; border-color: #007bff; transform: translateY(-2px); }
.tag-detail-header { display: flex; align-items: center; gap: 16px; }
.tag-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: rgba(255,255,255,0.2); display: flex;
    align-items: center; justify-content: center; font-size: 24px;
}
.tag-desc { color: rgba(255,255,255,0.8); font-size: 14px; margin: 5px 0 0; }
.dmb-tag-detail { padding: 40px 0; }

/* --- 搜索结果 --- */
.dmb-search-result { padding: 40px 0; }
.no-result { text-align: center; padding: 60px 20px; color: #999; }
.no-result i { font-size: 48px; color: #ddd; margin-bottom: 16px; display: block; }
.no-result p { font-size: 16px; }

/* --- 搜索页 --- */
.dmb-so-page { padding: 40px 0; }
.so-search-box { max-width: 600px; margin: 0 auto; }
.so-search-inner { display: flex; }
.so-search-input {
    flex: 1; padding: 14px 20px; border: 2px solid #667eea;
    border-radius: 8px 0 0 8px; font-size: 16px; outline: none;
}
.so-search-input:focus { border-color: #764ba2; }
.so-search-btn {
    padding: 14px 24px; background: linear-gradient(to right, #667eea, #764ba2);
    color: #fff; border: none; border-radius: 0 8px 8px 0;
    font-size: 16px; cursor: pointer; font-weight: 600;
}

/* --- 404页面 --- */
.dmb-404 { padding: 80px 0; }
.error-content { max-width: 500px; margin: 0 auto; }
.error-code {
    font-size: 100px; font-weight: 800; color: #667eea;
    line-height: 1; margin-bottom: 10px;
    background: linear-gradient(to right, #667eea, #764ba2);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-title { font-size: 28px; color: #333; margin-bottom: 16px; }
.error-desc { font-size: 16px; color: #666; margin-bottom: 30px; }
.btn-error-home {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: linear-gradient(to right, #667eea, #764ba2);
    color: #fff !important; border-radius: 8px; font-weight: 600;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3); transition: all 0.3s;
}
.btn-error-home:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); color: #fff !important; }

/* --- 自定义页面 --- */
.dmb-article-page, .dmb-diy-page { padding: 40px 0; }

/* --- Footer 页脚 --- */
.dmb-footer {
    background-color: #111;
    background-image: url('../images/footer-bg.webp');
    background-size: cover; background-position: center;
    padding: 0;
}
.footer-overlay { background: rgba(0,0,0,0.88); padding: 40px 0 0; }
.footer-top { padding-bottom: 30px; }
.footer-brand { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 8px; margin-right: 10px; font-size: 18px; color: #fff;
}
.footer-site-name { font-size: 20px; font-weight: 700; color: #f8f9fa; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.footer-title { color: #f8f9fa; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer-links, .footer-partners, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-partners li { margin-bottom: 8px; }
.footer-links li a, .footer-partners li a { color: rgba(255,255,255,0.6); font-size: 14px; transition: all 0.3s; }
.footer-links li a:hover, .footer-partners li a:hover { color: #f8b500; padding-left: 5px; }
.footer-contact li { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact li a { color: rgba(255,255,255,0.6); }
.footer-contact li a:hover { color: #f8b500; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0;
    text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #f8b500; }

/* --- 回到顶部 --- */
mip-gototop {
    width: 40px !important; height: 40px !important;
    background: linear-gradient(to right, #667eea, #764ba2) !important;
    border-radius: 8px !important; opacity: 0.9;
}

/* --- 响应式适配 --- */
@media (max-width: 991px) {
    .dmb-nav-links { display: none; }
    .dmb-menu-toggle { display: block; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 26px; }
    .hero-subtitle { font-size: 16px; }
    .section-heading { font-size: 24px; }
}
@media (max-width: 767px) {
    .dmb-hero { padding: 40px 0 70px; }
    .hero-content h1 { font-size: 22px; }
    .hero-subtitle { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
    .trust-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card-h { flex-direction: column; }
    .article-card-h-img { width: 100%; min-width: auto; height: 200px; }
    .detail-card { padding: 20px; }
    .detail-title { font-size: 22px; }
    .detail-meta { flex-wrap: wrap; gap: 10px; }
    .detail-nav { flex-direction: column; gap: 10px; }
    .section-heading { font-size: 22px; }
    .footer-top { text-align: center; }
    .footer-brand { justify-content: center; }
}
@media (max-width: 480px) {
    .dmb-header { height: 60px; }
    .dmb-nav { height: 60px; }
    .logo-text { font-size: 16px; }
    .related-grid { grid-template-columns: 1fr; }
    .error-code { font-size: 72px; }
}
