/* Ficha del perfil: cabecera arriba (quién es, contacto y acciones) y publicaciones a todo el ancho. Solo variables de tokens.css. */
.perfil-fondo { background: var(--gris-50); border-bottom: 1px solid var(--color-borde); }
.perfil { padding-top: 1.25rem; padding-bottom: 4rem; }

.migas { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; margin-bottom: 1.25rem; font-size: .9375rem; color: var(--color-texto-suave); }
.migas a { display: inline-flex; align-items: center; min-height: var(--toque-minimo); color: var(--color-texto-suave); }
.migas a:hover, .migas a:focus-visible { color: var(--color-texto); }
.migas [aria-current] { color: var(--color-texto); font-weight: 700; }

.perfil-pagina { display: grid; gap: 1.5rem; }

/* ---------- Cabecera del perfil: portada, quién es, contacto y acciones ---------- */
.ph { position: relative; margin: 0 0 2rem; border: 1px solid var(--color-borde); border-radius: 1.5rem; background: var(--color-fondo);
  box-shadow: 0 1px 2px rgba(41, 38, 37, .04), 0 14px 38px rgba(41, 38, 37, .07); }
.ph-portada { position: relative; height: clamp(6.5rem, 14vw, 10.5rem); overflow: hidden; border-radius: 1.5rem 1.5rem 0 0; isolation: isolate;
  /* Portada igual para todos: el sol de Xua sobre café noche y, abajo, una franja tejida como un chumbe. */
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'><path d='M7 1l6 6-6 6-6-6zM21 1l6 6-6 6-6-6z' fill='none' stroke='%23FFD95A' stroke-opacity='.5'/><circle cx='7' cy='7' r='1.3' fill='%23FFD95A' fill-opacity='.7'/><path d='M14 7h0' /></svg>") left bottom .55rem / 1.75rem .875rem repeat-x,
    radial-gradient(ellipse 60% 120% at 82% 50%, rgba(255, 217, 90, .28), transparent 70%),
    radial-gradient(circle at 8% 140%, rgba(192, 127, 0, .55), transparent 50%),
    linear-gradient(115deg, var(--cafe-noche) 30%, var(--xua-cafe)); }
.ph-portada::before { content: ""; position: absolute; z-index: -1; top: 50%; right: clamp(-6rem, -4vw, -2rem); width: clamp(14rem, 34vw, 24rem); aspect-ratio: 1; margin-top: calc(clamp(14rem, 34vw, 24rem) / -2);
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23FFD95A'><circle cx='100' cy='100' r='30' stroke-opacity='.55' stroke-width='1.5'/><circle cx='100' cy='100' r='44' stroke-opacity='.3'/><circle cx='100' cy='100' r='56' stroke-opacity='.18' stroke-dasharray='2 4'/><path d='M166.0 100.0L196.0 100.0M164.7 112.9L180.4 116.0M161.0 125.3L188.7 136.7M154.9 136.7L168.2 145.6M146.7 146.7L167.9 167.9M136.7 154.9L145.6 168.2M125.3 161.0L136.7 188.7M112.9 164.7L116.0 180.4M100.0 166.0L100.0 196.0M87.1 164.7L84.0 180.4M74.7 161.0L63.3 188.7M63.3 154.9L54.4 168.2M53.3 146.7L32.1 167.9M45.1 136.7L31.8 145.6M39.0 125.3L11.3 136.7M35.3 112.9L19.6 116.0M34.0 100.0L4.0 100.0M35.3 87.1L19.6 84.0M39.0 74.7L11.3 63.3M45.1 63.3L31.8 54.4M53.3 53.3L32.1 32.1M63.3 45.1L54.4 31.8M74.7 39.0L63.3 11.3M87.1 35.3L84.0 19.6M100.0 34.0L100.0 4.0M112.9 35.3L116.0 19.6M125.3 39.0L136.7 11.3M136.7 45.1L145.6 31.8M146.7 53.3L167.9 32.1M154.9 63.3L168.2 54.4M161.0 74.7L188.7 63.3M164.7 87.1L180.4 84.0' stroke-opacity='.35' stroke-linecap='round'/></g><path d='M100 82l18 18-18 18-18-18z' fill='%23FFD95A' fill-opacity='.8'/></svg>") center / contain no-repeat; animation: ph-sol 1.6s var(--ease-suave) both; }
.ph-portada::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--xua-ocre), var(--xua-amarillo) 50%, var(--xua-ocre)); opacity: .8; }
@keyframes ph-sol { from { opacity: 0; transform: rotate(-18deg) scale(.92); } }

