/* Layout / shared */
.container {
    width: min(1180px, calc(100% - 1rem));
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        width: min(1180px, calc(100% - 2rem));
    }
}

.site-chrome {
    position: relative;
    z-index: 1400;
    isolation: isolate;
}

:is(.header-strip, .nav-inner) > * {
    min-width: 0;
}

.header-strip__lead {
    flex: 0 1 auto;
    width: 100%;
    flex-basis: 100%;
}

:is(.header-strip, .nav-inner) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.7rem 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: var(--eyebrow-letter-spacing, 0.12em);
    font-size: var(--eyebrow-font-size, 0.78rem);
    color: var(--eyebrow-color, var(--accent));
    font-weight: var(--eyebrow-font-weight, 700);
    text-shadow: var(--eyebrow-text-shadow, none);
}

.eyebrow--flush {
    margin-bottom: 0;
}

.eyebrow--soft-accent {
    --eyebrow-color: rgba(143, 100, 64, 0.72);
}

.eyebrow--soft-light {
    --eyebrow-color: rgba(244, 231, 214, 0.82);
}

.eyebrow--glass {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.4rem 0.72rem;
    border: 1px solid rgba(255, 248, 239, 0.18);
    border-radius: 999px;
    background: rgba(23, 16, 11, 0.28);
    --eyebrow-color: #fff8ee;
    box-shadow: 0 0 24px rgba(12, 8, 5, 0.14);
    --eyebrow-text-shadow: none;
}

.u-scrollbar-hidden {
    scrollbar-width: none;
}

.u-scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

.toast-stack {
    position: fixed;
    top: 0.85rem;
    right: 0.85rem;
    width: min(26rem, calc(100vw - 1.7rem));
    z-index: 2400;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    min-width: 0;
    max-width: 100%;
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 0 28px rgba(16, 14, 12, 0.16);
    opacity: 0;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
    pointer-events: auto;
}

.toast__body {
    min-width: 0;
}

.toast__message {
    display: block;
    line-height: 1.3;
    font-size: 0.96rem;
    font-weight: 600;
    word-break: break-word;
}

.toast.is-visible {
    opacity: 1;
}

