.place-detail h1 {
    font-size: clamp(46px, 6.5vw, 92px);
    line-height: .96;
    letter-spacing: -.012em;
    margin: .2em 0 .3em;
    text-wrap: balance
}

.place-detail .eyebrow,
.route-intro .eyebrow {
    font-size: 13px;
    color: var(--quiet)
}

.arrival-block {
    margin: 15px 0 18px
}

.point-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344c3c;
    font: 500 12px/1.5 var(--text)
}

.point-label::before {
    content: "";
    width: 9px;
    height: 9px;
    background: currentColor;
    border-radius: 50%
}

.point-label.kind-sector,
.point-label.kind-approximate {
    color: #765032
}

.point-label.kind-sector::before,
.point-label.kind-approximate::before {
    background: transparent;
    border: 1.5px solid currentColor
}

.point-label.kind-sector::before {
    border-style: dashed
}

.point-label.kind-unknown::before {
    display: none
}

.arrival-block p,
.visit-facts li,
.leg-reference p,
.route-start {
    font: 400 14px/1.6 var(--text);
    margin: 6px 0
}

.arrival-block p.arrival-address {
    font-size: 16px;
    font-weight: 500
}

.destination-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 16px 0
}

.destination-primary,
.destination-call,
.destination-actions .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    gap: 8px;
    padding: 11px 15px;
    font: 500 14px/1.4 var(--text);
    text-decoration: none
}

.destination-primary {
    background: #293c30;
    color: #fff;
    border: 1px solid #293c30
}

.destination-call {
    border: 1px solid #667067
}

.destination-actions .action {
    border: 0;
    background: transparent
}

.destination-actions .action[aria-pressed=true] {
    background: #e9eee5;
    color: #263e2b
}

.destination-primary:hover {
    background: #16251b
}

.destination-call:hover,
.destination-actions .action:hover {
    background: #e9eee5;
    color: #263e2b
}

.visit-hours {
    display: grid;
    gap: 3px;
    border-top: 1px solid var(--edge);
    padding-top: 13px;
    margin-top: 18px;
    font: 400 14px/1.5 var(--text)
}

.visit-hours strong,
.visit-facts dt,
.route-start strong {
    font: 500 12px/1.5 var(--text);
    color: var(--quiet)
}

.visit-hours small {
    font: 400 12px/1.5 var(--text);
    color: var(--quiet)
}

.visit-facts dl {
    margin: 0
}

.visit-facts dl>div {
    padding: 10px 0;
    border-bottom: 1px solid var(--edge)
}

.visit-facts dd {
    margin: 3px 0;
    font: 400 15px/1.55 var(--text)
}

.visit-facts ul {
    padding-inline-start: 18px
}

.visit-contact {
    display: grid;
    justify-items: start
}

.visit-contact a,
.visit-facts>a,
.leg-reference a,
.leg-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font: 500 14px/1.5 var(--text)
}

.detail-summary {
    font-weight: 500
}

.place-story {
    --place-accent: #58715b;
    --place-wash: #f3f6ef
}

.place-story[data-place-category=patrimonio] {
    --place-accent: #9a7056;
    --place-wash: #f8f1e9
}

.place-story[data-place-category=comer] {
    --place-accent: #a5735e;
    --place-wash: #fbf1ec
}

.place-story[data-place-category=cerveza] {
    --place-accent: #958245;
    --place-wash: #faf6e8
}

.place-story[data-place-category=playa],
.place-story[data-place-category=dormir] {
    --place-accent: #5d8190;
    --place-wash: #eef5f6
}

.place-story .place-detail {
    border-top: 2px solid var(--place-accent);
    padding-top: 24px
}

.place-story .eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--place-accent)
}

.place-story .eyebrow::before {
    content: "";
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor
}

.place-story .single-photo {
    padding: 12px;
    background: var(--place-wash);
    border-bottom: 2px solid var(--place-accent)
}

.place-story .single-photo img {
    background: transparent
}

.place-story .visit-hours {
    border: 0;
    border-left: 2px solid var(--place-accent);
    padding: 14px 17px;
    background: var(--place-wash);
    border-radius: 0 6px 6px 0
}

.place-story .detail-reading {
    border-top-color: var(--place-accent)
}

.place-story .visit-facts h2 {
    padding-bottom: 13px;
    border-bottom: 1px solid var(--place-accent)
}

.place-story .detail-summary {
    font: 600 clamp(23px, 2.5vw, 31px)/1.35 var(--heading);
    color: var(--place-accent);
    padding-left: 18px;
    border-left: 2px solid var(--place-accent);
    margin-top: 8px;
    margin-bottom: 27px
}

.place-story .editorial-copy h2 {
    color: var(--place-accent)
}

