/* H4b (fix plan 3): portfolio, news, approach, careers, mining-companies, field-log, media-kit, record page. Unhashed; coordinator hashes. */

/* ---------- H4-17 news articles: hero content and body share one 46rem column ---------- */
html body main#main .t8-article-head{height:auto!important;min-height:378px;padding-top:72px;padding-bottom:48px}
html body main#main .t8-article .t8-article-body{max-width:none!important}
html body main#main .t8-article .t8-article-body>*{max-width:none}
@media (min-width:800px){
  html body main#main .t8-article-head>.wrap{max-width:calc(46rem + 48px)!important;padding-inline:24px!important;margin-inline:auto!important;box-sizing:border-box}
  html body main#main .page-head.t8-head-panel>.wrap>h1{max-width:none!important}
}
/* "More updates" card labels: date on its own line, never broken */
html body main#main .t8-article-card .eyebrow .t8f4b-cdate{display:block;white-space:nowrap;margin-top:2px}
/* K4b-02: "Newer/Earlier update" line 1, date line 2, tighter tracking so the text ends >= 20 px from the card edge */
html body main#main .t8-article-card .eyebrow{letter-spacing:.04em!important;font-size:1rem!important}
html body main#main .t8-article-card .eyebrow .t8f4b-cdate{letter-spacing:.04em!important}
@media (min-width:800px){html body main#main .page-head.t8-article-head:not(.t8-head-panel)>.wrap>h1{max-width:none!important}}

/* ---------- news.html ---------- */
/* H4-17 one list grid for photo and icon items */
@media (min-width:761px){
  html body main#main .t8f4-nlist>li.news-item,html body main#main .t8f4-nlist>li.news-item:has(>.t8-news-thumb){grid-template-columns:10rem minmax(0,1fr) 10rem!important;column-gap:2rem!important}
}
/* J4b-10 phones: the 96 px thumbnail sits beside the date and tag only; title, posted line, excerpt and link run full width */
@media (max-width:600px){
  html body main#main #news-list.t8f4-nlist>li.news-item{grid-template-columns:minmax(0,1fr) 96px!important;column-gap:var(--s4,16px)!important;row-gap:var(--s2,8px)!important}
  html body main#main #news-list.t8f4-nlist>li.news-item>div{display:contents!important}
  html body main#main #news-list.t8f4-nlist>li.news-item>time{grid-column:1!important;grid-row:1!important;align-self:end}
  html body main#main #news-list.t8f4-nlist>li.news-item>div>.news-tag{grid-column:1!important;grid-row:2!important;margin:0!important;align-self:start}
  html body main#main #news-list.t8f4-nlist>li.news-item>.t8-news-thumb{grid-column:2!important;grid-row:1/span 2!important;align-self:start}
  html body main#main #news-list.t8f4-nlist>li.news-item>div>h3{grid-column:1/-1!important;grid-row:3!important;margin:var(--s2,8px) 0 0!important}
  html body main#main #news-list.t8f4-nlist>li.news-item>div>*:not(.news-tag):not(h3){grid-column:1/-1!important}
  html body main#main #news-list.t8f4-nlist>li.news-item.t8f4b-nothumb>time,html body main#main #news-list.t8f4-nlist>li.news-item.t8f4b-nothumb>div>.news-tag{grid-column:1/-1!important}
}
/* J4b-10 corporate and governance items have no thumbnail (no label tiles): the text takes the thumbnail column */
@media (min-width:601px){html body main#main #news-list.t8f4-nlist>li.news-item.t8f4b-nothumb>div{grid-column:2/-1!important}}

/* H4-03 posted line: its own line under the date/title, never run together */
html body main#main .t8f4-nlist .t8-news-dates{display:block}
/* H4-17 milestone line stays inside the wrap; H4-01/W7-21 owner shell hides cap-only milestones */
html body main#main section[aria-labelledby="news-ms-h"] .t8-ms-list>li::after{right:0!important}
html.t8s-owner body main#main #milestones .t8-ms-list>li.t8-cap-only{display:none!important}
@media (min-width:1000px) and (max-width:1199px){
  html body main#main #milestones.t8-ms .t8-ms-list,html.t8s-owner body main#main #milestones.t8-ms .t8-ms-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* disclosure practice facts: label above text below 1200 so the text column is not squeezed */
@media (max-width:1199px){
  html body main#main section[aria-labelledby="news-practice-h"] dl.facts>div:not(.t8-cap-only){display:block!important}
  html body main#main section[aria-labelledby="news-practice-h"] dl.facts dd{margin:4px 0 0!important}
}
/* J4b-04 excerpt clamp: 3 full lines with an ellipsis (no column trick, no blank third line) */
html body main#main #news-list>.news-item>div>p:not(.news-tag):not(.news-more):not(.t8-news-dates):not(.t8-cap-only){display:-webkit-box!important;-webkit-line-clamp:3!important;line-clamp:3;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:none!important;height:auto!important;columns:auto!important;-webkit-mask-image:none!important;mask-image:none!important}

html body main#main #news-list>.news-item>div>p.t8-news-dates{-webkit-line-clamp:none!important;overflow:visible!important;display:block!important}

/* ---------- portfolio/ami-glendale ---------- */
/* H4-14 (1280 length): site-visit gallery in three columns (video full width, then 3 + 1 photo with the panorama) */
@media (min-width:900px){
  html body main#main #ami-site-photos .t8-gallery{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html body main#main #ami-site-photos .t8-gallery>li{grid-column:span 2!important}
  html body main#main #ami-site-photos .t8-gallery>li:first-child{grid-column:1/-1!important}
  html body main#main #ami-site-photos .t8-gallery>li:last-child{grid-column:span 4!important}
  html body main#main #ami-site-photos .t8-gallery>li:not(:first-child) img{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}
  html body main#main #ami-site-photos .t8-gallery>li:last-child img{aspect-ratio:2.71}
}

/* ---------- H4-16 one stage system: one current marker per row; "Maintain" is a standing "Ongoing" badge ---------- */
html body main#main .pill.pill--standing{color:var(--text-2)}
html body main#main .pill.pill--standing::before{background:transparent;border:2px solid var(--info);box-sizing:border-box}
html body main#main .t8f4b-nw{white-space:nowrap}
@media (max-width:420px){html body main#main .t8f4b-nw{white-space:normal}}
html body main#main .t8-lad-t tbody td.t8f4b-std{border-top-style:dashed}
html body main#main .t8-lad-t tbody td.t8f4b-std .t8-lad-st{color:var(--text-2)}
/* phone ladder: steps not yet reached collapse into one "03–05 · Not reached" row (buckingham) */
html body main#main .t8-lad-t td.t8f4b-ladc{display:none!important}
@media (max-width:600px){
  html body main#main .t8-lad-t td.t8f4b-ladx{display:none!important}
  html body main#main .t8-lad-t td.t8f4b-ladc{display:block!important}
}

/* H4-14 phone folds (t8-f4b.js wraps [data-t8f4b-fold] in details.t8f4b-fold at 600 px and below) */
html body main#main details.t8f4b-fold{border:1px solid var(--line);border-radius:var(--radius,8px);margin-block:var(--s4,16px);background:var(--navy-raised,rgba(255,255,255,.03))}
html body main#main details.t8f4b-fold>summary{cursor:pointer;padding:14px 16px;font-weight:600;color:var(--text);list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px;box-sizing:border-box}
html body main#main details.t8f4b-fold>summary::-webkit-details-marker{display:none}
html body main#main details.t8f4b-fold>summary::after{content:"+";font-size:1.25rem;line-height:1;color:var(--gold)}
html body main#main details.t8f4b-fold[open]>summary::after{content:"\2212"}
html body main#main details.t8f4b-fold>:not(summary){margin:0 16px 16px!important}
@media (max-width:600px){
  /* AMI site-visit photos: drone clip full width, then the photos two to a row (panorama full width) */
  html body main#main #ami-site-photos{min-width:0;max-width:100%;width:100%;align-self:stretch;box-sizing:border-box}
  html body main#main #ami-site-photos .t8-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important}
  html body main#main #ami-site-photos .t8-gallery>li{grid-column:span 1!important;margin:0!important}
  html body main#main #ami-site-photos .t8-gallery>li:first-child,html body main#main #ami-site-photos .t8-gallery>li:last-child{grid-column:1/-1!important}
  html body main#main #ami-site-photos .t8-gallery>li:not(:first-child):not(:last-child) img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
  html body main#main #ami-site-photos .t8-gallery>li:not(:first-child):not(:last-child) figcaption{font-size:.875rem!important;line-height:1.4!important;margin-top:6px}
  /* fact lists: label above text, so the text is not squeezed into a narrow column */
  html body main#main #ami-technical dl.facts>div,html body main#main #ami-overview dl.facts>div{display:block!important}
  html body main#main #ami-technical dl.facts dd,html body main#main #ami-overview dl.facts dd{margin:4px 0 0!important}
}
/* H4-21 AMI sticky fact boxes: not sticky below 1200 (they are taller than the space under the header and sub-menu) */
@media (max-width:1199px){
  html body main#main #ami-location .split>.stack,html body main#main #ami-technical .split>.stack,html body main#main #ami-technical dl.facts.t8f4-box{position:static!important;top:auto!important}
}

/* heading column beside text: stacked above the text below 1200, a 20rem column at 1200+ (G11: long H2s were squeezed) */
@media (min-width:1000px) and (max-width:1199px){
  html body main#main .t8f4-h2col>.eyebrow,html body main#main .t8f4-h2col>h2,html body main#main .t8f4-h2col>h3,html body main#main .t8f4-h2col>.section-head{float:none!important;width:auto!important;max-width:none!important}
  html body main#main .t8f4-h2col>h2,html body main#main .t8f4-h2col>h3,html body main#main .t8f4-h2col>.section-head{margin-bottom:var(--s4,16px)!important}
  html body main#main .t8f4-h2col>*:not(.eyebrow):not(h2):not(h3):not(.section-head){margin-left:0!important}
}
@media (min-width:1200px){
  html body main#main .t8f4-h2col>.eyebrow,html body main#main .t8f4-h2col>h2,html body main#main .t8f4-h2col>h3,html body main#main .t8f4-h2col>.section-head{width:20rem!important}
  html body main#main .t8f4-h2col>h2{font-size:clamp(1.5rem,1rem + .9vw,2rem)!important}
  html body main#main .t8f4-h2col>*:not(.eyebrow):not(h2):not(h3):not(.section-head){margin-left:calc(20rem + var(--s6))!important}
}
/* AMI at 601-1199: technical text and facts box one above the other (the box is taller than the text); facts label over text */
@media (min-width:601px) and (max-width:1199px){
  html body main#main #ami-technical>.wrap.split.t8f4-2c{grid-template-columns:minmax(0,1fr)!important;display:grid!important}
}
@media (min-width:601px) and (max-width:1099px){html body main#main #ami-terms ol.t8f4-ami__steps{grid-template-columns:minmax(0,1fr)!important}}
/* field video: text runs the full column so it is not much taller than the clip */
@media (min-width:1024px){html body main#main #ami-field-video>.t8-field-body,html body main#main #ami-field-video>.t8-field-body>*{max-width:none!important}}

/* ---------- portfolio/index ---------- */
@media (max-width:600px){html body main#main #port-index td .pill{white-space:normal;max-width:100%;text-align:left;line-height:1.35;height:auto}}

/* ---------- media-kit (H4-21 / W5-23) ---------- */
html body main#main .t8-mk-grid>li.t8-mk-photo{display:flex!important;flex-direction:column}
html body main#main .t8-mk-grid>li.t8-mk-photo>img{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}
html body main#main .t8-mk-grid>li.t8-mk-photo>.t8-mk-dl{margin-top:auto!important;padding-top:var(--s3,12px)}
html body main#main section[aria-labelledby="mk-photos-h"] .t8-mk-grid~p.fine{max-width:none!important;width:100%}
html body main#main p.t8-feed-meta a{display:inline!important}
/* H4-19 AMI program article: the reimbursement sentence as a callout */
html body main#main .t8-article-body .t8f4b-callout{margin-block:var(--s5,24px)}
html body main#main .t8-article-body .t8f4b-callout>p{margin:0}
/* careers: four role cards two to a row below 1200 (text column was under 200 px at 1100) */
@media (min-width:601px) and (max-width:1199px){html body main#main #car-who .review-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* approach: the claim-types source note runs the full width under its table */
html body main#main #ap-what .table-wrap+p.fine{max-width:none!important}
/* AMI 601-1199: the technical text in two newspaper columns, so the single-column layout leaves no empty right side */
@media (min-width:601px) and (max-width:1199px){
  html body main#main #ami-technical>.wrap.split>.stack .prose{columns:2;column-gap:var(--s6,32px);max-width:none!important}
  html body main#main #ami-technical>.wrap.split>.stack .prose>*{max-width:none!important;break-inside:avoid-column}
}
/* AMI field clip (portrait): a wider video column so the clip and its text end close together */
@media (min-width:1024px){html body main#main #ami-field-video.t8-field{grid-template-columns:minmax(0,22.5rem) minmax(0,1fr)!important}html body main#main #ami-field-video>video{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important}}
html body main#main .t8-article-body .t8f4b-callout{border:1px solid var(--line)!important;border-left:3px solid var(--gold)!important;border-radius:var(--radius,8px);background:var(--navy-raised,rgba(255,255,255,.03));padding:16px 20px!important}
html body main#main .t8-article-body .t8f4b-callout>p{font-size:inherit!important;line-height:inherit;max-width:none!important;color:var(--text)}

/* ---------- J4b (fix plan 4) ---------- */
/* J4b-09 pathway ladder: the cell shows the state only; the note runs full width under the row */
html body main#main .t8f4b-ladline{margin:var(--s3,12px) 0 0;font-size:.875rem;line-height:1.45;color:var(--text-2);max-width:none}
html body main#main .t8f4b-ladline .t8f4b-ladk{font-weight:600;color:var(--text);margin-right:.5em}
/* J4b-06 AMI shortcuts: no empty slot where the capital-only "Key figures" door is hidden; owner band starts 48 px under the sub-menu */
html body main#main #ami-overview .t8-doors li.t8-cap-only[hidden],html.t8s-owner body main#main #ami-overview .t8-doors li.t8-cap-only{display:none!important;margin:0!important}
@media (min-width:600px){html.t8s-owner body main#main #ami-overview .t8-doors ul{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:599px){html.t8s-owner body main#main #ami-overview .t8-doors li:last-child{grid-column:1/-1}}
html.t8s-owner body main#main #ami-overview{padding-top:48px!important}
/* J4b-06 / X5-22 AMI technical facts box: sticky under the header and sub-menu without being cut off */
@media (min-width:1200px){html body main#main #ami-technical dl.facts.t8f4-box{top:96px!important}}
/* J4b-07 AMI hero: the photo caption sits in the bottom 16 px of the image, clear of the pill row */
@media (min-width:601px){html body main#main [data-page="ami"] .page-head--photo>.wrap>.cluster{margin-bottom:24px}}
/* OR1 news milestones eyebrow: on phones the date drops to its own line (no lone first word, no line-end separator) */
@media (max-width:600px){html body main#main .t8f4b-sep{display:none}html body main#main .t8f4b-sd{display:block}}
/* J4b-03 owner shell: the news end band (only a lone "Media inquiry" button there) is hidden */
html.t8s-owner body main#main section.t8-endcta.t8-cap-only{display:none!important}
/* J4b-10 article heroes at 375: no blank band under the H1 */
@media (max-width:600px){html body main#main .t8-article-head.page-head--photo,html body main#main .page-head.t8-article-head{min-height:0!important}}
/* J4b-08 AMI terms: the cap notice as a list of its own sentences, two subheads from existing phrases (desktop and phone) */
html body main#main .t8f4b-bul{margin:var(--s2,8px) 0 0;padding-left:1.25em;display:grid;gap:var(--s2,8px)}
html body main#main .t8f4b-bul>li{margin:0;padding-left:.15em}
html body main#main .t8f4b-bul>li::marker{color:var(--gold)}
html body main#main h3.t8f4b-sub{font-size:1.125rem;line-height:1.3;margin:var(--s6,24px) 0 var(--s2,8px)}
html body main#main .prose>h3.t8f4b-sub:first-child{margin-top:var(--s4,16px)}
/* J4b-08 phones: in-place folds (t8-f4b.js moves the block's own heading or notice label into the summary) */
html body main#main details.t8f4b-foldin>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}
html body main#main details.t8f4b-foldin>summary::-webkit-details-marker{display:none}
html body main#main details.t8f4b-foldin>summary::after{content:"+";font-size:1.25rem;line-height:1;color:var(--gold);flex:none}
html body main#main details.t8f4b-foldin[open]>summary::after{content:"\2212"}
html body main#main details.t8f4b-foldin>summary>h3,html body main#main details.t8f4b-foldin>summary>.notice-label{margin:0!important}
html body main#main details.t8f4b-foldin[open]>summary{margin-bottom:var(--s3,12px)}
/* J4b-10 Oct 13 article: two-column fact table from the article's own text */
html body main#main .t8f4b-ft{margin:0 0 var(--s6,24px)}
html body main#main .t8f4b-ft table.data{width:100%}
html body main#main .t8f4b-ft th[scope="row"]{width:34%;text-align:left;vertical-align:top;font-weight:600;color:var(--text);white-space:normal}
html body main#main .t8f4b-ft td{vertical-align:top}
@media (max-width:600px){html body main#main .t8f4b-ft th[scope="row"]{width:38%}}
/* J4b-10 AMI program article: the program's stages as a step list (stage 1 marked Underway) */
html body main#main ol.t8f4b-stages{list-style:none;margin:var(--s6,24px) 0;padding:0;display:grid;gap:0;counter-reset:none;border-left:2px solid var(--line)}
html body main#main ol.t8f4b-stages>li{position:relative;margin:0;padding:0 0 var(--s5,20px) var(--s5,20px)}
html body main#main ol.t8f4b-stages>li:last-child{padding-bottom:0}
html body main#main ol.t8f4b-stages>li::before{content:"";position:absolute;left:-7px;top:.45em;width:12px;height:12px;border-radius:50%;background:var(--navy,#0b1a2b);border:2px solid var(--line)}
html body main#main ol.t8f4b-stages>li.is-now::before{background:var(--gold);border-color:var(--gold)}
html body main#main .t8f4b-stages__h{margin:0 0 var(--s2,8px);display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body main#main .t8f4b-stages__d{margin:0;color:var(--text-2)}
/* J4b-16 Follow band after sign-up: the confirmation card is centred in the column and two existing next links sit under it */
html body main#main .t8-news-follow .form-success{align-self:center}
html body main#main .t8f4b-okmore{display:none;margin:var(--s4,16px) 0 0;gap:var(--s3,12px) var(--s6,24px);flex-wrap:wrap;justify-content:center}
html body main#main .form-success:not([hidden])+.t8f4b-okmore{display:flex}
@media (max-width:600px){
  html body main#main .t8f4b-ft.table-wrap{overflow:visible!important}
  html body main#main .t8f4b-ft table.data{min-width:0!important;display:block}
  html body main#main .t8f4b-ft table.data>tbody{display:block}
  html body main#main .t8f4b-ft table.data tr{display:block;padding:12px 16px;border-bottom:1px solid var(--line)}
  html body main#main .t8f4b-ft table.data tr:last-child{border-bottom:0}
  html body main#main .t8f4b-ft table.data th[scope="row"],html body main#main .t8f4b-ft table.data td{display:block;width:auto!important;padding:0!important;border:0!important}
  html body main#main .t8f4b-ft table.data th[scope="row"]{background:none!important;margin-bottom:4px;font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--gold)}
}
/* G6v2 Follow band on wide screens: the form sits level with the middle of the text column (no empty lower-right block) */
@media (min-width:1000px){html body main#main section.t8-news-follow>.wrap.split{align-items:center}html body main#main section.t8-news-follow>.wrap.split>*{align-self:center!important}}
/* J4b-16 (F3): after sign-up the card and its two links sit at the foot of the form column, level with the end of the text column */
@media (min-width:1000px){html body main#main .t8-okhold:has(>#news-alerts-success:not([hidden])){justify-content:flex-end!important}}
/* G1 portfolio "What the figures mean": label above the text (a side label column left 160 px of empty space) */
html body main#main #port-figures .notice.notice--risk{display:block!important}
html body main#main #port-figures .notice.notice--risk>.notice-label{margin-bottom:var(--s2,8px)}
/* TW1-scroll portfolio index table below 1200 px: each claim group becomes a card, no sideways scroll */
@media (max-width:1199px){
  html body main#main table.t8f4b-pft{min-width:0!important;width:100%;display:block}
  html body main#main table.t8f4b-pft>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  html body main#main table.t8f4b-pft>tbody{display:grid;gap:var(--s4,16px)}
  html body main#main table.t8f4b-pft tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3,12px) var(--s5,20px);padding:var(--s5,20px);border:1px solid var(--line);border-radius:var(--radius,8px);background:var(--navy-raised,rgba(255,255,255,.03))}
  html body main#main table.t8f4b-pft tr>th[scope="row"]{grid-column:1/-1;padding:0!important;border:0!important;background:none!important;font-size:1.125rem}
  html body main#main table.t8f4b-pft tr>td{display:block;padding:0!important;border:0!important;background:none!important;min-width:0}
  html body main#main table.t8f4b-pft tr>td::before{content:attr(data-label);display:block;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3,var(--text-2));margin-bottom:4px}
  html body main#main table.t8f4b-pft tr>td:last-child{grid-column:span 2}
  html body main#main .t8-tshell:has(table.t8f4b-pft)>.t8-thint{display:none!important}
}
@media (max-width:600px){html body main#main table.t8f4b-pft tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body main#main table.t8f4b-pft tr>td:last-child{grid-column:1/-1}}
@media (max-width:600px){html body main#main table.t8f4b-pft tr>td[data-label="Stage"]{grid-column:1/-1}html body main#main table.t8f4b-pft tr>td[data-label="Stage"] .pill{white-space:nowrap}}
html.t8s-owner body main#main #news-list>.news-item>div>p.t8-cap-only{display:none!important}
/* news list at 601+: "Read the update" sits at the right edge of the item, clear of the clamped excerpt's hidden lines (G10) */
@media (min-width:601px){html body main#main #news-list>.news-item>div>p.news-more{text-align:right}}
/* J4b-12 media kit "Media questions": heading left, the contact lines and the button right (no empty half once the second portrait is gone) */
html body main#main .t8f4b-mkc{display:grid;gap:var(--s5,20px)}
html body main#main .t8f4b-mkc .cluster{margin-top:var(--s3,12px)}
@media (min-width:900px){html body main#main .t8f4b-mkc{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--s7,48px);align-items:start}}
/* G1 media kit "About": below 1200 px the Name and style card sits under the description (two uneven columns left a 160 px hole) */
@media (max-width:1199px){html body main#main .t8f4-mkabout{display:grid!important;grid-template-columns:minmax(0,1fr)!important}html body main#main .t8f4-mkabout>*{grid-column:1/-1!important}}
/* TW1-scroll Corrections tables 601-1000 px: fixed columns that fit the page (long page paths wrap inside their cell) */
@media (min-width:601px) and (max-width:1000px){html body main#main[id] .t8-tshell table.data.data--cards{table-layout:fixed;min-width:0!important;width:100%}}
/* OR1 portfolio "how we add claims" card eyebrows 900-1199: one line (Structured interests was 9 px too wide) */
@media (min-width:1000px) and (max-width:1199px){html body main#main #port-growth .grid-3>.card>p.eyebrow{font-size:1rem!important;letter-spacing:.06em!important;white-space:nowrap}}
/* G6v2 claim-group end band: the contact card is centred against the two left blocks (it hung at the bottom, leaving the top right empty) */
@media (min-width:1000px){html body main#main section.t8-endcta .t8f4-endsplit>.t8f4-ronc{align-self:center!important}}
html body main#main #news-list span.t8f4b-tail{display:none!important}
/* Corrections tables 601-1000 px: each correction is a card (label above each text), so long quotes and page paths wrap at spaces */
@media (min-width:601px) and (max-width:1000px){
  html body main#main[id] .t8-tshell:has(caption) table.data.data--cards{display:block}
  html body main#main[id] .t8-tshell table.data.data--cards>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  html body main#main[id] .t8-tshell table.data.data--cards>tbody{display:grid;gap:var(--s4,16px)}
  html body main#main[id] .t8-tshell table.data.data--cards tr{display:grid;gap:var(--s3,12px);padding:var(--s5,20px);border:1px solid var(--line);border-radius:var(--radius,8px)}
  html body main#main[id] .t8-tshell table.data.data--cards td,html body main#main[id] .t8-tshell table.data.data--cards th{display:block;padding:0!important;border:0!important;width:auto!important}
  html body main#main[id] .t8-tshell table.data.data--cards td:first-child{font-weight:600;color:var(--text)}
  html body main#main[id] .t8-tshell table.data.data--cards td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-2);margin-bottom:4px}
  html body main#main[id] .t8-tshell:has(table.data.data--cards)>.t8-thint{display:none!important}
}

/* ---------- K4b (fix plan 5) ---------- */
/* K4b-05/K4b-08 phones: one fold style on AMI. Risk notices keep their notice box and warning colour; the closed summary is legal's
   "Risk: ..." sentence in the bold fold label style. Plain folded blocks get the bold-box look of details.t8f4b-fold. */
@media (max-width:600px){
  html body main#main details.t8f4b-foldin.t8f4b-foldrisk>summary>.notice-label{text-transform:none!important;letter-spacing:0!important;font-size:1.0625rem!important;line-height:1.4!important;font-weight:600!important;font-family:inherit!important;color:var(--warn)!important}
  html body main#main details.t8f4b-foldin.t8f4b-foldrisk>summary::after{color:var(--warn)}
  html body main#main [data-t8f4b-foldin]:not(li):not(.notice)>details.t8f4b-foldin{border:1px solid var(--line);border-radius:var(--radius,8px);background:var(--navy-raised,rgba(255,255,255,.03));margin-block:var(--s4,16px)}
  html body main#main [data-t8f4b-foldin]:not(li):not(.notice)>details.t8f4b-foldin>summary{padding:14px 16px;box-sizing:border-box}
  html body main#main [data-t8f4b-foldin]:not(li):not(.notice)>details.t8f4b-foldin>summary>h3{font-family:inherit!important;font-size:1.125rem!important;line-height:1.35!important;font-weight:600!important;letter-spacing:0!important}
  html body main#main [data-t8f4b-foldin]:not(li):not(.notice)>details.t8f4b-foldin>:not(summary){margin:0 16px 16px!important}
  html body main#main [data-t8f4b-foldin]:not(li):not(.notice)>details.t8f4b-foldin[open]>summary{margin-bottom:0}
  /* K4b-08: numbered cards drop the 44 px number gutter; the number sits inline before the heading */
  html body main#main .t8f4-nrows{margin-inline:-4px}
  html body main#main .t8f4-nrows>li{padding:16px 12px!important}
  html body main#main .t8f4-nrows>li::before{position:static!important;float:left;margin:0 10px 0 0;font-size:1.125rem;line-height:1.3}
  html body main#main .t8f4-nrows>li>details.t8f4b-foldin>summary{display:block!important;position:relative;padding-right:28px}
  html body main#main .t8f4-nrows>li>details.t8f4b-foldin>summary::after{position:absolute;right:0;top:2px}
  /* K4b-07: facts boxes stack each label above its value on phones (AMI and Buckingham) */
  html body main#main dl.facts.t8f4-box.t8f4-box.t8f4-box>div{grid-template-columns:minmax(0,1fr)!important;row-gap:2px}
}
@media print{html body main#main details.t8f4b-foldin>summary::after,html body main#main details.t8f4b-fold>summary::after{content:none}}
/* K4b-07: Buckingham "Sequence of work": each step is a flex column so the status pills sit level on the bottom row */
@media (min-width:601px){
  html body main#main .t8-irp ol.stages>li.stage{display:flex!important;flex-direction:column}
  html body main#main .t8-irp ol.stages>li.stage>.pill{margin-top:auto!important;align-self:flex-start}
  html body main#main .t8-irp ol.stages>li.stage>p{margin-bottom:var(--s3,12px)}
}
/* K4b-10: portfolio "How to read the portfolio": definitions in a two-column grid read row by row, so both columns end together */
@media (min-width:761px){
  html body main#main #port-figures dl.facts.facts{columns:auto!important;column-count:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:var(--s7,48px)!important;align-items:stretch}
  html body main#main #port-figures dl.facts.facts>div{break-inside:auto;margin:0!important}
}
/* K4b-11: AMI hero pills stay on one line at 1100+ (owner shell has the narrower text column beside the photo) */
@media (min-width:1100px){
  html body main#main [data-page="ami"] .page-head .cluster:has(>.pill){flex-wrap:nowrap!important;gap:8px!important}
  html body main#main [data-page="ami"] .page-head .cluster>.pill{font-size:.875rem!important;letter-spacing:.06em!important;white-space:nowrap}
}
@media (min-width:1100px) and (max-width:1279px){html body main#main [data-page="ami"] .page-head .cluster>.pill{font-size:.8125rem!important;letter-spacing:.04em!important;padding-inline:10px!important}}
/* K4b-13: approach "Portfolio management" cards: the shorter "Prioritization" card gets the narrower column so both end together */
@media (min-width:800px){html body main#main .t8f4-apd>.t8f4-apd__cards{grid-template-columns:minmax(0,4fr) minmax(0,7fr)!important}}
/* K4b-15 media kit: the plaque logo (the kit's subject) fills the hero's right column at 1024+; hidden below */
html body main#main [data-page="media"] .t8f4b-mkplaque{display:none}
@media (min-width:1024px){
  html body main#main [data-page="media"]>.page-head>.wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--s7,48px);align-items:center}
  html body main#main [data-page="media"]>.page-head>.wrap>*:not(.t8f4b-mkplaque){grid-column:1}
  html body main#main [data-page="media"] .t8f4b-mkplaque{display:block;grid-column:2;grid-row:1/span 6;justify-self:end;margin-right:clamp(0px,6vw,120px)}
  html body main#main [data-page="media"] .t8f4b-mkplaque img{width:160px;height:auto;display:block}
}
/* K4b-15 media kit: corporate milestones, a dated list in two columns */
html body main#main .t8f4b-mkms{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0 var(--s7,48px)}
@media (min-width:800px){html body main#main .t8f4b-mkms{display:block;columns:2;column-gap:var(--s7,48px)}html body main#main .t8f4b-mkms>li{break-inside:avoid}}
html body main#main .t8f4b-mkms>li{margin:0;max-width:none;border-top:1px solid var(--line)}
html body main#main .t8f4b-mkms>li>a{display:grid;grid-template-columns:11.5rem minmax(0,1fr);gap:4px 16px;padding:12px 0;color:var(--text);text-decoration:none;min-height:44px;box-sizing:border-box}
html body main#main .t8f4b-mkms>li>a:hover .t8f4b-mkms-t,html body main#main .t8f4b-mkms>li>a:focus-visible .t8f4b-mkms-t{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:.18em}
html body main#main .t8f4b-mkms time{color:var(--gold);font-weight:600;white-space:nowrap}
@media (max-width:600px){html body main#main .t8f4b-mkms>li>a{grid-template-columns:minmax(0,1fr)}}
/* K4b-16 mining companies: the "How we work…" grid never grows past the window (320 px phones) */
html body main#main [data-page="mining-companies"] .t8f4-endgrid{grid-template-columns:minmax(0,1fr)}
@media (min-width:1000px){html body main#main [data-page="mining-companies"] .t8f4-endgrid{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
html body main#main [data-page="mining-companies"] .t8f4-endgrid>*,html body main#main [data-page="mining-companies"] .t8f4-ronc>div{min-width:0}
html body main#main [data-page="mining-companies"] .t8f4-ronc a{overflow-wrap:anywhere}
/* K4b-16 compact hero (no image): at most 360 px tall at 1280 */
@media (min-width:1024px){html body main#main [data-page="mining-companies"]>.page-head{padding-block:var(--s7,48px) var(--s6,40px)}}
/* K4b-06: the Buckingham portfolio card keeps one count line under its status pills (the repeated sentence above it was removed) */
html body main#main .t8f4-acard .t8f4b-cnt{display:block;margin-top:var(--s2,8px);color:var(--text-2)}
/* AMI technical work: "Who does the technical work" now sits in the left column under the program text (fills the column beside the facts box) */
html body main#main #ami-technical .t8f4b-who{margin-top:var(--s6,40px)}
html body main#main #ami-technical .t8f4b-who>h3{margin:0}
/* K4b-14: news "Corporate milestones" now holds 14 items (9 in the owner shell): five per row from 1000 px in every shell, so no row ends with a lone item */
@media (min-width:1200px){html body main#main section#milestones ol.t8-ms-list.t8-ms-list{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
/* media kit "About": the short version sits as its own card above "Name and style"; equal columns so both sides end together */
@media (min-width:1000px){html body main#main [data-page="media"] .t8f4-mkabout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
html body main#main [data-page="media"] .t8f4b-mkr{gap:var(--s4,16px)}
html body main#main [data-page="media"] .t8f4b-mkshort p{margin:0;max-width:none}
@media (min-width:1200px){html body main#main #ami-technical>.wrap.split.t8f4-2c{grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important}}
@media (min-width:1000px) and (max-width:1199px){html:not(.t8s-owner) body main#main section#milestones ol.t8-ms-list>li:last-child{grid-column:span 2}}
@media print{html body main#main details.t8f4b-foldin::details-content,html body main#main details.t8f4b-fold::details-content{content-visibility:visible!important;display:block!important;height:auto!important}}

/* K6-G media kit: officer portraits (4 cards: 4 across >=1024, 2 across below) */
.t8-mk-porgrid{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1024px){.t8-mk-porgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.t8-mk-por{display:flex;flex-direction:column;gap:8px}
.t8-mk-por>img{display:block;width:100%;max-width:240px;height:auto;aspect-ratio:240/298;object-fit:cover;border-radius:8px;margin:0 auto 4px}
.t8-mk-por .t8-mk-por__n{margin:0;font-weight:600;line-height:1.35}
.t8-mk-por .fine{margin:0}
.t8-mk-por>.t8-mk-dl{margin-top:auto;padding-top:8px}
@media (max-width:599.98px){.t8-mk-porgrid{grid-template-columns:minmax(0,1fr);gap:12px}.t8-mk-por{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:16px;row-gap:4px;align-items:start;padding:16px}.t8-mk-por>img{grid-row:1 / span 3;width:88px;margin:0}.t8-mk-por>.t8-mk-dl{margin-top:0;padding-top:4px;justify-self:start}}
/* L1 media-kit: "Illustrated portrait" label under each officer name; usage line under the grid */
.t8-mk-por .t8-mk-por__k{color:var(--gold,#c9a24a);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:600}
.t8-mk-por__use{margin:0;max-width:72ch}
@media (max-width:599.98px){.t8-mk-por>img:not(#t8-x){grid-row:1 / span 4}}
