/* Complementary skin, scoped to the Dizayn Alci theme. Does not touch other sites/themes. */
body .dp-entry .pgp-gallery-wrap,
body .dp-content-section .pgp-gallery-wrap{width:100%;max-width:none;padding:0!important;margin:15px 0 36px!important;background:transparent!important;border:0!important;box-shadow:none!important}
/* The shortcode columns= value must take precedence over the themed skin.
   CSS custom properties are set by the cols-N class (and shortcode inline metadata).
   Previously the layout was hardcoded to repeat(3,...) !important, breaking cols-4. */
body .dp-entry .pgp-gallery-wrap .pgp-grid,
body .dp-content-section .pgp-gallery-wrap .pgp-grid{display:grid!important;grid-template-columns:repeat(var(--pgp-gallery-columns,3),minmax(0,1fr))!important;gap:19px!important;align-items:stretch;overflow:visible!important}
body .dp-entry .pgp-gallery-wrap .pgp-grid.cols-1,body .dp-content-section .pgp-gallery-wrap .pgp-grid.cols-1{--pgp-gallery-columns:1}
body .dp-entry .pgp-gallery-wrap .pgp-grid.cols-2,body .dp-content-section .pgp-gallery-wrap .pgp-grid.cols-2{--pgp-gallery-columns:2}
body .dp-entry .pgp-gallery-wrap .pgp-grid.cols-3,body .dp-content-section .pgp-gallery-wrap .pgp-grid.cols-3{--pgp-gallery-columns:3}
body .dp-entry .pgp-gallery-wrap .pgp-grid.cols-4,body .dp-content-section .pgp-gallery-wrap .pgp-grid.cols-4{--pgp-gallery-columns:4}
body .dp-entry .pgp-gallery-wrap .pgp-grid .pgp-item,
body .dp-content-section .pgp-gallery-wrap .pgp-grid .pgp-item{width:auto!important;min-width:0!important;float:none!important;display:flex!important;flex-direction:column;position:relative!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #eee8e2!important;border-radius:11px!important;overflow:hidden!important;box-shadow:0 9px 28px rgba(39,30,20,.08)!important;transform:none;transition:transform .2s,box-shadow .2s}
body .dp-entry .pgp-gallery-wrap .pgp-grid .pgp-item:hover,
body .dp-content-section .pgp-gallery-wrap .pgp-grid .pgp-item:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(39,30,20,.13)!important}
body .dp-entry .pgp-gallery-wrap .pgp-thumb,
body .dp-content-section .pgp-gallery-wrap .pgp-thumb{height:205px!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;background:#ede7df!important}
body .dp-entry .pgp-gallery-wrap .pgp-thumb img,
body .dp-content-section .pgp-gallery-wrap .pgp-thumb img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;object-fit:cover!important;filter:none!important;opacity:1!important;transform:none!important;transition:transform .35s}
body .dp-entry .pgp-gallery-wrap .pgp-item:hover .pgp-thumb img,
body .dp-content-section .pgp-gallery-wrap .pgp-item:hover .pgp-thumb img{transform:scale(1.035)!important}
body .dp-entry .pgp-gallery-wrap .pgp-shortcode-card-content,
body .dp-content-section .pgp-gallery-wrap .pgp-shortcode-card-content{display:flex!important;flex-direction:column!important;flex:1!important;gap:5px!important;margin:0!important;padding:14px 15px 16px!important;background:#fff!important;position:relative!important;transform:none!important;opacity:1!important}
body .dp-entry .pgp-gallery-wrap a.pgp-title,
body .dp-content-section .pgp-gallery-wrap a.pgp-title{font:500 15px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif!important;color:#2a2824!important;text-decoration:none!important;letter-spacing:-.1px!important}
body .dp-entry .pgp-gallery-wrap a.pgp-title:hover,
body .dp-content-section .pgp-gallery-wrap a.pgp-title:hover{color:#986837!important}
body .dp-entry .pgp-gallery-wrap .pgp-card-excerpt,
body .dp-content-section .pgp-gallery-wrap .pgp-card-excerpt{color:#6d675e!important;font:400 12px/1.55 system-ui,'Segoe UI',sans-serif!important;margin:0!important}
body .dp-entry .pgp-gallery-wrap .pgp-card-excerpt p,
body .dp-content-section .pgp-gallery-wrap .pgp-card-excerpt p{margin:0!important;font:inherit!important}
body .dp-entry .pgp-gallery-wrap .pgp-shortcode-card-action,
body .dp-content-section .pgp-gallery-wrap .pgp-shortcode-card-action{margin-top:auto!important;padding-top:10px!important;transform:none!important;opacity:1!important;position:static!important}
body .dp-entry .pgp-gallery-wrap .pgp-shortcode-detail-button,
body .dp-content-section .pgp-gallery-wrap .pgp-shortcode-detail-button{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#986837!important;background:#f6f0e9!important;border:1px solid #ead9c5!important;border-radius:5px!important;padding:6px 12px!important;font:500 12px/1.4 system-ui,'Segoe UI',sans-serif!important;text-decoration:none!important;box-shadow:none!important}
body .dp-entry .pgp-gallery-wrap .pgp-shortcode-detail-button:hover,
body .dp-content-section .pgp-gallery-wrap .pgp-shortcode-detail-button:hover{background:#986837!important;color:#fff!important}
body .dp-entry .pgp-gallery-wrap .pgp-pagination,
body .dp-content-section .pgp-gallery-wrap .pgp-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:28px auto 0!important}
body .dp-entry .pgp-gallery-wrap .pgp-pagination a,
body .dp-content-section .pgp-gallery-wrap .pgp-pagination a{padding:7px 12px!important;border:1px solid #e7daca!important;border-radius:5px!important;text-decoration:none!important}
@media(max-width:900px){body .dp-entry .pgp-gallery-wrap .pgp-grid,body .dp-content-section .pgp-gallery-wrap .pgp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:540px){body .dp-entry .pgp-gallery-wrap .pgp-grid,body .dp-content-section .pgp-gallery-wrap .pgp-grid{grid-template-columns:1fr!important}body .dp-entry .pgp-gallery-wrap .pgp-thumb,body .dp-content-section .pgp-gallery-wrap .pgp-thumb{height:240px!important}}