.history-category-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    min-height: 48px;
    margin-left: 18px;
    color: #775a44;
    font-weight: 500
}

.commune-story {
    --history-accent: #8b6951;
    --history-paper: #f7f3ec
}

.history-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    border-top: 2px solid var(--history-accent);
    padding-top: 28px
}

.history-intro .eyebrow {
    font: 500 11px/1.5 var(--text);
    color: var(--history-accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 20px
}

.history-intro h1 {
    font: 600 clamp(39px, 5.5vw, 76px)/1.02 var(--heading);
    text-wrap: balance;
    max-width: 15ch
}

.history-intro figure {
    padding: 10px;
    background: var(--history-paper);
    border-bottom: 2px solid var(--history-accent)
}

.history-intro img {
    width: 100%;
    height: auto;
    object-fit: contain
}

.history-index {
    display: flex;
    gap: 12px 28px;
    flex-wrap: wrap;
    border-block: 1px solid var(--edge);
    margin: 32px 0 48px;
    padding: 6px 0
}

.history-index a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 12px;
    text-decoration: none
}

.history-index a:hover {
    text-decoration: underline
}

.history-reading {
    display: grid;
    grid-template-columns: .45fr 1fr;
    gap: 60px;
    scroll-margin-top: 24px
}

.commune-story h2 {
    font: 600 clamp(30px, 3vw, 44px)/1.1 var(--heading);
    color: #514433
}

.history-reading h2 {
    position: sticky;
    top: 24px;
    align-self: start
}

.history-reading .editorial-copy>p:first-child {
    margin-top: 0
}

.history-chapter {
    margin-top: 65px;
    padding-top: 25px;
    border-top: 1px solid #b8a48d;
    scroll-margin-top: 24px
}

.history-timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 0;
    margin: 32px 0 0
}

.history-timeline li {
    border-top: 1px solid #b8a48d;
    padding-top: 15px;
    position: relative
}

.history-timeline li::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--history-accent)
}

.history-timeline span {
    font: 600 clamp(25px, 3vw, 40px)/1 var(--heading);
    color: var(--history-accent)
}

.history-timeline h3 {
    font: 400 12px/1.7 var(--text);
    margin: 14px 0
}

.chapter-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px
}

.chapter-heading>span {
    font-size: 25px;
    color: var(--history-accent)
}

.history-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 24px 0
}

.history-areas section {
    border-left: 2px solid #b8a48d;
    padding: 0 22px
}

.history-areas h3 {
    font: 600 28px/1.1 var(--heading);
    margin: 0 0 15px
}

.history-areas p,
.commune-story .fold p {
    font: 400 13px/1.9 var(--text)
}

.commune-story .fold {
    border-color: #d9cfc1
}

.history-chapter>.action {
    margin-top: 22px;
    border-color: #b8a48d;
    color: #514433
}

.history-chapter>.action:hover {
    color: #fff;
    background: #514433
}

@media(max-width:760px) {
    .place-story .place-detail {
        padding-top: 18px
    }

    .place-story .single-photo {
        padding: 8px
    }

    .history-category-link {
        margin: 12px 0 0;
        display: flex
    }

    .history-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 20px
    }

    .history-intro h1 {
        font-size: 44px;
        max-width: 17ch
    }

    .history-intro .eyebrow {
        margin-bottom: 13px
    }

    .history-index {
        gap: 0 18px;
        margin: 24px 0 30px
    }

    .history-index a {
        font-size: 11px
    }

    .history-reading {
        grid-template-columns: 1fr;
        gap: 23px
    }

    .history-reading h2 {
        position: static
    }

    .history-chapter {
        margin-top: 40px
    }

    .history-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 25px
    }

    .history-timeline li {
        display: grid;
        grid-template-columns: 98px 1fr;
        align-items: baseline;
        gap: 18px;
        padding: 18px 0 18px 18px;
        border-top: 0;
        border-left: 1px solid #b8a48d
    }

    .history-timeline li::before {
        top: 24px;
        left: -3px
    }

    .history-timeline h3 {
        margin: 0;
        font-size: 11px
    }

    .history-areas {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .history-areas section {
        padding-left: 17px
    }
}

.leg-link,
.leg-reference {
    padding: 15px 0 9px;
    border-top: 1px solid var(--edge)
}

.leg-link>span,
.leg-reference>span {
    display: block;
    font: 500 14px/1.5 var(--text)
}

.route-legs {
    scroll-margin-top: 15px
}

.need-choice small,
.route-stop-link small {
    margin-inline-start: auto;
    font: 400 12px/1.4 var(--text);
    color: var(--quiet)
}

.need-choice i,
.route-stop-link i {
    margin-left: 0
}

