/* Requested photo patchwork. The owner's template styles remain unchanged. */
[data-photo-frame] { position: relative; max-width: 100%; }
[data-photo-frame] > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.content-list > li { white-space: normal; overflow-wrap: break-word; }
/* Use the template's pagination, with consistent touch targets. */
.journal-pagination { height: auto; }
.journal-pagination .pagination { gap: 8px; align-items: center; }
.journal-pagination p { text-align: center; text-align-last: center; }
.journal-pagination .page-link { display: flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; padding: 0; margin: 0; line-height: 1; border-radius: 50%; }
.journal-pagination .page-item:not(.active):not(.disabled) a:hover { background: rgba(var(--primary-color-rgb), .12); }
.journal-pagination .page-link:focus-visible { outline: 2px solid var(--heading-font-color); outline-offset: 3px; box-shadow: none; }
.journal-pagination .page-item.disabled .page-link { background: none; opacity: .4; }
.journal-pagination .pagination-gap { min-width: 20px; width: 20px; }
#journal-articles { scroll-margin-top: 90px; }
#journal-articles:focus { outline: none; }
/* A single fitted image block, without gutters or captions. */
.lodging-patchwork { display: grid; gap: 0; overflow: hidden; border-radius: 16px; isolation: isolate; background: #e9e3d9; }
.lodging-patchwork .patchwork-tile { display: block; position: relative; min-width: 0; min-height: 0; overflow: hidden; cursor: zoom-in; }
.lodging-patchwork .patchwork-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lodging-patchwork .patchwork-tile:hover img { transform: scale(1.025); }
.lodging-patchwork .patchwork-tile:focus-visible { outline: 4px solid white; outline-offset: -4px; z-index: 1; }
.lodging-patchwork [hidden] { display: none; }
.lodging-patchwork[data-layout="1"] { grid-template: "a" 1fr / 1fr; aspect-ratio: 3/2; max-width: 850px; margin-inline: auto; }
.lodging-patchwork[data-layout="2"] { grid-template: "a b" 1fr / 1fr 1fr; aspect-ratio: 3/1; }
.lodging-patchwork[data-layout="2-portrait"] { grid-template: "a b" 1fr / 2fr 3fr; aspect-ratio: 5/3; }
.lodging-patchwork[data-layout="2-two-portrait"] { grid-template: "a b" 1fr / 1fr 1fr; aspect-ratio: 4/3; }
.lodging-patchwork[data-layout="3"] { grid-template: "a b" 1fr "a c" 1fr / 2fr 1fr; aspect-ratio: 9/4; }
.lodging-patchwork[data-layout="3-portrait"] { grid-template: "a b" 1fr "a c" 1fr / 2fr 3fr; aspect-ratio: 5/3; }
.lodging-patchwork[data-layout="3-two-portrait"] { grid-template: "a b c" 1fr / 3fr 2fr 2fr; aspect-ratio: 20/9; }
.lodging-patchwork[data-layout="4"] { grid-template: "a a b b b" 1fr "c c c d d" 1fr / repeat(5,minmax(0,1fr)); aspect-ratio: 5/3; }
.lodging-patchwork[data-layout="4-portrait"] { grid-template: "a a b b" 1fr "a a c d" 1fr / repeat(4,minmax(0,1fr)); aspect-ratio: 5/3; }
.lodging-patchwork[data-layout="5"] { grid-template: "a a a a b b" 1fr "a a a a b b" 1fr "c c d d e e" 1fr / repeat(6,minmax(0,1fr)); aspect-ratio: 16/9; }
@media (max-width: 575px) {
  .lodging-patchwork[data-layout="2"] { grid-template: "a" 1fr "b" 1fr / 1fr; aspect-ratio: 3/4; }
  .lodging-patchwork[data-layout="2-portrait"] { grid-template: "a b" 1fr / 1fr 1fr; aspect-ratio: 1/1; }
  .lodging-patchwork[data-layout="3"], .lodging-patchwork[data-layout="3-portrait"] { grid-template: "a a" 2fr "b c" 1fr / 1fr 1fr; aspect-ratio: 9/8; }
  .lodging-patchwork[data-layout="3-two-portrait"] { grid-template: "a a" 1fr "b c" 1.2fr / 1fr 1fr; aspect-ratio: 3/4; }
  .lodging-patchwork[data-layout="4"], .lodging-patchwork[data-layout="4-portrait"] { grid-template: "a b" 1fr "c d" 1fr / 1fr 1fr; aspect-ratio: 1/1; }
  .lodging-patchwork[data-layout="5"] { grid-template: "a a" 1fr "b c" 1fr "d e" 1fr / 1fr 1fr; aspect-ratio: 2/3; }
}
@media (prefers-reduced-motion: reduce) { .lodging-patchwork .patchwork-tile img { transition: none; } }
