.mlpcg-grid{display:grid;grid-template-columns:repeat(var(--ml-col-d),minmax(0,1fr));gap:var(--ml-gap);align-items:stretch}
.mlpcg-card{background:var(--ml-surface);border:1px solid var(--ml-border);border-radius:var(--ml-radius);overflow:hidden;display:flex;flex-direction:column;height:100%;box-shadow:0 12px 28px rgba(7,31,58,.08);transition:.22s ease}
.mlpcg-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(7,31,58,.14)}
.mlpcg-media{position:relative;display:block;height:var(--ml-img-h);overflow:hidden;background:#eef2f6;text-decoration:none!important}
.mlpcg-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;transition:transform .35s ease}.mlpcg-card:hover .mlpcg-media img{transform:scale(1.035)}
.mlpcg-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--ml-navy);color:var(--ml-gold);font-weight:800}
.mlpcg-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(2,14,28,.68),rgba(2,14,28,0) 55%)}
.mlpcg-badges{position:absolute;top:14px;left:14px;display:flex;gap:7px}.mlpcg-badge{padding:5px 10px;border-radius:999px;background:rgba(7,31,58,.9);color:#fff;font-size:12px;font-weight:700}.mlpcg-badge.gold{background:var(--ml-gold);color:var(--ml-navy)}
.mlpcg-location{position:absolute;left:14px;right:14px;bottom:13px;display:flex;gap:7px;align-items:center;color:#fff;font-size:14px;font-weight:600}.mlpcg-location svg{width:18px;height:18px;fill:var(--ml-gold);flex:0 0 18px}.mlpcg-location span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlpcg-body{padding:18px 18px 14px;display:flex;flex-direction:column;flex:1}.mlpcg-code{color:var(--ml-gold);font-size:13px;font-weight:800;margin-bottom:7px}.mlpcg-title{margin:0 0 15px;font-size:19px;line-height:1.48;font-weight:750;min-height:calc(1.48em * var(--ml-title-lines));display:-webkit-box;-webkit-line-clamp:var(--ml-title-lines);-webkit-box-orient:vertical;overflow:hidden}.mlpcg-title a{color:var(--ml-text);text-decoration:none!important}
.mlpcg-specs{margin-top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.mlpcg-specs>div{display:flex;align-items:center;gap:7px;color:var(--ml-muted);font-size:13px}.mlpcg-specs svg{width:18px;height:18px;fill:none;stroke:var(--ml-navy);stroke-width:1.8}.mlpcg-specs span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlpcg-footer{min-height:67px;border-top:1px solid var(--ml-border);padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcfd}.mlpcg-footer>div{display:flex;flex-direction:column;gap:2px}.mlpcg-footer span{font-size:12px;color:var(--ml-muted)}.mlpcg-footer strong{color:var(--ml-navy);font-size:19px;white-space:nowrap}.mlpcg-footer>a{display:inline-flex;align-items:center;gap:5px;color:var(--ml-navy);font-size:13px;font-weight:700;text-decoration:none!important}.mlpcg-footer>a svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.mlpcg-empty{grid-column:1/-1;padding:40px;text-align:center;border:1px dashed var(--ml-border);border-radius:var(--ml-radius);color:var(--ml-muted)}
@media(max-width:1024px){.mlpcg-grid{grid-template-columns:repeat(var(--ml-col-t),minmax(0,1fr))}}
@media(max-width:767px){.mlpcg-grid{grid-template-columns:repeat(var(--ml-col-m),minmax(0,1fr))}.mlpcg-media{height:230px}.mlpcg-title{font-size:18px}}

/* Search & Filter V2.1 */
.mlpcg-search-section{padding:54px 0;background:#f5f6f8;font-family:Prompt,sans-serif}
.mlpcg-search-head{max-width:1280px;margin:0 auto 22px;padding:0 20px}.mlpcg-search-head>span{color:var(--ml-gold);font-size:13px;font-weight:800;letter-spacing:.12em}.mlpcg-search-head h2{margin:6px 0 6px;color:var(--ml-navy);font-size:34px;line-height:1.2}.mlpcg-search-head p{margin:0;color:var(--ml-muted);font-size:16px}
.mlpcg-search{max-width:1280px;margin:auto;padding:0 20px}.mlpcg-search-tabs{display:flex;gap:8px;margin-bottom:12px}.mlpcg-search-tab{border:0;background:#e8ecf1;color:var(--ml-navy);padding:11px 24px;border-radius:9px 9px 0 0;font-weight:700;cursor:pointer}.mlpcg-search-tab.is-active{background:var(--ml-gold);color:var(--ml-navy)}
.mlpcg-search-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr auto;gap:12px;padding:18px;background:#fff;border-radius:0 12px 12px 12px;box-shadow:0 10px 30px rgba(7,31,58,.08)}
.mlpcg-search-row label,.mlpcg-advanced-grid label{display:flex;flex-direction:column;gap:7px;color:var(--ml-navy);font-size:12px;font-weight:700}.mlpcg-search select,.mlpcg-search input{width:100%;height:46px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;color:var(--ml-text);padding:0 12px;font:500 14px Prompt,sans-serif;outline:none}.mlpcg-search select:focus,.mlpcg-search input:focus{border-color:var(--ml-gold);box-shadow:0 0 0 3px rgba(229,170,24,.12)}
.mlpcg-search-submit{align-self:end;height:46px;border:0;border-radius:8px;background:var(--ml-navy);color:#fff;padding:0 22px;display:flex;align-items:center;gap:16px;font-weight:800;cursor:pointer;white-space:nowrap}.mlpcg-search-submit b{font-size:20px;color:var(--ml-gold)}
.mlpcg-advanced{margin-top:12px;background:#fff;border-radius:10px;padding:0 16px}.mlpcg-advanced summary{cursor:pointer;padding:14px 0;color:var(--ml-navy);font-weight:700;list-style:none}.mlpcg-advanced-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;padding:0 0 16px}.mlpcg-search-clear{align-self:end;height:46px;display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;background:#eef1f5;color:var(--ml-navy);text-decoration:none;font-weight:700}
@media(max-width:1024px){.mlpcg-search-row{grid-template-columns:repeat(2,minmax(0,1fr))}.mlpcg-search-submit{grid-column:1/-1;justify-content:center}.mlpcg-advanced-grid{grid-template-columns:1fr 1fr}}
@media(max-width:767px){.mlpcg-search-section{padding:38px 0}.mlpcg-search-head h2{font-size:28px}.mlpcg-search-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.mlpcg-search-tab{padding:10px 8px}.mlpcg-search-row{grid-template-columns:1fr;border-radius:0 10px 10px 10px}.mlpcg-advanced-grid{grid-template-columns:1fr}}

/* Explicit component rules override theme button colors. Elementor controls override these. */
.mlpcg-search button.mlpcg-search-tab{background:#e8ecf1;color:var(--ml-navy);border:1px solid transparent}
.mlpcg-search button.mlpcg-search-tab.is-active{background:var(--ml-gold);color:var(--ml-navy)}
.mlpcg-search button.mlpcg-search-tab:hover,.mlpcg-search button.mlpcg-search-tab:focus-visible{background:var(--ml-gold);color:var(--ml-navy)}
.mlpcg-search button.mlpcg-search-submit{background:var(--ml-navy);color:#fff;border:1px solid var(--ml-navy)}
.mlpcg-search button.mlpcg-search-submit:hover,.mlpcg-search button.mlpcg-search-submit:focus-visible{background:var(--ml-gold);color:var(--ml-navy);border-color:var(--ml-gold)}
.mlpcg-submit-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--ml-gold);font-size:20px}
.mlpcg-submit-icon svg{width:1em;height:1em;fill:currentColor}
.mlpcg-search-submit:hover .mlpcg-submit-icon{color:inherit}
.mlpcg-specs svg{stroke:var(--ml-spec-icon,var(--ml-navy))}
.mlpcg-specs i{color:var(--ml-spec-icon,var(--ml-navy));font-size:18px}
.mlpcg-specs svg.e-font-icon-svg{fill:var(--ml-spec-icon,var(--ml-navy));stroke:none}
.mlpcg-location svg{fill:var(--ml-location-icon,var(--ml-gold))}
.mlpcg-location i{color:var(--ml-location-icon,var(--ml-gold));font-size:18px}
.mlpcg-footer>a svg.e-font-icon-svg{fill:currentColor;stroke:none}

/* Font family follows the component; individual typography controls override it. */
.mlpcg-card{font-family:Prompt,sans-serif}
.mlpcg-card :where(h3,a,strong,span,div){font-family:inherit}
.mlpcg-search-section :where(h2,p,label,span,button,summary,a,input,select){font-family:inherit}
