/* V6.0.3: one shared presentation for introductions, photographs and sources. */
.afemise-test-home.afemise-v4-test .afc-addition:has(>.af63-sources:last-child)+p{margin-top:16px!important}
.afemise-test-home.afemise-v4-test #vivre .wp-block-buttons{justify-content:center;align-items:center;max-width:none;width:100%}
.afemise-test-home.afemise-v4-test .afc-reader-actions{position:relative;display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.afemise-test-home.afemise-v4-test .afc-reader-actions .afc-reader-help{position:static;margin:0;flex:none}
.afemise-test-home.afemise-v4-test .afc-reader-actions .afc-reader-info{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font:italic 700 20px/1 Georgia,serif}
.afemise-test-home.afemise-v4-test .afc-reader-actions .afc-reader-tip{left:auto!important;right:0!important;width:240px!important;max-width:calc(100vw - 48px)!important;box-sizing:border-box}
/* V6.0.4: hide the owned feed container, including late third-party rendering. */
html.afc-low-energy .afemise-test-home.afemise-v4-test :is(#af-instagram,#instagram) :is(.af-container,.afc-social-feed):not([data-afc-social-revealed="true"]){display:none!important}
.afemise-test-home.afemise-v4-test .af61-urgence-section{padding-block:32px!important}
.afemise-test-home.afemise-v4-test .af41-urgence p{max-width:none!important;text-wrap:pretty}
.afemise-test-home.afemise-v4-test .af62-urgent-note{width:100%;text-wrap:pretty}
.afemise-test-home.afemise-v4-test .af64-nowrap{white-space:nowrap}
.afemise-test-home.afemise-v4-test .af-container+:is(.af41-note,.af-key-note,.afemise-v1-note){margin-top:24px!important}
.afemise-test-home.afemise-v4-test .af64-resource-links{margin-top:24px}
.afemise-test-home.afemise-v4-test .afemise-v1-logo::after{background:linear-gradient(90deg,#288c8f 0 20%,#73be20 20% 35%,#fcd21c 35% 55%,#f9a51d 55% 75%,#f62f31 75% 100%)!important}
.afemise-test-home.afemise-v4-test :is(.af-key-note,.af41-note,.afc-card,.afemise-v1-card) p{max-width:none!important;width:auto;margin-inline:0!important}
.afemise-test-home.afemise-v4-test :is(.af-key-note,.af41-note,.afc-card,.afemise-v1-card) h3{margin-bottom:14px!important}
.afemise-test-home.afemise-v4-test :is(.af-key-note,.af41-note,.afc-card,.afemise-v1-card) h3+p{margin-top:0!important}
.afemise-test-home.afemise-v4-test :is(.af63-sources,.afc-sources,.af62-sources,.af41-ref,.af-source-link,.af5-source-link){display:block;font-size:.86rem!important;line-height:1.65!important;color:var(--af-muted)!important;margin:16px 0!important;max-width:none!important}
.afemise-test-home.afemise-v4-test :is(.af63-sources,.afc-sources,.af62-sources,.af41-ref,.af-source-link,.af5-source-link):last-child{margin-bottom:0!important}
.afemise-test-home.afemise-v4-test :is(.af63-sources,.afc-sources,.af62-sources,.af41-ref,.af-source-link,.af5-source-link) a{text-decoration:underline;text-underline-offset:.15em}
.afemise-test-home.afemise-v4-test .af-source-list{font-size:.86rem!important;line-height:1.65!important;max-width:none}
.afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo){box-sizing:border-box;display:block;width:100%;max-width:624px!important;margin:24px auto!important;padding:18px!important;background:#f3f8f7!important;border:1px solid #d9e7e5!important;border-radius:18px!important;box-shadow:0 8px 26px #193b4209;overflow:hidden}
.afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo)>img,
.afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo)>a>img{display:block;float:none;width:auto!important;height:auto!important;max-width:100%!important;max-height:384px!important;object-fit:contain!important;margin:0 auto!important;border-radius:10px!important;background:transparent}
.afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo) figcaption{max-width:none!important;width:100%;box-sizing:border-box;padding:0!important;margin:16px 0 0!important;text-align:left;font-size:.9em!important;line-height:1.6!important;color:var(--af-ink)!important}
.afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo) figcaption strong{font-family:inherit!important;font-weight:700!important;color:inherit!important}
.afemise-test-home.afemise-v4-test .afc-gallery :is(.af62-photo,.afc-photo,.af41-photo){max-width:none!important;margin:0!important}
.afemise-test-home.afemise-v4-test .af63-photo-text{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:28px;margin:28px 0}
.afemise-test-home.afemise-v4-test .af63-photo-text>*{min-width:0;margin:0!important}
.afemise-test-home.afemise-v4-test .af63-photo-text .af62-photo{margin:0 auto!important}
.afemise-test-home.afemise-v4-test #af62-home-photos{max-width:1000px;margin:28px auto 0;align-items:stretch}
.afemise-test-home.afemise-v4-test #af62-home-photos .af62-photo{margin:0!important;max-width:none!important}
.afemise-test-home.afemise-v4-test #af62-home-photos img{max-height:300px!important}
.afemise-test-home.afemise-v4-test #af62-photo-soins .af62-photo,
.afemise-test-home.afemise-v4-test #af62-photo-famille .af62-photo,
.afemise-test-home.afemise-v4-test .af62-photo:has(img[src*="af62-alicia-repos"]){max-width:560px!important}
.afemise-test-home.afemise-v4-test #af62-photo-soins img{max-height:340px!important}
.afemise-test-home.afemise-v4-test #afc-symptomes-details .afc-card{display:block}
.afemise-test-home.afemise-v4-test .af63-contact-action{margin-top:24px}
.afemise-test-home.afemise-v4-test #charte .af-document-cover{margin:0}
.afemise-test-home.afemise-v4-test .af63-table-wrap{overflow-x:auto;margin-top:24px;border:1px solid var(--af-line);border-radius:12px}
.afemise-test-home.afemise-v4-test .af63-privacy-table{border-collapse:collapse;width:100%;font:inherit;margin:0}
.afemise-test-home.afemise-v4-test .af63-privacy-table caption{text-align:left;font-weight:700;padding:16px;background:#edf6f4}
.afemise-test-home.afemise-v4-test .af63-privacy-table :is(td,th){text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid var(--af-line);overflow-wrap:anywhere}
.afemise-test-home.afemise-v4-test .af63-privacy-table th{width:40%}
html.afc-dark .afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo){background:#19363c!important;border-color:#39727a!important}
html.afc-dark .afemise-test-home.afemise-v4-test .af63-privacy-table caption{background:#19363c}
@media(max-width:760px){
 .afemise-test-home.afemise-v4-test .af63-photo-text{grid-template-columns:1fr;gap:20px}
 .afemise-test-home.afemise-v4-test #af62-home-photos{grid-template-columns:1fr;max-width:560px}
 .afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo){padding:16px!important}
 .afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo)>img,
 .afemise-test-home.afemise-v4-test :is(.af62-photo,.afc-photo,.af41-photo)>a>img{max-height:300px!important}
 .afemise-test-home.afemise-v4-test .af63-privacy-table :is(td,th){padding:10px;font-size:.9em}
}