@media(max-width:760px) {
    .place-detail {
        gap: 22px
    }

    .destination-actions {
        gap: 6px
    }

    .visit-facts h2:first-child {
        margin-top: 0
    }

    .detail-reading {
        gap: 26px
    }
}

footer {
    flex-wrap: wrap;
    gap: 16px;
    background: #f6f5f0
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

footer nav a,
footer>a,
.business a {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    min-height: 44px;
    text-decoration: none;
    border-radius: 4px;
    background: #e6e9df
}

.business {
    flex-basis: 100%;
    border-top: 1px solid var(--edge);
    padding-top: 18px
}

.business strong {
    font: 600 25px var(--heading)
}

.business p {
    margin: 4px 0 10px
}

.business a {
    background: #304b40;
    color: white
}

a.row-link[href*="caminos-de-la-comuna"] {
    padding: 20px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #f3f1eaf5, #f3f1eabf), url('/images/guia/territorio-0.webp') center 55%/cover
}

.trip-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px
}

.trip-tips article {
    padding: 23px;
    border-top: 2px solid #849981;
    background: #f3f4ef
}

.trip-tips article:nth-child(2) {
    background: linear-gradient(#faf9f4dc, #faf9f4ed), url('/images/guia/territorio-1.webp') center/cover
}

.trip-tips article:last-child {
    background: linear-gradient(#fcf7eee0, #fcf7eef0), url('/images/guia/territorio-2.webp') center/cover
}

.trip-tips h2 {
    font: 600 30px/1.08 var(--heading)
}

.distance-tool {
    max-width: 780px
}

.distance-tool label,
.distance-tool output {
    display: block;
    margin: 12px 0
}

.distance-tool input {
    width: 100%;
    padding: 14px;
    border: 1px solid #89978a
}

.distance-tool button {
    padding: 10px;
    margin: 4px;
    border: 1px solid var(--edge);
    background: var(--editorial-paper);
    min-height: 44px
}

#distance-map {
    height: clamp(240px, 48vh, 440px);
    background: #eeefe6
}

.star-vote {
    border: 0;
    padding: 0
}

.star-vote label {
    display: inline-flex;
    position: relative
}

.star-vote input {
    position: absolute;
    opacity: 0
}

.star-vote span {
    padding: 4px;
    color: #777;
    font-size: 26px
}

.star-vote label:has(input:checked) span,
.star-vote label:has(~ label input:checked) span {
    color: #976a15
}

.star-vote input:focus-visible+span {
    outline: 2px solid
}

@media(prefers-reduced-motion:no-preference) {
    .page-departing:after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: #e6e9df;
        pointer-events: none;
        animation: turn-page .23s ease-out both
    }

    @keyframes turn-page {
        from {
            clip-path: inset(100% 0 0)
        }

        to {
            clip-path: inset(0)
        }
    }
}

a.row-link[href*="caminos-de-la-comuna"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 16px
}

a.row-link[href*="caminos-de-la-comuna"] small {
    grid-area: 2/1;
    font: 400 .83rem/1.55 var(--text);
    max-width: 54ch
}

a.row-link[href*="caminos-de-la-comuna"] i {
    grid-area: 1/2/3/3;
    align-self: center
}

.editor-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
    align-items: center
}

.editor-photo>label:last-child {
    grid-column: 1/-1
}

.editor-photo img {
    width: 64px;
    height: 85px;
    object-fit: cover;
    border-radius: 3px
}

.editor-stop {
    padding: 14px 0;
    border-bottom: 1px solid #ddd
}

.editor-stop [hidden] {
    display: none
}

.editor-stop button {
    min-height: 36px;
    margin-right: 6px
}

.lake-memory {
    border-block: 1px solid #c6cdc3;
    background: #edf1eb;
    border-radius: 4px;
    margin: clamp(12px, 2.8vw, 32px) 0;
    color: #213d36
}

.lake-memory summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px clamp(14px, 3vw, 26px);
    list-style: none
}

.lake-memory summary::-webkit-details-marker {
    display: none
}

.lake-memory summary strong,
.lake-memory summary small {
    display: block
}

.lake-memory summary strong {
    font: 600 clamp(24px, 4vw, 36px)/1.12 var(--heading);
    margin-top: 5px
}

.lake-memory summary small,
.memory-toggle {
    font: 400 .75rem/1.45 var(--text)
}

.memory-toggle {
    display: flex;
    align-items: center;
    gap: 8px
}

.memory-toggle i {
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg)
}

.lake-memory[open] .memory-toggle i {
    transform: rotate(225deg)
}

.lake-memory:not([open]) .when-open,
.lake-memory[open] .when-closed {
    display: none
}

.lake-memory .editorial-copy {
    padding: 0 clamp(14px, 3vw, 26px) 18px;
    max-width: 75ch
}

.lake-memory .editorial-copy p {
    margin-top: 0
}