.ph-cuerpo { --ph-av: 6.5rem; --ph-sube: 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0 1.25rem 1.25rem; }
.ph-cambiar-foto { position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: start; justify-self: start; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: calc(var(--ph-av) - var(--ph-sube) - 2.4rem) 0 0 calc(var(--ph-av) - 2.4rem); border: 3px solid var(--color-fondo); border-radius: 50%; background: var(--cafe-noche); color: var(--xua-amarillo); transition: transform .2s var(--ease-suave); }
.ph-cambiar-foto:hover, .ph-cambiar-foto:focus-visible { transform: scale(1.08) rotate(-6deg); }
.ph-cambiar-foto .icono { width: 1.1rem; height: 1.1rem; }
.pl-avatar.ph-avatar { grid-column: 1; grid-row: 1; position: relative; z-index: 1; width: var(--ph-av); height: var(--ph-av); margin: calc(var(--ph-sube) * -1) 0 0; }
.pl-avatar--inicial.ph-avatar { font-size: 2.6rem; }
.ph-info { min-width: 0; }
.ph-tipo { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: .6rem 0 0; }
.ph-lugar { display: inline-flex; align-items: center; gap: .3rem; color: var(--color-texto-suave); font-size: .9375rem; }
.ph-lugar .icono { width: 1rem; height: 1rem; color: var(--xua-ocre); }
.ph h1 { margin: .5rem 0 0; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; overflow-wrap: anywhere; }
.ph .pl-sellos { justify-content: flex-start; margin: .6rem 0 0; }
.ph-cifras { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .75rem 0 0; padding: 0; }
.ph-cifras li { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border: 1px solid var(--color-borde); border-radius: 999px; background: var(--gris-50); color: var(--color-texto-suave); font-size: .875rem; font-weight: 700; }
.ph-cifras strong { font-family: var(--fuente-titulos); font-size: 1rem; color: var(--xua-ocre); font-variant-numeric: tabular-nums; }
.ph-desde .icono { width: .95rem; height: .95rem; }
.ph-cifras .ph-desde { border-color: transparent; background: none; padding-left: .25rem; font-weight: 400; }

