.fcm-home {
    clear: both;
    padding-top: 15px;
}

.fcm-home-section {
    margin-top: 30px;
}

.fcm-home-section:first-child {
    margin-top: 0;
}

.fcm-home-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.fcm-home-section__head h2 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.fcm-home-section__head h2::before {
    content: "\e634";
    display: inline-block;
    width: 18px;
    margin-right: 10px;
    font-family: "iconfontent" !important;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    vertical-align: -1px;
}

.fcm-home-section__head p {
    margin: 8px 0 0;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

.fcm-home-section__head > a {
    flex: 0 0 auto;
    color: #999;
    font-size: 13px;
    line-height: 1;
}

.fcm-home-section__head > a:hover {
    color: #0ae;
}

.fcm-home-section__head > a .faent {
    margin-left: 5px;
    font-size: 12px;
}

.fcm-home-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 2%;
}

.fcm-home-product {
    min-width: 0;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
}

.fcm-home-product__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f3f5f6;
}

.fcm-home-product__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-in-out;
}

.fcm-home-product:hover .fcm-home-product__media img {
    transform: scale(1.04);
}

.fcm-home-product__media span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.fcm-home-product__body {
    padding: 12px;
}

.fcm-home-product h3 {
    overflow: hidden;
    height: 38px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 19px;
}

.fcm-home-product h3 a {
    color: #333;
}

.fcm-home-product h3 a:hover {
    color: #0ae;
}

.fcm-home-product p {
    overflow: hidden;
    margin: 7px 0 0;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fcm-home-guide-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.fcm-home-guide {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
}

.fcm-home-guide__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    background-color: #f3f5f6;
}

.fcm-home-guide__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fcm-home-guide__thumb span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.fcm-home-guide time {
    display: block;
    margin-bottom: 6px;
    color: #aaa;
    font-size: 12px;
}

.fcm-home-guide h3 {
    overflow: hidden;
    max-height: 44px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.fcm-home-guide h3 a {
    color: #333;
}

.fcm-home-guide h3 a:hover {
    color: #0ae;
}

.fcm-home-guide p {
    overflow: hidden;
    max-height: 40px;
    margin: 8px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .fcm-home-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fcm-home-guide-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fcm-home {
        margin-left: -15px;
        margin-right: -15px;
        padding-top: 7.5px;
        text-align: center;
    }

    .fcm-home-section {
        margin-top: 7.5px;
    }

    .fcm-home-section__head {
        display: block;
        margin-bottom: 0;
        padding: 0 15px;
    }

    .fcm-home-section__head h2 {
        position: relative;
        display: inline-block;
        margin: 15px auto 11.25px;
        font-size: 15px;
    }

    .fcm-home-section__head h2::before {
        display: none;
    }

    .fcm-home-section__head h2::after,
    .fcm-home-section__head h2::before {
        position: absolute;
        top: 50%;
        content: "";
        width: 30px;
        height: 1px;
        background-color: rgba(0, 0, 0, .12);
    }

    .fcm-home-section__head h2::before {
        display: block;
        left: -40px;
        margin-right: 0;
        font-family: inherit !important;
    }

    .fcm-home-section__head h2::after {
        right: -40px;
    }

    .fcm-home-section__head p,
    .fcm-home-section__head > a {
        display: none;
    }

    .fcm-home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px;
    }

    .fcm-home-product,
    .fcm-home-product__media,
    .fcm-home-guide,
    .fcm-home-guide__thumb {
        border-radius: 0;
    }

    .fcm-home-product__body {
        padding: 10px;
        text-align: left;
    }

    .fcm-home-product h3 {
        height: 34px;
        font-size: 12px;
        font-weight: bold;
        line-height: 17px;
    }

    .fcm-home-guide-list {
        gap: 2px;
        text-align: left;
    }

    .fcm-home-guide {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 15px;
    }

    .fcm-home-guide h3 {
        max-height: 38px;
        font-size: 14px;
    }

    .fcm-home-guide p {
        max-height: 38px;
        font-size: 12px;
    }
}
