/* Fly Fantasy member galleries; only approved public portfolio photos. */
.ff-directory-gallery{margin-top:42px;padding:30px 0 6px;border-top:1px solid rgba(223,180,107,.4)}
.ff-directory-gallery-heading,.ff-profile-gallery-heading{margin:0 0 20px}
.ff-directory-gallery-kicker{font-size:11px!important;letter-spacing:.17em;color:#e6bd7b!important;font-weight:800;margin:0 0 10px!important}
.ff-directory-gallery h3,.ff-member-profile-gallery h3{font:600 clamp(26px,3.3vw,38px)/1.2 'Playfair Display',Georgia,serif;color:#f3d4a0;margin:0 0 8px}
.ff-directory-gallery-heading>p:last-child,.ff-profile-gallery-heading>p:last-child{font-size:14px;line-height:1.5;color:#d6c2cf;margin:0}
.ff-directory-gallery-grid,.ff-profile-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}
.ff-directory-gallery-card{display:flex;flex-direction:column;min-width:0;background:#100e15;border:1px solid #7f5c44;border-radius:11px;overflow:hidden;color:#f0dcb7;text-decoration:none;transition:transform .2s,border-color .2s}
.ff-directory-gallery-card:hover,.ff-directory-gallery-card:focus-visible{transform:translateY(-3px);border-color:#ebc88d}
.ff-directory-gallery-card img{display:block;width:100%;height:220px;object-fit:contain;background:#09080c}
.ff-directory-gallery-card span{display:block;flex:1;padding:12px;font-size:13px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}
.public-profile .ff-member-profile-gallery{grid-column:1/-1;min-width:0;margin-top:18px;padding:28px 0 5px;border-top:1px solid rgba(223,180,107,.48)}
.public-profile .ff-profile-gallery-thumb{display:block;min-width:0;padding:5px;margin:0;border:1px solid #795b4a;border-radius:9px;background:#09080c;cursor:zoom-in;transition:border-color .2s}
.public-profile .ff-profile-gallery-thumb:hover,.public-profile .ff-profile-gallery-thumb:focus-visible{border-color:#f2ca83;outline-offset:2px}
.public-profile .ff-profile-gallery-thumb img{display:block;width:100%;height:190px;object-fit:contain;border-radius:5px;background:#09080c}
.public-profile .ff-photo-lightbox{max-width:min(96vw,1050px);max-height:96vh;padding:48px 10px 10px;border:2px solid #cfaa6a;border-radius:12px;background:#0a080e;color:white;box-shadow:0 25px 80px #000}
.public-profile .ff-photo-lightbox::backdrop{background:rgba(0,0,0,.92)}
.public-profile .ff-photo-lightbox img{display:block;width:auto;max-width:calc(94vw - 22px);height:auto;max-height:calc(90vh - 70px);margin:auto;object-fit:contain}
.public-profile .ff-photo-lightbox-close{position:absolute;right:10px;top:8px;cursor:pointer;padding:8px 12px;background:#b4894c;border:0;border-radius:6px;color:#130e14;font-weight:800}
@media(max-width:630px){.ff-directory-gallery{margin-top:26px;padding-top:23px}.ff-directory-gallery-grid,.ff-profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ff-directory-gallery-card img{height:170px}.public-profile .ff-profile-gallery-thumb img{height:162px}}
