/*
Theme Name: Twenty Twenty Four Child
Theme URL: http://www.ahmontour.com/
Description: Twenty Twenty Four Child Theme
Author: Christophe
Author URL: http://www.ahmontour.com
Template: twentytwentyfour
Version: 1.0.0
Text Domain: twentytwentyfour-child
*/ 
/* Custom CSS goes after this line */

/* debut header */
header { margin-top: 140px !important;} .wp-block-heading { scroll-margin-top: 155px; }

.amt-menu-roadtrip a, .amt-menu-citytrip a, .amt-menu-traveltip a { background: no-repeat 5px/30px; padding: 10px 0 10px 40px !important; font-size: 22px; }
.amt-menu-roadtrip a {background-image: url('/media/2020/05/roadtrip.svg') }
.amt-menu-citytrip a { background-image: url('/media/2020/05/citytrip.svg') }
.amt-menu-traveltip a { background-image: url('/media/2020/07/traveltip.svg') }

@media (max-width: 782px) {

header {margin-top: 100px !important;} #amt-header {padding-bottom:10px !important;} div.wp-block-site-logo img.custom-logo { width:220px }
p.wp-block-site-tagline { font-size: .65rem !important; } .wp-block-heading { scroll-margin-top: 115px; }

.wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; } .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
.wp-block-navigation__responsive-container { width:220px;left:auto }
li.wp-block-navigation-item { font-size:25px; font-weight:bold; }
li.has-child ul li.wp-block-navigation-item { font-size:22px; font-weight:normal; }

/* cache legende galerie sur mobile */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {height:0}
.wp-block-gallery.has-nested-images figcaption {display:none}

}

#amt-header { position: fixed; right: 0; left: 0; z-index: 1000; top: 0; }
/* fin header */
div.intro-text-container { max-width: 800px; margin:auto }
.amt-force-layout-start { align-items:start !important; }
.entry-content a:not([href*="ahmontour.com"],[href^="#"]):not(.wp-block-social-link-anchor):not(.wp-block-button__link), .entry-content a.amt-aff-link {
    background: url(/media/2025/05/external_link_icon.svg)     center right/12px no-repeat;
    padding-right: 15px;
} .amt-rsc-content a {background:none !important}
.amt-rsc-content > div { width: 100vw; margin-left:calc(-100vw/2 + 100%/2); margin-right:calc(-100vw/2 + 100%/2);
} 
div.index_button_category a img:focus, div.index_button_category a img:hover {filter:brightness(1.05)}
.featured-media a img:focus, .featured-media a img:hover,
.wp-block-gallery a img:focus, .wp-block-gallery a img:hover,
div.wp-block-latest-posts__featured-image a img:focus,
div.wp-block-latest-posts__featured-image a img:hover {filter:brightness(1.02)}
.entry-content p:not(.has-text-align-left):not(.has-text-align-center):not(.has-text-align-right), .wp-block-ultimate-post-post-grid-1 .ultp-block-excerpt {text-align:justify}
.wp-block-latest-posts__list li {padding-right:.8rem}
div.wp-block-post-excerpt h2 {all:inherit}
.entry-content h3:not(.ultp-block-title) { font-size: 1.8rem; letter-spacing: 0.03125em; margin: 4.5rem auto 2.5rem; }
.entry-content .wp-block-group h3 {margin-top: 0;}
.entry-content h4 { margin-top:3rem; }
#post-1434 .featured-media img { border-radius: 60px 60px 0 0; }
.ultp-block-image-simgleGradient>a:before{text-shadow:none}
div.post-meta-single-top{max-width:90%;}
figure.wp-block-gallery{margin-top: 1em !important;}
/* Wp-typography */
sub,sup{font-size: 75%;line-height: 100%;}
/* Sidebar */
#amt-sidebar { height:100% }
#amt-sidebar .wp-block-latest-posts li { min-height: 1.5rem; }
/*.amt-sidebar-newsletter {position:relative;z-index:1}*/
#amt-sidebar-ad { display:flex;justify-content:center}
#amt-sidebar-ad>* { height:calc(100% - 1750px);position:absolute;bottom:700px;z-index:0}
#amt-sidebar-ad>*>div {position:sticky;top:150px;}
/* Customisation intra-article*/
div.entry-content > ul li, div.entry-content > ol li { margin-bottom: .5rem; }



