.ssgp-materials { padding: 70px 6%; background: var(--sgp-black); }
.ssgp-materials-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.ssgp-materials-sub { margin-top: 14px; color: var(--sgp-text-muted); font-size: 15px; line-height: 1.9; }

.ssgp-materials-body { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 980px; margin: 0 auto; }

.ssgp-materials-preview { position: relative; display: flex; align-items: center; gap: 14px; }
.ssgp-mat-slides { position: relative; flex: 1; --mat-ratio: 72%; }
.ssgp-mat-slides::before { content: ''; display: block; padding-top: var(--mat-ratio); }
.ssgp-mat-slide {
	position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 1;
	border-radius: 18px; overflow: hidden;
	transition: opacity .5s ease;
	background: var(--sgp-black-card);
}
.ssgp-mat-slide.ssgp-mat-active { opacity: 1; pointer-events: auto; z-index: 2; }
.ssgp-mat-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ssgp-mat-caption {
	position: absolute; right: 0; bottom: 0; left: 0; z-index: 2;
	padding: 22px 24px; color: var(--sgp-white);
	background: linear-gradient(0deg, rgba(10,9,11,0.92) 0%, rgba(10,9,11,0.55) 60%, transparent 100%);
}
.ssgp-mat-caption strong { display: block; font-size: 17px; margin-bottom: 6px; }
.ssgp-mat-caption p { font-size: 13px; color: var(--sgp-text-muted); max-width: 420px; line-height: 1.8; }
.ssgp-mat-link { display: inline-block; margin-top: 10px; color: var(--sgp-gold); font-size: 13px; font-weight: 700; }

.ssgp-mat-arrow {
	flex: none; width: 46px; height: 46px; border-radius: 50%;
	background: var(--sgp-black-card); border: 1px solid rgba(255,255,255,0.1);
	color: var(--sgp-white); font-size: 17px; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease, transform .2s ease, color .2s ease;
}
.ssgp-mat-arrow:hover { background: var(--sgp-gold); color: var(--sgp-black); transform: scale(1.06); }

.ssgp-materials-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ssgp-mat-tab {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1);
	background: var(--sgp-black-card); color: var(--sgp-text-muted); font-size: 13.5px;
	cursor: pointer; transition: all .25s ease;
}
.ssgp-mat-tab-icon { font-size: 15px; color: var(--sgp-gold); }
.ssgp-mat-tab:hover { border-color: var(--sgp-gold); color: var(--sgp-white); }
.ssgp-mat-tab.ssgp-mat-tab-active { background: var(--sgp-gold); color: var(--sgp-black); border-color: var(--sgp-gold); }
.ssgp-mat-tab.ssgp-mat-tab-active .ssgp-mat-tab-icon { color: var(--sgp-black); }

@media (max-width: 640px) {
	.ssgp-materials-preview { flex-direction: column; }
	.ssgp-mat-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
	.ssgp-mat-arrow.ssgp-mat-prev { right: 8px; }
	.ssgp-mat-arrow.ssgp-mat-next { left: 8px; }
	.ssgp-mat-arrow:hover { transform: translateY(-50%) scale(1.06); }
	.ssgp-materials-tabs { gap: 8px; }
	.ssgp-mat-tab { padding: 9px 14px; font-size: 12.5px; }
}
