
/* page:digikala-mag-search */
/* Digikala MAG pages — blue edition shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: var(--sx-ink);
  --body: var(--sx-ink);
  --gray: var(--sx-ink-3);
  --line: var(--sx-line);
  --cyan: var(--sx-brand-2);
  --cyan2: var(--sx-brand-2);
  --red: var(--sx-err);
  --link: var(--sx-brand);
}
html { background: var(--sx-surface); }
body{width:100%;
  font-family: Vazirmatn, Vazir, Tahoma, 'Segoe UI', sans-serif;
  color: var(--body); width: 100%; max-max-width:1366px; margin: 0 auto; background: var(--sx-surface);
  overflow-x: hidden; font-size: 13px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; cursor: pointer; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }
input, textarea { font-family: inherit; }

/* ============ header (mag home) ============ */
.mh {
  height: 78px; display: flex; align-items: center; gap: 14px; position: relative; padding: 0 20px;
}
.mh-logo { flex: 0 0 auto; }
.mh-logo img { height: 78px; width: auto; }
.mh-name { font-size: 19px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.mh-name small { font-size: 11.5px; font-weight: 700; color: var(--cyan); margin-right: 6px; }
.mh-tags { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; justify-content: center; min-width: 0; overflow: hidden; }
.mh-tl { font-size: 12px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.tag {
  display: inline-flex; padding: 8px 14px; border-radius: 8px; background: var(--sx-surface-2);
  color: var(--cyan); font-size: 12px; font-weight: 600; white-space: nowrap; transition: .15s;
}
.tag:hover { background: #e8f4fb; }
.mh-shop {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sx-ink);
  padding: 8px 14px; border: 1px solid var(--sx-line); border-radius: 10px; white-space: nowrap;
  flex: 0 0 auto; transition: .15s;
}
.mh-shop i { font-size: 13px; }
.mh-shop:hover { color: var(--cyan); border-color: var(--cyan); background: #f0f9fd; }
.mh-search {
  position: static; transform: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px; border-radius: 10px; flex: 0 0 auto; transition: .15s; color: var(--sx-ink);
}
.mh-search:hover { background: var(--sx-surface-2); color: var(--cyan); }
@media (max-width: 1100px) { .mh-tags { display: none; } }

/* ============ GTA promo strip (post / search) ============ */
.gta { position: relative; }
.gta > img { width: 100%; height: auto; }
.gta-x {
  position: absolute; left: 8px; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: #e8112d; color: #fff; font-size: 11px; line-height: 22px; text-align: center; z-index: 5;
}

/* ============ black nav (post) ============ */
.bnav { background: #1d1d1f; }
.bnav-in { display: flex; justify-content: center; align-items: center; gap: 34px; height: 42px; }
.bnav a { color: #fff; font-size: 12.5px; font-weight: 600; opacity: .95; }
.bnav a:hover { color: var(--cyan2); }

/* ============ floating mag widget ============ */
.mw { position: fixed; right: 36px; top: 56px; z-index: 40; width: 71px; }
.mw img { width: 71px; }
.mw .w-s { border: 1px solid #eee; }

/* ============ home top zone ============ */
.tz { display: grid; grid-template-columns: 274px minmax(0,1fr); gap: 2px; padding-left: clamp(16px, 2.71vw, 37px); margin-top: 11px; }
.rail { border: 1px solid var(--sx-line-2); background: var(--sx-surface); }
.rail-it {
  display: flex; align-items: center; gap: 10px; height: 45px; padding: 0 16px;
  font-size: 12px; color: var(--body); border-bottom: 1px solid #f6f6f8;
}
.rail-it:last-of-type { border-bottom: 0; }
.rail-it svg { flex: 0 0 auto; }
.rail-it:hover { color: var(--cyan); }
.rail-bn { margin-top: 8px; }
.rail-bn img { width: 100%; }

.main-top { display: grid; grid-template-columns: 511fr 522fr; gap: clamp(12px, 1.39vw, 19px); min-width: 0; }
.tz-bn { display: block; }
.tz-bn img { width: 100%; height: auto; }
.tmain .main-top { margin-top: 17px; }
.main-top .hero img { width: 100%; height: auto; }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.17vw, 16px) clamp(14px, 1.54vw, 21px); align-content: start; }
.tgrid img { width: 100%; height: auto; }

/* ============ section headers ============ */
.sec { margin: 46px clamp(18px, 7.54vw, 103px) 0; }
.sec-h { display: flex; align-items: center; gap: 18px; }
.sec-t { font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sec-l { flex: 1; height: 1px; background: #e8e8ec; }
.more-btn {
  border: 1px solid var(--sx-line); border-radius: 8px; padding: 11px 18px; font-size: 12px;
  color: var(--sx-ink-2); white-space: nowrap; transition: .15s;
}
.more-btn:hover { color: var(--cyan); border-color: var(--cyan); }

/* ============ editor picks carousel ============ */
.ed-wrap { position: relative; margin-top: 22px; }
.ed-strip {
  display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
  scroll-behavior: smooth; cursor: grab; padding: 4px 2px 10px; touch-action: pan-x;
}
.ed-strip::-webkit-scrollbar { display: none; }
.ed-strip.dragging { cursor: grabbing; scroll-behavior: auto; }
.ed-c { flex: 0 0 280px; }
.ed-c img { width: 280px; height: 167px; border-radius: 6px; }
.ed-t {
  font-size: 12.5px; color: var(--ink); line-height: 1.9; margin-top: 10px;
  height: 48px; overflow: hidden;
}
.ed-a { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 10.5px; color: var(--sx-ink-3); }
.ed-a img { width: 24px; height: 24px; border-radius: 50%; }
.ed-a .tm { margin-right: auto; display: inline-flex; align-items: center; gap: 4px; }
.ed-arrow {
  position: absolute; left: -14px; top: 78px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sx-surface); border: 1px solid #e5e5e8; box-shadow: 0 3px 10px rgba(0,0,0,.09);
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.ed-arrow:hover { color: var(--cyan); }

/* ============ video section ============ */
.vid { display: grid; grid-template-columns: minmax(0,1.947fr) minmax(0,1fr); gap: clamp(24px, 5.12vw, 70px); margin-top: 24px; }
.vbig img { width: 100%; }
.vbig-t { text-align: center; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-top: 20px; }
.vbig-bar { width: 62px; height: 3px; background: #cfd6df; border-radius: 2px; margin: 14px auto 0; }
.vbig-p { font-size: 12.5px; line-height: 2.15; color: var(--sx-ink-2); text-align: justify; margin-top: 18px; }
.vbig-more { display: inline-block; color: var(--link); font-size: 12.5px; margin-top: 4px; }
.vbig-a { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 11px; color: var(--sx-ink-3); }
.vbig-a img { width: 26px; height: 26px; border-radius: 50%; }
.vbig-a .tm { margin-right: auto; display: inline-flex; align-items: center; gap: 4px; }
.vbig-a .cm { margin-right: 26px; display: inline-flex; align-items: center; gap: 5px; color: #b0b4bc; }
.vlist { display: flex; flex-direction: column; }
.vrow {
  display: flex; gap: 12px; padding: 12px 0 12px 2px; border-bottom: 1px solid var(--sx-line-2);
  position: relative; align-items: flex-start;
}
.vrow:last-child { border-bottom: 0; }
.vrow.on::after { content: ''; position: absolute; right: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 3px; background: #f0355b; }
.vrow.on { background: #fafafb; }
.vrow img { width: 66px; height: 64px; border-radius: 4px; flex: 0 0 auto; }
.vrow .vt-c { flex: 1; min-width: 0; }
.vrow .vt-t { font-size: 12px; color: var(--ink); line-height: 1.9; }
.vrow .vt-m { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--sx-ink-3); margin-top: 7px; }
.vdots { color: #c4c8cf; letter-spacing: 2px; font-size: 14px; align-self: center; }
.vmore-btn {
  margin-top: 18px; border: 1px solid #e5e5e8; border-radius: 8px; padding: 11px 20px;
  font-size: 12px; color: var(--sx-ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.vmore-btn b { color: #f0355b; }

/* ============ news grid ============ */
.news { display: grid; grid-template-columns: minmax(0,1fr) clamp(280px, 29.14vw, 398px); gap: 8px; margin: 26px clamp(16px, 10.47vw, 143px) 0 clamp(14px, 2.71vw, 37px); }
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px clamp(14px, 1.76vw, 24px); align-content: start; }
.nc { width: 100%; }
.nc img { width: 100%; height: auto; border-radius: 4px; }
.nc-t { font-size: 12.5px; color: var(--ink); line-height: 1.95; margin-top: 11px; height: 73px; overflow: hidden; }
.nc-a { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 10.5px; color: var(--sx-ink-3); }
.nc-a img { width: 24px; height: 24px; border-radius: 50%; }
.nc-a .tm { margin-right: auto; display: inline-flex; align-items: center; gap: 4px; }

/* left rail boxes */
.lr-ad img { width: 100%; }
.lr-box { border: 1px solid var(--sx-line-2); border-radius: 4px; margin-top: 22px; padding: 18px 14px 0; }
.lr-h { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink); position: relative; padding-bottom: 13px; }
.lr-h::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 46px; height: 2px; background: var(--cyan2); }
.lr-feat { display: block; margin: 16px auto 0; }
.lr-feat img { margin: 0 auto; }
.lr-it { display: flex; gap: 10px; padding: 13px 2px; border-top: 1px solid #f4f4f6; align-items: flex-start; }
.lr-it:first-of-type { border-top: 0; }
.lr-it img { width: 48px; height: 60px; border-radius: 4px; flex: 0 0 auto; }
.lr-it .lr-tx { flex: 1; min-width: 0; }
.lr-it .tx { display: block; font-size: 12px; color: var(--ink); line-height: 1.9; }
.lr-it .tm2 { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--sx-ink-3); margin-top: 6px; }
.lr-more {
  display: block; text-align: center; background: #f7f7f9; color: #6d7180; font-size: 12px;
  padding: 13px 0; margin: 12px -14px 0; border-top: 1px solid var(--sx-line-2);
}
.end-more { display: block; width: fit-content; margin: 44px auto 0; }

/* ============ footer ============ */
.mfoot { background: #202020; margin-top: 52px; padding: 30px 0 26px; position: relative; }
.f-in { display: flex; align-items: center; gap: 26px; padding: 0 clamp(16px, 7.54vw, 103px); flex-wrap: wrap; }
.f-in a { color: #fff; font-size: 12.5px; font-weight: 600; }
.f-in a:hover { color: var(--cyan2); }
.f-mail {
  flex: 0 0 300px; height: 38px; background: #3a3a3c; border-radius: 6px; border: 0; outline: none;
  color: #ddd; font-size: 11.5px; padding: 0 14px;
}
.f-mail::placeholder { color: #9a9a9e; }
.f-sub { background: var(--cyan2); color: #17323c !important; border-radius: 6px; padding: 10px 22px; font-size: 12px; font-weight: 700; }
.f-low { display: flex; align-items: center; gap: 20px; padding: 20px clamp(16px, 7.54vw, 103px) 0; }
.f-soc { display: flex; gap: 16px; }
.f-soc a { color: #cfcfd2; }
.f-soc a:hover { color: #fff; }
.f-cr { margin-right: auto; color: #b9b9bd; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.to-top {
  position: absolute; left: clamp(16px, 7.54vw, 103px); top: 26px; width: 46px; height: 46px; border-radius: 10px;
  background: var(--cyan2); color: #fff; display: flex; align-items: center; justify-content: center;
}

/* ============ search page ============ */
.crumb { display: flex; align-items: center; gap: 6px; padding: 20px clamp(16px, 16.55vw, 226px) 0; font-size: 12px; color: var(--sx-ink-3); }
.crumb a:hover { color: var(--cyan); }
.crumb .sep { color: #c9ccd3; font-size: 10px; }
.sbox-wrap { margin: 22px clamp(16px, 16.55vw, 226px) 0; border: 1px solid #e3e4e8; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.sbox { display: flex; align-items: center; gap: 14px; padding: 30px 26px; }
.sbox input { flex: 1; border: 0; outline: none; font-size: 15px; color: var(--ink); background: transparent; }
.sbox input::placeholder { color: var(--sx-ink-3); }
.rcount { padding: 20px clamp(16px, 16.55vw, 226px) 0; font-size: 12px; color: #6d7180; }
.rcount b { color: var(--ink); }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px clamp(12px, 1.46vw, 20px); margin: 24px clamp(16px, 12.66vw, 173px) 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 44px 0 10px; }
.pg {
  min-width: 38px; height: 38px; border: 1px solid transparent; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--sx-ink-2);
}
.pg:hover { border-color: var(--cyan2); }
.pg.on { border-color: var(--cyan2); color: var(--ink); font-weight: 700; }
.pg.dots { border: 0; }

/* ============ post page ============ */
.pwrap { display: grid; grid-template-columns: minmax(0,1fr) clamp(250px, 22.7vw, 310px); gap: clamp(28px, 4.1vw, 56px); margin: 16px clamp(16px, 15.08vw, 206px) 0 clamp(14px, 2.93vw, 40px); align-items: start; }
.pside-top { border: 1px solid var(--sx-line-2); border-radius: 6px; padding: 18px 16px 0; }
.pside-h { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink); position: relative; padding-bottom: 13px; }
.pside-h::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 46px; height: 2px; background: var(--cyan2); }
.pc-lead { position: relative; margin-top: 10px; }
.pc-lead img { margin: 0 auto; }
.pc-arrow {
  position: absolute; top: 45px; width: 30px; height: 30px; color: #6d7180; z-index: 2;
}
.pc-arrow.nx { right: 4px; }
.pc-arrow.pv { left: 4px; }
.pc-name { font-size: 12.5px; color: var(--ink); line-height: 1.95; margin-top: 14px; text-align: center; }
.pc-price { text-align: center; margin-top: 10px; font-size: 13px; color: var(--ink); }
.pc-price b { font-size: 14.5px; }
.pc-price i { font-style: normal; font-size: 10.5px; color: var(--sx-ink-3); margin-right: 4px; }
.pc-buy {
  display: block; width: 200px; margin: 13px auto 20px; background: var(--red); color: #fff;
  text-align: center; border-radius: 6px; padding: 11px 0; font-size: 12.5px; font-weight: 700;
}
.pc-buy:hover { filter: brightness(1.05); }
.rel-h { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink); position: relative; padding: 16px 0 13px; border-top: 1px solid var(--sx-line-2); margin-top: 4px; }
.rel-h::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 46px; height: 2px; background: var(--cyan2); }
.prel { display: flex; gap: 10px; padding: 14px 2px; align-items: flex-start; }
.prel img { width: 68px; height: 70px; border-radius: 4px; flex: 0 0 auto; }
.prel .prel-tx { flex: 1; min-width: 0; }
.prel .tx { display: block; font-size: 12px; color: var(--ink); line-height: 1.9; }
.prel .tm2 { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--sx-ink-3); margin-top: 6px; }

.art-top { border-radius: 4px; overflow: hidden; }
.art-top img { width: 100%; }
.crumb2 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 18px 2px 0; font-size: 11.5px; color: var(--sx-ink-3); }
.crumb2 a:hover { color: var(--cyan); }
.crumb2 .sep { color: #c9ccd3; font-size: 10px; }
.art-t { text-align: center; font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.8; margin-top: 26px; }
.art-meta { display: flex; align-items: center; margin-top: 22px; font-size: 11.5px; color: var(--sx-ink-3); }
.art-meta .au { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.art-meta .au img { width: 32px; height: 32px; border-radius: 50%; }
.art-meta .dt { margin: 0 auto; display: flex; align-items: center; gap: 5px; }
.art-meta .rd { display: flex; align-items: center; gap: 5px; }
.art-body { margin-top: 22px; }
.art-body img { width: 100%; border-radius: 4px; margin: 10px 0 26px; }
.art-body p { font-size: 13px; line-height: 2.25; color: var(--sx-ink-2); text-align: justify; margin: 18px 0; }
.art-body h2 { text-align: center; font-size: 16px; font-weight: 800; color: var(--ink); margin: 40px 0 8px; }
.art-body a { color: var(--link); }
.ad-in { border-radius: 4px; overflow: hidden; margin: 26px 0; }
.ad-in img { width: 100%; margin: 0 !important; }
.toc { background: #f7f7f9; border-radius: 8px; padding: 18px 20px; margin: 26px 0; }
.toc-h { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.toc a { display: block; font-size: 12.5px; line-height: 2.5; }
.toc a:hover { text-decoration: underline; }
.ptable { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 12px; }
.ptable th { background: #2b2b33; color: #fff; font-weight: 700; padding: 13px 14px; font-size: 12px; }
.ptable td { border: 1px solid var(--sx-line); padding: 14px 14px; line-height: 2.05; color: var(--sx-ink-2); text-align: center; }
.ptable td:first-child { font-weight: 700; color: var(--ink); }
.ptable tr:nth-child(even) td { background: #f9f9fb; }
.src-line { font-size: 12.5px; margin: 26px 0 6px; color: var(--sx-ink-2); }
.src-line a { color: var(--link); }
.pbox { border: 1px solid var(--sx-line); border-radius: 10px; padding: 18px 20px; margin: 28px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 1px 5px rgba(0,0,0,.03); }
.pbox img { width: 74px; height: auto; margin: 0 !important; border-radius: 4px; }
.pbox-t { flex: 1; min-width: 220px; font-size: 12.5px; color: var(--ink); line-height: 2; }
.pbox-p { font-size: 12px; color: var(--sx-ink-3); }
.pbox-p b { font-size: 15px; color: var(--ink); }
.pbox-p i { font-style: normal; font-size: 10.5px; }
.pbox .pc-buy { width: 170px; margin: 0; }
.share { display: flex; align-items: center; gap: 18px; margin: 30px 0 0; color: var(--sx-ink-3); }
.share .div { width: 1px; height: 22px; background: #e3e4e8; margin: 0 4px; }
.share a { color: var(--sx-ink-3); }
.share a:hover { color: var(--cyan); }
.tags { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--sx-line-2); }
.tags .lbl { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.tchip { background: var(--sx-surface-2); border-radius: 6px; padding: 9px 14px; font-size: 11.5px; color: var(--sx-ink-2); }
.cform-h { font-size: 14px; font-weight: 800; color: var(--ink); margin-top: 34px; }
.cform { border: 1px solid var(--sx-line-2); border-radius: 8px; padding: 22px; margin-top: 16px; position: relative; }
.cform .ava { position: absolute; right: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1.6px solid #b9bdc6; color: #b9bdc6; display: flex; align-items: center; justify-content: center; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 10px; padding-right: 60px; }
.cf-grid input, .cform textarea {
  width: 100%; border: 1px solid #e3e4e8; border-radius: 6px; outline: none; padding: 12px 14px;
  font-size: 12.5px; color: var(--ink); background: var(--sx-surface); transition: .15s;
}
.cf-grid input:focus, .cform textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(40,153,213,.12); }
.cform textarea { margin-top: 14px; min-height: 150px; resize: vertical; }
.cf-cap { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--sx-ink-2); }
.cf-cap input { width: 74px; border: 1px solid #e3e4e8; border-radius: 6px; outline: none; padding: 9px 10px; font-size: 12.5px; text-align: center; }
.cf-cap input:focus { border-color: var(--cyan); }
.cf-btn { border: 1px solid var(--sx-line); border-radius: 6px; padding: 11px 24px; font-size: 12.5px; color: var(--sx-ink-2); }
.cf-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.cf-msg { font-size: 12px; margin-right: 14px; }
.cf-msg.ok { color: #0f9d58; }
.cf-msg.err { color: var(--red); }
.relcats-h { font-size: 14px; font-weight: 800; color: var(--ink); margin: 44px 0 16px; }
.bwrap { display: grid; grid-template-columns: minmax(0,1fr) clamp(250px, 22.7vw, 310px); gap: clamp(16px, 1.61vw, 22px); margin: 0 clamp(16px, 12.74vw, 174px) 0 clamp(14px, 2.93vw, 40px); align-items: start; }
.bgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bcat { border: 1px solid var(--sx-line-2); border-radius: 8px; padding: 16px 16px 18px; }
.bcat-h { display: flex; align-items: center; gap: 10px; }
.bcat-h .bdg { color: var(--cyan2); font-size: 10.5px; font-weight: 700; }
.bcat-h .bt { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.brow { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.brow img { height: 82px; width: auto; border-radius: 4px; }

/* toast */
.toast {
  position: fixed; bottom: 26px; right: 50%; transform: translateX(50%) translateY(18px);
  background: var(--cyan); color: #fff; font-size: 13px; padding: 12px 24px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: .3s; z-index: 99; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.toast.show { opacity: 1; transform: translateX(50%) translateY(0); }

/* ============ responsive ============ */
.mw { display: block; }
@media (max-width: 899px) {
  html { -webkit-text-size-adjust: 100%; }
  body { width: 100%; min-width: 0; }
  .mw { display: none; }
  .mh { height: 56px; padding: 0 14px; }
  .mh-logo img { height: 56px; }
  .mh-tags { display: none; }
  .gta > img { width: 100%; height: 40px; }
  .bnav-in { gap: 16px; overflow-x: auto; justify-content: flex-start; padding: 0 14px; scrollbar-width: none; }
  .bnav-in::-webkit-scrollbar { display: none; }
  .bnav a { white-space: nowrap; font-size: 11.5px; }

  .tz { display: block; padding: 0 14px; margin-top: 10px; }
  .rail { display: none; }
  .main-top { grid-template-columns: 1fr; gap: 12px; }
  .main-top .hero img { width: 100%; height: auto; }
  .tgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tgrid img { width: 100%; height: auto; }
  .tz-bn img { width: 100%; height: auto; }
  .sec { margin: 34px 14px 0; }
  .ed-strip { gap: 14px; }
  .ed-c { flex: 0 0 200px; }
  .ed-c img { width: 200px; height: 120px; }
  .vid { grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
  .vbig img { width: 100%; }
  .news { display: block; margin: 20px 14px 0; }
  .ngrid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .nc { width: 100%; }
  .nc img { width: 100%; height: auto; }
  .nc-t { height: auto; max-height: 70px; }
  .lr-ad img { width: 100%; }
  .sgrid { grid-template-columns: 1fr 1fr; gap: 18px 12px; margin: 24px 14px 0; }
  .sgrid .nc { width: 100%; }
  .sgrid .nc img { width: 100%; height: auto; }
  .crumb { padding: 16px 14px 0; }
  .sbox-wrap { margin: 16px 14px 0; }
  .sbox { padding: 18px 16px; }
  .f-in, .f-low { padding: 0 14px; gap: 14px; }
  .f-mail { flex: 1 1 auto; }
  .to-top { left: 14px; }
  .f-cr { margin-right: 0; }

  .pwrap { display: block; margin: 12px 14px 0; }
  .pside-top { margin-bottom: 18px; }
  .art-top img { width: 100%; }
  .art-body img { width: 100%; }
  .ad-in img { width: 100%; }
  .cf-grid { grid-template-columns: 1fr; padding-right: 0; }
  .cform { padding: 16px 14px; }
  .cform .ava { display: none; }
  .art-meta { flex-wrap: wrap; row-gap: 9px; column-gap: 18px; font-size: 11px; margin-top: 18px; }
  .art-meta .au img { width: 26px; height: 26px; }
  .art-meta .dt { margin: 0; }
  .bwrap { display: block; margin: 0 14px; }
  .bgrid2 { grid-template-columns: 1fr; margin-bottom: 16px; }
  .brow img { height: 64px; }
  .toast { bottom: 20px; }
}

/* small phones */
@media (max-width: 480px) {
  .ptable { table-layout: fixed; }
  .ptable th, .ptable td { padding: 9px 7px; font-size: 11px; line-height: 1.9; }
  .pbox { gap: 10px 12px; }
  .pbox .pc-buy { width: 100%; }
  .ngrid { gap: 22px 10px; }
  .sgrid { gap: 20px 10px; }
  .share { gap: 12px; flex-wrap: wrap; }
  .tags { flex-wrap: wrap; }
  .brow img { height: 56px; }
  .cf-cap { flex-wrap: wrap; }
  .art-meta { column-gap: 14px; }
  .art-meta .rd { flex-basis: 100%; }
  .pager { flex-wrap: wrap; }
  .toc { padding: 14px 14px; }
  .vrow img { width: 58px; height: 54px; }
}