/* Culebra · Petit Comité · acabados compartidos ES/CAT/EN/FR.
   Mantener contenidos y rostros íntegros, sin recortes ni estilos por página. */
body.pg2027-body .pg-member-page .pg-member-editorial-quote{
 position:relative;
 display:table;
 width:auto!important;
 max-width:min(100%,1000px)!important;
 margin:clamp(12px,2vw,22px) auto!important;
 padding:clamp(18px,2.4vw,28px) clamp(22px,3.1vw,39px)!important;
 border:1px solid rgba(80,53,41,.07)!important;
 border-radius:12px;
 background:#f6f3ee;
 text-align:center;
}
body.pg2027-body .pg-member-page .pg-member-editorial-quote::before{
 content:"“";
 display:block;
 margin:0 auto 6px;
 font:500 clamp(2.8rem,5vw,4rem)/.75 "Playfair Display",Georgia,serif;
 color:#8a7359;
}
/* Componente de frase: sin comillas ni iconos añadidos. */
body.pg2027-body .pg-member-page .pg-member-editorial-quote::before{content:none!important;display:none!important}
body.pg2027-body .pg-member-page .pg-member-editorial-quote p{
 margin:0!important;
 max-width:none!important;
 color:#463428!important;
 font:400 clamp(1.26rem,2.2vw,1.85rem)/1.48 "Playfair Display",Georgia,serif!important;
 text-align:center!important;
 text-wrap:normal!important;
 overflow-wrap:normal!important;
 word-break:normal!important;
 width:100%!important;
}
body.pg2027-body .pg-member-page .pg-member-editorial{
 width:100%!important;
 max-width:100%!important;
 min-width:0;
 padding-block:clamp(22px,3vw,38px)!important;
}
body.pg2027-body .pg-member-page .pg-member-editorial.pg-prose{
 max-width:100%!important;
}
body.pg2027-body .pg-member-page .pg-member-editorial > :is(p,blockquote){
 max-width:100%!important;
}
/* Las etiquetas mantienen exactamente las proporciones compartidas.
   Nunca añadir altura y padding independientes por sección. */
body.pg2027-body .pg-member-page .pg-eyebrow{
 box-sizing:border-box!important;
 min-height:39px!important;
 padding-block:10px 11px!important;
 line-height:1.4!important;
 margin-bottom:16px!important;
}
body.pg2027-body .pg-member-page .pg-member-section-head{
 margin-bottom:clamp(16px,2vw,24px)!important;
}
/* Club · último vestigio de panel beige: llamada a plantear un proyecto.
   Una tarjeta blanca tipo destakdo, con el CTA aprobado y sin líneas de relleno.
   Mantener copy, URL e interacciones originales. */
body.pg2027-body .pg-member-page .pg-member-question{
 width:100%;min-width:0;
 background:#fff!important;border:1px solid rgba(55,49,43,.09)!important;
 border-radius:9px!important;
 box-shadow:0 3px 6px rgba(54,45,37,.035),0 19px 40px rgba(54,45,37,.085)!important;
 padding:clamp(22px,3vw,36px)!important;
 margin-block:clamp(17px,2.5vw,30px)!important;
}
body.pg2027-body .pg-member-page .pg-member-question>.pg-member-primary{
 border-radius:7px;white-space:normal;
}
/* FAQ en fichas del Club: preguntas independientes con destakdo, no líneas
   y fondos alternos heredados. La etiqueta details conserva accesibilidad,
   teclado y apertura nativa, sin JS. */
body.pg2027-body .pg-member-page .pg-member-faq{
 max-width:100%!important;display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(12px,1.6vw,20px);
}
body.pg2027-body .pg-member-page .pg-member-faq>.pg-member-section-head{
 grid-column:1/-1;
}
body.pg2027-body .pg-member-page .pg-member-faq>details{
 min-width:0;align-self:start;margin:0!important;
 padding:clamp(16px,1.8vw,24px)!important;
 background:#fff!important;border:1px solid rgba(55,49,43,.09)!important;
 border-radius:9px!important;
 box-shadow:0 3px 6px rgba(54,45,37,.035),0 12px 27px rgba(54,45,37,.065)!important;
}
body.pg2027-body .pg-member-page .pg-member-faq>details>summary{
 color:#3b261b;line-height:1.5;
}
body.pg2027-body .pg-member-page .pg-member-faq>details>p{
 margin:12px 0 0!important;max-width:none!important;
}
@media(max-width:690px){
 body.pg2027-body .pg-member-page .pg-member-faq{
  grid-template-columns:minmax(0,1fr);
 }
}
/* Galería documental del oficio: sin raya separadora previa ni panel de fondo.
   No es una nueva sección comercial; acompaña al relato anterior. */
