body.ac-detail-view { --detail-rule:.5px solid #000; --detail-ink:#202020; --detail-paper:#f5f3ee; }
.ac-detail-view #Subheader { display:none; }
.ac-detail,.ac-detail * { box-sizing:border-box; }
body.ac-detail-view #Content { padding:28px 0 64px; background:#fff; color:var(--detail-ink); letter-spacing:normal; }
.ac-detail-shell { width:calc(100% - 96px); max-width:1200px; margin-inline:auto; }
.ac-detail-breadcrumb { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; margin-bottom:22px; color:#65645f; font-size:12px; line-height:1.6; }
.ac-detail-breadcrumb a { color:inherit; text-decoration:none; }
.ac-detail-index { display:flex; align-items:baseline; justify-content:space-between; gap:24px; padding:0 0 22px; border-bottom:var(--detail-rule); margin-bottom:36px; }
.ac-detail-index>span { font-size:11px; line-height:1.6; text-transform:uppercase; letter-spacing:.12em; }
.ac-detail-index ul { display:flex; flex-wrap:wrap; gap:12px 28px; margin:0; padding:0; list-style:none; }
.ac-detail-index li { margin:0; padding:0; }
.ac-detail-index a { display:flex; gap:18px; align-items:center; min-height:36px; font-size:13px; line-height:1.5; color:inherit; text-decoration:none; }
.ac-detail-index a:hover { text-decoration:underline; text-underline-offset:4px; }
.ac-detail-content>.section,.ac-detail-content .section_wrapper,.ac-detail-content .the_content_wrapper { margin:0!important; padding:0!important; width:100%!important; max-width:none!important; float:none; }
.ac-detail-section { margin:0 0 36px; scroll-margin-top:110px; }
.ac-detail-row { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:28px; align-items:start; }
.ac-detail-column { grid-column:span var(--detail-span,12); min-width:0; border:var(--detail-rule); padding:30px; background:#fff; }
.ac-detail-column:empty { display:none; }
.ac-detail-row:has(>.ac-detail-column:empty)>.ac-detail-column:not(:empty) { grid-column:1/-1; }
#Content.ac-detail .ac-detail-row:has(>.ac-detail-column:empty) .wpb_text_column { max-width:78ch; margin-inline:auto!important; }
#Content.ac-detail .ac-detail-section__title,#Content.ac-detail .ac-detail-section--heading h2 { font:400 clamp(28px,3.3vw,42px)/1.2 Georgia,serif; letter-spacing:-.03em; color:var(--detail-ink); text-align:left; margin:0 0 24px; }
.ac-detail-section--heading .ac-detail-column { border:0; padding:0; border-bottom:var(--detail-rule); }
.ac-detail-section--intro>.ac-detail-row>.ac-detail-column:first-child { background:var(--detail-paper); }
#Content.ac-detail .wpb_text_column { margin:0 0 24px!important; }
#Content.ac-detail .wpb_text_column:last-child { margin-bottom:0!important; }
#Content.ac-detail p,#Content.ac-detail li { font-size:17px; line-height:1.85; letter-spacing:normal; color:var(--detail-ink); }
#Content.ac-detail .wpb_text_column p { margin:0 0 18px; text-align:left; }
#Content.ac-detail .wpb_text_column p:last-child { margin-bottom:0; }
#Content.ac-detail .wpb_text_column em { font-size:inherit; }
#Content.ac-detail .wpb_text_column :is(h2,h3) { font:400 28px/1.3 Georgia,serif; color:var(--detail-ink); letter-spacing:-.02em; margin:28px 0 18px; }
#Content.ac-detail .ac-detail-section--intro .ac-detail-column:first-child>.wpb_text_column:first-child p:first-child { font-size:20px; line-height:1.7; }
#Content.ac-detail .wpb_text_column ul,#Content.ac-detail .wpb_text_column ol { margin:18px 0; padding-left:22px; }
#Content.ac-detail .wpb_text_column li { padding:8px 0 12px 4px; margin:0; border-bottom:.5px solid #dedbd4; }
#Content.ac-detail .wpb_text_column li:last-child { border-bottom:0; }
#Content.ac-detail .ac-detail-facts { background:var(--detail-paper); }
#Content.ac-detail .ac-detail-facts p { font-size:15px; line-height:1.7; }
#Content.ac-detail .ac-detail-facts .dettagli-t { border:0!important; border-top:var(--detail-rule)!important; padding:16px 0 0!important; margin-top:0!important; }
#Content.ac-detail .wpb_single_image { margin:0 0 22px; }
#Content.ac-detail .wpb_single_image .vc_single_image-wrapper { max-width:100%; }
#Content.ac-detail .wpb_single_image img { display:block; width:auto; max-width:100%; height:auto; margin-inline:auto; }
#Content.ac-detail video { width:100%; height:auto; max-width:100%; }
#Content.ac-detail .ac-detail-section--contact { padding:32px; border:var(--detail-rule); background:var(--detail-paper); }
#Content.ac-detail .ac-detail-section--contact .ac-detail-column { padding:0; border:0; background:transparent; }
#Content.ac-detail .ac-detail-section--contact .wpb_wrapper>p:first-child { text-align:left!important; font-size:18px; }
#Content.ac-detail .wpcf7 { margin-top:24px; }
#Content.ac-detail .wpcf7 .column { min-width:0; }
#Content.ac-detail .wpcf7 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),#Content.ac-detail .wpcf7 textarea { box-sizing:border-box; width:100%; max-width:100%; min-width:0; padding:13px; border:var(--detail-rule); border-radius:0; background:#fff; color:var(--detail-ink); font-size:16px; line-height:1.5; margin:0; }
#Content.ac-detail .wpcf7 textarea { min-height:140px; resize:vertical; }
#Content.ac-detail .wpcf7 input[type=submit] { padding:13px 26px; min-height:48px; border:var(--detail-rule); border-radius:0; background:#202020; color:#fff; font-size:15px; box-shadow:none; }
#Content.ac-detail .wpcf7 input[type=checkbox] { width:18px; height:18px; accent-color:#202020; }
#Content.ac-detail .wpcf7 .wpcf7-list-item { margin:0; }
#Content.ac-detail .ac-detail-section--related .ac-detail-column { padding:0; border:0; }
.ac-detail-related-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:18px; border:var(--detail-rule); background:#fff; text-decoration:none; color:inherit; height:100%; padding-bottom:22px; }
#Content.ac-detail .ac-detail-related-card img { display:block; grid-column:1/-1; width:100%; height:240px; object-fit:contain; border-bottom:var(--detail-rule); }
.ac-detail-related-card>span { margin-left:22px; font-size:20px; line-height:1.4; }
.ac-detail-related-card>span.ac-detail-related-arrow { margin:0 22px 0 0; font-size:28px; }
.ac-detail-next { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 0 0; border-top:var(--detail-rule); }
.ac-detail-next a { display:inline-flex; align-items:center; gap:28px; min-height:44px; color:inherit; text-decoration:none; font-size:14px; }
.ac-detail :is(a,button,input,textarea,summary):focus-visible { outline:2px solid #202020; outline-offset:4px; }
@media(max-width:1000px) {
 .ac-detail-shell { width:calc(100% - 56px); }
 .ac-detail-column { padding:24px; }
 .ac-detail-row { gap:22px; }
 .ac-detail-index { display:block; }
 .ac-detail-index ul { margin-top:12px; }
}
@media(max-width:700px) {
 body.ac-detail-view #Content { padding:20px 0 44px; }
 .ac-detail-shell { width:calc(100% - 40px); }
 .ac-detail-column { grid-column:1/-1; padding:24px; }
 .ac-detail-section { margin-bottom:28px; }
 #Content.ac-detail p,#Content.ac-detail li { font-size:16px; line-height:1.8; }
 #Content.ac-detail .ac-detail-section--intro .ac-detail-column:first-child>.wpb_text_column:first-child p:first-child { font-size:18px; }
 #Content.ac-detail .ac-detail-section--contact { padding:24px; }
 #Content.ac-detail .wpcf7 .column { width:100%; float:none; margin:0 0 18px; }
 #Content.ac-detail .wpcf7 input[type=submit] { width:100%; }
 .ac-detail-index ul { gap:4px 22px; }
 .ac-detail-next { align-items:flex-start; flex-direction:column; gap:8px; }
}
/* Readable line length for long biographies and qualifications. */
#Content.ac-detail .ac-detail-section--prose .wpb_text_column { max-width:78ch; margin-inline:auto!important; }
.ac-detail--profile .ac-detail-section--prose .wpb_text_column ul { columns:2; column-gap:40px; }
.ac-detail--profile .ac-detail-section--prose .wpb_text_column li { break-inside:avoid; }
/* The theme reset removes list markers globally; biographies need normal editorial lists. */
body.ac-detail--profile #Content .ac-native-text ul { list-style:disc outside; padding-inline-start:1.5em; margin-block:0 1.2em; }
body.ac-detail--profile #Content .ac-native-text ol { list-style:decimal outside; padding-inline-start:1.5em; margin-block:0 1.2em; }
body.ac-detail--profile #Content .ac-native-text li { display:list-item; list-style:inherit; margin-block:.35em; }
body.ac-detail--profile #Content .ac-native-text li > ul { list-style-type:circle; margin-block:.4em; }
body.ac-detail--profile #Content .ac-native-text li > ol { margin-block:.4em; }
@media(max-width:700px) { .ac-detail--profile .ac-detail-section--prose .wpb_text_column ul { columns:1; } }
