.contact-media-card .solvera-section-header p { margin: .25rem 0 0; color: #667b7c; }
.contact-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.25rem; }
.contact-media-item { display: grid; grid-template-columns: minmax(130px, .55fr) minmax(0, 1.45fr); gap: 1rem; padding: 1rem; border: 1px solid #d7e5e2; border-radius: 16px; background: linear-gradient(145deg, #fff, #f3f8f7); }
.contact-media-preview { display: grid; place-items: center; align-content: center; gap: .4rem; min-height: 180px; overflow: hidden; border-radius: 12px; background: #e7f1ef; color: #0a7478; }
.contact-media-preview.signature { background: #f7f2e8; color: #8a621c; }
.contact-media-preview img { width: 100%; height: 180px; object-fit: contain; background: #fff; }
.contact-media-preview span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: rgba(255, 255, 255, .75); font-size: 1.4rem; font-weight: 900; }
.contact-media-preview small { text-align: center; }
.contact-media-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; min-width: 0; }
.contact-media-actions h3 { margin: 0; font-size: 1.05rem; }
.contact-media-actions p { margin: 0; color: #667b7c; }
.contact-media-actions .form-control, .contact-media-actions .btn { width: 100%; min-height: 44px; }
.contact-media-name { max-width: 100%; overflow-wrap: anywhere; color: #405b5d; font-weight: 700; }
.contact-profile-heading { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.contact-profile-heading img, .contact-profile-heading > span { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 18px; }
.contact-profile-heading img { object-fit: cover; border: 1px solid #d7e5e2; background: #fff; }
.contact-profile-heading > span { display: grid; place-items: center; background: #e4f2f0; color: #087479; font-weight: 900; }

@media (max-width: 1000px) {
    .contact-media-grid { grid-template-columns: 1fr; }
    .contact-media-item { grid-template-columns: minmax(130px, .4fr) minmax(0, 1fr); }
}

@media (max-width: 800px) {
    .contact-media-item { grid-template-columns: 1fr; }
    .contact-media-preview { min-height: 150px; }
    .contact-media-preview img { height: 150px; }
}
