.skills-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding-left: var(--wp--custom--px);
    padding-right: var(--wp--custom--px);
    gap: var(--spacing-20);
}

.skill-item {
    min-height: 515px;
    background-size: cover !important;
    background-position: center !important;
}

.skills-block .skill-item:first-child {
    box-shadow: 3px 4px 12px 0 rgba(27, 28, 28, 0.20);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-content {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-20);
    background-color: var(--wp--preset--color--blue);
    border-radius: 0 0 20px 0;
    width: 70%;
    gap: 0;
    transition: gap .5s ease-in-out;
}

.skill-item:hover .skill-content {
    gap: var(--spacing-30);
}

.skill-text {
    font-size: var(--wp--preset--font-size--callout);
    font-family: var(--wp--preset--font-family--inter);
    color: var(--wp--preset--color--dark);
    font-weight: 400;
    letter-spacing: 0.9px;
}

.skill-item:hover .skill-content .text-collapse {
    display: flex;
    opacity: 1;
    max-height: 400px;
}

.text-collapse {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-10);
    flex-wrap: wrap;
    opacity: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s ease-in-out, opacity .45s ease-in-out;
}

.text-collapse-content {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-20);
}

@media not all and (min-width: 1537px) {}

@media not all and (min-width: 1281px) {
	.skill-item .skill-content{
		gap: var(--spacing-30) !important;
	}
}

@media not all and (min-width: 1025px) {
    .skills-block {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .skill-content {
        width: 50%;
        gap: var(--spacing-30);
    }

    .text-collapse {
        max-height: 400px;
        opacity: 1;
    }
}

@media not all and (min-width: 769px) {
    .skill-content {
        width: 70%;
    }
}

@media not all and (min-width: 641px) {
    .skill-content {
        width: 80%;
    }
}

@media not all and (min-width: 391px) {
    .skill-content {
        width: 100%;
    }

    .skills-block .skill-item:first-child {
        min-height: 300px !important;
    }
}