
.blogger_fio{padding-right: 200px}

.profile {
	border-radius: 10px;
	padding: 20px;
	text-align: left;
}

/* --- Верхняя часть: фото + текст справа --- */
.profile-top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
}

.profile_avatar {
	width: 416px;
	height: 434px;
	border-radius: 30px;
	background: #D9D9D9;
	flex-shrink: 0;
}

.profile_avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}


.profile-info {
	flex: 1;
}

/* Имя и бейдж на одной линии */
.profile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.profile-header h1 {
	margin: 0;
	font-size: 60px;
	font-family: 'Rubik-Bold';
	font-weight: 700;
}

.profile-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}


.badge {
	font-family: 'Rubik-SemiBold';
	color: #fff;
	background-color: #B0005B;
	border-radius: 6px;
	padding: 15px 25px;
	font-size: 18px;
	line-height: 24px;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease;
	font-weight:600;
}

.badge:hover {
	background-color: #ff66a3;
		
}


.description {
	font-family: 'Nunito-Regular';
	color:#484848;
	font-size: 24px;
	line-height: 120%;
	font-weight:400;
	margin-bottom: 10px;
}

.location {
	font-family: 'Nunito-Regular';
	font-size: 24px;
	line-height: 120%;
	font-weight:400;
	color: #909090;
	margin-bottom: 5px;
}

.stats {
	font-size: 12px;
	color: #999;
	margin-bottom: 20px;
}

/* --- Tabs и иконки ниже --- */
/* Контейнер табов с серой линией */
/* Контейнер — ширина по содержимому, но с серой линией */
.social-tabs {
	display: inline-flex; /* НЕ растягиваем на всю ширину */
	gap: 0;
	position: relative;
	padding-bottom: 4px; /* место под линию */
}

/* серая линия под всеми табами */
.social-tabs::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: #F7F7F7;
	border-radius: 2px;
	z-index: 0;
}

/* Сами табы — ширина по тексту */
.social-tab {
	background: none;
	border: none;
	outline: none;
	cursor: pointer;
	font-family: 'Inter-Regular';
	font-size: 24px;
	line-height: 24px;
	font-weight: 700;
	color: #70757A; /* текст остаётся серым */
	padding: 10px 0px; /* регулирует ширину вкладки */
	position: relative;
	z-index: 2; /* над серой линией */
	transition: color 0.2s;
}

/* Ховер оставляем для видимости */
.social-tab:hover {
	color: #000;
}

/* Активный таб не меняет цвет текста */
.social-tab.active {
	color: #000;
}

/* Фиолетовая полоса поверх серой линии */
.social-tab.active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px; /* перекрывает серую линию */
	height: 4px;
	background: #9B0C5B;
	border-radius: 2px;
	z-index: 1;
}


/* Иконка внутри таба — маленький кружок */
.social-tab .social-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: white;
	flex-shrink: 0;

}

.blogger-favorite-icon{}

.tab-content {
	display: none;
	min-height: 100px;
}

.tab-content.active {
	display: block;
}

.social-tab.disabled {
	cursor: default;
	color: #aaa;
	background: transparent;
}

.social-icon.disabled {
	background: #ccc !important;
	color: #666 !important;
}


.social-links .social-btn {
	font-family: 'Nunito-Regular';
	display: inline-flex;
	align-items: center;
	padding: 5px 15px;
	background: #fff;
	border: 1px solid #000;
	border-radius: 20px;
	text-decoration: none;
	color: #212121;
	font-size: 16px;
	line-height:120%;
	font-weight:400;
	transition: background 0.2s;
}

.social-links .social-btn:hover {
	background: #f0f0f0;
}

.social-links .social-btn img.social-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	margin-right:5px;
}

.blogger-ads-tab-content-stats h2{
	
	font-family: 'Rubik-SemiBold';
	margin-bottom:20px;
	color: #212121;
}

.blogger-ads-tab-content-ads h2{
	
	font-family: 'Rubik-SemiBold';
	margin-bottom:20px;
	color: #212121;
}


