/* Content pages bundle */

.posts-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch;grid-auto-rows:190px}
.post-card{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.08) 34%, rgba(255,255,255,.04)),
    linear-gradient(135deg, rgba(178,206,255,.18), rgba(255,255,255,.06) 40%, rgba(255,193,155,.12) 100%);
  border:1px solid rgba(255,255,255,.28);
  border-radius:var(--radius);
  box-shadow:
    0 26px 58px rgba(7,11,24,.2),
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 18px 22px rgba(255,255,255,.08),
    inset 0 -20px 36px rgba(120,154,255,.08);
  backdrop-filter:blur(30px) saturate(156%);
  -webkit-backdrop-filter:blur(30px) saturate(156%);
  position:relative;
  isolation:isolate;
}
.post-card::before,.post-card::after{display:none}
.post-card-link{display:flex;flex-direction:column;height:100%}
.post-card .post-image{height:82px;padding:0;display:block}
.post-card .post-image img{width:100%;height:100%;max-height:none;object-fit:cover;filter:none}
.post-card .post-body{display:grid;grid-template-rows:auto minmax(calc(2 * 1.3em),auto) auto;gap:6px;padding:8px 10px 10px;flex:1}
.post-card .tag{padding:3px 8px;font-size:.68rem;align-self:start}
.post-card h3{margin:0;min-height:calc(2 * 1.3em);font-size:.86rem;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.post-card .muted{display:none}
.post-card .inline-link{font-size:.82rem;font-weight:700;margin-top:auto}
.post-hero{aspect-ratio:16/6.2;overflow:hidden;background:linear-gradient(145deg, rgba(255,158,92,.18), rgba(255,255,255,.08));border-bottom:1px solid rgba(255,255,255,.12)}
.post-hero img{width:100%;height:100%;object-fit:cover}
.post-content{display:grid;gap:18px}
.post-content::after{content:"";display:block;clear:both}
.post-content h2,.post-content h3{margin:10px 0 0;line-height:1.18}
.post-content h2{font-size:1.6rem}
.post-content h3{font-size:1.2rem}
.post-content p{margin:0;color:#e5e8ef}
.post-content ul,.post-content ol{margin:0;padding-left:22px;color:#dce2ec}
.post-content li + li{margin-top:8px}
.post-content a{color:#ffb36a;text-decoration:underline}
.post-content figure{margin:4px 0;padding:14px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.post-content figure img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:rgba(255,255,255,.03)}
.post-content figcaption{margin-top:10px;color:var(--muted);font-size:.92rem}
.post-content h2,.post-content h3,.post-content ul,.post-content ol,.post-content blockquote,.post-content .faq-list,.post-content .cta-links{clear:both}
.post-content .article-inline-media{width:min(420px,42%);margin:8px 0 18px;padding:10px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.post-content .article-inline-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.post-content .article-inline-media figcaption{margin-top:8px;font-size:.82rem;line-height:1.55;color:var(--muted)}
.article-inline-media--left{float:left;margin-right:20px}
.article-inline-media--right{float:right;margin-left:20px}
.article-inline-media--center{float:none;clear:both;width:min(680px,100%);margin:10px auto 22px}
.post-content blockquote{margin:0;padding:16px 18px;border-left:4px solid var(--brand);background:rgba(255,255,255,.04);border-radius:10px;color:#edf1f7}
.post-content .cta-links{display:flex;flex-wrap:wrap;gap:12px}
.post-content .cta-links a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:8px;background:rgba(255,122,0,.12);border:1px solid rgba(255,122,0,.28);text-decoration:none}
.post-content .faq-list{display:grid;gap:14px}
.post-content .faq-item{padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:26px}
.pagination-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);color:#fff;font-weight:700}
.pagination-link:hover,.pagination-link.is-active{background:rgba(255,122,0,.18);border-color:rgba(255,172,110,.4);color:#ffd2ab}
.pagination-link--nav{min-width:auto}
.topic-nav{display:flex;gap:10px;flex-wrap:wrap;margin:-12px 0 18px}
.topic-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#eef4ff;font-size:.86rem;font-weight:700}
.topic-chip span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:rgba(255,255,255,.08);color:#ffcc9c;font-size:.78rem}
.topic-chip:hover,.topic-chip.is-active{background:rgba(255,122,0,.16);border-color:rgba(255,172,110,.42)}
.sitemap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sitemap-card{padding:20px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.sitemap-card h2{margin:0 0 12px;font-size:1.18rem}
.sitemap-card ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.sitemap-card li a{color:#e8eef8}
.sitemap-card li a:hover{color:#ffbe7f}
.related-content-grid{display:grid;gap:18px;margin-top:22px}
.related-panel{padding:22px}
.related-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.related-card{display:grid;align-content:start;gap:8px;min-height:150px;padding:16px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.04);color:#fff}
.related-card strong{line-height:1.25}
.related-card span{color:var(--muted);font-size:.9rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.related-card b{margin-top:auto;color:#ffd5a8;font-size:1.08rem}
.related-card:hover{border-color:rgba(255,122,0,.42);background:rgba(255,122,0,.08)}

@media (max-width: 1600px){
  .posts-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

@media (max-width: 1280px){
  .posts-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:200px}
}

@media (max-width: 980px){
  .posts-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}
  .post-card .post-image{height:auto;aspect-ratio:16/7.2}
  .post-card .muted{margin:0;font-size:.82rem;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .article-inline-media,.article-inline-media--left,.article-inline-media--right,.article-inline-media--center{float:none;width:100%;margin:8px 0 18px}
  .sitemap-grid{grid-template-columns:1fr}
  .related-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 760px){
  .posts-grid{grid-template-columns:1fr}
  .related-card-grid{grid-template-columns:1fr}
}