.lake-memory nav {
    display: flex;
    gap: 6px 18px;
    flex-wrap: wrap
}

.lake-memory nav a {
    padding: 7px 0;
    font-size: .8rem
}


.admin-content .row-link[hidden] {
    display: none
}

#territorio.history-reading {
    margin-block: clamp(30px, 6vw, 70px)
}

.shell p,
.shell .editorial-copy li,
.shell .photo-essay figcaption {
    text-align: justify;
    text-align-last: start;
    hyphens: auto
}

a.row-link[href*="caminos-de-la-comuna"] small {
    margin: 0;
    max-width: none;
    text-align: start;
    justify-self: start;
    text-wrap: pretty
}

footer .contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
    gap: 10px;
    padding: 5px 0;
    border-top: 1px solid #d0d5cb;
    font: 500 .84rem/1.45 var(--text);
    color: #344d42
}

footer .contact-strip:only-child {
    border: 0
}

.contact-strip div {
    display: flex;
    align-items: center;
    gap: 4px
}

.contact-strip a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 5px
}

.contact-strip svg {
    width: 21px;
    height: 21px
}

.contact-strip a:hover,
.contact-strip a:focus-visible {
    background: #e4eae1
}

.story-chapters {
    margin: clamp(18px, 4vw, 44px) 0;
    max-width: 92ch
}

.story-fold {
    background: #f3f2e9;
    border-radius: 5px;
    margin: 7px 0;
    scroll-margin: 12px
}

.story-fold:nth-child(3n+2) {
    background: #ecf1ec
}

.story-fold:nth-child(3n) {
    background: #eef1f3
}

.story-fold summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px clamp(14px, 3vw, 24px);
    font: 600 clamp(22px, 3.6vw, 30px)/1.15 var(--heading);
    min-height: 48px
}

.story-fold summary::-webkit-details-marker {
    display: none
}

.story-fold summary i {
    width: 10px;
    height: 10px;
    border: solid #526257;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    margin-inline-end: 4px;
    flex: none
}

.story-fold[open] summary i {
    transform: rotate(225deg)
}

.chapter-copy {
    padding: 2px clamp(14px, 3vw, 24px) 18px
}

.chapter-copy .editorial-copy {
    max-width: 72ch
}

.chapter-copy nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px
}

.chapter-copy nav a {
    font-size: .82rem;
    padding: 6px 0
}

.chapter-copy .history-timeline {
    margin: 8px 0
}

.chapter-copy .story-date {
    font-size: .85rem
}

@media(prefers-reduced-motion:no-preference) {
    .story-fold summary i {
        transition: transform .22s ease
    }

    .story-fold[open]>.chapter-copy,
    .menu[open]>nav {
        animation: octay-open .28s ease-out both
    }

    .shell a:active,
    .shell button:active,
    .contact-strip a:active,
    .story-fold summary:active {
        translate: 0 1px
    }

    @keyframes octay-open {
        from {
            opacity: .2;
            transform: translateY(-6px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }
}

.place-lead {
    min-width: 0
}

.place-lead .lead-text {
    max-width: 55ch;
    font: 400 clamp(15px, 1.25vw, 18px)/1.65 var(--text);
    margin: 15px 0
}

.place-meta {
    display: flex;
    align-items: baseline;
    gap: 7px 16px;
    flex-wrap: wrap
}

.place-rating {
    font: 500 .85rem/1.5 var(--text);
    color: #4b4b36;
    font-variant-numeric: tabular-nums
}

.place-rating>span {
    color: #80560f
}

.place-rating small {
    font: inherit;
    color: #48524a
}

.rating-order {
    color: var(--quiet);
    font-size: 13px
}

.place-lead .access-brief {
    font: 500 13px/1.6 var(--text);
    border-inline-start: 2px solid var(--place-accent);
    padding-inline-start: 12px
}

.place-story .place-detail {
    align-items: center;
    gap: clamp(18px, 4vw, 55px);
    padding-block: clamp(16px, 3vw, 34px)
}

.place-story .single-photo {
    margin: 0;
    padding: 0;
    border: 0;
    background: none
}

.place-story .single-photo img {
    display: block;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    max-width: 100%;
    max-height: min(64svh, 540px);
    object-fit: contain;
    margin-inline: auto;
    border-radius: 3px
}

.place-story .single-photo figcaption,
.place-fold-content figcaption {
    display: block;
    margin-top: 6px;
    color: #535c55;
    font: 400 12px/1.5 var(--text)
}

.place-sections {
    max-width: 830px;
    margin: clamp(16px, 3vw, 35px) auto clamp(35px, 6vw, 85px)
}

.place-fold {
    border: 1px solid #dde0d8;
    border-inline-start: 3px solid var(--place-accent);
    border-radius: 4px;
    background: var(--place-wash);
    margin: 8px 0;
    overflow: clip
}

.place-fold>summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    min-height: 54px;
    padding: 11px clamp(14px, 3vw, 24px);
    font: 600 clamp(22px, 3vw, 29px)/1.15 var(--heading);
    color: #26332b
}

.place-fold>summary::-webkit-details-marker {
    display: none
}

.place-fold>summary:focus-visible {
    outline: 2px solid #245544;
    outline-offset: -4px
}

.place-fold>summary i {
    flex: none;
    width: 10px;
    height: 10px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    margin-inline-end: 4px
}

.place-fold[open]>summary i {
    transform: rotate(225deg)
}

.place-fold-content {
    padding: 14px clamp(14px, 3vw, 24px) 18px;
    background: #fff;
    border-top: 1px solid #e1e4da;
    font: 400 15px/1.65 var(--text);
    overflow-wrap: anywhere
}

.place-fold-content>*:first-child {
    margin-top: 0
}

.place-fold-content>*:last-child {
    margin-bottom: 0
}

.place-fold-content ul {
    padding-inline-start: 20px
}

.place-fold-content h3,
.visit-rows dt {
    font: 600 20px/1.35 var(--heading)
}

.visit-rows {
    margin: 0
}

.visit-rows>div+div {
    margin-top: 14px
}

.visit-rows dd {
    margin: 2px 0
}

.source-links {
    display: grid;
    gap: 2px
}

.source-links a,
.place-fold .reviews>a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content
}

