/* Owner contact card — v3.9.268 redesign */
.hpw-pd-owner-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(135deg, rgba(var(--hpw-brand-deep-rgb),.96), rgba(7,53,31,.94));
    border: 1px solid rgba(251,191,36,.28);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(7,53,31,.18);
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 22px 22px 20px;
}

.hpw-pd-owner-card::after {
    content: '';
    position: absolute;
    inset: -50px -60px auto auto;
    width: 180px; height: 180px;
    border-radius: 999px;
    background: rgba(251,191,36,.12);
    pointer-events: none;
}

/* Header row */
.hpw-pd-owner-header {
    position: relative; z-index: 1;
}

.hpw-pd-owner-kicker {
    display: inline-flex;
    margin-bottom: 5px;
    color: #fbbf24;
    font-size: 11px; font-weight: 950; letter-spacing: .16em;
}

.hpw-pd-owner-card h2 {
    color: #fff; margin: 0;
    font-size: clamp(18px, 3vw, 22px);
}

.hpw-pd-owner-name {
    margin: 5px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 13px; font-weight: 800;
}

/* Contact actions — pill row on desktop, compact on mobile */
.hpw-pd-owner-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative; z-index: 1;
}

.hpw-pd-owner-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: unset;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    text-decoration: none !important;
    transition: background .18s, border-color .18s, transform .18s;
}

.hpw-pd-owner-action:hover,
.hpw-pd-owner-action:focus-visible {
    background: rgba(251,191,36,.16);
    border-color: rgba(251,191,36,.45);
    transform: translateX(3px);
    outline: none;
}

.hpw-pd-owner-action span {
    color: #fbbf24;
    font-size: 11px; font-weight: 950; letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap; flex-shrink: 0;
    min-width: 58px;
}

.hpw-pd-owner-action strong {
    color: #fff;
    font-size: 14px; font-weight: 800;
    line-height: 1.25; overflow-wrap: anywhere;
    flex: 1;
}

/* Arrow indicator */
.hpw-pd-owner-action::after {
    content: "›";
    color: rgba(255,255,255,.35);
    font-size: 18px; font-weight: 300;
    flex-shrink: 0;
    transition: color .18s, transform .18s;
}
.hpw-pd-owner-action:hover::after {
    color: #fbbf24;
    transform: translateX(2px);
}

/* Desktop: 2-col grid for cards side by side */
@media (min-width: 700px) {
    .hpw-pd-owner-card {
        display: grid;
        grid-template-columns: minmax(200px,.8fr) minmax(260px,1.4fr);
        align-items: center;
    }
    .hpw-pd-owner-header { padding-right: 10px; }
    .hpw-pd-owner-actions { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .hpw-pd-owner-action { transition: none; }
    .hpw-pd-owner-action:hover { transform: none; }
    .hpw-pd-owner-action::after { transition: none; }
}
