/* iHost PRO presentation layer. Preserve business logic / content sources. */
.uf-home{display:flex;flex-direction:column;width:100%;max-width:none}.uf-home>section{flex:0 0 auto;width:100%;min-width:0}
body .pt-pricebox-1,body .pt-pricebox-2,body .pt-pricing-table{border-radius:var(--ihpro-radius)!important;overflow:hidden;box-shadow:0 10px 30px rgba(14,39,76,.08)!important}
body .pt-pricebox-1 .pt-pricebox-price,body .pt-pricebox-2 .pt-pricebox-price{color:var(--ihpro-price)!important}
body .uf-card-grid,body .uf-service-grid,body .uf-product-grid{gap:var(--ihpro-gap)!important}
body .uf-client-logos img,body .pt-client img,body .pt-clientbox-1 img{height:auto!important;max-height:var(--ihpro-logo-height)!important;width:auto!important;max-width:100%;object-fit:contain!important}
body .uf-client-logos>div{display:flex;align-items:center;justify-content:center;min-height:100px}
body .pt-portfolio-img img,body .pt-blog-post img{max-width:100%;object-fit:cover}
@media(min-width:992px){body .pt-pricebox-grid,body .ihpro-package-grid{display:grid;grid-template-columns:repeat(var(--ihpro-columns),minmax(0,1fr));gap:var(--ihpro-gap)}}
@media(max-width:1090px){body .uf-nav,body .uf-mobile-nav,body .uf-nav-list{background:var(--ihpro-mobile-bg)!important}body .uf-nav-list .sub-menu,body .uf-mobile-nav .sub-menu{background:var(--ihpro-mobile-sub-bg)!important}body .uf-nav-list>li>a,body .uf-mobile-nav a{font-size:var(--ihpro-mobile-font)!important;overflow-wrap:anywhere}}
@media(max-width:767px){body .pt-pricebox-1,body .pt-pricebox-2{margin-bottom:22px!important}body .uf-card-grid,body .uf-service-grid{gap:18px!important}}

/* v2.1: real package loop markup: Bootstrap .row > .col-xl-4 > .pt-pricebox-1.
   :has scopes the layout strictly to rows containing package cards. */
@media(min-width:992px){
 body .row:has(> [class*="col-"] > .pt-pricebox-1),
 body .row:has(> [class*="col-"] > .pt-pricebox-2){
  display:grid!important;grid-template-columns:repeat(var(--ihpro-columns),minmax(0,1fr))!important;
  gap:var(--ihpro-gap)!important;align-items:stretch!important;margin-left:0!important;margin-right:0!important
 }
 body .row:has(> [class*="col-"] > .pt-pricebox-1) > [class*="col-"],
 body .row:has(> [class*="col-"] > .pt-pricebox-2) > [class*="col-"]{
  flex:none!important;max-width:none!important;width:100%!important;padding:0!important;min-width:0
 }
}
@media(min-width:600px) and (max-width:991px){
 body .row:has(> [class*="col-"] > .pt-pricebox-1),
 body .row:has(> [class*="col-"] > .pt-pricebox-2){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px!important;margin-left:0!important;margin-right:0!important}
 body .row:has(> [class*="col-"] > .pt-pricebox-1)>[class*="col-"],
 body .row:has(> [class*="col-"] > .pt-pricebox-2)>[class*="col-"]{max-width:none!important;width:100%!important;padding:0!important}
}
@media(max-width:599px){body .row:has(> [class*="col-"] > .pt-pricebox-1)>[class*="col-"],body .row:has(> [class*="col-"] > .pt-pricebox-2)>[class*="col-"]{margin-bottom:22px}}
body .pt-pricebox-1,body .pt-pricebox-2{height:100%;min-width:0;border:1px solid var(--ihpro-border);border-radius:var(--ihpro-radius)!important;box-sizing:border-box}
body .pt-pricebox-1 .pt-price-title,body .pt-pricebox-2 .pt-price-title{font-size:var(--ihpro-title-size)!important;line-height:1.35!important;overflow-wrap:anywhere}
body .pt-pricebox-1 .price,body .pt-pricebox-2 .price{font-size:var(--ihpro-price-size)!important;line-height:1.15!important;overflow-wrap:anywhere}
body .pt-pricebox-1 .pt-button-block a,body .pt-pricebox-2 .pt-button-block a,body .pt-pricebox-1 .pt-button-block button,body .pt-pricebox-2 .pt-button-block button{background:var(--ihpro-btn-bg)!important;color:var(--ihpro-btn-color)!important;border-color:var(--ihpro-btn-bg)!important;max-width:100%}
/* Portfolio existing project listings: style without touching project WP queries. */
@media(min-width:992px){body .pt-grid:has(.pt-portfoliobox-1){--ihpro-columns:var(--ihpro-portfolio-columns)}}
body .pt-portfoliobox-1{border-radius:var(--ihpro-portfolio-radius)!important;overflow:hidden;box-shadow:0 8px 24px rgba(14,39,76,.08)}
body .pt-grid:has(.pt-portfoliobox-1){column-gap:var(--ihpro-portfolio-gap)!important;row-gap:var(--ihpro-portfolio-gap)!important}
body .uf-client-logos img,body .pt-client img{opacity:var(--ihpro-logo-opacity)}
/* Dropdown containment and mobile header safe widths */
body .uf-main-nav .sub-menu{box-sizing:border-box;min-width:230px;max-width:min(360px,90vw);height:auto;overflow-wrap:anywhere}
body .uf-main-nav .sub-menu li,body .uf-main-nav .sub-menu a{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1090px){body .uf-header-row{min-width:0}body .uf-header-actions{min-width:0}body .uf-flag-switcher img{display:block;max-width:25px;height:auto}}
@media(prefers-reduced-motion:reduce){body .pt-pricebox-1,body .pt-pricebox-2,body .pt-portfoliobox-1{animation:none!important;transition:none!important}}
