/* ===========================
   官网前台样式
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --text: #1E293B;
  --text-2: #475569;
  --text-3: #94A3B8;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --transition: all .2s ease;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); background: #fff;overflow-x: hidden; }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--text-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-2); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.header-top {
  background: #fff;
}
.header-top-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 24px; font-weight: 700; color: var(--text);
  white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.header-logo img { height: 50px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
#company-name { display: none !important; }
#company-slogan { font-size: 24px; font-weight: 700; color: var(--text); line-height: 1.3; }
.header-right { 
  display: flex; align-items: center; gap: 32px; 
}
.header-contact {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.contact-label {
  font-size: 16px; color: var(--text-2); margin-bottom: 4px;
}
.phone-link {
  text-decoration: none; font-size: 24px;
  font-weight: 800; color: #000; transition: var(--transition);
}


.btn-message {
  padding: 10px 30px; border-radius: 4px;
  background: #1872F6; color: #fff;
  border: none; cursor: pointer; font-size: 16px;
  font-family: inherit; font-weight: 500;
  transition: var(--transition); white-space: nowrap;
}
.btn-message:hover { background: #145ecc; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; display: block; transition: var(--transition); }

.header-bottom {
  background: #f5f5f5;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 99;
}
.header-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0;
  display: flex; align-items: center; justify-content: flex-start;
}
.header-nav { display: flex; align-items: center; margin-left: 0; }
.nav-btn {
  padding: 16px 30px; border: none; border-radius: 0;
  background: transparent; color: var(--text-2); font-size: 16px;
  font-family: inherit; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.nav-btn:hover  { background: #e5e5e5; color: var(--text); }
.nav-btn.active { background: transparent; color: var(--text); font-weight: 700; }

.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px 16px 12px; background: #fff; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.mobile-nav .nav-btn { text-align: left; border-radius: 8px; }

@media (max-width: 768px) {
  .header-bottom { display: none; }
  .hamburger { display: flex; }
  .header-contact { display: none; }
  .header-logo { font-size: 18px; }
  .header-logo img { height: 32px; }
  .btn-message { padding: 8px 16px; font-size: 14px; }
}

/* ===== Banner (首页轮播) ===== */
.home-banner { position: relative; overflow: hidden; background: #0f172a; }
.banner-slides { display: flex; transition: transform .5s ease; }
.banner-slide { min-width: 100%; position: relative; }
.banner-slide img { width: 100%; height: auto; display: block; }
.banner-prev, .banner-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 18px; backdrop-filter: blur(4px); transition: var(--transition);
}
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-prev:hover, .banner-next:hover { background: rgba(255,255,255,.4); }
.banner-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition); }
.banner-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 10px 28px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-3);
}
.bc-home { color: var(--text-3); text-decoration: none; display: flex; align-items: center; transition: var(--transition); }
.bc-home:hover { color: var(--primary); }
.bc-sep { color: var(--border); }
.bc-current { color: var(--text-2); }

