html,
body,
button,
input,
textarea,
select {
    font-family: Arial, sans-serif;
}

.photo-summary h1,
.photo-details-heading h2,
.photo-section-title h2,
.photo-caption p,
.ft-comments-section {
    font-family: Arial, sans-serif;
}

.photo-brand {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 10px;
    background: #211b17;
}

.photo-brand img {
    width: 154px;
    max-height: 38px;
}

.photo-hero-brands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.photo-hero-brand {
    display: block;
    min-width: 0;
    padding: 11px;
    border: 1px solid #ded7d0;
    border-radius: 12px;
    background: #faf8f5;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.photo-hero-brand:hover {
    border-color: #95664b;
    box-shadow: 0 8px 18px rgba(63, 40, 28, .09);
    transform: translateY(-2px);
}

.photo-hero-brand__label {
    display: block;
    min-height: 20px;
    margin-bottom: 7px;
    color: #70665e;
    font-size: .68rem;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.photo-hero-brand__visual {
    position: relative;
    display: grid;
    place-items: center;
    height: 68px;
    padding: 7px;
    overflow: visible;
    border-radius: 8px;
    background: #fff;
}

.photo-hero-brand__visual img {
    position: absolute;
    inset: 7px;
    display: block;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    object-fit: contain;
}

.photo-hero-brand__unavailable {
    color: #8b8179;
    font-size: .7rem;
    text-align: center;
}

.photo-hero-brand strong {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: #211b17;
    font-size: .82rem;
    line-height: 1.15;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-hero-brand__link {
    display: block;
    margin-top: 5px;
    color: #642816;
    font-size: .68rem;
    font-weight: 700;
    text-align: center;
}

.photo-location a,
.photo-author a,
.photo-metadata a {
    color: inherit;
    text-decoration-color: rgba(100, 40, 22, .35);
    text-underline-offset: 3px;
}

.photo-location a:hover,
.photo-author a:hover,
.photo-metadata a:hover {
    color: #642816;
    text-decoration-color: currentColor;
}

.photo-location a span {
    color: #642816;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.photo-context-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: -10px 0 18px;
}

.photo-context-links a {
    padding: 6px 9px;
    border: 1px solid #ded7d0;
    border-radius: 999px;
    color: #642816;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

.photo-context-links a:hover {
    border-color: #95664b;
    background: #faf8f5;
}

.photo-viewer {
    background: #fff;
}

.photo-image-button {
    min-height: 0;
    background: #fff;
}

.photo-sequence {
    background: #fff;
    border-top: 1px solid #ded7d0;
}

.photo-sequence a {
    color: #642816;
}

.photo-site-footer {
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

@media (max-width: 650px) {
    .photo-brand {
        padding: 8px 10px;
    }

    .photo-brand img {
        width: 118px;
    }

    .photo-hero-brand__visual {
        height: 60px;
    }
}