body.pg2027-body .pg-member-page .pg-member-photo-story{
 border-top:0!important;
 border-block-start:0!important;
 background:transparent!important;
 padding-top:clamp(8px,1.6vw,18px)!important;
}
/* Portfolio del Club: orden de lectura real de izquierda a derecha.
   Siempre tres columnas iguales en escritorio: 4 fotos = 3+1, nunca 2+2
   ni última foto ampliada. La retícula adapta columnas SOLO al viewport. */
body.pg2027-body .pg-member-page .pg-member-photo-story .pg-member-photo-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:clamp(12px,1.8vw,20px)!important;
 columns:auto!important;column-count:auto!important;
 align-items:start!important;justify-items:stretch;
 width:100%;margin-block:clamp(18px,2.6vw,32px);
}
body.pg2027-body .pg-member-page .pg-member-photo-story .pg-member-photo-grid>figure{
 display:block!important;grid-column:auto!important;grid-row:auto!important;
 width:100%!important;max-width:100%!important;min-width:0;
 margin:0!important;padding:0!important;
 break-inside:auto!important;overflow:hidden;
 border:0!important;border-radius:9px!important;
 background:transparent!important;
 box-shadow:0 3px 6px rgba(54,45,37,.035),0 19px 40px rgba(54,45,37,.085);
}
body.pg2027-body .pg-member-page .pg-member-photo-story .pg-member-photo-grid>figure img{
 display:block;width:100%!important;max-width:100%!important;
 height:auto!important;max-height:none!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center!important;
 margin:0!important;padding:0!important;background:transparent!important;
 transform:none!important;transition:none!important;
}
@media(max-width:740px){
 body.pg2027-body .pg-member-page .pg-member-photo-story .pg-member-photo-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:440px){
 body.pg2027-body .pg-member-page .pg-member-photo-story .pg-member-photo-grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
}
/* Fotografía de oficio y personas: conservar imagen completa en lugar de cortar cabezas. */
body.pg2027-body .pg-member-page .pg27-editorial-cover img{
 width:auto!important;
 max-width:100%!important;
 height:auto!important;
 aspect-ratio:auto!important;
 object-fit:contain!important;
 object-position:center center!important;
}
body.pg2027-body .pg-member-page .pg-member-related-grid img{
 width:100%!important;height:auto!important;
 aspect-ratio:3 / 2!important;
 object-fit:contain!important;
 object-position:center!important;
 background:#f6f3ee;
}
/* Club de los 25 · Piezas y proyectos: destakdo único y sin relleno alrededor de la foto. */
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card{
 display:flex;flex-direction:column;min-width:0;overflow:hidden;
 background:#fff;border:1px solid rgba(55,49,43,.09);border-radius:9px;
 padding:0 0 clamp(15px,1.7vw,22px)!important;
 box-shadow:0 3px 6px rgba(54,45,37,.035),0 19px 40px rgba(54,45,37,.085);
}
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card>a:first-child{
 display:block;max-width:100%;margin:0;padding:0;border:0;
}
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card>img,
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card>a:first-child>img{
 display:block;width:100%!important;max-width:100%!important;height:auto!important;
 max-height:350px;aspect-ratio:auto!important;object-fit:contain!important;
 object-position:center top!important;margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;transform:none!important;transition:none!important;
}
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card h3{
 margin:clamp(15px,1.7vw,21px) clamp(16px,1.9vw,23px) 8px!important;
}
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card p,
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card .pg-member-project-link{
 margin-left:clamp(16px,1.9vw,23px)!important;
 margin-right:clamp(16px,1.9vw,23px)!important;
}
body.pg2027-body .pg-member-page .pg-member-projects .pg-member-project-card .pg-member-project-link{
 margin-top:auto;padding-top:10px;
}
/* Club · mismas tarjetas de miembros en todos los perfiles.
   Sin etiqueta "Perfil", un único enlace con CTA reconocible.
   Imagen natural, tarjeta destakdo y botón discreto compartido. */
