f-two-grid {
    display: block;
    position: relative;
    overflow: hidden;
    --f-two-grid-image-width: clamp(820px, 50vw, 960px);
    --f-two-grid-image-gap: clamp(6px, 0.45vw, 10px);
    --f-two-grid-image-offset-y: clamp(120px, 14vw, 260px);
    --f-two-grid-card-padding: clamp(20px, 2.5vw, 48px);
    --f-two-grid-title-size: clamp(13px, 0.85vw, 16px);
    --f-two-grid-name-size: clamp(9px, 0.55vw, 10px);
    --f-two-grid-comment-width: clamp(820px, 70vw, 1080px);
    --f-two-grid-comment-offset-x: clamp(-400px, -30vw, -50px);
    --f-two-grid-comment-offset-y: clamp(-60px, -9vw, -40px);
    --f-two-grid-comment-padding: clamp(12px, 1.25vw, 24px);
    --f-two-grid-comment-bottom: clamp(18px, 2vw, 36px);
    --f-two-grid-comment-gap: clamp(10px, 0.85vw, 16px);
    --f-two-grid-comment-text-size: clamp(11px, 0.7vw, 13px);
    --f-two-grid-comment-text-line-height: clamp(17px, 1.15vw, 22px);
    --f-two-grid-comment-avatar-size: clamp(30px, 2.1vw, 40px);
}

f-two-grid:has(.f-two-grid-background) {
    min-height: var(--f-two-grid-height);
}

f-two-grid:has(.f-two-grid-background) > .f-two-grid-container {
    min-height: var(--f-two-grid-height);
}

f-two-grid .f-two-grid-background {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
}

f-two-grid .f-two-grid-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

f-two-grid .f-two-grid-navigation {
    display: none;
}

f-two-grid:has(.f-two-grid-background) .f-two-grid-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

f-two-grid .image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--f-two-grid-image-gap);
    width: var(--f-two-grid-image-width);
    margin-top: var(--f-two-grid-image-offset-y);
}

f-two-grid .image-grid .image-item {
    position: relative;
}

f-two-grid .image-grid .image-item-background {
    display: block;
    width: 100%;
    height: auto;
}

f-two-grid .image-grid .image-item-background-even {
    display: none;
}

f-two-grid .image-grid .image-item:nth-child(even) .image-item-background-odd {
    display: none;
}

f-two-grid .image-grid .image-item:nth-child(even) .image-item-background-even {
    display: block;
}

f-two-grid .image-grid .image-item-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--f-two-grid-card-padding);
    text-align: center;
}

f-two-grid .image-grid .image-item-content img{
    width: 100%;
    height: 100%;
}
f-two-grid .image-grid .image-item:nth-child(6n + 1),
f-two-grid .image-grid .image-item:nth-child(6n + 2),
f-two-grid .image-grid .image-item:nth-child(6n + 3) {
    transform: translateX(-25%);
}

f-two-grid .image-grid .image-item:nth-child(6n + 4),
f-two-grid .image-grid .image-item:nth-child(6n + 5),
f-two-grid .image-grid .image-item:nth-child(6n + 6) {
    transform: translateX(25%);
}


f-two-grid .item-title{
    font-family: var(--font-segoe-print);
    font-size: var(--f-two-grid-title-size);
    line-height: normal;
    color: #141414;
    transform: rotate(-3deg);
}

f-two-grid .item-name{
    font-family: var(--font-hongmeng-sans-sc);
    font-size: var(--f-two-grid-name-size);
    line-height: normal;
    color: #141414;
    transform: rotate(-3deg);
}

f-two-grid .comment-item-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

f-two-grid .comment-item {
    position: relative;
}

f-two-grid .comment-item-background {
    display: block;
    width: 100%;
    height: auto;
}

f-two-grid .comment-item-background-even {
    display: none;
}

f-two-grid .comment-item:nth-child(even) .comment-item-background-odd {
    display: none;
}

f-two-grid .comment-item:nth-child(even) .comment-item-background-even {
    display: block;
}

f-two-grid .comment-item-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: var(--f-two-grid-comment-padding);
}

f-two-grid .comment-item-star {
    display: block;
    flex: 0 0 auto;
}

f-two-grid .comment{
    position: relative;
    width: var(--f-two-grid-comment-width);
    max-width: calc(100vw - 32px);
    margin-top: var(--f-two-grid-comment-offset-y);
    margin-left: var(--f-two-grid-comment-offset-x);
}

f-two-grid .comment-background {
    display: block;
    width: 100%;
}

f-two-grid .comment-background img {
    display: block;
    width: 100%;
    height: auto;
}

f-two-grid .comment-grid {
    position: relative;
    isolation: isolate;
    padding: 10px;
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

f-two-grid .comment--has-background .comment-grid-content {
    position: absolute;
    bottom: var(--f-two-grid-comment-bottom);
    z-index: 1;
    max-width: 90%;
}

f-two-grid .comment-grid-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--f-two-grid-comment-gap);
}