.place-fold .star-vote {
    display: flex;
    flex-wrap: wrap;
    gap: 0
}

.place-fold .star-vote label {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    width: clamp(29px, 9vw, 44px)
}

.place-fold .star-vote span {
    line-height: 1
}

.place-fold-content img {
    max-width: 100%;
    height: auto
}

.place-fold-content figure {
    margin: 14px 0
}

@media(max-width:640px) {
    .place-story .place-detail {
        gap: 14px
    }

    .place-story .destination-actions {
        gap: 4px;
        margin-bottom: 0
    }
}

@media(prefers-reduced-motion:no-preference) {
    .place-fold summary i {
        transition: transform .22s ease
    }

    .place-fold[open]>.place-fold-content {
        animation: octay-open .28s ease-out
    }

    @supports(interpolate-size:allow-keywords) and selector(details::details-content) {
        .place-fold {
            interpolate-size: allow-keywords
        }

        .place-fold::details-content {
            block-size: 0;
            overflow: clip;
            transition: block-size .26s ease, content-visibility .26s allow-discrete
        }

        .place-fold[open]::details-content {
            block-size: auto
        }
    }
}

.visitor-essential {
    margin: 1rem 0;
    padding: .75rem 1rem;
    border-inline-start: 3px solid var(--place-accent, #476052);
    background: var(--place-wash, #eef2ec)
}

.visitor-essential h2 {
    font: 600 1.45rem/1.2 var(--heading);
    margin: 0 0 .25rem
}

.visitor-essential p {
    font: 400 .92rem/1.55 var(--text);
    margin: 0
}

.commune-story .history-intro figure {
    margin: 0;
    padding: 0;
    border: 0;
    background: none
}

.commune-story .history-intro figure img,
.chapter-copy .editorial-copy img,
.route-photo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    max-height: min(68svh, 610px);
    object-fit: contain;
    margin-inline: auto
}

.route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(24px, 6vw, 84px);
    align-items: start;
    margin: 10px 0 clamp(40px, 7vw, 86px)
}

.route-layout .page-title {
    margin: .6rem 0 1rem
}

.route-layout .page-title h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02
}

.route-layout .page-title p {
    margin-top: .8rem
}

.route-plan {
    margin: clamp(22px, 3vw, 36px) 0
}

.route-plan h2 {
    font: 600 clamp(25px, 4vw, 34px)/1.15 var(--heading)
}

.route-timeline {
    margin: 14px 0 0;
    padding-inline-start: 2.15rem;
    list-style: decimal-leading-zero
}

.route-timeline li {
    padding: .65rem 0 .65rem .5rem;
    border-bottom: 1px solid var(--edge);
    font: 400 1rem/1.55 var(--text)
}

.route-timeline li::marker {
    font: 500 .82rem/1 var(--text);
    color: #506650
}

.route-photo {
    margin: 0
}

.route-directory,
.route-directions {
    list-style: none;
    padding: 0 !important
}

.route-directions li>span {
    display: block;
    font-size: .78rem;
    color: #485c50
}

.route-directions a,
.route-directory a {
    display: inline-flex;
    align-items: center;
    min-height: 44px
}

.route-layout .place-fold {
    --place-wash: #eef2ec;
    --place-accent: #697e6b
}

