.lch-logement-others {
--lch-lo-bg: #f7f3ed;
--lch-lo-card: #fff;
--lch-lo-ink: #2a2622;
--lch-lo-muted: #5a534c;
--lch-lo-gold: #9a7d55;
position: relative;
isolation: isolate;
background: var(--lch-lo-bg);
color: var(--lch-lo-ink);
padding: clamp(3rem, 6.5vw, 5rem) 0;
font-family: "Outfit", system-ui, sans-serif;
}
.lch-logement-others__inner {
width: min(1240px, calc(100% - 3rem));
margin: 0 auto;
box-sizing: border-box;
}
.lch-logement-others__header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1.25rem 2rem;
margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
}
.lch-logement-others__eyebrow {
margin: 0 0 0.7rem;
font-size: 0.72rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--lch-lo-gold);
font-weight: 400;
}
.lch-logement-others__title,
.wpcursor-component.lch-logement-others .lch-logement-others__title,
.lch-logement-others h2.lch-logement-others__title {
margin: 0 !important;
max-width: 14ch;
font-family: "Cormorant Garamond", Georgia, serif !important;
font-weight: 500 !important;
font-size: clamp(2rem, 3.6vw, 2.75rem) !important;
line-height: 1.15 !important;
color: var(--lch-lo-ink) !important;
text-wrap: balance;
background-image: linear-gradient(var(--lch-lo-gold), var(--lch-lo-gold));
background-repeat: no-repeat;
background-size: 3.25rem 1px;
background-position: left calc(1.15em + 0.35rem);
padding-bottom: 0.85rem;
}
.lch-logement-others__all {
display: inline-flex;
align-items: center;
gap: 0.45rem;
flex: 0 0 auto;
margin-bottom: 0.35rem;
color: var(--lch-lo-gold);
text-decoration: none;
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
font-weight: 400;
transition: color 0.2s ease, gap 0.2s ease;
}
.lch-logement-others__all:hover,
.lch-logement-others__all:focus-visible {
color: #7d6544;
gap: 0.65rem;
outline: none;
}
.lch-logement-others__grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 1rem;
}
.lch-logement-others__card {
display: flex;
flex-direction: column;
background: var(--lch-lo-card);
min-width: 0;
overflow: hidden;
}
.lch-logement-others__media {
display: block;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #d9d3c8;
}
.lch-logement-others__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.55s ease;
}
.lch-logement-others__card:hover .lch-logement-others__image {
transform: scale(1.04);
}
.lch-logement-others__body {
display: flex;
flex-direction: column;
gap: 0.7rem;
padding: 1rem 1rem 1.15rem;
flex: 1 1 auto;
}
.lch-logement-others__name,
.wpcursor-component.lch-logement-others .lch-logement-others__name,
.lch-logement-others h3.lch-logement-others__name {
margin: 0 !important;
font-family: "Cormorant Garamond", Georgia, serif !important;
font-weight: 500 !important;
font-size: clamp(1.15rem, 1.5vw, 1.35rem) !important;
line-height: 1.25 !important;
color: var(--lch-lo-ink) !important;
}
.lch-logement-others__name a {
color: inherit;
text-decoration: none;
}
.lch-logement-others__meta {
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 0.65rem 1rem;
color: var(--lch-lo-muted);
font-size: 0.82rem;
font-weight: 300;
}
.lch-logement-others__meta-item {
display: inline-flex;
align-items: center;
gap: 0.35rem;
color: var(--lch-lo-gold);
}
.lch-logement-others__meta-item svg {
flex: 0 0 auto;
}
.lch-logement-others__detail {
display: inline-flex;
align-items: center;
gap: 0.4rem;
margin-top: auto;
color: var(--lch-lo-gold);
text-decoration: none;
font-size: 0.82rem;
font-weight: 400;
transition: gap 0.2s ease, color 0.2s ease;
}
.lch-logement-others__detail:hover,
.lch-logement-others__detail:focus-visible {
color: #7d6544;
gap: 0.6rem;
outline: none;
}
@media (max-width: 1100px) {
.lch-logement-others__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 800px) {
.lch-logement-others__header {
flex-direction: column;
align-items: flex-start;
}
.lch-logement-others__title {
max-width: none;
}
.lch-logement-others__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 560px) {
.lch-logement-others {
padding: 2.5rem 0;
}
.lch-logement-others__inner {
width: calc(100% - 2.2rem);
}
.lch-logement-others__grid {
grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
.lch-logement-others__image,
.lch-logement-others__all,
.lch-logement-others__detail {
transition: none;
}
.lch-logement-others__card:hover .lch-logement-others__image {
transform: none;
}
}