/* Bahrain's AI exposure runs through its banks (pages/insights/bahrain-ai-exposure.html)
   Loaded after main.css. The first section is the standard insights template,
   copied verbatim and in its original order from the ISO 9001 article's
   stylesheet (itself the ISO 14001 article's CSS; each insights article carries
   its own copy). Left out because this article doesn't use them: the lead
   paragraph, exhibit header, clause cards, pull quote, sector cards, key number,
   diagnostic checklist and CTA block. The second section holds this article's
   own components, scoped to .bahrain-ai. */

/* ── Standard insights template (from the ISO 14001 article) ─────────────── */

/* Hero */
.art-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (max-width: 768px) { .art-hero { min-height: 320px; } }

.art-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.art-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.art-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.18) 100%
  );
}

.art-hero-text {
  position: relative;
  z-index: 1;
  padding: 3rem 3rem 3.5rem;
  max-width: 860px;
}
@media (max-width: 768px) { .art-hero-text { padding: 2rem 1.5rem 2.5rem; } }

.art-hero-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 0.35em 0.75em;
  margin-bottom: 1rem;
}

.art-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.art-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}

.art-hero-meta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--red);
  background: var(--white);
  padding: 0.25em 0.65em;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* Sticky article header */
.art-sticky {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  padding: 0.875rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
}
.art-sticky.visible {
  transform: translateY(0);
  opacity: 1;
}
.art-sticky-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
}
.art-sticky-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .art-sticky { padding: 0.75rem 1.25rem; }
  .art-sticky-title { display: none; }
}

/* Action bar */
.art-action-bar {
  border-bottom: 1px solid var(--mid-gray);
  padding: 1.125rem 0;
}
.art-action-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .art-action-bar-inner { padding: 0 1.25rem; gap: 1.25rem; }
}

.art-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: color 150ms;
  padding: 0;
}
.art-action-btn:hover { color: var(--text-dark); }
.art-action-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Article layout */
.art-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .art-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .art-layout { padding: 2.5rem 1.25rem; }
}

/* Body column */
.art-body { min-width: 0; }

/* Paragraphs */
.art-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Subheadings */
.art-body h2 {
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
}
.art-body h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

/* Article footer */
.art-body-footer {
  border-top: 1px solid var(--mid-gray);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-light);
}
.art-body-footer p { font-size: 0.8125rem !important; color: var(--text-light) !important; }
.art-body-footer strong { color: var(--text-dark) !important; font-weight: 600 !important; }

/* Sidebar */
.art-sidebar {
  position: sticky;
  top: 6rem;
}
@media (max-width: 1024px) {
  .art-sidebar {
    position: static;
    border-top: 1px solid var(--mid-gray);
    padding-top: 2rem;
    order: -1;
  }
}

.art-sidebar-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.art-sidebar-rule {
  border: none;
  border-top: 1px solid var(--mid-gray);
  margin-bottom: 1.125rem;
}
.art-download-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--red);
  text-decoration: none;
  transition: opacity 150ms;
  margin-bottom: 1rem;
}
.art-download-link:hover { opacity: 0.75; }
.art-download-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Author section */
.art-author-section {
  border-top: 1px solid var(--mid-gray);
  padding: 3rem 2.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) { .art-author-section { padding: 2.5rem 1.25rem; } }

.art-author-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.art-author-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) { .art-author-row { gap: 2rem; } }

.art-author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
  min-width: 220px;
}

.art-author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--light-gray);
}

.art-author-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.art-author-title {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 0.625rem;
}
.art-author-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.art-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 150ms;
}
.art-author-link:hover { color: var(--red); }
.art-author-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* CTA section */
.art-cta-section {
  border-top: 1px solid var(--mid-gray);
  padding: 3rem 2.5rem;
  text-align: center;
}
.art-cta-btn {
  display: inline-block;
  border: 1.5px solid var(--text-dark);
  padding: 0.875rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--red);
  background: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 150ms, color 150ms, border-color 150ms;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}
.art-cta-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Related articles */
.art-related-section {
  background: var(--light-gray);
  padding: 2rem 2.5rem 2.5rem;
}
@media (max-width: 768px) { .art-related-section { padding: 1.5rem 1.25rem 2rem; } }

.art-related-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1.5rem;
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .art-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .art-related-grid { grid-template-columns: 1fr; } }

.art-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.art-related-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--mid-gray);
  margin-bottom: 0.75rem;
}
.art-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}
.art-related-card:hover .art-related-card-img img { transform: scale(1.04); }
.art-related-card-type {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 0.25rem;
}
.art-related-card-title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
}
.art-related-card:hover .art-related-card-title { color: var(--red); }

