.ehsp-card{display:flex;gap:20px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin:0 0 16px;box-shadow:0 1px 2px rgba(0,0,0,.04);font-family:inherit;color:#111827}
.ehsp-card *{box-sizing:border-box}
.ehsp-logo{flex:0 0 80px;width:80px;height:80px;border-radius:10px;overflow:hidden;background:#f3f4f6;display:flex;align-items:center;justify-content:center}
.ehsp-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.ehsp-body{flex:1;min-width:0}
.ehsp-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.ehsp-head-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ehsp-name{margin:0 0 6px;font-size:1.25rem;font-weight:700;line-height:1.2;color:#0f172a}
.ehsp-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:.875rem;color:#475569;margin-bottom:8px}
.ehsp-meta span{display:inline-flex;align-items:center;gap:6px}
.ehsp-i{width:15px;height:15px;flex-shrink:0;display:inline-block;vertical-align:middle}
.ehsp-i-ext{width:13px;height:13px;margin-left:2px;opacity:.7}
.ehsp-meta .ehsp-i{color:#64748b}
.ehsp-website .ehsp-i{color:#1d4ed8}
.ehsp-desc{margin:8px 0 14px;font-size:.95rem;line-height:1.55;color:#374151}
.ehsp-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #f1f5f9;padding-top:12px;margin-top:8px}
.ehsp-socials{display:flex;gap:10px;align-items:center}
.ehsp-socials a{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;text-decoration:none;transition:transform .15s,opacity .15s}
.ehsp-socials a:hover{transform:translateY(-1px);opacity:.85}
.ehsp-socials svg{width:20px;height:20px;fill:currentColor;display:block}
.ehsp-s-linkedin{color:#0A66C2}
.ehsp-s-twitter{color:#1DA1F2}
.ehsp-s-facebook{color:#1877F2}
.ehsp-s-instagram{color:#E1306C}
.ehsp-s-youtube{color:#FF0000}
.ehsp-cta{display:inline-flex;align-items:center;gap:6px;background:#1d4ed8;color:#fff !important;padding:10px 18px;border-radius:8px;font-weight:600;text-decoration:none;font-size:.9rem;transition:background .15s}
.ehsp-cta:hover{background:#1e40af}
.ehsp-website{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7eb;color:#111827 !important;padding:6px 12px;border-radius:8px;font-size:.85rem;text-decoration:none;background:#fff}
.ehsp-website:hover{background:#f9fafb}
@media(max-width:560px){.ehsp-card{flex-direction:column}.ehsp-logo{width:64px;height:64px;flex-basis:64px}}

.ehsp-cta-popup{border:0;cursor:pointer;font-family:inherit}
.ehsp-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.ehsp-modal.is-open{display:flex}
.ehsp-modal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(2px)}
.ehsp-modal-box{position:relative;background:#fff;border-radius:12px;max-width:560px;width:100%;max-height:90vh;overflow:auto;padding:28px 24px;box-shadow:0 20px 50px -10px rgba(0,0,0,.3);animation:ehsp-pop .18s ease-out}
@keyframes ehsp-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.ehsp-modal-close{position:absolute;top:8px;right:10px;background:transparent;border:0;font-size:28px;line-height:1;cursor:pointer;color:#64748b;padding:4px 10px;border-radius:6px}
.ehsp-modal-close:hover{background:#f1f5f9;color:#0f172a}
.ehsp-modal-content{margin-top:6px}

/* Clickable company name on cards */
.ehsp-name-link{color:#0f172a;text-decoration:none;background-image:linear-gradient(#2563eb,#2563eb);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .25s ease,color .2s}
.ehsp-name-link:hover,.ehsp-name-link:focus{color:#2563eb;background-size:100% 1px}

/* Single company details page */
.ehsp-single{max-width:1080px;margin:0 auto;padding:32px 20px;color:#0f172a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.ehsp-single-hero{display:flex;gap:24px;align-items:center;padding:28px;background:linear-gradient(135deg,#f8fafc,#eff6ff);border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;flex-wrap:wrap}
.ehsp-single-logo{flex:0 0 auto;width:96px;height:96px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 4px 12px -4px rgba(15,23,42,.1)}
.ehsp-single-logo img{max-width:80%;max-height:80%;object-fit:contain}
.ehsp-single-head{flex:1;min-width:240px}
.ehsp-single-title{margin:0 0 14px;font-size:32px;font-weight:700;line-height:1.15;color:#0f172a}
.ehsp-single-actions{display:flex;flex-wrap:wrap;gap:10px}
.ehsp-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .15s}
.ehsp-btn-primary{background:#2563eb;color:#fff}
.ehsp-btn-primary:hover{background:#1d4ed8}
.ehsp-btn-outline{background:#fff;color:#0f172a;border-color:#cbd5e1}
.ehsp-btn-outline:hover{border-color:#94a3b8;background:#f8fafc}
.ehsp-btn-cta{background:#f97316;color:#fff}
.ehsp-btn-cta:hover{background:#ea580c}
.ehsp-single-grid{display:grid;grid-template-columns:1fr 320px;gap:24px}
@media(max-width:780px){.ehsp-single-grid{grid-template-columns:1fr}.ehsp-single-title{font-size:26px}}
.ehsp-single-main{display:flex;flex-direction:column;gap:20px}
.ehsp-single-side{display:flex;flex-direction:column;gap:16px}
.ehsp-single-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px}
.ehsp-single-h2{margin:0 0 16px;font-size:18px;font-weight:700;color:#0f172a}
.ehsp-single-h3{margin:0 0 12px;font-size:14px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.04em}
.ehsp-single-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:540px){.ehsp-single-facts{grid-template-columns:1fr}}
.ehsp-fact{display:flex;flex-direction:column;gap:4px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}
.ehsp-fact-label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.ehsp-fact-value{font-size:15px;font-weight:600;color:#0f172a}
.ehsp-single-desc{margin:0;font-size:15px;line-height:1.65;color:#334155}
.ehsp-single-link{color:#2563eb;font-weight:600;text-decoration:none;word-break:break-all}
.ehsp-single-link:hover{text-decoration:underline}
.ehsp-single-socials{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ehsp-single-socials a{color:#0f172a;text-decoration:none;font-weight:500;padding:8px 10px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;display:block;transition:background .15s}
.ehsp-single-socials a:hover{background:#eff6ff;color:#2563eb}

.ehsp-single-keywords{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;background:transparent!important}
.ehsp-single-keywords li.ehsp-keyword-chip{display:inline-flex!important;align-items:center!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;color:#0f172a!important;border-radius:8px!important;padding:6px 12px!important;font-size:13px!important;font-weight:500!important;line-height:1.2!important;list-style:none!important;text-decoration:none!important;margin:0!important;box-shadow:none!important}
.ehsp-single-keywords li.ehsp-keyword-chip::before,.ehsp-single-keywords li.ehsp-keyword-chip::marker{content:none!important;display:none!important}
.ehsp-single-subtitle{font-size:14px;color:#64748b;margin:-6px 0 14px;font-weight:500}
.ehsp-btn svg{flex-shrink:0}
.ehsp-single-h2{display:flex;align-items:center;gap:8px}
.ehsp-single-h2 svg{color:#2563eb}
.ehsp-fact{flex-direction:row;align-items:center;gap:12px}
.ehsp-fact-icon{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:#eff6ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center}
.ehsp-fact-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.ehsp-keywords-block{margin-top:18px;padding-top:18px;border-top:1px solid #e2e8f0;background:transparent!important}
.ehsp-keywords-label{font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.ehsp-side-row{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#0f172a;text-decoration:none;font-size:14px;font-weight:500;margin-bottom:10px;transition:background .15s}
.ehsp-side-row:hover{background:#eff6ff;color:#2563eb}
.ehsp-side-row-icon{color:#2563eb;display:inline-flex}
.ehsp-side-row-text{flex:1;word-break:break-all}
.ehsp-side-row-ext{color:#94a3b8;display:inline-flex}
.ehsp-social-icons{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.ehsp-social-icon{width:36px;height:36px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;text-decoration:none;transition:all .15s}
.ehsp-social-icon:hover{transform:translateY(-1px);box-shadow:0 4px 8px -2px rgba(15,23,42,.12)}
.ehsp-social-linkedin:hover{background:#0a66c2;color:#fff;border-color:#0a66c2}
.ehsp-social-twitter:hover{background:#000;color:#fff;border-color:#000}
.ehsp-social-facebook:hover{background:#1877f2;color:#fff;border-color:#1877f2}
.ehsp-social-instagram:hover{background:#e4405f;color:#fff;border-color:#e4405f}
.ehsp-social-youtube:hover{background:#ff0000;color:#fff;border-color:#ff0000}
.ehsp-readmore{margin-left:6px;color:#2563eb;text-decoration:none;font-weight:500;white-space:nowrap}.ehsp-readmore:hover{text-decoration:underline}

.ehsp-card{position:relative}
.ehsp-card.ehsp-card--clickable{cursor:pointer}
.ehsp-card-link{position:absolute;inset:0;z-index:1;border-radius:inherit;text-indent:-9999px;overflow:hidden;white-space:nowrap}
.ehsp-card-link:focus{outline:2px solid #2563eb;outline-offset:2px}
.ehsp-card .ehsp-logo,.ehsp-card .ehsp-body{position:static}
.ehsp-card a:not(.ehsp-card-link),.ehsp-card button{position:relative;z-index:3}

/* Sponsored badge */
.ehsp-card{overflow:visible}
.ehsp-sponsored-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);z-index:4;display:inline-flex;align-items:center;gap:5px;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:5px 12px;border-radius:999px;box-shadow:0 4px 10px -2px rgba(249,115,22,.45);line-height:1;pointer-events:none;white-space:nowrap}
.ehsp-sponsored-badge svg{display:block}
.ehsp-card--sponsored{border-color:#fcd34d;box-shadow:0 1px 2px rgba(0,0,0,.04),0 0 0 1px #fcd34d inset}
.ehsp-sponsored-badge--single{position:absolute;top:16px;right:16px;left:auto;transform:none;font-size:11px;padding:5px 10px;width:auto;max-width:max-content}
.ehsp-single-hero{position:relative}
.ehsp-single--sponsored .ehsp-single-hero{border-color:#fcd34d;background:linear-gradient(135deg,#fffbeb,#fff7ed)}


/* ============================================================
 * v1.6.2 Directory layout: compact listings + smart sticky sidebar
 * Front-end only. Elementor data/layout settings are not modified.
 * ============================================================ */
.ehsp-directory-host{width:100%!important;max-width:none!important}
.ehsp-directory-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,var(--ehsp-dir-side,300px));gap:22px;align-items:start;width:min(100%,var(--ehsp-dir-max,1180px));max-width:var(--ehsp-dir-max,1180px);margin:0 auto!important;padding:0 14px;box-sizing:border-box}
.ehsp-directory-list{min-width:0;display:flex;flex-direction:column;gap:14px}
.ehsp-directory-list>.elementor-element{width:100%!important;margin:0!important;max-width:none!important}
.ehsp-directory-list .ehsp-card{margin:0;padding:15px 16px;gap:13px;border-radius:11px;box-sizing:border-box}
.ehsp-directory-list .ehsp-logo{flex-basis:56px;width:56px;height:56px;border-radius:9px}
.ehsp-directory-list .ehsp-name{font-size:1.04rem;margin-bottom:4px}
.ehsp-directory-list .ehsp-meta{gap:8px 11px;font-size:.77rem;margin-bottom:4px}
.ehsp-directory-list .ehsp-desc{font-size:.84rem;line-height:1.48;margin:6px 0 9px}
.ehsp-directory-list .ehsp-foot{padding-top:9px;margin-top:5px}
.ehsp-directory-list .ehsp-cta{padding:8px 13px;font-size:.8rem;border-radius:7px}
.ehsp-directory-list .ehsp-website{padding:5px 9px;font-size:.76rem;border-radius:7px}
.ehsp-directory-list .ehsp-socials{gap:7px}
.ehsp-directory-list .ehsp-socials a{width:20px;height:20px}

/* Smart sticky: remains beside the company list, stops below the header,
  remains bounded by the directory grid, and scrolls internally if taller
  than the viewport so every sidebar box stays reachable. */
.ehsp-directory-sidebar{position:sticky;top:var(--ehsp-dir-sticky-top,96px);align-self:start;display:flex;flex-direction:column;gap:13px;min-width:0;width:100%;max-height:calc(100vh - var(--ehsp-dir-sticky-top,96px) - 16px);overflow-y:auto;overflow-x:hidden;padding:2px 3px 4px 2px;box-sizing:border-box;z-index:2;scrollbar-width:thin;scrollbar-gutter:stable}
.ehsp-directory-sidebar::-webkit-scrollbar{width:6px}
.ehsp-directory-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.ehsp-directory-sidebar::-webkit-scrollbar-track{background:transparent}

.ehsp-sidebox{box-sizing:border-box;width:100%;background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:15px;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.ehsp-sidebox--sponsor,.ehsp-sidebox--orange{border-color:#fb923c;background:#fffaf5}
.ehsp-sidebox--nearby,.ehsp-sidebox--green{border-color:#bbf7d0;background:#f0fdf4}
.ehsp-sidebox--blue{border-color:#bfdbfe;background:#f8fbff}
.ehsp-sidebox--neutral{border-color:#dce5ef;background:#fff}
.ehsp-side-kicker{display:flex;align-items:center;gap:6px;margin-bottom:7px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#0369a1}
.ehsp-sidebox--sponsor .ehsp-side-kicker,.ehsp-sidebox--orange .ehsp-side-kicker{color:#ea580c}
.ehsp-sidebox--nearby .ehsp-side-kicker,.ehsp-sidebox--green .ehsp-side-kicker{color:#047857}
.ehsp-side-title{font-size:15px;line-height:1.25;font-weight:750;color:#0f172a;margin:0 0 7px}
.ehsp-side-copy{font-size:12px;line-height:1.5;color:#64748b;margin:0 0 11px}
.ehsp-side-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:37px;padding:8px 11px;border:0;border-radius:8px;background:#0b63b6;color:#fff!important;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer;box-sizing:border-box;transition:transform .15s,background .15s}
.ehsp-side-btn:hover{transform:translateY(-1px);background:#084f91}
.ehsp-sidebox--sponsor .ehsp-side-btn,.ehsp-sidebox--orange .ehsp-side-btn{background:#f97316}
.ehsp-sidebox--sponsor .ehsp-side-btn:hover,.ehsp-sidebox--orange .ehsp-side-btn:hover{background:#ea580c}
.ehsp-sidebox--nearby .ehsp-side-btn,.ehsp-sidebox--green .ehsp-side-btn{background:#059669}
.ehsp-sidebox--nearby .ehsp-side-btn:hover,.ehsp-sidebox--green .ehsp-side-btn:hover{background:#047857}
.ehsp-side-form{display:flex;flex-direction:column;gap:8px}
.ehsp-side-input,.ehsp-side-select{width:100%;height:38px;border:1px solid #d7e0ea;border-radius:8px;background:#fff;color:#0f172a;padding:0 10px;font-size:12px;box-sizing:border-box;outline:none}
.ehsp-side-input:focus,.ehsp-side-select:focus{border-color:#60a5fa;box-shadow:0 0 0 2px rgba(59,130,246,.12)}
.ehsp-side-note{display:flex;align-items:center;gap:5px;color:#94a3b8;font-size:10px;line-height:1.35;margin-top:7px}
.ehsp-side-message{display:none;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.4}
.ehsp-side-message.is-success{display:block;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.ehsp-side-message.is-error{display:block;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.ehsp-side-links{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.ehsp-side-link{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#0b63b6!important;font-size:12px;font-weight:650;text-decoration:none}
.ehsp-side-link:hover{text-decoration:underline}
.ehsp-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

@media(max-width:1100px){.ehsp-directory-grid{grid-template-columns:minmax(0,1fr) minmax(250px,280px);gap:18px;padding:0 12px}.ehsp-directory-sidebar{top:var(--ehsp-dir-sticky-top,90px)}}
@media(max-width:860px){.ehsp-directory-grid{display:flex;flex-direction:column;width:100%;padding:0 12px}.ehsp-directory-sidebar{position:static;width:100%;max-height:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));order:2;padding:0}.ehsp-sidebox--lead{grid-column:span 2}}
@media(max-width:560px){.ehsp-directory-sidebar{display:flex}.ehsp-directory-list .ehsp-card{padding:13px}.ehsp-directory-list .ehsp-logo{width:52px;height:52px;flex-basis:52px}}

/* ---------- v1.6.5: Services & Capabilities + pill chips (detail page) ---------- */
.ehsp-single-keywords li.ehsp-keyword-chip{border-radius:999px!important;background:#f1f5f9!important;border-color:#e2e8f0!important;color:#1e3a8a!important;padding:8px 16px!important;font-size:13.5px!important}
.ehsp-single-keywords li.ehsp-keyword-chip:hover{background:#e2e8f0!important}
.ehsp-card-services .ehsp-single-h2,.ehsp-card-keywords .ehsp-single-h2{letter-spacing:.02em}
.ehsp-services-block{margin-top:6px}
.ehsp-services-label{font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}
.ehsp-services-chips li.ehsp-service-chip{background:#f8fafc!important;color:#0f172a!important}
.ehsp-services-chips li.ehsp-service-chip:hover{background:#eef2ff!important;color:#1e3a8a!important}
/* Company card: pin Website ("Visit Site") button to the top-right corner on desktop.
  Mobile/tablet keeps the normal in-flow position. */
@media (min-width: 1025px) {
  .ehsp-card { position: relative; }
  .ehsp-card .ehsp-head { padding-right: 136px; }
  .ehsp-card .ehsp-head-right {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

/* Sponsored Top Picks compact cards */
.ehsp-sponsored-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ehsp-sponsored-grid .ehsp-card--sponsored{display:block;padding:14px;border-radius:12px;min-height:300px;overflow:visible}
.ehsp-sponsored-grid .ehsp-sponsored-badge{font-size:9px;padding:4px 9px;top:-10px;gap:3px}
.ehsp-sponsored-grid .ehsp-sponsored-badge svg{width:10px;height:10px}
.ehsp-sponsored-grid .ehsp-logo{width:42px;height:42px;flex-basis:42px;margin-bottom:10px}
.ehsp-sponsored-grid .ehsp-body{width:100%}
.ehsp-sponsored-grid .ehsp-name{font-size:14px;line-height:1.3;margin-bottom:6px}
.ehsp-sponsored-grid .ehsp-meta{font-size:11px;gap:5px;display:flex;flex-wrap:wrap}
.ehsp-sponsored-grid .ehsp-desc{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:54px}
.ehsp-sponsored-grid .ehsp-foot{margin-top:14px;padding-top:10px}
.ehsp-sponsored-grid .ehsp-socials svg{width:14px;height:14px}
@media(max-width:1024px){.ehsp-sponsored-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ehsp-sponsored-grid{grid-template-columns:1fr}}

/* Sponsored company widgets are grouped by sponsored-layout.js within their existing container. */
.ehsp-sponsored-section{width:100%;margin:20px 0 28px;min-width:0}
.ehsp-sponsored-title{font-size:22px;line-height:1.3;font-weight:750;color:#0f172a;margin:0 0 18px}
.ehsp-sponsored-grid{width:100%;align-items:stretch}
.ehsp-sponsored-grid > .elementor-widget-ehsan_company{min-width:0;height:100%}
.ehsp-sponsored-grid > .elementor-widget-ehsan_company > .elementor-widget-container{height:100%}
.ehsp-sponsored-grid .ehsp-card--sponsored{display:flex;flex-direction:column;gap:9px;height:100%;min-height:290px;margin:0;padding:22px 14px 14px;box-shadow:0 3px 14px rgba(15,23,42,.06)}
.ehsp-sponsored-grid .ehsp-sponsored-badge{font-size:10px;padding:4px 9px;top:-10px}
.ehsp-sponsored-grid .ehsp-logo{flex:0 0 44px;width:44px;height:44px;margin:0}
.ehsp-sponsored-grid .ehsp-body{display:flex;flex-direction:column;flex:1;min-width:0}
.ehsp-sponsored-grid .ehsp-head{display:block;padding:0}
.ehsp-sponsored-grid .ehsp-head-right{position:static;display:block;margin:6px 0 0}
.ehsp-sponsored-grid .ehsp-website{padding:4px 8px;font-size:11px}
.ehsp-sponsored-grid .ehsp-name{font-size:15px;overflow-wrap:anywhere}
.ehsp-sponsored-grid .ehsp-meta{font-size:11px;gap:4px 8px;line-height:1.35}
.ehsp-sponsored-grid .ehsp-meta > span:nth-child(n+3){display:none}
.ehsp-sponsored-grid .ehsp-desc{font-size:12px;line-height:1.45;min-height:0;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ehsp-card-partners{margin-top:auto;padding-top:9px;font-size:11px;color:#475569}
.ehsp-card-partners strong{display:block;margin-bottom:6px;color:#334155}
.ehsp-partner-tags{display:flex;gap:5px;flex-wrap:wrap}
.ehsp-partner-tags span{border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:3px 7px;line-height:1.2}
.ehsp-sponsored-grid .ehsp-foot{margin-top:auto;padding-top:9px;gap:7px}
.ehsp-sponsored-grid .ehsp-card-partners + .ehsp-foot{margin-top:9px}
.ehsp-sponsored-grid .ehsp-socials{gap:7px}
.ehsp-sponsored-grid .ehsp-cta{font-size:11px;padding:6px 9px}
@media(max-width:560px){.ehsp-sponsored-grid .ehsp-card--sponsored{min-height:0}}

/* v1.6.7: sponsored logo and company name share the card's first row. */
.ehsp-sponsored-grid .ehsp-card--sponsored{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto 1fr auto auto;column-gap:10px;row-gap:7px;align-content:start}
.ehsp-sponsored-grid .ehsp-logo{grid-column:1;grid-row:1;align-self:start}
.ehsp-sponsored-grid .ehsp-body{display:contents}
.ehsp-sponsored-grid .ehsp-head{grid-column:2;grid-row:1;min-width:0;align-self:center}
.ehsp-sponsored-grid .ehsp-name{margin:0 0 3px;font-size:14px;line-height:1.25}
.ehsp-sponsored-grid .ehsp-meta{margin:0}
.ehsp-sponsored-grid .ehsp-head-right{margin-top:5px}
.ehsp-sponsored-grid .ehsp-desc{grid-column:1/-1;grid-row:2;margin:5px 0 0}
.ehsp-sponsored-grid .ehsp-card-partners{grid-column:1/-1;align-self:end}
.ehsp-sponsored-grid .ehsp-foot{grid-column:1/-1;align-self:end;margin-top:0}

/* v1.6.9: tighter Top Picks section and consistent sponsored previews. */
.ehsp-sponsored-section{margin:6px 0 12px;padding:0}
.ehsp-sponsored-title{margin:0 0 8px;font-size:18px;line-height:1.25}
.ehsp-sponsored-grid{gap:10px}
.ehsp-sponsored-grid .ehsp-card--sponsored{min-height:0;padding:17px 11px 10px;row-gap:5px;grid-template-rows:auto auto auto 1fr auto}
.ehsp-sponsored-grid .ehsp-desc{min-height:0;margin:3px 0 0;line-height:1.4;-webkit-line-clamp:4}
.ehsp-sponsored-grid .ehsp-card-partners{margin:0;padding-top:4px;align-self:start}
.ehsp-sponsored-grid .ehsp-card-partners strong{margin-bottom:3px}
.ehsp-sponsored-grid .ehsp-partner-tags{gap:4px;max-height:49px;overflow:hidden}
.ehsp-sponsored-grid .ehsp-partner-tags span{padding:2px 6px}
.ehsp-sponsored-grid .ehsp-foot{padding-top:6px;align-self:end}
.ehsp-sponsored-grid .ehsp-card-partners + .ehsp-foot{margin-top:0}
.ehsp-directory-grid{gap:14px}
.ehsp-directory-list{gap:10px}
@media(max-width:560px){.ehsp-sponsored-section{margin:4px 0 10px}.ehsp-sponsored-grid .ehsp-card--sponsored{padding:17px 11px 10px}}
.ehsp-sponsored-grid .ehsp-card-partners{grid-row:3}
.ehsp-sponsored-grid .ehsp-foot{grid-row:5}

/* v1.6.10: keep the page's Top Picks pill and tighten the featured section. */
.ehsp-featured-heading{font-size:23px!important;line-height:1.2!important;margin:0!important}
.ehsp-featured-heading-widget{margin:0 0 3px!important;padding:0!important}
.ehsp-sponsored-section{margin:2px 0!important;padding:0!important}
.ehsp-sponsored-section--followed-by-list{margin-bottom:2px!important}

@media(min-width:1400px){.ehsp-sponsored-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* v1.6.14: screenshot-inspired featured cards with plain partner names. */
.ehsp-sponsored-grid .ehsp-card--sponsored{border:1px solid #ff9c37;border-top:4px solid #ff971a;border-radius:14px;background:#fffdfa;box-shadow:0 2px 4px rgba(15,23,42,.09);padding:18px 20px 18px;grid-template-columns:54px minmax(0,1fr);grid-template-rows:58px auto auto auto auto 1fr auto;column-gap:14px;row-gap:10px}
.ehsp-sponsored-grid .ehsp-logo{grid-column:1;grid-row:1;width:54px;height:54px;flex-basis:54px;background:#fff;border:1px solid #ffd0a0}
.ehsp-sponsored-grid .ehsp-sponsored-badge{position:static;grid-column:2;grid-row:1;justify-self:start;align-self:center;transform:none;font-size:11px;padding:5px 11px;background:#fa6900;box-shadow:none}
.ehsp-sponsored-grid .ehsp-head{grid-column:1/-1;grid-row:2;align-self:start}
.ehsp-sponsored-grid .ehsp-name{font-size:16px;margin:0 0 14px}
.ehsp-sponsored-grid .ehsp-meta{font-size:14px;color:#64748b}
.ehsp-sponsored-grid .ehsp-desc{grid-column:1/-1;grid-row:3;font-size:14px;line-height:1.5;margin:0;-webkit-line-clamp:2}
.ehsp-sponsored-grid .ehsp-sponsored-readmore{grid-column:1/-1;grid-row:4;color:#004083;font-size:14px;font-weight:700;text-decoration:none;align-self:start}
.ehsp-sponsored-grid .ehsp-sponsored-readmore:hover{text-decoration:underline}
.ehsp-sponsored-grid .ehsp-card-partners{grid-column:1/-1;grid-row:5;margin:0;padding:0;color:#a44413;font-size:12px;line-height:1.65;align-self:start}
.ehsp-sponsored-grid .ehsp-foot{grid-column:1/-1;grid-row:7;border-top:1px solid #ffe3c8;padding-top:12px}
@media(min-width:1400px){.ehsp-sponsored-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* v1.6.13: lighter heading, smaller page pill, roomier sponsored cards. */
.ehsp-featured-heading{font-weight:400!important}
.ehsp-top-picks-pill{font-size:10px!important;line-height:1.15!important;padding:4px 9px!important}
@media(min-width:1025px){.ehsp-sponsored-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ehsp-directory-grid--after-picks{margin-top:2px!important;padding-top:0!important}
.ehsp-picks-list-host{row-gap:2px!important;gap:2px!important;padding-bottom:0!important}
@media(max-width:560px){.ehsp-featured-heading{font-size:20px!important}}

/* v1.6.11: prevent full-width sponsored cards flashing before grouping. */
html.ehsp-layout-pending .ehsp-card--sponsored{display:none!important}
.ehsp-featured-heading-widget{margin-bottom:8px!important}
.ehsp-sponsored-section{margin-top:14px!important;margin-bottom:2px!important}
.ehsp-sponsored-section--followed-by-list{margin-bottom:2px!important}

/* v1.6.16: badge back on the top edge; name beside the logo. */
.ehsp-sponsored-grid .ehsp-card--sponsored{grid-template-rows:auto auto auto auto 1fr auto}
.ehsp-sponsored-grid .ehsp-sponsored-badge{position:absolute;top:-10px;left:50%;right:auto;grid-column:auto;grid-row:auto;transform:translateX(-50%)}
.ehsp-sponsored-grid .ehsp-head{grid-column:2;grid-row:1;align-self:center}
.ehsp-sponsored-grid .ehsp-desc{grid-row:2}
.ehsp-sponsored-grid .ehsp-sponsored-readmore{grid-row:3}
.ehsp-sponsored-grid .ehsp-card-partners{grid-row:4}
.ehsp-sponsored-grid .ehsp-foot{grid-row:6}

/* Distinct detail-page groups; each category has its own editable source. */
.ehsp-card-services .ehsp-keyword-chip{background:#eff6ff!important;border-color:#bfdbfe!important;color:#0753a6!important}
.ehsp-card-technologies .ehsp-keyword-chip{background:#f8fafc!important;border-color:#dbe4ee!important;color:#334155!important}
.ehsp-card-partners-detail .ehsp-keyword-chip{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#047857!important}

/* The Partners add-on also injects a duplicate group into Keywords. */
.ehsp-card-keywords .ehsp-partners-wrap{display:none!important}
.ehsp-card-keywords,.ehsp-card-services,.ehsp-card-technologies,.ehsp-card-partners-detail{border:1px solid #dce5ef!important;border-radius:18px!important;padding:26px 28px!important;background:#fff!important}
.ehsp-card-keywords .ehsp-single-h2,.ehsp-card-services .ehsp-single-h2,.ehsp-card-technologies .ehsp-single-h2,.ehsp-card-partners-detail .ehsp-single-h2{font-size:20px!important;margin:0 0 18px!important;padding-bottom:14px!important;border-bottom:1px solid #edf1f6}
.ehsp-card-keywords .ehsp-single-keywords li.ehsp-keyword-chip{background:#f8fafc!important;border-color:#dce5ef!important;color:#334b68!important;border-radius:8px!important}
.ehsp-card-services .ehsp-single-keywords li.ehsp-keyword-chip{background:#eff6ff!important;border-color:#bfdbfe!important;color:#0753a6!important;border-radius:8px!important}
.ehsp-card-technologies .ehsp-single-keywords li.ehsp-keyword-chip{background:#f8fafc!important;border-color:#dce5ef!important;color:#334155!important;border-radius:8px!important}
.ehsp-card-partners-detail .ehsp-single-keywords li.ehsp-keyword-chip{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#047857!important;border-radius:8px!important}
@media(max-width:600px){.ehsp-card-keywords,.ehsp-card-services,.ehsp-card-technologies,.ehsp-card-partners-detail{padding:20px 16px!important}}

/* Keep four slimmer, slightly taller Top Picks on desktop. The initial
   Elementor widgets are hidden until the grouping script has finished. */
@media (min-width:1025px){
  .ehsp-sponsored-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ehsp-sponsored-grid .ehsp-card--sponsored{min-height:330px;padding:18px 12px 13px;column-gap:9px}
  .ehsp-sponsored-grid .ehsp-logo{width:48px;height:48px;flex-basis:48px}
  .ehsp-sponsored-grid .ehsp-card--sponsored{grid-template-columns:48px minmax(0,1fr)}
  .ehsp-sponsored-grid .ehsp-name{font-size:14px;overflow-wrap:anywhere}
  .ehsp-sponsored-grid .ehsp-meta{font-size:12px}
  .ehsp-sponsored-grid .ehsp-desc{font-size:13px}
}

/* v1.6.25: unify Top Picks across MSP, Microsoft Partners, and city pages. */
.ehsp-sponsored-intro{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0 0 14px!important}
.ehsp-top-picks-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px!important;border:1px solid #f59e0b;border-radius:999px;background:#fff7ed;color:#b45309;font-size:10px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.1}
.ehsp-featured-heading{font-size:24px!important;line-height:1.2!important;font-weight:600!important;color:#0f172a!important;margin:0!important}
body .ehsp-sponsored-section{margin:8px 0 14px!important;padding:0!important;width:100%}
body .ehsp-sponsored-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important;align-items:stretch!important}
body .ehsp-sponsored-grid > .elementor-widget-ehsan_company,
body .ehsp-sponsored-grid > .ehsp-card--sponsored{min-width:0!important;height:100%!important}
body .ehsp-sponsored-grid .ehsp-card--sponsored{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto 1fr auto!important;column-gap:9px!important;row-gap:7px!important;min-height:330px!important;height:100%!important;padding:18px 12px 13px!important;border:1px solid #ff9c37!important;border-top:4px solid #ff971a!important;border-radius:14px!important;background:#fffdfa!important;box-shadow:0 2px 6px rgba(15,23,42,.08)!important;position:relative!important;overflow:visible!important}
body .ehsp-sponsored-grid .ehsp-logo{grid-column:1!important;grid-row:1!important;width:48px!important;height:48px!important;flex-basis:48px!important;align-self:start!important;margin:0!important;background:#fff!important;border:1px solid #ffd0a0!important}
body .ehsp-sponsored-grid .ehsp-body{display:contents!important}
body .ehsp-sponsored-grid .ehsp-sponsored-badge{position:absolute!important;top:-10px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;grid-column:auto!important;grid-row:auto!important;justify-self:center!important;align-self:start!important;font-size:10px!important;padding:5px 10px!important;background:#fa6900!important;color:#fff!important;box-shadow:none!important}
body .ehsp-sponsored-grid .ehsp-head{grid-column:2!important;grid-row:1!important;align-self:center!important;padding:0!important;min-width:0!important}
body .ehsp-sponsored-grid .ehsp-head-right{position:static!important;margin:6px 0 0!important}
body .ehsp-sponsored-grid .ehsp-name{font-size:14px!important;line-height:1.3!important;margin:0 0 6px!important;overflow-wrap:anywhere!important}
body .ehsp-sponsored-grid .ehsp-meta{font-size:12px!important;gap:4px 8px!important;line-height:1.35!important;color:#64748b!important}
body .ehsp-sponsored-grid .ehsp-meta > span:nth-child(n+3){display:none!important}
body .ehsp-sponsored-grid .ehsp-desc{grid-column:1/-1!important;grid-row:2!important;font-size:13px!important;line-height:1.45!important;margin:4px 0 0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:0!important}
body .ehsp-sponsored-grid .ehsp-sponsored-readmore{grid-column:1/-1!important;grid-row:3!important;color:#004083!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important;align-self:start!important}
body .ehsp-sponsored-grid .ehsp-sponsored-readmore:hover{text-decoration:underline!important}
body .ehsp-sponsored-grid .ehsp-card-partners{grid-column:1/-1!important;grid-row:4!important;margin:0!important;padding-top:4px!important;align-self:start!important;color:#334155!important;font-size:11px!important;line-height:1.4!important}
body .ehsp-sponsored-grid .ehsp-card-partners strong{display:block!important;margin-bottom:5px!important;color:#334155!important;font-size:11px!important;font-weight:700!important;letter-spacing:.02em!important}
body .ehsp-sponsored-grid .ehsp-partner-tags{display:flex!important;flex-wrap:wrap!important;gap:4px!important;max-height:none!important;overflow:visible!important}
body .ehsp-sponsored-grid .ehsp-partner-tags span{display:inline-flex!important;align-items:center!important;padding:3px 7px!important;border:1px solid #e2e8f0!important;background:#f8fafc!important;border-radius:999px!important;color:#334155!important;font-size:10px!important;line-height:1.2!important}
body .ehsp-sponsored-grid .ehsp-foot{grid-column:1/-1!important;grid-row:6!important;margin-top:0!important;padding-top:9px!important;border-top:1px solid #ffe3c8!important;align-self:end!important;gap:7px!important}
body .ehsp-sponsored-grid .ehsp-card-partners + .ehsp-foot{margin-top:0!important}
body .ehsp-sponsored-grid .ehsp-socials{gap:7px!important}
body .ehsp-sponsored-grid .ehsp-cta{font-size:11px!important;padding:6px 9px!important}
@media (max-width:1024px){body .ehsp-sponsored-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){.ehsp-sponsored-intro{gap:6px}.ehsp-featured-heading{font-size:20px!important}body .ehsp-sponsored-grid{grid-template-columns:1fr!important}body .ehsp-sponsored-grid .ehsp-card--sponsored{min-height:0!important}}
