.location-heading--with-media .location-heading__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 3rem;
    align-items: start;
}

.location-heading__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .55rem;
}

.location-heading__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--townary-line);
    border-radius: 999px;
    padding: .25rem .65rem;
    background: var(--townary-white);
    color: var(--townary-navy);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.location-heading__media {
    width: min(100%, 520px);
    margin: 1.65rem 0 0 auto;
}

.location-heading__media img,
.location-heading__no-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.location-heading__media img {
    height: auto;
    object-fit: cover;
}

.location-heading__no-photo {
    display: grid;
    place-content: center;
    gap: .5rem;
    border: 1px solid var(--townary-line);
    background: var(--townary-surface);
    color: var(--townary-muted);
    text-align: center;
}

.location-heading__no-photo span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.location-heading__no-photo small {
    font-size: .7rem;
}

/*
 * Castle Single uses the same content width as the shared facility layout.
 * No section gets a narrower private reading column.
 */
.townary-castle-single-prototype .regional-spot-single__section--history .regional-spot-single__definition-list,
.townary-castle-single-prototype .regional-spot-single__section--historical-facts .regional-spot-single__definition-list,
.townary-castle-single-prototype .regional-spot-single__section--castle-now .regional-spot-single__definition-list,
.townary-castle-single-prototype .regional-spot-single__section--castle-heritage .regional-spot-single__definition-list {
    width: 100%;
    max-width: none;
}

/*
 * The Hero already owns the boundary line.
 * Do not draw the first content section's top border a second time.
 */
.townary-castle-single-prototype > .townary-container > .regional-spot-single__section:first-child {
    border-top: 0;
}

.townary-castle-single-prototype .regional-spot-single__section--history .regional-spot-single__definition {
    display: block;
    padding-block: 0;
    border-bottom: 0;
}

.townary-castle-single-prototype .regional-spot-single__section--history dt {
    display: none;
}

.townary-castle-single-prototype .regional-spot-single__section--history dd {
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--townary-navy);
    font-size: 1rem;
    line-height: 2.05;
}

.townary-castle-single-prototype .regional-spot-single__section--historical-facts dd,
.townary-castle-single-prototype .regional-spot-single__section--castle-now dd,
.townary-castle-single-prototype .regional-spot-single__section--castle-heritage dd {
    line-height: 1.9;
}

@media (max-width: 980px) {
    .location-heading--with-media .location-heading__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-heading__media {
        width: min(100%, 640px);
        margin: 0;
    }
}
