.adpost-home-page{
  padding:0;
}

.main-wrap .adpost-home-page,
.main-wrap .adpost-detail-page{
  margin-top:0;
}

/* =========================
   overall layout
   ========================= */
.adpost-home{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px;
  align-items:start;
}

.adpost-main,
.adpost-side,
.adpost-article-wrap{
  min-width:0;
}

.adpost-main > * + *,
.adpost-side > * + *,
.adpost-article-wrap > * + *{
  margin-top:18px;
}

/* =========================
   common cards
   ========================= */
.adpost-slider,
.adpost-ad,
.adpost-post-card,
.adpost-side-box,
.adpost-headline,
.adpost-pagination,
.adpost-article-card,
.adpost-nav-box,
.adpost-related-box{
  overflow:hidden;
  border:1px solid rgba(15,35,55,.06);
  box-shadow:0 10px 28px rgba(16,36,56,.06);
  background:#fff;
  border-radius:5px;
}

.adpost-blogger-card{
  overflow:visible;
  border:1px solid rgba(15,35,55,.06);
  box-shadow:0 10px 28px rgba(16,36,56,.06);
  background:#fff;
  border-radius:5px;
  position:relative;
}

/* =========================
   slider
   ========================= */
.adpost-slider{
  position:relative;
  min-height:260px;
  background:#0c1d28;
}

.adpost-slider-track{
  position:relative;
  min-height:260px;
}

.adpost-slide{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}

.adpost-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.adpost-slide img,
.adpost-ad img,
.adpost-post-thumb img,
.adpost-blogger-cover img,
.adpost-article-cover img{
  width:100%;
  display:block;
  object-fit:cover;
}

.adpost-slide img{
  height:260px;
}

.adpost-slide-title{
  position:absolute;
  left:18px;
  bottom:18px;
  display:inline-flex;
  align-items:center;
  padding:9px 15px;
  color:#fff;
  border-radius:999px;
  background:rgba(0,0,0,.42);
  font-weight:700;
  max-width:calc(100% - 36px);
}

.adpost-slider-dots{
  position:absolute;
  right:16px;
  bottom:16px;
  display:flex;
  gap:8px;
  z-index:2;
}

.adpost-slider-dots button{
  width:10px;
  height:10px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.45);
  cursor:pointer;
}

.adpost-slider-dots button.is-active{
  background:#fff;
}

/* =========================
   search + ad
   ========================= */
.adpost-search-card{
  padding:16px 18px;
  border-radius:5px;
}

.adpost-search-form{
  display:flex;
  gap:10px;
}

.adpost-search-form input{
  flex:1;
  min-width:0;
}

.adpost-search-form .btn{
  min-width:96px;
}

.adpost-ad img{
  max-height:102px;
}

/* =========================
   optional headline
   ========================= */
