/* Public entity profiles 1.0.0 — template-owned presentation, independent of theme palette. */
.hst-reader-profile {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 3rem;
  overflow-wrap: break-word;
}
.hst-reader-profile *, .hst-reader-profile *::before, .hst-reader-profile *::after { box-sizing: border-box; }
.hst-reader-profile__breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; min-width: 0; }
.hst-reader-profile__hero { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin: clamp(2rem, 5vw, 4rem) 0 2.5rem; min-width: 0; }
.hst-reader-profile__hero.is-text-only { display: block; width: 100%; }
.hst-reader-profile__hero-copy { min-width: 0; max-width: 75ch; }
.hst-reader-profile__hero h1 { margin: .3rem 0 clamp(1rem, 2vw, 1.5rem); font-size: clamp(2.65rem, 5vw, 4.8rem); line-height: 1.1; max-width: 15ch; }
.hst-reader-profile__hero.is-text-only h1 { max-width: 22ch; }
.hst-reader-profile__lead { max-width: 70ch; font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.75; margin: 0 0 1rem; }
.hst-reader-profile__progress-note { margin-top: 1.5rem; font-size: .9rem; opacity: .73; }
.hst-reader-profile__portrait { margin: 0; width: 100%; }
.hst-reader-profile__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--hst-line, currentColor); }
.hst-reader-profile__biography { width: min(100%, 72ch); max-width: 100%; margin: 2.3rem 0; }
.hst-reader-profile__biography h2, .hst-reader-profile__facts h2, .hst-reader-profile__gallery h2 { margin: 0 0 1.1rem; line-height: 1.2; }
.hst-reader-profile__biography p, .hst-reader-profile__prose { font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.15rem; }
.hst-reader-profile__facts { margin: 2.6rem 0; }
/* Ét spor — undgå 3–4 smalle kolonner der splitter fakta midt i kortene. */
.hst-reader-profile__fact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; margin: 0; max-width: 52rem; }
.hst-reader-profile__fact-grid > div { margin: 0; padding: 1.05rem 1.1rem; border: 1px solid var(--hst-line, currentColor); border-radius: 11px; min-width: 0; }
.hst-reader-profile__fact-grid dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: .45rem; }
.hst-reader-profile__fact-grid dd { margin: 0; font-size: .98rem; line-height: 1.65; }
@media (min-width: 900px) {
  .hst-reader-profile__fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
.hst-reader-profile__gallery { margin: 2.8rem 0; }
.hst-reader-profile__gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 1rem; }
.hst-reader-profile__gallery-grid figure { margin: 0; min-width: 0; }
.hst-reader-profile__gallery-grid a { display: block; overflow: hidden; border-radius: 10px; }
.hst-reader-profile__gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hst-reader-profile__gallery-grid figcaption { font-size: .86rem; line-height: 1.5; margin-top: .55rem; opacity: .8; max-width: 42ch; }
.hst-reader-profile__exhibitions { margin: 2rem 0; }
.hst-reader-profile__footer { border-top: 1px solid var(--hst-line, currentColor); padding-top: 1.3rem; margin-top: 3rem; }
@media (max-width: 700px) {
  .hst-reader-profile { width: min(100%, calc(100% - 1.3rem)); }
  .hst-reader-profile__hero { grid-template-columns: minmax(0,1fr); gap: 1.4rem; margin: 1.5rem 0 2rem; }
  .hst-reader-profile__portrait { width: min(100%, 360px); }
  .hst-reader-profile__hero h1 { font-size: clamp(2.3rem, 8vw, 3.6rem); }
  .hst-reader-profile__biography, .hst-reader-profile__facts { margin: 2rem 0; }
  .hst-reader-profile__gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
}
@media (max-width: 390px) { .hst-reader-profile__gallery-grid { grid-template-columns: minmax(0,1fr); } }

/* Template component public-entity-profile 1.1.0: structure only. */
.hst-reader-profile__placeholder {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem;aspect-ratio:2/3;border:1px solid currentColor;border-radius:14px;opacity:.65;}
.hst-reader-profile__placeholder span {font-size:5rem;line-height:1;}
.hst-reader-profile__placeholder small {font-size:.85rem;text-align:center;}
.hst-reader-profile__fact-grid>section {border:1px solid var(--hst-line,currentColor);border-radius:11px;padding:1.1rem;min-width:0;break-inside:avoid;}
.hst-reader-profile__fact-grid h3 {font-size:1rem;margin:0 0 .8rem;}
.hst-reader-profile__fact-list {margin:0;display:grid;gap:.85rem;}
.hst-reader-profile__fact-list > div {margin:0;padding:0;border:0;}
.hst-reader-profile__fact-list dt {font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0 0 .35rem;}
.hst-reader-profile__fact-list dd {margin:0;font-size:.98rem;line-height:1.65;}
.hst-reader-profile__fact-grid ul {padding-left:1.2rem;margin:0;line-height:1.7;}
.hst-reader-profile__fact-grid li+li {margin-top:.6rem;}
@media(max-width:700px){
  .hst-reader-profile__placeholder{width:min(100%,240px);aspect-ratio:1;}
  .hst-reader-profile__fact-grid{grid-template-columns:minmax(0,1fr);}
}
