/* ===========================================================================
   AL-SAEED ECONOMIC GROUP  —  pages/p-news-details.css
   ---------------------------------------------------------------------------
   News detail. The thirteenth distinct visual key:
     Home             teal filled eyebrow, expanding six-panel strip
     About            gold filled eyebrow, timeline on one rule
     Chairman         gold-on-dark eyebrow, letter on the dark ground
     Leadership       outlined eyebrow, portrait grid with no card boxes
     Sectors          rule-and-label eyebrow, alternating full-width rows
     Sector detail    dark filled eyebrow pill, one page as a tab set
     Companies        underlined eyebrow, filterable directory of crest cards
     Projects         vertical bar eyebrow, staggered grid, caption plates
     Project detail   bracketed eyebrow, long-form copy beside a sticky rail
     Global Presence  flanking rules, two-column evidence comparison
     Sustainability   diamond marker, quadrant and an empty report table
     News             highlighter band, front page and a date-first archive
     News detail      CORNER TICKS - four short crop marks at the corners of
                      the label, no full border anywhere - and the page is the
                      only one on the site that does NOT open with the dark
                      banner: an article opens with its own headline on white,
                      as an article should. Its body is a measured reading
                      column with BREAKOUTS - a lead image, a pull quote and
                      an inline figure that each run wider than the text.

   Breaking out of the measure is the new spatial device. Every other page on
   this site keeps its content inside one container width; here the text sits
   in a 68ch column and three elements deliberately escape it, which is what
   gives a long read its rhythm.

   Project detail also sets long-form copy, but beside a sticky data rail and
   under the standard banner - the two pages do not read alike.
   =========================================================================== */

.page-news-details{
  --eyebrow-fg:var(--teal-dp);
  --page-bg:var(--white);
  /* the reading measure, and the width the breakouts escape to */
  --measure:68ch;
}

/* The thirteenth eyebrow treatment: crop marks. Four corners, each a short
   horizontal tick and a short vertical one, and no continuous edge anywhere -
   which is what separates it from the outlined pill on Leadership and from
   the square brackets on Project detail. Drawn as eight background layers in
   one declaration rather than with pseudo-elements: two pseudo-elements can
   only reach two corners between them, and mixing the two mechanisms to get
   the other two left the rule contradicting itself. Symmetric, so it needs
   no [dir] override. */
.page-news-details .eyebrow{
  box-shadow:none;border:0;border-radius:0;
  padding:.4375rem .625rem;
  color:var(--eyebrow-fg);
  background:
    linear-gradient(var(--gold),var(--gold)) left 0 top 0/.4375rem .09375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) left 0 top 0/.09375rem .4375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) right 0 top 0/.4375rem .09375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) right 0 top 0/.09375rem .4375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) left 0 bottom 0/.4375rem .09375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) left 0 bottom 0/.09375rem .4375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) right 0 bottom 0/.4375rem .09375rem no-repeat,
    linear-gradient(var(--gold),var(--gold)) right 0 bottom 0/.09375rem .4375rem no-repeat;
}
.page-news-details .eyebrow--onDark{color:var(--gold-lt)}

/* ---------------------------------------------------------------------------
   THE ARTICLE HEAD — on white, no banner
   --------------------------------------------------------------------------- */
/* The only page on the site with no banner, so it has to clear the header
   itself: the header is position:absolute at top:--header-gap and is
   --header-h tall, and the rest is the breathing space a headline wants. */
.story-head{
  background:var(--white);
  padding-top:calc(var(--header-gap) + var(--header-h) + clamp(2.5rem,1.5rem + 4vw,4.5rem));
  padding-bottom:clamp(2rem,1.5rem + 2vw,3rem);
}
.story-head__inner{max-width:var(--measure);margin-inline:auto}
.story-head .crumbs{margin-bottom:var(--s-3)}
/* the crumbs live on white here rather than over a photograph, so they need
   the ink palette instead of the on-dark one core.css gives them */
.story-head .crumbs{color:var(--muted)}
.story-head .crumbs a{color:var(--muted)}
.story-head .crumbs a:hover{color:var(--gold-dk)}
.story-head .crumbs [aria-current="page"]{color:var(--ink-2)}
.story-head .crumbs li + li::before{background:var(--line)}

.story-head__title{
  margin:var(--s-2) 0 0;
  font-size:var(--fs-h1);line-height:1.05;color:var(--ink);
}
.story-head__standfirst{
  margin:var(--s-3) 0 0;
  font-size:var(--fs-lg);color:var(--ink-2);
}