@media(max-width:700px) {
    .route-layout {
        grid-template-columns: minmax(0, 1fr)
    }

    .route-photo img {
        max-height: 52svh
    }

    .place-story .single-photo img {
        max-height: 55svh
    }

    .route-lead .destination-actions {
        margin-bottom: 0
    }
}

.card-caption h2 {
    grid-column: 1/-1
}

.card-photo>.place-rating {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    background: #fcfbf4f5;
    color: #2b392e
}

.photo-credits {
    list-style: none;
    padding: 0;
    max-width: 75ch
}

.photo-credits li {
    padding: 15px 0;
    border-bottom: 1px solid var(--edge)
}

.photo-credits li div {
    margin-top: .4rem;
    font-size: .85rem
}

.photo-credits a {
    display: inline-block;
    padding: .4rem .5rem .4rem 0
}

.route-plan .route-timeline li {
    line-height: 1.52;
    text-wrap: pretty
}

.chapter-copy .history-postcard {
    margin: clamp(18px, 4vw, 30px) 0;
    padding: clamp(5px, 1vw, 10px);
    background: #faf8f1;
    border: 1px solid #d8d3c6
}

.chapter-copy .history-postcard img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto
}

.atlas-scales,
.atlas-layers,
.atlas-origins {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .85rem 0
}

.atlas-scales button,
.atlas-layers button,
.atlas-origins button,
.lake-reading button {
    min-height: 44px;
    padding: .4rem .8rem;
    border: 1px solid #c7cfc5;
    border-radius: 6px;
    background: #fafbf7;
    color: #243e36;
    font: inherit;
    cursor: pointer
}

.atlas-scales button[aria-pressed=true],
.atlas-origins button[aria-pressed=true] {
    background: #26493f;
    color: #fff;
    border-color: #26493f
}

.atlas-layers button {
    font-size: .84rem
}

.atlas-layers button[aria-pressed=true] {
    background: #e5ecdf;
    box-shadow: inset 0 -2px #4b6652
}

.atlas-itinerary {
    margin: 1rem 0;
    border: 1px solid #cdd7ca;
    border-radius: 8px;
    padding: .7rem 1rem;
    background: #fafbf7
}

.atlas-itinerary summary {
    cursor: pointer;
    min-height: 44px;
    align-content: center
}

.atlas-itinerary>summary,
.scenic-sector h2 {
    font-family: var(--display, 'Barlow Condensed'), sans-serif;
    font-weight: bold;
    font-size: 1.5rem
}

.atlas-itinerary ol {
    padding: 0;
    list-style: none
}

.atlas-itinerary li {
    border-bottom: 1px solid #d4d9d0;
    padding: .25rem 0
}

.atlas-itinerary li summary {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap
}

.atlas-itinerary li summary small {
    margin-left: auto
}

.atlas-itinerary li summary span,
.numbered-stop {
    display: grid;
    place-items: center;
    background: #325947;
    color: white;
    border-radius: 50%;
    font: 600 14px/1 sans-serif
}

.atlas-itinerary li summary span {
    height: 25px;
    width: 25px;
    flex: none
}

.numbered-stop {
    border: 2px solid white;
    box-shadow: 0 1px 5px #0006
}

#stop-map {
    height: clamp(200px, 35vh, 340px);
    border-radius: 5px;
    background: #e9ede6
}

.atlas-download,
.scenic-sector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #eaf0e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.2rem 0
}

.atlas-download span {
    font-size: 1.45rem
}

.scenic-sector>div {
    width: 38%;
    flex: none
}

.scenic-sector img {
    width: 100%;
    height: auto;
    display: block
}

.scenic-sector article {
    min-width: 0
}

.scenic-sector h2 {
    margin: 0
}

.lake-reading {
    margin: 1rem 0
}

.lake-reading>div {
    position: relative
}

.lake-reading img,
.history-postcard img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain
}

.lake-reading span:not([hidden]) {
    position: absolute;
    transform: translate(-50%, -100%);
    font: 600 .8rem/1.2 sans-serif;
    background: #fffef7f2;
    color: #273e36;
    padding: .3rem .4rem;
    border-bottom: 2px solid #41594c;
    box-shadow: 0 1px 4px #0002
}

.lake-reading button {
    margin-top: .5rem
}

.history-postcard a span {
    display: block;
    margin-top: .35rem;
    text-align: right;
    font-size: .85rem
}

#distance-result .distance-fact {
    display: block;
    margin: .45rem 0
}

#distance-result .distance-km {
    font-size: 1.4rem
}

#distance-note:empty {
    display: none
}

@media(max-width:520px) {
    .scenic-sector {
        display: block
    }

    .scenic-sector>div {
        width: 100%;
        margin: 0 0 .7rem
    }

    .atlas-layers {
        gap: .25rem
    }

    .atlas-layers button {
        padding: .25rem .6rem
    }

    .atlas-itinerary {
        padding: .45rem .65rem
    }
}

