/* Shared palette for editorial pages, listings and accommodation sheets. */
body.lp27-site {
    color-scheme: dark;
    --lp27-page: var(--oc-bg);
    --lp27-page-ink: var(--oc-ink);
    --lp27-muted: var(--oc-muted);
    --lp27-line: var(--oc-line);
    --lp27-face: var(--lp27-display, Baskervville, Georgia, serif);
    --lp27-body: var(--lp27-sans, "Source Sans 3", "Segoe UI", sans-serif);
    color: var(--lp27-page-ink);
    background: var(--lp27-page);
}
.lp27-editorial, .lp27-housing { color: var(--lp27-page-ink); font: 400 1.06rem/1.65 var(--lp27-body); }
.lp27-editorial, .lp27-housing .lp27-housing__inner { box-sizing: border-box; width: 100%; max-width: 94rem; margin: auto; padding: clamp(2rem, 5vw, 5rem) clamp(1.2rem, 5vw, 6rem) clamp(3.5rem, 6vw, 7rem); }
.lp27-editorial .lp27-page-heading { margin: 0 0 clamp(1.6rem, 4vw, 3.2rem); }
.lp27-editorial h1, .lp27-housing h1, .lp27-housing h2, .lp27-editorial :where(h2, h3), .lp27-practical h2 {
    font-family: var(--lp27-face); font-weight: 400; color: var(--lp27-page-ink); text-wrap: balance; overflow-wrap: anywhere;
}
.lp27-editorial h1, .lp27-housing h1 { margin: 0; font-size: clamp(2.6rem, 5.15vw, 5.4rem); letter-spacing: -.053em; line-height: 1.035; }
.lp27-editorial h1 { max-width: 20ch; }
.lp27-editorial .entry-content { color: var(--oc-ink); font-size: clamp(1.03rem, 1.05vw, 1.18rem); line-height: 1.75; overflow-wrap: anywhere; }
.lp27-story .entry-content > :where(p, ul, ol, h2, h3, blockquote, form, .wpcf7, .wp-block-image, .lp27-external, .lp27-external-frame) { max-width: 50rem; margin-inline: auto; }
.lp27-story .entry-content > :where(h2, h3, h4) { margin-block: 2em .65em; }
.lp27-story .entry-content :where(h2, h3) { font-size: clamp(1.8rem, 2.8vw, 3rem); line-height: 1.14; letter-spacing: -.035em; }
.lp27-story .entry-content h3 { font-size: clamp(1.4rem, 2.15vw, 2.15rem); }
.lp27-editorial .entry-content :where(ul, ol) { box-sizing: border-box; padding-inline-start: 1.25em; }
.lp27-editorial .entry-content li { margin-block: .28em; }
.lp27-editorial .entry-content :where(img, video) { max-width: 100%; height: auto; }
.lp27-editorial .entry-content figure img { display: block; margin-inline: auto; }
.lp27-editorial .entry-content figcaption, .lp27-housing__gallery figcaption { color: var(--lp27-muted); font-size: .9rem; margin: .4rem 0 0; }
.lp27-editorial .entry-content .wp-block-image { margin-block: clamp(1.4rem, 3vw, 2.5rem); }
.lp27-editorial .entry-content :where(table) { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.lp27-editorial .entry-content :where(td,th) { padding: .55em .75em; border-bottom: 1px solid var(--lp27-line); }
.lp27-editorial-hero { margin: 0 auto clamp(2.4rem, 4vw, 4rem); }
.lp27-editorial-hero img { display: block; width: 100%; max-height: none; aspect-ratio: 2.35; object-fit: cover; }
.lp27-editorial time, .lp27-context-link, .lp27-meta { font: 500 .91rem/1.4 var(--lp27-body); color: var(--lp27-muted); }
.lp27-context-link, .lp27-meta { display: inline-block; margin: 0 0 1rem; }
.lp27-editorial time { display: block; margin-block-start: 1rem; }
.lp27-editorial .entry-content a, .lp27-find__links a, .lp27-context-link, .lp27-arrival a, .lp27-house-anchor { color: var(--lp27-page-ink); text-decoration-thickness: 1px; text-underline-offset: .23em; }
.lp27-content :focus-visible, .lp27-housing a:focus-visible { outline: 2px solid var(--oc-blue); outline-offset: 3px; }
.lp27-editorial .entry-content .wpcf7 { margin-block: 1.5rem; }
.lp27-editorial .wpcf7 :where(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), select, textarea),
.lp27-search-form input { width: 100%; padding: .62rem .8rem; background: var(--oc-surface); color: var(--lp27-page-ink); border: 1px solid var(--oc-edge); border-radius: 2px; font: inherit; }
.lp27-editorial .wpcf7 :where(textarea) { min-height: 8rem; }
.lp27-editorial .wpcf7 label { color: var(--lp27-page-ink); }
.lp27-editorial .wpcf7 input[type="submit"], .lp27-search-form button, .lp27-arrival .lp27-interior-button, .lp27-rental-inventory .lp27-interior-button, .lp27-housing .lp27-housing__button {
    display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 2.8rem; padding: .78rem 1.3rem;
    border: 1px solid var(--oc-orange); border-radius: 2px; background: var(--oc-orange); color: var(--oc-bg);
    text-align: center; text-decoration: none; font: 600 1rem/1.25 var(--lp27-body); cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.lp27-editorial .wpcf7 input[type="submit"]:hover, .lp27-search-form button:hover, .lp27-arrival .lp27-interior-button:hover, .lp27-rental-inventory .lp27-interior-button:hover, .lp27-housing .lp27-housing__button:hover { background: var(--oc-hover); color: var(--oc-bg); border-color: var(--oc-hover); }
.lp27-arrival { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.45rem, 3vw, 2.8rem); margin: 0 0 3rem; border-block: 1px solid var(--lp27-line); background: var(--oc-surface); }
.lp27-arrival address { display: grid; gap: .4rem; font-style: normal; }
.lp27-arrival address strong { font: 400 1.95rem/1.2 var(--lp27-face); }
.lp27-arrival > div { display: grid; gap: .7rem; }
.lp27-search-form { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 38rem; margin-block: 1.6rem; }
.lp27-search-form label { flex: 1 1 13rem; }
.lp27-search-form input { min-height: 3.1rem; }
.lp27-find__links, .lp27-house-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.lp27-find__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.lp27-find { padding-block: clamp(2rem, 8vw, 8rem); }
.lp27-editorial .wp-block-gallery { display: flex; flex-wrap: wrap; gap: .7rem; }
.lp27-editorial .wp-block-gallery .wp-block-image { flex: 1 1 15rem; margin: 0; }
.lp27-collection { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: clamp(1.25rem, 2vw, 2.25rem); }
.lp27-collection a.lp27-card {
    display: flex; align-items: flex-start; flex-direction: column; margin: 0; padding-bottom: .95rem; min-width: 0;
    border-bottom: 1px solid var(--lp27-line); border-radius: 0; text-decoration: none; background: var(--oc-surface); color: var(--lp27-page-ink);
}
.lp27-collection a.lp27-card[hidden] { display: none; }
.lp27-card__photo { display: block; overflow: hidden; width: 100%; background: var(--oc-line); }
.lp27-card .lp27-card__photo img { aspect-ratio: 1.58; transition: transform .45s ease; }
.lp27-collection .lp27-card .lp27-card__name { font: 400 clamp(1.5rem, 2.2vw, 2.05rem)/1.15 var(--lp27-face); letter-spacing: -.035em; margin: .85rem 0 .25rem; text-wrap: pretty; }
.lp27-card__details { color: var(--lp27-muted); font: 400 .94rem/1.5 var(--lp27-body); }
.lp27-card--text { padding-block: 1rem; justify-content: center; }
.lp27-card:is(:hover, :focus-visible) .lp27-card__photo img { transform: scale(1.035); }
.lp27-collection a.lp27-card:is(:hover, :focus-visible) .lp27-card__name {
    color: var(--oc-orange); text-decoration: none;
}
.lp27-editorial :is(h1, h2, h3, h4) a:is(:hover, :focus-visible) {
    color: var(--oc-orange); text-decoration: none;
}
.lp27-filters { border-block: 1px solid var(--lp27-line); margin-block: 1rem 2rem; padding: 1rem 0; }
.lp27-filters label { font: 600 .9rem/1.5 var(--lp27-body); color: var(--lp27-muted); }
.lp27-filters :is(select, button) { color: var(--lp27-page-ink); background-color: var(--oc-surface); border-color: var(--oc-edge); border-radius: 2px; }
.lp27-filters button { background: transparent; font-size: .95rem; cursor: pointer; }
.lp27-filters output { font-size: .92rem; font-weight: 400; color: var(--lp27-muted); }
.lp27-editorial .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp27-editorial .page-numbers { padding: .3rem .65rem; text-underline-offset: .25em; color: var(--lp27-page-ink); }
.lp27-editorial .page-numbers.current { background: var(--oc-line); }
.lp27-housing { background: var(--lp27-page); }
.lp27-housing .lp27-housing__inner { padding-top: clamp(1.5rem, 3vw, 3.15rem); }
.lp27-housing .lp27-housing__back { display: inline-flex; align-items: center; margin-bottom: clamp(1.2rem, 2vw, 1.9rem); font: 500 .95rem/1.3 var(--lp27-body); color: var(--lp27-muted); text-decoration: none; }
.lp27-housing__back::before { content: ""; height: .45rem; width: .45rem; border-left: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.lp27-house-lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .95fr); grid-template-areas: "image details"; background: var(--oc-surface); }
.lp27-house-lead--text { display: block; }
.lp27-housing__hero { grid-area: image; position: relative; margin: 0; min-height: 23rem; background: var(--oc-line); border-radius: 0; }
.lp27-housing .lp27-housing__hero img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.lp27-housing__hero a { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem .9rem; background: var(--oc-surface); color: var(--oc-ink); font-weight: 600; font-size: .9rem; text-decoration: none; border-radius: 2px; }
.lp27-house-summary { grid-area: details; align-self: center; box-sizing: border-box; padding: clamp(1.35rem, 3.1vw, 3.8rem); }
.lp27-house-summary .lp27-housing__intro { display: block; margin: 0; }
.lp27-house-summary h1 { font-size: clamp(2.65rem, 4.25vw, 4.75rem); }
.lp27-house-summary .lp27-housing__facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(4rem,1fr)); gap: .8rem 1rem; padding: 1.3rem 0; margin-block: 1.25rem; border-block: 1px solid var(--oc-line); }
.lp27-house-summary .lp27-housing__facts > div { display: flex; flex-direction: column; }
.lp27-house-summary .lp27-housing__facts dt { color: var(--lp27-muted); font: 500 .9rem/1.3 var(--lp27-body); overflow-wrap: anywhere; }
.lp27-house-summary .lp27-housing__facts dd { order: -1; margin-bottom: .2rem; font: 400 clamp(1.4rem, 2vw, 2.05rem)/1.2 var(--lp27-face); color: var(--lp27-page-ink); overflow-wrap: anywhere; }
.lp27-housing .lp27-house-anchor { font: 500 1rem/1.4 var(--lp27-body); }
.lp27-housing h2 { font-size: clamp(2rem, 3.55vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.lp27-housing h3 { font: 400 1.55rem/1.2 var(--lp27-face); }
.lp27-housing__equipment { gap: 1.4rem clamp(1.4rem, 4vw, 4rem); }
.lp27-housing__equipment > div { padding: 1.15rem 0 0; border-top: 1px solid var(--oc-edge); background: transparent; }
.lp27-housing__equipment ul { color: var(--oc-ink); line-height: 1.55; }
.lp27-housing__gallery { gap: clamp(.45rem, 1.1vw, 1rem); }
.lp27-housing__gallery a { border-radius: 0; }
.lp27-housing__gallery img { transition: transform .5s; }
.lp27-housing__gallery a:is(:hover,:focus-visible) img { transform: scale(1.045); }
.lp27-housing__links a { color: var(--lp27-page-ink); font-weight: 500; }
.lp27-lightbox { box-sizing: border-box; margin: auto; padding: 1rem; border: 0; width: min(76rem, 97vw); max-width: 97vw; max-height: 96dvh; background: var(--oc-bg); color: var(--oc-ink); }
.lp27-lightbox::backdrop { background: rgb(32 42 54 / 91%); }
.lp27-lightbox[open] { display: grid; justify-items: center; align-content: center; gap: .55rem; }
.lp27-lightbox > img { display: block; max-height: 68vh; max-height: 68dvh; max-width: 100%; object-fit: contain; }
.lp27-lightbox button { min-height: 2.75rem; min-width: 2.75rem; background: transparent; border: 1px solid var(--oc-edge); color: inherit; cursor: pointer; font: inherit; }
.lp27-lightbox button:focus-visible { outline: 2px solid var(--oc-orange); outline-offset: 2px; }
.lp27-lightbox__close { justify-self: end; padding-inline: .85rem; }
.lp27-lightbox__controls { display: flex; align-items: center; gap: 1rem; }
.lp27-lightbox__controls button { font-size: 1.7rem; }
.lp27-practical { color: var(--lp27-page-ink); background: var(--oc-surface); padding-inline: clamp(1.2rem, 5vw, 6rem); }
.lp27-practical h2 { font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
.lp27-stage .lp27-footer {
    display: grid; grid-template-columns: minmax(11rem,1.4fr) repeat(2, minmax(9rem,1fr)); column-gap: clamp(1rem,4vw,4rem); row-gap: 2rem;
    padding: clamp(2.25rem, 5vw, 5rem) clamp(1.2rem,5vw,6rem) 1.4rem; background: var(--oc-bg); color: var(--oc-ink);
}
.lp27-footer .lp27-footer__identity { display: flex; flex-direction: column; align-items: start; justify-content: flex-start; gap: .65rem; }
.lp27-footer .lp27-footer__identity > a:first-child { display: inline-flex; align-items: baseline; gap: .65rem; font: 400 2.2rem/1.12 var(--lp27-face); text-decoration: none; }
.lp27-footer .lp27-footer__stars { color: var(--oc-orange); font: 400 .7rem/1 var(--lp27-body); letter-spacing: .13em; }
.lp27-footer address { font: 400 1rem/1.5 var(--lp27-body); color: var(--oc-muted); }
.lp27-footer a, .lp27-footer button { color: var(--oc-ink); }
.lp27-footer .lp27-footer__phone { font: 500 .98rem/1.4 var(--lp27-body); }
.lp27-footer__section h2 { color: var(--oc-ink); font: 400 clamp(1.22rem,1.75vw,1.65rem)/1.15 var(--lp27-face); margin: 0 0 .75rem; }
.lp27-footer__section a { text-decoration: none; font: 400 .99rem/1.45 var(--lp27-body); padding-block: .28rem; }
.lp27-footer :is(a,button):hover { color: var(--oc-orange); text-decoration: underline; }
.lp27-footer__base { grid-column: 1/-1; display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.5rem; border-top: 1px solid var(--oc-line); padding-top: 1.1rem; }
.lp27-footer__base small { color: var(--oc-muted); font-size: .88rem; }
.lp27-footer__base :is(a,button) { color: var(--oc-muted); font-size: .9rem; }
@media (max-width: 1100px) and (min-width: 801px) {
    .lp27-housing .lp27-housing__inner { padding-inline: clamp(1.25rem, 2.5vw, 2.25rem); }
    .lp27-house-lead { grid-template-columns: minmax(0,1.14fr) minmax(15rem,1fr); }
    .lp27-house-summary { padding-inline: 1.3rem; }
}
@media (max-width: 800px) {
    .lp27-house-lead { grid-template-columns: minmax(0,1fr); grid-template-areas: "image" "details"; }
    .lp27-housing__hero { min-height: 0; aspect-ratio: 1.67; }
    .lp27-house-summary { padding: clamp(1.2rem,4vw,2.2rem); }
    .lp27-house-summary .lp27-housing__facts { margin-block: .95rem; padding-block: .75rem; }
    .lp27-housing__equipment { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lp27-footer__base { display: grid; }
    .lp27-footer__links { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .lp27-editorial-hero img { aspect-ratio: 1.45; }
    .lp27-housing__equipment { grid-template-columns: 1fr; }
    .lp27-stage .lp27-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lp27-footer__identity { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
    .lp27-card .lp27-card__photo img, .lp27-housing__gallery img { transition: none; transform: none !important; }
    .lp27-housing .lp27-housing__button { transition: none; }
}

/* Imported Gutenberg and Contact Form 7 elements inherit the same dark surfaces. */
.lp27-editorial .entry-content a, .lp27-find__links a, .lp27-house-anchor,
.lp27-housing__links a, .lp27-context-link { color: var(--oc-blue); }
.lp27-editorial .entry-content a:is(:hover, :focus-visible), .lp27-house-anchor:hover,
.lp27-housing__links a:hover, .lp27-arrival a:not(.lp27-interior-button):hover { color: var(--oc-hover); }
.lp27-content .entry-content .wp-block-button__link { background: var(--oc-orange); color: var(--oc-bg); }
.lp27-content .entry-content .wp-block-button__link:hover { background: var(--oc-hover); color: var(--oc-bg); }
.lp27-editorial .entry-content :is(.has-black-color,.has-contrast-color) { color: var(--oc-ink) !important; }
.lp27-editorial .entry-content :is(.has-white-background-color,.has-base-background-color) { background-color: var(--oc-surface) !important; }
.lp27-editorial .entry-content blockquote { border-color: var(--oc-orange); }
.lp27-search-form input::placeholder, .lp27-editorial :is(input,textarea)::placeholder { color: var(--oc-muted); opacity: 1; }
.lp27-editorial .wpcf7 .wpcf7-not-valid-tip { color: var(--oc-hover); }
.lp27-editorial .wpcf7 form .wpcf7-response-output { color: var(--oc-ink); border-color: var(--oc-edge); }
.lp27-editorial .wpcf7 form:is(.invalid,.failed,.unaccepted) .wpcf7-response-output { border-color: var(--oc-orange); }
.lp27-editorial :is(input,textarea,select), #lp27-consent { accent-color: var(--oc-orange); }
.lp27-housing .lp27-housing__button:focus-visible, .lp27-interior-button:focus-visible { outline-color: var(--oc-blue); }

/* Editorial introductions and in-page navigation use the original heading hierarchy. */
.lp27-editorial:has(.lp27-story) { max-width: 100%; }
.lp27-story-intro { margin: 0 0 clamp(1.8rem,4vw,4rem); }
.lp27-editorial .lp27-story-intro .lp27-page-heading { margin: 0; }
.lp27-context-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2rem; }
.lp27-context-link::before { content: ""; width: .34rem; height: .34rem; border-inline-start: 1px solid; border-block-end: 1px solid; transform: rotate(45deg); }
.lp27-story-intro--photo .lp27-editorial-hero { margin: clamp(1.1rem,2.2vw,2.2rem) 0 0; }
.lp27-editorial-hero img { width: 100%; height: auto; max-height: 38rem; aspect-ratio: 2.55; object-fit: cover; }
.lp27-story--service .lp27-story-intro--photo,
.lp27-story--article .lp27-story-intro--photo { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); background: var(--oc-surface); }
.lp27-story--service .lp27-story-intro--photo .lp27-page-heading,
.lp27-story--article .lp27-story-intro--photo .lp27-page-heading { align-self: center; padding: clamp(1.3rem,3.1vw,3.8rem); }
.lp27-story--service .lp27-story-intro--photo .lp27-editorial-hero,
.lp27-story--article .lp27-story-intro--photo .lp27-editorial-hero { position: relative; min-height: clamp(15rem,25vw,30rem); margin: 0; overflow: hidden; }
.lp27-story--service .lp27-editorial-hero img,
.lp27-story--article .lp27-editorial-hero img { position: absolute; inset: 0; height: 100%; width: 100%; max-height: none; }
.lp27-story--service .lp27-story-intro--photo h1,
.lp27-story--article .lp27-story-intro--photo h1 { font-size: clamp(2.35rem,3.9vw,4.8rem); }
.lp27-story--territoire .lp27-page-heading { border-inline-start: 2px solid var(--oc-orange); padding-inline-start: clamp(.85rem,2vw,2rem); }
.lp27-story--territoire .lp27-editorial-hero img { max-height: 36rem; aspect-ratio: 2.7; }
.lp27-story-layout, .lp27-story-layout > * { min-width: 0; }
.lp27-story-layout { --lp27-reading: min(100%,46rem); }
.lp27-story-layout > .entry-content > :where(p,ul,ol,blockquote,h2,h3,h4,dl,form,.wpcf7) { max-width: var(--lp27-reading); margin-inline: auto; }
.lp27-story-layout > .entry-content > :where(h2,h3,h4) { max-width: none; }
.lp27-story-layout:not(.lp27-story-layout--guide) > .entry-content > :where(h2,h3,h4) { width: 100%; max-width: var(--lp27-reading); }
.lp27-story-layout .entry-content > :is(h2,h4):not(:first-child) { border-block-start: 1px solid var(--oc-line); padding-block-start: clamp(1rem,2.5vw,2.2rem); }
.lp27-story-layout .entry-content > :first-child { margin-block-start: 0; }
.lp27-story-layout .entry-content :where([id]) { scroll-margin-top: calc(var(--lp27-bar-height, 5rem) + var(--lp27-adminbar, 0px) + 1rem); }
.lp27-story-layout--guide { display: grid; grid-template-columns: minmax(10.5rem,.32fr) minmax(0,1fr); column-gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.lp27-story-layout--guide > .entry-content > :where(p,ul,ol,blockquote,h2,h3,h4,dl,form,.wpcf7) { margin-inline: 0 auto; }
.lp27-story-guide { position: sticky; top: calc(var(--lp27-adminbar, 0px) + var(--lp27-bar-height, 5rem) + .85rem); color: var(--oc-ink); }
.lp27-story-guide details { border-block: 1px solid var(--oc-line); padding: .2rem 0; }
.lp27-story-guide summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 2.9rem; list-style: none; font: 600 .98rem/1.3 var(--lp27-body); cursor: pointer; }
.lp27-story-guide summary::-webkit-details-marker { display: none; }
.lp27-story-guide summary::after { content: ""; width: .42rem; height: .42rem; border-right: 1px solid var(--oc-orange); border-bottom: 1px solid var(--oc-orange); transform: rotate(45deg); }
.lp27-story-guide details[open] summary::after { transform: rotate(225deg); }
.lp27-story-guide ul { list-style: none; padding: 0 .3rem .55rem 0; margin: 0; max-height: 49vh; overflow-y: auto; scrollbar-width: thin; }
.lp27-story-guide a { display: block; padding: .43rem .2rem; color: var(--oc-muted); text-decoration: none; font: 400 .96rem/1.3 var(--lp27-body); overflow-wrap: anywhere; }
.lp27-story-guide a:is(:hover,:focus-visible) { color: var(--oc-blue); text-decoration: underline; text-underline-offset: .2em; }
:is(.lp27-story .entry-content,.lp27-home-editorial) .lp27-album { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.6rem,1.6vw,1.5rem); margin-block: clamp(1.5rem,3vw,3rem); align-items: start; }
:is(.lp27-story .entry-content,.lp27-home-editorial) .lp27-album > figure { width: 100%; min-width: 0; max-width: 100%; margin: 0; }
:is(.lp27-story .entry-content,.lp27-home-editorial) .lp27-album figure img { display: block; width: 100%; height: auto; }
:is(.lp27-story .entry-content,.lp27-home-editorial) .lp27-album figure img.lp27-marque-contenu { width: min(100%,9rem); }
.lp27-story .entry-content .wp-block-table { margin-inline: 0; max-width: 100%; overflow-x: auto; }
.lp27-story .entry-content .wp-block-table table { display: table; width: 100%; }
.lp27-story .entry-content table { font-size: 1rem; line-height: 1.42; border-collapse: collapse; }
.lp27-story .entry-content :where(thead th,tbody th) { color: var(--oc-ink); background: var(--oc-surface); text-align: start; }
.lp27-story .entry-content :where(th,td) { padding: .76rem .85rem; border-color: var(--oc-line); vertical-align: top; }
.lp27-story .entry-content tr:nth-child(even) td { background-color: color-mix(in srgb,var(--oc-surface) 52%,var(--oc-bg)); }
.lp27-story .entry-content .wp-block-image { max-width: min(100%,68rem); }
.lp27-story .entry-content :where(.wp-block-embed, .wp-block-video, .wp-block-cover) { max-width: 100%; }
.lp27-story .entry-content :is(p,li) > a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.lp27-story .entry-content li::marker { color: var(--oc-orange); }
@media (max-width: 1050px) {
    .lp27-story-layout--guide { grid-template-columns: 1fr; }
    .lp27-story-guide { position: static; margin-block: 0 1.6rem; }
    .lp27-story-guide ul { max-height: 14rem; }
    .lp27-story-layout--guide > .entry-content > :where(p,ul,ol,blockquote,h2,h3,h4,dl,form,.wpcf7) { margin-inline: auto; }
}
@media (max-width: 740px) {
    .lp27-story--service .lp27-story-intro--photo,
    .lp27-story--article .lp27-story-intro--photo { grid-template-columns: 1fr; }
    .lp27-story--service .lp27-story-intro--photo .lp27-page-heading,
    .lp27-story--article .lp27-story-intro--photo .lp27-page-heading { padding: 1rem 1.15rem 1.4rem; }
    .lp27-story--service .lp27-story-intro--photo .lp27-editorial-hero,
    .lp27-story--article .lp27-story-intro--photo .lp27-editorial-hero { min-height: 0; aspect-ratio: 1.78; }
    .lp27-story-intro .lp27-editorial-hero img, .lp27-story--territoire .lp27-editorial-hero img { aspect-ratio: 1.65; }
}
@media (max-width: 480px) {
    :is(.lp27-story .entry-content,.lp27-home-editorial) .lp27-album { grid-template-columns: minmax(0,1fr); }
    .lp27-story-guide ul { max-height: 12rem; }
}

@media (min-width: 1180px) {
    .lp27-story-layout > .entry-content { display: flow-root; }
    :is(.lp27-story--service,.lp27-story--territoire) .entry-content > h2 + figure.wp-block-image:has(+ p) {
        float: inline-end; width: 41%; margin: .32rem 0 1.25rem clamp(1.25rem,2vw,2.1rem);
    }
    :is(.lp27-story--service,.lp27-story--territoire) .entry-content > :is(h2,.lp27-album,.wp-block-table) { clear: both; }
}
/* In the original ultra-wide pool panorama, the main basin occupies the right-hand side. */
.lp27-story--service .lp27-editorial-hero img[src*="/2021/06/piscine-vias"] { object-position: 79% center; }
.lp27-story h1:lang(de), .lp27-story .entry-content :is(h2,h3):lang(de) { hyphens: auto; }

/* Common cards, archive navigation and the listings supplied by La Pinède. */
.lp27-content .entry-content a:not([class]) {
    color: var(--oc-orange);
    text-decoration-color: color-mix(in srgb, var(--oc-orange) 58%, transparent);
    text-underline-offset: .24em;
}
.lp27-content .entry-content a:not([class]):is(:hover,:focus-visible) {
    color: var(--oc-ink);
    text-decoration-color: currentColor;
}
.lp27-editorial { max-width: 110rem; }
.lp27-story-layout:not(.lp27-story-layout--guide) { --lp27-reading: min(100%,68ch); }
.lp27-story-layout--guide { grid-template-columns: minmax(11rem,.26fr) minmax(0,1fr); }
.lp27-story-layout--guide > .entry-content > :where(h2,h3,h4) { max-width: min(100%,37ch); }
.lp27-collection { align-items: stretch; }
.lp27-collection a.lp27-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    border: 1px solid var(--oc-line);
}
.lp27-card__photo {
    display: grid;
    place-items: center;
    position: relative;
    height: auto;
    aspect-ratio: 1.68;
    background: var(--oc-bg);
    overflow: hidden;
    color: var(--oc-muted);
}
.lp27-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp27-card__photo img[hidden] { display: none; }
.lp27-card__fallback { width: 2.8rem; height: 2.8rem; opacity: .8; }
.lp27-card__photo:not([data-lp27-no-photo]) .lp27-card__fallback { opacity: 0; }
.lp27-card__summary { display: flex; align-items: flex-start; flex-direction: column; gap: .3rem; padding: clamp(.75rem,1.2vw,1.35rem); min-width: 0; }
.lp27-collection .lp27-card .lp27-card__name { margin: 0; font-size: clamp(1.3rem,1.7vw,1.95rem); overflow-wrap: anywhere; }
.lp27-card__details { display: block; }
.lp27-card__excerpt { font-size: .95rem; line-height: 1.4; color: var(--oc-muted); }
.lp27-card__status {
    display: inline-flex;
    border: 1px solid var(--oc-line);
    color: var(--oc-orange);
    padding: .1rem .45rem;
    font-size: .78rem;
}
.lp27-card__price { color: var(--oc-orange); font-weight: 600; }
.lp27-catalogue--sales .lp27-collection { grid-template-columns: repeat(auto-fill,minmax(min(100%,14.5rem),1fr)); }
.lp27-sale-detail { max-width: 82rem; margin-inline: auto; padding-block: 1rem 2rem; }
.lp27-sale-detail h1, .lp27-sale-detail h2 { margin: .6em 0 .35em; }
.lp27-sale-detail__photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .65rem; margin-block: 1.3rem; }
.lp27-sale-detail__photos a { display: block; }
.lp27-sale-detail__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(8rem,1fr));
    gap: .7rem;
    margin: 1.5rem 0;
}
.lp27-sale-detail__facts div { padding: .72rem .9rem; border: 1px solid var(--oc-line); background: var(--oc-surface); }
.lp27-sale-detail__facts dt { color: var(--oc-muted); font-size: .9rem; }
.lp27-sale-detail__facts dd { margin: 0; font-weight: 600; }
.lp27-sale-detail__description { max-width: 70ch; }
.lp27-journal-categories { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .85rem 1.2rem; }
.lp27-journal-categories a, .lp27-catalogue--journal .page-numbers a, .lp27-catalogue--journal .page-numbers .current {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .3rem .85rem;
    background: var(--oc-surface);
    color: var(--oc-ink);
    border: 1px solid var(--oc-line);
    text-decoration: none;
}
.lp27-journal-categories a:is(:hover,:focus-visible), .lp27-catalogue--journal .page-numbers a:is(:hover,:focus-visible), .lp27-catalogue--journal .page-numbers .current { border-color: var(--oc-orange); color: var(--oc-orange); }
.lp27-catalogue--journal ul.page-numbers { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.lp27-review-profiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .8rem; margin-block: 1rem 1.4rem; }
.lp27-review-profile {
    display: grid;
    align-items: center;
    grid-template-columns: 1.5rem minmax(0,1fr) 1.35rem;
    gap: .8rem;
    min-height: 4.55rem;
    padding: .75rem 1rem;
    border: 1px solid var(--oc-line);
    background: var(--oc-surface);
    color: var(--oc-ink);
    text-decoration: none;
}
.lp27-review-profile svg { width: 100%; color: var(--oc-orange); }
.lp27-review-profile small { display: block; color: var(--oc-muted); }
.lp27-review-profile:is(:hover,:focus-visible) { border-color: var(--oc-orange); }
@media (max-width: 980px) {
    .lp27-story-layout--guide { grid-template-columns: 1fr; }
}