/* V6.0.7: six comorbidity cards, two columns / three rows on larger screens. */
.afemise-test-home.afemise-v4-test .af67-comorbidities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;align-items:stretch}
.afemise-test-home.afemise-v4-test .af67-comorbidities .afc-card{display:flex!important;flex-direction:column;min-width:0;padding:24px}
.afemise-test-home.afemise-v4-test .af67-comorbidities h4{font-family:Montserrat,Arial,sans-serif;font-weight:700;font-size:1.12rem;line-height:1.45;margin:0 0 14px!important;overflow-wrap:anywhere}
.afemise-test-home.afemise-v4-test .af67-comorbidities h4+p{margin-top:0!important}
.afemise-test-home.afemise-v4-test .af67-comorbidities .af63-sources{margin-top:auto!important;padding-top:16px}
.afemise-test-home.afemise-v4-test .af67-exercise-note{margin-block:24px!important;background:#edf5e7!important;border-color:#b4d58d!important}
.afemise-test-home.afemise-v4-test .af67-resource-cover{display:flex;align-items:center;justify-content:center;width:100%;height:200px;margin:0 0 20px!important}
.afemise-test-home.afemise-v4-test .af67-resource-cover img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:200px!important;object-fit:contain;border:1px solid var(--af-line);border-radius:6px}
.afemise-test-home.afemise-v4-test .af67-resource-links{gap:24px;margin-bottom:24px}
.afemise-test-home.afemise-v4-test .af67-resource-links .afemise-v1-card{display:flex;flex-direction:column;min-width:0;gap:0}
.afemise-test-home.afemise-v4-test .af67-resource-links .afemise-v1-tag{align-self:flex-start;margin-bottom:12px!important}
.afemise-test-home.afemise-v4-test .af67-resource-links .afemise-v1-card-link{margin-top:0!important;padding-top:0}
.afemise-test-home.afemise-v4-test .af67-resource-links .afemise-v1-card-link+.afemise-v1-card-link{margin-top:12px!important}
.afemise-test-home.afemise-v4-test #afc-pacing-p5{margin-top:24px;margin-bottom:24px}
html.afc-dark .afemise-test-home.afemise-v4-test #af67-exercice{background:#203c2b!important;border-color:#668f51!important}
@media(max-width:760px){
 .afemise-test-home.afemise-v4-test .af67-comorbidities{grid-template-columns:1fr;gap:20px}
 .afemise-test-home.afemise-v4-test .af67-comorbidities .afc-card{padding:20px}
 .afemise-test-home.afemise-v4-test .af67-resource-cover{height:180px}
 .afemise-test-home.afemise-v4-test .af67-resource-cover img{max-height:180px!important}
}