/* the byline bar: everything the story is filed under, on one hairline */
.byline{
  display:flex;flex-wrap:wrap;align-items:center;
  gap:.75rem var(--s-2);
  margin:var(--s-4) 0 0;
  padding-block:var(--s-2);
  border-top:.0625rem solid var(--line);
  border-bottom:.0625rem solid var(--line);
}
.byline__key{
  font-size:var(--fs-xs);font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--muted);
}
.byline__pair{display:inline-flex;align-items:center;gap:.5rem}

/* ---------------------------------------------------------------------------
   THE BODY, AND THE THINGS THAT BREAK OUT OF IT
   ---------------------------------------------------------------------------
   A three-track grid: a centre track at the reading measure and a flexible
   track either side. Everything lands in the centre by default; anything
   carrying .breakout spans all three.
   --------------------------------------------------------------------------- */
.story{background:var(--white)}
.story__body{
  display:grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(0,var(--measure))
    minmax(0,1fr);
  row-gap:var(--s-2);
}
.story__body > *{grid-column:2}
.story__body > .breakout{grid-column:1 / -1;margin-block:var(--s-4)}
/* a narrower escape, for a figure that should read as an aside rather than as
   a full-width plate */
.story__body > .breakout--half{
  grid-column:1 / -1;
  max-width:min(52rem,100%);
  margin-inline:auto;
}

.story__body p{margin:0;color:var(--muted)}
.story__body h2{
  margin:var(--s-4) 0 var(--s-1);
  font-size:var(--fs-h3);color:var(--ink);
}
.story__body h3{
  margin:var(--s-3) 0 0;
  font-size:var(--fs-h4);color:var(--ink);
}

/* the pull quote: it breaks out, and it is the only place on the page that
   uses the display size */
.pull{
  margin:0;padding-block:var(--s-2);
  border-top:.1875rem solid var(--gold);
  border-bottom:.1875rem solid var(--gold);
  text-align:center;
}
.pull p{
  margin:0;
  font-family:var(--ff-head, inherit);font-weight:700;
  font-size:clamp(1.375rem,1.1rem + 1.6vw,2.125rem);
  line-height:1.2;color:var(--ink);
}
.pull cite{
  display:block;margin-top:var(--s-2);
  font-style:normal;font-size:var(--fs-sm);color:var(--muted);
}

.figure-slot{margin:0}
.figure-slot figcaption{
  margin-top:.75rem;
  font-size:var(--fs-sm);color:var(--muted);text-align:center;
}

/* ---------------------------------------------------------------------------
   RELATED STORIES
   ---------------------------------------------------------------------------
   Date-first, like the News archive, because these are the same content type
   and a reader should not have to learn two ways of reading a story card.
   --------------------------------------------------------------------------- */
.related{background:var(--cream)}
.related__list{
  display:grid;gap:var(--gutter);
  grid-template-columns:1fr;
  margin:clamp(1.75rem,1.25rem + 2vw,2.5rem) 0 0;
  padding:0;list-style:none;
}
@media (min-width:36rem){ .related__list{grid-template-columns:repeat(3,minmax(0,1fr))} }

.related__item{
  display:flex;flex-direction:column;gap:.625rem;
  padding-top:var(--s-2);
  border-top:.1875rem solid var(--line);
  transition:border-color var(--dur-fast) var(--ease);
}
.related__item:hover{border-top-color:var(--gold)}
.related__date{
  font-family:var(--ff-head, inherit);font-weight:700;
  font-size:var(--fs-lg);color:var(--ink);
}
.related__name{
  margin:0;font-size:var(--fs-body);font-weight:600;
  line-height:1.35;color:var(--ink-2);
}
.related__more{
  margin-top:auto;padding-top:var(--s-2);
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--ff-head, inherit);
  font-size:var(--fs-sm);font-weight:600;color:var(--ink);
}
.related__more svg{
  width:1rem;height:1rem;flex:0 0 auto;
  fill:none;stroke:var(--gold-btn);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform var(--dur-fast) var(--ease);
}
.related__more:hover{color:var(--gold-dk)}
.related__more:hover svg{transform:translateX(.1875rem)}
[dir="rtl"] .related__more:hover svg{transform:translateX(-.1875rem)}

/* ---------------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  .related__item,
  .related__more svg{transition:none}
}
