.footer-panorama {
    padding-top: 56px;
}
.footer-panorama h4,
.footer-panorama p,
.footer-panorama li {
    text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
}
.footer-photo-info { position: relative; }
.footer-photo-info summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding: 4px;
}
.footer-photo-info summary::-webkit-details-marker { display: none; }
.footer-photo-info summary span { font-size: 18px; }
.footer-photo-info summary:focus-visible { outline: 2px solid #00ce35; outline-offset: 3px; }
.footer-photo-credit {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: min(260px, 70vw);
    padding: 14px;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 10px;
    background: #10251b;
    color: #fff;
    font-size: 12px;
    line-height: 1.7;
    box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
    z-index: 20;
}
@media (max-width: 1023px) {
    .footer-panorama { padding-top: 40px; }
}

@media (max-width: 639px) {
    .footer-panorama {
        padding-top: 28px;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
    .footer-panorama .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        margin-bottom: 24px;
    }
    .footer-brand,
    .footer-newsletter { grid-column: 1 / -1; min-width: 0; }
    .footer-brand > div:first-child { margin-bottom: 10px; }
    .footer-brand > p { line-height: 1.6; }
    .footer-panorama .footer-social {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 16px;
    }
    .footer-panorama .footer-social h4 { margin: 0; font-size: 14px; }
    .footer-social a { width: 44px; height: 44px; }
    .footer-links { min-width: 0; }
    .footer-links h4 { margin-bottom: 8px; font-size: 15px; }
    .footer-links ul > li { margin-top: 0; }
    .footer-links a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 6px 0;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    .footer-newsletter { border-top: 1px solid rgb(255 255 255 / 20%); padding-top: 20px; }
    .footer-newsletter h4 { margin-bottom: 8px; font-size: 16px; }
    .footer-newsletter p { margin-bottom: 14px; line-height: 1.6; }
    .footer-newsletter input { font-size: 16px; }
    .footer-panorama .footer-bottom { padding-top: 14px; gap: 8px; flex-wrap: wrap; }
    .footer-bottom > p { flex-basis: 150px; }
    .footer-bottom > div { margin-left: auto; gap: 6px; }
    .footer-photo-info summary { min-width: 44px; min-height: 44px; justify-content: center; }
}
