/* Scope presentation overrides to the public content and known legacy components. */
body:not(.home) .title_outer .title {height:220px!important;min-height:0!important;background:#edf2f8!important;overflow:hidden;}
body:not(.home) .title_outer .title .image {position:absolute;inset:0;height:100%;opacity:.12;}
body:not(.home) .title_outer .title .image img {width:100%;height:100%;object-fit:cover;}
body:not(.home) .title_outer .title .title_holder {height:100%!important;position:absolute;inset:0;padding:0!important;}
body:not(.home) .title_outer h1,body:not(.home) .title_outer h1 span {color:#023368!important;text-shadow:none;font-size:36px!important;line-height:1.25!important;}
body:not(.home) .title_outer h1 br {display:none;}
.page-id-1653 .page_container_inner>h1,.page-id-1647 .page_container_inner h1,.single-congres .page_container_inner h1 {color:#023368;}
.page-id-1647 .WIDTH10p h1 {color:#fff;}
.page-id-1653 .ContentAppel h2,.page-id-1653 .ContentAppel h3,.page-id-1653 .ContentAppel a span {color:#023368!important;}
.page-id-1653 .ContentAppel {gap:12px;padding:20px 12px;box-sizing:border-box;}
.page-id-1653 .ContentAppel a {overflow-wrap:anywhere;}
.page-id-1653 .ContentAppel .contentBOX {min-width:0;}
.single-post .blog_single .post_text_inner>.entry_title {display:none;}
.single-post .blog_single .post_text_inner {padding-top:20px!important;}
.single-post .blog_single .post_info,.single-post .blog_single .post_info a {color:#4b5968!important;font-size:14px;}
.single-post .container_inner.default_template_holder {padding-top:36px!important;}
.qode-title-holder[role="button"] {cursor:pointer;scroll-margin-top:120px;}
.afs-rt-search {margin:28px 0;max-width:640px;}
.afs-rt-search label {display:block;color:#023368;font-weight:600;margin-bottom:8px;}
.afs-rt-search input {box-sizing:border-box;width:100%;padding:12px 16px;border:1px solid #687889;border-radius:3px;font:inherit;background:white;color:#233343;}
.afs-rt-search p {font-size:14px;margin-top:8px;}
.gridx4>.rt[hidden] {display:none!important;}
.mc4wp-form .mc4wp-form-fields label {display:block;font-weight:600;margin-bottom:8px;}
.mc4wp-form input[type="email"],.mc4wp-form input[type="submit"] {font:inherit;min-height:44px;box-sizing:border-box;padding:10px 12px;max-width:100%;border:1px solid #687889;border-radius:3px;}
.mc4wp-form input[type="email"] {width:100%;background:#fff;color:#233343;}
.mc4wp-form input[type="submit"] {margin-top:8px;background:#023368;color:#fff;cursor:pointer;}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body [role="button"]:focus-visible {outline:3px solid #c65a00!important;outline-offset:4px!important;}
.afs-not-found {padding-top:60px;padding-bottom:80px;min-height:45vh;}
.afs-not-found h1 {color:#023368;margin:12px 0 24px;}
.afs-not-found ul {margin:24px 0;line-height:2;}
@media(max-width:767px){
 body:not(.home) .title_outer .title {height:auto!important;min-height:160px!important;}
 body:not(.home) .title_outer .title .title_holder {position:relative!important;height:auto!important;padding:36px 0!important;}
 body:not(.home) .title_outer h1,body:not(.home) .title_outer h1 span {font-size:27px!important;line-height:1.3!important;}
 .page-id-1653 .page_container_inner>h1,.page-id-1647 .page_container_inner h1 {font-size:27px;line-height:1.3;overflow-wrap:anywhere;}
 .page-id-1653 .ContentAppel {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px;}
 .page-id-1653 .ContentAppel>.contentBOX,.page-id-1653 .ContentAppel>[class*="WIDTH"] {width:100%!important;float:none!important;box-sizing:border-box;height:auto!important;}
 .page-id-1653 .ContentAppel .BoxDupliquer {position:static!important;}
 .page-id-1647 .page_container_inner>.WIDTH10p,.page-id-1647 .page_container_inner>.WIDTH90p {width:100%;float:none;}
 .page-id-1647 .contenuAppel {overflow-wrap:anywhere;}
 .page-id-1647 .menu-back {display:none;}
 .mc4wp-form input[type="submit"] {width:100%;}
 .mobile_menu_button {min-width:44px;min-height:44px;}
 .qode-title-holder {padding-right:40px!important;}
}
/* Home editorial grids: equal cards, complete images and aligned actions. */
body.home .titre-acc,body.home .titre-acc span {color:#023368!important;}
body.home .q_masonry_blog {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;height:auto!important;}
body.home .q_masonry_blog_grid_sizer,body.home .q_masonry_blog_grid_gutter {display:none!important;}
body.home .q_masonry_blog>article {position:static!important;inset:auto!important;transform:none!important;width:auto!important;margin:0!important;display:flex!important;flex-direction:column;background:#fff;}
body.home .q_masonry_blog_post_image {height:200px;flex:none;}
body.home .q_masonry_blog_post_image a {display:flex;align-items:center;justify-content:center;height:100%;padding:16px;box-sizing:border-box;}
body.home .q_masonry_blog_post_image img {width:100%;height:100%;object-fit:contain;}
body.home .q_masonry_blog_post_text {display:flex;flex-direction:column;flex:1;padding:24px;}
body.home .q_masonry_blog_post_info {margin-top:auto;padding-top:20px;}
body.home .pt-cv-grid .pt-cv-page {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;}
body.home .pt-cv-grid .pt-cv-page::before,body.home .pt-cv-grid .pt-cv-page::after {display:none;}
body.home .pt-cv-grid .pt-cv-content-item {width:auto!important;float:none!important;display:flex;padding:0!important;margin-bottom:0!important;}
body.home .pt-cv-grid .pt-cv-ifield {display:flex;flex-direction:column;width:100%;}
body.home .pt-cv-grid .pt-cv-href-thumbnail {height:180px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
body.home .pt-cv-grid .pt-cv-thumbnail {display:block;float:none!important;width:100%;height:100%;object-fit:contain;margin:0!important;}
body.home .pt-cv-grid .pt-cv-content {display:flex;flex-direction:column;flex:1;}
body.home .pt-cv-grid .pt-cv-content>br {display:none;}
body.home .pt-cv-grid .pt-cv-rmwrap {margin-top:auto;padding-top:18px;}
body.home .pt-cv-grid .pt-cv-readmore {background:#023368;color:#fff;border-color:#023368;min-height:40px;box-sizing:border-box;padding:10px 14px;}
body.home .pt-cv-grid .pt-cv-readmore:hover {background:#006b6b;border-color:#006b6b;}
body.home a.qbutton[href="/contact/"],body.home a.qbutton[href="/contact/"]:visited {color:#fff!important;background:#006b6b!important;border-color:#006b6b!important;}
body.home a.qbutton[href="/contact/"]:hover,body.home a.qbutton[href="/contact/"]:focus {color:#fff!important;background:#023368!important;border-color:#fff!important;}
header a.afs-header-contact,header a.afs-header-contact:visited {display:inline-flex;align-items:center;min-height:44px;color:#023368;font-size:15px;font-weight:600;padding:0 8px;}
header a.afs-header-contact:hover {text-decoration:underline;}
header a.afs-header-contact i {font-size:20px;}
@media(max-width:1000px){body.home .pt-cv-grid .pt-cv-page {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){body.home .q_masonry_blog {grid-template-columns:1fr;}body.home .q_masonry_blog_post_image {height:180px;}}
@media(max-width:599px){body.home .pt-cv-grid .pt-cv-page {grid-template-columns:1fr;}body.home .pt-cv-grid .pt-cv-readmore {min-height:44px;}}
/* A real congress poster keeps its intrinsic ratio; the placeholder stays compact. */
body.single-congres .afs-congres-poster .title {height:auto!important;min-height:0!important;overflow:visible;}
body.single-congres .afs-congres-poster .title .image {position:static;height:auto;opacity:1;}
body.single-congres .afs-congres-poster .title .image img {display:block;width:100%;height:auto;object-fit:contain;}
body.single-congres .afs-congres-poster .title .title_holder {display:none;}
body.single-congres .afs-congres-section-heading {box-sizing:border-box;display:flex;align-items:center;justify-content:center;}
body.single-congres .afs-congres-section-heading h3.title {height:auto!important;min-height:0!important;line-height:1.35;}
body.single-congres .afs-congres-section-heading + .vc_empty_space {height:32px!important;}
.page-id-1653 .boxContent li.appel[hidden] {display:none!important;}
header a.afs-contact-mobile {display:none;}
@media(max-width:1000px) {
 header .header_inner_left a.afs-contact-mobile {display:flex;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;padding:0;justify-content:center;}
}
.afs-archive-label,.afs-dashboard-note,.afs-empty-calls {color:#173754;padding:12px 16px;}
.afs-archive-link {margin:12px 0 24px;padding:16px 20px;background:#edf3f8;border-left:4px solid #007676;}
.afs-archive-link a,.afs-empty-calls a {color:#023368;text-decoration:underline;}
.single-congres ul.afs-committee {padding-left:1.4em;list-style:disc outside;text-align:left;}
.single-congres ul.afs-committee li {margin:0 0 .65em;line-height:1.55;}
body.home .rev_slider .afs-home-congress {box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:min(78vw,980px);min-height:clamp(180px,27vw,380px);padding:20px;background:#073553;color:white!important;text-decoration:none;line-height:1.2!important;text-align:center;white-space:normal;border-top:6px solid #129999;}
body.home .afs-home-congress span {color:white!important;font-size:clamp(15px,2vw,26px)!important;line-height:1.3!important;}
body.home .afs-home-congress strong {color:white!important;font-weight:700!important;font-size:clamp(32px,6vw,84px)!important;line-height:1.05!important;}
body.home .afs-home-congress b {color:white!important;font-size:clamp(14px,1.4vw,19px)!important;line-height:1.3!important;text-decoration:underline;text-underline-offset:3px;}
