.fbx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px 22px; }
.fbx-grid > li { min-width: 0; display: flex; }

.fbx-card { position: relative; display: flex; flex-direction: column; width: 100%; color: var(--ink); text-decoration: none; background: #fff;
  border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); animation: fbx-rise .55s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 55ms); }
@keyframes fbx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.fbx-cover { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--sky);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.fbx-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.fbx-ph { position: absolute; inset: 0; display: none; place-items: center; overflow: hidden; color: #fff; text-shadow: var(--edge);
  background: linear-gradient(135deg, var(--blue-xd), var(--blue) 70%, var(--blue-l)); }
.fbx-ph::before { content: ""; position: absolute; inset: -30%; transform: rotate(45deg); opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, .13) 34px 36px), repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .13) 34px 36px); }
.fbx-ph b { position: relative; font-family: var(--f-display); font-weight: 900; font-size: calc(clamp(2rem, 9vw, 2.7rem) * var(--dz)); letter-spacing: .04em; text-wrap-style: balance; word-break: auto-phrase; }
.fbx-ph small { position: absolute; left: 12px; bottom: 8px; font-size: .68rem; letter-spacing: .14em; opacity: .85; }
.fbx-cover.noimg img { display: none; }
.fbx-cover.noimg .fbx-ph { display: grid; }

.fbx-cat { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 1px 12px; transform: skewX(var(--skew)); background: var(--ink); color: #fff; font-size: .72rem; line-height: 1.7; letter-spacing: .04em; box-shadow: 2px 2px 0 var(--blue-l); }
.fbx-cat > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }

.fbx-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 11px 14px 12px; }
.fbx-title { margin: 0; font-size: .95rem; line-height: 1.55; font-weight: 400; min-height: 3.1em; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.fbx-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; border-top: 1.5px dashed #b9c6d6; padding-top: 8px; }
.fbx-date { font-size: .78rem; color: #4a5670; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

.fbx-card.is-pin { border-color: var(--berry); box-shadow: 5px 5px 0 var(--berry); }
@media (hover: hover) { .fbx-card.is-pin:hover { box-shadow: 8px 8px 0 var(--berry); } }

.fbx-go { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px; font-size: .7rem; letter-spacing: .12em; color: #fff; text-shadow: var(--edge); background: linear-gradient(90deg, var(--blue-d), var(--blue)); }
.fbx-go i { width: 8px; height: 8px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); margin-right: 4px; transition: transform .2s; }

@media (hover: hover) {
  .fbx-card { transition: transform .18s, box-shadow .18s; }
  .fbx-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
  .fbx-card:hover .fbx-cover img { transform: scale(1.05); }
  .fbx-card:hover .fbx-go i { transform: translateX(4px) rotate(45deg); }
}
.fbx-card:focus-visible { outline: 3px solid var(--berry); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) { .fbx-card { animation: none; } .fbx-cover img, .fbx-card, .fbx-go i { transition: none; } }

.cp-fbx .cp-box-in { padding: 16px 16px 16px; }
.cp-fbx .fbx-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 20px 18px; padding: 0 5px 5px 0; }
.cp-fbx.is-s .cp-box-in { padding: 12px 12px 12px; }
.cp-fbx.is-s .fbx-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 14px 12px; padding: 0 4px 4px 0; }
.cp-fbx.is-s .fbx-card { box-shadow: 4px 4px 0 var(--ink); border-width: 2px; }
.cp-fbx.is-s .fbx-cover { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%); }
.cp-fbx.is-s .fbx-cat { left: 6px; top: 6px; padding: 0 8px; font-size: .6rem; }
.cp-fbx.is-s .fbx-body { padding: 7px 9px 8px; gap: 6px; }
.cp-fbx.is-s .fbx-title { font-size: .74rem; line-height: 1.5; min-height: 3em; }
.cp-fbx.is-s .fbx-meta { padding-top: 5px; }
.cp-fbx.is-s .fbx-date { font-size: .66rem; }
.cp-fbx.is-s .fbx-go { padding: 3px 9px; font-size: .58rem; }
.cp-fbx.is-s .cp-fbx-more { margin-top: 12px; }
.cp-fbx.is-s .cp-fbx-more .sk { font-size: .8rem; padding: 3px 16px; }
.cp.allo .cp-fbx.is-s .fbx-card { box-shadow: 4px 4px 0 #3a4560; }
.cp-fbx-more { margin: 18px 0 2px; text-align: center; }
.cp-fbx-more .sk { font: inherit; font-size: .9rem; padding: 5px 22px; }
.cp.allo .cp-fbx .fbx-card { border-color: #fff; box-shadow: 5px 5px 0 #3a4560; }
