.badges-widget{
display: flex;
flex-direction: column;
gap: 48px;
}
.badges-widget.badges-type-table .badges-contenetor {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
gap: 24px;
} .badges-widget.badges-type-slider .badges-carousel {
overflow: hidden;
width: 100%;
}
.badges-widget.badges-type-slider .badges-contenetor {
display: flex;
width: fit-content;
flex-wrap: nowrap;
transition: transform 0.3s ease-out;
}
:where(.badges-widget.badges-type-slider .badges-contenetor) {
gap: 24px;
}
.badges-widget.badges-type-slider .badge {
flex-shrink: 0;
} .badges-widget.badges-type-slider .card-badge {
display: flex;
flex-direction: column;
width: fit-content;
flex-shrink: 0;
gap: 24px;
}
.badges-widget .titles {
display: flex;
flex-direction: column;
gap: 24px;
}
.badges-widget .heading{
color: var(--Gray-Gray-700, #DDD);
font-family: 'Urbanist', sans-serif;
font-size: 80px;
font-style: normal;
font-weight: 900;
line-height: 115%;
margin: 0;
}
.badges-widget .subtitle {
color: var(--Gray-Gray-600, #999);
font-family: 'Urbanist', sans-serif;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 130%;
margin: 0;
}
.badges-widget .badge {
position: relative;
display: flex;
background: var(--Gray-Gray-100, #161616);
border-radius: 12px;
align-items: center;
justify-content: center;
transition: 0.3s;
overflow: hidden;
} .badges-widget .badge.margins {
padding: 32px;
}
.badges-widget .badge,
.badges-widget.badges-type-table .badges-contenetor a{
width: calc((100% - calc(5 * 24px)) / 6);
height: auto;
aspect-ratio: 1 / 1;
}
.badges-widget.badges-type-table .badges-contenetor a .badge{
width: 100%;
height: 100%;
overflow: hidden;
} :where(.badges-widget.badges-type-slider .badge) {
width: 152px;
height: 152px;
overflow: hidden;
}
.badges-widget .badge:hover {
background: #242424;
transition: 0.3s;
}
.badges-widget .badge img {
max-height: -webkit-fill-available;
max-width: -webkit-fill-available;
}
.badges-widget .title-content-wrapper {
display: flex;
flex-direction: column;
gap: 8px;
}
.badges-widget .badge-title {
color: var(--Gray-Gray-700, #DDD);
font-family: 'Hanken Grotesk', sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 150%;
margin: 0;
}
.badges-widget .badge-content {
color: var(--Gray-Gray-500, #606060);
font-family: 'Hanken Grotesk', sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%;
margin: 0;
}
.badges-widget .badge-content p {
margin: 0;
}
.badges-widget .badge.soon img {
filter: grayscale(100%);
}
.badges-widget span.soon {
position: absolute;
right: 12px;
top: 12px;
background-color: var(--Default-Black, #000);
color: var(--Gray-Gray-700, #DDD);
font-family: 'Hanken Grotesk', sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 150%;
border-radius: 30px;
padding: 2px 8px;
}
@media (max-width: 1200px) {
.badges-widget.badges-type-table .badges-contenetor {
gap: 16px;
}
.badges-widget.badges-type-table .badge,
.badges-widget.badges-type-table .badges-contenetor a{
width: calc((100% - calc(3 * 24px)) / 4);
}
.badges-widget.badges-type-table .badges-contenetor a .badge{
width: 100%;
height: 100%;
} :where(.badges-widget.badges-type-slider .badge) {
width: 152px;
height: 152px;
}
}
@media (max-width: 768px) {
.badges-widget{
gap: 32px;
}
.badges-widget .titles {
gap: 16px;
}
.badges-widget .heading{
font-size: 32px;
font-family: 'Urbanist', sans-serif;
font-style: normal;
font-weight: 900;
line-height: 115%;
}
.badges-widget .subtitle {
font-size: 24px;
font-weight: 400;
line-height: 130%;
}
.badges-widget.badges-type-table .badge,
.badges-widget.badges-type-table .badges-contenetor a{
width: calc(50% - 8px);
} :where(.badges-widget.badges-type-slider .badge) {
width: 152px;
height: 152px;
}
:where(.badges-widget.badges-type-slider .badges-contenetor) {
gap: 16px;
}
} .badges-widget.badges-type-slider .view-more-link {
text-decoration: none;
width: fit-content;
}
.badges-widget.badges-type-slider p.view-more {
color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
font-family: 'Hanken Grotesk', sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: 120%;
margin: 0;
width: fit-content;
text-decoration: underline;
text-underline-offset: 10px;
transition: 0.3s;
cursor: pointer;
}
.badges-widget.badges-type-slider p.view-more:hover {
color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
transition: 0.3s;
}