/* Acciones: el mensaje es lo principal; contacto y lo demás van en íconos. */
.ph-acciones { display: grid; gap: .75rem; align-content: start; min-width: 0; }
.ph-principal { gap: .5rem; width: 100%; }
.ph-principal .icono { width: 1.25rem; height: 1.25rem; }
.ph-iconos { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; }
.ph-acciones .en-linea { display: contents; }
.ph-icono { position: relative; display: grid; justify-items: center; gap: .3rem; padding: 0; border: 0; background: none; color: var(--color-texto); font: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ph-icono .icono { box-sizing: content-box; width: 1.3rem; height: 1.3rem; padding: .7rem; border: 1.5px solid var(--color-borde); border-radius: 50%; background: var(--color-fondo);
  transition: transform .18s var(--ease-suave), background-color .2s ease, border-color .2s ease, color .2s ease; }
.ph-icono:hover .icono, .ph-icono:focus-visible .icono { transform: translateY(-2px); border-color: var(--xua-ocre); background: var(--xua-crema); }
.ph-icono:active .icono { transform: scale(.94); }
.ph-icono:focus-visible { outline: none; }
.ph-icono:focus-visible .icono { outline: 3px solid var(--color-texto); outline-offset: 2px; }
.ph-icono--contacto .icono { border-color: var(--xua-ocre); background: var(--xua-amarillo); }
.ph-icono--contacto:hover .icono, .ph-icono--contacto:focus-visible .icono { background: var(--xua-degrade-amarillo, var(--xua-amarillo)); box-shadow: 0 6px 16px rgba(192, 127, 0, .3); }
.ph-icono--favorito[aria-pressed="true"] .icono { fill: currentColor; color: var(--xua-ocre); border-color: var(--xua-ocre); background: var(--xua-crema); }
.ph-icono--hecho .icono { border-color: var(--xua-ocre); background: var(--xua-amarillo); }
.ph-icono-corto { font-size: .75rem; font-weight: 700; line-height: 1.1; color: var(--color-texto-suave); }
.ph-icono-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* en pantallas táctiles: solo para lectores */

/* Con mouse: el texto aparece como una etiqueta al pasar o al enfocar con el teclado. */
@media (hover: hover) and (pointer: fine) {
  .ph-icono-corto { display: none; }
  .ph-icono-texto { top: calc(100% + .45rem); left: 0; z-index: 5; width: auto; height: auto; overflow: visible; clip: auto; padding: .35rem .65rem; border-radius: .5rem;
    background: var(--cafe-noche); color: var(--sobre-oscuro); font-size: .8125rem; font-weight: 700; box-shadow: var(--sombra);
    opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .14s ease, transform .18s var(--ease-suave); }
  .ph-icono:hover .ph-icono-texto, .ph-icono:focus-visible .ph-icono-texto { opacity: 1; transform: none; transition-delay: .12s; }
}

.ph-nota { margin: 0; color: var(--color-texto-suave); font-size: .875rem; }
.pl-mensaje-correo a { color: var(--color-texto-suave); }

/* Introducción, dirección, especialidades y redes */
.ph-sobre { display: grid; gap: 1.25rem; padding: 1.25rem; border-top: 1px solid var(--color-borde); }
.ph-sobre h2 { margin: 0 0 .5rem; font-size: 1rem; line-height: 1.2; }
.ph-bio .perfil-bio { max-width: 72ch; }
.ph-bio--corta .perfil-bio { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.ph-bio-mas { display: inline-flex; align-items: center; min-height: var(--toque-minimo); margin-top: .25rem; padding: 0; border: 0; background: none; color: var(--color-texto); font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--xua-ocre); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.ph-bio-mas:hover { color: var(--xua-ocre); }
.ph-datos { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }

/* Entrada: la cabecera aparece una vez, por partes. Corta y suave: no se apaga con «reducir movimiento» (Windows lo trae encendido). */
.ph-avatar, .ph-info, .ph-acciones { animation: ph-entra .5s var(--ease-suave) both; }
.ph-info { animation-delay: .06s; }
.ph-acciones { animation-delay: .12s; }
@keyframes ph-entra { from { opacity: 0; transform: translateY(10px); } }

@media (min-width: 40rem) {
  .ph-cuerpo { grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; padding: 0 1.75rem 1.5rem; }
  .pl-avatar.ph-avatar { grid-row: 1 / span 2; }
  .ph-cuerpo { --ph-av: 8rem; --ph-sube: 3rem; }
  .ph-info { padding-top: .9rem; }
  .ph-principal { width: auto; justify-self: start; }
  .ph-sobre { padding: 1.5rem 1.75rem; }
}
@media (min-width: 60rem) {
  .ph-cuerpo { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; }
  .pl-avatar.ph-avatar { grid-row: 1; }
  .ph-cuerpo { --ph-av: 9.5rem; --ph-sube: 4rem; }
  .pl-avatar--inicial.ph-avatar { font-size: 3.4rem; }
  .ph-acciones { justify-items: end; padding-top: 1.1rem; max-width: 22rem; }
  .ph-principal { justify-self: end; }
  .ph-iconos { justify-content: flex-end; }
  .ph-nota { text-align: right; }
  .ph-icono-texto { left: auto; right: 0; } /* los íconos van a la derecha: la etiqueta crece hacia la izquierda */
  .ph-sobre { grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 1fr); gap: 2.5rem; }
  .ph-sobre > .ph-datos:only-child { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  .ph-bio + .ph-datos { padding-left: 2rem; border-left: 1px solid var(--color-borde); }
}


.pl-avatar { width: 7.5rem; height: 7.5rem; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--gris-100);
  border: 4px solid var(--color-fondo); box-shadow: 0 0 0 3px var(--xua-ocre), 0 10px 24px rgba(41, 38, 37, .18); margin-bottom: .9rem; }
.pl-avatar--inicial { display: grid; place-items: center; font-family: var(--fuente-titulos); font-weight: 700; font-size: 3rem; color: var(--color-texto); background: var(--xua-degrade-ocre); }
.perfil-alias { margin: 0; color: var(--color-texto-suave); font-size: 1.0625rem; }
.pl-sellos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: .75rem 0 .25rem; padding: 0; }
.pl-sello { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: 999px; background: var(--gris-100); font-size: .8125rem; font-weight: 700; }
.pl-sello .icono { width: 1rem; height: 1rem; }
.pl-sello--verificado { background: var(--color-texto); color: var(--sobre-oscuro); }
.pl-sello--verificado .icono { color: var(--xua-amarillo); }
.pl-sello--destacado { background: var(--xua-amarillo); }


