/* Date action already has its own accessible name. */
.carnet.home-page .search-bar .stay-date-field>span{display:none!important}
/* Desktop sidebar remains visible; only its density adapts to available height. */
@media(min-width:901px) and (max-height:820px){
 .carnet .site-header{height:100dvh;max-height:100dvh;padding:clamp(12px,3vh,24px) 20px;gap:clamp(4px,1vh,10px)}
 .carnet .site-header>.wordmark{flex-shrink:0;font-size:clamp(30px,5.2vh,43px)}
 .carnet .desktop-nav{display:flex;flex-direction:column;gap:0;margin:clamp(8px,2.5vh,20px) 0;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
 .carnet .desktop-nav a{flex-shrink:0;padding:clamp(5px,1.2vh,9px) 0;line-height:1.25;font-size:clamp(14px,2.3vh,17px)}
 .carnet .header-actions{flex-shrink:0;gap:clamp(4px,1vh,8px)}
 .carnet .language{min-height:28px;padding:0;font-size:11px}
 .carnet .header-basket{min-height:28px}
 .carnet .header-book{min-height:40px;padding:10px 16px}
}
/* Approved home proposal: the place first, then a clear route to the rooms. */
.carnet .home-spirit{border-top:1px solid var(--line)}
.carnet .home-spirit h2{max-width:750px;margin:12px 0 18px}
.carnet .home-spirit-intro{max-width:720px;font-size:14px;margin-bottom:28px}
.spirit-photos{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.spirit-card{display:block;min-width:0;color:inherit}
.spirit-card figure{margin:0}
.spirit-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center top}
.spirit-card:last-child img{object-position:center 36%}
.carnet .spirit-card figcaption{font:normal 25px/1.3 var(--serif);color:var(--navy);padding-top:14px}
.spirit-card:hover figcaption{text-decoration:underline;text-underline-offset:5px}
.spirit-actions{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.carnet .spirit-actions p{font-size:14px;max-width:620px;margin:0}
.spirit-actions>.button{flex-shrink:0;white-space:nowrap}
@media(max-width:650px){.spirit-photos{grid-template-columns:1fr;gap:25px}.spirit-actions{align-items:flex-start;flex-direction:column;gap:18px}.carnet .spirit-card figcaption{font-size:23px}}

/* Port image complements the original editorial bar block; images are not links. */
.carnet .journal-bar .home-port-view{grid-column:1/-1;margin:4px 0 0}.carnet .journal-bar .home-port-view img{width:100%;height:clamp(160px,18vw,240px);max-height:240px;aspect-ratio:auto;object-fit:cover;object-position:center 45%}

/* Validated IA1 image: readable landscape frame, no flattened full-width strip. */
.carnet .journal-bar .home-port-view{width:min(100%,768px);justify-self:center}.carnet .journal-bar .home-port-view img{height:auto;max-height:none;aspect-ratio:16/9;object-position:center 52%}
.home-room-selection a[href="#/categorie/port"] img{object-position:center 54%}
.home-room-selection a[href="#/categorie/village"] img{object-position:center bottom;transform:scale(1.18);transform-origin:center bottom}
.home-room-selection a[href="#/categorie/village"]:hover img{transform:scale(1.22)}

/* Two coherent bar photos, manual horizontal scrolling and dots only. */
.carnet .journal-bar .home-bar-carousel{position:relative;min-width:0}.carnet .journal-bar .home-bar-carousel .photo-track{height:auto;aspect-ratio:3/2;max-height:340px;cursor:grab}.carnet .journal-bar .home-bar-carousel .photo-slide img{aspect-ratio:auto;object-position:center center}

.carnet .journal-bar .home-bar-carousel .photo-track.is-dragging{cursor:grabbing}

/* Keep all three home room images the same size on small screens. */
@media(max-width:760px){
 .carnet .home-room-selection{--home-card-gap:19px;column-gap:var(--home-card-gap)}
 .carnet .home-room-selection .family-card:last-child{width:calc((100% - var(--home-card-gap))/2);max-width:none}
}
@media(max-width:420px){.carnet .home-room-selection{--home-card-gap:16px}}

/* Dates and guests use the same grid alignment and underline baseline. */
.search-bar>.stay-date-field,.compact-search>.stay-date-field{align-self:end}
