.tp-gallery-hero{text-align:center;max-width:820px;margin:0 auto 34px}.tp-gallery-hero h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.035em;margin:8px 0 14px}.tp-gallery-hero>p:last-child{color:#68768a;font-size:17px;line-height:1.7}.tp-gallery-empty{text-align:center;max-width:720px;margin:0 auto}.tp-gallery-empty p{margin-bottom:0}
.tp-gallery-grid{max-width:1320px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.tp-gallery-card{min-width:0}.tp-gallery-card-open{display:flex;flex-direction:column;width:100%;height:100%;padding:0;border:1px solid #dce5ef;border-radius:10px;background:#fff;overflow:hidden;text-align:left;cursor:pointer;box-shadow:0 9px 26px rgba(18,38,63,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;color:inherit}.tp-gallery-card-open:hover,.tp-gallery-card-open:focus-visible{transform:translateY(-3px);box-shadow:0 16px 34px rgba(18,38,63,.12);border-color:#b8cce3;outline:none}.tp-gallery-thumb{position:relative;display:block;width:100%;aspect-ratio:16/10;background:#0a213c;overflow:hidden}.tp-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.tp-gallery-card-open:hover .tp-gallery-thumb img{transform:scale(1.025)}.tp-gallery-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(9,31,57,.86);border:2px solid rgba(255,255,255,.9);color:#fff;font-size:22px;padding-left:4px;box-shadow:0 8px 22px rgba(0,0,0,.24)}.tp-gallery-video-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#fff}.tp-gallery-video-placeholder>span:last-child{position:absolute;bottom:18px;font-weight:700}.tp-gallery-card-copy{display:flex;flex-direction:column;gap:7px;padding:17px 18px 19px;min-height:96px}.tp-gallery-card-copy strong{font-size:17px;line-height:1.3;color:#142b46}.tp-gallery-card-copy>span{font-size:13.5px;line-height:1.45;color:#66758a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tp-gallery-modal[hidden]{display:none}.tp-gallery-modal{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:28px}.tp-gallery-modal-backdrop{position:absolute;inset:0;background:rgba(3,13,27,.82);backdrop-filter:blur(5px)}.tp-gallery-modal-dialog{position:relative;z-index:1;width:min(1120px,calc(100vw - 56px));max-height:calc(100vh - 56px);background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.42);display:flex;flex-direction:column}.tp-gallery-modal-media{display:grid;place-items:center;min-height:300px;background:#071a31;overflow:hidden}.tp-gallery-modal-media img{display:block;max-width:100%;max-height:calc(100vh - 210px);width:auto;height:auto;object-fit:contain}.tp-gallery-modal-media iframe{display:block;width:100%;aspect-ratio:16/9;border:0;background:#000}.tp-gallery-modal-copy{padding:18px 24px 22px}.tp-gallery-modal-copy h2{margin:0 0 7px;font-size:22px}.tp-gallery-modal-copy p{margin:0;color:#617086;line-height:1.6;white-space:pre-line}.tp-gallery-modal-close{position:absolute;right:14px;top:14px;z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(4,20,39,.8);color:#fff;font-size:30px;line-height:1;cursor:pointer}.tp-gallery-modal-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:48px;height:56px;border:0;border-radius:13px;background:rgba(4,20,39,.78);color:#fff;font-size:38px;line-height:1;cursor:pointer}.tp-gallery-modal-prev{left:14px}.tp-gallery-modal-next{right:14px}.tp-gallery-modal-close:hover,.tp-gallery-modal-nav:hover{background:#0f4ea7}body.tp-gallery-modal-open{overflow:hidden}
@media(max-width:1050px){.tp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}}
@media(max-width:620px){.tp-gallery-hero{margin-bottom:24px}.tp-gallery-grid{grid-template-columns:1fr;gap:16px}.tp-gallery-card-copy{min-height:0}.tp-gallery-modal{padding:10px}.tp-gallery-modal-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:16px}.tp-gallery-modal-media{min-height:220px}.tp-gallery-modal-media img{max-height:calc(100vh - 180px)}.tp-gallery-modal-nav{width:40px;height:48px;font-size:32px}.tp-gallery-modal-prev{left:6px}.tp-gallery-modal-next{right:6px}.tp-gallery-modal-close{right:8px;top:8px}}
