/* Match the supplied five-card reference within the local homepage study. */
.hp-profile-card{position:relative}.hp-profile-badge{position:absolute;top:7px;right:7px;z-index:2;padding:5px 10px;min-height:28px;line-height:18px;font-size:13px;font-weight:750;background:linear-gradient(115deg,#f2cf7c,#e8ba5e);color:#061e2c;border-radius:5px;box-shadow:0 1px 3px #061e2c10}
.hp-profile-image{isolation:isolate}.hp-profile-backdrop{position:absolute;inset:-9px;filter:blur(9px);opacity:.45;pointer-events:none}.hp-profile-image .hp-profile-backdrop img{width:100%;height:100%;object-fit:cover}.hp-profile-portrait{position:absolute;inset:0;display:flex;justify-content:center;overflow:hidden}.hp-profile-image .hp-profile-portrait img{height:var(--hp-portrait-height,150%);position:relative;top:var(--hp-portrait-top,0%);width:auto;max-width:none;object-fit:contain;object-position:center top;flex:none;mask-image:linear-gradient(90deg,transparent,#000 13%,#000 87%,transparent)}
.hp-profile-track{grid-auto-columns:calc((100% - 64px)/5);gap:16px;align-items:stretch}
.hp-profile-card{border:1px solid #eeeae4;border-radius:8px;box-shadow:0 3px 12px #061e2c0b}
.hp-profile-image{height:auto;aspect-ratio:1.72;background:#f0efec}.hp-profile-image img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
.hp-profile-copy{padding:6px 16px 0;text-align:center}.hp-profile-copy h3{font-size:18px;line-height:24px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-profile-copy .hp-profile-specialty,.hp-profile-copy .hp-profile-area{font-size:14px;line-height:19px;min-height:19px;margin:0;color:#627387;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-profile-rating{margin:1px 0 5px;min-height:23px;font-size:14px;gap:8px;color:#627387;line-height:21px}.hp-profile-rating .lawj-review-stars{font-size:20px;letter-spacing:0}
.hp-profile-open{min-height:32px;padding:5px 8px;font-size:14px;line-height:20px;border-radius:5px;font-weight:750;background:#061e2c}
.hp-profile-contact{height:44px;display:flex;direction:ltr;justify-content:center;position:relative;gap:0}.hp-profile-contact::before{content:'';position:absolute;left:50%;top:11px;height:22px;border-left:1px solid #d9dfe5}
.hp-profile-contact>a,.hp-profile-contact>span{width:50%;min-height:44px;padding:0;display:grid;place-items:center;border:0!important}.hp-profile-contact .lj-icon{width:20px;height:20px}.hp-profile-contact>:first-child .lj-icon{fill:currentColor;stroke:none}.hp-whatsapp{color:#0bc65b!important}.hp-contact-unavailable{opacity:.3;cursor:default}
.hp-carousel-arrow{top:calc(42% - 20px);width:40px;height:40px;border:1px solid #f0efec;box-shadow:0 2px 6px #061e2c13}.hp-prev{right:-48px}.hp-next{left:-48px}
.hp-carousel-dots{margin-top:13px;gap:8px}.hp-carousel-dots button{width:12px;height:12px;background:#d1d1d1;border:0;border-radius:50%;padding:0;position:relative}.hp-carousel-dots button::after{content:'';position:absolute;inset:-8px}.hp-carousel-dots button.is-active{background:#e1af45}
@media(min-width:1600px){.hp-profile-image{height:auto}.hp-profile-copy h3{font-size:19px}}
@media(min-width:1101px){.hp-carousel-arrow{display:grid}}
@media(max-width:1360px) and (min-width:1101px){.hp-prev{right:-28px}.hp-next{left:-28px}.hp-carousel-arrow{width:34px;height:34px}}
@media(max-width:1100px){.hp-profile-track{grid-auto-columns:calc((100% - 32px)/3)}.hp-profile-image{height:auto}.hp-profile-copy h3{font-size:18px}}
@media(max-width:800px){.hp-profile-track{grid-auto-columns:calc((100% - 16px)/2)}.hp-carousel-arrow{display:none}}
@media(max-width:520px){.hp-profile-track{grid-auto-columns:78%;gap:12px}.hp-profile-image{height:auto;aspect-ratio:1.72}.hp-profile-copy{padding:7px 16px 0}.hp-profile-copy h3{font-size:18px;line-height:25px}.hp-profile-copy .hp-profile-specialty,.hp-profile-copy .hp-profile-area{font-size:14px;line-height:20px;min-height:20px}.hp-profile-rating{font-size:14px;min-height:25px;margin-bottom:6px}.hp-profile-open{min-height:40px;padding-block:9px}.hp-carousel-dots{margin-top:15px}}

/* Keep WhatsApp legible even when no number is supplied; link availability is unchanged. */
.hp-profile-contact .hp-whatsapp{color:#008e3c!important;opacity:1}.hp-profile-contact .hp-whatsapp .lj-icon{width:22px;height:22px;stroke-width:2.1}

/* Reference finishing: heading alignment, rounded corners and circular controls. */
.hp-lawyers{background:linear-gradient(110deg,#fcfbf8,#faf9f6)}.hp-lawyers .hp-section-heading{display:flex;justify-content:space-between;text-align:right;align-items:center;margin-bottom:16px}.hp-lawyers .hp-section-heading>div{order:1}.hp-lawyers .hp-heading-centered>a{order:2;position:static;transform:none}.hp-lawyers .hp-eyebrow{display:none}.hp-lawyers .hp-heading-centered h2{font-size:30px;line-height:1.2}.hp-lawyers .hp-heading-centered p{font-size:15px;margin-top:4px}.hp-profile-copy h3{font-weight:850}.hp-profile-copy .hp-profile-area{font-weight:550;color:#617186}.hp-profile-image{border-radius:7px 7px 0 0}.hp-carousel-arrow{border-radius:50%;background:#fff;box-shadow:0 2px 7px #061e2c1a}.hp-carousel-arrow .lj-icon{width:22px;height:22px;stroke-width:2.2}.hp-carousel-dots{direction:ltr;gap:11px;margin-top:12px}.hp-carousel-dots button{width:13px;height:13px;background:#cecece}.hp-carousel-dots button.is-active{background:#e3af3e}.hp-carousel-dots button:focus-visible{outline-offset:5px}.hp-profile-contact::before{border-color:#d1d8df}
@media(max-width:800px){.hp-lawyers .hp-section-heading{display:flex;flex-wrap:wrap;gap:12px}.hp-lawyers .hp-section-heading>div{width:100%}.hp-lawyers .hp-heading-centered>a{margin-top:0}.hp-lawyers .hp-heading-centered h2{font-size:26px}.hp-lawyers .hp-heading-centered p{font-size:13px;max-width:none;margin-inline:0}}

.hp-profile-card[hidden]{display:none}

/* Views and review summary share the reference's compact metadata row. */
.hp-profile-copy .hp-profile-area{display:flex;align-items:center;justify-content:center;gap:4px}.hp-profile-area .lj-icon{width:13px;height:13px;fill:currentColor;stroke:#fff;stroke-width:1}.hp-profile-stats{display:flex;align-items:center;justify-content:center;gap:7px;min-height:31px;margin:3px 0 7px;font-size:11px;line-height:1.4;color:#49647c;flex-wrap:wrap}.hp-profile-view-count{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.hp-profile-view-count .lj-icon{width:16px;height:16px;color:#061e2c}.hp-profile-review-summary{display:inline-flex;align-items:center;gap:4px;direction:ltr;border-right:1px solid #ced8e0;padding-right:7px;white-space:nowrap}.hp-profile-review-summary>.lj-icon{width:17px;height:17px;fill:#e3af3c;stroke:#e3af3c}.hp-profile-review-summary strong{color:#061e2c;font-size:12px;font-weight:800}.hp-profile-review-summary a{direction:rtl;text-decoration:underline;text-underline-offset:2px;color:#688aa5}.hp-profile-review-summary a:hover{color:#061e2c}
@media(min-width:1600px){.hp-profile-stats{font-size:12px}.hp-profile-review-summary strong{font-size:13px}}
@media(max-width:1100px){.hp-profile-stats{font-size:13px}.hp-profile-review-summary strong{font-size:14px}}

/* More legible view/review metadata within the existing card width. */
.hp-profile-stats{font-size:13px;min-height:34px;gap:8px;margin:4px 0 8px}.hp-profile-review-summary strong{font-size:14px}.hp-profile-view-count .lj-icon{width:19px;height:19px}.hp-profile-review-summary>.lj-icon{width:20px;height:20px}
@media(min-width:1600px){.hp-profile-stats{font-size:14px}.hp-profile-review-summary strong{font-size:15px}}
@media(max-width:1100px){.hp-profile-stats{font-size:14px}.hp-profile-review-summary strong{font-size:15px}}

.hp-profile-stats{margin-inline:-7px;column-gap:6px}.hp-profile-review-summary{padding-right:6px}
