.branch-profile,
.branch-services-page {
    width: min(100% - 2rem, 68rem);
}

.branch-profile .branch-detail__hero .public-branch-media {
    height: clamp(8rem, 29vw, 20rem);
    width: 100%;
}

.branch-profile .branch-detail__hero .public-branch-media picture img {
    object-fit: contain;
}

.branch-profile .branch-detail__hero-content {
    align-items: center;
    padding: clamp(.85rem, 2.5vw, 1.5rem);
}

.branch-profile .public-branch-profile {
    width: clamp(3rem, 8vw, 5rem);
    height: clamp(3rem, 8vw, 5rem);
    flex-basis: clamp(3rem, 8vw, 5rem);
}

.branch-profile .branch-detail__info {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 2rem);
}

.branch-profile__about h2,
.branch-profile__about h3 {
    margin: 0 0 .25rem;
}

.branch-profile__about h3 {
    margin-top: 1rem;
}

.branch-profile__about p,
.branch-profile__review p {
    margin: 0;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.branch-profile__rating {
    display: inline-block;
    color: #f0d679;
    margin-inline-start: .4rem;
}

.branch-profile__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
}

.branch-profile__actions a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: .65rem .9rem;
    border-radius: .65rem;
    border: 1px solid #bda360;
    color: #f4df9c;
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.branch-profile__actions a:first-child {
    background: #e5bf5b;
    color: #211605;
}

.branch-profile__feedback,
.branch-services-page__panel {
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid #49402b;
    border-radius: 1rem;
    background: #151412;
    color: #f7f4ec;
}

.branch-profile__feedback {
    scroll-margin-top: 6rem;
}

.branch-profile__feedback h2,
.branch-profile__feedback p,
.branch-services-page__panel h1,
.branch-services-page__panel p {
    margin: 0 0 .5rem;
}

.branch-profile__distribution {
    list-style: none;
    max-width: 28rem;
    padding: 0;
    margin: 1rem 0;
}

.branch-profile__distribution li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(3rem, 1fr) auto;
    align-items: center;
    gap: .65rem;
    margin-block: .3rem;
}

.branch-profile__distribution meter {
    width: 100%;
}

.branch-profile__review {
    border-top: 1px solid #49402b;
    padding: .75rem 0 .25rem;
}

.branch-profile__review h3 {
    margin: 0 0 .35rem;
}

.branch-services-page__panel {
    max-width: 38rem;
    margin: .5rem auto 0;
    padding: clamp(2rem, 7vw, 4rem) 1rem;
    text-align: center;
    background: radial-gradient(ellipse at top, #302717, #151412 75%);
}

.branch-services-page__panel img {
    display: block;
    margin: 0 auto 1rem;
}

.branch-services-page__panel h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.branch-services-page__panel p {
    color: #f4df9c;
}

@media (max-width: 640px) {
    .branch-profile .branch-detail__info {
        grid-template-columns: minmax(0, 1fr);
    }
}
