.trc-gallery-review .trc-project-nav{margin:24px 0 48px;padding:24px;background:#f3f6f7;border-radius:6px;font-family:Arial,sans-serif}
.trc-gallery-review .trc-project-nav-label{margin:0 0 18px!important;font-size:15px!important;font-weight:600;color:#203b4c}
.trc-gallery-review .trc-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.trc-gallery-review .trc-project-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dbe2e5;border-radius:5px;color:#203b4c!important;text-decoration:none!important;box-shadow:0 2px 5px #203b4c08;transition:box-shadow .2s,transform .2s}
.trc-gallery-review .trc-project-card:hover{transform:translateY(-3px);box-shadow:0 6px 18px #203b4c22}
.trc-gallery-review .trc-project-card img{display:block;width:100%;height:154px;object-fit:cover;filter:none!important;margin:0!important}
.trc-gallery-review .trc-project-caption{position:relative;display:flex;flex-direction:column;gap:6px;padding:16px 34px 16px 16px;flex:1}
.trc-gallery-review .trc-project-title{font-size:17px;font-weight:600;line-height:1.3;color:#203b4c}
.trc-gallery-review .trc-project-sub{font-size:12px;line-height:1.4;color:#627985}
.trc-gallery-review .trc-project-arrow{position:absolute;right:15px;top:16px;font-size:20px;color:#2875b9}
.trc-gallery-review .entry-content>h2,.trc-gallery-review .entry-content>h3{scroll-margin-top:25px;color:#203b4c;margin-top:42px}
.trc-gallery-review .entry-content>h2[id]{border-top:1px solid #dce3e7;padding-top:28px}
.trc-gallery-review .entry-content ul.tb-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:20px!important;opacity:1!important;height:auto!important;list-style:none!important;padding:0!important;margin:22px 0 38px!important}
.trc-gallery-review .tb-gallery .tb-gallery__cell{grid-row-end:auto!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:auto!important;margin:0!important;align-self:start}
.trc-gallery-review .tb-gallery .tb-gallery__cell:before{display:none!important}
.trc-gallery-review .tb-gallery .tb-brick__content{position:relative!important;height:auto!important;padding:0!important;width:100%!important}
.trc-gallery-review .tb-gallery figure{height:auto!important;margin:0!important;overflow:hidden;background:#f3f6f7;border:1px solid #e0e6e9;border-radius:4px}
.trc-gallery-review .tb-gallery img{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover!important;display:block!important;opacity:1!important;filter:none!important}
.trc-gallery-review .tb-gallery__caption{position:static!important;display:block;background:#fff!important;color:#405564!important;text-align:left!important;padding:10px 12px!important;font:13px/1.5 Arial,sans-serif!important}
.trc-gallery-review .tb-gallery__caption:empty{display:none!important}
.trc-gallery-review a:focus-visible,.trc-photo-viewer button:focus-visible{outline:3px solid #2875b9;outline-offset:4px}
.trc-photo-viewer{border:0;padding:0;max-width:min(1200px,95vw);width:95vw;max-height:95vh;background:#101c25;color:#fff;border-radius:6px;font-family:Arial,sans-serif}
.trc-photo-viewer::backdrop{background:#071119e8}
.trc-photo-viewer header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;gap:16px}
.trc-photo-viewer button{border:1px solid #ffffff66;background:transparent;color:#fff;font:14px Arial,sans-serif;border-radius:3px;padding:10px 14px;min-height:42px;cursor:pointer}
.trc-photo-viewer img{display:block;width:100%;height:70vh;object-fit:contain;background:#0b141c}
.trc-photo-viewer footer{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 18px}
.trc-photo-viewer p{font-size:13px;line-height:1.5;margin:0;flex:1;color:#e0e8ed}
@media(max-width:1000px){.trc-gallery-review .trc-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trc-gallery-review .entry-content ul.tb-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.trc-gallery-review .trc-project-nav{padding:16px}.trc-gallery-review .trc-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.trc-gallery-review .trc-project-card img{height:130px}.trc-gallery-review .trc-project-title{font-size:16px}.trc-gallery-review .trc-project-caption{padding:12px 28px 12px 12px}.trc-gallery-review .trc-project-arrow{right:10px;top:12px}.trc-gallery-review .entry-content ul.tb-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.trc-photo-viewer footer{flex-wrap:wrap}.trc-photo-viewer p{order:3;flex-basis:100%}}
@media(max-width:380px){.trc-gallery-review .trc-project-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.trc-gallery-review .trc-project-card{transition:none}.trc-gallery-review .trc-project-card:hover{transform:none}}
.trc-gallery-review .trc-project-nav-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.trc-gallery-review .trc-project-nav-heading .trc-project-nav-label{margin:0!important}
.trc-gallery-review [data-project-status]{font:13px/1.5 Arial,sans-serif;color:#627985}
.trc-gallery-review .trc-project-search{display:flex;flex-direction:column;gap:7px;margin:0 0 22px;max-width:520px;font:13px/1.5 Arial,sans-serif;color:#405564}
.trc-gallery-review .trc-project-search input{width:100%;min-height:44px;padding:11px 13px;border:1px solid #bccbd3;background:white;color:#203b4c;border-radius:4px;font:15px/1.4 Arial,sans-serif}
.trc-gallery-review .trc-project-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.trc-gallery-review .trc-project-card[hidden],.trc-gallery-review [data-project-more][hidden],.trc-gallery-review [data-project-empty][hidden],.trc-gallery-back[hidden]{display:none!important}
.trc-gallery-review .trc-project-more{text-align:center;margin-top:24px}
.trc-gallery-review [data-project-more]{padding:12px 24px;min-height:44px;border:1px solid #203b4c;border-radius:4px;background:#203b4c;color:#fff;font:600 14px/1.4 Arial,sans-serif;cursor:pointer}
.trc-gallery-review .trc-gallery-back{position:fixed;right:22px;bottom:22px;z-index:50;display:block;padding:12px 18px;border-radius:4px;background:#203b4c;color:white!important;text-decoration:none!important;font:600 14px/1.4 Arial,sans-serif;box-shadow:0 3px 12px #0003}
#trc-project-browser{scroll-margin-top:25px}
