/* Scoped to existing AFEMISE pages; loaded after the main V5 stylesheet. */
.afemise-test-home.afemise-v4-test .af-inline-socials {
  display:flex!important; align-items:center!important; flex-wrap:wrap; gap:12px;
  margin:20px 0 24px!important; padding:0;
}
.afemise-test-home.afemise-v4-test .af-inline-socials > * {
  margin:0!important; align-self:center; line-height:1;
}
.afemise-test-home.afemise-v4-test .af-inline-socials .af-social-icon {
  display:inline-flex!important; align-items:center; justify-content:center;
  width:44px; height:44px; padding:0!important; margin:0!important; vertical-align:middle;
}
.afemise-test-home.afemise-v4-test .af-inline-socials svg {display:block;flex:none;margin:0!important;width:24px;height:24px;}
.afemise-test-home.afemise-v4-test .afc-rdv-dot {
  display:inline-block; flex:none; width:10px; height:10px;
  border-radius:50%; border:1px solid #38525970; margin-right:9px; vertical-align:middle;
}
.afc-dot-former{background:var(--af-blue,#dee9f2)}.afc-dot-pratiquer{background:var(--af-pink,#e8c8d0)}
.afc-dot-informer{background:var(--af-green,#e1e6d7)}.afc-dot-echanger{background:var(--af-yellow,#fce3b0)}
.afemise-test-home.afemise-v4-test .afc-photo,
.afemise-test-home.afemise-v4-test .afc-pedagogie {
  display:block; width:100%; max-width:680px; margin:32px auto;
}
.afemise-test-home.afemise-v4-test .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-photo > a > img {
  display:block; width:auto!important; height:auto!important; max-width:100%;
  max-height:460px; object-fit:contain; border-radius:12px; margin:auto;
}
.afemise-test-home.afemise-v4-test .afc-pedagogie img {
  display:block; width:auto!important; height:auto!important;
  max-width:100%; max-height:480px; margin:auto; object-fit:contain;
}
.afemise-test-home.afemise-v4-test .afc-photo figcaption,
.afemise-test-home.afemise-v4-test .afc-pedagogie figcaption {
  display:block; width:auto; max-width:680px;
  font-size:.87rem; line-height:1.6; color:#385259; margin:12px auto 0;
}
/* Remove the oversized image frame while retaining the full window photograph. */
.afemise-test-home.afemise-v4-test .af41-photo:has(img.afc-window) {
  display:block; width:100%; max-width:560px; margin:32px auto;
}
.afemise-test-home.afemise-v4-test img.afc-window {
  display:block; width:auto!important; height:auto!important; max-width:100%;
  max-height:420px!important; object-fit:contain; background:transparent!important; margin:auto;
}
.afemise-test-home.afemise-v4-test .af41-photo:has(img.afc-window) figcaption {
  display:block; margin-top:12px;
}
.afemise-test-home.afemise-v4-test .afc-explanation {margin-top:32px;padding:24px;background:#edf6f4;border-radius:16px;}
.afemise-test-home.afemise-v4-test .afc-explanation .afemise-v1-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
.afemise-test-home.afemise-v4-test #afc-soins-sommaire {margin-top:24px;}
@media(max-width:760px){
 .afemise-test-home.afemise-v4-test .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-photo > a > img,
 .afemise-test-home.afemise-v4-test img.afc-window{max-height:340px!important;}
 .afemise-test-home.afemise-v4-test .afc-explanation{padding:18px;}
 .afemise-test-home.afemise-v4-test .afc-explanation .afemise-v1-grid{grid-template-columns:1fr;}
}

/* Corrections 1.1 : no reintroduction of images. */
.afemise-test-home.afemise-v4-test #enveloppe .wp-block-list,
.afemise-test-home.afemise-v4-test #enveloppe ul:not(.af-submenu){
 padding-inline-start:1.5em!important;margin-inline:0!important;list-style-position:outside;
}
.afemise-test-home.afemise-v4-test #enveloppe li{padding-inline-start:0;margin-left:0;}
.afemise-test-home.afemise-v4-test .afc-pause-list{margin:20px 0 0;}
.afemise-test-home.afemise-v4-test .afc-pause-list>div{display:grid;grid-template-columns:50px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:14px;}
.afemise-test-home.afemise-v4-test .afc-pause-list dt{font-family:Montserrat,Arial,sans-serif;font-size:2.5rem;font-weight:700;line-height:1.1;color:#165f62;}
.afemise-test-home.afemise-v4-test .afc-pause-list dd{margin:0;line-height:1.55;}
.afemise-test-home.afemise-v4-test .afc-license-note{max-width:85ch;line-height:1.65;margin-top:24px;padding:18px;border-left:3px solid #288c8f;background:#edf6f4;}
@media(max-width:480px){.afemise-test-home.afemise-v4-test .afc-pause-list>div{grid-template-columns:40px minmax(0,1fr);gap:12px;}.afemise-test-home.afemise-v4-test .afc-pause-list dt{font-size:2.1rem;}}
/* 1.2 : selected full images, concise cards and readable sources. */
.afemise-test-home.afemise-v4-test .afc-addition{margin-top:30px;clear:both;}
.afemise-test-home.afemise-v4-test .afc-addition>p{max-width:84ch;}
.afemise-test-home.afemise-v4-test .afc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0;}
.afemise-test-home.afemise-v4-test .afc-card{min-width:0;padding:24px;border:1px solid #d9e7e5;border-radius:16px;background:#fff;margin:0;}
.afemise-test-home.afemise-v4-test .afc-card h3{font-size:1.15rem;margin:0 0 14px;line-height:1.45;}
.afemise-test-home.afemise-v4-test .afc-card p:last-child{margin-bottom:0;}
.afemise-test-home.afemise-v4-test .afc-sources{font-size:.86rem;line-height:1.65;color:#385259;margin-top:16px;overflow-wrap:anywhere;}
.afemise-test-home.afemise-v4-test .afc-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:28px 0;}
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo{margin:0;display:flex;flex-direction:column;justify-content:flex-start;}
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > a > img{height:280px!important;width:100%!important;max-height:none;object-fit:contain;border-radius:0;background:transparent;}
.afemise-test-home.afemise-v4-test .afc-gallery figcaption{width:100%;margin-top:14px;}
.afemise-test-home.afemise-v4-test .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-photo > a > img{border-radius:0;}
.afemise-test-home.afemise-v4-test .afc-severity>div,
.afemise-test-home.afemise-v4-test .afc-abcd>div{margin:0 0 14px;padding:16px 20px;border-left:3px solid #288c8f;background:#edf6f4;border-radius:0 12px 12px 0;}
.afemise-test-home.afemise-v4-test .afc-severity dt,
.afemise-test-home.afemise-v4-test .afc-abcd dt{font-weight:700;margin:0 0 8px;}
.afemise-test-home.afemise-v4-test .afc-severity dd,
.afemise-test-home.afemise-v4-test .afc-abcd dd{margin:0;}
.afemise-test-home.afemise-v4-test .afc-app-heading{display:flex;align-items:center;gap:18px;margin-bottom:16px;}
.afemise-test-home.afemise-v4-test .afc-app-heading img{width:56px;height:56px;object-fit:contain;flex:none;}
.afemise-test-home.afemise-v4-test .afc-app-heading h3{margin:0;}
.afemise-test-home.afemise-v4-test .afc-partner{display:grid;grid-template-columns:180px minmax(0,1fr);gap:30px;align-items:center;padding:28px;border:1px solid #d9e7e5;background:#fff;border-radius:18px;}
.afemise-test-home.afemise-v4-test .afc-partner-logo{margin:0;}
.afemise-test-home.afemise-v4-test .afc-partner-logo img{width:180px;height:auto;max-width:100%;object-fit:contain;}
.afemise-test-home.afemise-v4-test .afc-partner-logo figcaption{font-size:.75rem;margin-top:8px;}
.afemise-test-home.afemise-v4-test .afc-partner>.afc-partner-logo{grid-row:1;}
.afemise-test-home.afemise-v4-test .afc-partner>.afemise-v1-tag{grid-column:2;margin:0 0 -16px;}
.afemise-test-home.afemise-v4-test .afc-partner>h3,
.afemise-test-home.afemise-v4-test .afc-partner>p{grid-column:2;}
.afemise-test-home.afemise-v4-test .afc-document{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;max-width:840px;align-items:start;}
.afemise-test-home.afemise-v4-test .afc-document>img{width:96px;height:auto;max-width:100%;}
.afemise-test-home.afemise-v4-test .afc-document h3{margin-top:0;}
.afemise-test-home.afemise-v4-test .afc-addition a:focus-visible{outline:3px solid #165f62;outline-offset:4px;border-radius:2px;}
@media(max-width:760px){
.afemise-test-home.afemise-v4-test .afc-grid,
.afemise-test-home.afemise-v4-test .afc-gallery{grid-template-columns:1fr;gap:22px;}
.afemise-test-home.afemise-v4-test .afc-card{padding:20px;}
.afemise-test-home.afemise-v4-test .afc-partner{display:block;padding:20px;}
.afemise-test-home.afemise-v4-test .afc-partner-logo{max-width:160px;margin:0 auto 24px;}
.afemise-test-home.afemise-v4-test .afc-partner>.afemise-v1-tag{margin:0 0 14px;}
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > a > img{height:auto!important;max-height:340px!important;width:auto!important;max-width:100%;}
.afemise-test-home.afemise-v4-test .afc-document{grid-template-columns:72px minmax(0,1fr);gap:16px;}
.afemise-test-home.afemise-v4-test .afc-document>img{width:72px;}
}
@media(prefers-reduced-motion:reduce){.afemise-test-home.afemise-v4-test .afc-addition *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
.afemise-test-home.afemise-v4-test .afc-partner-copy h3{margin-top:0;}
.afemise-test-home.afemise-v4-test .afc-partner-copy .afemise-v1-tag{margin:0 0 16px;}
/* 1.3 : useful width, consistent spacing, full photographs and balanced partners. */
.afemise-test-home.afemise-v4-test :is(.afemise-v1-wrap,.afc-addition,.afc-card,.af-card-copy,.af-partner-copy,.afc-partner-copy) > p {
  max-width:none!important; margin-block:0 18px; text-wrap:pretty;
}
.afemise-test-home.afemise-v4-test :is(h1,h2,h3,h4){max-width:none!important;text-wrap:pretty;}
.afemise-test-home.afemise-v4-test .af-page-intro h1{max-width:32ch!important;}
.afemise-test-home.afemise-v4-test .afemise-v1-section h2{margin:0 0 24px!important;line-height:1.3;}
.afemise-test-home.afemise-v4-test .afemise-v1-section h3{margin:30px 0 16px;line-height:1.45;}
.afemise-test-home.afemise-v4-test :is(.afc-addition,.afc-card,.af41-card,.af-card-copy,.af-partner-copy,.afc-partner-copy) > h3:first-child {margin-top:0;}
.afemise-test-home.afemise-v4-test .afc-addition > :is(p,div,figure,dl) + h3{margin-top:32px!important;}
.afemise-test-home.afemise-v4-test .afc-card h3{margin-top:0;}
.afemise-test-home.afemise-v4-test .afc-photo{max-width:780px;padding:20px;background:#f3f8f7;border:1px solid #d9e7e5;border-radius:18px;box-shadow:0 8px 26px #193b4209;}
.afemise-test-home.afemise-v4-test .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-photo > a > img{border-radius:0!important;object-fit:contain!important;max-height:480px;}
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo{max-width:none;padding:18px;}
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > img,
.afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > a > img{height:300px!important;width:100%!important;max-height:300px;object-fit:contain!important;}
.afemise-test-home.afemise-v4-test .afc-photo figcaption{max-width:none;margin:18px 0 0;line-height:1.65;}
.afemise-test-home.afemise-v4-test .afc-photo figcaption strong{display:inline;color:#193b42;}
.afemise-test-home.afemise-v4-test img.emoji{width:1em!important;height:1em!important;max-height:1em!important;display:inline!important;vertical-align:-.1em;margin:0!important;box-shadow:none;}
.afemise-test-home.afemise-v4-test :is(.afc-partner,.af-partner-card){display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:30px!important;align-items:center!important;padding:28px!important;border:1px solid #c4d9d6!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 26px #193b4209;min-height:310px;}
.afemise-test-home.afemise-v4-test :is(.afc-partner-logo,.af-partner-visual){width:180px!important;height:auto!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important;}
.afemise-test-home.afemise-v4-test .af-partner-visual figure{margin:0!important;}
.afemise-test-home.afemise-v4-test :is(.afc-partner-logo,.af-partner-visual) img{display:block;width:auto!important;height:auto!important;max-width:180px!important;max-height:230px!important;object-fit:contain!important;border-radius:0!important;margin:auto!important;}
.afemise-test-home.afemise-v4-test :is(.af-partner-copy,.afc-partner-copy){min-width:0;}
.afemise-test-home.afemise-v4-test :is(.af-partner-copy,.afc-partner-copy) .afemise-v1-tag{display:inline-block!important;margin:0 0 18px!important;}
.afemise-test-home.afemise-v4-test :is(.af-partner-copy,.afc-partner-copy) h3{margin:0 0 18px!important;}
.afemise-test-home.afemise-v4-test :is(.af-partner-copy,.afc-partner-copy) p:last-child{margin-bottom:0!important;}
.afemise-test-home.afemise-v4-test #presentation > .afemise-v1-wrap > .afemise-v1-visual-card{margin-top:28px!important;}
.afemise-test-home.afemise-v4-test .af-photo-credit{line-height:1.65;margin-top:16px!important;}
@media(max-width:760px){
 .afemise-test-home.afemise-v4-test .afc-photo{padding:16px;}
 .afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > img,
 .afemise-test-home.afemise-v4-test .afc-gallery .afc-photo > a > img{height:auto!important;width:auto!important;max-width:100%;max-height:360px!important;}
 .afemise-test-home.afemise-v4-test :is(.afc-partner,.af-partner-card){grid-template-columns:1fr!important;padding:22px!important;gap:24px!important;min-height:0;}
 .afemise-test-home.afemise-v4-test :is(.afc-partner-logo,.af-partner-visual){margin:0 auto!important;}
 .afemise-test-home.afemise-v4-test .afemise-v1-section h2{margin-bottom:20px!important;}
}
/* 1.4 : compact desktop layout. User browser zoom remains available. */
@media screen and (min-width:1100px) and (hover:hover) and (pointer:fine){
 .afemise-test-home.afemise-v4-test{zoom:.8;}
 .afemise-test-home.afemise-v4-test .af-nav-shell{top:calc(var(--af-admin-height,0px) * 1.25);}
 .afemise-test-home.afemise-v4-test .af-skip-link{top:calc(var(--af-admin-height,0px) * 1.25 + 8px);}
}
/* The same caption style for photographs and pedagogical author credits. */
.afemise-test-home.afemise-v4-test :is(.afc-photo,.afc-pedagogie,.af41-photo) figcaption,
.afemise-test-home.afemise-v4-test .af-photo-credit{font-size:.9em!important;line-height:1.65;color:#385259;}
.afemise-test-home.afemise-v4-test .afc-credit-line{font:600 1em/1.65 Helvetica,Arial,sans-serif;color:#193b42;}
.afemise-test-home.afemise-v4-test .afc-caption-line{font-size:1em;}
/* Severity progression follows the battery palette without relying on colour alone. */
.afemise-test-home.afemise-v4-test .afc-severity > div:nth-child(1){border-left-color:var(--af-battery-green,#73be20);background:#f0f7e9;}
.afemise-test-home.afemise-v4-test .afc-severity > div:nth-child(2){border-left-color:var(--af-battery-yellow,#fcd21c);background:#fffae6;}
.afemise-test-home.afemise-v4-test .afc-severity > div:nth-child(3){border-left-color:var(--af-orange,#f9a51d);background:#fff2e6;}
.afemise-test-home.afemise-v4-test .afc-severity > div:nth-child(4){border-left-color:var(--af-red,#f62f31);background:#fff0f0;}
/* 80% of the previous figure size, independent of the desktop density setting. */
.afemise-test-home.afemise-v4-test #afc-photo-v3 .afc-photo{max-width:624px;width:80%;}
.afemise-test-home.afemise-v4-test #afc-photo-v3 .afc-photo > img{max-height:384px!important;}
@media(max-width:760px){.afemise-test-home.afemise-v4-test #afc-photo-v3 .afc-photo > img{max-height:272px!important;}}
/* Only the supplied Vox logo is cropped visually; photograph files stay complete. */
.afemise-test-home.afemise-v4-test #afc-vox-em .afc-partner-logo img{width:180px!important;height:180px!important;max-height:180px!important;object-fit:cover!important;object-position:center!important;}

/* 1.4.1: diagrams and photographs share one readable credit style. */
.afemise-test-home.afemise-v4-test figure figcaption:has(.afc-credit-line){font-size:.9em!important;line-height:1.65;color:#385259;margin-top:18px!important;text-align:left;}
.afemise-test-home.afemise-v4-test figure figcaption .afc-credit-line{font:600 1em/1.65 Helvetica,Arial,sans-serif;color:#193b42;}
/* ABCD follows the supplied illustration: A green, B blue, C orange, D red. */
.afemise-test-home.afemise-v4-test .afc-abcd > div:nth-child(1){border-left-color:#4d9134;background:#f0f7e9;}
.afemise-test-home.afemise-v4-test .afc-abcd > div:nth-child(2){border-left-color:#0075b5;background:#edf7fc;}
.afemise-test-home.afemise-v4-test .afc-abcd > div:nth-child(3){border-left-color:#f59a00;background:#fff6e8;}
.afemise-test-home.afemise-v4-test .afc-abcd > div:nth-child(4){border-left-color:#d92320;background:#fff0ed;}
.afemise-test-home.afemise-v4-test #mpe .af5-doc-cover{align-self:start;}

/* 1.4.2: new GT cards use a textual round badge pending supplied illustrations. */
.afemise-test-home.afemise-v4-test .afc-gt-number{display:grid;place-items:center;grid-column:1;grid-row:1 / span 2;width:90px;height:90px;border-radius:50%;background:#edf6f4;border:1px solid #c4d9d6;color:#165f62;font:700 1.3rem/1 Montserrat,Arial,sans-serif;}
.afemise-test-home.afemise-v4-test .afc-gt-new h3{margin-top:0!important;}
/* Native document covers preserve their ratio even under theme image sizing rules. */
.afemise-test-home.afemise-v4-test .af5-document .af5-doc-cover{width:100%;min-width:0;margin:0!important;display:flex;align-items:center;justify-content:center;padding:8px!important;}
.afemise-test-home.afemise-v4-test .af5-document .af5-doc-cover img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:160px!important;object-fit:contain!important;aspect-ratio:auto!important;margin:auto!important;}
/* Content lists have a hanging indent. Navigation layout stays governed by its rules. */
.afemise-test-home.afemise-v4-test :is(.afemise-v1-section,.af-page-intro) :is(ul.wp-block-list,ol.wp-block-list,ul:not([class]),ol:not([class])){padding-inline-start:1.6em!important;margin-inline:0!important;list-style-position:outside!important;}
.afemise-test-home.afemise-v4-test :is(.afemise-v1-section,.af-page-intro) :is(ul.wp-block-list,ol.wp-block-list,ul:not([class]),ol:not([class]))>li{padding-inline-start:.25em!important;margin-block:0 .6em!important;}
.afemise-test-home.afemise-v4-test :is(.afemise-v1-section,.af-page-intro) li> :is(ul.wp-block-list,ol.wp-block-list){margin-top:.6em!important;}
@media(max-width:420px){.afemise-test-home.afemise-v4-test .afc-gt-number{width:64px;height:64px;font-size:1.05rem;}}
@media(max-width:760px){.afemise-test-home.afemise-v4-test .af5-document .af5-doc-cover{max-width:120px!important;min-height:0;}.afemise-test-home.afemise-v4-test .af5-document .af5-doc-cover img{max-height:140px!important;}}
.afemise-test-home.afemise-v4-test #groupes .af5-gt-card h3{margin-top:0!important;}
