/* Premium Project Showcase (JustNew) */
.hpj-wrap { --hpj-cols: 3; --hpj-gap: 24px; --hpj-radius: 12px; --hpj-ratio: 16 / 9; --hpj-accent: #229F05; --hpj-navy: #0D2E5C; --hpj-border: #E3E9F1; --hpj-sb: 30px; --hpj-shadow-c: rgba(13,46,92,.22); --hpj-focus: center center; width: 100%; box-sizing: border-box; }
.hpj-wrap *, .hpj-wrap *::before, .hpj-wrap *::after { box-sizing: border-box; }
.hpj-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.hpj-eyebrow { display: inline-block; margin-bottom: 10px; font-size: 15px; font-style: italic; font-weight: 500; color: var(--hpj-accent); }
.hpj-heading { margin: 0 0 14px; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--hpj-navy); }
.hpj-intro { margin: 0; font-size: 15px; line-height: 1.65; color: #4B5A70; }

.hpj-grid { display: grid; grid-template-columns: repeat(var(--hpj-cols), minmax(0, 1fr)); gap: var(--hpj-gap); align-items: stretch; }
.hpj-card[hidden] { display: none !important; }
.hpj-card {
	position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff;
	border: 1px solid var(--hpj-border); border-radius: var(--hpj-radius);
	box-shadow: 0 calc(var(--hpj-sb) * .3) var(--hpj-sb) calc(var(--hpj-sb) * -.55) var(--hpj-shadow-c);
	transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.hpj-card:hover, .hpj-card:focus-within { transform: translateY(-6px); box-shadow: 0 calc(var(--hpj-sb) * .6) calc(var(--hpj-sb) * 1.4) calc(var(--hpj-sb) * -.5) var(--hpj-shadow-c); }
.hpj-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--hpj-accent); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.hpj-card:hover::after, .hpj-card:focus-within::after { width: 100%; }

.hpj-media { position: relative; overflow: hidden; aspect-ratio: var(--hpj-ratio); background: var(--hpj-navy); flex: none; }
.hpj-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--hpj-focus); display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.hpj-card:hover .hpj-img { transform: scale(1.06); }
.hpj-noimg { background: linear-gradient(135deg, var(--hpj-navy) 0%, var(--hpj-navy) 50%, var(--hpj-accent) 170%); }

.hpj-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 22px; flex: 1 1 auto; }
.hpj-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--hpj-navy); }
.hpj-title a, .hpj-title a:hover { color: inherit; text-decoration: none; background: none; box-shadow: none; }
.hpj-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card clickable */
.hpj-has-link:hover .hpj-title a { color: var(--hpj-accent); }
.hpj-text { margin: 0; font-size: 14px; line-height: 1.65; color: #4B5A70; }
.hpj-label { margin-top: auto; display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2; border: 1px solid transparent; }
.hpj-text + .hpj-label, .hpj-title + .hpj-label { margin-top: auto; }
.hpj-l-green   { background: rgba(34,159,5,.13); color: #1B7F04; }
.hpj-l-solid   { background: var(--hpj-accent); color: #fff; }
.hpj-l-navy    { background: var(--hpj-navy); color: #fff; }
.hpj-l-amber   { background: #FFF1CC; color: #8A5A00; }
.hpj-l-grey    { background: #E8ECF2; color: #4B5A70; }
.hpj-l-outline { background: transparent; color: var(--hpj-navy); border-color: var(--hpj-navy); }

.hpj-more-wrap { text-align: center; margin-top: 40px; }
.hpj-wrap button.hpj-more {
	display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border: 0; border-radius: 999px; cursor: pointer;
	background-color: #0D2E5C; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: none; line-height: 1.2; box-shadow: none; white-space: normal;
	transition: background-color .3s, color .3s, transform .3s;
}
.hpj-wrap button.hpj-more:hover, .hpj-wrap button.hpj-more:focus { background-color: #229F05; color: #fff; transform: translateY(-2px); }
.hpj-wrap button.hpj-more[hidden] { display: none; }
.hpj-empty { padding: 28px; border: 2px dashed #9fb0c6; border-radius: 12px; text-align: center; color: #4B5A70; font-size: 14px; }

/* scroll-in */
.hpj-wrap[data-animate="yes"] .hpj-card { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; transition-delay: calc(var(--hpj-i, 0) * 110ms), calc(var(--hpj-i, 0) * 110ms), 0ms; }
.hpj-wrap[data-animate="yes"] .hpj-card.is-in { opacity: 1; transform: none; }
.hpj-wrap[data-animate="yes"] .hpj-card.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
	.hpj-wrap[data-animate="yes"] .hpj-card { opacity: 1; transform: none; transition: none; }
	.hpj-card, .hpj-img { transition: none !important; }
}
@media (max-width: 767px) { .hpj-heading { font-size: 27px; } .hpj-head { margin-bottom: 30px; } }
