diy-template-components 0.2.72 → 0.2.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -338,6 +338,42 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
338
338
  };
339
339
  };
340
340
 
341
+ const solidBaseColors = {
342
+ white: '#FFFFFF',
343
+ blue: '#1676F3',
344
+ tertiaryblue: '#F4F9FF',
345
+ orange: '#FF9000',
346
+ tertiaryorange: '#FFF6EA',
347
+ pink: '#F72585',
348
+ tertiarypink: '#FEE9F3',
349
+ green: '#8ECE19',
350
+ tertiarygreen: '#F4FAEB',
351
+ violet: '#6269C9',
352
+ tertiaryviolet: '#F4F6FF',
353
+ red: '#F41828',
354
+ tertiaryred: '#FFF2F3',
355
+ maroon: '#9B2226',
356
+ tertiarymaroon: '#FFF0F0',
357
+ blue2: '#00ADE7',
358
+ tertiaryblue2: '#F2FCFF'
359
+ };
360
+ const generateTheme = theme => {
361
+ const generatedTheme = {
362
+ AccentColor: solidBaseColors[theme],
363
+ background1: solidBaseColors?.white,
364
+ background2: solidBaseColors['tertiary' + theme],
365
+ background3: solidBaseColors['tertiary' + theme],
366
+ ctaColor: solidBaseColors[theme],
367
+ CtaTextColor: solidBaseColors?.white,
368
+ icon: solidBaseColors[theme],
369
+ iconBg: solidBaseColors['tertiary' + theme],
370
+ stripBg: solidBaseColors[theme],
371
+ stripText: solidBaseColors?.white
372
+ };
373
+ console.log('generatedTheme', generatedTheme, theme);
374
+ return generatedTheme;
375
+ };
376
+
341
377
  const buttonStyles = createUseStyles(theme => ({
342
378
  primary: {
343
379
  width: ({
@@ -350,13 +386,13 @@ const buttonStyles = createUseStyles(theme => ({
350
386
  textAlign: 'center',
351
387
  color: ({
352
388
  disabled
353
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
389
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : generateTheme('blue')?.CtaTextColor,
354
390
  background: ({
355
391
  disabled
356
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
392
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : generateTheme('blue')?.ctaColor,
357
393
  border: ({
358
394
  disabled
359
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
395
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${generateTheme('blue')?.ctaColor}`,
360
396
  textDecoration: 'none',
361
397
  cursor: ({
362
398
  disabled
@@ -1912,20 +1948,99 @@ const palettes = {
1912
1948
  rust: rustPalette
1913
1949
  };
1914
1950
 
1915
- function getTheme(colorTheme = 'blue', fontFamily = 'Arial') {
1951
+ const baseFactor = 8;
1952
+ const mobileMargin = {
1953
+ tiny: baseFactor * 2,
1954
+ small: baseFactor * 2,
1955
+ regular: baseFactor * 3,
1956
+ medium: baseFactor * 6
1957
+ };
1958
+ const margin = {
1959
+ tiny: baseFactor * 4,
1960
+ small: baseFactor * 4 * 2,
1961
+ regular: baseFactor * 4 * 4,
1962
+ medium: baseFactor * 4 * 6,
1963
+ large: baseFactor * 4 * 8,
1964
+ xLarge: baseFactor * 4 * 12
1965
+ };
1966
+ const mobilePadding = {
1967
+ tiny: baseFactor * 2,
1968
+ // 16px
1969
+ small: baseFactor * 2,
1970
+ //16px
1971
+ regular: baseFactor * 3,
1972
+ // 24px
1973
+ medium: baseFactor * 6 // 48px
1974
+ };
1975
+
1976
+ const padding = {
1977
+ minute: baseFactor * 2,
1978
+ // 16px
1979
+ tiny: baseFactor * 4,
1980
+ // 32px
1981
+ small: baseFactor * 4 * 2,
1982
+ // 64px
1983
+ xSmall: baseFactor * 3 * 3,
1984
+ // 72px
1985
+ regular: baseFactor * 4 * 3,
1986
+ // 96 px
1987
+ medium: baseFactor * 4 * 4,
1988
+ // 128 px
1989
+ large: baseFactor * 4 * 5,
1990
+ // 160px
1991
+ xLarge: baseFactor * 4 * 6 // 192px
1992
+ };
1993
+
1994
+ const fontSize = {
1995
+ h1: 72,
1996
+ h2: 56,
1997
+ h3: 40,
1998
+ h4: 32,
1999
+ h5: 24,
2000
+ h6: 20,
2001
+ subHead: 16,
2002
+ body: 14
2003
+ };
2004
+ const fontSizeMob = {
2005
+ h1: 40,
2006
+ h2: 20,
2007
+ h3: 32,
2008
+ h4: 16,
2009
+ h5: 16,
2010
+ h6: 14,
2011
+ subHead: 14,
2012
+ body: 14
2013
+ };
2014
+ const fontWeight = {
2015
+ light: 300,
2016
+ regular: 400,
2017
+ medium: 500,
2018
+ semiBold: 600,
2019
+ bold: 700,
2020
+ superBold: 900
2021
+ };
2022
+
2023
+ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
1916
2024
  const palette = palettes[colorTheme] || palettes['blue'];
1917
2025
  const typography = {
1918
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
2026
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2027
+ fontSize: isMobile ? fontSizeMob : fontSize,
2028
+ fontWeight
1919
2029
  };
1920
2030
  const shape = {
1921
2031
  borderRadius
1922
2032
  };
2033
+ const spacing = {
2034
+ padding: isMobile ? mobilePadding : padding,
2035
+ margin: isMobile ? mobileMargin : margin
2036
+ };
1923
2037
  return {
1924
2038
  palette,
1925
2039
  shape,
1926
2040
  typography,
1927
2041
  shadows: generateShadows(palette),
1928
- borders: generateBorders(palette)
2042
+ borders: generateBorders(palette),
2043
+ spacing
1929
2044
  };
1930
2045
  }
1931
2046
 
@@ -2155,7 +2270,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2155
2270
  partialBackground: {
2156
2271
  width: '61%',
2157
2272
  position: 'absolute',
2158
- backgroundColor: theme?.palette?.background?.primary,
2273
+ backgroundColor: generateTheme('blue')?.background2,
2159
2274
  height: '100%',
2160
2275
  top: '0',
2161
2276
  left: '0'
@@ -2264,7 +2379,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2264
2379
  '& .slick-dots': {
2265
2380
  bottom: ({
2266
2381
  buttonContainerClass
2267
- } = {}) => !!buttonContainerClass ? '20px' : 'unset',
2382
+ } = {}) => !!buttonContainerClass ? '10px' : 'unset',
2268
2383
  position: ({
2269
2384
  buttonContainerClass
2270
2385
  } = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
@@ -2274,7 +2389,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2274
2389
  textAlign: 'center',
2275
2390
  paddingBottom: '0',
2276
2391
  '& ul': {
2277
- margin: '0',
2392
+ margin: theme.spacing.margin.regular,
2278
2393
  padding: '0',
2279
2394
  '& li': {
2280
2395
  width: 'unset',
@@ -2298,7 +2413,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2298
2413
  display: 'flex',
2299
2414
  gap: '20px',
2300
2415
  justifyContent: 'center',
2301
- marginTop: '40px'
2416
+ marginTop: theme.spacing.margin.tiny
2302
2417
  },
2303
2418
  dots: {
2304
2419
  width: '4px',
@@ -2315,6 +2430,15 @@ const useCarouselStyles = createUseStyles(theme => ({
2315
2430
  background: ({
2316
2431
  inverted
2317
2432
  } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2433
+ },
2434
+ '@media screen and (max-width: 767px)': {
2435
+ sliderClass: {
2436
+ '& .slick-dots': {
2437
+ '& ul': {
2438
+ margin: '0px'
2439
+ }
2440
+ }
2441
+ }
2318
2442
  }
2319
2443
  }));
2320
2444
 
@@ -2341,7 +2465,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2341
2465
  height: sizeHandler,
2342
2466
  border: ({
2343
2467
  inverted
2344
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2468
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor}`,
2345
2469
  borderRadius: '50%',
2346
2470
  display: 'flex',
2347
2471
  justifyContent: 'center',
@@ -2363,7 +2487,7 @@ function ArrowButton(props) {
2363
2487
  }, /*#__PURE__*/React.createElement(Icon, {
2364
2488
  height: props.size === 'small' ? '12px' : '18px',
2365
2489
  name: "Angle",
2366
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2490
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor,
2367
2491
  inverted: true
2368
2492
  }));
2369
2493
  }
@@ -2557,7 +2681,9 @@ var index$l = /*#__PURE__*/Object.freeze({
2557
2681
  const useSectionStyles$7 = createUseStyles(theme => ({
2558
2682
  section: {
2559
2683
  width: '100%',
2560
- padding: '70px 0',
2684
+ padding: ({
2685
+ isMobile
2686
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2561
2687
  display: 'flex',
2562
2688
  justifyContent: 'center',
2563
2689
  flexDirection: 'column',
@@ -2566,14 +2692,15 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2566
2692
  '&, & *, & *:before, & *:after': {
2567
2693
  fontFamily: theme?.typography?.fontFamily,
2568
2694
  boxSizing: 'border-box'
2569
- },
2570
- '& h2,& h3': {
2571
- fontWeight: '500',
2572
- '& b,& strong': {
2573
- fontWeight: '700'
2574
- }
2575
2695
  }
2696
+ // '& h2,& h3': {
2697
+ // fontWeight: '500',
2698
+ // '& b,& strong': {
2699
+ // fontWeight: '700'
2700
+ // }
2701
+ // }
2576
2702
  },
2703
+
2577
2704
  sectionContainer: {
2578
2705
  margin: '0 auto',
2579
2706
  maxWidth: ({
@@ -2582,16 +2709,18 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2582
2709
  },
2583
2710
  subTitleHeading: {
2584
2711
  marginBottom: '8px',
2585
- fontSize: '16px',
2712
+ fontSize: theme.typography.fontSize.subHead,
2586
2713
  color: theme?.palette?.font?.tertiary,
2587
2714
  alignItems: 'center',
2588
2715
  textAlign: 'center',
2589
- wordBreak: 'break-word'
2716
+ wordBreak: 'break-word',
2717
+ textTransform: 'uppercase'
2590
2718
  },
2591
2719
  heading: {
2592
- margin: '0',
2593
- fontSize: '72px',
2720
+ marginBottom: theme.spacing.margin.tiny,
2721
+ fontSize: theme.typography.fontSize.h2,
2594
2722
  color: theme?.palette?.font?.default,
2723
+ fontWeight: theme.typography.fontWeight.bold,
2595
2724
  textAlign: 'center',
2596
2725
  wordBreak: 'break-word'
2597
2726
  },
@@ -2612,7 +2741,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2612
2741
  borderRadius: theme?.shape?.borderRadius?.regular,
2613
2742
  overflow: 'hidden',
2614
2743
  minHeight: 200,
2615
- margin: '16px 0',
2744
+ marginBottom: theme.spacing.margin.small,
2616
2745
  position: 'relative',
2617
2746
  '&:nth-child(2n)': {
2618
2747
  alignSelf: 'flex-end',
@@ -2620,7 +2749,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2620
2749
  right: '0'
2621
2750
  },
2622
2751
  '& $contentText': {
2623
- marginRight: '200px'
2752
+ marginRight: '170px'
2624
2753
  }
2625
2754
  },
2626
2755
  '&:nth-child(2n+1)': {
@@ -2629,7 +2758,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2629
2758
  left: '0'
2630
2759
  },
2631
2760
  '& $contentText': {
2632
- marginLeft: '200px'
2761
+ marginLeft: '170px'
2633
2762
  }
2634
2763
  },
2635
2764
  '&:nth-child(7n+1) $contentNumber': {
@@ -2663,42 +2792,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2663
2792
  display: 'flex',
2664
2793
  alignItems: 'center',
2665
2794
  justifyContent: 'center',
2795
+ padding: '48px',
2666
2796
  height: '100%',
2667
2797
  color: theme?.palette?.font?.default,
2668
- width: '200px',
2669
2798
  wordBreak: 'break-word'
2670
2799
  },
2671
2800
  contentText: {
2672
- padding: '20px 0'
2801
+ padding: theme.spacing.padding.tiny
2673
2802
  },
2674
2803
  contentHeading: {
2675
2804
  fontStyle: 'normal',
2676
- fontSize: '24px',
2805
+ fontSize: theme.typography.fontSize.h5,
2806
+ fontWeight: theme.typography.fontWeight.bold,
2677
2807
  lineHeight: '32px',
2808
+ marginBottom: '8px',
2678
2809
  color: theme?.palette?.font?.default,
2679
- margin: '0 48px',
2680
2810
  wordBreak: 'break-word'
2681
2811
  },
2682
2812
  contentPara: {
2683
2813
  fontStyle: 'normal',
2684
- fontSize: '16px',
2814
+ fontSize: theme.typography.fontSize.subHead,
2685
2815
  lineHeight: '32px',
2686
2816
  color: theme?.palette?.font?.primary,
2687
- margin: '20px 48px 0 48px',
2688
2817
  wordBreak: 'break-word'
2689
2818
  },
2690
2819
  '@media screen and (max-width: 767px)': {
2691
- section: {
2692
- padding: '70px 20px'
2693
- },
2694
- textContainer: {
2695
- padding: '20px',
2696
- width: '100%'
2697
- },
2698
- heading: {
2699
- fontSize: '24px',
2700
- margin: '4px 0 12px 0'
2701
- },
2702
2820
  contentContainer: {
2703
2821
  width: '100%'
2704
2822
  },
@@ -2706,36 +2824,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2706
2824
  display: 'flex',
2707
2825
  flexDirection: 'column',
2708
2826
  borderRadius: theme.shape.borderRadius.large,
2709
- margin: '20px 0 10px 0',
2710
2827
  width: '100%',
2711
2828
  height: 'auto',
2712
2829
  '&:nth-child(2n)': {
2713
2830
  marginLeft: '0',
2714
2831
  '& $contentText': {
2715
2832
  marginRight: '0',
2716
- alignSelf: 'flex-start',
2717
- padding: '0'
2833
+ alignSelf: 'flex-start'
2834
+ // padding: '0'
2718
2835
  }
2719
2836
  },
2837
+
2720
2838
  '&:nth-child(2n+1)': {
2721
2839
  marginRight: '0',
2722
2840
  '& $contentText': {
2723
2841
  marginLeft: '0',
2724
- alignSelf: 'flex-start',
2725
- padding: '0'
2842
+ alignSelf: 'flex-start'
2843
+ // padding: '0'
2726
2844
  }
2727
2845
  }
2728
2846
  },
2847
+
2729
2848
  contentNumber: {
2730
2849
  width: '100%',
2731
- padding: '40px 0',
2850
+ padding: '24px',
2732
2851
  position: 'static'
2733
- },
2734
- contentHeading: {
2735
- margin: '20px 20px 0 20px'
2736
- },
2737
- contentPara: {
2738
- margin: '16px 20px 24px 20px'
2739
2852
  }
2740
2853
  }
2741
2854
  }));
@@ -2746,10 +2859,12 @@ function List({
2746
2859
  const {
2747
2860
  layout: {
2748
2861
  containerWidth
2749
- }
2862
+ },
2863
+ isMobile
2750
2864
  } = useContext(PageContext);
2751
2865
  const classes = useSectionStyles$7({
2752
- containerWidth
2866
+ containerWidth,
2867
+ isMobile
2753
2868
  });
2754
2869
  const [nodeData] = sectionData.components;
2755
2870
  const getNumber = val => {
@@ -2766,7 +2881,7 @@ function List({
2766
2881
  dangerouslySetInnerHTML: {
2767
2882
  __html: nodeData.cardHeading.metadata.value
2768
2883
  }
2769
- })), /*#__PURE__*/React.createElement("h2", {
2884
+ })), /*#__PURE__*/React.createElement("div", {
2770
2885
  className: classes.heading
2771
2886
  }, /*#__PURE__*/React.createElement("span", {
2772
2887
  ref: nodeData?.title?.refSetter,
@@ -2783,13 +2898,13 @@ function List({
2783
2898
  className: classes.contentNumber
2784
2899
  }, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
2785
2900
  className: classes.contentText
2786
- }, /*#__PURE__*/React.createElement("h3", {
2901
+ }, /*#__PURE__*/React.createElement("div", {
2787
2902
  ref: dt?.contentHeading?.refSetter,
2788
2903
  className: classes.contentHeading,
2789
2904
  dangerouslySetInnerHTML: {
2790
2905
  __html: dt.contentHeading.metadata.value
2791
2906
  }
2792
- }), /*#__PURE__*/React.createElement("p", {
2907
+ }), /*#__PURE__*/React.createElement("div", {
2793
2908
  ref: dt?.contentPara?.refSetter,
2794
2909
  className: classes.contentPara,
2795
2910
  dangerouslySetInnerHTML: {
@@ -2813,16 +2928,16 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2813
2928
  '&, & *, & *:before, & *:after': {
2814
2929
  fontFamily: theme?.typography?.fontFamily,
2815
2930
  boxSizing: 'border-box'
2816
- },
2817
- '& h2,& h3': {
2818
- fontWeight: '500',
2819
- '& b,& strong': {
2820
- fontWeight: '700'
2821
- }
2822
2931
  }
2932
+ // '& h2,& h3': {
2933
+ // fontWeight: '500',
2934
+ // '& b,& strong': {
2935
+ // fontWeight: '700'
2936
+ // }
2937
+ // }
2823
2938
  },
2939
+
2824
2940
  sectionContainer: {
2825
- margin: '0 auto',
2826
2941
  width: '100%',
2827
2942
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
2828
2943
  position: 'absolute',
@@ -2836,6 +2951,9 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2836
2951
  position: 'absolute',
2837
2952
  width: '100%'
2838
2953
  },
2954
+ buttonClass: {
2955
+ margin: `${theme.spacing.margin.tiny}px 0px`
2956
+ },
2839
2957
  contentContainer: {
2840
2958
  // padding: '100px 0',
2841
2959
  // height: '100%',
@@ -2871,27 +2989,28 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2871
2989
  height: '100%'
2872
2990
  },
2873
2991
  textContainer: {
2874
- padding: '100px 0',
2875
- margin: '0 auto',
2876
- width: '80%'
2992
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2993
+ // margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
2994
+ width: '100%'
2877
2995
  },
2878
2996
  subTitleHeading: {
2879
2997
  color: theme?.palette?.font?.invertedDefault,
2880
2998
  marginBottom: '8px',
2881
- fontSize: '16px',
2999
+ fontSize: theme.typography.fontSize.subHead,
2882
3000
  wordBreak: 'break-word'
2883
3001
  },
2884
3002
  heading: {
2885
3003
  margin: '0',
2886
- fontSize: '62px',
3004
+ fontSize: theme.typography.fontSize.h1,
2887
3005
  color: theme?.palette?.font?.invertedDefault,
2888
3006
  wordBreak: 'break-word'
2889
3007
  },
2890
3008
  description: {
2891
- margin: '40px 0',
3009
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2892
3010
  color: theme?.palette?.font?.invertedDefault,
2893
3011
  lineHeight: '24px',
2894
- wordBreak: 'break-word'
3012
+ wordBreak: 'break-word',
3013
+ fontSize: theme.typography.fontSize.subHead
2895
3014
  },
2896
3015
  sideBannerImage: {
2897
3016
  width: '100%',
@@ -2909,22 +3028,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2909
3028
  justifyContent: 'center',
2910
3029
  padding: '0px'
2911
3030
  },
2912
- textContainer: {
2913
- padding: '20px 20px',
2914
- height: '100%',
2915
- width: '100%'
2916
- // backgroundColor: theme?.palette?.background?.primary
2917
- },
2918
-
3031
+ // textContainer: {
3032
+ // padding: '20px 20px',
3033
+ // height: '100%',
3034
+ // width: '100%'
3035
+ // // backgroundColor: theme?.palette?.background?.primary
3036
+ // },
2919
3037
  subTitleHeading: {
2920
3038
  color: theme?.palette?.font?.tertiary
2921
3039
  },
2922
3040
  heading: {
2923
- fontSize: '40px',
2924
3041
  color: theme?.palette?.font?.default
2925
3042
  },
2926
3043
  description: {
2927
- margin: '16px 0',
2928
3044
  color: theme?.palette?.font?.primary
2929
3045
  },
2930
3046
  centerBgImageContainer: {
@@ -2991,12 +3107,14 @@ const Section$3 = ({
2991
3107
  dangerouslySetInnerHTML: {
2992
3108
  __html: nodeData.description.metadata.value
2993
3109
  }
2994
- }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
3110
+ }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
3111
+ className: classes.buttonClass
3112
+ }, /*#__PURE__*/React.createElement(Button, {
2995
3113
  ref: nodeData?.cta?.refSetter,
2996
3114
  data: nodeData.cta.metadata,
2997
3115
  type: nodeData?.cta?.metadata?.type,
2998
3116
  size: isMobile ? 'small' : 'medium'
2999
- })) : null), /*#__PURE__*/React.createElement("div", {
3117
+ }))) : null), /*#__PURE__*/React.createElement("div", {
3000
3118
  className: classes?.centerBgImageContainer
3001
3119
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3002
3120
  src: nodeData.image.metadata.value,
@@ -3036,17 +3154,18 @@ var index$j = /*#__PURE__*/Object.freeze({
3036
3154
  });
3037
3155
 
3038
3156
  const useSectionStyles$5 = createUseStyles(theme => {
3157
+ console.log('sdkjfndkjsnfk', theme?.spacing?.padding?.large);
3039
3158
  return {
3040
3159
  section: {
3041
- paddingBottom: '70px',
3160
+ paddingBottom: `${theme?.spacing?.padding?.regular}px`,
3042
3161
  '&, & *, & *:before, & *:after': {
3043
3162
  fontFamily: theme?.typography?.fontFamily,
3044
3163
  boxSizing: 'border-box'
3045
3164
  },
3046
3165
  '& h2,& h3': {
3047
- fontWeight: '500',
3166
+ fontWeight: `${theme?.typography?.fontWeight?.medium}`,
3048
3167
  '& b,& strong': {
3049
- fontWeight: '700'
3168
+ fontWeight: `${theme?.typography?.fontWeight?.bold}`
3050
3169
  }
3051
3170
  }
3052
3171
  },
@@ -3060,7 +3179,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3060
3179
  display: 'flex',
3061
3180
  alignItems: 'center',
3062
3181
  justifyContent: 'center',
3063
- padding: '140px 70px 0'
3182
+ padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3064
3183
  },
3065
3184
  imageContainerDiv: {
3066
3185
  width: '50%',
@@ -3095,20 +3214,20 @@ const useSectionStyles$5 = createUseStyles(theme => {
3095
3214
  objectFit: 'cover'
3096
3215
  },
3097
3216
  textContainer: {
3098
- padding: '0 60px',
3217
+ padding: `0 ${theme?.spacing?.padding?.xSmall}px`,
3099
3218
  textAlign: 'left',
3100
3219
  margin: '0 auto',
3101
3220
  width: '50%'
3102
3221
  },
3103
3222
  subTitleHeading: {
3104
3223
  marginBottom: '8px',
3105
- fontSize: '16px',
3224
+ fontSize: `${theme?.typography?.fontSize?.subHead}px`,
3106
3225
  color: theme?.palette?.font?.tertiary,
3107
3226
  wordBreak: 'break-word'
3108
3227
  },
3109
3228
  heading: {
3110
3229
  margin: '0',
3111
- fontSize: '72px',
3230
+ fontSize: `${theme?.typography?.fontSize?.h1}px`,
3112
3231
  color: theme?.palette?.font?.default,
3113
3232
  wordBreak: 'break-word'
3114
3233
  },
@@ -3123,9 +3242,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
3123
3242
  padding: '0 0 40px'
3124
3243
  },
3125
3244
  centerData: {
3126
- flexDirection: 'column',
3245
+ flexDirection: 'column-reverse',
3127
3246
  width: '100%',
3128
- padding: '0'
3247
+ padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3129
3248
  },
3130
3249
  imageContainer: {
3131
3250
  height: 'unset !important',
@@ -3145,11 +3264,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3145
3264
  height: 'unset !important'
3146
3265
  },
3147
3266
  textContainer: {
3148
- padding: '20px 20px',
3267
+ padding: `${theme?.spacing?.padding?.regular}px 0px`,
3149
3268
  width: 'unset'
3150
3269
  },
3151
3270
  heading: {
3152
- fontSize: '40px'
3271
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3153
3272
  },
3154
3273
  description: {
3155
3274
  margin: '16px 0'
@@ -3183,8 +3302,6 @@ function Section$2({
3183
3302
  ref: nodeData?.image?.refSetter,
3184
3303
  className: classes.sideBannerImage,
3185
3304
  sectionIndex: sectionIndex
3186
- }), /*#__PURE__*/React.createElement("div", {
3187
- className: classes.imageBorder
3188
3305
  }))), /*#__PURE__*/React.createElement("div", {
3189
3306
  className: classes.textContainer
3190
3307
  }, /*#__PURE__*/React.createElement("div", {
@@ -3255,18 +3372,21 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3255
3372
  width: '100%',
3256
3373
  alignItems: 'center',
3257
3374
  justifyContent: 'center',
3258
- padding: '60px 70px',
3375
+ padding: ({
3376
+ isMobile
3377
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3259
3378
  '&, & *, & *:before, & *:after': {
3260
3379
  fontFamily: theme?.typography?.fontFamily,
3261
3380
  boxSizing: 'border-box'
3262
- },
3263
- '& h2,& h3': {
3264
- fontWeight: '500',
3265
- '& b,& strong': {
3266
- fontWeight: '700'
3267
- }
3268
3381
  }
3382
+ // '& h2,& h3': {
3383
+ // fontWeight: '500',
3384
+ // '& b,& strong': {
3385
+ // fontWeight: '700'
3386
+ // }
3387
+ // }
3269
3388
  },
3389
+
3270
3390
  newsLetterContainer: {
3271
3391
  margin: '0 auto',
3272
3392
  maxWidth: ({
@@ -3285,15 +3405,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3285
3405
  backgroundColor: theme?.palette?.background?.default,
3286
3406
  boxShadow: theme?.shadows?.secondary,
3287
3407
  borderRadius: theme?.shape?.borderRadius?.regular,
3288
- padding: '40px 80px',
3408
+ padding: theme.spacing.padding.small,
3289
3409
  position: 'relative'
3290
3410
  },
3291
3411
  cardHeading: {
3292
- fontSize: '56px',
3412
+ fontSize: theme.typography.fontSize.h2,
3413
+ fontWeight: theme.typography.fontWeight.bold,
3293
3414
  lineHeight: '71px',
3294
3415
  letterSpacing: '-3px',
3295
3416
  color: theme?.palette?.font?.secondary,
3296
- margin: '0 0 32px 0',
3417
+ marginBottom: theme.spacing.padding.tiny,
3297
3418
  wordBreak: 'break-word'
3298
3419
  },
3299
3420
  contentContainer: {
@@ -3302,10 +3423,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3302
3423
  justifyContent: 'space-between'
3303
3424
  },
3304
3425
  title: {
3305
- fontSize: '20px',
3426
+ fontSize: theme.typography.fontSize.h6,
3306
3427
  lineHeight: '32px',
3307
3428
  color: theme?.palette?.font?.primary,
3308
- margin: '0 80px 0 0',
3309
3429
  width: 'calc(50% - 80px)',
3310
3430
  wordBreak: 'break-word'
3311
3431
  },
@@ -3343,42 +3463,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3343
3463
  section: {
3344
3464
  display: 'flex',
3345
3465
  flexDirection: 'column',
3346
- alignItems: 'center',
3347
- padding: '30px 20px'
3466
+ alignItems: 'center'
3348
3467
  },
3349
3468
  sectionContainer: {
3350
- padding: '30px 20px',
3351
- borderRadius: theme?.shape?.borderRadius?.large
3469
+ borderRadius: theme?.shape?.borderRadius?.large,
3470
+ textAlign: 'center',
3471
+ display: 'flex',
3472
+ alignItems: 'center',
3473
+ flexDirection: 'column'
3352
3474
  },
3353
3475
  partialBackground: {
3354
3476
  height: '150px'
3355
3477
  },
3356
3478
  title: {
3357
3479
  width: '100%',
3358
- margin: '0',
3359
- fontSize: '20px',
3360
- lineHeight: '32px'
3480
+ lineHeight: '22px',
3481
+ margin: '0px 0px 16px 0px'
3361
3482
  },
3362
3483
  cardHeading: {
3363
- fontSize: '24px',
3364
3484
  lineHeight: '32px',
3365
3485
  letterSpacing: '-1px',
3366
- marginBottom: '20px'
3486
+ width: '50%',
3487
+ lineHeight: 'normal'
3367
3488
  },
3368
3489
  contentContainer: {
3369
3490
  display: 'flex',
3370
3491
  flexDirection: 'column',
3371
- justifyContent: 'flex-start'
3492
+ justifyContent: 'flex-start',
3493
+ textAlign: 'center'
3372
3494
  },
3373
3495
  inputContainer: {
3374
3496
  display: 'block',
3375
3497
  width: '100%',
3376
- margin: '24px 16px 0 16px',
3377
3498
  position: 'initial'
3378
3499
  },
3379
3500
  btnContainer: {
3380
3501
  right: 'unset',
3381
- position: 'initial'
3502
+ position: 'initial',
3503
+ marginTop: '4px'
3382
3504
  }
3383
3505
  }
3384
3506
  }));
@@ -3523,7 +3645,8 @@ function SubscribeToNewsletter({
3523
3645
  } = useContext(PageContext);
3524
3646
  const [nodeData] = sectionData.components;
3525
3647
  const classes = useSectionStyles$4({
3526
- containerWidth
3648
+ containerWidth,
3649
+ isMobile
3527
3650
  });
3528
3651
  let formInitialValue = nodeData?.inputField?.metadata?.value;
3529
3652
  const [inputVal, setInputVal] = useState(formInitialValue);
@@ -3569,7 +3692,7 @@ function SubscribeToNewsletter({
3569
3692
  className: classes.partialBackground
3570
3693
  }), /*#__PURE__*/React.createElement("div", {
3571
3694
  className: classes.sectionContainer
3572
- }, /*#__PURE__*/React.createElement("h2", {
3695
+ }, /*#__PURE__*/React.createElement("div", {
3573
3696
  className: classes.cardHeading
3574
3697
  }, /*#__PURE__*/React.createElement("span", {
3575
3698
  ref: nodeData?.cardHeading?.refSetter,
@@ -4105,20 +4228,23 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4105
4228
  videoTestimonialSuperContainer: {
4106
4229
  display: 'flex',
4107
4230
  justifyContent: 'center',
4108
- padding: '70px',
4231
+ padding: ({
4232
+ isMobile
4233
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4109
4234
  '&, & *, & *:before, & *:after': {
4110
- fontFamily: theme?.typography?.fontFamily,
4111
- boxSizing: 'border-box'
4112
- },
4113
- '& h2,& h3': {
4114
- fontWeight: '500',
4115
- '& b,& strong': {
4116
- fontWeight: '700'
4117
- }
4235
+ fontFamily: theme?.typography?.fontFamily
4236
+ // boxSizing: 'border-box'
4118
4237
  }
4238
+ // '& h2,& h3': {
4239
+ // fontWeight: '500',
4240
+ // '& b,& strong': {
4241
+ // fontWeight: '700'
4242
+ // }
4243
+ // }
4119
4244
  },
4245
+
4120
4246
  sectionContainer: {
4121
- margin: '0 auto',
4247
+ // margin: '0 auto',
4122
4248
  maxWidth: ({
4123
4249
  containerWidth
4124
4250
  } = {}) => containerWidth
@@ -4129,29 +4255,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4129
4255
  fontFamily: theme?.typography?.fontFamily
4130
4256
  },
4131
4257
  videoTestimonialHeading: {
4132
- fontSize: '16px',
4258
+ fontSize: theme.typography.fontSize.subHead,
4133
4259
  lineHeight: '20px',
4134
4260
  letterSpacing: '3px',
4135
4261
  textTransform: 'uppercase',
4136
4262
  color: theme.palette.font.tertiary,
4137
- wordBreak: 'break-word'
4263
+ wordBreak: 'break-word',
4264
+ marginBottom: '8px'
4138
4265
  },
4139
4266
  videoTestimonialTitle: {
4140
- fontSize: '56px',
4141
- lineHeight: '71px',
4267
+ fontSize: theme.typography.fontSize.h1,
4268
+ // lineHeight: '71px',
4142
4269
  letterSpacing: '-3px',
4143
- margin: '0',
4270
+ fontWeight: theme.typography.fontWeight.bold,
4271
+ marginBottom: theme.spacing.margin.tiny,
4144
4272
  color: theme.palette.font.default,
4145
4273
  wordBreak: 'break-word'
4146
4274
  },
4147
- videoCarouselContainer: {
4148
- marginTop: '16px'
4149
- },
4150
4275
  videoCarousel: {
4151
4276
  display: 'flex',
4152
4277
  alignItems: 'center',
4153
4278
  justifyContent: 'flex-start',
4154
- gap: '60px'
4279
+ gap: theme.spacing.margin.small
4155
4280
  },
4156
4281
  iframeSuperContainer: {
4157
4282
  height: '100%',
@@ -4173,57 +4298,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4173
4298
  videoDetails: {
4174
4299
  width: '100%',
4175
4300
  display: 'flex',
4301
+ gap: '24px',
4176
4302
  flexDirection: 'column',
4177
4303
  alignItems: 'flex-start'
4178
4304
  },
4179
4305
  videoDetailsHeading: {
4180
- fontSize: '40px',
4306
+ fontSize: theme.typography.fontSize.h3,
4181
4307
  lineHeight: '48px',
4182
4308
  margin: '0',
4183
4309
  letterSpacing: '-1px',
4184
4310
  wordBreak: 'break-word',
4185
- color: theme.palette.font.default
4311
+ color: theme.palette.font.default,
4312
+ fontWeight: theme.typography.fontWeight.bold
4186
4313
  },
4187
4314
  videoDetailsContent: {
4188
- fontSize: '16px',
4315
+ fontSize: theme.typography.fontSize.subHead,
4189
4316
  lineHeight: '24px',
4190
4317
  wordBreak: 'break-word',
4191
- color: theme.palette.font.primary,
4192
- margin: '10px 0 20px'
4318
+ color: theme.palette.font.primary
4193
4319
  },
4194
4320
  videoDetailsSubContent: {
4195
- fontSize: '16px',
4321
+ fontSize: theme.typography.fontSize.subHead,
4196
4322
  lineHeight: '24px',
4197
4323
  margin: '0',
4198
4324
  color: theme.palette.font.primary,
4199
4325
  wordBreak: 'break-word'
4200
4326
  },
4201
4327
  '@media (max-width: 767px)': {
4202
- videoTestimonialSuperContainer: {
4203
- padding: '70px 10px 60px 20px'
4204
- },
4205
4328
  videoCarousel: {
4206
- flexDirection: 'column',
4207
- gap: '20px'
4329
+ flexDirection: 'column'
4208
4330
  },
4209
4331
  videoCarouselContainer: {
4210
- height: 'max-content',
4211
- paddingRight: '10px'
4332
+ height: 'max-content'
4212
4333
  },
4213
4334
  videoDetails: {
4214
- width: '100%'
4335
+ width: '100%',
4336
+ gap: '16px'
4215
4337
  },
4216
4338
  videoDetailsHeading: {
4217
- fontSize: '16px',
4218
4339
  lineHeight: '20px'
4219
4340
  },
4220
4341
  videoTestimonialTitle: {
4221
- fontSize: '24px',
4222
4342
  lineHeight: '36px',
4223
4343
  letterSpacing: '-1px'
4224
- },
4225
- videoDetailsContent: {
4226
- marginTop: '4px'
4227
4344
  }
4228
4345
  }
4229
4346
  };
@@ -4249,19 +4366,19 @@ const SingleVideoSlide$2 = props => {
4249
4366
  sectionIndex: props?.sectionIndex
4250
4367
  }))), /*#__PURE__*/React.createElement("div", {
4251
4368
  className: classes.videoDetails
4252
- }, /*#__PURE__*/React.createElement("h3", {
4369
+ }, /*#__PURE__*/React.createElement("div", {
4253
4370
  ref: data?.videoTextHeading?.refSetter,
4254
4371
  className: classes.videoDetailsHeading,
4255
4372
  dangerouslySetInnerHTML: {
4256
4373
  __html: data.videoTextHeading.metadata.value
4257
4374
  }
4258
- }), /*#__PURE__*/React.createElement("p", {
4375
+ }), /*#__PURE__*/React.createElement("div", {
4259
4376
  ref: data?.videoTextContent?.refSetter,
4260
4377
  className: classes.videoDetailsContent,
4261
4378
  dangerouslySetInnerHTML: {
4262
4379
  __html: data.videoTextContent.metadata.value
4263
4380
  }
4264
- }), /*#__PURE__*/React.createElement("p", {
4381
+ }), /*#__PURE__*/React.createElement("div", {
4265
4382
  ref: data?.videoTextSubContent?.refSetter,
4266
4383
  className: classes.videoDetailsSubContent,
4267
4384
  dangerouslySetInnerHTML: {
@@ -4277,10 +4394,12 @@ function VideoTestimonial({
4277
4394
  const {
4278
4395
  layout: {
4279
4396
  containerWidth
4280
- }
4397
+ },
4398
+ isMobile
4281
4399
  } = useContext(PageContext);
4282
4400
  const classes = useVideoTestimonialStyles({
4283
- containerWidth
4401
+ containerWidth,
4402
+ isMobile
4284
4403
  });
4285
4404
  const [videoData] = sectionData.components;
4286
4405
  const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
@@ -4297,7 +4416,7 @@ function VideoTestimonial({
4297
4416
  dangerouslySetInnerHTML: {
4298
4417
  __html: videoData.videoHeading.metadata.value
4299
4418
  }
4300
- })), /*#__PURE__*/React.createElement("h2", {
4419
+ })), /*#__PURE__*/React.createElement("div", {
4301
4420
  className: classes.videoTestimonialTitle
4302
4421
  }, /*#__PURE__*/React.createElement("span", {
4303
4422
  ref: videoData?.title?.refSetter,
@@ -4547,7 +4666,7 @@ var index$e = /*#__PURE__*/Object.freeze({
4547
4666
  const useSectionStyles$3 = createUseStyles(theme => ({
4548
4667
  section: {
4549
4668
  position: 'relative',
4550
- padding: '70px 0',
4669
+ padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
4551
4670
  backgroundColor: theme?.palette?.background?.default,
4552
4671
  '&, & *, & *:before, & *:after': {
4553
4672
  fontFamily: theme?.typography?.fontFamily,
@@ -4575,12 +4694,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4575
4694
  width: '100%'
4576
4695
  },
4577
4696
  content: {
4578
- position: 'relative',
4579
- margin: '0 70px'
4697
+ position: 'relative'
4580
4698
  },
4581
4699
  subTitleHeading: {
4582
4700
  width: '100%',
4583
- fontSize: '16px',
4701
+ fontSize: theme.typography.fontSize.subHead,
4584
4702
  color: theme?.palette?.font?.tertiary,
4585
4703
  textAlign: 'left',
4586
4704
  lineHeight: '20px',
@@ -4588,8 +4706,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4588
4706
  wordBreak: 'break-word'
4589
4707
  },
4590
4708
  heading: {
4591
- margin: '8px 0 20px',
4592
- fontSize: '56px',
4709
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4710
+ fontSize: theme.typography.fontSize.h2,
4593
4711
  width: '100%',
4594
4712
  lineHeight: '70px',
4595
4713
  color: theme?.palette?.font?.default,
@@ -4611,16 +4729,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4611
4729
  height: 'calc(100% - 12px)'
4612
4730
  },
4613
4731
  cardContent: {
4614
- padding: '32px',
4732
+ padding: theme.spacing.padding.tiny,
4615
4733
  height: '100%',
4616
4734
  display: 'flex',
4617
4735
  flexDirection: 'column'
4618
4736
  },
4619
4737
  cardHeading: {
4620
- fontSize: '24px',
4738
+ fontSize: theme.typography.fontSize.h5,
4621
4739
  lineHeight: '32px',
4622
4740
  color: theme?.palette?.font?.default,
4623
- margin: '32px 0 16px',
4741
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4624
4742
  wordBreak: 'break-word'
4625
4743
  },
4626
4744
  imageContainer: {
@@ -4633,7 +4751,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4633
4751
  background: theme?.palette?.background?.primary
4634
4752
  },
4635
4753
  cardPara: {
4636
- fontSize: '16px',
4754
+ fontSize: theme.typography.fontSize.subHead,
4637
4755
  lineHeight: '24px',
4638
4756
  color: theme?.palette?.font?.primary,
4639
4757
  margin: '0',
@@ -4649,13 +4767,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4649
4767
  '@media screen and (max-width: 767px)': {
4650
4768
  heading: {
4651
4769
  fontSize: '24px',
4652
- margin: '4px 0 12px',
4770
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4653
4771
  lineHeight: '36px',
4654
4772
  padding: '0'
4655
4773
  },
4656
- content: {
4657
- margin: '0 20px'
4658
- },
4659
4774
  sliderContainer: {
4660
4775
  marginLeft: '-6px',
4661
4776
  marginRight: '-20px'
@@ -4670,12 +4785,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4670
4785
  slidesToShow,
4671
4786
  cardsCount
4672
4787
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4673
- },
4674
- cardContent: {
4675
- padding: '20px'
4676
- },
4677
- cardHeading: {
4678
- margin: '14px 0'
4679
4788
  }
4680
4789
  }
4681
4790
  }));
@@ -4772,67 +4881,60 @@ var index$d = /*#__PURE__*/Object.freeze({
4772
4881
 
4773
4882
  const useSectionStyles$2 = createUseStyles(theme => ({
4774
4883
  section: {
4775
- padding: '70px',
4884
+ padding: ({
4885
+ isMobile
4886
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4776
4887
  backgroundColor: theme?.palette?.background?.default,
4777
4888
  '&, & *, & *:before, & *:after': {
4778
4889
  fontFamily: theme?.typography?.fontFamily,
4779
4890
  boxSizing: 'border-box'
4780
- },
4781
- '& h2,& h3': {
4782
- fontWeight: '500',
4783
- '& b,& strong': {
4784
- fontWeight: '700'
4785
- }
4786
4891
  }
4892
+ // '& h2,& h3': {
4893
+ // fontWeight: '500',
4894
+ // '& b,& strong': {
4895
+ // fontWeight: '700'
4896
+ // }
4897
+ // }
4787
4898
  },
4899
+
4788
4900
  sectionContainer: {
4789
- margin: '0 auto',
4790
4901
  maxWidth: ({
4791
4902
  containerWidth
4792
4903
  } = {}) => containerWidth
4793
4904
  },
4794
4905
  subHeading: {
4795
- fontSize: '20px',
4906
+ fontSize: theme.typography.fontSize.subHead,
4796
4907
  marginBottom: '8px',
4797
4908
  color: theme?.palette?.font?.tertiary,
4798
- wordBreak: 'break-word'
4909
+ wordBreak: 'break-word',
4910
+ textTransform: 'uppercase',
4911
+ letterSpacing: '3px'
4799
4912
  },
4800
4913
  title: {
4801
- fontSize: '56px',
4802
- lineHeight: '70px',
4914
+ fontSize: theme.typography.fontSize.h2,
4915
+ fontWeight: theme.typography.fontWeight.bold,
4916
+ lineHeight: 'normal',
4803
4917
  margin: '0',
4804
4918
  color: theme?.palette?.font?.default,
4805
- wordBreak: 'break-word'
4919
+ wordBreak: 'break-word',
4920
+ marginBottom: theme.spacing.margin.tiny
4806
4921
  },
4807
4922
  textContent: {
4808
4923
  display: 'grid',
4809
4924
  gridTemplateColumns: '1fr 1fr',
4810
- gap: '80px'
4925
+ gap: '48px',
4926
+ padding: '48px 0px'
4811
4927
  },
4812
4928
  textPara: {
4813
- margin: '20px 0 0 0',
4814
4929
  lineHeight: '24px',
4815
4930
  color: theme?.palette?.font?.primary,
4816
- wordBreak: 'break-word'
4931
+ wordBreak: 'break-word',
4932
+ fontSize: theme.typography.fontSize.subHead
4817
4933
  },
4818
4934
  '@media screen and (max-width: 767px)': {
4819
- section: {
4820
- padding: '60px 20px'
4821
- },
4822
- subHeading: {
4823
- fontSize: '16px',
4824
- lineHeight: '20px',
4825
- marginBottom: '4px'
4826
- },
4827
- title: {
4828
- fontSize: '24px',
4829
- lineHeight: '36px'
4830
- },
4831
4935
  textContent: {
4832
- display: 'block'
4833
- },
4834
- textPara: {
4835
- marginTop: '12px'
4936
+ gap: '16px',
4937
+ padding: '16px 0px'
4836
4938
  }
4837
4939
  }
4838
4940
  }));
@@ -4843,10 +4945,12 @@ const TextSection = ({
4843
4945
  const {
4844
4946
  layout: {
4845
4947
  containerWidth
4846
- }
4948
+ },
4949
+ isMobile
4847
4950
  } = useContext(PageContext);
4848
4951
  const classes = useSectionStyles$2({
4849
- containerWidth
4952
+ containerWidth,
4953
+ isMobile
4850
4954
  });
4851
4955
  const [nodeData] = sectionData.components;
4852
4956
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
@@ -4869,13 +4973,13 @@ const TextSection = ({
4869
4973
  }
4870
4974
  })), /*#__PURE__*/React.createElement("div", {
4871
4975
  className: classes.textContent
4872
- }, /*#__PURE__*/React.createElement("p", {
4976
+ }, /*#__PURE__*/React.createElement("div", {
4873
4977
  ref: nodeData?.textLeft?.refSetter,
4874
4978
  className: classes.textPara,
4875
4979
  dangerouslySetInnerHTML: {
4876
4980
  __html: nodeData.textLeft.metadata.value
4877
4981
  }
4878
- }), /*#__PURE__*/React.createElement("p", {
4982
+ }), /*#__PURE__*/React.createElement("div", {
4879
4983
  ref: nodeData?.textRight?.refSetter,
4880
4984
  className: classes.textPara,
4881
4985
  dangerouslySetInnerHTML: {
@@ -5050,64 +5154,73 @@ var index$b = /*#__PURE__*/Object.freeze({
5050
5154
  const useFaqListStyles = createUseStyles(theme => ({
5051
5155
  section: {
5052
5156
  width: '100%',
5053
- padding: '70px',
5157
+ padding: ({
5158
+ isMobile
5159
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5054
5160
  backgroundColor: theme?.palette?.background?.primary,
5055
5161
  '&, & *, & *:before, & *:after': {
5056
5162
  fontFamily: theme?.typography?.fontFamily,
5057
5163
  boxSizing: 'border-box'
5058
- },
5059
- '& h2,& h3': {
5060
- fontWeight: '500',
5061
- '& b,& strong': {
5062
- fontWeight: '700'
5063
- }
5064
5164
  }
5165
+ // '& h2,& h3': {
5166
+ // fontWeight: '500',
5167
+ // '& b,& strong': {
5168
+ // fontWeight: '700'
5169
+ // }
5170
+ // }
5065
5171
  },
5172
+
5066
5173
  sectionContainer: {
5067
- margin: '0 auto',
5068
5174
  maxWidth: ({
5069
5175
  containerWidth
5070
5176
  } = {}) => containerWidth
5071
5177
  },
5072
5178
  sectionSubheading: {
5073
5179
  color: theme?.palette?.font.tertiary,
5074
- fontSize: '16px',
5180
+ fontSize: theme.typography.fontSize.subHead,
5075
5181
  marginBottom: '8px',
5076
5182
  wordBreak: 'break-word'
5077
5183
  },
5078
5184
  sectionHeading: {
5079
- fontSize: '56px',
5080
- margin: '0 0 20px',
5185
+ fontSize: theme.typography.fontSize.h2,
5186
+ fontWeight: theme.typography.fontWeight.bold,
5081
5187
  wordBreak: 'break-word',
5082
- lineHeight: '71px'
5188
+ marginBottom: `${theme.spacing.margin.tiny}px`
5083
5189
  },
5084
5190
  container: {
5085
5191
  boxShadow: theme?.shadows?.secondary,
5086
5192
  borderRadius: '8px',
5087
- backgroundColor: theme?.palette?.background?.default,
5088
- padding: '40px 60px 60px'
5193
+ backgroundColor: theme?.palette?.background?.default
5089
5194
  },
5090
5195
  basicCardContainer: {
5091
- borderBottom: theme?.borders?.secondary
5196
+ borderBottom: theme?.borders?.secondary,
5197
+ padding: `${theme.spacing.padding.tiny}px`
5198
+ },
5199
+ innerContainer: {
5200
+ display: 'flex',
5201
+ flexDirection: 'column',
5202
+ gap: ({
5203
+ isSelected
5204
+ } = {}) => isSelected ? '16px' : '0'
5205
+ },
5206
+ arrowButton: {
5207
+ marginLeft: theme.spacing.margin.tiny
5092
5208
  },
5093
5209
  header: {
5094
5210
  display: 'flex',
5095
5211
  justifyContent: 'space-between',
5096
- alignItems: 'center',
5097
- padding: '20px 0'
5212
+ alignItems: 'center'
5098
5213
  },
5099
5214
  title: {
5100
5215
  color: theme?.palette?.font.default,
5101
- fontSize: '24px',
5216
+ fontSize: theme.typography.fontSize.h5,
5217
+ fontWeight: theme.typography.fontWeight.bold,
5102
5218
  margin: '0',
5103
5219
  wordBreak: 'break-word'
5104
5220
  },
5105
5221
  content: {
5106
- margin: ({
5107
- isSelected
5108
- } = {}) => isSelected ? '0 0 20px 0' : '0',
5109
5222
  color: theme?.palette?.font.primary,
5110
- fontSize: '16px',
5223
+ fontSize: theme.typography.fontSize.subHead,
5111
5224
  lineHeight: '24px',
5112
5225
  maxHeight: ({
5113
5226
  isSelected
@@ -5116,28 +5229,12 @@ const useFaqListStyles = createUseStyles(theme => ({
5116
5229
  overflow: 'hidden'
5117
5230
  },
5118
5231
  '@media screen and (max-width: 767px)': {
5119
- section: {
5120
- padding: '60px 20px'
5121
- },
5122
- sectionHeading: {
5123
- fontSize: '36px'
5124
- },
5125
- header: {
5126
- padding: '20px 0'
5127
- },
5128
- title: {
5129
- fontSize: '18px'
5130
- },
5131
5232
  content: {
5132
5233
  lineHeight: '20px'
5133
5234
  },
5134
- container: {
5135
- padding: '0 20px'
5136
- },
5137
5235
  basicCardContainer: {
5138
5236
  '&:last-child': {
5139
- borderBottom: 'none',
5140
- paddingBottom: '1px'
5237
+ borderBottom: 'none'
5141
5238
  }
5142
5239
  }
5143
5240
  }
@@ -5150,11 +5247,13 @@ const FAQListing = ({
5150
5247
  const {
5151
5248
  layout: {
5152
5249
  containerWidth
5153
- }
5250
+ },
5251
+ isMobile
5154
5252
  } = useContext(PageContext);
5155
5253
  const classes = useFaqListStyles({
5156
5254
  selectedIndex,
5157
- containerWidth
5255
+ containerWidth,
5256
+ isMobile
5158
5257
  });
5159
5258
  const [nodeData] = sectionData.components;
5160
5259
  return /*#__PURE__*/React.createElement("section", {
@@ -5168,7 +5267,7 @@ const FAQListing = ({
5168
5267
  dangerouslySetInnerHTML: {
5169
5268
  __html: nodeData.subheading.metadata.value
5170
5269
  }
5171
- })), /*#__PURE__*/React.createElement("h2", {
5270
+ })), /*#__PURE__*/React.createElement("div", {
5172
5271
  className: classes.sectionHeading
5173
5272
  }, /*#__PURE__*/React.createElement("span", {
5174
5273
  ref: nodeData?.title?.refSetter,
@@ -5197,7 +5296,8 @@ const Accordion = ({
5197
5296
  return /*#__PURE__*/React.createElement("div", {
5198
5297
  className: classes.basicCardContainer
5199
5298
  }, /*#__PURE__*/React.createElement("div", {
5200
- onClick: onClick
5299
+ onClick: onClick,
5300
+ className: classes.innerContainer
5201
5301
  }, /*#__PURE__*/React.createElement("div", {
5202
5302
  className: classes.header
5203
5303
  }, /*#__PURE__*/React.createElement("h3", {
@@ -5206,7 +5306,9 @@ const Accordion = ({
5206
5306
  dangerouslySetInnerHTML: {
5207
5307
  __html: item.question.metadata.value
5208
5308
  }
5209
- }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
5309
+ }), /*#__PURE__*/React.createElement("div", {
5310
+ className: classes.arrowButton
5311
+ }, /*#__PURE__*/React.createElement(ArrowButton, {
5210
5312
  down: isSelected,
5211
5313
  up: !isSelected,
5212
5314
  size: "small"
@@ -5226,19 +5328,22 @@ var index$a = /*#__PURE__*/Object.freeze({
5226
5328
 
5227
5329
  const useTextGridStyles = createUseStyles(theme => ({
5228
5330
  section: {
5229
- padding: '70px',
5331
+ padding: ({
5332
+ isMobile
5333
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5230
5334
  backgroundColor: theme?.palette?.background?.primary,
5231
5335
  '&, & *, & *:before, & *:after': {
5232
5336
  fontFamily: theme?.typography?.fontFamily,
5233
5337
  boxSizing: 'border-box'
5234
- },
5235
- '& h2,& h3': {
5236
- fontWeight: '500',
5237
- '& b,& strong': {
5238
- fontWeight: '700'
5239
- }
5240
5338
  }
5339
+ // '& h2,& h3': {
5340
+ // fontWeight: '500',
5341
+ // '& b,& strong': {
5342
+ // fontWeight: '700'
5343
+ // }
5344
+ // }
5241
5345
  },
5346
+
5242
5347
  sectionContainer: {
5243
5348
  margin: '0 auto',
5244
5349
  maxWidth: ({
@@ -5247,24 +5352,27 @@ const useTextGridStyles = createUseStyles(theme => ({
5247
5352
  },
5248
5353
  subheading: {
5249
5354
  color: theme?.palette?.font.tertiary,
5250
- fontSize: '16px',
5355
+ fontSize: theme.typography.fontSize.subHead,
5251
5356
  lineHeight: '20px',
5252
5357
  letterSpacing: '3px',
5253
- wordBreak: 'break-word'
5358
+ wordBreak: 'break-word',
5359
+ textTransform: 'uppercase',
5360
+ marginBottom: '8px'
5254
5361
  },
5255
5362
  heading: {
5256
- fontSize: '56px',
5257
- lineHeight: '70px',
5363
+ fontSize: theme.typography.fontSize.h2,
5364
+ lineHeight: 'normal',
5365
+ fontWeight: theme.typography.fontWeight.bold,
5258
5366
  letterSpacing: '-3px',
5259
- margin: '8px 0 16px',
5367
+ marginBottom: theme.spacing.margin.tiny,
5260
5368
  wordBreak: 'break-word'
5261
5369
  },
5262
5370
  sliderContainer: {
5263
5371
  margin: '0 -10px'
5264
5372
  },
5265
5373
  node: {
5266
- margin: '6px 10px',
5267
- padding: '40px',
5374
+ margin: '0 16px',
5375
+ padding: '48px',
5268
5376
  position: 'relative',
5269
5377
  height: 'calc(100% - 12px)',
5270
5378
  background: theme?.palette?.background?.default,
@@ -5273,16 +5381,16 @@ const useTextGridStyles = createUseStyles(theme => ({
5273
5381
  },
5274
5382
  nodeTitle: {
5275
5383
  color: theme?.palette?.font.secondary,
5276
- fontSize: '40px',
5277
- lineHeight: '48px',
5384
+ fontSize: theme.typography.fontSize.h3,
5385
+ fontWeight: theme.typography.fontWeight.bold,
5386
+ lineHeight: 'normal',
5278
5387
  margin: '0 0 20px',
5279
5388
  wordBreak: 'break-word'
5280
5389
  },
5281
5390
  nodePara: {
5282
5391
  color: theme?.palette?.font.tertiary,
5283
- fontSize: '16px',
5392
+ fontSize: theme.typography.fontSize.subHead,
5284
5393
  lineHeight: '24px',
5285
- margin: '20px 0',
5286
5394
  wordBreak: 'break-word'
5287
5395
  },
5288
5396
  contentRow: {
@@ -5292,27 +5400,21 @@ const useTextGridStyles = createUseStyles(theme => ({
5292
5400
  } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5293
5401
  },
5294
5402
  '@media screen and (max-width: 767px)': {
5295
- section: {
5296
- padding: '60px 20px'
5297
- },
5298
- heading: {
5299
- fontSize: '24px',
5300
- lineHeight: '36px',
5301
- letterSpacing: '-1px',
5302
- margin: '4px 0 6px'
5303
- },
5304
5403
  sliderContainer: {
5305
5404
  margin: '0 -20px 0 -10px'
5306
5405
  },
5307
5406
  node: {
5308
- padding: '20px'
5407
+ padding: '16px',
5408
+ margin: '0 6px'
5309
5409
  },
5310
5410
  nodeTitle: {
5311
- fontSize: '24px',
5312
- lineHeight: '36px'
5411
+ marginBottom: '0px'
5313
5412
  },
5314
5413
  nodePara: {
5315
- margin: '12px 0'
5414
+ margin: '16px 0'
5415
+ },
5416
+ heading: {
5417
+ letterSpacing: '-1px'
5316
5418
  }
5317
5419
  }
5318
5420
  }));
@@ -5332,7 +5434,8 @@ const TextGrid = ({
5332
5434
  const classes = useTextGridStyles({
5333
5435
  containerWidth,
5334
5436
  cardsCount,
5335
- slidesToShow
5437
+ slidesToShow,
5438
+ isMobile
5336
5439
  });
5337
5440
  const settings = {
5338
5441
  className: classes.sliderContainer,
@@ -5349,7 +5452,7 @@ const TextGrid = ({
5349
5452
  dangerouslySetInnerHTML: {
5350
5453
  __html: item.contentHeading.metadata.value
5351
5454
  }
5352
- }), /*#__PURE__*/React.createElement("p", {
5455
+ }), /*#__PURE__*/React.createElement("div", {
5353
5456
  ref: item?.contentPara?.refSetter,
5354
5457
  className: classes.nodePara,
5355
5458
  dangerouslySetInnerHTML: {
@@ -5367,7 +5470,7 @@ const TextGrid = ({
5367
5470
  dangerouslySetInnerHTML: {
5368
5471
  __html: nodeData.subheading.metadata.value
5369
5472
  }
5370
- })), /*#__PURE__*/React.createElement("h2", {
5473
+ })), /*#__PURE__*/React.createElement("div", {
5371
5474
  className: classes.heading
5372
5475
  }, /*#__PURE__*/React.createElement("span", {
5373
5476
  ref: nodeData?.title?.refSetter,
@@ -5908,19 +6011,22 @@ var index$8 = /*#__PURE__*/Object.freeze({
5908
6011
  const useTeamStyles = createUseStyles(theme => {
5909
6012
  return {
5910
6013
  teamSuperContainer: {
5911
- padding: '60px',
6014
+ padding: ({
6015
+ isMobile
6016
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5912
6017
  backgroundColor: theme?.palette?.background?.primary,
5913
6018
  '&, & *, & *:before, & *:after': {
5914
6019
  fontFamily: theme?.typography?.fontFamily,
5915
6020
  boxSizing: 'border-box'
5916
- },
5917
- '& h2,& h3': {
5918
- fontWeight: '500',
5919
- '& b,& strong': {
5920
- fontWeight: '700'
5921
- }
5922
6021
  }
6022
+ // '& h2,& h3': {
6023
+ // fontWeight: '500',
6024
+ // '& b,& strong': {
6025
+ // fontWeight: '700'
6026
+ // }
6027
+ // }
5923
6028
  },
6029
+
5924
6030
  sectionContainer: {
5925
6031
  margin: '0 auto',
5926
6032
  maxWidth: ({
@@ -5928,19 +6034,20 @@ const useTeamStyles = createUseStyles(theme => {
5928
6034
  } = {}) => containerWidth
5929
6035
  },
5930
6036
  teamHeading: {
5931
- fontSize: '16px',
6037
+ fontSize: theme.typography.fontSize.subHead,
6038
+ textTransform: 'uppercase',
5932
6039
  lineHeight: '20px',
5933
6040
  letterSpacing: '3px',
5934
- margin: '0 0 8px',
6041
+ marginBottom: '8px',
5935
6042
  color: theme?.palette?.font?.primary,
5936
6043
  wordBreak: 'break-word'
5937
6044
  },
5938
6045
  teamTitle: {
5939
- fontSize: '56px',
6046
+ fontSize: theme.typography.fontSize.h2,
6047
+ fontWeight: theme.typography.fontWeight.bold,
5940
6048
  lineHeight: '70px',
5941
6049
  letterSpacing: '-3px',
5942
6050
  wordBreak: 'break-word',
5943
- margin: '0 ',
5944
6051
  color: theme?.palette?.font?.default
5945
6052
  },
5946
6053
  sliderContainer: {
@@ -5955,10 +6062,11 @@ const useTeamStyles = createUseStyles(theme => {
5955
6062
  singleSlideContainer: {
5956
6063
  backgroundColor: theme?.palette?.background?.default,
5957
6064
  margin: '20px',
5958
- width: 'calc(100% - 40px)',
5959
- height: 'calc(100% - 40px)',
6065
+ width: 'calc(100% - 32px)',
6066
+ // height: 'calc(100% - 40px)',
6067
+ border: '3px solid #D8E0F0',
5960
6068
  borderRadius: theme?.shape?.borderRadius?.regular,
5961
- padding: '32px',
6069
+ padding: theme.spacing.padding.tiny,
5962
6070
  boxShadow: theme?.shadows?.primary
5963
6071
  },
5964
6072
  imageContainer: {
@@ -5983,32 +6091,28 @@ const useTeamStyles = createUseStyles(theme => {
5983
6091
  overflowWrap: 'break-word'
5984
6092
  },
5985
6093
  teamDetailsHeading: {
5986
- fontSize: '24px',
6094
+ fontSize: theme.typography.fontSize.h5,
6095
+ fontWeight: theme.typography.fontWeight.bold,
5987
6096
  lineHeight: '32px',
5988
6097
  margin: '0',
5989
6098
  color: theme?.palette?.font?.default
5990
6099
  },
5991
6100
  teamDetailsSubHeading: {
5992
- fontSize: '16px',
6101
+ fontSize: theme.typography.fontSize.subHead,
5993
6102
  lineHeight: '24px',
5994
6103
  margin: '12px 0 0',
5995
6104
  color: theme?.palette?.font?.primary
5996
6105
  },
5997
6106
  '@media (max-width: 767px)': {
5998
- teamSuperContainer: {
5999
- padding: '60px 20px'
6000
- },
6107
+ // teamSuperContainer: {
6108
+ // padding: '60px 20px'
6109
+ // },
6001
6110
  teamHeading: {
6002
- fontSize: '16px',
6003
- lineHeight: '20px',
6004
- letterSpacing: '3px',
6005
- margin: '0'
6111
+ lineHeight: '20px'
6006
6112
  },
6007
6113
  teamTitle: {
6008
- fontSize: '24px',
6009
6114
  lineHeight: '36px',
6010
- letterSpacing: '-1px',
6011
- margin: '0'
6115
+ letterSpacing: '-1px'
6012
6116
  },
6013
6117
  sliderContainer: {
6014
6118
  margin: '0 -4px'
@@ -6018,18 +6122,17 @@ const useTeamStyles = createUseStyles(theme => {
6018
6122
  margin: '12px 4px'
6019
6123
  },
6020
6124
  teamDetailsContainer: {
6021
- textAlign: 'center',
6022
- margin: '15px 0 0',
6023
- paddingBottom: '0'
6125
+ textAlign: 'center'
6126
+ // margin: '15px 0 0',
6127
+ // paddingBottom: '0'
6024
6128
  },
6129
+
6025
6130
  teamDetailsHeading: {
6026
- fontSize: '16px',
6027
6131
  lineHeight: '24px',
6028
6132
  margin: '0',
6029
6133
  color: theme?.palette?.font?.default
6030
6134
  },
6031
6135
  teamDetailsSubHeading: {
6032
- fontSize: '16px',
6033
6136
  color: theme?.palette?.font?.primary
6034
6137
  }
6035
6138
  }
@@ -6084,7 +6187,8 @@ function TeamCard({
6084
6187
  const classes = useTeamStyles({
6085
6188
  containerWidth,
6086
6189
  cardsCount,
6087
- slidesToShow
6190
+ slidesToShow,
6191
+ isMobile
6088
6192
  });
6089
6193
  const settings = {
6090
6194
  className: classes.sliderContainer,
@@ -6112,7 +6216,7 @@ function TeamCard({
6112
6216
  dangerouslySetInnerHTML: {
6113
6217
  __html: teamData.teamHeading.metadata.value
6114
6218
  }
6115
- })), /*#__PURE__*/React.createElement("h2", {
6219
+ })), /*#__PURE__*/React.createElement("div", {
6116
6220
  className: classes.teamTitle
6117
6221
  }, /*#__PURE__*/React.createElement("span", {
6118
6222
  ref: teamData?.teamTitle?.refSetter,
@@ -6141,17 +6245,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6141
6245
  flexDirection: 'column',
6142
6246
  alignItems: 'center',
6143
6247
  backgroundColor: theme?.palette?.background?.default,
6248
+ padding: ({
6249
+ isMobile
6250
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6144
6251
  '&, & *, & *:before, & *:after': {
6145
6252
  fontFamily: theme?.typography?.fontFamily,
6146
6253
  boxSizing: 'border-box'
6147
- },
6148
- '& h2,& h3': {
6149
- fontWeight: '500',
6150
- '& b,& strong': {
6151
- fontWeight: '700'
6152
- }
6153
6254
  }
6255
+ // '& h2,& h3': {
6256
+ // fontWeight: '500',
6257
+ // '& b,& strong': {
6258
+ // fontWeight: '700'
6259
+ // }
6260
+ // }
6154
6261
  },
6262
+
6155
6263
  formContainer: {
6156
6264
  margin: '0 auto',
6157
6265
  maxWidth: ({
@@ -6170,14 +6278,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6170
6278
  backgroundColor: theme?.palette?.background?.default,
6171
6279
  boxShadow: theme?.shadows?.secondary,
6172
6280
  borderRadius: theme?.shape?.borderRadius?.regular,
6173
- margin: '60px 10%',
6174
- padding: '40px 80px',
6281
+ padding: '48px',
6175
6282
  position: 'relative'
6176
6283
  },
6177
6284
  title: {
6178
6285
  margin: '0',
6179
- fontSize: '56px',
6286
+ fontSize: theme.typography.fontSize.h2,
6180
6287
  color: theme?.palette?.font?.secondary,
6288
+ fontWeight: theme.typography.fontWeight.bold,
6181
6289
  lineHeight: '71px',
6182
6290
  letterSpacing: '-3px',
6183
6291
  textAlign: 'left',
@@ -6185,16 +6293,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6185
6293
  },
6186
6294
  contentContainer: {
6187
6295
  width: '100%',
6188
- display: 'flex',
6189
- alignItems: 'flex-start',
6190
- marginTop: '32px'
6296
+ display: 'flex'
6297
+ // alignItems: 'flex-start',
6191
6298
  },
6299
+
6192
6300
  leftContainer: {
6193
- width: '65%'
6301
+ width: '65%',
6302
+ display: 'flex',
6303
+ flexDirection: 'column',
6304
+ justifyContent: 'space-between'
6194
6305
  },
6195
6306
  subtitle: {
6196
- margin: '0 0 40px 0',
6197
- fontSize: '20px',
6307
+ // margin: '0 0 40px 0',
6308
+ fontSize: theme.typography.fontSize.h6,
6198
6309
  color: theme?.palette?.font?.primary,
6199
6310
  lineHeight: '32px',
6200
6311
  wordBreak: 'break-word'
@@ -6216,13 +6327,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6216
6327
  padding: '4px 8px 0 0'
6217
6328
  },
6218
6329
  addressText: {
6219
- fontSize: '16px',
6330
+ fontSize: theme.typography.fontSize.subHead,
6220
6331
  color: theme?.palette?.font?.default,
6221
6332
  lineHeight: '24px'
6222
6333
  },
6223
6334
  rightContainer: {
6224
6335
  width: '50%',
6225
- padding: '0 0 0 80px'
6336
+ padding: '0 0 0 80px',
6337
+ display: 'flex',
6338
+ flexDirection: 'column',
6339
+ justifyContent: 'space-between'
6226
6340
  },
6227
6341
  inputDiv: {
6228
6342
  margin: '0 0 20px 0',
@@ -6236,8 +6350,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6236
6350
  alignItems: 'center'
6237
6351
  },
6238
6352
  sectionContainer: {
6239
- margin: '26px 16px',
6240
- padding: '32px 16px'
6353
+ // margin: '26px 16px',
6354
+ padding: '16px'
6241
6355
  },
6242
6356
  partialBackground: {
6243
6357
  height: '150px'
@@ -6247,26 +6361,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6247
6361
  marginTop: '8px'
6248
6362
  },
6249
6363
  leftContainer: {
6250
- width: '100%',
6251
- padding: '0 16ox'
6364
+ width: '100%'
6365
+ // padding: '0 16ox'
6252
6366
  },
6367
+
6253
6368
  rightContainer: {
6254
6369
  width: '100%',
6255
6370
  padding: '0'
6256
6371
  },
6257
6372
  title: {
6258
- fontSize: '24px',
6373
+ // fontSize: '24px',
6259
6374
  lineHeight: '32px',
6260
- letterSpacing: 'initial'
6375
+ letterSpacing: 'initial',
6376
+ margin: '0 0 16px 0',
6377
+ textAlign: 'center'
6261
6378
  },
6262
6379
  subtitle: {
6263
- margin: '0 0 12px 0'
6380
+ margin: '0 0 16px 0',
6381
+ lineHeight: '26px',
6382
+ textAlign: 'center'
6264
6383
  },
6265
6384
  inputDiv: {
6266
- margin: '0 0 10px 0'
6385
+ margin: '0 0 16px 0'
6267
6386
  },
6268
6387
  addressRow: {
6269
- padding: '12px 0'
6388
+ padding: '0px',
6389
+ margin: '0 0 16px 0'
6270
6390
  }
6271
6391
  }
6272
6392
  }));
@@ -6285,7 +6405,8 @@ function FormEnquiry({
6285
6405
  isEdit
6286
6406
  } = useContext(PageContext);
6287
6407
  const classes = useSectionStyles$1({
6288
- containerWidth
6408
+ containerWidth,
6409
+ isMobile
6289
6410
  });
6290
6411
  const [nodeData] = sectionData.components;
6291
6412
  const theme = useTheme();
@@ -6344,6 +6465,10 @@ function FormEnquiry({
6344
6465
  className: classes.partialBackground
6345
6466
  }), /*#__PURE__*/React.createElement("div", {
6346
6467
  className: classes.sectionContainer
6468
+ }, /*#__PURE__*/React.createElement("div", {
6469
+ className: classes.contentContainer
6470
+ }, /*#__PURE__*/React.createElement("div", {
6471
+ className: classes.leftContainer
6347
6472
  }, /*#__PURE__*/React.createElement("h2", {
6348
6473
  className: classes.title
6349
6474
  }, /*#__PURE__*/React.createElement("span", {
@@ -6352,10 +6477,6 @@ function FormEnquiry({
6352
6477
  __html: nodeData?.title?.metadata?.value
6353
6478
  }
6354
6479
  })), /*#__PURE__*/React.createElement("div", {
6355
- className: classes.contentContainer
6356
- }, /*#__PURE__*/React.createElement("div", {
6357
- className: classes.leftContainer
6358
- }, /*#__PURE__*/React.createElement("div", {
6359
6480
  ref: nodeData?.subtitle?.refSetter,
6360
6481
  className: classes.subtitle,
6361
6482
  dangerouslySetInnerHTML: {
@@ -6495,7 +6616,7 @@ function FormEnquiry({
6495
6616
  messageValid: 1
6496
6617
  });
6497
6618
  }
6498
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
6619
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
6499
6620
  ref: nodeData?.cta?.refSetter,
6500
6621
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6501
6622
  value: 'Submitted'
@@ -6506,7 +6627,7 @@ function FormEnquiry({
6506
6627
  type: nodeData?.cta?.metadata?.type,
6507
6628
  size: isMobile ? 'small' : 'medium',
6508
6629
  disabled: btnDisabled
6509
- }))))));
6630
+ })))))));
6510
6631
  }
6511
6632
 
6512
6633
  var index$6 = /*#__PURE__*/Object.freeze({
@@ -6522,20 +6643,24 @@ const useSectionStyles = createUseStyles(theme => ({
6522
6643
  justifyContent: 'center',
6523
6644
  flexDirection: 'column',
6524
6645
  alignItems: 'center',
6646
+ padding: ({
6647
+ isMobile
6648
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6525
6649
  backgroundColor: theme?.palette?.background?.default,
6526
6650
  '&, & *, & *:before, & *:after': {
6527
6651
  fontFamily: theme?.typography?.fontFamily,
6528
6652
  boxSizing: 'border-box'
6529
- },
6530
- '& h2,& h3': {
6531
- fontWeight: '500',
6532
- '& b,& strong': {
6533
- fontWeight: '700'
6534
- }
6535
6653
  }
6654
+ // '& h2,& h3': {
6655
+ // fontWeight: '500',
6656
+ // '& b,& strong': {
6657
+ // fontWeight: '700'
6658
+ // }
6659
+ // }
6536
6660
  },
6661
+
6537
6662
  contactContainer: {
6538
- width: '80%',
6663
+ width: '100%',
6539
6664
  margin: '0 auto',
6540
6665
  maxWidth: ({
6541
6666
  containerWidth
@@ -6553,13 +6678,12 @@ const useSectionStyles = createUseStyles(theme => ({
6553
6678
  backgroundColor: theme?.palette?.background?.default,
6554
6679
  boxShadow: theme?.shadows?.secondary,
6555
6680
  borderRadius: theme?.shape?.borderRadius?.regular,
6556
- margin: '60px',
6557
- padding: '40px 80px',
6681
+ padding: '48px',
6558
6682
  position: 'relative'
6559
6683
  },
6560
6684
  title: {
6561
6685
  margin: '0',
6562
- fontSize: '56px',
6686
+ fontSize: theme.typography.fontSize.h2,
6563
6687
  color: theme?.palette?.font?.secondary,
6564
6688
  lineHeight: '71px',
6565
6689
  letterSpacing: '-3px',
@@ -6569,36 +6693,37 @@ const useSectionStyles = createUseStyles(theme => ({
6569
6693
  contentContainer: {
6570
6694
  width: '100%',
6571
6695
  display: 'flex',
6572
- alignItems: 'flex-start',
6573
- marginTop: '32px',
6696
+ justifyContent: 'space-between',
6574
6697
  wordBreak: 'break-word'
6575
6698
  },
6576
6699
  leftContainer: {
6577
- width: '50%'
6700
+ width: '50%',
6701
+ display: 'flex',
6702
+ flexDirection: 'column',
6703
+ justifyContent: 'space-between'
6578
6704
  },
6579
6705
  subtitle: {
6580
- margin: '0 0 58px 0',
6581
- fontSize: '20px',
6706
+ margin: '0 0 auto 0',
6707
+ fontSize: theme.typography.fontSize.h6,
6582
6708
  color: theme?.palette?.font?.primary,
6583
- lineHeight: '32px'
6709
+ lineHeight: '32px',
6710
+ margin: '20px 0px'
6584
6711
  },
6585
6712
  addressContainer: {
6586
6713
  display: 'flex',
6587
6714
  alignItems: 'flex-start',
6588
6715
  flexDirection: 'column',
6589
- width: '85%',
6590
- position: 'relative',
6591
- paddingBottom: '55%'
6592
- // '& img': {
6593
- // width: '80%'
6594
- // }
6716
+ width: '100%',
6717
+ position: 'relative'
6595
6718
  },
6596
-
6597
6719
  telephoneImage: {
6598
6720
  width: '80%'
6599
6721
  },
6600
6722
  rightContainer: {
6601
6723
  width: '50%',
6724
+ display: 'flex',
6725
+ flexDirection: 'column',
6726
+ justifyContent: 'space-between',
6602
6727
  padding: '0 0 0 80px'
6603
6728
  },
6604
6729
  inputDiv: {
@@ -6612,16 +6737,16 @@ const useSectionStyles = createUseStyles(theme => ({
6612
6737
  background: theme?.palette?.background?.default,
6613
6738
  border: `1px solid ${theme?.palette?.border?.secondary}`,
6614
6739
  borderRadius: theme?.shape?.borderRadius?.regular,
6615
- padding: '14px 12px',
6740
+ // padding: '14px 12px',
6616
6741
  display: 'flex',
6617
6742
  fontWeight: '400',
6618
- fontSize: '16px',
6743
+ fontSize: theme.typography.fontSize.subHead,
6619
6744
  lineHeight: '20px',
6620
6745
  fontFamily: 'inherit',
6621
6746
  resize: 'none',
6622
6747
  '&::placeholder': {
6623
6748
  fontWeight: '400',
6624
- fontSize: '16px',
6749
+ fontSize: theme.typography.fontSize.subHead,
6625
6750
  lineHeight: '20px',
6626
6751
  color: theme?.palette?.font?.primary,
6627
6752
  fontFamily: theme?.typography?.fontFamily
@@ -6651,8 +6776,7 @@ const useSectionStyles = createUseStyles(theme => ({
6651
6776
  alignItems: 'center'
6652
6777
  },
6653
6778
  sectionContainer: {
6654
- margin: '26px 16px',
6655
- padding: '32px 16px'
6779
+ padding: '16px'
6656
6780
  },
6657
6781
  partialBackground: {
6658
6782
  height: '150px'
@@ -6670,15 +6794,17 @@ const useSectionStyles = createUseStyles(theme => ({
6670
6794
  padding: '0'
6671
6795
  },
6672
6796
  title: {
6673
- fontSize: '24px',
6674
- lineHeight: '32px',
6675
- letterSpacing: 'initial'
6797
+ lineHeight: '26px',
6798
+ letterSpacing: 'initial',
6799
+ textAlign: 'center'
6676
6800
  },
6677
6801
  subtitle: {
6678
- margin: '0 0 12px 0'
6802
+ margin: '0 0 12px 0',
6803
+ textAlign: 'center',
6804
+ lineHeight: '26px'
6679
6805
  },
6680
6806
  addressRow: {
6681
- padding: '12px 0'
6807
+ // padding: '12px 0'
6682
6808
  },
6683
6809
  addressContainer: {
6684
6810
  '& img': {
@@ -6686,7 +6812,7 @@ const useSectionStyles = createUseStyles(theme => ({
6686
6812
  }
6687
6813
  },
6688
6814
  inputDiv: {
6689
- margin: '0 0 10px 0'
6815
+ // margin: '0 0 10px 0'
6690
6816
  },
6691
6817
  inputField: {
6692
6818
  width: '100%',
@@ -6718,7 +6844,8 @@ function Contact({
6718
6844
  let [btnDisabled, setBtnDisabled] = useState(false);
6719
6845
  const [nodeData] = sectionData.components;
6720
6846
  const classes = useSectionStyles({
6721
- containerWidth
6847
+ containerWidth,
6848
+ isMobile
6722
6849
  });
6723
6850
  let formInitialValue = {
6724
6851
  name: nodeData?.nameField?.metadata?.value,
@@ -6774,6 +6901,10 @@ function Contact({
6774
6901
  className: classes.partialBackground
6775
6902
  }), /*#__PURE__*/React.createElement("div", {
6776
6903
  className: classes.sectionContainer
6904
+ }, /*#__PURE__*/React.createElement("div", {
6905
+ className: classes.contentContainer
6906
+ }, /*#__PURE__*/React.createElement("div", {
6907
+ className: classes.leftContainer
6777
6908
  }, /*#__PURE__*/React.createElement("h2", {
6778
6909
  className: classes.title
6779
6910
  }, /*#__PURE__*/React.createElement("span", {
@@ -6782,10 +6913,6 @@ function Contact({
6782
6913
  __html: nodeData?.title?.metadata?.value
6783
6914
  }
6784
6915
  })), /*#__PURE__*/React.createElement("div", {
6785
- className: classes.contentContainer
6786
- }, /*#__PURE__*/React.createElement("div", {
6787
- className: classes.leftContainer
6788
- }, /*#__PURE__*/React.createElement("div", {
6789
6916
  ref: nodeData?.subtitle?.refSetter,
6790
6917
  className: classes.subtitle,
6791
6918
  dangerouslySetInnerHTML: {
@@ -6888,7 +7015,9 @@ function Contact({
6888
7015
  messageValid: 1
6889
7016
  });
6890
7017
  }
6891
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
7018
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
7019
+ className: classes.btnContainer
7020
+ }, /*#__PURE__*/React.createElement(Button, {
6892
7021
  ref: nodeData?.cta?.refSetter,
6893
7022
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6894
7023
  value: 'Submitted'
@@ -6900,7 +7029,7 @@ function Contact({
6900
7029
  size: isMobile ? 'small' : 'medium',
6901
7030
  disabled: btnDisabled,
6902
7031
  name: "button"
6903
- }))))));
7032
+ })))))));
6904
7033
  }
6905
7034
 
6906
7035
  var index$5 = /*#__PURE__*/Object.freeze({
@@ -7222,7 +7351,7 @@ const SingleVideoSlide$1 = props => {
7222
7351
  dangerouslySetInnerHTML: {
7223
7352
  __html: data.title
7224
7353
  }
7225
- }), props?.orgId !== 294413 ? /*#__PURE__*/React.createElement("div", {
7354
+ }), /*#__PURE__*/React.createElement("div", {
7226
7355
  className: classes.courseDetailsTags
7227
7356
  }, /*#__PURE__*/React.createElement("div", {
7228
7357
  className: classes.courseDetailTag
@@ -7239,7 +7368,7 @@ const SingleVideoSlide$1 = props => {
7239
7368
  color: theme.palette.primary.main,
7240
7369
  width: "20px",
7241
7370
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7242
- })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))) : null, /*#__PURE__*/React.createElement("p", {
7371
+ })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7243
7372
  ref: data?.videoTextContent?.refSetter,
7244
7373
  className: classes.courseDetailContent,
7245
7374
  dangerouslySetInnerHTML: {
@@ -7324,7 +7453,6 @@ function CoursePromotionPage$1({
7324
7453
  const classes = useWebinarPromotionPage({
7325
7454
  containerWidth
7326
7455
  });
7327
- console.log('extraprops', extraProps);
7328
7456
  return /*#__PURE__*/React.createElement("div", {
7329
7457
  className: classes.webinarSuperContainer
7330
7458
  }, /*#__PURE__*/React.createElement("div", {
@@ -7335,8 +7463,7 @@ function CoursePromotionPage$1({
7335
7463
  data: sectionData.components[0].metadata,
7336
7464
  webinarCtaClick: extraProps.webinarCtaClick,
7337
7465
  conversions: extraProps.conversions,
7338
- sectionIndex: sectionIndex,
7339
- orgId: extraProps?.org_id
7466
+ sectionIndex: sectionIndex
7340
7467
  }))));
7341
7468
  }
7342
7469
 
@@ -7873,7 +8000,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
7873
8000
 
7874
8001
  const useFormPageStyles = createUseStyles(theme => ({
7875
8002
  formPageSection: {
7876
- padding: '35px 70px',
8003
+ padding: ({
8004
+ isMobile
8005
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7877
8006
  background: '#F4F9FF',
7878
8007
  '&, & *, & *:before, & *:after': {
7879
8008
  fontFamily: theme?.typography?.fontFamily,
@@ -7884,77 +8013,82 @@ const useFormPageStyles = createUseStyles(theme => ({
7884
8013
  textAlign: 'center'
7885
8014
  },
7886
8015
  formPageTitle: {
7887
- fontSize: '50px',
7888
- fontWeight: '700'
8016
+ fontSize: theme.typography.fontSize.h2,
8017
+ fontWeight: theme.typography.fontWeight.bold
7889
8018
  },
7890
8019
  formPageSubtitle: {
7891
- marginTop: '16px',
7892
- fontSize: '16px',
8020
+ marginTop: '8px',
8021
+ fontSize: theme.typography.fontSize.h6,
7893
8022
  lineHeight: '23px',
7894
8023
  color: 'rgba(51, 51, 51, 0.5)',
7895
- marginBottom: '32px'
8024
+ marginBottom: theme.spacing.margin.tiny
7896
8025
  },
7897
8026
  formPageFormContainer: {
7898
- marginTop: '32px',
7899
8027
  '& form': {
7900
- padding: '35px 140px',
8028
+ padding: '72px',
7901
8029
  background: '#FFFFFF',
7902
8030
  borderRadius: '8px',
7903
8031
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
7904
8032
  }
7905
8033
  },
7906
8034
  inputField: {
7907
- marginTop: '20px',
7908
- padding: '20px',
7909
- border: '1px solid #D8E0F0',
7910
- borderRadius: '16px'
8035
+ marginTop: '12px'
8036
+ // padding: '12px 16px',
8037
+ // border: '1px solid #D8E0F0',
8038
+ // borderRadius: '16px'
7911
8039
  },
8040
+
7912
8041
  inputFieldLabel: {
7913
8042
  color: '#333',
7914
- fontSize: '20px',
8043
+ fontSize: theme.typography.fontSize.subHead,
8044
+ fontWeight: theme.typography.fontWeight.semiBold,
7915
8045
  display: 'block',
7916
- marginBottom: '10px'
8046
+ marginTop: '20px',
8047
+ marginBottom: '12px'
7917
8048
  },
7918
8049
  inputFieldControl: {
7919
8050
  width: '100%',
7920
- height: '50px',
7921
8051
  borderRadius: '8px',
7922
8052
  border: '1px solid #D8E0F0',
7923
- padding: '5px 10px',
8053
+ padding: '12px 16px',
7924
8054
  color: '#7D8592',
7925
- fontSize: '16px'
8055
+ fontSize: theme.typography.fontSize.subHead
7926
8056
  },
7927
8057
  checkboxField: {
7928
- marginTop: '20px',
7929
- padding: '20px',
7930
- border: '1px solid #D8E0F0',
7931
- borderRadius: '8px'
8058
+ // padding: '20px',
8059
+ // border: '1px solid #D8E0F0',
8060
+ // borderRadius: '8px'
7932
8061
  },
7933
8062
  checkBoxFieldLabel: {
7934
8063
  color: '#333',
7935
- fontSize: '20px',
7936
- margin: '10px 0'
8064
+ fontSize: theme.typography.fontSize.subHead,
8065
+ fontWeight: theme.typography.fontWeight.semiBold,
8066
+ marginTop: '20px',
8067
+ marginBottom: '12px'
7937
8068
  },
7938
8069
  inputFieldRequired: {
7939
8070
  color: '#F41828'
7940
8071
  },
7941
8072
  checkboxFieldControl: {
7942
- padding: '6px 0',
8073
+ padding: '8px 0',
7943
8074
  '& label': {
7944
- fontFamily: '16px',
8075
+ fontSize: theme.typography.fontSize.subHead,
7945
8076
  marginLeft: '10px',
7946
8077
  color: '#7D8592'
7947
8078
  }
7948
8079
  },
7949
8080
  submitBtnContainer: {
7950
- marginTop: '20px',
8081
+ marginTop: theme.spacing.margin.tiny,
8082
+ display: 'flex',
8083
+ alignItems: 'center',
8084
+ justifyContent: 'center',
7951
8085
  width: '100%',
7952
8086
  margin: '0 auto',
7953
8087
  '& button': {
7954
- height: '44px',
7955
- padding: '10px 40px',
8088
+ // height: '44px',
8089
+ padding: '16px 24px',
7956
8090
  color: '#FFFFFF',
7957
- fontSize: '16px',
8091
+ fontSize: theme.typography.fontSize.subHead,
7958
8092
  cursor: 'pointer',
7959
8093
  borderRadius: '8px'
7960
8094
  }
@@ -7969,8 +8103,14 @@ const useFormPageStyles = createUseStyles(theme => ({
7969
8103
  },
7970
8104
  formPageFormContainer: {
7971
8105
  '& form': {
7972
- padding: '24px'
8106
+ padding: '16px'
7973
8107
  }
8108
+ },
8109
+ inputFieldLabel: {
8110
+ marginBottom: '8px'
8111
+ },
8112
+ checkBoxFieldLabel: {
8113
+ marginBottom: '8px'
7974
8114
  }
7975
8115
  }
7976
8116
  }));
@@ -8017,13 +8157,16 @@ const FormPage = ({
8017
8157
  extraProps = {}
8018
8158
  }) => {
8019
8159
  const [formData, setFormData] = useState({});
8020
- const classes = useFormPageStyles();
8021
8160
  const [formSubmitted, setformSubmitted] = useState(false);
8022
8161
  const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
8023
8162
  const {
8024
8163
  _id,
8025
- baseURLs
8164
+ baseURLs,
8165
+ isMobile
8026
8166
  } = useContext(PageContext);
8167
+ const classes = useFormPageStyles({
8168
+ isMobile
8169
+ });
8027
8170
  const handleSubmit = async e => {
8028
8171
  e.preventDefault();
8029
8172
  let formResponse = [];
@@ -8230,16 +8373,18 @@ const useTilesStyles = createUseStyles(theme => {
8230
8373
  alignItems: 'center',
8231
8374
  display: 'flex',
8232
8375
  flexDirection: 'column',
8233
- marginTop: '20px'
8376
+ padding: ({
8377
+ isMobile
8378
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8234
8379
  },
8235
8380
  tileDiv: {
8236
8381
  width: '236px',
8237
- height: '160px',
8382
+ // height: '160px',
8383
+ aspectRatio: '3/2',
8238
8384
  position: 'relative',
8239
8385
  borderRadius: '16px',
8240
8386
  overflow: 'hidden',
8241
- cursor: 'pointer',
8242
- margin: '1rem'
8387
+ cursor: 'pointer'
8243
8388
  },
8244
8389
  tileImg: {
8245
8390
  objectFit: 'cover',
@@ -8254,8 +8399,8 @@ const useTilesStyles = createUseStyles(theme => {
8254
8399
  top: '12%',
8255
8400
  left: '7%',
8256
8401
  color: 'white',
8257
- fontWeight: '600',
8258
- fontSize: '20px',
8402
+ fontWeight: theme.typography.fontWeight.semiBold,
8403
+ fontSize: theme.typography.fontSize.h5,
8259
8404
  width: '150px'
8260
8405
  },
8261
8406
  row: {
@@ -8263,25 +8408,28 @@ const useTilesStyles = createUseStyles(theme => {
8263
8408
  flexDirection: 'row',
8264
8409
  justifyContent: 'center',
8265
8410
  flexWrap: 'wrap',
8266
- width: '85%',
8267
- marginBottom: '3rem'
8411
+ width: '100%',
8412
+ gap: '24px'
8268
8413
  },
8269
8414
  header: {
8270
- fontWeight: '700',
8271
- fontSize: '46px',
8415
+ fontWeight: theme.typography.fontWeight.bold,
8416
+ fontSize: theme.typography.fontSize.h2,
8272
8417
  lineHeight: '46px',
8273
- marginBottom: '1rem',
8274
8418
  textAlign: 'center',
8275
- marginTop: '3rem',
8276
8419
  color: '#2D2D2D'
8277
8420
  },
8278
8421
  headerTitle: {
8279
- fontWeight: '400',
8280
- fontSize: '24px',
8422
+ fontWeight: theme.typography.fontWeight.regular,
8423
+ fontSize: theme.typography.fontSize.subHead,
8281
8424
  lineHeight: '46px',
8282
8425
  color: '#7D8592',
8283
- marginBottom: '3rem',
8426
+ marginBottom: theme.spacing.margin.tiny,
8284
8427
  textAlign: 'center'
8428
+ },
8429
+ '@media screen and (max-width: 767px)': {
8430
+ tileDiv: {
8431
+ width: 'calc(53% - 24px)'
8432
+ }
8285
8433
  }
8286
8434
  };
8287
8435
  });
@@ -8290,7 +8438,6 @@ function Tiles({
8290
8438
  sectionData,
8291
8439
  sectionIndex
8292
8440
  }) {
8293
- const classes = useTilesStyles({});
8294
8441
  const {
8295
8442
  isMobile,
8296
8443
  layout: {
@@ -8299,6 +8446,9 @@ function Tiles({
8299
8446
  isPreview,
8300
8447
  isEdit
8301
8448
  } = useContext(PageContext);
8449
+ const classes = useTilesStyles({
8450
+ isMobile
8451
+ });
8302
8452
  const nodeData = sectionData.components;
8303
8453
  const tilesList = nodeData[0]?.tilesList.components;
8304
8454
  const handleClick = value => {