/* ── This article's components ───────────────────────────────────────────────
   From the source page (the web version of the PDF report), scoped to
   <article class="art-body bahrain-ai">. Kept as built, except: body text and
   headings use the template above, corners are square as elsewhere on the site,
   and the "wide" elements break out of the text column the way exhibits do on
   the other articles. HAC red leads; strategy blue (#2085E0) is the accent. */

.bahrain-ai {
  --ink: #2A2E3A;
  --muted: #5F6676;
  --line: #E3E5EA;
  --dred: #B5121F;
  --blue: #2085E0;
  --blush: #FCEDEE;
  --bluetint: #E5F0FB;
  --grad: linear-gradient(152deg, #5B0403 0%, #870C0E 24%, #B21217 50%, #CC171E 74%, #E5212A 100%);
}
.bahrain-ai a { color: var(--blue); text-underline-offset: 3px; }
.bahrain-ai a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.bahrain-ai p b { font-weight: 600; }
.bahrain-ai sup { font-size: 65%; line-height: 0; }

/* Exhibits, sidebars and the quote band are wider than the text column */
@media (min-width: 769px) {
  .bahrain-ai .wide { margin-left: -2rem; margin-right: -2rem; }
}

/* Anchors (contents box, "See Exhibit N", sidebar links) stop below the sticky site nav */
.bahrain-ai [id] { scroll-margin-top: 110px; }
@media (max-width: 900px) { .bahrain-ai [id] { scroll-margin-top: 76px; } }

/* In this article */
.bahrain-ai .toc { background: var(--blush); color: var(--ink); padding: 20px 24px; margin: 0 0 8px; }
.bahrain-ai .toc b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 8px; }
.bahrain-ai .toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.bahrain-ai .toc li { font-size: 15px; line-height: 1.5; margin: 0 0 6px; break-inside: avoid; }
.bahrain-ai .toc li::marker { color: var(--blue); font-weight: 600; }

/* Section openers, lists and the footnote, sized to the template's body text */
.bahrain-ai .lead { font-size: 1.25rem; line-height: 1.65; }
.bahrain-ai ul.bul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.bahrain-ai ul.bul li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.8; margin: 0 0 10px; }
.bahrain-ai ul.bul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.bahrain-ai .fn { font-size: 12.5px; color: var(--muted); }

