.projects-hero-container {
    padding-bottom: 70px;
}

.projects-hero-container .projects-heading-title {
    margin-top: 20px;
}

.projects-hero-container .projects-heading-description {
    margin-top: 25px;
    line-height: normal;
    text-transform: initial;
    letter-spacing: normal;
    font-weight: 600;
}

.projects__text-highlight {
    margin-top: 70px;
    font-size: 40px;
    letter-spacing: -0.4px;
    line-height: normal;
    position: relative;
    z-index: 1;
}

.projects__text-highlight a {
    border-bottom: 7px solid;
    color: var(--clr-black);
    position: relative;
    display: inline-block;
}

.projects__text-highlight a span {
    position: relative;
}

.projects__text-highlight a:before {
    content: '';
    position: absolute;
    top: -3px;
    left: -10px;
    bottom: -16px;
    right: -10px;
    background-color: #FDF300;
    z-index: -1;
    transition: var(--def-transition);
}

.projects__text-highlight a:hover:before {
    background-color: rgb(var(--clr-pink));
}

.projects__cards {
    margin-top: 80px;
}

.projects__cards-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    border: 3px solid var(--clr-black);
    padding: 22px;
    display: flex;
    gap: 20px;
}

.project-card__image {
    max-width: 491px;
    width: 100%;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card__name {
    color: var(--clr-black);
    font-size: 36px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 30px;
    transition: var(--def-transition);
}

.project-card__name:hover {
    color: rgb(var(--clr-pink));
}

.project-card__description {
    color: var(--clr-black);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
}

.project-card__detail-wrapper {
    margin-top: auto;
}

.project-card__detail {
    color: var(--clr-black);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-bottom: 4px solid;
    display: inline-flex;
    transition: var(--def-transition);
}

.project-card__detail:hover {
    color: rgb(var(--clr-pink));
}

@media screen and (max-width: 1440px) {
    .projects-hero-container {
        padding-bottom: 60px;
    }

    .projects-hero-container .projects-heading-description {
        font-size: 24px;
    }

    .projects__text-highlight {
        margin-top: 60px;
        font-size: 34px;
        letter-spacing: -0.34px;
    }

    .projects__text-highlight a {
        border-width: 6px;
    }

    .projects__text-highlight a:before {
        top: 0;
        left: -5px;
        right: -5px;
    }

    .projects__cards {
        margin-top: 73px;
    }

    .project-card__image {
        max-width: 466px;
        width: 100%;
    }

    .project-card__name {
        font-size: 31px;
        font-weight: 700;
    }

    .project-card__detail {
        font-size: 17px;
    }
}

@media screen and (max-width: 1164px) {
    .projects-hero-container .projects-heading-title {
        margin-top: 16px;
    }

    .projects-hero-container {
        padding-bottom: 45px;
    }

    .projects-hero-container .projects-heading-description {
        margin-top: 16px;
        font-size: 18px;
    }

    .projects__text-highlight {
        margin-top: 45px;
        font-size: 27px;
        letter-spacing: -0.27px;
    }

    .projects__text-highlight a {
        border-width: 5px;
    }

    .projects__cards {
        margin-top: 53px;
    }

    .projects__cards-grid {
        gap: 24px;
    }

    .project-card {
        padding: 21px;
    }

    .project-card__image {
        max-width: 355px;
    }

    .project-card__name {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .project-card__description {
        font-size: 15px;
    }
}

@media screen and (max-width: 964px) {
    .projects-hero-container {
        padding-bottom: 40px;
    }

    .projects-hero-container .projects-heading-title {
        margin-top: 8px;
        font-size: 32px;
    }

    .projects-hero-container .projects-heading-description {
        line-height: 1.45;
    }

    .projects__text-highlight {
        margin-top: 40px;
        font-size: 18px;
        letter-spacing: initial;
        line-height: 1.45;
    }

    .projects__text-highlight a {
        border-width: 3px;
    }

    .projects__text-highlight a:before {
        top: 0;
        left: 0;
        right: 0;
        bottom: -3px;
    }

    .projects__cards {
        margin-top: 41px;
    }

    .project-card__image {
        max-width: 265px;
    }

    .project-card__name {
        font-size: 18px;
    }

    .project-card__detail {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .projects__cards-grid {
        gap: 16px;
    }

    .project-card {
        flex-direction: column;
        gap: 16px;
        padding: 13px;
    }

    .project-card__image {
        max-width: 100%;
    }
}