.adpost-headline{
  background:linear-gradient(180deg,#fff,#fbfdff);
}

.adpost-headline-inner{
  display:flex;
  gap:16px;
  align-items:flex-end;
  justify-content:space-between;
}

.adpost-headline h2{
  margin:0 0 8px;
  font-size:24px;
}

.adpost-headline .tool-sub{
  margin-top:0;
}

.adpost-headline-count{
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
  padding:7px 12px;
  border-radius:999px;
  background:#f5f8fb;
}

/* =========================
   post list
   ========================= */
.adpost-list-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.adpost-post-card{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
}

.adpost-post-thumb,
.adpost-post-thumb.is-fallback{
  display:block;
  height:100%;
  min-height:188px;
  background:linear-gradient(135deg,#1689ff,#47b3ff);
}

.adpost-post-thumb img{
  height:100%;
  min-height:188px;
  aspect-ratio:16/10;
}

.adpost-post-thumb.is-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  color:#fff;
  font-size:28px;
  font-weight:800;
  line-height:1.4;
  text-align:center;
}

.adpost-post-body{
  min-width:0;
  display:flex;
}

.adpost-post-body-inner{
  padding:22px 24px;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.adpost-post-body h3{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.45;
}

.adpost-post-body h3 a{
  color:var(--text);
  text-decoration:none;
}

.adpost-post-body h3 a:hover{
  color:var(--accent);
}

.adpost-post-body .excerpt{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.adpost-post-body .meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  padding-top:2px;
}

.adpost-post-body .meta a{
  color:var(--accent);
  text-decoration:none;
}

/* =========================
   right sidebar / blogger card
   ========================= */
.adpost-blogger-card{
  background:#fff;
}

.adpost-blogger-cover{
  height:112px;
  border-radius:5px 5px 0 0;
  overflow:hidden;
  background:linear-gradient(135deg,#124b5f,#244e63 40%,#1b8f7c);
}

.adpost-blogger-cover img{
  width:100%;
  height:112px;
  display:block;
  object-fit:cover;
}

.adpost-blogger-avatar-wrap{
  padding:0 20px;
  margin-top:-40px; /* 80px头像，上移40px，刚好一半在上、一半在下 */
  margin-bottom:8px;
  position:relative;
  z-index:3;
}

.adpost-blogger-avatar{
  display:flex;
  justify-content:center;
  align-items:center;
}

.adpost-blogger-avatar img,
.adpost-blogger-avatar-fallback{
  display:block;
  width:80px;
  height:80px;
  border-radius:50%;
  border:4px solid #fff;
  background:#fff;
  object-fit:cover;
  box-shadow:0 8px 18px rgba(18,57,87,.15);
}

.adpost-blogger-avatar-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:28px;
  color:#163f51;
}

.adpost-blogger-content{
  padding:12px 20px 20px;
}

.adpost-blogger-name{
  margin:4px 0 0;
  font-size:18px;
  font-weight:800;
  line-height:1.4;
  text-align:center;
  color:var(--text);
}

.adpost-blogger-intro{
  max-width:260px;
  margin:10px auto 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  text-align:center;
}

.adpost-blogger-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding-top:18px;
}

.adpost-blogger-stats > div{
  padding:14px 8px;
  border-radius:5px;
  background:#f7fafc;
  text-align:center;
  border:1px solid rgba(15,35,55,.05);
}

.adpost-blogger-stats strong{
  display:block;
  font-size:28px;
  line-height:1.2;
  margin-bottom:4px;
  color:var(--text);
}

.adpost-blogger-stats span{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

/* =========================
   sidebar box
   ========================= */
.adpost-side-box{
  padding:18px 18px 16px !important;
  background:#fff;
}

.adpost-side-box-title{
  margin:0 0 14px;
  font-size:18px;
  font-weight:800;
}

/* 分类列表 */
.adpost-category-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.adpost-category-list a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  background:#f3f6f8;
  color:#21404b;
  font-size:13px;
}

.adpost-category-list a.is-active{
  background:#e6f0ff;
  color:#0f62fe;
}

.adpost-category-list a em{
  font-style:normal;
  min-width:18px;
  text-align:center;
  background:rgba(0,0,0,.06);
  border-radius:999px;
  padding:1px 6px;
}

/* 标签云 */
.adpost-tag-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.adpost-tag-cloud .adpost-tag-item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:6px;
  font-size:13px;
  line-height:1;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  border:0;
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.adpost-tag-cloud .adpost-tag-item:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.14);
  opacity:.92;
}