.lake-reading figcaption {
    font-size: .86rem;
    margin: .55rem 0
}

.lake-reading span {
    max-width: 52%;
    text-align: center
}

.lake-reading span[style*="top:5.5%"] {
    transform: translate(-50%, 0)
}

.scenic-stops {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1rem
}

.scenic-stops a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #b4c3b0;
    border-radius: 5px;
    padding: .25rem .55rem;
    text-decoration: none
}

.atlas-credit {
    display: block;
    margin: .5rem 0;
    color: #43554d;
    font-size: .75rem
}

.atlas-itinerary>summary,
.scenic-sector h2 {
    font-family: var(--heading)
}

.experience-photo {
    margin: 1rem 0 2rem
}

.experience-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65svh;
    object-fit: contain
}

.datos-panorama {
    margin: 0 0 1.4rem
}

.datos-panorama img,
.camino-panorama {
    width: 100%;
    height: clamp(110px, 28vw, 230px);
    display: block;
    object-fit: cover;
    object-position: 50% 67%
}

.row-link:has(.camino-panorama) {
    display: grid;
    grid-template-columns: 1fr auto
}

.camino-panorama {
    grid-column: 1/-1;
    object-position: 50% 46%
}

.row-link:has(.camino-panorama) small {
    grid-column: 1
}

.photo-essay img[src$="/cruce-paullin.webp"] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85svh;
    object-fit: contain;
    margin-inline: auto
}

.guide-panorama {
    width: min(100%, 960px);
    margin: 1rem auto 0;
    grid-column: 1/-1
}

.guide-panorama img {
    display: block;
    width: 100%;
    height: clamp(120px, 35vw, 340px);
    object-fit: cover;
    object-position: 50% 48%;
    border-radius: 4px
}

.category-results {
    display: grid;
    gap: 12px;
    margin: 24px 0
}

.category-results .card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
    border: 1px solid #dddcd4;
    border-radius: 10px;
    background: #faf9f5;
    align-items: center;
    text-decoration: none
}

.category-results .card-photo {
    height: 105px;
    overflow: hidden;
    border-radius: 6px
}

.category-results .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #efeee8
}

.category-results .card-caption {
    padding: 0
}

.category-results h2 {
    font-size: 25px;
    line-height: 1.08;
    margin: 0
}

.category-results p {
    font-size: 12px;
    line-height: 1.5;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #62665d
}

.category-results .text-card {
    grid-template-columns: 1fr
}

.category-results .card:hover {
    background: #eeefe6
}

.datos-panorama img {
    height: auto;
    object-fit: contain;
    border-radius: 6px
}

.datos-panorama {
    margin-bottom: 24px
}

@media(min-width:850px) {
    .category-results {
        grid-template-columns: 1fr 1fr
    }
}

/* Shared rhythm for visitor actions and reading. */
.category-results h2 {
    font-size: clamp(21px, 5.6vw, 27px);
    text-wrap: pretty
}

.category-results p,
.visitor-address,
.place-lead p,
.route-lead p,
.row-link small {
    text-align: left
}

.card-photo img {
    object-position: var(--photo-position, 50% 50%)
}

.single-photo[style] img {
    object-position: var(--photo-position, 50% 50%)
}

.visitor-address {
    border-left: 2px solid var(--place-accent, #858b71);
    padding-left: 14px;
    font-size: 14px;
    margin: 18px 0
}

.useful-icon {
    color: #637254;
    font-family: var(--text);
    font-size: 24px;
    grid-row: 1/3;
    align-self: center;
    margin-right: 12px
}

.row-link:has(.useful-icon) {
    display: grid;
    grid-template-columns: 32px 1fr auto
}

.row-link:has(.useful-icon) small {
    grid-column: 2
}

.row-link:has(.useful-icon) i {
    grid-column: 3;
    grid-row: 1/3
}

.category-results .card,
.action,
.solid,
.choose-history,
.intention {
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease
}

.category-results .card:active,
.action:active,
.solid:active,
.intention:active {
    transform: scale(.985)
}

::view-transition-old(root) {
    animation: fade-out .12s ease both
}

::view-transition-new(root) {
    animation: fade-in .2s ease both
}

@view-transition {
    navigation: auto
}

@keyframes fade-out {
    to {
        opacity: 0
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(4px)
    }
}

.place-fold[open] .place-fold-content {
    animation: fade-in .18s ease both
}

.map-origin-choice {
    margin: 12px 0
}

.route-transport {
    font-size: 14px;
    color: #62665d
}

.card:focus-visible,
.action:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid #52694e;
    outline-offset: 4px
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

.category-results .card-photo img {
    object-fit: var(--photo-fit, contain)
}

.place-story .single-photo.has-photo-focus img {
    width: 100%;
    height: clamp(240px, 52svh, 560px);
    max-height: none;
    object-fit: cover;
    object-position: var(--photo-position, 50% 50%)
}

.focused-photo img {
    width: 100% !important;
    height: clamp(240px, 52svh, 560px) !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: var(--photo-position, 50% 50%) !important
}

.useful-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    stroke: currentColor
}

