/* ===== Template 16 – Sovereign (Premium Gold): dark header band, single column, ATS-first (A4 = 794 x 1123 px) ===== */
.tpl-sovereign {
  --ac: #a9843a; --ac-dark: #14171c; --ac-soft: #d9c28a; --ac-tint: #f7f3ea;
  --dens: 1; --ink: #22252b; --gray: #5d636d; --photo: 98px; --bullet: "◆"; --bfs: .55em; --bfsn: .55;
  --ln: var(--ac-soft);
  width: 794px; min-height: 1123px; flex: none;
  padding: 0 0 26px;
  background: #fff; color: var(--ink);
  font-family: var(--f-body, Calibri, Carlito, 'Segoe UI', Arial, Helvetica, sans-serif);
  font-size: calc(13px * var(--s-body, 1));
  line-height: calc(1.45 + (var(--dens) - 1) * .4);
  box-shadow: 0 10px 40px rgba(20, 23, 28, .25);
}
.tpl-sovereign, .tpl-sovereign * { box-sizing: border-box; }
.tpl-sovereign.has-foot { padding-bottom: 54px; }

.tpl-sovereign .sv-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 50px 26px; background: var(--ac-dark); border-bottom: 4px solid var(--ac); }
.tpl-sovereign.hr-none .sv-band { border-bottom: 0; }
.tpl-sovereign.hr-thick .sv-band { border-bottom-width: 8px; }
.tpl-sovereign .sv-id { flex: 1; min-width: 0; }
.tpl-sovereign .photo-wrap { flex: none; width: var(--photo); height: var(--photo); }
.tpl-sovereign .photo-wrap img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tpl-sovereign .name {
  margin: 0; font-family: var(--f-head, Georgia, 'Times New Roman', serif); font-weight: 700;
  font-size: calc(32px * var(--s-name, 1)); line-height: 1.1; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; text-align: var(--a-name, left); overflow-wrap: anywhere;
}
.tpl-sovereign.nc-off .name { text-transform: none; letter-spacing: .01em; }
.tpl-sovereign .title-row { margin-top: 8px; text-align: var(--a-title, left); }
.tpl-sovereign .title { display: inline-block; font-family: var(--f-head, Georgia, 'Times New Roman', serif); font-weight: 600; font-size: calc(13px * var(--s-title, 1)); line-height: 1.3; letter-spacing: .22em; text-transform: uppercase; color: var(--ac-soft); }
.tpl-sovereign.ts-plain .title { color: #fff; }
.tpl-sovereign.ts-tag .title { background: var(--ac); color: var(--ac-dark); padding: .35em .85em; border-radius: 2px; }
.tpl-sovereign .sv-contact { margin-top: 12px; display: flex; flex-wrap: wrap; font-size: calc(12.5px * var(--s-body, 1)); color: #d5d9e0; }
.tpl-sovereign .sv-contact span { overflow-wrap: anywhere; }
.tpl-sovereign .sv-contact span + span::before { content: '·'; margin: 0 .7em; color: var(--ac-soft); font-weight: 700; }

.tpl-sovereign .sv-facts { display: flex; flex-wrap: wrap; gap: 3px 26px; padding: 10px 50px; background: var(--ac-tint); border-bottom: 1px solid var(--ac-soft); font-size: .93em; color: var(--gray); }
.tpl-sovereign .sv-facts b { color: var(--ac-dark); font-weight: 700; }
.tpl-sovereign .sv-body { padding: 22px 50px 0; }

.tpl-sovereign .sec { margin-bottom: calc(16px * var(--dens)); }
.tpl-sovereign .sec:last-child { margin-bottom: 0; }
.tpl-sovereign .sec h2 {
  position: relative; margin: 0 0 calc(9px * var(--dens)); padding: 0 0 4px 17px;
  font-family: var(--f-head, Georgia, 'Times New Roman', serif); font-weight: 700;
  font-size: calc(13.5px * var(--s-h2, 1)); line-height: 1.25; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ac-dark); text-align: var(--a-h2, left);
}
.tpl-sovereign .sec h2::before { content: ''; position: absolute; left: 1px; top: .32em; width: 8px; height: 8px; background: var(--ac); transform: rotate(45deg); }
.tpl-sovereign.hc-off .sec h2 { text-transform: none; letter-spacing: .02em; }
.tpl-sovereign.hs-filled .sec h2 { color: #fff; padding-left: 24px; }
.tpl-sovereign.hs-filled .sec h2::before { left: 9px; background: var(--ac-soft); }
.tpl-sovereign.hs-leftbar .sec h2 { padding-left: 26px; }
.tpl-sovereign.hs-leftbar .sec h2::before { left: 12px; }
.tpl-sovereign .summary { margin: 0; padding-left: 14px; border-left: 3px solid var(--ac); font-family: var(--f-head, Georgia, 'Times New Roman', serif); font-style: italic; font-size: 1.07em; line-height: 1.55; text-align: var(--a-body, left); white-space: pre-line; }

.tpl-sovereign .ent { margin-bottom: calc(13px * var(--dens)); }
.tpl-sovereign .ent:last-child { margin-bottom: 0; }
.tpl-sovereign .ent .row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.tpl-sovereign .ent .it { font-weight: 700; font-size: calc(14.5px * var(--s-sub, 1)); line-height: 1.3; color: var(--ac-dark); text-align: var(--a-sub, left); }
.tpl-sovereign .ent .dt { flex: none; color: var(--gray); font-weight: 700; font-size: .84em; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tpl-sovereign .ent .org { color: var(--ac); font-weight: 600; margin: 1px 0 3px; text-align: var(--a-body, left); }

.tpl-sovereign ul { margin: 3px 0 0; padding-left: 16px; list-style: none; }
.tpl-sovereign li { --lh: calc(1.45 + (var(--dens) - 1) * .4); position: relative; margin-bottom: calc(2px * var(--dens)); line-height: var(--lh); text-align: var(--a-body, left); overflow-wrap: anywhere; }
.tpl-sovereign li::before { content: var(--bullet); position: absolute; left: -14px; top: 0; font-size: var(--bfs); line-height: calc(var(--lh) / var(--bfsn, 1)); color: var(--ac); }
.tpl-sovereign .inl { margin: 0; text-align: var(--a-body, left); }
.tpl-sovereign .inl span + span::before { content: '◆'; font-size: .5em; vertical-align: .22em; margin: 0 .9em; color: var(--ac); }