.adpost-tag-cloud .adpost-tag-c1{background:#0ea5e9;}
.adpost-tag-cloud .adpost-tag-c2{background:#22c55e;}
.adpost-tag-cloud .adpost-tag-c3{background:#ef4444;}
.adpost-tag-cloud .adpost-tag-c4{background:#f59e0b;}
.adpost-tag-cloud .adpost-tag-c5{background:#8b5cf6;}
.adpost-tag-cloud .adpost-tag-c6{background:#06b6d4;}
.adpost-tag-cloud .adpost-tag-c7{background:#f97316;}
.adpost-tag-cloud .adpost-tag-c8{background:#84cc16;}
.adpost-tag-cloud .adpost-tag-c9{background:#ec4899;}
.adpost-tag-cloud .adpost-tag-c10{background:#6366f1;}
.adpost-tag-cloud .adpost-tag-c11{background:#14b8a6;}
.adpost-tag-cloud .adpost-tag-c12{background:#a855f7;}
.adpost-tag-cloud .adpost-tag-c13{background:#10b981;}
.adpost-tag-cloud .adpost-tag-c14{background:#3b82f6;}
.adpost-tag-cloud .adpost-tag-c15{background:#eab308;}
.adpost-tag-cloud .adpost-tag-c16{background:#f43f5e;}

.adpost-side-ol-list{
  list-style:none;
  margin:0;
  padding:0;
}

.adpost-side-ol-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 2px;
  border-bottom:1px solid #eef2f5;
}

.adpost-side-ol-list li:last-child{
  border-bottom:0;
  padding-bottom:2px;
}

.adpost-side-ol-list .idx{
  width:22px;
  height:22px;
  border-radius:5px;
  background:#ff6a3d;
  color:#fff;
  font-size:12px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  margin-top:2px;
}

.adpost-side-ol-list li:nth-child(n+4) .idx{
  background:#b8c0c8;
}

.adpost-side-ol-list a{
  color:var(--text);
  text-decoration:none;
  line-height:1.65;
  font-size:14px;
}

.adpost-side-ol-list a:hover{
  color:var(--accent);
}

/* =========================
   pagination
   ========================= */
.adpost-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  padding:16px !important;
}

.adpost-pagination a{
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:#f4f7fb;
  color:#1f3340;
  font-weight:700;
}

.adpost-pagination a.is-active{
  background:var(--accent);
  color:#fff;
}

/* =========================
   detail article
   ========================= */
.adpost-article-card{
  background:#fff;
}

.adpost-article-head{
  padding:26px 28px 22px !important;
  text-align:center;
}

.adpost-breadcrumb-inline{
  text-align:left;
  margin-bottom:16px;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

.adpost-breadcrumb-inline a{
  color:var(--text);
  text-decoration:none;
}

.adpost-breadcrumb-inline a:hover{
  color:var(--accent);
}

.adpost-breadcrumb-inline span{
  margin:0 6px;
  color:var(--muted);
}

.adpost-article-title{
  margin:0;
  font-size:34px;
  line-height:1.35;
  letter-spacing:.2px;
}

.adpost-article-title-center{
  margin:0 auto 14px;
  text-align:center;
  font-size:16px;
  line-height:1.35;
  font-weight:800;
  max-width:900px;
}

.adpost-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:var(--muted);
  font-size:13px;
  margin-top:16px;
}

.adpost-article-meta-center{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:12px 18px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
  max-width:900px;
  margin:0 auto;
}

.adpost-article-meta-center span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.adpost-article-cover img{
  max-height:420px;
}

.adpost-article-body{
  padding:28px !important;
}

.adpost-prose{
  color:#243746;
  font-size:16px;
  line-height:1.95;
  word-break:break-word;
}

.adpost-prose > *:first-child{
  margin-top:0;
}

.adpost-prose > *:last-child{
  margin-bottom:0;
}

.adpost-prose h1,
.adpost-prose h2,
.adpost-prose h3,
.adpost-prose h4,
.adpost-prose h5,
.adpost-prose h6{
  color:#0f2233;
  line-height:1.45;
  margin:1.5em 0 .7em;
}

.adpost-prose h1{font-size:30px}
.adpost-prose h2{font-size:26px}
.adpost-prose h3{font-size:22px}

.adpost-prose p{
  margin:0 0 1em;
}

.adpost-prose img{
  max-width:100%;
  height:auto;
  display:block;
  border-radius:5px;
  margin:18px auto;
  box-shadow:0 10px 26px rgba(18,38,58,.08);
}

.adpost-prose a{
  color:var(--accent);
  text-decoration:none;
}

.adpost-prose a:hover{
  text-decoration:underline;
}

.adpost-prose blockquote{
  margin:1.2em 0;
  padding:16px 18px;
  border-left:4px solid var(--accent);
  background:#f7fbff;
  color:#456;
  border-radius:0 14px 14px 0;
}

.adpost-prose pre{
  margin:1.25em 0;
  padding:18px;
  overflow:auto;
  border-radius:5px;
  background:#0f1720;
  color:#e8eef5;
  font-size:14px;
  line-height:1.75;
}

.adpost-prose code{
  padding:.18em .45em;
  border-radius:5px;
  background:#f1f5f9;
  font-size:.92em;
}

.adpost-prose pre code{
  padding:0;
  background:transparent;
  color:inherit;
}

.adpost-prose table{
  width:100%;
  border-collapse:collapse;
  margin:1.3em 0;
  font-size:14px;
  overflow:hidden;
  border-radius:5px;
}

.adpost-prose table th,
.adpost-prose table td{
  border:1px solid #e8eef3;
  padding:12px 14px;
  text-align:left;
  vertical-align:top;
}

.adpost-prose table th{
  background:#f7fafc;
}

.adpost-prose ul,
.adpost-prose ol{
  padding-left:1.4em;
  margin:0 0 1em;
}

.adpost-prose hr{
  border:0;
  border-top:1px solid #e9eef2;
  margin:1.8em 0;
}

/* =========================
   detail nav + related
   ========================= */
.adpost-nav-box,
.adpost-related-box{
  background:#fff;
}

.adpost-box-head{
  padding:18px 22px 10px;
  border-bottom:1px solid #eef2f5;
}

.adpost-box-body{
  padding:18px 22px 22px;
}

.adpost-section-title{
  margin:0;
  font-size:18px;
  font-weight:800;
  line-height:1.4;
}

.adpost-nav-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.adpost-nav-item{
  min-width:0;
  border:1px solid #edf1f5;
  border-radius:5px;
  background:#fbfdff;
}

.adpost-nav-item-inner{
  padding:18px 20px;
}

.adpost-nav-label{
  margin-bottom:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.adpost-nav-item a{
  color:var(--text);
  text-decoration:none;
  font-size:16px;
  line-height:1.8;
  font-weight:700;
  word-break:break-word;
}

.adpost-nav-item a:hover{
  color:var(--accent);
}

.adpost-nav-item .muted{
  display:inline-block;
  line-height:1.8;
}

.adpost-empty{
  padding:2px 0;
  line-height:1.8;
}

.adpost-related-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.adpost-related-item{
  min-width:0;
  border:1px solid #edf1f5;
  border-radius:5px;
  background:#fbfdff;
}

.adpost-related-item-inner{
  padding:18px 20px;
}

.adpost-related-item h3{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.7;
}

.adpost-related-item h3 a{
  color:var(--text);
  text-decoration:none;
}

.adpost-related-item h3 a:hover{
  color:var(--accent);
}

.adpost-related-item p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
}

.adpost-related-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

/* =========================
   responsive
   ========================= */
@media (max-width: 1160px){
  .adpost-post-card{
    grid-template-columns:260px minmax(0,1fr);
  }

  .adpost-post-body h3{
    font-size:22px;
  }
}

@media (max-width: 1080px){
  .adpost-home{
    grid-template-columns:1fr;
  }

  .adpost-side{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }

  .adpost-side > *{
    margin-top:0;
  }
}

@media (max-width: 860px){
  .adpost-side{
    grid-template-columns:1fr;
  }

  .adpost-search-form{
    flex-direction:column;
  }

  .adpost-search-form .btn{
    width:100%;
  }

  .adpost-slide img,
  .adpost-slider-track,
  .adpost-slider{
    min-height:210px;
    height:210px;
  }

  .adpost-slide img{
    height:210px;
  }

  .adpost-post-card{
    grid-template-columns:1fr;
  }

  .adpost-post-thumb,
  .adpost-post-thumb.is-fallback,
  .adpost-post-thumb img{
    min-height:210px;
  }

  .adpost-post-body-inner{
    padding:18px;
  }

  .adpost-post-body h3{
    font-size:20px;
  }

  .adpost-headline-inner{
    display:block;
  }

  .adpost-headline-count{
    display:inline-flex;
    margin-top:12px;
  }

  .adpost-article-head{
    padding:20px !important;
  }

  .adpost-article-body{
    padding:20px !important;
  }

  .adpost-article-title{
    font-size:28px;
  }

  .adpost-article-title-center{
    font-size:28px;
  }

  .adpost-article-meta-center{
    gap:8px 14px;
    font-size:14px;
  }

  .adpost-box-head{
    padding:16px 16px 10px;
  }

  .adpost-box-body{
    padding:16px;
  }

  .adpost-nav-grid,
  .adpost-related-list{
    grid-template-columns:1fr;
  }

  .adpost-nav-item-inner,
  .adpost-related-item-inner{
    padding:16px;
  }
}

/* =========================
   article divider + ad
   ========================= */
.adpost-article-divider{
  height:1px;
  background:#e9eef2;
  margin:18px auto;
  width:100%;
}

.adpost-article-ad{
  max-width:860px;
  margin:0 auto;
}

.adpost-article-ad a{
  display:block;
  text-decoration:none;
}

.adpost-article-ad img{
  width:100%;
  max-height:140px;
  display:block;
  object-fit:cover;
  border-radius:5px;
}

/* ===== adpost module only additions ===== */

.adpost-blog-head-card{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.adpost-inline-badges,.adpost-head-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.adpost-head-badges{justify-content:center;margin-bottom:14px}
.adpost-flag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f4f8ff;color:#0b5cff;font-size:12px;font-weight:700}
.adpost-flag.is-top{background:#ecfdf3;color:#12805c}
.adpost-flag.is-rec{background:#fff7e8;color:#b97100}
.adpost-sidebar-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.adpost-contact-note{color:var(--muted);line-height:1.8;font-size:14px}
.adpost-article-cover-wrap{margin:0 0 18px}
.adpost-article-cover{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:12px}
.adpost-detail-extra{margin-top:24px;padding-top:20px;border-top:1px solid rgba(15,35,55,.08)}
.adpost-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.adpost-detail-item{padding:12px 14px;border:1px solid rgba(15,35,55,.08);border-radius:12px;background:#f8fafc;word-break:break-word}
.adpost-detail-item a{text-decoration:none}
.adpost-sub-title{margin-top:18px}
.adpost-contact-list,.adpost-product-list-inline{display:grid;gap:10px}
.adpost-contact-row,.adpost-product-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(15,35,55,.08);border-radius:12px;background:#fff}
.adpost-contact-row img,.adpost-product-row img{width:26px;height:26px;object-fit:contain;border-radius:8px}
.adpost-widget-list{display:grid;gap:12px}
.adpost-widget-item{display:flex;gap:10px;align-items:center;text-decoration:none;color:inherit;padding:8px;border:1px solid rgba(15,35,55,.06);border-radius:12px}
.adpost-widget-item img{width:56px;height:42px;object-fit:cover;border-radius:10px;flex:0 0 auto}
.adpost-widget-title{font-weight:700;line-height:1.45;font-size:14px}
.adpost-widget-meta{font-size:12px;margin-top:4px}
@media (max-width:760px){.adpost-detail-grid{grid-template-columns:1fr}}

还是不对 请帮我检查什么问题，给出完整代码
` এবং `/views/ads/_sidebar.php`。你这个 “头像还是不对” 的根因，很可能 **不只是 CSS**，而是 **HTML 结构和类名没有完全对上你现在这份 `adpost.css`**。

从你这份 CSS 看，头像压线这块依赖的是这一组结构：

```html
<section class="adpost-blogger-card">
  <div class="adpost-blogger-cover">...</div>
  <div class="adpost-blogger-avatar-wrap">
    <div class="adpost-blogger-avatar">...</div>
  </div>
  <div class="adpost-blogger-content">...</div>
</section>