.pl-dato { display: flex; gap: .65rem; margin: 0; align-items: flex-start; }
.pl-dato .icono { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--xua-ocre); }
.pl-dato > span { min-width: 0; overflow-wrap: anywhere; } /* una dirección o enlace largo no ensancha la página */
.pl-dato strong { display: block; font-size: .8125rem; color: var(--color-texto-suave); }
.perfil-bio { margin: 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.65; } /* respeta los saltos de línea que escribió la persona */

.etiquetas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.etiqueta { padding: .25rem .75rem; border: 1px solid var(--color-borde); border-radius: 999px; background: var(--gris-50); font-size: .875rem; font-weight: 700; }

.redes-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.redes-lista a { display: inline-flex; align-items: center; min-height: var(--toque-minimo); padding: 0 1rem; border: 1px solid var(--color-borde); border-radius: 999px; background: var(--gris-50); color: var(--color-texto); font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s; }
.redes-lista a:hover, .redes-lista a:focus-visible { background: var(--xua-amarillo); border-color: var(--xua-ocre); }


/* ---------- Publicaciones y demás secciones ---------- */
.perfil-contenido { display: grid; gap: 1.75rem; align-content: start; min-width: 0; }
.perfil-contenido > section:not(.pc-publicaciones):not(.pc-vacio-grande) { padding: 1.5rem; border: 1px solid var(--color-borde); border-radius: 1.125rem; background: var(--color-fondo); }
.perfil-contenido h2 { margin: 0 0 1rem; font-size: var(--texto-subtitulo); line-height: 1.2; }
.perfil-contenido h3 { margin: 1.25rem 0 .5rem; font-size: 1.125rem; }

.pc-barra { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.25rem; }
.pc-barra h2 { margin: 0 auto 0 0; }
.pc-pestanas { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border: 1px solid var(--color-borde); border-radius: 999px; background: var(--color-fondo); }
.pc-pestanas a { display: inline-flex; align-items: center; gap: .4rem; min-height: calc(var(--toque-minimo) - .5rem); padding: 0 1rem; border-radius: 999px; color: var(--color-texto); font-weight: 700; text-decoration: none; }
.pc-pestanas a[aria-current] { background: var(--color-texto); color: var(--sobre-oscuro); }
.pc-pestanas a:not([aria-current]):hover { background: var(--gris-100); }
.pc-n { font-size: .8125rem; font-variant-numeric: tabular-nums; opacity: .75; }
.pc-vista { display: inline-flex; gap: .25rem; }
.pc-vista a { display: grid; place-items: center; width: var(--toque-minimo); height: var(--toque-minimo); border: 1px solid var(--color-borde); border-radius: .75rem; background: var(--color-fondo); color: var(--color-texto-suave); }
.pc-vista a[aria-current] { border-color: var(--color-texto); background: var(--color-texto); color: var(--sobre-oscuro); }
.pc-vista a:not([aria-current]):hover { color: var(--color-texto); background: var(--gris-100); }
.pc-vista .icono { width: 1.25rem; height: 1.25rem; }

/* Tarjetas de publicaciones */
.pc-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pc-lista--cuadricula { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); }
.pc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-borde); border-radius: 1.125rem; background: var(--color-fondo);
  box-shadow: 0 1px 2px rgba(41, 38, 37, .04); transition: transform .22s var(--ease-suave), box-shadow .22s var(--ease-suave), border-color .2s; }
.pc-card:hover, .pc-card:focus-within { transform: translateY(-3px); border-color: var(--gris-300); box-shadow: 0 14px 34px rgba(41, 38, 37, .12); }
.pc-card:focus-within { outline: 3px solid var(--color-texto); outline-offset: 2px; }
.pc-card--destacado { border-color: var(--xua-ocre); box-shadow: var(--brillo); }
.pc-card--apagado { background: var(--gris-50); }
.pc-card--apagado .pc-cabeza { filter: grayscale(.85); opacity: .85; }

