.yd_socials {
--ydsoc-icon: 48px;
--ydsoc-radius: 28px;
--ydsoc-gap: 14px;
--ydsoc-card-bg: #f3f5f7;
--ydsoc-block-bg: transparent;
--ydsoc-title: #111111;
--ydsoc-subtitle: #4b5563;
--ydsoc-name: #111111;
--ydsoc-url: #2563eb;
--ydsoc-brand: #111111;
--ydsoc-pad-t: 0px;
--ydsoc-pad-b: 40px;
margin-top: var(--ydsoc-pad-t);
margin-bottom: var(--ydsoc-pad-b);
padding-top: 20px;
padding-bottom: 32px;
box-sizing: border-box;
}
.yd_socials.has-block-bg {
background-color: var(--ydsoc-block-bg);
}
.yd_socials.is-full-bleed {
width: 100vw;
max-width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
box-sizing: border-box;
}
.yd_socials__inner {
width: 100%;
max-width: 720px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
box-sizing: border-box;
}
.yd_socials.is-align-left .yd_socials__inner,
.yd_socials.is-align-right .yd_socials__inner,
.yd_socials.is-align-center .yd_socials__inner {
margin-left: auto;
margin-right: auto;
}
.yd_socials__card {
background: var(--ydsoc-card-bg);
border-radius: var(--ydsoc-radius);
padding: 32px 28px 36px;
box-sizing: border-box;
}
.yd_socials.has-shadow .yd_socials__card {
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.yd_socials .yd_socials__head {
margin: 0;
}
.yd_socials.is-head-top .yd_socials__head {
margin-bottom: 22px;
}
.yd_socials.is-head-bottom .yd_socials__head {
margin-top: 22px;
}
.yd_socials h2.yd_socials__title {
margin: 0;
color: var(--ydsoc-title);
font-size: 22px;
font-weight: 800;
line-height: 1.25;
letter-spacing: -0.02em;
}
.yd_socials__subtitle {
margin-top: 6px;
color: var(--ydsoc-subtitle);
font-size: 15px;
line-height: 1.45;
}
.yd_socials__subtitle p {
margin: 0;
}
.yd_socials__list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: var(--ydsoc-gap);
}
.yd_socials ul.yd_socials__list,
.yd_socials .yd_socials__list {
list-style: none;
padding-left: 0;
}
.yd_socials .yd_socials__item,
.yd_socials li.yd_socials__item {
list-style: none;
padding-left: 0;
margin-left: 0;
}
.yd_socials .yd_socials__item::before,
.yd_socials .yd_socials__item::after,
.yd_socials li.yd_socials__item::before,
.yd_socials li.yd_socials__item::after,
.yd_socials .yd_socials__list::before,
.yd_socials .yd_socials__list::after {
content: none !important;
display: none !important;
}
.yd_socials.is-layout-cards .yd_socials__list {
display: grid;
grid-template-columns: 1fr;
}
.yd_socials__item {
margin: 0;
min-width: 0;
}
.yd_socials__row {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
color: inherit;
text-decoration: none;
border-radius: 16px;
padding: 4px;
margin: -4px;
transition: background-color 0.18s ease, transform 0.18s ease;
}
.yd_socials a.yd_socials__row,
.yd_socials a.yd_socials__row:link,
.yd_socials a.yd_socials__row:visited,
.yd_socials a.yd_socials__row:hover,
.yd_socials a.yd_socials__row:active,
.yd_socials a.yd_socials__row:focus,
.yd_socials a.yd_socials__row:focus-visible,
.yd_socials .yd_socials__name,
.yd_socials .yd_socials__url {
text-decoration: none !important;
text-decoration-line: none !important;
text-decoration-color: transparent !important;
text-underline-offset: 0 !important;
border-bottom: 0 !important;
background-image: none !important;
}
.yd_socials a.yd_socials__row *,
.yd_socials a.yd_socials__row::before,
.yd_socials a.yd_socials__row::after {
text-decoration: none !important;
text-decoration-line: none !important;
text-decoration-color: transparent !important;
text-underline-offset: 0 !important;
border-bottom: 0 !important;
}
.yd_socials a.yd_socials__row,
.yd_socials a.yd_socials__row:link,
.yd_socials a.yd_socials__row:visited,
.yd_socials a.yd_socials__row:hover,
.yd_socials a.yd_socials__row:active,
.yd_socials a.yd_socials__row:focus,
.yd_socials a.yd_socials__row:focus-visible {
box-shadow: none !important;
}
.yd_socials a.yd_socials__row:hover,
.yd_socials a.yd_socials__row:focus-visible {
background-color: rgba(255, 255, 255, 0.72);
background-image: none !important;
transform: translateY(-1px);
outline: none;
}
.yd_socials__icon {
width: var(--ydsoc-icon);
height: var(--ydsoc-icon);
flex-shrink: 0;
border-radius: 50%;
background: var(--ydsoc-brand);
color: #ffffff;
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
box-shadow: 0 8px 18px color-mix(in srgb, var(--ydsoc-brand) 28%, transparent);
transition: transform 0.18s ease;
}
a.yd_socials__row:hover .yd_socials__icon,
a.yd_socials__row:focus-visible .yd_socials__icon {
transform: scale(1.05);
}
.yd_socials__icon svg {
width: 46%;
height: 46%;
display: block;
}
.yd_socials__iconImg {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.yd_socials__icon--instagram {
background-color: #d6249f;
background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
box-shadow: 0 8px 18px rgba(214, 36, 159, 0.28);
}
.yd_socials__icon--max {
background-color: #5533ee;
background-image: linear-gradient(135deg, #44ccff 0%, #5533ee 55%, #9933dd 100%) !important;
box-shadow: 0 8px 18px rgba(110, 26, 255, 0.32);
}
.yd_socials__icon--vk,
.yd_socials__icon--ok,
.yd_socials__icon--max {
color: #ffffff;
}
.yd_socials__icon--avito {
background: #f2f4f7;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.yd_socials__icon--google {
background: #ffffff;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.yd_socials__icon--google svg {
width: 54%;
height: 54%;
}
.yd_socials__icon--2gis {
background: #19aa1e;
color: #ffffff;
box-shadow: 0 8px 18px rgba(25, 170, 30, 0.28);
}
.yd_socials__icon--2gis svg {
width: 42%;
height: 50%;
}
.yd_socials__icon--mailru {
background: #005ff9;
color: #ffffff;
box-shadow: 0 8px 18px rgba(0, 95, 249, 0.28);
}
.yd_socials__icon--mailru svg {
width: 64%;
height: 64%;
}
.yd_socials__icon--complain {
background: #78716c;
color: #f8fafc;
box-shadow: 0 8px 18px rgba(120, 113, 108, 0.22);
}
.yd_socials__icon--reviews {
background: #64748b;
color: #f8fafc;
box-shadow: 0 8px 18px rgba(100, 116, 139, 0.22);
}
.yd_socials__icon--ghost {
background: transparent;
box-shadow: none;
visibility: hidden;
pointer-events: none;
}
a.yd_socials__row:hover .yd_socials__icon--ghost,
a.yd_socials__row:focus-visible .yd_socials__icon--ghost {
transform: none;
}
.yd_socials__body {
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.yd_socials__row.is-no-icon {
gap: 0;
}
.yd_socials__row.is-no-icon .yd_socials__body {
flex: 1;
}
.yd_socials.is-stretch,
.yd_socials.is-stretch .yd_socials__inner,
.yd_socials.is-stretch .yd_socials__card {
height: 100%;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
.yd_socials.is-stretch .yd_socials__list {
flex: 1 1 auto;
}
.yd_socials__name {
color: var(--ydsoc-name);
font-size: 15px;
font-weight: 600;
line-height: 1.3;
word-break: break-word;
}
.yd_socials__name.is-dash::after {
content: " —";
font-weight: 500;
}
.yd_socials__url {
color: var(--ydsoc-url);
font-size: 13px;
line-height: 1.35;
word-break: break-all;
}
@media (min-width: 720px) {
.yd_socials {
padding-top: 28px;
padding-bottom: 40px;
}
.yd_socials__card {
padding: 36px 32px 40px;
}
.yd_socials h2.yd_socials__title {
font-size: 26px;
}
.yd_socials.is-layout-list .yd_socials__inner {
max-width: 440px;
}
.yd_socials.is-layout-cards .yd_socials__inner {
max-width: 860px;
}
.yd_socials.is-align-left:not(.is-full-bleed),
.yd_socials.is-align-right:not(.is-full-bleed) {
width: min(100%, 400px);
max-width: 400px;
}
.yd_socials.is-layout-cards.is-align-left:not(.is-full-bleed),
.yd_socials.is-layout-cards.is-align-right:not(.is-full-bleed) {
width: min(100%, 640px);
max-width: 640px;
}
.yd_socials.is-align-left:not(.is-full-bleed) {
float: left;
margin-right: 28px;
}
.yd_socials.is-align-right:not(.is-full-bleed) {
float: right;
margin-left: 28px;
}
.yd_socials.is-align-left:not(.is-full-bleed) .yd_socials__inner,
.yd_socials.is-align-right:not(.is-full-bleed) .yd_socials__inner {
max-width: none;
padding-left: 0;
padding-right: 0;
margin: 0;
}
.yd_socials.is-layout-cards .yd_socials__list {
grid-template-columns: 1fr 1fr;
gap: calc(var(--ydsoc-gap) + 4px);
}
.yd_socials.is-layout-cards .yd_socials__row {
background: rgba(255, 255, 255, 0.55);
padding: 10px 12px 10px 10px;
margin: 0;
height: 100%;
box-sizing: border-box;
}
}