@media (max-width: 768px) {
	
	.profile {
		padding: 0px;
	}	

	.blogger_fio{padding-right: 0px}

	.profile-name h1{
		
		font-size:25px
	}

	.profile-top {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.profile_avatar {
		width: 100%;
		max-width: 350px;
		height: auto;
		border-radius: 20px;
	}

	.profile_avatar img {
		border-radius: 20px;
		height: auto;
	}

	.profile-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.profile-header h1 {
		font-size: 32px;
		line-height: 1.1;
	}

	.badge {
		font-size: 14px;
		padding: 10px 20px;
	}

	.description {
		font-size: 18px;
	}

	.location {
		font-size: 18px;
	}


	.social-links .social-btn {
		font-size: 14px;
		padding: 4px 12px;
	}

	.social-tabs {
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.social-tab {
		font-size: 20px;
		padding: 8px 0;
		white-space: nowrap;
	}

	.social-tab .social-icon {
		width: 22px;
		height: 22px;
	}
}

.cooperation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid #ededed;
    border-left: 4px solid var(--site-accent, #9C1C4F);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cooperation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--site-accent-rgb, 156, 28, 79), 0.12);
}

.cooperation-card-main,
.cooperation-modal-heading,
.cooperation-list-heading,
.cooperation-media-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cooperation-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--site-accent, #9C1C4F);
    background: rgba(var(--site-accent-rgb, 156, 28, 79), 0.1);
    font-size: 18px;
}

.cooperation-card-title,
.cooperation-list-title {
    font-family: 'Rubik-Bold';
    font-weight: 700;
    color: #212121;
}

.cooperation-card-title {
    font-size: 16px;
    line-height: 20px;
}

.cooperation-card-subtitle,
.cooperation-list-caption,
.cooperation-intro {
    color: #777;
    font-family: 'Nunito-Regular';
}

.cooperation-card-subtitle,
.cooperation-list-caption {
    margin-top: 3px;
    font-size: 13px;
    line-height: 17px;
}

.cooperation-card-open,
.cooperation-round-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f4f4f4;
    color: #666;
    font-size: 14px;
}