.toast-success {
    background: linear-gradient(135deg, #2f7a49, #245b36);
}

.toast-error {
    background: linear-gradient(135deg, #a33e25, #7a2f1b);
}

.js-policy-setting-save.is-loading::before {
    content: none;
}

.section-copy,
.results-meta,
.surface--panel p,
.results-meta__total {
    color: var(--muted);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: rgba(248, 244, 238, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: inherit;
    text-decoration: none;
    line-height: 1;
}

.brand__logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 100%;
    object-fit: contain;
}

.nav__panel {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.nav__list {
    display: flex;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding-top: 0;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
    list-style: none;
    margin: 0;
}

.nav__item {
    width: 100%;
    max-width: 100%;
}

:is(.nav__link, .nav__action) {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.nav__link {
    position: relative;
    text-decoration: none;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: -0.1rem;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

:is(.nav__link, .nav__action):is(:hover, :focus-visible) {
    background: transparent;
    color: var(--accent-dark);
    box-shadow: none;
}

.nav__link:is(.is-active, [aria-current="page"]) {
    background: transparent;
    color: var(--accent-dark);
    box-shadow: none;
    font-weight: 700;
}

.nav__link:is(:hover, :focus-visible, .is-active, [aria-current="page"])::after {
    transform: scaleX(1);
}

.nav__panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.nav__panel.is-open .nav__list {
    padding-top: 0.9rem;
}

.nav__form {
    display: flex;
}

.nav__action {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    transition: none;
}

.nav-toggle svg {
    width: 1.55rem;
    height: 1.55rem;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    fill: none;
    flex: 0 0 auto;
}

.nav-toggle:hover {
    color: var(--accent-dark);
}

.nav-toggle[aria-expanded="true"] {
    color: var(--accent-dark);
}

.site-main {
    min-height: calc(100vh - 220px);
    margin-bottom: 2em;
}

.place-hero h1,
.auth-card h1,
.error-card h1 {
    margin: 0 0 1rem;
    font-size: 4.6rem;
    line-height: 0.98;
}

/* Generic components */
.place-lead {
    font-size: 1.15rem;
    max-width: 42rem;
}

.flash {
    margin: 1rem auto 0;
    padding: 1rem 1.1rem;
    border-radius: 16px;
}

.flash-success {
    background: #e3f4e8;
    color: #22613a;
}

.flash-error {
    background: #fbe7e2;
    color: #7a2e18;
}

.flash ul {
    margin: 0.5rem 0 0;
}

:is(.place-hero, .wellness-page-hero, .wellness-product-hero) {
    padding: 3rem 0 2rem;
}

.place-hero__grid {
    justify-content: space-between;
}

.surface--panel {
    padding: 1.5rem;
}

.surface--panel dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prose p {
    margin: 0 0 1rem;
    line-height: 1.65;
}

.auth-shell {
    display: flex;
    justify-content: center;
}

.auth-page--login .auth-shell {
    padding-top: clamp(2.5rem, 8vh, 5rem);
}

:is(.password-field, .archive-crumb-select) {
    position: relative;
}

.password-field input {
    padding-right: 3.1rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--accent-dark);
    padding: 0;
    cursor: pointer;
}

.password-toggle__icon {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

:is(.password-toggle__icon--hide, .password-toggle.is-active .password-toggle__icon--show, .wellness-gallery-tile--hidden) {
    display: none;
}

:is(.password-toggle.is-active .password-toggle__icon--hide, .place-hero__grid--single) {
    display: block;
}

.password-toggle:hover {
    background: rgba(177, 77, 41, 0.08);
}

.password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(177, 77, 41, 0.16), 0 0 0 1px rgba(177, 77, 41, 0.22);
}

.auth-card {
    width: min(480px, 100%);
}

.pagination {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    justify-content: center;
    align-items: center;
}

.pagination :is(a, span) {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.pagination a {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
}

.pagination a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination__nav {
    min-width: 58px;
    padding: 0 0.85rem;
}

.pagination__ellipsis {
    min-width: 28px;
    color: var(--muted);
}

:is(.surface--soft, .empty-state, .admin-list-item, .stat-box) {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
}

.empty-state {
    padding: 2rem;
}

.error-card {
    max-width: 720px;
}

.error-trace {
    white-space: pre-wrap;
    background: #2b201b;
    color: #fdf2e8;
    padding: 1rem;
    border-radius: 12px;
    overflow: auto;
}

.place-date-line {
    margin: 0;
    color: #8b5a35;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.place-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    width: 100%;
    max-width: none;
}

.place-breadcrumbs,
.place-breadcrumbs__list {
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
}

.place-breadcrumbs {
    width: 100%;
    max-width: 100%;
}

.place-breadcrumbs__list {
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    width: max-content;
    margin: 1.1rem 0 0 0;
    padding: 0;
    list-style: none;
}

.place-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
}

.place-breadcrumbs__link,
.place-tag-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--accent-dark);
    font-weight: 700;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.place-breadcrumbs__link {
    border-radius: 999px;
}

:is(.place-breadcrumbs__link, .place-tag-link):is(:hover, :focus-visible) {
    background: rgba(177, 77, 41, 0.1);
    border-color: rgba(177, 77, 41, 0.26);
    box-shadow: 0 0 26px rgba(177, 77, 41, 0.08);
}

.place-breadcrumbs__separator {
    color: rgba(107, 99, 88, 0.7);
    font-weight: 700;
}

.modal--dark :is(.modal__header, .modal__dialog--gallery) .button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.modal--dark :is(.modal__header, .modal__dialog--gallery) .button-secondary:is(:hover, :focus-visible) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.place-intro-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0.15rem 0 0;
}

:is(.place-lead--inline, .page-immersive .site-main, .page-immersive .site-footer, .wellness-method, .wellness-footer__bottom p) {
    margin: 0;
}

.place-tags-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.place-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.place-tag-link {
    border-radius: 10px;
}

button.place-tag-link {
    cursor: pointer;
}

/* Forms */
:is(.place-form, .auth-form, .u-stack) {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

:is(.search-form, .place-form, .auth-form) label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Cards / panels */
:is(.surface, .map-card, .place-card, .auth-card, .error-card) {
    background: var(--panel);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(28, 24, 18, 0.08);
}

.search-actions,
.form-actions,
.page-header__actions {
    margin-top: 1.5rem;
}

:is(.text-link, .auth-switch a, .archive-post-card__location) {
    color: var(--accent-dark);
    font-weight: 700;
}

:is(.section-block, .error-page, .auth-page, .content-page) {
    padding: 2rem 0 4rem;
}

.content-page {
    padding-top: calc(3.25rem + 10px);
    padding-bottom: 2.5rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-grid {
    --card-grid-item-min: 16rem;
    --card-grid-item-max: 24rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: stretch;
    justify-content: center;
}

.card-grid > * {
    flex: 1 1 var(--card-grid-item-min);
    width: 100%;
    min-width: min(100%, var(--card-grid-item-min));
    max-width: min(100%, var(--card-grid-item-max));
}

.card-grid > .empty-state {
    flex-basis: 100%;
    max-width: none;
}

.compact-grid {
    --card-grid-item-min: 15rem;
    --card-grid-item-max: 20rem;
}

.place-card,
.search-map-card {
    overflow: hidden;
}

.place-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.place-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-card h3 {
    font-size: 1.45rem;
    margin: 0.25rem 0 0.75rem;
}

/* Map */
.map-canvas {
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border-radius: 16px;
}

.map-canvas:fullscreen,
.map-canvas:-webkit-full-screen {
    height: 100vh;
    border-radius: 0;
}

.map-status {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(177, 77, 41, 0.08);
    color: var(--accent-dark);
    font-weight: 600;
}

.map-status.is-info {
    background: rgba(77, 122, 177, 0.12);
    color: #23486b;
}

.map-status.is-success {
    background: rgba(51, 140, 84, 0.14);
    color: #245535;
}

.map-status.is-warning {
    background: rgba(177, 77, 41, 0.12);
    color: var(--accent-dark);
}

/* Archive / search */
.search-bar-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.search-bar-field {
    flex: 1;
}

.search-bar-field input {
    min-height: var(--control-height);
    height: var(--control-height);
    padding-inline: 1.1rem;
    font-size: 1.05rem;
}

.search-results--full {
    display: block;
    min-height: 14rem;
}

.auth-switch {
    margin-top: 1rem;
    color: var(--muted);
}

.results-meta {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    margin: 0 0 1rem 0;
    padding: 0;
    text-align: left;
}

.results-meta__count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.results-meta__value {
    color: var(--accent-dark);
    font-size: 1.08rem;
    font-weight: 800;
}

.results-meta__count-separator {
    color: rgba(31, 29, 26, 0.45);
}

.results-meta__divider {
    width: 1.1rem;
    height: 1px;
    background: rgba(177, 77, 41, 0.22);
}

.results-meta__label {
    display: inline-flex;
    align-items: center;
    color: var(--accent-dark);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-card-grid {
    gap: 1rem;
}

.place-card--search {
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
}

.place-card__image--search {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.place-card__image--search img {
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.place-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0.75rem;
    min-height: 84px;
    padding: 1rem 1rem 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.place-card__overlay-main {
    display: flex;
    flex-direction: column;
    align-content: end;
    gap: 0.18rem;
    min-width: 0;
}

.place-card__overlay-main strong {
    display: -webkit-box;
    min-height: 2.2em;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

:is(.place-card__overlay-main span, .place-card__overlay-date) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
}

.place-card__overlay-date {
    margin-left: auto;
    text-align: right;
    align-self: end;
    white-space: nowrap;
}

.place-card--search:is(:hover, :focus-within) .place-card__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.place-card--search:is(:hover, :focus-within) .place-card__image--search img {
    transform: scale(1.06);
}

.site-footer {
    position: relative;
    z-index: 5;
    margin-top: 4rem;
    padding: 1rem 0 2rem;
    border-top: 1px solid rgba(71, 52, 39, 0.18);
    background: #d9cbb7;
}

.content-page__shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-page__card {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(28, 24, 18, 0.08);
    padding: 1.25rem;
}

.content-page__title {
    margin: 0 0 0.75rem;
    font-size: 4rem;
}

:is(.content-page__description, .prose-panel__text) {
    color: var(--muted);
    line-height: 1.7;
}

.prose-panel__title {
    margin: 0 0 0.65rem;
    font-size: 1.65rem;
}

.prose-panel__text + .prose-panel__title {
    margin-top: 1.6rem;
}

.content-page__meta {
    margin-top: 1.8rem;
    font-size: 0.95rem;
}

.section-header--compact {
    margin-bottom: 1rem;
}

.section-header--compact h1,
.section-header--compact h2,
.section-header--compact h3 {
    margin: 0;
}

.archive-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 2rem;
}

.archive-breadcrumbs {
    margin-left: 0;
    width: 100%;
}

.archive-breadcrumbs__list {
    justify-content: flex-start;
    margin-top: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}

.archive-breadcrumbs__root {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(177, 77, 41, 0.08);
    border: 1px solid rgba(177, 77, 41, 0.16);
    color: var(--accent-dark);
    font-weight: 700;
}

.archive-breadcrumbs__item {
    flex: 0 0 auto;
    min-width: 0;
}

.archive-breadcrumbs__separator {
    flex: 0 0 auto;
}

.archive-total {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.archive-crumb-select__button {
    width: auto;
    min-width: 0;
    min-height: 42px;
    max-width: 100%;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

.archive-crumb-select__button:hover,
.archive-crumb-select.is-open .archive-crumb-select__button {
    border-color: rgba(177, 77, 41, 0.26);
    background: rgba(177, 77, 41, 0.1);
    box-shadow: 0 0 26px rgba(177, 77, 41, 0.08);
}

.archive-crumb-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.archive-crumb-select__menu {
    min-width: 220px;
}

.archive-crumb-select__option.is-active {
    pointer-events: none;
}

.archive-crumb-select__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.88rem;
    white-space: nowrap;
}

.archive-card-grid {
    min-height: 14rem;
}

.archive-results {
    margin-top: 2rem;
}

.archive-post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    align-items: stretch;
    justify-content: center;
}

.archive-post-item {
    flex: 1 1 30rem;
    width: 100%;
    min-width: min(100%, 30rem);
    max-width: min(100%, 42rem);
}

.archive-post-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 0 42px rgba(28, 24, 18, 0.08);
    transition: all 360ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.archive-post-card:is(:hover, :focus-visible) {
    border-color: rgba(177, 77, 41, 0.22);
    box-shadow: 0 0 46px rgba(28, 24, 18, 0.12);
}

.archive-post-card__media {
    min-width: 0;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(177, 77, 41, 0.08);
}

.archive-post-card__media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.archive-post-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
    height: auto;
    overflow: hidden;
    padding: 0.25rem 0;
}

:is(.archive-post-card__topline, .archive-post-card__meta) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    align-items: center;
}

:is(.archive-post-card__pill, .archive-post-card__meta span) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(177, 77, 41, 0.08);
    color: var(--accent-dark);
    font-size: 0.85rem;
}

.archive-post-card__date {
    color: var(--muted);
    font-size: 0.92rem;
}

.archive-post-card__title {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.08;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

:is(.archive-post-card__location, .archive-post-card__summary) {
    margin: 0;
}

.archive-post-card__summary {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.search-map-block {
    margin-top: 1.35rem;
    margin-bottom: 1.35rem;
}

.search-map-canvas {
    min-height: 300px;
}

.search-map-status {
    border-top: 1px solid rgba(177, 77, 41, 0.1);
}

.search-head {
    justify-content: flex-start;
}

.search-head .section-copy {
    margin-top: 0.55rem;
    max-width: 38rem;
}

/* Modal / gallery */
body.has-overlay-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2300;
}

.modal[hidden] {
    display: none !important;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
}

.modal--dark .modal__backdrop {
    background: rgba(10, 8, 7, 0.82);
    backdrop-filter: blur(10px);
}

.modal--dark .modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 2rem));
    margin: 2rem auto;
    background: rgba(19, 16, 13, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    color: #fff;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
}

.modal__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.modal__dialog--gallery {
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
}

.modal__close {
    justify-self: end;
    align-self: start;
}

.modal__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 1rem;
}

.modal__image {
    max-width: 100%;
    max-height: calc(100vh - 12rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.modal__nav {
    width: 56px;
    height: 56px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.modal__nav--prev {
    left: 1rem;
}

.modal__nav--next {
    right: 1rem;
}

.modal__meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.84);
}

.u-actions-end,
.media-editor-toolbar,
.media-editor-actions {
    justify-content: flex-end;
}

.modal:not([hidden]) .modal__backdrop {
    animation: surface-backdrop-in 0.24s ease-out both;
}

.modal:not([hidden]) .modal__dialog {
    transform-origin: center top;
    animation: surface-dialog-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes surface-backdrop-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes surface-dialog-in {
    from {
        opacity: 0;
        transform: scale(0.975);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