/* bloc mise en forme intra-article */
.amt-highlight, .amt-food, .amt-drink, .amt-info, .amt-coeur, .amt-ticket, .amt-list, .amt-nature, .amt-rando, .amt-flash, .amt-dislike, .amt-transport, .amt-star {padding:1em;border-radius:10px}
.amt-highlight, .amt-food, .amt-drink { background: #b5bdbc; }
.amt-info { background: #8da7e7; }
.amt-coeur { background: #e17770; }
.amt-ticket { background: #ba7de3; }
.amt-list { background: #af936b; }
.amt-nature, .amt-rando { background: #9de278; }
.amt-flash, .amt-dislike { background: #f5d54f; }
.amt-transport { background: #e29725; }
.amt-star { background:#ffc107; }

.amt-highlight::before, .amt-food::before, .amt-drink::before, .amt-info::before, .amt-coeur::before, .amt-ticket::before, .amt-list::before, .amt-nature::before, .amt-rando::before, .amt-flash::before, .amt-dislike::before, .amt-transport::before, .amt-star::before { display:block; content:''; width:48px; height:48px; background: center/48px no-repeat; }
.amt-highlight::before { background-image: url('/media/2025/06/amt_icon-jumelles.svg'); }
.amt-food::before { background-image: url('/media/2025/08/amt_icon-food.svg'); }
.amt-drink::before { background-image: url('/media/2025/08/amt_icon-drink.svg'); }
.amt-info::before { background-image: url('/media/2025/06/amt_icon-info.svg'); }
.amt-coeur::before { background-image: url('/media/2025/06/amt_icon-coeur.svg'); }
.amt-ticket::before { background-image: url('/media/2025/06/amt_icon-ticket.svg'); }
.amt-list::before { background-image: url('/media/2025/06/amt_icon-list.svg'); }
.amt-nature::before { background-image: url('/media/2025/06/amt_icon-tree.svg'); }
.amt-rando::before { background-image: url('/media/2025/06/amt_icon-rando.svg'); }
.amt-flash::before { background-image: url('/media/2025/06/amt_icon-flash.svg'); }
.amt-dislike::before { background-image: url('/media/2025/06/amt_icon-dislike.svg'); }
.amt-star::before { background-image: url('/media/2026/04/amt_icon-star.svg'); }
/*ci-dessous : var transport*/
.amt-ship::before { background-image: url('/media/2025/06/amt_icon-ship.svg'); }
.amt-car::before { background-image: url('/media/2025/06/amt_icon-car.svg'); }
.amt-taxi::before { background-image: url('/media/2025/06/amt_icon-taxi.svg'); }
.amt-avion::before { background-image: url('/media/2025/06/amt_icon-avion.svg'); }
.amt-train::before { background-image: url('/media/2025/06/amt_icon-train.svg'); }
.amt-bus::before { background-image: url('/media/2025/06/amt_icon-bus.svg'); }
.amt-pieton::before { background-image: url('/media/2025/06/amt_icon-pieton.svg'); }
.amt-hotel::before { background-image: url('/media/2025/08/amt_icon-hotel.svg'); }

@media (min-width: 1155px) {
.amt-highlight::before, .amt-food::before, .amt-drink::before, .amt-info::before, .amt-coeur::before, .amt-ticket::before, .amt-list::before, .amt-nature::before, .amt-rando::before, .amt-flash::before, .amt-dislike::before, .amt-transport::before, .amt-star::before {  position: relative; left: -80px; margin-bottom: -50px;  }
}

@media (max-width: 1155px) {

.amt-highlight::before, .amt-food::before, .amt-drink::before, .amt-info::before, .amt-coeur::before, .amt-ticket::before, .amt-list::before, .amt-nature::before, .amt-rando::before, .amt-flash::before, .amt-dislike::before, .amt-transport::before, .amt-star::before { padding:5px;margin-right:.6em; float:left;border-radius:50px;background-color:#fff;width:30px;height:30px;background-size:28px; }
.amt-highlight, .amt-food, .amt-drink, .amt-info, .amt-coeur, .amt-ticket, .amt-list, .amt-nature, .amt-rando, .amt-flash, .amt-dislike, .amt-transport, .amt-star {  min-height:50px;vertical-align:middle; }

}


/* ad in content */
.amt-rsc-content .block-visibility-hide-small-screen {width:728px;margin:auto}
.amt-rsc-content .block-visibility-hide-large-screen {width:300px;margin:auto}

.amt-filariane {
font-size: 0.9rem;
border-left: 3px solid;
ol { list-style-type: none;
&::before { display:block; content:''; width:20px; height:20px; background: url('/media/2026/04/signs-post-solid-full.svg') left/20px no-repeat;position:relative;margin-bottom:-25px; } }
li { display: inline-block; line-height: 30px; }
li:first-child { padding:0 5px 0 30px; font-weight:bold; }
}
.category-road-trip .amt-filariane {
border-color: #017863;
li:first-child a { text-decoration-color: #017863; }
}
.category-city-trip .amt-filariane {
border-color: #4e7829;
li:first-child a { text-decoration-color: #4e7829; }
}
.category-travel-tip .amt-filariane {
border-color: #a87410;
li:first-child a { text-decoration-color: #a87410; }
}
@media (min-width: 1155px) {
.amt-filariane li:not(:first-child) { padding:0 5px 0 15px; font-style:italic; background: url('/media/2026/04/filariane-sep.svg') left/14px no-repeat; }
}
@media (max-width: 1155px) {
.amt-filariane li:not(:first-child) { display:none; }
}


.amt-lireaussi {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  
  .wp-block-media-text__content { padding: 0 0 0 5%; }
  
  img { width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px; }
  
  div { flex:1;
    min-width:0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left; }
  
  p { margin: 5px 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  
  p:has(a)::before { content:'▸ '; }
}
@media (max-width: 1155px) {
  .amt-lireaussi .wp-block-media-text__content { padding-left: 1%; }
}

.amt-lireaussi:hover {
    background-color: #e9ecef;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



.amt-sommaire { background: #f9f9f9 url('/media/2024/12/amt_icon-compass.png') left/48px no-repeat; background-position: right top; }

/* Disclaimer affiliations */
.amt-affiliation-disclaimer {
  margin: 28px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.92rem;
  color: #444;
}
.amt-affiliation-disclaimer summary {
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  list-style: none;
}
.amt-affiliation-disclaimer summary::-webkit-details-marker { display: none; }
.amt-affiliation-disclaimer p {
  margin-top: 14px;
  line-height: 1.7;
  color: #555;
  max-width: 70ch;
}
.amt-affiliation-disclaimer summary::after {
  content: "›";
  display: inline-block;
  font-size: 0.95rem;
  opacity: 0.6;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  margin-left:5px;
}
.amt-affiliation-disclaimer[open] summary::after {
  transform: rotate(90deg);
}

/* Résumé des points clés de l'article */
.amt-keyfacts {
  background-color: #f8f9fa;
  padding: 16px 18px;
  margin: 20px 0;
  border-left: 4px solid;
  border-radius: 6px;
  font-size: 0.95rem;
}
.amt-keyfacts p { margin: 0 0 8px; }
.amt-keyfacts ul { margin: 0; padding-left: 18px; }
.amt-keyfacts li { margin-bottom: 4px; }
.category-road-trip .amt-keyfacts { border-color: #017863; background-color: #eef7f5; }
.category-city-trip .amt-keyfacts { border-color: #4e7829; background-color: #f2f7ee; }
.category-travel-tip .amt-keyfacts { border-color: #a87410; background-color: #faf5eb; }
.amt-keyfacts p.amt-keyfacts-title {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.amt-dest-enbref { background: #f9f9f9 url('/media/2024/12/amt_icon-valise.png') left/48px no-repeat; background-position: right top; padding:1em; } .amt-dest-enbref h4 {padding-right:50px}
/* Drop Cap */
.has-drop-cap:first-letter { font-family:var(--wp--preset--font-family--source-serif-pro); font-weight:400 !important; }
body.category-city-trip .has-drop-cap:first-letter { color: #4E7829; }
body.category-road-trip .has-drop-cap:first-letter { color: #017863; }
body.category-travel-tip .has-drop-cap:first-letter { color: #A87410; }
/* Travelers' map */
div.travelersmap-container { margin-bottom: 20px; }
/*ULTP/YARPP customizations */
a.ultp-cat-city-trip, a.ultp-cat-road-trip, a.ultp-cat-travel-tip { border: 1px solid; color: #000; }
a.ultp-cat-city-trip:hover, a.ultp-cat-road-trip:hover, a.ultp-cat-travel-tip:hover { background-color: #fff; }
a.ultp-cat-city-trip { background-color: #77b83f; border-color: #77b83f;} a.ultp-cat-city-trip:hover { border-color: #77b83f; }
a.ultp-cat-road-trip { background-color: #02a286; border-color: #02a286;} a.ultp-cat-road-trip:hover { border-color: #02a286; }
a.ultp-cat-travel-tip { background-color: #faad18; border-color: #faad18;} a.ultp-cat-travel-tip:hover { border-color: #faad18; }
.ultp-category-grid { height: 0px;display:flex; }
.ultp-category-in a, .yarpp-cat a { padding:0.5rem 10px; }
.wp-block-ultimate-post-post-grid-3 .ultp-category-in { margin-top:-1.5rem; } .wp-block-ultimate-post-post-grid-2 .ultp-category-in { margin: -1.5rem auto 0 auto; }
.yarpp-related h3 { text-transform:none; }
.yarpp-related div.wp-block-columns { align-items:baseline; } 
.yarpp-related .wp-block-latest-posts__featured-image {position:relative;}
.yarpp-cat { font-size:12px;position:absolute;top:.5em}
/*infos pratiques*/
.wp-block-post-content .wp-block-group.alignfull.has-background { padding-left: 5%;}
/*author-tip*/
div.author-tip { overflow: auto; padding: 1rem 0; margin-top: 1rem; }
div.author-tip img.avatar { border-radius: 50%; margin-right: 1.5rem; width: 6rem; float:left; position:relative; z-index:2; }
div.author-tip-textwrap { margin-left: 8.5rem; }
div.author-tip-textwrap div { background-color: #f9f9f9; border-radius: 10px; padding: 1rem; position: relative; z-index:1; -webkit-box-shadow: 0 .5rem 0 0 #CCAE37; -moz-box-shadow: 0 .5rem 0 0 #4A3F14; box-shadow: 0 .5rem 0 0 #4A3F14;}
div.author-tip-textwrap div::before { border-color: transparent #f9f9f9 transparent transparent; border-style: solid; border-width: 0 2rem 2rem 0; position:absolute; left:-2rem; top:2rem; content:''; }
span.author-tip-intro { display: block; font-weight: bold; }
@media (max-width: 782px) { div.author-tip img.avatar { margin-top:1rem; margin-left: 1rem; } div.author-tip-textwrap {margin-left:auto;} div.author-tip-textwrap div::before {border:none;} }
/* readmore */
.amt-readmore { background-color: #cfcabe; position:relative; padding:1em; }
.amt-readmore::before { content:'';display:block;background-repeat:no-repeat;background-position:center; }
.amt-rm-beach::before { background-image:url('/media/2024/12/amt_icon-beach.png'); }
.amt-rm-budget::before { background-image:url('/media/2024/12/amt_icon-budget.png'); }
.amt-rm-camel::before { background-image:url('/media/2024/12/amt_icon-camel.png'); }
.amt-rm-camera::before { background-image:url('/media/2024/12/amt_icon-camera.png'); }
.amt-rm-camping::before { background-image:url('/media/2024/12/amt_icon-camping.png'); }
.amt-rm-compass::before { background-image:url('/media/2024/12/amt_icon-compass.png'); }
.amt-rm-food::before { background-image:url('/media/2024/12/amt_icon-food.png'); }
.amt-rm-map::before { background-image:url('/media/2024/12/amt_icon-map.png'); }
.amt-rm-monument::before { background-image:url('/media/2024/12/amt_icon-monument.png'); }
.amt-rm-nature::before { background-image:url('/media/2024/12/amt_icon-nature.png'); }
.amt-rm-passport::before { background-image:url('/media/2024/12/amt_icon-passport.png'); }
.amt-rm-postcard::before { background-image:url('/media/2024/12/amt_icon-postcard.png'); }
.amt-rm-sport::before { background-image:url('/media/2024/12/amt_icon-sport.png'); }
.amt-rm-train::before { background-image:url('/media/2024/12/amt_icon-train.png'); }
.amt-rm-valise::before { background-image:url('/media/2024/12/amt_icon-valise.png'); }
.amt-rm-van::before { background-image:url('/media/2024/12/amt_icon-van.png'); }
@media (min-width: 1155px) {
.amt-readmore::before { position:absolute;left:2em;top:0;width:8%;height:100%;background-size:100%; }
.amt-readmore { padding-left:calc(8% + 4em); border-left:2px solid #4d4d4d; }
}
@media (max-width: 1155px) {
.amt-readmore::before { width:48px;height:48px;background-size:48px;padding:5px;margin-right:1em; float:left;border:2px solid #4d4d4d;border-radius:50px;background-color:#e8e2d5; }
}

/* Mise en forme des titres */

:not(.wp-block-group) > h3 { position:relative; }
:not(.wp-block-group) > h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 2px;
}
.category-road-trip :not(.wp-block-group) > h3::after { background: linear-gradient(to right, rgba(1, 120, 99, 0.7), rgba(1, 120, 99, 0) ); }
.category-city-trip :not(.wp-block-group) > h3::after { background: linear-gradient(to right, rgba(78, 120, 41, 0.7), rgba(78, 120, 41, 0) ); }
.category-travel-tip :not(.wp-block-group) > h3::after { background: linear-gradient(to right, rgba(168, 116, 16, 0.7), rgba(168, 116, 16, 0) ); }

:not(.wp-block-group) > h4:not(.wp-block-accordion-heading) { position:relative; padding-left:1.5em; }
:not(.wp-block-group) > h4:not(.wp-block-accordion-heading)::before {
content: "";
  position: absolute;
  left: .7em;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  opacity: 0.6;
}

@media (max-width: 1155px) {
:not(.wp-block-group) > h4:not(.wp-block-accordion-heading) { padding-left:0.5rem;}
:not(.wp-block-group) > h4:not(.wp-block-accordion-heading)::before { left:0; width:3px;height:3px;}
}

.category-road-trip h4:not(.wp-block-accordion-heading)::before { border-color: #017863; }
.category-city-trip h4:not(.wp-block-accordion-heading)::before { border-color: #4e7829; }
.category-travel-tip h4:not(.wp-block-accordion-heading)::before { border-color: #a87410; }


/* Mise en forme des CTA */

.amt-cta-in-content { a.wp-element-button {
  background-color: #c05621;
  color: #ffffff;
  transition: all 0.2s ease;
  &:hover { background-color: #9c4221; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } }
  a::after { content:' →'; }
}

.amt-cta-itinerary {
border: 5px solid #dd7d5f;
margin-top: 1rem;
position:relative;
}
.amt-cta-itinerary.is-roadtrip {
border-color: #017863;
}
.amt-cta-itinerary.is-citytrip {
border-color: #4e7829;
}
.amt-cta-itinerary.is-traveltip { border-color: #a87410;
}
.amt-cta-itinerary img { transition: filter 0.2s ease; }
.amt-cta-itinerary:hover img { filter: brightness(0.96); }

.amt-cta-itinerary::before {
  content: "Pour aller plus loin :";
  position: absolute;
  top: 2px;
  left: 2px;
  color: white;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
}
.amt-cta-itinerary.is-roadtrip::before { background: rgba(1,120,99); }
.amt-cta-itinerary.is-citytrip::before { background: rgba(78,120,41,.9); }
.amt-cta-itinerary.is-traveltip::before { background: rgba(168,116,16,.9); }

.amt-cta-avant {
 .wp-element-button { background-color: #dee2e6; color:#495057;
&:hover { background-color:#e9ecef; } }
 >::before { content:"← "; } 
}
.amt-cta-apres {
 .wp-element-button { background-color: #6c757d; color:#ffffff;
&:hover { background-color: #5a6268; } }
 >::before { content:"La suite : "; }
 >::after { content:' →'; }
}
.is-itinerary .amt-cta-apres>::before { content:"Suite de l'itinéraire : "; }
.is-itinerary .amt-cta-apres.is-start>::before { content:"Début de l'itinéraire : "; }
.is-itinerary .amt-cta-apres.is-end>::before { content:"Dernière étape : "; }
.amt-cta-apres.no-label>::before { content:""; }

.amt-cta-in-content a.wp-element-button[target="_blank"]::after, .amt-cta-apres a.wp-element-button[target="_blank"]::after { content:" ↗"; }

/* Mise en forme de l'espace des commentaires */

div.wp-block-comments__legacy-placeholder {
  border-top: 4px solid #786721;
  background-color: #fff; padding-left:0.5rem; padding-right:0.5rem;
 
  /* Messages en l'absence de commentaires */
  .wp-block-comments__empty {
    background:#eee;
    padding:0 1rem;
    border-radius:20px;
    
    .wp-block-comments__empty-message {
      text-align: center;
      padding-top:10px;
      
      p { margin:0; }
    }
  }
  
  /* Mise en forme des commentaires (parent et enfant sur 1 niveau) */
  .comment-content { padding-left: 1rem; border-radius: 20px; background:#ddd; }
  img.avatar { position:relative; z-index:1; left:0; width:45px !important; height: 45px !important; margin-top:0 !important; }
  b.fn { font-weight:bold; }
  li.bypostauthor b.fn:after {
    background: no-repeat url('/media/2026/01/user-pen-solid.svg') calc(100% - 5px)/15px #786721;
    color:#fff;
    font-weight:normal;
    font-size: .8rem;
    margin: 0 0 0 .3rem;
    border-radius: 20px;
    padding: .1rem calc(.5rem + 20px) .1rem .5rem;
  }
  
  div.reply { position: absolute; right: 2%; bottom:-3rem;}
  div.reply a.comment-reply-link {
    padding: .3rem calc(.5rem + 20px) .3rem .5rem;
    border-radius:20px;
    background: no-repeat url('/media/2026/01/comment-dots-solid.svg') calc(100% - 5px)/15px #786721;
    color:#fff;
  }
  
  ol.comment__list {
    li.parent { position: relative }
    
    li:has(ol) > .comment-body {
      position: relative;

      &:before {
        content: "";
        position: absolute;
        inset-inline-start: 1rem;
        top: 1rem;
        bottom: -1rem;
        width: 2px;
        background: #aaa;
      }
    }
  }

  ol.children {
    list-style-type:none;
   
    li:not(:last-child) {
      position: relative;

      &:before {
        content: "";
        position: absolute;
        inset-inline-start: 1rem;
        left: -1.5rem;
        top: 1rem;
        bottom: 0;
        width: 2px;
        background: #aaa;
      }
    }
    
    .comment-content { margin-left : 40px; background: #eee; }

    li {
      position: relative;

      &:after {
        content: "";
        position: absolute;
        inset-inline-start: -1.5rem;
        top: -1.7rem;
        height: 3rem;
        width: 28px;
        border-inline-start: 2px solid #aaa;
        border-bottom: 2px solid #aaa;
        background: transparent;
        border-end-start-radius: 10px;
      }
    }
  }

  /* Mise en forme du formulaire d'envoi */
  .required { color: tomato }
  p.comment-form-comment textarea { max-width: 95% }
  p.form-submit { position:relative; z-index:1 }
}

  /* Ajustements responsive */
@media (min-width: 782px) {
  ol.comment__list .depth-1::marker {
      content: counter(list-item) '/ ';
      font-weight: 600;
      color: tomato;
      font-size: 1.8rem;
      left:1rem;
  }
  li.bypostauthor b.fn:after { content:'Auteur de l\'article'; }
  .comment-content { margin-left: 50px; }
  ol.children img.avatar { width:40px !important; height:40px !important; }
}
@media (max-width: 782px) {
  .wp-block-comments__legacy-placeholder { margin-left: calc(var(--wp--style--root--padding-left) * (-1) + 1rem); margin-right: calc(var(--wp--style--root--padding-right) * (-1) + 1rem); }
  ol.comment__list {
    margin-left:-1.8rem;
    list-style-type:none;
  }
  li.bypostauthor b.fn:after {
    content:'Auteur';
  }
  .comment-body { margin-left:-1rem;}
  .comment-content { margin-left: 30px; }
  ol.children {
    li::after { margin-left:-1rem; top:-2.1rem; }
    li:first-child { margin-top: 2.5em; }
    li:not(:last-child):before { margin-left:-1rem; }
    .comment-content { margin-left: 0px !important; }
    img.avatar { width:30px !important; height:30px !important; }
  }
}

/*debug gallery cropping with figure instead of img*/
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) picture { width: 100%;flex: 1 0 0%;height: 100%;-o-object-fit: cover;object-fit: cover;}