/* Cabeza de la tarjeta: el día en los eventos, una etiqueta en los anuncios. Mientras no haya fotos, la marca llena el espacio. */
.pc-cabeza { position: relative; display: grid; place-items: center; min-height: 6.5rem; background: linear-gradient(135deg, var(--gris-100), var(--gris-50)); }
.pc-card--evento .pc-cabeza { background: linear-gradient(135deg, var(--xua-ocre), #D9A21F); }
.pc-card--anuncio .pc-cabeza { background: linear-gradient(135deg, #3B3736, var(--cafe-noche)); }
.pc-fecha { display: grid; justify-items: center; line-height: 1; color: var(--color-texto); }
.pc-dia { font-family: var(--fuente-titulos); font-weight: 700; font-size: 2.5rem; }
.pc-mes { font-weight: 700; font-size: .9375rem; }
.pc-icono { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--xua-amarillo); }
.pc-icono .icono { width: 1.6rem; height: 1.6rem; }

.pc-cuerpo { display: grid; gap: .35rem; padding: 1rem 1.15rem .5rem; flex: 1; align-content: start; }
.pc-cuerpo p { margin: 0; }
.pc-tipo { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 700; color: var(--color-texto-suave); }
.pc-sello { padding: .1rem .55rem; border: 1px solid var(--color-borde); border-radius: 999px; background: var(--gris-100); font-size: .75rem; color: var(--color-texto); }
.pc-sello--destacado { border-color: var(--xua-ocre); background: var(--xua-amarillo); }
.pc-sello--aviso { border-color: var(--color-error); background: var(--color-fondo); }
.pc-cuerpo h3 { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.pc-cuerpo h3 a { color: var(--color-texto); text-decoration: none; }
.pc-cuerpo h3 a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es el enlace */
.pc-cuerpo h3 a:focus-visible { outline: none; }
.pc-resumen { font-size: .9375rem; color: var(--color-texto-suave); }
.pc-meta { display: grid; gap: .2rem; margin-top: .25rem !important; font-size: .875rem; color: var(--color-texto-suave); }
.pc-meta span { display: flex; align-items: flex-start; gap: .4rem; }
.pc-meta .icono { flex: none; width: 1rem; height: 1rem; margin-top: .15rem; }
.pc-precio { margin: 0; padding: .75rem 1.15rem 1rem; border-top: 1px solid var(--color-borde); font-family: var(--fuente-titulos); font-weight: 700; font-size: 1.125rem; color: var(--xua-ocre); }
.pc-vacio, .pc-vacio-grande p { color: var(--color-texto-suave); }
.pc-vacio-grande { padding: 2.5rem 1.5rem; border: 2px dashed var(--color-borde); border-radius: 1.125rem; text-align: center; }

/* Vista en lista: una fila por publicación. */
@media (min-width: 40rem) {
  .pc-lista--lista .pc-card { flex-direction: row; align-items: stretch; }
  .pc-lista--lista .pc-cabeza { flex: none; width: 6.5rem; min-height: 0; }
  .pc-lista--lista .pc-cuerpo { padding: 1rem 1.25rem; }
  .pc-lista--lista .pc-precio { align-self: center; padding: 0 1.5rem; border-top: 0; border-left: 1px solid var(--color-borde); display: grid; place-items: center; min-width: 7.5rem; }
}

/* Galería, servicios y aliados */
.galeria { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.galeria a { display: block; border-radius: 1rem; overflow: hidden; background: var(--gris-100); }
.galeria img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease-suave); }
.galeria a:hover img, .galeria a:focus-visible img { transform: scale(1.05); }
.activos, .aliados { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.activo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--color-borde); border-radius: 1rem; background: var(--gris-50); }
.activo h3 { margin: 0; font-size: 1.0625rem; }
.activo p { margin: .25rem 0 0; }
.activo .meta { color: var(--color-texto-suave); font-size: .9375rem; }
.activo-precio { font-family: var(--fuente-titulos); font-weight: 700; color: var(--xua-ocre); white-space: nowrap; }
.aliado { padding: .75rem 1.25rem; border-left: 4px solid var(--xua-ocre); background: var(--gris-50); border-radius: 0 .75rem .75rem 0; }
.aliado a { font-weight: 700; color: var(--color-enlace); text-decoration: underline; text-underline-offset: 3px; }
.aliado p { margin: .25rem 0 0; }

/* Escritorio: más ancho que el resto del sitio, para que las publicaciones aprovechen la pantalla. */
@media (min-width: 64rem) { .perfil.envoltura { max-width: 84rem; } }
@media (prefers-reduced-motion: reduce) {
  .pc-card, .galeria img { transition: none; }
}
