.wf-section .wf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}
.wf-card{min-width:0;perspective:1100px}
.wf-rotor{display:grid;height:100%;transform-style:preserve-3d;transition:transform .52s cubic-bezier(.22,.75,.25,1)}
.wf-card.is-flipped .wf-rotor{transform:rotateY(180deg)}
.wf-face{grid-area:1/1;min-width:0;border:1px solid #274059;border-radius:9px;overflow:hidden;background:#0c1927;color:#f2f7fc;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.wf-section .wf-face[hidden]{display:none}
.wf-front{display:flex;flex-direction:column;text-decoration:none;text-align:left;padding:0;width:100%;font:inherit;cursor:pointer;transition:border-color .2s}
.wf-front:hover{border-color:#759dc2}
.wf-face :focus-visible,.wf-face:focus-visible{outline:2px solid #a6d8ff;outline-offset:-3px}
.wf-front img{width:100%;height:auto;display:block;aspect-ratio:8/5;object-fit:cover;object-position:center top;background:#142537;border-bottom:1px solid #274059}
.wf-caption{display:grid;gap:3px;width:100%;padding:12px 14px 14px;margin-top:auto}
.wf-name,.wf-back h3{font-size:clamp(17px,1.6vw,22px);line-height:1.15;font-weight:720;letter-spacing:-.025em}
.wf-kind{margin:0;color:#aebfd0;font-size:13px;line-height:1.3}
.wf-hint{width:max-content;margin-top:5px;font-size:13px;font-weight:650;color:#b1defb}
.wf-back{transform:rotateY(180deg);padding:14px;display:flex;flex-direction:column;gap:8px;background:#101f30}
.wf-back h3{margin:3px 0 0}
.wf-back p:not(.wf-kind){margin:0;font-size:14px;line-height:1.42;color:#d0deeb}
.wf-back p:not(.wf-kind):last-of-type{color:#abc0d3}
.wf-actions{margin-top:auto;padding-top:3px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.wf-actions .btn,.wf-close{min-height:44px;font-size:13px;line-height:1;padding:0 12px;white-space:nowrap}
.wf-close{background:none;color:#c0d5e9;border:0;font-family:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1060px){.wf-section .wf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.wf-section .wf-grid{grid-template-columns:minmax(0,1fr)}.wf-back{padding:15px}}
@media(prefers-reduced-motion:reduce){.wf-rotor{transition:none}.wf-front{transition:none}}
