2026-08-30 Правки секции hero

This commit is contained in:
Dekart Deploy Bot 2026-08-30 16:18:48 +00:00
parent e2a010af97
commit 9f9840d7be

View File

@ -773,6 +773,29 @@
}
}
/* Адрес hero: фон убран полностью (desktop + mobile) */
.ds-hero__address {
background: transparent;
padding: 0;
border-radius: 0;
}
/* Адрес hero: унификация текста и иконок (адрес == часы) */
.ds-hero__address,
.ds-hero__address .ds-hero__hours-badge {
font-family: inherit;
font-size: 14px;
font-weight: 600;
line-height: 1.4;
color: rgba(255, 255, 255, 0.85);
}
.ds-hero__address svg {
width: 16px;
height: 16px;
color: currentColor;
flex: none;
}
/* ── Mobile hero: CTA выше, secondary info ниже ── */
@media (max-width: 768px) {
.ds-hero {
@ -834,22 +857,42 @@
hyphens: auto;
}
.ds-hero__address {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
display: grid;
grid-template-columns: auto 1fr;
gap: 8px;
width: fit-content;
align-items: start;
width: 100%;
max-width: 100%;
padding: 6px 16px;
background: rgba(255, 255, 255, 0.12);
border-radius: 100px;
margin-bottom: 24px;
}
.ds-hero__hours-badge {
padding: 0;
background: transparent;
border-radius: 0;
max-width: 100%;
margin-bottom: 24px;
}
.ds-hero__address > svg {
grid-column: 1;
grid-row: 1;
justify-self: start;
align-self: start;
margin-top: 2px;
}
.ds-hero__address > span:nth-of-type(1) {
grid-column: 2;
grid-row: 1;
min-width: 0;
overflow-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
.ds-hero__hours-badge {
display: contents;
}
.ds-hero__hours-badge svg {
grid-column: 1;
grid-row: 2;
justify-self: start;
align-self: start;
margin-top: 2px;
margin-right: 0;
}
.ds-hero__seats {
white-space: normal;