.section-editorial-photo {
    margin: 20px 0 26px
}

.section-editorial-photo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 55svh;
    object-fit: contain;
    margin: auto;
    border-radius: 5px
}

.map-editorial {
    padding: 16px 0;
    border-bottom: 1px solid #deded5
}

.map-editorial img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 4px
}

.map-editorial p {
    text-align: left;
    max-width: 65ch;
    font-size: 14px
}

.contact-strip>img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px
}

.contact-strip>span small {
    display: block;
    font-size: 11px;
    margin-top: 5px
}


/* A centered photograph, a quiet gap, then the compact contact ribbon. */
.guide-panorama img {
    border-radius: 6px;
}

.guide-panorama::after {
    content: none;
}

footer {
    overflow-x: clip;
}

footer:has(> .contact-strip:only-child) {
    padding: 0;
    min-height: 0;
    border: 0;
}

footer .contact-strip,
footer .contact-strip:only-child {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1 1 100%;
    gap: 4px;
    width: calc(100% + var(--pad) * 2);
    max-width: calc(100% + var(--pad) * 2);
    margin: 0 calc(-1 * var(--pad));
    padding: 14px max(18px, calc((100% - 1180px) / 2)) 12px;
    border: 0;
    border-radius: 0;
    background: #171717;
    color: #f5f3ed;
}

footer:has(> .contact-strip:only-child)>.contact-strip {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

footer .contact-title {
    display: block;
    max-width: 100%;
    text-align: left;
}

footer .contact-action-row {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 12px;
    max-width: 100%;
    padding: 0;
    border: 0;
}

footer .contact-prompt {
    color: #d0cfc9;
    font: 400 11px/1.45 var(--text);
    white-space: normal;
}

footer .contact-icons {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 0;
}

footer .contact-icons a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    background: transparent;
    color: #f5f3ed;
    border: 0;
    border-radius: 3px;
}

footer .contact-icons svg {
    width: 19px;
    height: 19px;
}

footer .contact-icons a:hover,
footer .contact-icons a:focus-visible {
    background: #30302d;
}

footer .contact-signature {
    display: block;
    max-width: 100%;
    margin: 0;
    color: #aaa8a1;
    font: 400 10px/1.5 var(--text);
    white-space: normal;
}

footer .contact-signature a {
    display: inline;
    min-height: 0;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.place-eta {
 margin: 12px 0 4px;
}
.eta-trigger {
 display: inline-flex;
 align-items: center;
 gap: 9px;
 min-height: 44px;
 padding: 9px 14px;
 border: 1px solid #8ea091;
 border-radius: 6px;
 background: #f4f7f2;
 color: #22382c;
 font: 500 12px/1.35 var(--text);
 transition: background-color .2s ease, border-color .2s ease;
}
.eta-trigger svg {
 flex: none;
}
.eta-trigger:hover:enabled {
 background: #e6eee2;
 border-color: #293c30;
}
.eta-trigger:disabled {
 opacity: .7;
 cursor: wait;
}
.eta-result {
 margin-top: 10px;
}
.eta-cards {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
 gap: 8px;
 max-width: 420px;
}
.eta-card {
 display: grid;
 gap: 2px;
 padding: 10px 12px;
 border: 1px solid #d4dcd1;
 border-left: 3px solid var(--place-accent, #293c30);
 border-radius: 6px;
 background: #fafbf8;
}
.eta-card small {
 font: 500 10px/1.3 var(--text);
 text-transform: uppercase;
 letter-spacing: .08em;
 color: #526155;
}
.eta-card strong {
 font: 700 24px/1.05 var(--heading);
 color: #18261d;
 font-variant-numeric: tabular-nums;
}
.eta-card span {
 font: 400 11px/1.35 var(--text);
 color: #535c55;
}
.eta-result > p,
.eta-note {
 display: block;
 margin: 8px 0 0;
 font: 400 11px/1.5 var(--text);
 color: #525d54;
 text-align: left;
}

footer .contact-meta-row {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 4px 16px;
 width: 100%;
}
footer .visit-counter {
 display: inline-block;
 margin: 0;
 color: #c4c2ba;
 font: 400 10px/1.5 var(--text);
 font-variant-numeric: tabular-nums;
 letter-spacing: .04em;
}
