/* Réseaux sociaux de l'artiste (oam-artiste.php) : rubrique de l'article + encadré de l'éditeur. */

/* ---------- Rubrique en bas de l'article ---------- */
.oam-reseaux-artiste {
	margin: 2.5rem 0 1.5rem; padding: 1.25rem 1.25rem 1.4rem; border-radius: 16px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #14111a) 4%, transparent);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, #14111a) 10%, transparent);
	position: relative; overflow: hidden;
}
.oam-reseaux-artiste::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 4px;
	background: linear-gradient(90deg, #15c1b2 25%, #7100a5 25% 50%, #ffb300 50% 75%, #ac0000 75%);
}
.oam-reseaux-artiste .oam-reseaux-titre { margin: 0 0 .9rem; font-size: 1.15rem; line-height: 1.3; }
.oam-reseaux-liste { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.oam-reseaux-liste li { margin: 0; padding: 0; }
.oam-reseau {
	display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .95rem .3rem .3rem; border-radius: 999px;
	color: inherit; text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast, #14111a) 14%, transparent);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.oam-reseau svg {
	flex: none; width: 2.1rem; height: 2.1rem; padding: .5rem; box-sizing: border-box; border-radius: 50%;
	background: var(--marque); color: var(--encre, #fff);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--contrast, #14111a) 12%, transparent);
}
.oam-reseau:hover, .oam-reseau:focus-visible {
	transform: translateY(-2px); border-color: var(--marque);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--marque) 30%, transparent);
}
.oam-reseau:focus-visible { outline: 3px solid #ffb300; outline-offset: 2px; }
@media (max-width: 600px) {
	.oam-reseaux-artiste { padding: 1rem .9rem 1.1rem; }
	.oam-reseau { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .oam-reseau { transition: none; } .oam-reseau:hover { transform: none; } }

/* ---------- Encadré dans l'éditeur ---------- */
.oam-artiste-aide, .oam-artiste-info { color: #50575e; margin: 0 0 10px; }
.oam-artiste-info.erreur { color: #b32d2e; font-weight: 600; }
.oam-artiste-facultatif { color: #757575; font-weight: 400; }
.oam-artiste-liste { margin: 0 0 8px; padding: 0; list-style: none; }
.oam-artiste-liste li { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.oam-artiste-liste input { flex: 1; min-width: 0; }
.oam-artiste-logo {
	flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: #f0f0f1; border: 1px dashed #c3c4c7; box-sizing: border-box; color: #fff;
}
.reconnu > .oam-artiste-logo, .oam-artiste-sugg .oam-artiste-logo { border: 0; }
.oam-artiste-logo svg { width: 16px; height: 16px; }
.oam-artiste-retirer { color: #b32d2e !important; text-decoration: none !important; font-size: 16px; padding: 4px 6px !important; }
.oam-artiste-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.oam-artiste-suggestions ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.oam-artiste-sugg {
	width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; text-align: left; cursor: pointer;
	border: 1px solid #c3c4c7; border-radius: 8px; background: #fff;
}
.oam-artiste-sugg:hover:not(:disabled) { border-color: #2271b1; background: #f6f7f7; }
.oam-artiste-sugg:disabled { cursor: default; opacity: .65; }
.oam-artiste-sugg .texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oam-artiste-sugg small { color: #646970; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oam-artiste-sugg .etat { flex: none; color: #2271b1; font-weight: 600; }
.oam-artiste-sugg:disabled .etat { color: #00a32a; }
/* Colonne de droite de l'éditeur (étroite) */
.oam-artiste-actions .button { flex: 1 1 auto; justify-content: center; text-align: center; white-space: normal; height: auto; line-height: 1.3; padding-top: 5px; padding-bottom: 5px; }
.oam-artiste-liste input { font-size: 13px; }
.oam-artiste-sugg { padding-right: 8px; gap: 8px; }
.oam-artiste-sugg .etat { font-size: 12px; }
.oam-artiste-sugg, .oam-artiste input { box-sizing: border-box; max-width: 100%; }
