/* HCD v1.1 — responsive editorial. */
.hcd-profile{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;overflow-x:clip!important}
.hcd-profile *{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:break-word!important;word-break:normal!important}
.hcd-profile__head,.hcd-profile form,.hcd-result{width:min(1240px,100%)!important}
.hcd-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
.hcd-image-card{background:#F3F1E5!important;width:100%;max-width:260px!important;justify-self:center;transform:none!important}
.hcd-image-card img{width:100%!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;background:#F3F1E5!important;padding:.45rem!important}
.hcd-image-card>span{background:#fff!important;min-height:112px!important}.hcd-image-card small{line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hcd-image-card:has(input:checked){transform:none!important}
.hcd-options--visual{grid-template-columns:repeat(3,minmax(0,260px))!important;justify-content:center!important}
html:has(.hcd-profile),body:has(.hcd-profile){overflow-x:hidden!important}
@media(min-width:900px){.hcd-step{max-width:960px;margin-inline:auto}.hcd-options--visual{gap:1.25rem}.hcd-profile form,.hcd-result{padding-inline:clamp(3rem,7vw,7rem)}}
@media(max-width:850px){.hcd-options--visual{grid-template-columns:repeat(2,minmax(0,240px))!important}}
@media(max-width:650px){.hcd-contact{grid-template-columns:1fr}.hcd-profile{padding-inline:12px}.hcd-profile h1{font-size:clamp(2rem,11vw,3.15rem)}.hcd-profile__head>div{width:100%}.hcd-options--visual{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem}.hcd-image-card>span{min-height:118px!important;padding:.7rem!important}}

/* v1.3 — anula alturas heredadas sin alterar el grid existente. */
.hcd-image-card{height:auto!important;align-self:start!important;grid-template-rows:auto auto!important}
.hcd-image-frame{position:relative!important;width:100%!important;aspect-ratio:1/1!important;background:#F3F1E5!important}
.hcd-image-frame img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:.45rem!important}
.hcd-image-card>span.hcd-image-card__copy{min-height:0!important;background:#fff!important}
@media(max-width:650px){.hcd-image-card>span.hcd-image-card__copy{min-height:0!important;padding:.65rem!important}}