.cooperation-round-btn {
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cooperation-round-btn:hover {
    color: var(--site-accent, #9C1C4F);
    background: rgba(var(--site-accent-rgb, 156, 28, 79), 0.08);
}

.cooperation-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.cooperation-modal.is-open {
    display: block;
}

.cooperation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.cooperation-modal-position {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cooperation-modal-dialog {
    width: 100%;
    max-width: 760px;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.cooperation-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #ededed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cooperation-modal-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cooperation-modal-body {
    padding: 20px 22px 24px;
    overflow-y: auto;
}

.cooperation-intro {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 18px;
}

.cooperation-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cooperation-list {
    padding: 18px;
    border-radius: 16px;
}

.cooperation-list-accepts {
    border: 1px solid #d9f0df;
    background: #f5fbf6;
}

.cooperation-list-rejects {
    border: 1px solid #f6d9dc;
    background: #fff7f8;
}

.cooperation-list-icon,
.cooperation-format-icon,
.cooperation-pdf-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cooperation-list-accepts .cooperation-list-icon {
    color: #29964a;
    background: #dff4e5;
}

.cooperation-list-rejects .cooperation-list-icon {
    color: #d64b59;
    background: #fbe4e6;
}

.cooperation-lines,
.cooperation-format-text {
    margin-top: 14px;
    color: #484848;
    font-family: 'Nunito-Regular';
    font-size: 14px;
    line-height: 22px;
}

.cooperation-format {
    margin-top: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    border: 1px solid #d8e8f7;
    border-radius: 16px;
    background: #f6faff;
}

.cooperation-format-icon {
    color: #3979b9;
    background: #e2eef9;
}

.cooperation-format-text {
    margin-top: 8px;
}

.cooperation-media-kit {
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 16px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cooperation-pdf-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #e14b4b;
    background: #fff0f0;
    font-size: 18px;
}

.cooperation-download {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #212121;
    text-decoration: none;
    font-family: 'Rubik-SemiBold';
    font-size: 13px;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cooperation-download:hover {
    border-color: var(--site-accent, #9C1C4F);
    color: var(--site-accent, #9C1C4F);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .cooperation-columns {
        grid-template-columns: 1fr;
    }

    .cooperation-modal-position {
        padding: 10px;
    }

    .cooperation-modal-dialog {
        max-height: 92vh;
        border-radius: 18px;
    }

    .cooperation-modal-header,
    .cooperation-modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cooperation-card-subtitle,
    .cooperation-modal-header .cooperation-card-subtitle {
        display: none;
    }

    .cooperation-media-kit {
        align-items: stretch;
        flex-direction: column;
    }

    .cooperation-download {
        text-align: center;
    }
}

.success-cases {
    margin: 22px 0;
    padding: 24px;
    border: 1px solid #eceff3;
    border-radius: 20px;
    background: #fff;
}

.success-cases-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f1f3;
}

.success-cases-head h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #171b24;
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 20px;
    line-height: 1.25;
}

.success-cases-head h2 i {
    color: var(--site-accent, #9C1C4F);
}

.success-cases-head p {
    margin: 5px 0 0;
    color: #7b8390;
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.success-cases-nav {
    display: flex;
    gap: 8px;
}

.success-cases-nav button,
.success-case-modal-actions button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.success-cases-nav button:hover:not(:disabled),
.success-case-modal-actions button:hover {
    background: var(--site-accent, #9C1C4F);
    color: #fff;
}

.success-cases-nav button:disabled {
    cursor: default;
    opacity: .4;
}

.success-cases-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.success-cases-track::-webkit-scrollbar {
    display: none;
}

.success-case-card {
    position: relative;
    display: flex;
    width: 360px;
    min-width: 360px;
    min-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #eceff3;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.success-case-card:hover,
.success-case-card:focus {
    border-color: var(--site-accent, #9C1C4F);
    outline: none;
    box-shadow: 0 10px 28px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .34);
    transform: translateY(-3px);
}

.success-case-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    border-radius: 0 0 0 100%;
    background: var(--site-accent, #9C1C4F);
    opacity: .035;
    pointer-events: none;
    transition: transform .45s ease;
}

.success-case-card:hover .success-case-glow {
    transform: scale(1.2);
}

.success-case-top,
.success-case-brand-wrap,
.success-case-modal-heading {
    display: flex;
    align-items: flex-start;
}

.success-case-top {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.success-case-brand-wrap,
.success-case-modal-heading {
    gap: 12px;
    min-width: 0;
}

.success-case-logo {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fee2e2;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    font-family: 'Rubik-Black', sans-serif;
    font-size: 20px;
}

.success-case-card:nth-child(4n + 1) .success-case-logo,
.success-case-logo.is-red {
    border-color: #fee2e2;
    background: #fef2f2;
    color: #dc2626;
}

.success-case-card:nth-child(4n + 2) .success-case-logo,
.success-case-logo.is-blue {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #2563eb;
}

.success-case-card:nth-child(4n + 3) .success-case-logo,
.success-case-logo.is-amber {
    border-color: #fde68a;
    background: #fffbeb;
    color: #d97706;
}

.success-case-card:nth-child(4n) .success-case-logo,
.success-case-logo.is-green {
    border-color: #dcfce7;
    background: #f0fdf4;
    color: #16a34a;
}

.success-case-brand-text {
    min-width: 0;
}

.success-case-brand-text h3,
.success-case-modal-heading h3 {
    margin: 0;
    color: #171b24;
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.success-case-brand-text > div,
.success-case-modal-heading p {
    margin: 3px 0 0;
    color: #8b93a1;
    font-family: 'Rubik-SemiBold', sans-serif;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.success-case-format,
.success-case-modal-format span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 5px 9px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #313743;
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 10px;
    line-height: 1.2;
}

.success-case-task {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    margin-bottom: 18px;
}

.success-case-label {
    margin-bottom: 6px;
    color: #a0a6af;
    font-family: 'Rubik-SemiBold', sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.success-case-task p,
.success-case-modal-task p,
.success-case-brand-info p {
    margin: 0;
    color: #59616d;
    font-family: 'Nunito-Regular', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

.success-case-stats,
.success-case-modal-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 15px;
    border: 1px solid #eff0f2;
    border-radius: 13px;
    background: #fafafa;
}

.success-case-stats span,
.success-case-modal-stats span {
    display: block;
    margin-bottom: 4px;
    color: #89919c;
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.success-case-stats strong,
.success-case-modal-stats strong {
    display: block;
    color: var(--site-accent, #9C1C4F);
    font-family: 'Rubik-Black', sans-serif;
    font-size: 20px;
    line-height: 1.15;
}

.success-case-open {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--site-accent, #9C1C4F);
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 12px;
}

.success-cases-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
}

.success-cases-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d7dbe0;
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.success-cases-dots button.is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--site-accent, #9C1C4F);
}

.success-case-modal {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: none;
}

.success-case-modal.is-open {
    display: block;
}

.success-case-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(3px);
}

.success-case-modal-position {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.success-case-modal-dialog {
    display: flex;
    width: min(680px, 100%);
    max-height: 88vh;
    overflow: hidden;
    flex-direction: column;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    pointer-events: auto;
}

.success-case-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #f0f1f3;
}

.success-case-modal-heading {
    align-items: center;
    min-width: 0;
}

.success-case-modal-heading-text {
    min-width: 0;
}

.success-case-modal-heading h3,
.success-case-modal-heading p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.success-case-modal-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.success-case-modal-body {
    overflow-y: auto;
    padding: 20px 22px 24px;
}

.success-case-modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.success-case-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: zoom-in;
}

.success-case-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.success-case-gallery-item:hover img {
    transform: scale(1.04);
}

.success-case-lightbox {
    position: fixed;
    z-index: 11000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px 76px;
    background: rgba(8, 12, 20, .88);
    backdrop-filter: blur(3px);
}

.success-case-lightbox.is-open {
    display: flex;
}

.success-case-lightbox-stage {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.success-case-lightbox-image {
    display: block;
    max-width: min(1180px, 100%);
    max-height: calc(100vh - 56px);
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .38);
    object-fit: contain;
}

.success-case-lightbox-close,
.success-case-lightbox-arrow {
    position: fixed;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.success-case-lightbox-close:hover,
.success-case-lightbox-arrow:hover {
    background: rgba(255, 255, 255, .24);
}

.success-case-lightbox-close {
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.success-case-lightbox-arrow {
    top: 50%;
    width: 48px;
    height: 64px;
    border-radius: 14px;
    font-size: 28px;
    transform: translateY(-50%);
}

.success-case-lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.success-case-lightbox-prev {
    left: 20px;
}

.success-case-lightbox-next {
    right: 20px;
}

.success-case-lightbox-arrow[hidden] {
    display: none;
}

.success-case-lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    min-width: 64px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transform: translateX(-50%);
}

.success-case-lightbox-counter:empty {
    display: none;
}

.success-case-modal-format {
    margin-bottom: 16px;
}

.success-case-modal-task {
    margin-bottom: 18px;
}

.success-case-modal-stats {
    margin-bottom: 18px;
    padding: 16px;
}

.success-case-brand-info {
    padding: 18px;
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .14);
    border-radius: 16px;
    background: rgba(var(--site-accent-rgb, 156, 28, 79), .045);
}

.success-case-brand-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #171b24;
    font-family: 'Rubik-Bold', sans-serif;
    font-size: 14px;
}

.success-case-brand-info h4 i {
    color: var(--site-accent, #9C1C4F);
}

@media (max-width: 640px) {
    .success-cases {
        padding: 18px;
    }

    .success-cases-nav {
        display: none;
    }

    .success-case-card {
        width: 86%;
        min-width: 86%;
    }

    .success-case-modal-position {
        padding: 12px;
    }

    .success-case-modal-dialog {
        max-height: 92vh;
        border-radius: 20px;
    }

    .success-case-modal-header,
    .success-case-modal-body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .success-case-modal-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .success-case-lightbox {
        padding: 68px 14px 54px;
    }

    .success-case-lightbox-image {
        max-height: calc(100vh - 122px);
        border-radius: 8px;
    }

    .success-case-lightbox-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
    }

    .success-case-lightbox-arrow {
        top: auto;
        bottom: 12px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        transform: none;
    }

    .success-case-lightbox-arrow:hover {
        transform: scale(1.04);
    }

    .success-case-lightbox-prev {
        left: 14px;
    }

    .success-case-lightbox-next {
        right: 14px;
    }

    .success-case-lightbox-counter {
        bottom: 16px;
    }
}



/* Cooperation modal — aligned to the client mockup. */
.cooperation-modal-dialog {
    max-width: 760px;
}

.cooperation-modal-body {
    padding-top: 18px;
}

.cooperation-intro {
    margin-bottom: 16px;
    color: #7b8390;
    font-size: 13px;
    line-height: 18px;
}

.cooperation-columns {
    gap: 16px;
}

.cooperation-list {
    padding: 16px 16px 12px;
    border-radius: 16px;
}

.cooperation-list-heading {
    align-items: flex-start;
    gap: 12px;
}

.cooperation-list-title {
    font-size: 16px;
    line-height: 20px;
}

.cooperation-list-caption {
    margin-top: 4px;
    color: #8a9099;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}

.cooperation-list-icon {
    width: 30px;
    height: 30px;
    margin-top: 1px;
}

.cooperation-lines {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
}

.cooperation-lines > div {
    padding: 8px 0;
    border-bottom: 1px solid rgba(120, 130, 145, .13);
}

.cooperation-lines > div:first-child {
    padding-top: 0;
}

.cooperation-lines > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 720px) {
    .cooperation-list {
        padding: 15px 14px 12px;
    }

    .cooperation-list-caption {
        white-space: normal;
    }

    .cooperation-lines > div {
        padding: 7px 0;
    }
}


.cooperation-list-accepts .cooperation-lines > div {
    border-bottom-color: #dcefe1;
}

.cooperation-list-rejects .cooperation-lines > div {
    border-bottom-color: #f3dde0;
}

.cooperation-list-accepts .cooperation-lines > div:last-child,
.cooperation-list-rejects .cooperation-lines > div:last-child {
    border-bottom: 0;
}

.success-cases {
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .08);
    border-radius: 24px;
    box-shadow: 0 12px 30px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .12);
    transition: box-shadow .3s ease, transform .3s ease;
}

.success-cases:hover {
    box-shadow: 0 20px 40px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .22);
    transform: translateY(-4px);
}

