/* Shared accepted Home / location recipient component. */
.ap-recipient-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ap-space-4); }
.ap-recipient-card { position: relative; display: block; min-width: 0; overflow: hidden; aspect-ratio: 3 / 2; border: var(--ap-border-control); border-radius: var(--ap-radius-card); color: var(--ap-color-deep-text); background: var(--ap-color-page-soft); box-shadow: var(--ap-shadow-xs); text-decoration: none; transition: border-color var(--ap-motion-standard) ease, transform var(--ap-motion-standard) ease; }
.ap-recipient-card:hover { border-color: var(--ap-color-border-strong); color: var(--ap-color-deep-text); text-decoration: none; transform: translateY(-3px); }
.ap-recipient-card > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--ap-motion-slow) ease; }
.ap-recipient-card:hover > img { transform: scale(1.01); }
.ap-recipient-copy { position: absolute; top: 50%; left: clamp(16px, 2vw, 28px); display: grid; width: 44%; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--ap-space-2); transform: translateY(-50%); }
.ap-recipient-copy strong { grid-column: 1 / 3; color: var(--ap-color-deep-text); font-size: var(--ap-type-h4-size); line-height: var(--ap-type-line-heading); }
.ap-recipient-copy small { color: var(--ap-color-text-secondary); font-size: var(--ap-type-caption-size); line-height: var(--ap-type-line-compact); }
.ap-recipient-arrow { display: grid; width: 32px; height: 32px; border-radius: 50%; color: var(--ap-color-on-primary); background: var(--ap-color-primary-action); place-items: center; }
.ap-recipient-arrow svg { width: 18px; height: 18px; }
@media (max-width: 1199px) {
.ap-recipient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-recipient-copy strong { font-size: var(--ap-type-h4-size); }
}
@media (max-width: 767px) {
.ap-recipient-grid { grid-template-columns: 1fr; gap: var(--ap-space-3); }
.ap-recipient-card { aspect-ratio: 16 / 9; }
.ap-recipient-copy { left: var(--ap-space-5); display: flex; width: 48%; flex-direction: column; align-items: flex-start; gap: var(--ap-space-1); }
.ap-recipient-copy strong { font-size: var(--ap-type-h4-size); font-weight: var(--ap-font-weight-extrabold); }
.ap-recipient-copy small { max-width: 18ch; font-size: var(--ap-type-body-small-size); line-height: var(--ap-type-line-compact); }
.ap-recipient-arrow { width: 30px; height: 30px; margin-top: var(--ap-space-2); border-radius: var(--ap-radius-control); }
}
@media (max-width: 479px) {
.ap-recipient-copy { width: 50%; }
}
@media (prefers-reduced-motion: reduce) {
.ap-recipient-card, .ap-recipient-card > img { transition: none; }
.ap-recipient-card:hover, .ap-recipient-card:hover > img { transform: none; }
}
.ap-recipient-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--ap-space-5); margin-bottom: var(--ap-space-6); }
.ap-recipient-heading h2 { margin: 0; color: var(--ap-color-deep-text); font-size: var(--ap-type-h2-size); font-weight: var(--ap-font-weight-extrabold); letter-spacing: -.035em; line-height: var(--ap-type-line-heading); }
.ap-recipient-heading p { margin: var(--ap-space-2) 0 0; color: var(--ap-color-text-secondary); font-size: var(--ap-type-body-size); line-height: var(--ap-type-line-body); }
@media (max-width: 767px) {
.ap-recipient-heading { align-items: flex-start; flex-wrap: wrap; gap: var(--ap-space-3); margin-bottom: var(--ap-space-5); }
.ap-recipient-heading h2 { font-size: var(--ap-type-h3-size); }
.ap-recipient-heading p { font-size: var(--ap-type-body-small-size); }
}
.ap-recipient :where(a,button):focus-visible { outline: 3px solid var(--ap-focus-color); outline-offset: 3px; box-shadow: var(--ap-focus-ring-canonical); }
.ap-recipient svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
