/* General on the left, Exterior above Interior on the right. */
.gallery-categorized { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.gallery-categorized [data-category="General"] { grid-column: 1; grid-row: 1 / 3; }
.gallery-categorized [data-category="Exterior"] { grid-column: 2; grid-row: 1; }
.gallery-categorized [data-category="Interior"] { grid-column: 2; grid-row: 2; }
.gallery-categorized :is(.g-main, .g-thumb) { min-width: 0; min-height: 0; overflow: hidden; }
.gallery-categorized img { position: absolute; inset: 0; }
.gallery-category-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgb(255 253 247 / 94%);
    color: #075642;
    font-size: .75rem;
    font-weight: 700;
}
.gallery-categorized [data-category="General"] > .gallery-category-label { top: 60px; }
.gallery-categorized [data-category="Exterior"] > .gallery-category-label { top: 60px; }
.gallery-category-empty {
    display: grid;
    place-items: center;
    padding: 48px 18px;
    text-align: center;
    background: #e6eee8;
    color: #4d655a;
    font-size: .85rem;
}
.gallery-categorized .gallery-hero__title { width: 66.666%; right: auto; padding-bottom: 28px; }
.gallery-categorized .gallery-hero__title :is(h1, .loc) { max-width: none; }
.gallery-categorized .photo-illustration-tag { bottom: 8px; font-size: .65rem; }
.gallery-categorized:has(.g-main .photo-illustration-tag) .gallery-hero__title { padding-bottom: 48px; }
.gallery-categorized a:focus-visible { outline: 3px solid #ff693b; outline-offset: -4px; }
.gallery-categorized-mobile .gallery-category-label { top: 60px; }
