support-detail.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. body.support-nav-light .site-header {
  2. --support-nav-text: #111827;
  3. }
  4. .support-detail-page {
  5. background: #fff;
  6. }
  7. .support-course-page {
  8. padding-top: calc(var(--xtu-header-height, 74px) + 52px);
  9. background: #f5f6f8;
  10. }
  11. .support-detail-page .support-container {
  12. width: min(1220px, calc(100% - 32px));
  13. margin: 0 auto;
  14. }
  15. /* Common fixed black sub navigation strip under the white site header.
  16. * Reuses the same visual language as download center / cooperation pages,
  17. * while keeping legacy page-specific class names for compatibility.
  18. */
  19. .xtu-subnav-page {
  20. padding-top: calc(var(--xtu-header-height, 74px) + 52px);
  21. }
  22. .xtu-subnav-strip {
  23. position: fixed;
  24. left: 0;
  25. right: 0;
  26. top: calc(var(--xtu-header-height, 74px) - 1px);
  27. z-index: 1029;
  28. background: #090b0f;
  29. color: #fff;
  30. border-top: 1px solid rgba(255, 255, 255, 0.06);
  31. border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  32. box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  33. }
  34. .xtu-subnav-strip-title {
  35. display: flex;
  36. align-items: center;
  37. min-height: 56px;
  38. color: #fff;
  39. font-size: 18px;
  40. line-height: 1.2;
  41. font-weight: 600;
  42. letter-spacing: .02em;
  43. white-space: nowrap;
  44. }
  45. .support-detail-hero {
  46. padding-top: 82px;
  47. background: linear-gradient(180deg, #f5f5f7 0%, #f6f6f8 100%);
  48. overflow: hidden;
  49. }
  50. .support-detail-page:not(.support-course-page) .support-detail-hero-inner {
  51. min-height: 180px;
  52. display: grid;
  53. grid-template-columns: minmax(0, 1fr) 196px;
  54. align-items: center;
  55. gap: 20px;
  56. padding: 30px 0;
  57. }
  58. .support-course-page .support-detail-hero-inner {
  59. min-height: 88px;
  60. display: flex;
  61. align-items: center;
  62. padding: 18px 0 16px;
  63. }
  64. .support-course-subnav-strip {
  65. top: calc(var(--xtu-header-height, 74px) - 1px);
  66. }
  67. .support-detail-page:not(.support-course-page) .support-detail-hero-copy h1 {
  68. margin: 0;
  69. color: #111827;
  70. font-size: 28px;
  71. line-height: 36px;
  72. letter-spacing: -0.03em;
  73. font-weight: 600;
  74. }
  75. .support-detail-page:not(.support-course-page) .support-detail-hero-copy p {
  76. margin: 2px 0 0;
  77. color: #4b5563;
  78. font-size: 28px;
  79. line-height: 36px;
  80. letter-spacing: -0.03em;
  81. font-weight: 400;
  82. }
  83. .support-detail-hero-tip {
  84. display: inline-block;
  85. margin-top: 8px;
  86. color: #9ca3af;
  87. font-size: 13px;
  88. line-height: 20px;
  89. }
  90. .support-detail-page:not(.support-course-page) .support-detail-hero-media {
  91. display: flex;
  92. align-items: flex-end;
  93. justify-content: flex-end;
  94. min-height: 100%;
  95. }
  96. .support-detail-page:not(.support-course-page) .support-detail-hero-media img {
  97. display: block;
  98. max-width: 100%;
  99. width: min(176px, 100%);
  100. max-height: 128px;
  101. height: auto;
  102. object-fit: contain;
  103. margin-left: auto;
  104. }
  105. .support-detail-breadcrumbs {
  106. display: flex;
  107. align-items: center;
  108. flex-wrap: nowrap;
  109. gap: 8px;
  110. min-width: 0;
  111. max-width: 100%;
  112. overflow-x: auto;
  113. overflow-y: hidden;
  114. white-space: nowrap;
  115. scrollbar-width: none;
  116. -ms-overflow-style: none;
  117. color: #8b919a;
  118. font-size: 15px;
  119. line-height: 24px;
  120. }
  121. .support-detail-breadcrumbs::-webkit-scrollbar {
  122. display: none;
  123. }
  124. .support-detail-breadcrumbs > * {
  125. flex: 0 0 auto;
  126. }
  127. .support-detail-breadcrumbs a,
  128. .support-detail-breadcrumbs span {
  129. white-space: nowrap;
  130. }
  131. .support-detail-breadcrumbs a {
  132. color: #8b919a;
  133. text-decoration: none;
  134. }
  135. .support-detail-breadcrumbs a:hover {
  136. color: #111827;
  137. }
  138. .support-detail-main {
  139. padding-top: 56px;
  140. padding-bottom: 20px;
  141. }
  142. .support-detail-tabs {
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. gap: 44px;
  147. border-bottom: 1px solid #e5e7eb;
  148. margin-bottom: 28px;
  149. }
  150. .support-detail-tab {
  151. position: relative;
  152. padding: 0 0 18px;
  153. border: 0;
  154. background: transparent;
  155. color: #8b919a;
  156. font-size: 16px;
  157. line-height: 24px;
  158. font-weight: 500;
  159. transition: color .2s ease;
  160. }
  161. .support-detail-tab::after {
  162. content: "";
  163. position: absolute;
  164. left: 0;
  165. right: 0;
  166. bottom: -1px;
  167. height: 2px;
  168. border-radius: 999px;
  169. background: transparent;
  170. transition: background .2s ease;
  171. }
  172. .support-detail-tab:hover {
  173. color: #111827;
  174. }
  175. .support-detail-tab.is-active {
  176. color: #111827;
  177. }
  178. .support-detail-tab.is-active::after {
  179. background: #111827;
  180. }
  181. .support-detail-panel {
  182. display: none;
  183. }
  184. .support-detail-panel.is-active {
  185. display: block;
  186. }
  187. .support-detail-subtabs {
  188. display: flex;
  189. justify-content: center;
  190. flex-wrap: wrap;
  191. gap: 16px;
  192. margin-bottom: 32px;
  193. }
  194. .support-detail-subtab {
  195. height: 40px;
  196. padding: 0 24px;
  197. border: 1px solid #111827;
  198. border-radius: 999px;
  199. background: #fff;
  200. color: #4b5563;
  201. font-size: 15px;
  202. line-height: 38px;
  203. font-weight: 500;
  204. transition: all .2s ease;
  205. }
  206. .support-detail-subtab:hover {
  207. color: #111827;
  208. }
  209. .support-detail-subtab.is-active {
  210. background: #111827;
  211. color: #fff;
  212. }
  213. .support-detail-subpanel {
  214. display: none;
  215. }
  216. .support-detail-subpanel.is-active {
  217. display: block;
  218. }
  219. .support-video-grid {
  220. display: grid;
  221. grid-template-columns: repeat(3, minmax(0, 1fr));
  222. gap: 18px;
  223. }
  224. .support-video-card {
  225. display: flex;
  226. flex-direction: column;
  227. overflow: hidden;
  228. border-radius: 18px;
  229. background: #f7f8fa;
  230. text-decoration: none;
  231. color: #111827;
  232. transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  233. }
  234. .support-video-card:hover {
  235. transform: translateY(-2px);
  236. background: #fafbfc;
  237. box-shadow: 0 12px 24px rgba(15,23,42,.05);
  238. }
  239. .support-video-card-media {
  240. position: relative;
  241. display: block;
  242. aspect-ratio: 16 / 9;
  243. overflow: hidden;
  244. background: #eef1f4;
  245. }
  246. .support-video-card-media img {
  247. position: absolute;
  248. inset: 0;
  249. width: 100%;
  250. height: 100%;
  251. object-fit: cover;
  252. display: block;
  253. }
  254. .support-video-card-title {
  255. display: block;
  256. padding: 18px 20px 22px;
  257. color: #111827;
  258. font-size: 18px;
  259. line-height: 1.5;
  260. font-weight: 500;
  261. }
  262. .support-article-list {
  263. display: grid;
  264. gap: 12px;
  265. }
  266. .support-article-item {
  267. display: flex;
  268. align-items: center;
  269. justify-content: space-between;
  270. gap: 12px;
  271. min-height: 56px;
  272. padding: 0 16px;
  273. border-radius: 12px;
  274. background: #f7f8fa;
  275. color: #1f2937;
  276. text-decoration: none;
  277. font-size: 14px;
  278. line-height: 1.5;
  279. transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  280. }
  281. .support-article-item:hover {
  282. transform: translateY(-1px);
  283. background: #fafbfc;
  284. box-shadow: 0 10px 20px rgba(15,23,42,.04);
  285. }
  286. .support-article-item i {
  287. color: #9aa1ab;
  288. font-size: 13px;
  289. flex: 0 0 auto;
  290. }
  291. .support-empty-state {
  292. padding: 20px 16px;
  293. text-align: center;
  294. color: #9aa1ab;
  295. font-size: 14px;
  296. line-height: 22px;
  297. }
  298. .support-more-wrap {
  299. display: flex;
  300. justify-content: center;
  301. margin-top: 22px;
  302. }
  303. .support-more-btn {
  304. height: 38px;
  305. padding: 0 22px;
  306. border: 1px solid #e7eaee;
  307. border-radius: 999px;
  308. background: #fff;
  309. color: #4b5563;
  310. font-size: 14px;
  311. line-height: 36px;
  312. font-weight: 500;
  313. transition: all .2s ease;
  314. }
  315. .support-more-btn:hover {
  316. color: #111827;
  317. border-color: #d8dde3;
  318. background: #fafbfc;
  319. }
  320. .support-collapsed-item {
  321. display: none !important;
  322. }
  323. .support-detail-contact {
  324. padding-bottom: 88px;
  325. }
  326. .support-detail-contact .support-contact-heading h2 {
  327. margin-top: 72px;
  328. }
  329. .support-course-page .support-course-tabs {
  330. justify-content: flex-start;
  331. gap: 0;
  332. }
  333. .support-course-page .support-course-article {
  334. max-width: 920px;
  335. margin: 0 auto;
  336. padding: 40px 44px;
  337. border-radius: 0;
  338. background: #fff;
  339. box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  340. border: 1px solid #eef1f4;
  341. }
  342. .support-course-page .support-course-header {
  343. margin-bottom: 28px;
  344. padding-bottom: 22px;
  345. border-bottom: 1px solid #e5e7eb;
  346. text-align: center;
  347. }
  348. .support-course-page .support-course-header h2 {
  349. margin: 0;
  350. color: #111827;
  351. font-size: 30px;
  352. line-height: 1.35;
  353. font-weight: 600;
  354. letter-spacing: -0.03em;
  355. }
  356. .support-course-page .support-course-content {
  357. color: #374151;
  358. font-size: 16px;
  359. line-height: 1.9;
  360. }
  361. .support-course-page .support-course-content > :first-child {
  362. margin-top: 0;
  363. }
  364. .support-course-page .support-course-content > :last-child {
  365. margin-bottom: 0;
  366. }
  367. .support-course-page .support-course-content h1,
  368. .support-course-page .support-course-content h2,
  369. .support-course-page .support-course-content h3,
  370. .support-course-page .support-course-content h4,
  371. .support-course-page .support-course-content h5,
  372. .support-course-page .support-course-content h6 {
  373. color: #111827;
  374. margin: 1.8em 0 0.7em;
  375. line-height: 1.4;
  376. font-weight: 600;
  377. }
  378. .support-course-page .support-course-content p,
  379. .support-course-page .support-course-content ul,
  380. .support-course-page .support-course-content ol,
  381. .support-course-page .support-course-content blockquote,
  382. .support-course-page .support-course-content table {
  383. margin: 0 0 1.15em;
  384. }
  385. .support-course-page .support-course-content ul,
  386. .support-course-page .support-course-content ol {
  387. padding-left: 1.4em;
  388. }
  389. .support-course-page .support-course-content a {
  390. color: var(--brand-blue);
  391. text-decoration: underline;
  392. text-underline-offset: 3px;
  393. }
  394. .support-course-page .support-course-content img {
  395. display: block;
  396. max-width: 100%;
  397. height: auto;
  398. margin: 1.5em auto;
  399. border-radius: 18px;
  400. }
  401. .support-course-page .support-course-content table {
  402. width: 100%;
  403. overflow: hidden;
  404. border-collapse: collapse;
  405. border-radius: 16px;
  406. box-shadow: inset 0 0 0 1px #e5e7eb;
  407. }
  408. .support-course-page .support-course-content th,
  409. .support-course-page .support-course-content td {
  410. padding: 12px 14px;
  411. border: 1px solid #e5e7eb;
  412. text-align: left;
  413. vertical-align: top;
  414. }
  415. .support-course-page .support-course-content blockquote {
  416. padding: 16px 20px;
  417. border-left: 4px solid var(--brand-blue);
  418. background: #f7f8fa;
  419. color: #4b5563;
  420. border-radius: 0 14px 14px 0;
  421. }
  422. @media (max-width: 767.98px) {
  423. .support-course-page .support-course-article {
  424. padding: 28px 20px;
  425. border-radius: 0;
  426. }
  427. .support-course-page .support-course-header {
  428. margin-bottom: 22px;
  429. padding-bottom: 18px;
  430. }
  431. .support-course-page .support-course-header h2 {
  432. font-size: 24px;
  433. }
  434. .support-course-page .support-course-content {
  435. font-size: 15px;
  436. line-height: 1.8;
  437. }
  438. }
  439. @media (max-width: 1199.98px) {
  440. .support-detail-page:not(.support-course-page) .support-detail-hero-inner {
  441. grid-template-columns: minmax(0, 1fr) 168px;
  442. min-height: 164px;
  443. gap: 18px;
  444. padding: 26px 0;
  445. }
  446. .support-detail-page:not(.support-course-page) .support-detail-hero-media img {
  447. width: min(150px, 100%);
  448. max-height: 112px;
  449. }
  450. .support-video-grid {
  451. grid-template-columns: repeat(2, minmax(0, 1fr));
  452. }
  453. }
  454. @media (max-width: 575.98px) {
  455. .support-course-page,
  456. .xtu-subnav-page {
  457. padding-top: calc(var(--xtu-header-height, 62px) + 48px);
  458. }
  459. .support-course-subnav-strip,
  460. .xtu-subnav-strip {
  461. top: calc(var(--xtu-header-height, 62px) - 1px);
  462. }
  463. .support-detail-hero {
  464. padding-top: 76px;
  465. }
  466. .support-detail-page:not(.support-course-page) .support-detail-hero-inner {
  467. grid-template-columns: 1fr 140px;
  468. min-height: 152px;
  469. padding: 22px 0;
  470. gap: 14px;
  471. }
  472. .support-detail-page:not(.support-course-page) .support-detail-hero-media {
  473. justify-content: flex-end;
  474. }
  475. .support-detail-page:not(.support-course-page) .support-detail-hero-media img {
  476. width: min(122px, 100%);
  477. max-height: 92px;
  478. }
  479. .support-detail-tabs {
  480. gap: 28px;
  481. flex-wrap: wrap;
  482. justify-content: flex-start;
  483. }
  484. .support-video-grid {
  485. grid-template-columns: repeat(2, minmax(0, 1fr));
  486. }
  487. }
  488. @media (max-width: 767.98px) {
  489. .support-detail-page .support-container {
  490. width: min(100% - 20px, 1220px);
  491. }
  492. .support-detail-hero {
  493. padding-top: 74px;
  494. }
  495. .support-detail-page:not(.support-course-page) .support-detail-hero-inner {
  496. grid-template-columns: 1fr 108px;
  497. min-height: 138px;
  498. gap: 10px;
  499. padding: 18px 0;
  500. }
  501. .support-detail-page:not(.support-course-page) .support-detail-hero-media {
  502. justify-content: flex-end;
  503. align-self: end;
  504. }
  505. .support-detail-page:not(.support-course-page) .support-detail-hero-media img {
  506. width: min(96px, 100%);
  507. max-height: 76px;
  508. }
  509. .support-detail-hero-copy h1 {
  510. font-size: 24px;
  511. line-height: 32px;
  512. font-weight: 600;
  513. }
  514. .support-detail-hero-copy p {
  515. font-size: 24px;
  516. line-height: 32px;
  517. font-weight: 400;
  518. }
  519. .support-detail-main {
  520. padding-top: 36px;
  521. }
  522. .support-detail-tabs {
  523. flex-wrap: nowrap;
  524. justify-content: flex-start;
  525. gap: 28px;
  526. margin: 0 -10px 22px;
  527. padding: 0 10px;
  528. overflow-x: auto;
  529. scrollbar-width: none;
  530. }
  531. .support-detail-tabs::-webkit-scrollbar {
  532. display: none;
  533. }
  534. .support-detail-tab {
  535. flex: 0 0 auto;
  536. padding-bottom: 14px;
  537. font-size: 15px;
  538. }
  539. .support-detail-subtabs {
  540. justify-content: flex-start;
  541. flex-wrap: nowrap;
  542. gap: 12px;
  543. margin: 0 -10px 22px;
  544. padding: 0 10px;
  545. overflow-x: auto;
  546. scrollbar-width: none;
  547. }
  548. .support-detail-subtabs::-webkit-scrollbar {
  549. display: none;
  550. }
  551. .support-detail-subtab {
  552. flex: 0 0 auto;
  553. height: 36px;
  554. padding: 0 18px;
  555. font-size: 14px;
  556. line-height: 34px;
  557. }
  558. .support-video-grid {
  559. grid-template-columns: 1fr;
  560. gap: 14px;
  561. }
  562. .support-video-card {
  563. border-radius: 16px;
  564. }
  565. .support-video-card-title {
  566. padding: 14px 16px 18px;
  567. font-size: 16px;
  568. }
  569. .support-article-list {
  570. gap: 14px;
  571. }
  572. .support-article-item {
  573. min-height: 52px;
  574. padding: 0 14px;
  575. border-radius: 12px;
  576. font-size: 14px;
  577. }
  578. .support-detail-contact {
  579. padding-bottom: 56px;
  580. }
  581. }