﻿#sec-7 {
    padding: 3.71rem 0;
}

#sec-7 .main-title {
    font-size: 1.28rem;
    font-weight: 700;
}

#sec-7 .item {
    width: 100%;
    margin-bottom: 1.7rem;
}

#sec-7 .item .img-box {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
}

#sec-7 .item .img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-5);
    -webkit-border-radius: var(--radius-5);
    -moz-border-radius: var(--radius-5);
    -ms-border-radius: var(--radius-5);
    -o-border-radius: var(--radius-5);
    z-index: 1;
}

#sec-7 .item .img-box .hover-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 2;
}

#sec-7 .item .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.21rem 0 0;
}

#sec-7 .item .content strong,
#sec-7 .item .content .title {
    height: 4.9rem;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

#sec-7 .item .content .link-btn {
    opacity: 0;
    color: var(--White);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#sec-7 .item:hover .img-box .main-img {
    opacity: 0;
}

#sec-7 .item:hover .img-box .hover-img {
    opacity: 1;
}

#sec-7 .item:hover .content .link-btn {
    opacity: 1;
}