/* V6.0.9 : mêmes bandes sombres que les documents voisins. */
.afemise-test-home.afemise-v4-test #af64-reperes-officiels > .af-resource-entry:first-child{border-top-color:#8e3d48}
.afemise-test-home.afemise-v4-test #af64-reperes-officiels > .af-resource-entry:nth-child(2){border-top-color:#557344}


/* V6.0.10 : new content uses the established AFEMISE components. */
.afemise-test-home.afemise-v4-test .af610-document-additions{display:contents}
.afemise-test-home.afemise-v4-test .af610-tool{display:flex;flex-direction:column;min-width:0}
.afemise-test-home.afemise-v4-test .af610-tool .af41-faq{box-shadow:none;margin:18px 0;border-color:var(--af-line)}
.afemise-test-home.afemise-v4-test .af610-tool .af41-faq summary{font-size:.95rem;padding:14px 16px}
.afemise-test-home.afemise-v4-test .af610-tool .af41-faq>div{padding:18px}
.afemise-test-home.afemise-v4-test .af610-tool .afemise-v1-card-link{margin-top:14px;padding-top:0}
.afemise-test-home.afemise-v4-test .af610-tool .af-resource-meta{margin-top:14px;font-size:.86rem;color:var(--af-muted)}
.afemise-test-home.afemise-v4-test .af610-tool .af-resource-meta:first-child{margin-top:0}
.afemise-test-home.afemise-v4-test .af610-tool .af63-sources{margin-top:auto!important;padding-top:18px}
.afemise-test-home.afemise-v4-test .af610-tool h4{font:700 1rem/1.5 Montserrat,Helvetica,Arial,sans-serif;margin:18px 0 10px}
.afemise-test-home.afemise-v4-test .af610-lang{font-weight:700}
.afemise-test-home.afemise-v4-test .af610-economie{font-size:.86rem;color:var(--af-muted);margin-top:14px}
.afemise-test-home.afemise-v4-test .af610-essential{margin-top:28px}
html.afc-dark .afemise-test-home.afemise-v4-test.af610-echelles .af41-faq[open]>summary{background:var(--af-paper)!important;color:var(--af-ink)!important}
.afemise-test-home.afemise-v4-test #af610-documents-aidant>.af-resource-entry:first-child,.afemise-test-home.afemise-v4-test #af610-documents-soignant>.af-resource-entry:first-child{border-top-color:#8e3d48}
.afemise-test-home.afemise-v4-test #af610-documents-aidant>.af-resource-entry:nth-child(2),.afemise-test-home.afemise-v4-test #af610-documents-soignant>.af-resource-entry:nth-child(2){border-top-color:#557344}