f-two-grid .comment-item-textarea{
    font-family: var(--font-segoe-print);
    font-size: var(--f-two-grid-comment-text-size);
    line-height: var(--f-two-grid-comment-text-line-height);
    color: #141414;
    transform: rotate(-1deg);
}
f-two-grid .comment-item-name{
    font-family: var(--font-hongmeng-sans-sc);
    font-size: 10px;
    line-height: normal;
    color: #141414;
    transform: rotate(-1deg);
}

f-two-grid .comment-item-image{
    width: var(--f-two-grid-comment-avatar-size);
    height: var(--f-two-grid-comment-avatar-size);
    display: flex;
}
f-two-grid .comment-item-image img{
    width: 100%;
    height: 100%;
}

f-two-grid .comment-item-user{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

f-two-grid .f-two-grid-social__links{
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
@media (min-width: 960px) and (max-width: 1440px) {
    f-two-grid:has(.f-two-grid-background),
    f-two-grid:has(.f-two-grid-background) > .f-two-grid-container {
        min-height: var(--f-two-grid-height-responsive);
    }
}

@media (max-width: 959px) {
    f-two-grid .f-two-grid-slider {
        position: relative;
        width: 100%;
    }

    f-two-grid .comment-grid {
        position: relative;
    }

    f-two-grid .f-two-grid-navigation {
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        z-index: 3;
        display: flex;
        justify-content: space-between;
        padding: 0 12px;
        pointer-events: none;
        transform: translateY(-50%);
    }

    f-two-grid .f-two-grid-navigation__button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        color: #fff;
        cursor: pointer;
        background: rgba(246, 115, 27, .8);
        border: 1px solid #F6731B;
        border-radius: 50%;
        pointer-events: auto;
    }

    f-two-grid .f-two-grid-navigation__button svg {
        width: 22px;
        height: 22px;
    }

    f-two-grid {
        overflow: visible;
    }

    f-two-grid:has(.f-two-grid-background) {
        min-height: min(var(--f-two-grid-height-mobile), var(--f-two-grid-height-mobile-responsive));
    }

    f-two-grid:has(.f-two-grid-background) > .f-two-grid-container {
        min-height: min(var(--f-two-grid-height-mobile), var(--f-two-grid-height-mobile-responsive));
    }

    f-two-grid .image-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100vw - 32px) / 2.4);
        grid-auto-rows: 100%;
        align-items: stretch;
        width: 100%;
        max-width: none;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        transform: none;
        margin-top: 0;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        max-height: 280px;
    }

    f-two-grid .image-grid .image-item:nth-child(6n + 1),
    f-two-grid .image-grid .image-item:nth-child(6n + 2),
    f-two-grid .image-grid .image-item:nth-child(6n + 3),
    f-two-grid .image-grid .image-item:nth-child(6n + 4),
    f-two-grid .image-grid .image-item:nth-child(6n + 5),
    f-two-grid .image-grid .image-item:nth-child(6n + 6) {
        transform: none;
    }

    f-two-grid:has(.f-two-grid-background) .f-two-grid-container {
        overflow: visible;
        justify-content: flex-end;
        gap: 4vw;
    }

    f-two-grid .comment-grid-content {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100vw - 32px) / 2.4);
        grid-auto-rows: auto;
        align-items: stretch;
        width: 100%;
        max-width: none;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: visible;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
    }

    f-two-grid .image-grid .image-item {
        height: 100%;
        min-height: 0;
    }

    f-two-grid .image-grid .image-item-background {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: fill;
    }

    f-two-grid .comment-grid-content .comment-item {
        height: auto;
        min-height: 220px;
    }

    f-two-grid .comment-grid-content .comment-item-background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: fill;
    }

    f-two-grid .image-grid,
    f-two-grid .comment-grid-content {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    f-two-grid .image-grid::-webkit-scrollbar,
    f-two-grid .comment-grid-content::-webkit-scrollbar {
        display: none;
    }

    f-two-grid .comment {
        width: 100%;
        max-width: 100%;
        transform: none;
        margin-top: 0;
        margin-left: 0;
    }

    f-two-grid .comment-background,
    f-two-grid .comment-background img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

    f-two-grid .comment-background {
        position: relative;
        z-index: 0;
        flex: 0 0 100%;
    }

    f-two-grid .comment--has-background .comment-grid-content {
        z-index: 1;
    }

    f-two-grid .comment-item-wrapper {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        min-height: 220px;
        box-sizing: border-box;
        padding: 24px;
    }

    f-two-grid .comment-item-user {
        margin-top: 0;
    }

    f-two-grid .comment-item-textarea{
        font-size: 13px;
        line-height: 22px;
    }

    f-two-grid .comment-item-image{
        width: 40px;
        height: 40px;
    }
    f-two-grid .comment-grid{
        padding: 0;
        height: 320px;
    }
    f-two-grid .comment--has-background .comment-grid-content{
        max-width: 100%;
        height: auto;
    }
    f-two-grid .image-grid .image-item-content{
        padding: 20px;
    }

    f-two-grid .f-two-grid-social__links{
        margin-top: 20px;
        padding-inline: 20px;
    }
}

@media (max-width: 500px) {
    f-two-grid .image-grid,
    f-two-grid .comment-grid-content {
        grid-auto-columns: calc((100vw - 32px) / 1.4);
    }
}