/* Images matricielles du corps des articles (manifeste : scripts/blog-body-images.json). */
:root{
  --ap-border:rgba(255,255,255,.12);
  --ap-shadow:rgba(0,0,0,.42);
  --ap-placeholder:rgba(11,16,32,.72);
  --ap-caption:rgba(232,234,246,.66);
  --ap-tools-bg:rgba(11,16,32,.62);
  --ap-tools-text:rgba(232,234,246,.78);
  --ap-tools-link:#8fd0ff;
  --ap-tools-underline:rgba(232,234,246,.45);
}

[data-theme="light"] .article-page{
  --ap-border:rgba(23,76,172,.24);
  --ap-shadow:rgba(23,72,151,.24);
  --ap-placeholder:rgba(205,233,255,.7);
  --ap-caption:#102a52;
  --ap-tools-bg:rgba(226,242,255,.88);
  --ap-tools-text:#102a52;
  --ap-tools-link:#0b3d91;
  --ap-tools-underline:rgba(16,42,82,.55);
}

.art-photo{
  max-width:100%;
  margin:34px 0 38px;
}

.art-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
  border:1px solid var(--ap-border);
  border-radius:18px;
  background:var(--ap-placeholder);
  box-shadow:0 18px 44px -18px var(--ap-shadow);
}

.art-photo figcaption{
  margin-top:12px;
  padding:0 6px;
  color:var(--ap-caption);
  font-size:.84rem;
  line-height:1.6;
  text-align:center;
}

@media(max-width:640px){
  .art-photo{margin:26px 0 30px}
  .art-photo img{border-radius:14px}
  .art-photo figcaption{font-size:.8rem;padding:0 2px}
}

/* Maillage outils (manifeste : scripts/blog-tool-mentions.json) */
.art-body a.tool-link{
  color:inherit;
  text-decoration:underline dotted;
  text-decoration-color:var(--ap-tools-underline);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.art-body a.tool-link:hover,
.art-body a.tool-link:focus-visible{
  text-decoration-style:solid;
  text-decoration-color:currentColor;
}

.art-tools{
  margin:44px 0 36px;
  padding:22px 26px;
  border:1px solid var(--ap-border);
  border-radius:18px;
  background:var(--ap-tools-bg);
  box-shadow:0 18px 44px -24px var(--ap-shadow);
  color:var(--ap-tools-text);
}

.art-body .art-tools h2{
  margin:0 0 14px;
  font-size:1.12rem;
}

.art-body .art-tools ul{
  margin:0 0 14px;
  padding-left:20px;
}

.art-body .art-tools li{
  margin-bottom:8px;
  color:var(--ap-tools-text);
  font-size:.92rem;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.art-body .art-tools a{
  color:var(--ap-tools-link);
  font-weight:600;
}

.art-body .art-tools p{
  margin:0;
  font-size:.9rem;
}

@media(max-width:640px){
  .art-tools{margin:34px 0 28px;padding:18px 16px;border-radius:14px}
  .art-body .art-tools ul{padding-left:18px}
}
