.main-faq { background: var(--color-white); } .f-page { padding-top: calc(var(--header-h) + 2.75rem + 2.5rem); padding-bottom: 6.25rem; } .f-head { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(223, 224, 226); } .f-head__title { margin: 0; color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-48); font-weight: 400; line-height: var(--font-64); } .f-head__desc { margin: 0; color: var(--color-text-muted); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-24); } .f-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.75rem; margin-bottom: 2.75rem; } .f-tabs { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; min-width: 0; } .f-tabs__item { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 2rem; border: 0; border-radius: 6.25rem; color: rgba(46, 53, 58, 0.6); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-18); font-weight: 400; line-height: var(--font-24); cursor: pointer; transition: background 0.25s ease, color 0.25s ease; } .f-tabs__item.is-active { background: var(--color-primary); color: var(--color-white); } .f-list { display: flex; flex-direction: column; margin-bottom: 3.5rem; } .f-item { border-top: 1px solid rgb(223, 224, 226); transition: border-color var(--duration-fast) var(--easing); } .f-item__trigger { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; padding: 2rem 0; border: 0; background: transparent; text-align: left; cursor: pointer; } .f-item__q { display: flex; align-items: center; gap: 1rem; min-width: 0; } .f-item__dot { width: 0.5rem; height: 0.5rem; flex-shrink: 0; border-radius: 50%; background: rgb(175, 181, 185); } .f-item__title { color: var(--color-text); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-24); font-weight: 450; line-height: var(--font-32); } .f-item__icon { position: relative; width: 1.5rem; height: 1.5rem; flex-shrink: 0; } .f-item__icon::before, .f-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: rgb(175, 181, 185); transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease; } .f-item__icon::before { width: 1rem; height: 0.125rem; transform: translate(-50%, -50%); } .f-item__icon::after { width: 0.125rem; height: 1rem; transform: translate(-50%, -50%); } .f-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-normal) var(--easing); } .f-item__a { overflow: hidden; margin: 0; padding: 0 2rem; max-height: 0; opacity: 0; border-radius: 1.5rem; background: rgba(175, 181, 185, 0.15); color: rgba(46, 53, 58, 0.6); font-family: "MiSans VF", "PingFang SC", sans-serif; font-size: var(--font-20); font-weight: 400; line-height: var(--font-32); transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease, margin 0.3s ease; } .f-item.is-open { border-top-color: var(--color-primary); } .f-item.is-open .f-item__icon::before, .f-item.is-open .f-item__icon::after { background: var(--color-primary); } .f-item.is-open .f-item__icon::after { opacity: 0; transform: translate(-50%, -50%) scaleY(0); } .f-item.is-open .f-item__panel { grid-template-rows: 1fr; } .f-item.is-open .f-item__a { max-height: 30rem; margin-bottom: 2rem; padding: 2.5rem 2rem; opacity: 1; } @media (max-width: 1439px) { .f-page { padding-top: calc(var(--header-h) + 40Px); padding-bottom: 72Px; } .f-head { gap: 12Px; padding-bottom: 28Px; } .f-head__title { font-size: 36Px; line-height: 48Px; } .f-head__desc { font-size: 16Px; } .f-toolbar { flex-wrap: wrap; gap: 16Px; margin-top: 32Px; margin-bottom: 32Px; } .f-tabs { gap: 12Px; } .f-tabs__item { min-height: 44Px; padding: 10Px 24Px; font-size: 16Px; } .f-item__trigger { padding: 24Px 0; } .f-item__title { font-size: 20Px; line-height: 28Px; } .f-item__a { font-size: 16Px; line-height: 28Px; } .f-item.is-open .f-item__a { padding: 20Px 24Px; margin-bottom: 24Px; } } @media (max-width: 992px) { .f-toolbar { flex-direction: column; align-items: stretch; } } @media (max-width: 576px) { .f-page { padding-top: calc(var(--header-h) + 24Px); padding-bottom: 48Px; } .f-head { gap: 10Px; padding-bottom: 20Px; } .f-head__title { font-size: 28Px; line-height: 38Px; } .f-head__desc { font-size: 14Px; line-height: 22Px; } .f-toolbar { margin-top: 24Px; margin-bottom: 24Px; } .f-tabs { gap: 8Px; } .f-tabs__item { min-height: 40Px; padding: 8Px 16Px; font-size: 14Px; } .f-item__trigger { gap: 16Px; padding: 20Px 0; } .f-item__q { gap: 12Px; } .f-item__dot { width: 6Px; height: 6Px; } .f-item__title { font-size: 16Px; line-height: 24Px; } .f-item__a { font-size: 14Px; line-height: 24Px; border-radius: 16Px; } .f-item.is-open .f-item__a { padding: 16Px 18Px; margin-bottom: 20Px; } }