/* V6.0.11 : paragraph-based scale sections, using the established design. */
.afemise-test-home.afemise-v4-test .af611-scale{margin-block:30px;min-width:0}
.afemise-test-home.afemise-v4-test .af611-scale>.wp-block-heading{margin:0 0 14px!important}
.afemise-test-home.afemise-v4-test .af611-tool-links{margin:16px 0;max-width:none;font-size:.95em}
.afemise-test-home.afemise-v4-test .af611-translation{margin:18px 0;box-shadow:none}
.afemise-test-home.afemise-v4-test .af611-translation>summary{padding:14px 18px;min-height:48px;font-size:.95em}
.afemise-test-home.afemise-v4-test .af611-translation>div{padding:20px}
.afemise-test-home.afemise-v4-test .af611-scale-values{margin:0}
.afemise-test-home.afemise-v4-test .af611-scale-values>div{display:grid;grid-template-columns:minmax(65px,auto) minmax(0,1fr);gap:18px;padding:16px 0;border-bottom:1px solid var(--af-line)}
.afemise-test-home.afemise-v4-test .af611-scale-values>div:first-child{padding-top:0}
.afemise-test-home.afemise-v4-test .af611-scale-values>div:last-child{border-bottom:0;padding-bottom:0}
.afemise-test-home.afemise-v4-test .af611-scale-values dt{font-weight:700;max-width:140px}
.afemise-test-home.afemise-v4-test .af611-scale-values dd{margin:0}
.afemise-test-home.afemise-v4-test .af611-scale-preview{margin:0 auto;max-width:680px}
.afemise-test-home.afemise-v4-test .af611-scale-preview img{display:block;width:100%;height:auto;max-width:100%;margin:auto}
.afemise-test-home.afemise-v4-test .af611-scale-preview figcaption{font-size:.82em;line-height:1.6;margin-top:18px;color:var(--af-muted)}
html.afc-dark .afemise-test-home.afemise-v4-test.af611-echelles .af41-faq[open]>summary{background:var(--af-paper)!important;color:var(--af-ink)!important}
@media(max-width:480px){.afemise-test-home.afemise-v4-test .af611-scale-values>div{grid-template-columns:1fr;gap:6px}.afemise-test-home.afemise-v4-test .af611-scale-values dt{max-width:none}.afemise-test-home.afemise-v4-test .af611-translation>div{padding:18px}.afemise-test-home.afemise-v4-test .af611-scale{margin-block:26px}}

