.blog-page { background: var(--white); }
.b-search { margin-left: auto; height: 36px; padding: 0 16px; font-size: 14px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); cursor: pointer; }
.b-search:hover { background: rgba(255,255,255,.18); }
.b-wrap { max-width: 1080px; padding-block: 28px 88px; display: grid; gap: 28px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chips a small { color: var(--muted); font-variant-numeric: tabular-nums; }
.chips a:hover { background: var(--tint-blue); }
.chips a[aria-current] { background: var(--navy); color: #fff; }
.chips a[aria-current] small { color: #9aa5c0; }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { display: flex; flex-direction: column; border-radius: 20px; background: var(--soft); overflow: hidden; transition: transform .2s; }
.pcard:hover { transform: translateY(-4px); }
.pc-img { display: block; aspect-ratio: 16 / 9; background: var(--tint-blue); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pc-img img { transform: scale(1.04); }
.pc-img.banner { display: grid; place-items: center; background: #fff; }
.pc-img.banner img { height: auto; object-fit: contain; }
.pcard.wide .pc-img.banner { background: #fff; }
.pc-img.none { position: relative; display: grid; place-items: end start; padding: 22px; background: var(--navy); background-image: radial-gradient(rgba(124,196,245,.22) 1.2px, transparent 1.4px); background-size: 18px 18px; }
.pc-img.none::after { content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 18px solid rgba(124,196,245,.18); }
.pc-img.none span { position: relative; z-index: 1; max-width: 80%; color: #fff; font-weight: 700; font-size: 20px; line-height: 1.2; }
.pc-img.none.v1 { background-color: #12306b; }
.pc-img.none.v2 { background-color: #1b6fae; }
.pc-img.none.v2::after { border-color: rgba(255,255,255,.16); }
.pc-img.none.v3 { background-color: var(--tint-blue); background-image: radial-gradient(rgba(27,111,174,.2) 1.2px, transparent 1.4px); }
.pc-img.none.v3::after { border-color: rgba(46,156,229,.22); }
.pc-img.none.v3 span { color: var(--navy); }
.pcard.wide .pc-img.none span { font-size: 30px; }
.pc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.pcard .cat { font-size: 13px; font-weight: 700; color: var(--link); }
.pcard h3 { margin: 0; font-size: 19px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.pcard p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .by { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted); }
.pcard .by img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.pcard .by b { color: var(--ink); font-weight: 700; }
.pcard .by span { margin-left: auto; white-space: nowrap; }

.pcard.wide { grid-column: 1 / -1; flex-direction: row; background: var(--tint-blue); }
.pcard.wide .pc-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.pcard.wide .pc-body { justify-content: center; padding: 36px 40px; gap: 12px; }
.pcard.wide h3 { font-size: 30px; }
.pcard.wide p { font-size: 17px; -webkit-line-clamp: 4; }

@media (max-width: 980px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard.wide { flex-direction: column; }
  .pcard.wide .pc-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .pcard.wide .pc-body { padding: 24px; }
  .pcard.wide h3 { font-size: 24px; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .b-search { margin-left: 0; }
}

.author-av { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--blue-ink); color: #fff; font-size: 22px; font-weight: 700; }
.by-av.sm { width: 28px; height: 28px; font-size: 11px; }