/* ===== 主内容 ===== */
.main-content { max-width: 1280px; margin: 0 auto; padding: 40px 28px; min-height: 60vh; }
.home-placeholder { display: flex; align-items: center; justify-content: center; min-height: 40vh; }
.hero-text { text-align: center; }
.hero-text h1 { font-size: 38px; font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.hero-text p { font-size: 18px; color: var(--text-2); }

/* ===== 宣传页（画布内容）===== */
.promo-content { width: 100%; min-height: 400px; }

/* ===== 通用左右布局 ===== */
.left-right-layout { display: flex; gap: 24px; align-items: flex-start; }

/* 左侧分类侧栏 */
.lr-sidebar {
  width: 200px; flex-shrink: 0;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.lr-sidebar-title {
  padding: 14px 16px; font-size: 16px; font-weight: 700;
  color: var(--text); background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.lr-sidebar-cats { padding: 8px; }
.dl-cat-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 9px 12px; border: none;
  background: none; color: var(--text-2); font-size: 14px;
  font-family: inherit; cursor: pointer; text-align: left;
  border-radius: 6px; transition: var(--transition);
}
.dl-cat-btn::after { content: '>'; color: var(--text-3); font-size: 12px; }
.dl-cat-btn:hover  { background: #F8FAFC; color: #1E293B; }
.dl-cat-btn.active { background: #F8FAFC; color: #1E293B; font-weight: 700; }
.dl-cat-btn.active::after { color: var(--text-3); }

/* 右侧主内容 */
.lr-main {
  flex: 1; min-width: 0;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.lr-main-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.dl-main-title { font-size: 16px; font-weight: 600; color: var(--text); }

/* 搜索框 */
.search-box {     display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden; }
.search-input {
 border: none;
    outline: none;
    padding: 8px 14px;
    font-size: 14px;
    width: 260px;
    font-family: inherit;
    color: var(--text);
}
.search-input:focus { border-color: var(--primary); background: #fff; }
.search-btn {
  padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-2);
    border-left: 1px solid var(--border);
    line-height: 0;
}
.search-btn:hover {     background: var(--surface);}

/* ===== 下载文件列表 ===== */
.dl-file-list { padding: 12px 16px; display: flex; flex-direction: column; }
.dl-file-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.dl-file-item:last-child { border-bottom: none; }
.dl-file-item:hover { background: var(--surface); }
.dl-file-icon { flex-shrink: 0; }
.dl-file-info { flex: 1; min-width: 0; }
.dl-file-name { font-size: 14.5px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.dl-file-desc { font-size: 12.5px; color: var(--text-2); margin-bottom: 3px; }
.dl-file-meta { font-size: 12px; color: var(--text-3); }
.dl-count {
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-3);
}
.btn-dl {
  padding: 7px 18px; border-radius: 6px; border: none;
  color: var(--text-2); cursor: pointer;
  font-size: 14px; font-weight: 500; font-family: inherit;
  white-space: nowrap; transition: var(--transition);
  text-decoration: none; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
/* .btn-dl:hover { background: var(--primary-dark); } */

/* ===== 文档/产品卡片网格 ===== */
.doc-grid {
  padding: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .doc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .doc-grid { grid-template-columns: 1fr; } }

.doc-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: var(--transition); background: #fff;
}
.doc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-card-img { width: 100%; height: 255px; background: var(--surface); overflow: hidden; }
.doc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.doc-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.doc-card-title { padding: 0 14px;height: 45px;line-height: 45px; font-size: 14px; font-weight: 500; color: var(--text); }

/* ===== 文档分页 ===== */
.doc-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 16px 20px; border-top: 1px solid var(--border);
}
.pg-btn {
  padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--text-2); font-size: 13px;
  font-family: inherit; cursor: pointer; transition: var(--transition);
}
.pg-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-num {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--text-2); font-size: 13px;
  font-family: inherit; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.pg-num:hover { border-color: var(--primary); color: var(--primary); }
.pg-num.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ===== 新闻列表（新样式）===== */
.news-list-wrap { display: flex; flex-direction: column; }
.news-item {
  position: relative;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-top-tag {
  display: inline-block; background: #FEF3C7; color: #D97706;
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; margin-bottom: 8px;
}
.news-item-title {
  font-size: 18px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 14px; cursor: pointer;
  transition: var(--transition);
}
.news-item-title:hover { color: var(--primary); }
.news-item-body { display: flex; gap: 20px; align-items: flex-start; }
.news-item-cover {
  flex-shrink: 0; width: 200px; height: 130px;
  border-radius: 8px; overflow: hidden;
  background: var(--surface); cursor: pointer;
}
.news-item-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item-right { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.news-item-summary {
  font-size: 14px; color: var(--text-2); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-item-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.news-item-date { font-size: 13px; color: var(--text-3); }
.news-more-btn {
  padding: 6px 18px; border-radius: 6px;
  border: none; color: #475569;
  background: none; cursor: pointer; font-size: 13px;
  font-family: inherit; 
  transition: var(--transition);
}
.news-more-btn:hover { color: #1E293B; }

/* 兼容旧样式（新闻详情等保留）*/

/* ===== 新闻详情 ===== */
.detail-wrap { max-width: 900px; }
.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); background: none; border: none;
  cursor: pointer; font-size: 14px; font-family: inherit;
  padding: 0; margin-bottom: 28px; transition: var(--transition);
}
.detail-back:hover { opacity: .75; }
.detail-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; color: var(--text); }
.news-detail-date {
  font-size: 14px; color: var(--text-3);
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ===== 产品文档详情（全幅画布）===== */
.doc-detail-wrap { width: 100%; }
.doc-detail-header {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.doc-detail-header .detail-back { margin-bottom: 0; flex-shrink: 0; }
.doc-detail-header .detail-title { margin-bottom: 0; font-size: 22px; }

/* ===== 浮动按钮组（右侧）===== */
.float-btns {
  position: fixed; right: 10px; bottom: 200px;
  z-index: 200; display: flex; flex-direction: column;
  border: 1px solid #e3e7ec; border-radius: 8px;
  background: #fff;
}
.float-btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 10px; gap: 5px;
  background: #fff; color: #666666;
  cursor: pointer; font-size: 12px;
  transition: var(--transition); user-select: none;
  border-top: 1px solid #e3e7ec;
}
.float-btn:first-child { border-top: none; border-radius: 8px 8px 0 0; }
.float-btn:last-child  { border-radius: 0 0 8px 8px; }
.float-btn svg { width: 20px; height: 20px; }
.float-btn:hover { color: #111111; background: #f5f5f5; }
.float-tooltip {
  position: absolute; right: calc(100% + 6px); top: 50%; transform: translateY(-50%);
  background: #fff; color: #333333;
  font-size: 14px; padding: 15px; border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,.12); pointer-events: none;
  opacity: 0; transition: opacity .2s;
  text-align: center; min-width: 120px; white-space: nowrap;
}
.float-tooltip img { min-width: 120px; max-width: 160px; display: block; margin: 0 auto; border-radius: 4px; }
.float-tooltip-label { font-size: 14px; color: #666; margin-bottom: 5px; white-space: nowrap; }
.float-tooltip-phone { font-size: 18px; font-weight: 700; color: #111; white-space: nowrap; }

.float-btn:hover .float-tooltip { opacity: 1; }

/* ===== Footer ===== */
.site-footer { background: #1a2234; color: rgba(255,255,255,.75); margin-top: 80px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 48px 28px;
  display: flex; gap: 60px; flex-wrap: wrap; align-items: flex-start;
}
.footer-text-section { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 8px; }
.footer-text-item { display: flex; flex-direction: row; gap: 0; flex-wrap: nowrap; align-items: baseline; }
.footer-item-title { font-size: 16px; }
.footer-item-desc { font-size: 16px; line-height: 1.6; white-space: pre-line; }
.footer-qrcodes { display: flex; gap: 20px; align-items: flex-start; }
.qrcode-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qrcode-wrap img { width: 90px; height: 90px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; }
.qrcode-wrap span { font-size: 11px; color: rgba(255,255,255,.4); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; color: rgba(255,255,255,.3); display: flex; align-items: center;
  text-align: center; justify-content: center;
}

/* ===== 留言弹窗 ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center; z-index: 9999;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px;
  width: 480px; max-width: 94vw; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(-10px); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-close { width: 30px; height: 30px; border-radius: 50%; border: none; background: #f1f5f9; cursor: pointer; font-size: 18px; line-height: 1; color: #666; }
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-body { padding: 20px 24px 28px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.required { color: #ef4444; }
.form-field input, .form-field textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  color: var(--text); outline: none; transition: var(--transition);
  background: var(--surface); resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.btn-submit {
  width: 100%; padding: 12px; border-radius: 10px; border: none;
  background: var(--primary); color: #fff; font-size: 15px;
  font-weight: 600; font-family: inherit; cursor: pointer;
  transition: var(--transition); margin-top: 8px;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ===== 联系页 ===== */
.contact-layout {
  display: flex; gap: 40px; align-items: flex-start;
}
.contact-map-side {
  flex: 0 0 55%; min-width: 0;
}
.contact-map-wrap {
  width: 100%; height: 460px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface); position: relative;
}
.contact-map-empty { display: flex; align-items: center; }
.contact-map-placeholder {
  width: 100%; height: 460px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text-3); font-size: 14px;
}
.contact-info-side {
  flex: 1; min-width: 0;
}
.contact-info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.6;
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-label {
  flex-shrink: 0; width: 70px; color: var(--text-2); font-weight: 500;
}
.contact-info-value {
  flex: 1; color: var(--text); word-break: break-all;
}
@media (max-width: 900px) {
  .contact-layout { flex-direction: column; }
  .contact-map-side { flex: none; width: 100%; }
}
/* ===== 友情链接 ===== */
.fl-section {
  margin-top: 32px; padding: 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff;
}
.fl-title {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.fl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px;
}
.fl-item {
  font-size: 14px; color: var(--primary); text-decoration: none;
  transition: var(--transition); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fl-item:hover { color: var(--primary-dark); text-decoration: underline; }
@media (max-width: 768px) { .fl-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== 技术服务 FAQ ===== */
.faq-wrap { max-width: 960px; margin: 0 auto; padding: 32px 0; }
.faq-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px;
}
.faq-page-title { font-size: 22px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.faq-search-wrap {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
.faq-search-input {
  border: none; outline: none; padding: 8px 14px;
  font-size: 14px; width: 260px; font-family: inherit; color: var(--text);
}
.faq-search-btn {
  padding: 8px 12px; background: none; border: none; cursor: pointer;
  color: var(--text-2); border-left: 1px solid var(--border); line-height: 0;
}
.faq-search-btn:hover { background: var(--surface); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 8px; cursor: pointer; gap: 16px;
  transition: background .15s;
}
.faq-header:hover { background: var(--surface); border-radius: 4px; }
.faq-header-left { flex: 1; }
.faq-question { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 4px; }
.faq-tags { font-size: 12px; color: var(--text-3); }
.faq-icon { font-size: 22px; color: var(--text-3); flex-shrink: 0; line-height: 1; padding-top: 2px; }
.faq-answer { background: var(--surface); border-radius: 4px; margin: 0 0 8px; }
.faq-answer-inner {
  padding: 14px 20px; font-size: 14px; color: var(--text-2);
  line-height: 1.9; white-space: pre-wrap;
}
.faq-pagination {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px; margin-top: 24px; flex-wrap: wrap;
}
.faq-total { color: var(--text-3); font-size: 13px; margin-right: 6px; }
@media (max-width: 680px) {
  .faq-top { flex-direction: column; align-items: flex-start; }
  .faq-search-input { width: 100%; }
}

/* AMap component styles adjustments if needed */
.amap-logo, .amap-copyright { display: none !important; }

/* ===== 通用 ===== */
.loading { text-align: center; padding: 60px; color: var(--text-3); font-size: 16px; }
.empty   { text-align: center; padding: 60px; color: var(--text-3); font-size: 15px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .left-right-layout { flex-direction: column; }
  .lr-sidebar { width: 100%; }
  .search-input { width: 160px; }
}
@media (max-width: 768px) {
  .main-content { padding: 24px 16px; }
  .news-thumb { width: 120px; height: 90px; }
  .float-btns { display: none; }
}