body.pg2027-body .pg-member-page .pg-member-related-grid>a.pg-member-related-card,
body.pg2027-body .pg-popelin-page .pg-member-related-grid>a.pg-member-related-card{
 display:flex;flex-direction:column;align-items:stretch;
 min-width:0;padding:0 0 17px;overflow:hidden;
 border:1px solid rgba(55,49,43,.09);border-radius:9px;
 background:#fff;box-shadow:0 3px 6px rgba(54,45,37,.035),0 14px 30px rgba(54,45,37,.075);
 color:#3b261b;text-decoration:none;
}
body.pg2027-body .pg-member-related-grid>a.pg-member-related-card>img{
 display:block;width:100%!important;height:auto!important;
 max-height:240px!important;aspect-ratio:auto!important;
 object-fit:contain!important;margin:0!important;padding:0!important;
 background:transparent!important;transform:none!important;
 transition:none!important;
}
body.pg2027-body .pg-member-related-grid>a.pg-member-related-card>.pg-member-related-name{
 display:block;margin:16px 17px 13px;
 font:500 clamp(1rem,1.3vw,1.17rem)/1.35 "Playfair Display",Georgia,serif;
 color:#3b261b;
}
body.pg2027-body .pg-member-related-grid>a.pg-member-related-card>.pg-member-related-cta{
 align-self:flex-start;display:inline-flex;align-items:center;gap:9px;
 margin:auto 17px 0;padding:9px 13px;
 border:1px solid rgba(44,86,114,.2);border-radius:7px;
 background:#fff;color:#2c5672;font:600 .78rem/1.3 "Work Sans",sans-serif;
}
body.pg2027-body .pg-member-related-grid>a.pg-member-related-card:focus-visible{
 outline:2px solid #2c5672;outline-offset:3px;
}
/* Cierre editorial: dos acciones breves, un icono por intención. */
body.pg2027-body .pg-member-page .pg-member-closing-links{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(12px,2vw,20px);margin-top:clamp(23px,3vw,38px);
}
/* El cierre es un enlace-botón casi sin fondo: protagonismo de la pieza irregular. */
body.pg2027-body .pg-member-page .pg-member-closing-links>a{
 display:flex;align-items:center;gap:13px;
 min-height:70px;padding:17px clamp(18px,2.4vw,28px);
 background:rgba(246,243,238,.27);border:1px solid rgba(80,53,41,.07);border-radius:11px;
 color:#3b261b!important;text-decoration:none!important;
 font:600 clamp(.91rem,1.1vw,1.03rem)/1.45 "Work Sans",Arial,sans-serif;
 box-shadow:none;
}
body.pg2027-body .pg-member-page .pg-member-closing-links>a:nth-child(2){background:rgba(239,241,235,.27)}
body.pg2027-body .pg-member-page .pg-member-closing-links>a>span:last-child{margin-left:auto;color:#285068}
/* Marcador aprobado: hexágono regular, centro transparente, sin rotación. */
body.pg2027-body .pg-member-page .pg-member-close-icon.pg27-hex-marker{
 display:inline-block;position:relative;flex:0 0 auto;
 width:21px;height:18.187px;margin-right:5px;
 background-color:currentColor!important;
 color:#608263;aspect-ratio:2/1.7320508075688772;
 border:0;border-radius:0;clip-path:none;transform:none;
 -webkit-mask:var(--pg27-hex-marker-mask) center/contain no-repeat;
 mask:var(--pg27-hex-marker-mask) center/contain no-repeat;
 box-shadow:none;
}
body.pg2027-body .pg-member-page .pg-member-closing-links>a:nth-child(2) .pg-member-close-icon.pg27-hex-marker{color:#C8A679}
body.pg2027-body .pg-member-page .pg-member-closing-links>a:focus-visible{outline:2px solid #285068;outline-offset:3px}
body.pg2027-body .pg-member-page .pg-member-sector-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:clamp(12px,2vw,20px);
}
body.pg2027-body .pg-member-page .pg-member-sector-card{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 min-height:110px;padding:clamp(17px,2.2vw,25px);
 color:#3b261b;text-decoration:none;
 font:600 clamp(.97rem,1.12vw,1.12rem)/1.43 "Work Sans",Arial,sans-serif;
 border-radius:12px;background:#f6f3ee;
 box-shadow:0 5px 17px rgba(54,44,35,.07);
}
body.pg2027-body .pg-member-page .pg-member-sector-card:nth-child(4n + 2){background:#f1ede6}
body.pg2027-body .pg-member-page .pg-member-sector-card:nth-child(4n + 3){background:#eff1eb}
body.pg2027-body .pg-member-page .pg-member-sector-card:nth-child(4n){background:#f1eee9}
body.pg2027-body .pg-member-page .pg-member-sector-card span:last-child{
 flex:none;color:#285068
}
body.pg2027-body .pg-member-page .pg-member-sector-card:hover{box-shadow:0 8px 22px rgba(54,44,35,.11)}
body.pg2027-body .pg-member-page .pg-member-sector-card:focus-visible{outline:2px solid #285068;outline-offset:3px}
@media(max-width:800px){
 body.pg2027-body .pg-member-page .pg-member-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body.pg2027-body .pg-member-page .pg-eyebrow{
  min-height:34px!important;padding-block:8px 9px!important;
 }
 body.pg2027-body .pg-member-page .pg-member-sector-grid{grid-template-columns:1fr}
 body.pg2027-body .pg-member-page .pg-member-closing-links{grid-template-columns:1fr}
 body.pg2027-body .pg-member-page .pg-member-sector-card{min-height:73px}
 body.pg2027-body .pg-member-page .pg-member-editorial-quote{padding:29px 20px!important}
}

