/* V59 public reference gallery visual improvements */
.hk39-gallery-card.hk59-card{border:none;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);box-shadow:0 18px 40px rgba(11,55,108,.10), inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(186,208,230,.75);position:relative}
.hk39-gallery-card.hk59-card::before{content:"";position:absolute;inset:10px;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(219,231,243,.95), inset 0 10px 24px rgba(255,255,255,.65), inset 0 -10px 18px rgba(195,214,232,.22);pointer-events:none}
.hk59-hero{position:relative;padding:18px 18px 0}
.hk59-main-image{height:250px!important;border-radius:18px;cursor:zoom-in;box-shadow:0 10px 24px rgba(10,54,105,.12)}
.hk59-brand-hero{position:absolute;top:28px;left:28px;display:flex;align-items:center;justify-content:center;min-width:112px;max-width:150px;height:52px;padding:8px 12px;background:rgba(255,255,255,.94);backdrop-filter:blur(4px);border:1px solid rgba(196,214,231,.95);border-radius:14px;box-shadow:0 8px 24px rgba(10,50,97,.16)}
.hk59-brand-hero img{width:100%;height:100%;object-fit:contain}
.hk59-category-chip{position:absolute;right:28px;top:28px;max-width:48%;padding:8px 12px;border-radius:999px;background:rgba(7,61,134,.88);color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em;box-shadow:0 8px 20px rgba(6,49,107,.18)}
.hk39-gallery-card.hk59-card>div.hk59-content{padding:16px 20px 20px}
.hk59-content small{display:block;color:#0e82c6;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:10px}
.hk59-content h3{font-size:31px;margin:0 0 14px;color:#143d79;line-height:1.08;letter-spacing:-.03em}
.hk59-secondary-logos{margin-bottom:12px}
.hk59-secondary-logos img{height:40px;max-width:100px}
.hk59-meta{margin:0 0 10px!important;color:#31577e!important;font-weight:600}
.hk59-content p{color:#486580;line-height:1.8}
.hk59-photo-strip{margin-top:14px;padding-top:10px;border-top:1px solid #dbe8f4}
.hk59-photo-strip button{transition:.18s ease;box-shadow:0 2px 8px rgba(12,55,102,.08)}
.hk59-photo-strip button.is-active,.hk59-photo-strip button:hover{transform:translateY(-1px);border-color:#1482bc;box-shadow:0 6px 16px rgba(20,130,188,.18)}
.hk59-photo-strip img{width:72px!important;height:54px!important;border-radius:6px}
.hk59-lightbox[hidden]{display:none!important}
.hk59-no-scroll{overflow:hidden}
.hk59-lightbox{position:fixed;inset:0;z-index:10000}
.hk59-lightbox-backdrop{position:absolute;inset:0;background:rgba(4,18,37,.78);backdrop-filter:blur(2px)}
.hk59-lightbox-dialog{position:absolute;inset:4vw;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
.hk59-figure{margin:0;background:#fff;border-radius:20px;padding:14px;box-shadow:0 20px 50px rgba(0,0,0,.3);max-height:100%;display:flex;flex-direction:column;min-width:0}
.hk59-figure img{display:block;width:100%;max-height:calc(100vh - 180px);object-fit:contain;border-radius:14px;background:#f5f8fc}
.hk59-figure figcaption{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 4px 2px;color:#143758;font-size:14px}
.hk59-nav,.hk59-close{border:none;background:rgba(255,255,255,.92);color:#153a6d;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.hk59-nav{width:52px;height:52px;border-radius:50%;font-size:34px;line-height:1}
.hk59-close{position:absolute;top:10px;right:10px;width:42px;height:42px;border-radius:50%;font-size:30px;z-index:2}
@media(max-width:940px){.hk59-content h3{font-size:25px}.hk59-main-image{height:230px!important}}
@media(max-width:620px){.hk59-hero{padding:14px 14px 0}.hk59-main-image{height:210px!important}.hk59-brand-hero{top:22px;left:22px;min-width:90px;max-width:120px;height:44px;padding:6px 10px}.hk59-category-chip{top:22px;right:22px;max-width:58%;font-size:11px;padding:7px 10px}.hk59-content h3{font-size:19px}.hk59-lightbox-dialog{inset:14px;grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.hk59-nav{position:absolute;bottom:18px;z-index:3}.hk59-prev{left:18px}.hk59-next{right:18px}.hk59-figure img{max-height:calc(100vh - 240px)}}
