/* Theme-conflict protection for the plugin-owned content area. */
.tpg-body .tpg-main{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:none!important;
    min-height:500px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
}
.tpg-body .tpg-main>section{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}

/* Dynamic Resources article cards. */
.tpg-post-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);background:#fff}
.tpg-post-image{height:260px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#0a2739,#143b52)}
.tpg-post-image img{width:100%;height:100%;object-fit:cover;display:block}
.tpg-post-body{display:flex;flex:1;flex-direction:column;padding:30px}
.tpg-post-meta{margin-bottom:14px;color:var(--orange);font-size:13px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.tpg-post-card h3{font-size:25px;line-height:1.28}
.tpg-post-card h3 a{color:var(--ink)}
.tpg-post-card p{color:var(--muted)}
.tpg-read-more{margin-top:auto;padding-top:14px;color:var(--ink);font-weight:900}
.tpg-read-more b{color:var(--orange)}

/* WordPress-managed parts products. */
.tpg-product-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);background:#fff}
.tpg-product-image{height:230px;display:grid;place-items:center;overflow:hidden;background:#f4f6f7}
.tpg-product-image img{width:100%;height:100%;object-fit:cover;display:block}
.tpg-product-image .tpg-icon{transform:scale(.7)}
.tpg-product-body{display:flex;flex:1;flex-direction:column;padding:25px}
.tpg-product-code{color:var(--orange);font-size:13px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.tpg-product-card h3{font-size:22px;line-height:1.3;margin:10px 0}
.tpg-product-card h3 a{color:var(--ink)}
.tpg-product-card p{color:var(--muted)}
.tpg-product-hero-image{min-height:420px;display:grid;place-items:center;overflow:hidden;border:1px solid #466173;background:#fff}
.tpg-product-hero-image img{width:100%;height:100%;max-height:560px;object-fit:contain;display:block}
.tpg-product-content img{max-width:100%;height:auto}
.tpg-specs{padding:35px;border:1px solid var(--line);background:var(--mist)}
.tpg-specs>div{display:grid;gap:4px;padding:17px 0;border-bottom:1px solid var(--line)}
.tpg-specs span{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.6px}
.tpg-specs .tpg-btn{margin-top:28px}

/* Homepage industry hero photography. */
.tpg-home-hero{
    min-height:760px;
    background-image:linear-gradient(90deg,rgba(3,20,32,.98) 0%,rgba(4,27,42,.92) 42%,rgba(4,27,42,.52) 72%,rgba(4,27,42,.28) 100%),url('../images/construction-equipment-parts-hero.webp')!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
}
.tpg-home-hero .tpg-hero-grid{min-height:540px}
.tpg-home-hero .tpg-find{box-shadow:0 22px 55px rgba(0,0,0,.3)}
@media(max-width:782px){
    .tpg-home-hero{min-height:auto;background-image:linear-gradient(90deg,rgba(3,20,32,.96),rgba(4,27,42,.74)),url('../images/construction-equipment-parts-hero.webp')!important;background-position:62% center!important}
    .tpg-home-hero .tpg-hero-grid{min-height:auto}
}
