/* R154: only the static advisor preview in the homepage k3 card. */
#r154-advisor-preview {
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
  padding:0;
  background:#fffefa;
  overflow:hidden;
}
#r154-advisor-preview .r154-preview-image {
  display:grid;
  place-items:center;
  min-width:0;
  padding:16px 14px;
}
#r154-advisor-preview .r154-preview-image img {
  display:block;
  position:static;
  width:100%;
  max-width:763px;
  height:auto;
  min-height:0;
  max-height:none;
  margin:0;
  padding:0;
  transform:none;
  aspect-ratio:763/418;
  object-fit:contain;
}
#r154-advisor-preview figcaption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:static;
  width:auto;
  margin:0;
  padding:10px 16px;
  border-top:1px solid #dde5de;
  background:#fff;
  color:#506863;
  font-family:inherit;
  font-size:14px;
  line-height:1.5;
  font-weight:400;
}
#r154-advisor-preview .r154-preview-caption {min-width:0;}
#r154-advisor-preview .r154-preview-caption strong {
  display:block;
  color:#214e48;
  font-weight:700;
}
#r154-advisor-preview .r154-preview-enlarge {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  flex-shrink:0;
  color:#214e48;
  font-size:13px;
  line-height:1.4;
  text-decoration:underline;
  text-underline-offset:3px;
}
#r154-advisor-preview .r154-preview-enlarge:focus-visible {
  outline:3px solid #9b783f;
  outline-offset:3px;
}
@media (max-width:760px) {
  #r154-advisor-preview {height:auto;grid-template-rows:auto auto;}
  #r154-advisor-preview .r154-preview-image {padding:10px 8px;}
  #r154-advisor-preview figcaption {padding:8px 12px;gap:10px;}
}
@media (max-width:350px) {
  #r154-advisor-preview figcaption {flex-wrap:wrap;gap:0 12px;}
}
