/* Theme integration isolated to EFA SAN; respects column counts from [pgp_gallery]. */
.efa-pgp-integrated .efa-entry{max-width:1200px;margin:0 auto}
.efa-pgp-integrated .pgp-gallery-wrap{--pgp-sc-btn-color:#fff;--pgp-sc-btn-bg:#ff8509;--pgp-sc-btn-hover:#ea7100;margin:26px auto 42px;font-family:inherit}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid{display:grid!important;gap:22px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-card{width:auto!important;max-width:none!important;min-width:0;display:flex!important;flex-direction:column;overflow:hidden;border-radius:12px!important;border:1px solid #e7edf2!important;background:#fff!important;box-shadow:0 6px 20px rgba(4,33,60,.08)!important;transition:transform .22s,box-shadow .22s}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(4,33,60,.14)!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-card>a:first-child{display:block;overflow:hidden}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-thumb{height:auto!important;aspect-ratio:4/3;display:block;overflow:hidden!important;background:#edf2f5}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-thumb img{height:100%!important;width:100%!important;max-width:none!important;object-fit:cover!important;transition:transform .35s ease}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-card:hover .pgp-thumb img{transform:scale(1.035)}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-shortcode-card-content{display:flex;flex:1;flex-direction:column;padding:18px!important;gap:10px!important;justify-content:flex-start}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-title{font-size:16px!important;font-weight:750!important;color:#0b2845!important;line-height:1.4!important;text-decoration:none!important;margin:0!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-card-excerpt{font-size:13px;color:#586a7c}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-shortcode-card-action{margin-top:auto!important;padding-top:6px}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-shortcode-detail-button{background:#ff8509!important;color:#fff!important;border:1px solid #ff8509!important;border-radius:7px!important;text-decoration:none!important;padding:10px 16px!important;font-weight:700!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-shortcode-detail-button:hover{background:#e77400!important;border-color:#e77400!important}
.efa-pgp-integrated .pgp-gallery-wrap .pgp-pagination a,.efa-pgp-integrated .pgp-gallery-wrap .pgp-pagination span{border-radius:7px!important}
@media(max-width:980px){.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:740px){.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid,.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.efa-pgp-integrated .pgp-gallery-wrap .pgp-shortcode-card-content{padding:13px!important}}
@media(max-width:460px){.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid,.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-4,.efa-pgp-integrated .pgp-gallery-wrap .pgp-grid.cols-2{grid-template-columns:repeat(1,minmax(0,1fr))!important}}
/* Category archive and single image views: same EFA SAN design language. */
.efa-pgp-integrated .pgp-taxonomy-container{max-width:1220px;margin:34px auto!important;padding-left:22px!important;padding-right:22px!important;color:#0a263f;font-family:inherit;--pgp-cd-accent:#ff8509}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-taxonomy-title{color:#0a263f!important;font-weight:850;letter-spacing:-.7px}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-stable-kicker,.efa-pgp-integrated .pgp-taxonomy-container .pgp-category-kicker{color:#f3810a!important;letter-spacing:1.4px;font-weight:800}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-breadcrumb a:hover{color:#ff8509!important}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-archive-category-card,.efa-pgp-integrated .pgp-taxonomy-container .pgp-category-button-card{border-radius:12px!important;overflow:hidden;box-shadow:0 9px 22px rgba(8,36,61,.09)!important}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-category-button-link{color:#ff8509!important;font-weight:750}
.efa-pgp-integrated .pgp-taxonomy-container .pgp-stable-hero{border-radius:14px!important;overflow:hidden}
.efa-pgp-integrated .pgp-single-container{max-width:1200px!important;margin:30px auto!important;padding:0 22px!important;color:#0a2841}
.efa-pgp-integrated .pgp-single-container .pgp-accordion-btn{font-weight:750}
@media (max-width:600px){.efa-pgp-integrated .pgp-taxonomy-container,.efa-pgp-integrated .pgp-single-container{margin:20px auto!important;padding:0 15px!important}}