/* Exhibits */
.bahrain-ai .exhibit { margin-top: 3rem; margin-bottom: 3rem; color: var(--ink); line-height: 1.75; }
@media (max-width: 768px) { .bahrain-ai .exhibit { margin-top: 2.5rem; margin-bottom: 2.5rem; } }
.bahrain-ai .exhibit .ek { font-size: 12px; font-weight: 600; line-height: 1.75; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.bahrain-ai .exhibit h4 { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.3; font-weight: 300; letter-spacing: -.2px; color: inherit; margin: 0 0 14px; }
.bahrain-ai .exhibit .frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bahrain-ai .exhibit .frame > * { min-width: var(--minw, 0); }
.bahrain-ai .exhibit svg { display: block; width: 100%; height: auto; }
.bahrain-ai .exhibit .swipe { display: none; font-size: 12px; line-height: 1.75; color: var(--blue); margin: 6px 0 0; }
.bahrain-ai .exhibit .src { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
.bahrain-ai .exhibit .src b { font-weight: 600; }
.bahrain-ai .lg { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.bahrain-ai .lg span { display: inline-flex; align-items: center; gap: 7px; }
.bahrain-ai .lg b { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }

/* Exhibit 1 */
.bahrain-ai .ex1 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.bahrain-ai .ex1 .c { border-right: 1px solid var(--ink); padding: 16px 14px 8px; }
.bahrain-ai .ex1 .c:last-child { border-right: 0; }
.bahrain-ai .ex1 .c svg { display: block; width: 56px; height: 56px; margin: 0 auto 6px; }
.bahrain-ai .ex1 .big { display: block; text-align: center; font-size: 30px; line-height: 1.2; font-weight: 600; color: var(--blue); }
.bahrain-ai .ex1 .nm { display: block; text-align: center; font-size: 14px; line-height: 1.35; font-weight: 600; margin: 4px 0 14px; }
.bahrain-ai .ex1 ul { list-style: none; margin: 0; padding: 0; }
.bahrain-ai .ex1 li { font-size: 13.5px; line-height: 1.45; font-weight: 400; margin: 0 0 10px; padding: 3px 5px; }
.bahrain-ai .ex1 li.hl { background: var(--bluetint); }
.bahrain-ai .ex1k { font-size: 12.5px; line-height: 1.75; font-weight: 400; color: inherit; display: flex; align-items: center; gap: 8px; justify-content: center; margin: 10px 0 0; }
.bahrain-ai .ex1k i { display: inline-block; width: 13px; height: 13px; background: var(--bluetint); border: 1px solid #B9D7F5; }

/* Exhibit 3 */
.bahrain-ai table.ex3 { width: 100%; border-collapse: collapse; font-size: 14px; font-weight: 400; }
.bahrain-ai .ex3 th { font-size: 13px; line-height: 1.35; font-weight: 400; text-align: left; vertical-align: bottom; padding: 0 10px 8px 0; border-bottom: 1.5px solid var(--ink); }
.bahrain-ai .ex3 th.nm { font-weight: 600; }
.bahrain-ai .ex3 td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); vertical-align: middle; line-height: 1.35; }
.bahrain-ai .ex3 td.nm { width: 30%; }
.bahrain-ai .ex3 .cell { display: block; width: 96px; height: 16px; box-shadow: inset 0 0 0 1px #F0C4C6; }
.bahrain-ai .ex3 .bar { display: inline-block; height: 13px; vertical-align: middle; }
.bahrain-ai .ex3 .v { font-size: 12.5px; margin-left: 6px; vertical-align: middle; }
.bahrain-ai .ex3 td.d { font-size: 13px; color: #6B7180; }
.bahrain-ai .ex3 td.d.pos { color: var(--red); font-weight: 600; }
.bahrain-ai .ramp { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px; font-weight: 400; margin: 14px 0 0; }
.bahrain-ai .ramp i { display: inline-block; width: 260px; height: 9px; }

/* Exhibit 5. The source fixed the matrix at 330px tall (rows of 156px and 144px), which
   only fits the ten country pills at its full 1008px width; narrower, the last pills slip
   behind the cell below. The rows keep those heights as minimums and grow when needed, so
   the matrix looks the same at full width and gets taller instead of hiding countries. */
.bahrain-ai .ex5 { position: relative; padding: 0 0 30px 28px; }
.bahrain-ai .ex5 .yax { position: absolute; left: 0; top: 0; bottom: 30px; width: 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.bahrain-ai .ex5 .yax span, .bahrain-ai .ex5 .yax b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; font-weight: 400; }
.bahrain-ai .ex5 .yax b { font-weight: 600; letter-spacing: 1px; }
.bahrain-ai .ex5 .grid { display: grid; grid-template-columns: 18% 30% 30% 22%; grid-template-rows: minmax(156px, auto) minmax(144px, auto); }
.bahrain-ai .ex5 .cell { padding: 10px 12px; font-size: 12.5px; line-height: 1.45; font-weight: 400; }
.bahrain-ai .ex5 .cell b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.bahrain-ai .ex5 .em { grid-row: 1/3; grid-column: 1; background: #FCE9EA; display: flex; flex-direction: column; justify-content: center; }
.bahrain-ai .ex5 .xp { grid-row: 1; grid-column: 2; background: #F8C4C7; }
.bahrain-ai .ex5 .gp { grid-row: 2; grid-column: 2; background: #F28B90; }
.bahrain-ai .ex5 .sc { grid-row: 1; grid-column: 3; background: #D9DBE0; }
.bahrain-ai .ex5 .rc { grid-row: 2; grid-column: 3; background: #A6AAB4; }
.bahrain-ai .ex5 .pi { grid-row: 1/3; grid-column: 4; background: var(--ink); color: #fff; border-radius: 0 8px 8px 0; }
.bahrain-ai .ex5 .peers { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px 6px; }
.bahrain-ai .ex5 .peers span { font-size: 11.5px; padding: 2px 7px; border: 1px solid #E9A9AC; border-radius: 10px; background: rgba(255,255,255,.6); }
.bahrain-ai .ex5 .peers span.bh { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
.bahrain-ai .ex5 .xax { position: absolute; left: 28px; right: 0; bottom: 0; height: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 400; }
.bahrain-ai .ex5 .xax b { font-weight: 600; letter-spacing: 1px; }

/* Exhibit 6 */
.bahrain-ai .ex6 .r { display: grid; grid-template-columns: 230px 1fr 300px; border-top: 1px solid #fff; min-height: 118px; }
.bahrain-ai .ex6 .who { padding: 12px 14px; font-size: 12.5px; line-height: 1.45; font-weight: 400; display: flex; flex-direction: column; }
.bahrain-ai .ex6 .who b { font-size: 14px; font-weight: 600; }
.bahrain-ai .ex6 .who em { font-style: normal; font-weight: 600; font-size: 12px; background: var(--blue); color: #fff; border-radius: 12px; padding: 3px 12px; align-self: flex-start; margin-top: 9px; }
.bahrain-ai .ex6 .fin { background: var(--dred); color: #fff; }
.bahrain-ai .ex6 .pub { background: #F28B90; }
.bahrain-ai .ex6 .biz { background: #F8C4C7; }
.bahrain-ai .ex6 .ind { background: #FCE9EA; }
.bahrain-ai .ex6 .what { padding: 12px 16px; font-size: 13.5px; line-height: 1.5; font-weight: 400; border-bottom: 1px solid #F5D3D5; }
.bahrain-ai .ex6 .dims { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px; border-bottom: 1px solid #F5D3D5; }
.bahrain-ai .ex6 .dm { text-align: center; }
.bahrain-ai .ex6 .dm b { display: block; font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.bahrain-ai .ex6 i, .bahrain-ai .ex6l i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #F3C6C8; margin: 0 1.5px; }
.bahrain-ai .ex6 i.on, .bahrain-ai .ex6l i.on { background: var(--red); }
.bahrain-ai .ex6l { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; font-weight: 400; margin-top: 12px; }
.bahrain-ai .ex6l b { font-weight: 600; }
.bahrain-ai .ex6l .dl i:nth-child(3n+1) { margin-left: 12px; }

/* Sidebars: light-red panels */
.bahrain-ai .side { background: var(--blush); color: var(--ink); line-height: 1.75; padding: 26px 28px 10px; margin-top: 2.5rem; margin-bottom: 2.5rem; }
.bahrain-ai .side .hd { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.bahrain-ai .side .hd svg { width: 52px; height: 52px; flex: none; }
.bahrain-ai .side h3 { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: inherit; margin: 0; }
.bahrain-ai .side p { font-size: 15.5px; line-height: 1.65; color: inherit; margin: 0 0 14px; }
.bahrain-ai .side ol { counter-reset: n; list-style: none; margin: 0 0 10px; padding: 0; }
.bahrain-ai .side ol li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; margin: 0 0 12px; }
.bahrain-ai .side ol li::before { content: counter(n); font-size: 30px; line-height: 1; font-weight: 300; color: var(--blue); }
.bahrain-ai .side ol li p { margin: 0; }

/* Sector blocks: two columns of heading, italic note, text and bullets */
.bahrain-ai .blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; margin: 10px 0 0; }
.bahrain-ai .blk h3 { margin: 0 0 0.375rem; }
.bahrain-ai .blk .it { font-size: 14px; font-style: italic; color: var(--muted); margin: 0 0 14px; }

/* Quote band: red gradient */
.bahrain-ai .qband { position: relative; margin-top: 3rem; margin-bottom: 3rem; padding: 56px 64px; background: var(--grad); color: #fff; overflow: hidden; }
.bahrain-ai .qband::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.08) 0 3px, rgba(255,255,255,0) 3px 11px);
  -webkit-mask-image: radial-gradient(70% 70% at 100% 50%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 100% 50%, #000, transparent 75%);
}
.bahrain-ai .qband p { position: relative; font-size: clamp(21px, 2.8vw, 28px); line-height: 1.45; font-weight: 300; color: inherit; margin: 0; max-width: 820px; }
.bahrain-ai .qband::after { content: ""; position: absolute; left: 34px; top: 38px; width: 1px; height: 110px; background: linear-gradient(#fff, rgba(255,255,255,0)); }

/* The source's narrow layout, below 820px and also from 1025px to 1128px, where
   the sidebar column leaves the text column as narrow as on a tablet */
@media (max-width: 820px), (min-width: 1025px) and (max-width: 1128px) {
  .bahrain-ai .exhibit .swipe { display: block; }
  .bahrain-ai .ex1 { grid-template-columns: 1fr 1fr; }
  .bahrain-ai .ex1 .c { border-right: 0; border-bottom: 1px solid var(--line); }
  .bahrain-ai .ex1 .c:nth-child(odd) { border-right: 1px solid var(--line); }
  .bahrain-ai .ex6 .r { grid-template-columns: 1fr; min-height: 0; }
  .bahrain-ai .ex6 .dims { padding: 10px 6px; }
  .bahrain-ai .blocks { grid-template-columns: 1fr; }
  .bahrain-ai .toc ol { columns: 1; }
}
@media (max-width: 600px) {
  .bahrain-ai .qband { padding: 40px 26px 40px 40px; }
  .bahrain-ai .qband::after { left: 20px; }
  .bahrain-ai .side { padding: 22px 20px 8px; }
}

/* ── Shell details ───────────────────────────────────────────────────────── */

/* Author emails are shown in full, so they need to wrap on narrow screens */
.art-author-info { min-width: 0; }
.art-author-link { overflow-wrap: anywhere; }

/* No motion when reduced motion is requested (main.css turns on smooth scrolling) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art-sticky { transition: none; }
}

/* ── Contrast: the footnote grey (--text-light, #8a9ab0) is 2.9:1 on white ── */
.art-body .art-body-footer { color: #5f6676; }
.art-body .art-body-footer p { color: #5f6676 !important; }