/* V6.0.12: readable paragraph width, stable response alignment and nested scale sections. */
.afemise-test-home.afemise-v4-test.af612-echelles .afemise-v1-wrap p{max-width:none!important;width:auto;margin-inline:0!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af611-translation>div>p:first-child{margin-top:0!important;margin-bottom:20px!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af611-scale-values+p{margin-top:20px!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-question{margin-bottom:22px!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-after-scale{margin-top:24px!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-depaul-values>div{grid-template-columns:34px minmax(0,1fr);gap:18px}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-depaul-values dd{min-width:0;overflow-wrap:break-word}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-subpart{margin:14px 0!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-subpart>summary{font-weight:600;line-height:1.55;white-space:normal}
html.afc-dark .afemise-test-home.afemise-v4-test.af612-echelles .af611-translation>summary{background:var(--af-paper)!important;color:var(--af-ink)!important}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-excerpt{max-width:760px;padding:18px;background:var(--af-paper);border:1px solid var(--af-line);border-radius:12px}
.afemise-test-home.afemise-v4-test.af612-echelles .af612-excerpt img{background:#fff}
.afemise-test-home.afemise-v4-test.af612-echelles blockquote{margin:12px 0;padding:12px 18px;border-left:3px solid #288c8f}
.afemise-test-home.afemise-v4-test #accompagnement .af612-soins-reperes{margin-block:26px}
.afemise-test-home.afemise-v4-test #accompagnement .af612-soins-reperes>.afemise-v1-wrap{max-width:none;width:100%;padding:0;margin:0}
.afemise-test-home.afemise-v4-test #accompagnement .af612-soins-reperes h3{margin-bottom:18px}
@media(max-width:480px){.afemise-test-home.afemise-v4-test.af612-echelles .af612-depaul-values>div{grid-template-columns:24px minmax(0,1fr);gap:12px}.afemise-test-home.afemise-v4-test.af612-echelles .af611-translation>div{padding:16px}.afemise-test-home.afemise-v4-test.af612-echelles .af612-subpart>div{padding:14px}.afemise-test-home.afemise-v4-test.af612-echelles .af612-excerpt{padding:12px}}

/* V6.0.13: complete user-provided Shepherd text; scoped to this scale only. */
.afemise-test-home.afemise-v4-test .af613-shepherd-level{margin:24px 0;padding-bottom:20px;border-bottom:1px solid var(--af-line)}
.afemise-test-home.afemise-v4-test .af613-shepherd-level:first-child{margin-top:0}
.afemise-test-home.afemise-v4-test .af613-shepherd-level h4{font:700 1.05rem/1.5 Montserrat,Helvetica,Arial,sans-serif;margin:0 0 14px;color:var(--af-ink)}
.afemise-test-home.afemise-v4-test .af613-shepherd-detail ul{margin:0;padding-inline-start:22px;max-width:none}
.afemise-test-home.afemise-v4-test .af613-shepherd-detail li{margin:0 0 12px;line-height:1.65;overflow-wrap:break-word}
.afemise-test-home.afemise-v4-test .af613-shepherd-detail li:last-child{margin-bottom:0}
.afemise-test-home.afemise-v4-test .af613-shepherd-note{margin-top:24px}

.afemise-test-home.afemise-v4-test .af613-shepherd-detail{margin-top:20px}
.afemise-test-home.afemise-v4-test .af613-shepherd-detail h5{font:700 1rem/1.5 Montserrat,Helvetica,Arial,sans-serif;margin:0 0 14px;color:var(--af-ink)}
.afemise-test-home.afemise-v4-test .af613-partner-logo{background:#fff;border-radius:12px;padding:12px}
.afemise-test-home.afemise-v4-test .af613-partner-theme{padding-bottom:0}
/* V6.0.14: reusable disclosure styling, with the site's existing palette. */
.afemise-test-home.afemise-v4-test .af614-partners{margin:0;box-shadow:none}
.afemise-test-home.afemise-v4-test .af614-partners>summary{padding:20px 24px;display:flex;align-items:center;gap:18px}
.afemise-test-home.afemise-v4-test .af614-partners>summary h2{font-size:clamp(1.15rem,3vw,1.55rem);line-height:1.45;margin:0;flex:1;color:inherit}
.afemise-test-home.afemise-v4-test .af614-partners>div{padding:24px}
.afemise-test-home.afemise-v4-test .af614-partner-entry{padding:0;margin:0 0 24px;border:0;background:transparent}
.afemise-test-home.afemise-v4-test .af614-partner-entry:last-child{margin-bottom:0}
.afemise-test-home.afemise-v4-test .af614-partner-entry>.afemise-v1-wrap{padding:0;max-width:none}
.afemise-test-home.afemise-v4-test .af614-partner-entry .afc-partner-copy p{max-width:none}
.afemise-test-home.afemise-v4-test .af614-shepherd-step{margin:16px 0!important;box-shadow:none}
.afemise-test-home.afemise-v4-test .af614-shepherd-step>summary{padding:14px 18px;font-weight:700;white-space:normal;line-height:1.55}
.afemise-test-home.afemise-v4-test .af614-shepherd-step>div{padding:18px}
.afemise-test-home.afemise-v4-test .af614-shepherd-step ul{max-width:none;margin:0;padding-inline-start:24px}
.afemise-test-home.afemise-v4-test .af614-shepherd-step li{margin-bottom:12px;line-height:1.65}
.afemise-test-home.afemise-v4-test .af614-shepherd-step li:last-child{margin-bottom:0}
.afemise-test-home.afemise-v4-test .af614-gt-badge{display:flex;align-items:center;justify-content:center;grid-column:1;grid-row:1 / span 2;width:90px;height:90px;margin:0;border-radius:50%;background:#e0f0ed;color:#246d70;font:700 1.5rem/1 Montserrat,Helvetica,Arial,sans-serif}
.afemise-test-home.afemise-v4-test .af614-report-link{padding-top:16px;padding-bottom:24px;font-size:.9rem}
.afemise-test-home.afemise-v4-test .af614-launch-note .af-key-note p{max-width:none}
.afemise-test-home.afemise-v4-test.af614-locked .afemise-v1-section{min-height:300px}
.afemise-test-home.afemise-v4-test.af614-locked .post-password-form{margin-top:24px}
.afemise-test-home.afemise-v4-test.af614-locked input{max-width:100%;padding:10px;border:1px solid var(--af-line);border-radius:8px;font:inherit}
.afemise-test-home.afemise-v4-test.af614-locked input[type=submit]{background:#288c8f;color:#fff;cursor:pointer}
html.afc-dark .afemise-test-home.afemise-v4-test .af614-partners>summary,html.afc-dark .afemise-test-home.afemise-v4-test .af614-shepherd-step>summary{background:var(--af-paper)!important;color:var(--af-ink)!important}
@media(max-width:480px){.afemise-test-home.afemise-v4-test .af614-partners>summary{padding:16px}.afemise-test-home.afemise-v4-test .af614-partners>div{padding:16px}.afemise-test-home.afemise-v4-test .af614-shepherd-step>div{padding:14px}}

@media(max-width:420px){.afemise-test-home.afemise-v4-test .af614-gt-badge{width:64px;height:64px;font-size:1.2rem}}
@media(max-width:480px){.afemise-test-home.afemise-v4-test .af614-partners>div{padding:12px 8px}.afemise-test-home.afemise-v4-test .af614-partner-entry .af-partner-card{padding:16px}}

/* V6.0.15 : same GT icon proportions; explicit accordion hint. */
.afemise-v4-test .af5-gt-card img.af615-gt8-image{width:90px;height:90px;object-fit:cover;border-radius:12px;grid-row:span 2;max-width:100%}
.afemise-v4-test .af615-open-hint{font-size:.85rem;font-weight:400;margin-left:auto;white-space:normal;color:inherit}
@media(max-width:600px){.afemise-v4-test .af5-gt-card img.af615-gt8-image{width:64px;height:64px}.afemise-v4-test .af615-open-hint{font-size:.8rem}}

.afemise-v4-test .af614-partners>summary h2{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;flex:1}
