/* ==========================================================================
   EncryptTechBD — Editorial (blog index + article)
   ========================================================================== */

/* ---------------------------------------------------------------- hub */
.blog-hub {
  position: relative; padding: 148px 0 34px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 8% -12%, rgba(20, 184, 166, .18), transparent 60%),
    radial-gradient(760px 460px at 92% -18%, rgba(139, 92, 246, .16), transparent 62%),
    var(--bg);
}
.blog-hub::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse at 22% 22%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 22% 22%, #000 0%, transparent 70%);
}
.blog-hub .shell { position: relative; z-index: 2; }
.bh-top { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: end; }
.bh-title { font-family: var(--fd); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -1.4px; font-weight: 700; margin-bottom: 16px; color: #f4f8ff; }
.bh-title .hl { background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bh-sub { color: #b6c3d6; font-size: 15.5px; line-height: 1.8; max-width: 620px; }
.bh-search {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(15, 28, 48, .85), rgba(8, 16, 30, .8));
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.bh-search svg { width: 18px; height: 18px; color: #5eead4; flex: none; }
.bh-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #e9f0fa; font-family: var(--fb); font-size: 13.5px; padding: 10px 0; }
.bh-search input::placeholder { color: #8b9bb3; }
.bh-search button {
  width: 38px; height: 38px; border-radius: 10px; border: 0; cursor: pointer; flex: none;
  color: #04101c; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #5eead4, #14b8a6 45%, #0ea5e9);
  box-shadow: 0 10px 22px -12px rgba(20, 184, 166, .9);
}
.bh-search button:hover { filter: brightness(1.06); }
.bh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bh-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025);
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase;
  color: #a9b7cb; text-decoration: none; transition: .22s; white-space: nowrap;
}
.bh-chip:hover { color: #fff; border-color: rgba(94, 234, 212, .45); background: rgba(20, 184, 166, .08); }
.bh-chip.is-active { color: #04101c; border-color: transparent; background: linear-gradient(135deg, #5eead4, #38bdf8); font-weight: 700; }

/* ---------------------------------------------------------------- featured */
.featured-post {
  display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; text-decoration: none;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .09);
  background: var(--v2-glass);
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s;
}
.featured-post:hover { transform: translateY(-4px); border-color: rgba(94, 234, 212, .35); }
.fp-media { position: relative; overflow: hidden; min-height: 340px; background: #08101e; }
.fp-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.featured-post:hover .fp-media img { transform: scale(1.04); }
.fp-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(5, 10, 20, .55)); }
.fp-shine { position: absolute; inset: -40% -60% auto auto; width: 70%; height: 160%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); transform: rotate(18deg); }
.fp-cat, .post-cat {
  position: absolute; left: 16px; top: 16px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  font-family: var(--fm); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #04101c; background: linear-gradient(135deg, #5eead4, #38bdf8); font-weight: 700;
}
.fp-body { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; }
.fp-eyebrow { font-family: var(--fm); font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: #5eead4; margin-bottom: 12px; }
.fp-body h2 { font-family: var(--fd); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -.6px; color: #f4f8ff; margin-bottom: 12px; }
.fp-body p { color: #b6c3d6; font-size: 14px; line-height: 1.75; margin-bottom: 18px; }
.fp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--fm); font-size: 10.5px; color: #93a4ba; margin-bottom: 20px; }
.fp-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 184, 166, .16); border: 1px solid rgba(20, 184, 166, .35); color: #5eead4; font-family: var(--fd); font-size: 11px; font-weight: 700; }
.fp-dot { width: 3px; height: 3px; border-radius: 50%; background: #5b6b82; display: inline-block; }
.fp-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: #5eead4; }
.featured-post:hover .fp-cta span { transform: translateX(4px); }
.fp-cta span { transition: transform .25s; }

/* ---------------------------------------------------------------- grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .075); background: var(--v2-glass);
  box-shadow: var(--v2-shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(94, 234, 212, .32); box-shadow: 0 36px 80px -48px rgba(0, 0, 0, 1); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #08101e; }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: 10px; letter-spacing: .6px; color: #93a4ba; margin-bottom: 10px; }
.post-title { font-family: var(--fd); font-size: 17.5px; line-height: 1.32; letter-spacing: -.3px; margin-bottom: 9px; }
.post-title a { color: #f4f8ff; text-decoration: none; }
.post-card:hover .post-title a { color: #a7f3d0; }
.post-excerpt { color: #a9b7cb; font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-comments { font-family: var(--fm); font-size: 10px; color: #8b9bb3; }

/* pager */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pg {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025);
  color: #b6c3d6; font-family: var(--fm); font-size: 12px; text-decoration: none; transition: .2s;
}
.pg:hover { color: #fff; border-color: rgba(94, 234, 212, .45); }
.pg.is-active { background: linear-gradient(135deg, #5eead4, #38bdf8); color: #04101c; border-color: transparent; font-weight: 700; }
.pg.is-disabled { opacity: .35; cursor: not-allowed; }

/* empty state */
.blog-empty-state { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.bes-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; color: #5eead4; background: rgba(20, 184, 166, .1); border: 1px solid rgba(20, 184, 166, .3); }
.bes-icon svg { width: 28px; height: 28px; }
.blog-empty-state h2 { font-family: var(--fd); font-size: 22px; color: #f4f8ff; margin-bottom: 10px; }
.blog-empty-state p { color: #a9b7cb; font-size: 14px; line-height: 1.75; }

/* newsletter */
.newsletter-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 30px 32px; border-radius: 20px; border: 1px solid rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, rgba(14, 30, 52, .95), rgba(9, 18, 33, .95));
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1);
}
.newsletter-band h2 { font-family: var(--fd); font-size: clamp(20px, 2.2vw, 27px); color: #f4f8ff; margin-bottom: 6px; letter-spacing: -.4px; }
.newsletter-band p { color: #a9b7cb; font-size: 13px; line-height: 1.7; max-width: 520px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  min-width: 220px; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 10, 20, .6); color: #e9f0fa; font-family: var(--fb); font-size: 13.5px;
}
.newsletter-form input:focus { outline: none; border-color: rgba(94, 234, 212, .55); box-shadow: 0 0 0 3px rgba(20, 184, 166, .12); }

/* ---------------------------------------------------------------- article */
.article-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1100; background: transparent; pointer-events: none; }
.article-progress span { display: block; height: 100%; width: 0; background: var(--v2-grad); box-shadow: 0 0 12px rgba(56, 189, 248, .8); }

.article-hero {
  position: relative; padding: 138px 0 0; overflow: hidden;
  background:
    radial-gradient(900px 500px at 12% -20%, rgba(20, 184, 166, .17), transparent 62%),
    radial-gradient(760px 420px at 88% -24%, rgba(139, 92, 246, .15), transparent 64%),
    var(--bg);
}
.article-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 18%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 20% 18%, #000 0%, transparent 68%);
}
.article-hero .shell { position: relative; z-index: 2; }
.ah-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ah-chip { display: inline-flex; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); font-family: var(--fm); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: #a9b7cb; }
.ah-chip.is-cat { color: #04101c; background: linear-gradient(135deg, #5eead4, #38bdf8); border-color: transparent; font-weight: 700; }
.ah-title { font-family: var(--fd); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -1.4px; color: #f4f8ff; max-width: 980px; margin-bottom: 18px; }
.ah-excerpt { color: #b6c3d6; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.8; max-width: 780px; margin-bottom: 24px; }
.ah-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.ah-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(20, 184, 166, .14); border: 1px solid rgba(20, 184, 166, .35); color: #5eead4; font-family: var(--fd); font-size: 14px; font-weight: 700; }
.ah-avatar.is-lg { width: 52px; height: 52px; font-size: 18px; }
.ah-meta strong { display: block; color: #eef4ff; font-size: 13.5px; font-weight: 600; }
.ah-meta span { display: block; font-family: var(--fm); font-size: 10.5px; color: #93a4ba; margin-top: 2px; }
.ah-cover { position: relative; margin: 0; border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; background: #08101e; }
.ah-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ah-cover-glow { position: absolute; inset: auto 10% -60px; height: 120px; background: radial-gradient(closest-side, rgba(20, 184, 166, .35), transparent); filter: blur(30px); pointer-events: none; }
.ah-credit { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 24px); padding: 5px 10px; border-radius: 999px; background: rgba(4, 10, 20, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--fm); font-size: 9.5px; letter-spacing: .4px; color: #c3cfdf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-credit a { color: #eef4ff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.ah-credit a:hover { color: #5eead4; border-color: currentColor; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-prose { color: #c3cfdf; font-size: 16.5px; line-height: 1.92; }
.article-prose > p:first-of-type { font-size: 19px; line-height: 1.8; color: #dbe6f5; }
.article-prose h2 { font-family: var(--fd); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.5px; color: #f4f8ff; margin: 42px 0 14px; }
.article-prose h3 { font-family: var(--fd); font-size: 19px; color: #eef4ff; margin: 30px 0 10px; }
.article-prose p { margin-bottom: 18px; }
.article-prose ul, .article-prose ol { margin: 0 0 20px 22px; display: grid; gap: 8px; }
.article-prose li { line-height: 1.8; }
.article-prose li::marker { color: #5eead4; }
.article-prose a { color: #5eead4; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(94, 234, 212, .4); }
.article-prose a:hover { color: #a7f3d0; text-decoration-color: currentColor; }
.article-prose blockquote {
  margin: 26px 0; padding: 18px 22px; border-left: 3px solid #2dd4bf; border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(20, 184, 166, .1), transparent);
  color: #dbe6f5; font-size: 17px; line-height: 1.8;
}
.article-prose strong { color: #f4f8ff; }
.article-prose img { max-width: 100%; border-radius: 14px; }
.article-prose code { font-family: var(--fm); font-size: 13.5px; background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 6px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.article-author { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding: 22px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: var(--v2-glass); }
.article-author strong { color: #f4f8ff; font-size: 14px; }
.article-author p { color: #a9b7cb; font-size: 12.5px; line-height: 1.7; margin-top: 4px; }

/* services inside the article */
.article-services {
  margin-top: 44px; padding: 26px; border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, .25);
  background: linear-gradient(150deg, rgba(14, 30, 52, .9), rgba(8, 16, 30, .9));
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1);
}
.as-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.as-head h2 { font-family: var(--fd); font-size: clamp(20px, 2.2vw, 26px); color: #f4f8ff; letter-spacing: -.4px; }
.as-grid { display: grid; gap: 10px; }
.as-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 13px; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); transition: .22s;
}
.as-card:hover { border-color: rgba(94, 234, 212, .4); background: rgba(20, 184, 166, .07); transform: translateX(3px); }
.as-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #5eead4; background: rgba(20, 184, 166, .12); border: 1px solid rgba(20, 184, 166, .3); }
.as-body { flex: 1; min-width: 0; }
.as-body strong { display: block; color: #f4f8ff; font-size: 13.5px; font-weight: 600; }
.as-body small { display: block; color: #a9b7cb; font-size: 11.5px; line-height: 1.5; margin-top: 2px; }
.as-price { font-family: var(--fm); font-size: 10.5px; color: #a9b7cb; white-space: nowrap; }
.as-price .cur-price { color: #5eead4; }
.as-arrow { color: #5eead4; font-size: 15px; flex: none; transition: transform .2s; }
.as-card:hover .as-arrow { transform: translateX(3px); }
.as-note { margin-top: 14px; font-size: 11px; line-height: 1.7; color: #8b9bb3; }

/* comments */
.article-comments { margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .07); }
.ac-head h2 { font-family: var(--fd); font-size: 22px; color: #f4f8ff; margin-bottom: 20px; }
.ac-head h2 span { color: #5eead4; font-family: var(--fm); font-size: 13px; }
.ac-comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.ac-comment p { color: #c3cfdf; font-size: 14px; line-height: 1.8; margin-top: 6px; }
.ac-meta { display: flex; align-items: baseline; gap: 10px; }
.ac-meta strong { color: #eef4ff; font-size: 13px; }
.ac-meta span { font-family: var(--fm); font-size: 10px; color: #8b9bb3; }
.ac-reply { display: flex; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.ac-empty { color: #a9b7cb; font-size: 13.5px; margin-bottom: 12px; }
.ac-form-wrap { margin-top: 30px; padding: 24px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: var(--v2-glass); }
.ac-form-wrap h3 { font-family: var(--fd); font-size: 18px; color: #f4f8ff; margin-bottom: 4px; }
.ac-form-wrap > p { color: #8b9bb3; font-size: 11.5px; margin-bottom: 16px; }
.ac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ac-form input, .ac-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 10, 20, .55); color: #e9f0fa; font-family: var(--fb); font-size: 13.5px; margin-bottom: 10px;
}
.ac-form input:focus, .ac-form textarea:focus { outline: none; border-color: rgba(94, 234, 212, .55); box-shadow: 0 0 0 3px rgba(20, 184, 166, .1); }

/* aside */
.article-aside { display: grid; gap: 16px; }
.aside-card { padding: 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: var(--v2-glass); box-shadow: var(--v2-shadow); }
.aside-sticky { position: sticky; top: 106px; }
.aside-label { font-family: var(--fm); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: #5eead4; margin-bottom: 10px; }
.aside-card h2 { font-family: var(--fd); font-size: 19px; line-height: 1.3; letter-spacing: -.3px; color: #f4f8ff; margin-bottom: 10px; }
.aside-card > p { color: #a9b7cb; font-size: 12.5px; line-height: 1.75; margin-bottom: 16px; }
.aside-meta { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.aside-meta span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: 10px; color: #93a4ba; }
.aside-list { list-style: none; display: grid; gap: 2px; }
.aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); color: #c3cfdf; font-size: 12.5px; text-decoration: none; }
.aside-list a:hover { color: #5eead4; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .bh-top { grid-template-columns: 1fr; gap: 22px; }
  .bh-search { max-width: 520px; }
  .featured-post { grid-template-columns: 1fr; }
  .fp-media { min-height: 260px; aspect-ratio: 16 / 8; }
  .fp-media::after { background: linear-gradient(180deg, transparent 60%, rgba(5, 10, 20, .7)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .aside-sticky { position: static; }
  .article-aside { grid-row: 2; }
}

@media (max-width: 768px) {
  .blog-hub { padding: 120px 0 26px; }
  .bh-title { letter-spacing: -.8px; }
  .blog-grid { grid-template-columns: 1fr; }
  .fp-body { padding: 24px 22px; }
  .newsletter-band { padding: 24px 20px; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; min-width: 0; }
  .article-hero { padding-top: 112px; }
  .ah-title { letter-spacing: -.8px; }
  .ah-cover { border-radius: 16px 16px 0 0; }
  .article-prose { font-size: 15.5px; line-height: 1.9; }
  .article-prose > p:first-of-type { font-size: 17px; }
  .article-services { padding: 20px; }
  .as-card { flex-wrap: wrap; }
  .as-price { margin-left: 52px; }
  .ac-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .bh-chips { gap: 6px; }
  .bh-chip { font-size: 9px; padding: 6px 10px; }
  .fp-body { padding: 20px 18px; }
  .fp-media { min-height: 210px; }
  .ah-title { font-size: 28px; }
  .article-services { padding: 16px; }
  .as-card { padding: 12px; }
  .as-price { margin-left: 0; width: 100%; }
  .ah-cover img { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- pager */
.pager-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.pager-count { font-family: var(--fm); font-size: 10.5px; letter-spacing: .6px; color: #93a4ba; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 0; }
.pg { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025); color: #b6c3d6; font-family: var(--fm); font-size: 12px; text-decoration: none; transition: .2s; }
.pg:hover { color: #fff; border-color: rgba(94, 234, 212, .45); }
.pg.is-active { background: linear-gradient(135deg, #5eead4, #38bdf8); color: #04101c; border-color: transparent; font-weight: 700; }
.pg.is-disabled { opacity: .35; cursor: not-allowed; }
.pg.is-ellipsis { border: 0; background: none; color: #93a4ba; min-width: 18px; padding: 0; }
.pg-label { font-size: 10px; letter-spacing: .4px; text-transform: uppercase; }

@media (max-width: 560px) {
  .pg-label { display: none; }
  .pg { min-width: 34px; height: 34px; padding: 0 9px; font-size: 11px; }
  .pager { gap: 6px; }
}
/* ---------------------------------------------------------------- toolbar */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.blog-toolbar-count { font-family: var(--fm); font-size: 10.5px; letter-spacing: .6px; color: #93a4ba; }
.blog-toolbar-count strong { color: #e6edf7; font-weight: 600; }
.bt-query { color: #5eead4; }
.bt-sep { margin: 0 6px; opacity: .5; }
.blog-toolbar-pager { display: flex; align-items: center; gap: 8px; }
.pg-mini { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .025); color: #b6c3d6; font-family: var(--fm); font-size: 10.5px; text-decoration: none; transition: .2s; }
.pg-mini:hover { color: #fff; border-color: rgba(94, 234, 212, .45); }
.pg-mini.is-disabled { opacity: .35; pointer-events: none; }
.pg-status { font-family: var(--fm); font-size: 10px; letter-spacing: .5px; color: #93a4ba; white-space: nowrap; }

/* ---------------------------------------------------------------- mobile category drawer */
.bh-filter-mobile { display: none; }

@media (max-width: 900px) {
  .bh-chips { display: none; }
  .bh-filter-mobile { display: block; margin-top: 22px; }
  .bh-filter-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: #e6edf7; font-family: var(--fb); font-size: 13.5px; cursor: pointer; }
  .bh-filter-btn > svg { width: 17px; height: 17px; color: #5eead4; flex: none; }
  .bh-filter-chev { margin-left: auto; transition: transform .2s; }
  .bh-filter-btn[aria-expanded="true"] .bh-filter-chev { transform: rotate(180deg); }
}

.cat-drawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; pointer-events: none; }
.cat-drawer.is-open { visibility: visible; pointer-events: auto; }
.cat-drawer-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 16, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.cat-drawer.is-open .cat-drawer-backdrop { opacity: 1; }
.cat-drawer-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; display: flex; flex-direction: column; border-radius: 22px 22px 0 0; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, #0b1729, #060d1a); transform: translateY(100%); transition: transform .32s cubic-bezier(.16, 1, .3, 1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cat-drawer.is-open .cat-drawer-panel { transform: none; }
.cat-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 20px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cd-label { font-family: var(--fm); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: #5eead4; }
.cat-drawer-head h2 { font-family: var(--fd); font-size: 20px; color: #f4f8ff; margin-top: 4px; }
.cat-drawer-close { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #e2e8f0; font-size: 14px; cursor: pointer; flex: none; }
.cat-drawer-list { overflow-y: auto; padding: 10px 12px 18px; }
.cat-drawer-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px; border-radius: 11px; color: #c3cfdf; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.cat-drawer-item:last-child { border-bottom: 0; }
.cat-drawer-item:active { background: rgba(255, 255, 255, .05); }
.cat-drawer-item.is-active { color: #04101c; background: linear-gradient(135deg, #5eead4, #38bdf8); font-weight: 600; }
.cd-check { opacity: 0; font-size: 13px; }
.cat-drawer-item.is-active .cd-check { opacity: 1; }
body.cat-open { overflow: hidden; }
body.cat-open .app-tabbar { transform: translateY(160%); opacity: 0; pointer-events: none; }

@media (min-width: 901px) {
  .cat-drawer { display: none; }
}

@media (max-width: 560px) {
  .blog-toolbar { gap: 10px; }
  .blog-toolbar-pager { width: 100%; justify-content: space-between; }
  .pg-mini { height: 34px; }
}