.aw-photo-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    font: 500 14px/1.4 system-ui, sans-serif;
}
.aw-photo-info > button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #d8b35b;
    border-radius: 50%;
    background: #102c20df;
    color: #e7c36c;
    box-shadow: 0 2px 9px #06160e75;
    cursor: pointer;
    transition: background-color 180ms, color 180ms, box-shadow 180ms;
}
.aw-photo-info > button:hover, .aw-photo-info.is-open > button {
    background: #102c20;
    color: #ffe19a;
    box-shadow: 0 0 12px #d8b35b65;
}
.aw-photo-info.is-open { z-index: 1100; }
.aw-photo-info svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.aw-photo-panel {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: min(210px, 68vw);
    padding: 12px;
    border: 1px solid #a9c2af;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px #00180c50;
    color: #123022;
    overflow-wrap: anywhere;
}
.aw-photo-panel > * { display: block; }
.aw-photo-panel a { color: #123022; text-decoration: underline; }
.aw-photo-info .aw-photo-panel {
    box-sizing: border-box;
    inset: auto;
    width: min(250px, calc(100vw - 24px));
    padding: 13px 14px;
    border-color: #859464;
    border-radius: 12px;
    background: #102c20;
    box-shadow: 0 12px 30px #03160ec0;
    color: #f7faf4;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.aw-photo-info .aw-photo-panel[hidden] { display: none; }
.aw-photo-info .aw-photo-panel-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding-inline-end: 28px;
    color: #e7c36c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.aw-photo-info .aw-photo-panel-close {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #d1dcca;
    cursor: pointer;
}
.aw-photo-panel-close:hover { background: #ffffff15; }
.aw-photo-byline { margin: 10px 0 0; color: #d1dcca; font-size: 12px; }
.aw-photo-byline strong { display: block; margin-top: 2px; color: #fff; font-size: 18px; line-height: 1.2; }
.aw-photo-details {
    margin-top: 13px;
    padding-top: 9px;
    border-top: 1px solid #85946470;
    color: #e0e8db;
    font-size: 13px;
}
.aw-photo-details > span { display: flex; gap: 9px; margin-top: 4px; }
.aw-photo-detail-icon { flex: 0 0 16px; color: #e7c36c; text-align: center; }
.aw-photo-info .aw-photo-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    margin-top: 11px;
    padding: 6px 10px;
    border: 1px solid #d8b35b;
    border-radius: 8px;
    color: #f2cf7a;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms;
}
.aw-photo-info .aw-photo-profile:hover { background: #d8b35b18; }
@media (prefers-reduced-motion: reduce) {
    .aw-photo-info > button, .aw-photo-info .aw-photo-profile { transition: none; }
}
.aw-photo-credit {
    position: absolute;
    z-index: 7;
    inset-inline-end: 24px;
    inset-block-end: 24px;
    max-width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 8px;
}
.aw-photo-caption, .aw-photo-credit summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #d9ad45bb;
    border-radius: 999px;
    background: #031910c9;
    backdrop-filter: blur(8px);
    color: #fff !important;
    font: 600 12px/1.35 var(--font-sans, system-ui), sans-serif;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.aw-photo-caption svg {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: #e3b755;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
a.aw-photo-caption:hover, .aw-photo-credit summary:hover { background: #031910f5; border-color: #e3b755; }
.aw-photo-credit summary { cursor: pointer; }
.aw-photo-credit summary::-webkit-details-marker { display: none; }
.aw-photo-credit .aw-photo-panel { z-index: 1; }
.aw-photo-credit--footer { inset-block: calc(var(--footer-photo-height, 240px) - var(--footer-photo-overlap, 40px) - 48px) auto; }
.lodge-gallery__main { position: relative; }
@media (max-width: 700px) {
    .aw-photo-credit { inset-inline-end: 12px; inset-block-end: 12px; max-width: calc(100% - 24px); }
    .aw-photo-credit--hero { max-width: 56%; }
    .aw-photo-credit--footer { inset-block: calc(var(--footer-photo-height, 240px) - var(--footer-photo-overlap, 40px) - 44px) auto; }
}
.aw-photo-credit :focus-visible, .aw-photo-info :focus-visible { outline: 2px solid #e9b94f; outline-offset: 3px; }
