diy-template-components 0.2.76 → 0.2.77

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
@@ -356,7 +356,7 @@ const buttonStyles = createUseStyles(theme => ({
356
356
  } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
357
357
  border: ({
358
358
  disabled
359
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
359
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
360
360
  textDecoration: 'none',
361
361
  cursor: ({
362
362
  disabled
@@ -579,7 +579,7 @@ var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20v
579
579
 
580
580
  var clpLogo = "478367302082f28d.svg";
581
581
 
582
- var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%2297%22%20height%3D%2266%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%3E%3Cpath%20d%3D%22M8%200.5C3.86%200.5%200.5%203.86%200.5%208C0.5%2012.14%203.86%2015.5%208%2015.5C12.14%2015.5%2015.5%2012.14%2015.5%208C15.5%203.86%2012.14%200.5%208%200.5ZM6.5%2011.375V4.625L11%208L6.5%2011.375Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
582
+ var videoPlay = "data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8%200.5C3.86%200.5%200.5%203.86%200.5%208C0.5%2012.14%203.86%2015.5%208%2015.5C12.14%2015.5%2015.5%2012.14%2015.5%208C15.5%203.86%2012.14%200.5%208%200.5ZM6.5%2011.375V4.625L11%208L6.5%2011.375Z%22%20fill%3D%22%234E93FF%22%2F%3E%3C%2Fsvg%3E";
583
583
 
584
584
  var stockGrowth = "data:image/svg+xml,%3Csvg%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M44%205.5H4C3.18%205.5%202.5%204.82%202.5%204C2.5%203.18%203.18%202.5%204%202.5H44C44.82%202.5%2045.5%203.18%2045.5%204C45.5%204.82%2044.82%205.5%2044%205.5Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M33.34%2044.68C33.08%2045.2%2032.54%2045.5%2032%2045.5C31.78%2045.5%2031.54%2045.44%2031.34%2045.34L24%2041.68L16.66%2045.34C16.46%2045.44%2016.22%2045.5%2016%2045.5C15.46%2045.5%2014.92%2045.2%2014.66%2044.68C14.28%2043.92%2014.58%2043.02%2015.34%2042.66L22.5%2039.08V34H25.5V39.08L32.66%2042.66C33.42%2043.02%2033.72%2043.92%2033.34%2044.68Z%22%20fill%3D%22%23549BF6%22%2F%3E%3Cpath%20d%3D%22M6%204V28.2C6%2032%208%2034%2011.8%2034H36.2C40%2034%2042%2032%2042%2028.2V4H6ZM33.96%2017.16L27.66%2022.42C27.08%2022.9%2026.34%2023.1%2025.64%2022.98C24.92%2022.86%2024.3%2022.42%2023.92%2021.78L21.82%2018.28L15.96%2023.16C15.68%2023.4%2015.34%2023.5%2015%2023.5C14.58%2023.5%2014.14%2023.32%2013.84%2022.96C13.3%2022.32%2013.4%2021.38%2014.04%2020.84L20.34%2015.58C20.92%2015.1%2021.66%2014.9%2022.36%2015.02C23.08%2015.14%2023.7%2015.58%2024.08%2016.22L26.18%2019.72L32.04%2014.84C32.68%2014.3%2033.62%2014.4%2034.16%2015.04C34.68%2015.68%2034.6%2016.62%2033.96%2017.16Z%22%20fill%3D%22%23549BF6%22%2F%3E%3C%2Fsvg%3E";
585
585
 
@@ -1912,20 +1912,100 @@ const palettes = {
1912
1912
  rust: rustPalette
1913
1913
  };
1914
1914
 
1915
- function getTheme(colorTheme = 'blue', fontFamily = 'Arial') {
1915
+ const baseFactor = 8;
1916
+ const mobileMargin = {
1917
+ tiny: baseFactor * 2,
1918
+ small: baseFactor * 2,
1919
+ regular: baseFactor * 3,
1920
+ medium: baseFactor * 6
1921
+ };
1922
+ const margin = {
1923
+ tiny: baseFactor * 4,
1924
+ small: baseFactor * 4 * 2,
1925
+ regular: baseFactor * 4 * 4,
1926
+ medium: baseFactor * 4 * 6,
1927
+ large: baseFactor * 4 * 8,
1928
+ xLarge: baseFactor * 4 * 12
1929
+ };
1930
+ const mobilePadding = {
1931
+ tiny: baseFactor * 2,
1932
+ // 16px
1933
+ small: baseFactor * 2,
1934
+ //16px
1935
+ regular: baseFactor * 3,
1936
+ // 24px
1937
+ medium: baseFactor * 6 // 48px
1938
+ };
1939
+
1940
+ const padding = {
1941
+ minute: baseFactor * 2,
1942
+ // 16px
1943
+ tiny: baseFactor * 4,
1944
+ // 32px
1945
+ small: baseFactor * 4 * 2,
1946
+ // 64px
1947
+ xSmall: baseFactor * 3 * 3,
1948
+ // 72px
1949
+ regular: baseFactor * 4 * 3,
1950
+ // 96 px
1951
+ medium: baseFactor * 4 * 4,
1952
+ // 128 px
1953
+ large: baseFactor * 4 * 5,
1954
+ // 160px
1955
+ xLarge: baseFactor * 4 * 6 // 192px
1956
+ };
1957
+
1958
+ const fontSize = {
1959
+ h1: 72,
1960
+ h2: 56,
1961
+ h3: 40,
1962
+ h4: 32,
1963
+ h5: 24,
1964
+ h6: 20,
1965
+ subHead: 16,
1966
+ body: 14
1967
+ };
1968
+ const fontSizeMob = {
1969
+ h1: 40,
1970
+ h2: 20,
1971
+ h3: 32,
1972
+ h4: 16,
1973
+ h5: 16,
1974
+ h6: 14,
1975
+ subHead: 14,
1976
+ body: 14
1977
+ };
1978
+ const fontWeight = {
1979
+ light: 300,
1980
+ regular: 400,
1981
+ medium: 500,
1982
+ semiBold: 600,
1983
+ bold: 700,
1984
+ superBold: 900
1985
+ };
1986
+
1987
+ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
1988
+ console.log(isMobile, "isMobileisMobile");
1916
1989
  const palette = palettes[colorTheme] || palettes['blue'];
1917
1990
  const typography = {
1918
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
1991
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
1992
+ fontSize: isMobile ? fontSizeMob : fontSize,
1993
+ fontWeight
1919
1994
  };
1920
1995
  const shape = {
1921
1996
  borderRadius
1922
1997
  };
1998
+ const spacing = {
1999
+ padding: isMobile ? mobilePadding : padding,
2000
+ margin: isMobile ? mobileMargin : margin
2001
+ };
1923
2002
  return {
1924
2003
  palette,
1925
2004
  shape,
1926
2005
  typography,
1927
2006
  shadows: generateShadows(palette),
1928
- borders: generateBorders(palette)
2007
+ borders: generateBorders(palette),
2008
+ spacing
1929
2009
  };
1930
2010
  }
1931
2011
 
@@ -2129,17 +2209,22 @@ function PageRenderer$1({
2129
2209
  const useSectionStyles$8 = createUseStyles(theme => ({
2130
2210
  bannerCarouselRightSection: {
2131
2211
  position: 'relative',
2212
+ padding: ({
2213
+ isMobile
2214
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2215
+ backgroundColor: theme?.palette?.background?.primary,
2132
2216
  '&, & *, & *:before, & *:after': {
2133
2217
  fontFamily: theme?.typography?.fontFamily,
2134
2218
  boxSizing: 'border-box'
2135
- },
2136
- '& h2,& h3': {
2137
- fontWeight: '500',
2138
- '& b,& strong': {
2139
- fontWeight: '700'
2140
- }
2141
2219
  }
2220
+ // '& h2,& h3': {
2221
+ // fontWeight: '500',
2222
+ // '& b,& strong': {
2223
+ // fontWeight: '700'
2224
+ // }
2225
+ // }
2142
2226
  },
2227
+
2143
2228
  sectionContainer: {
2144
2229
  margin: '0 auto',
2145
2230
  maxWidth: ({
@@ -2152,24 +2237,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2152
2237
  justifyContent: 'center',
2153
2238
  position: 'relative'
2154
2239
  },
2155
- partialBackground: {
2156
- width: '61%',
2157
- position: 'absolute',
2158
- backgroundColor: theme?.palette?.background?.primary,
2159
- height: '100%',
2160
- top: '0',
2161
- left: '0'
2162
- },
2163
2240
  contentContainer: {
2164
2241
  position: 'relative',
2165
2242
  width: '100%',
2166
2243
  zIndex: '1',
2167
- display: 'grid',
2168
- gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2169
- maxWidth: '100%'
2244
+ // display: 'grid',
2245
+ // gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2246
+ display: 'flex',
2247
+ flexDirection: 'row',
2248
+ alignItems: 'center',
2249
+ maxWidth: '100%',
2250
+ gap: '72px'
2170
2251
  },
2171
2252
  textContainer: {
2172
- padding: '140px 18%',
2173
2253
  textAlign: 'left',
2174
2254
  margin: '0 auto',
2175
2255
  maxWidth: '100%'
@@ -2177,23 +2257,28 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2177
2257
  imageContainer: {
2178
2258
  width: '100%',
2179
2259
  position: 'relative',
2180
- height: '90%'
2260
+ height: '100%',
2261
+ display: 'flex',
2262
+ justifyContent: 'center',
2263
+ alignItems: 'center',
2264
+ borderRadius: '8px',
2265
+ overflow: 'hidden'
2181
2266
  },
2182
2267
  subTitleHeading: {
2183
2268
  marginBottom: '8px',
2184
- fontSize: '16px',
2269
+ fontSize: theme.typography.fontSize.subHead,
2185
2270
  color: theme?.palette?.font?.tertiary,
2186
2271
  wordBreak: 'break-word',
2187
2272
  maxWidth: '100%'
2188
2273
  },
2189
2274
  heading: {
2190
2275
  margin: '0',
2191
- fontSize: '72px',
2276
+ fontSize: theme.typography.fontSize.h1,
2192
2277
  color: theme?.palette?.font?.default,
2193
2278
  wordBreak: 'break-word'
2194
2279
  },
2195
2280
  description: {
2196
- margin: '40px 0',
2281
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2197
2282
  color: theme?.palette?.font?.primary,
2198
2283
  lineHeight: '24px',
2199
2284
  wordBreak: 'break-word'
@@ -2208,30 +2293,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2208
2293
  display: 'flex',
2209
2294
  gap: '20px',
2210
2295
  justifyContent: 'center',
2211
- bottom: '25px',
2212
- position: 'absolute',
2296
+ marginTop: theme.spacing.margin.tiny,
2213
2297
  width: '100%'
2214
2298
  },
2299
+ partialBackground: {
2300
+ display: 'none'
2301
+ },
2215
2302
  '@media screen and (max-width: 767px)': {
2216
2303
  partialBackground: {
2217
2304
  display: 'none'
2218
2305
  },
2219
- sectionContainer: {
2220
- paddingBottom: '50px'
2221
- },
2222
2306
  contentContainer: {
2223
2307
  display: 'flex',
2224
- flexFlow: 'column-reverse',
2225
- paddingBottom: '20px'
2308
+ flexFlow: 'column',
2309
+ paddingBottom: '48px',
2310
+ gap: '24px'
2226
2311
  },
2227
2312
  textContainer: {
2228
- padding: '20px 20px 0'
2229
- },
2230
- heading: {
2231
- fontSize: '40px'
2232
- },
2233
- description: {
2234
- margin: '16px 0'
2313
+ textAlign: 'center'
2235
2314
  },
2236
2315
  linkButton: {
2237
2316
  padding: '12px 16px'
@@ -2264,7 +2343,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2264
2343
  '& .slick-dots': {
2265
2344
  bottom: ({
2266
2345
  buttonContainerClass
2267
- } = {}) => !!buttonContainerClass ? '20px' : 'unset',
2346
+ } = {}) => !!buttonContainerClass ? '10px' : 'unset',
2268
2347
  position: ({
2269
2348
  buttonContainerClass
2270
2349
  } = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
@@ -2274,7 +2353,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2274
2353
  textAlign: 'center',
2275
2354
  paddingBottom: '0',
2276
2355
  '& ul': {
2277
- margin: '0',
2356
+ margin: theme.spacing.margin.regular,
2278
2357
  padding: '0',
2279
2358
  '& li': {
2280
2359
  width: 'unset',
@@ -2298,7 +2377,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2298
2377
  display: 'flex',
2299
2378
  gap: '20px',
2300
2379
  justifyContent: 'center',
2301
- marginTop: '40px'
2380
+ marginTop: theme.spacing.margin.tiny
2302
2381
  },
2303
2382
  dots: {
2304
2383
  width: '4px',
@@ -2315,6 +2394,15 @@ const useCarouselStyles = createUseStyles(theme => ({
2315
2394
  background: ({
2316
2395
  inverted
2317
2396
  } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2397
+ },
2398
+ '@media screen and (max-width: 767px)': {
2399
+ sliderClass: {
2400
+ '& .slick-dots': {
2401
+ '& ul': {
2402
+ margin: '0px'
2403
+ }
2404
+ }
2405
+ }
2318
2406
  }
2319
2407
  }));
2320
2408
 
@@ -2474,7 +2562,8 @@ function Section$4({
2474
2562
  isCustomWebsite
2475
2563
  } = useContext(PageContext);
2476
2564
  const classes = useSectionStyles$8({
2477
- isCustomWebsite
2565
+ isCustomWebsite,
2566
+ isMobile
2478
2567
  });
2479
2568
  return /*#__PURE__*/React.createElement("div", {
2480
2569
  className: classes.centerData
@@ -2523,12 +2612,14 @@ function BannerCarouselRight({
2523
2612
  sectionIndex
2524
2613
  }) {
2525
2614
  const {
2615
+ isMobile,
2526
2616
  layout: {
2527
2617
  containerWidth
2528
2618
  }
2529
2619
  } = useContext(PageContext);
2530
2620
  const classes = useSectionStyles$8({
2531
- containerWidth
2621
+ containerWidth,
2622
+ isMobile
2532
2623
  });
2533
2624
  const [{
2534
2625
  bannerCarousel
@@ -2557,7 +2648,9 @@ var index$l = /*#__PURE__*/Object.freeze({
2557
2648
  const useSectionStyles$7 = createUseStyles(theme => ({
2558
2649
  section: {
2559
2650
  width: '100%',
2560
- padding: '70px 0',
2651
+ padding: ({
2652
+ isMobile
2653
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2561
2654
  display: 'flex',
2562
2655
  justifyContent: 'center',
2563
2656
  flexDirection: 'column',
@@ -2568,10 +2661,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2568
2661
  boxSizing: 'border-box'
2569
2662
  },
2570
2663
  '& h2,& h3': {
2571
- fontWeight: '500',
2572
- '& b,& strong': {
2573
- fontWeight: '700'
2574
- }
2664
+ marginTop: '0'
2575
2665
  }
2576
2666
  },
2577
2667
  sectionContainer: {
@@ -2582,16 +2672,18 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2582
2672
  },
2583
2673
  subTitleHeading: {
2584
2674
  marginBottom: '8px',
2585
- fontSize: '16px',
2675
+ fontSize: theme.typography.fontSize.subHead,
2586
2676
  color: theme?.palette?.font?.tertiary,
2587
2677
  alignItems: 'center',
2588
2678
  textAlign: 'center',
2589
- wordBreak: 'break-word'
2679
+ wordBreak: 'break-word',
2680
+ textTransform: 'uppercase'
2590
2681
  },
2591
2682
  heading: {
2592
- margin: '0',
2593
- fontSize: '72px',
2683
+ marginBottom: theme.spacing.margin.tiny,
2684
+ fontSize: theme.typography.fontSize.h2,
2594
2685
  color: theme?.palette?.font?.default,
2686
+ fontWeight: theme.typography.fontWeight.bold,
2595
2687
  textAlign: 'center',
2596
2688
  wordBreak: 'break-word'
2597
2689
  },
@@ -2612,7 +2704,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2612
2704
  borderRadius: theme?.shape?.borderRadius?.regular,
2613
2705
  overflow: 'hidden',
2614
2706
  minHeight: 200,
2615
- margin: '16px 0',
2707
+ marginBottom: theme.spacing.margin.small,
2616
2708
  position: 'relative',
2617
2709
  '&:nth-child(2n)': {
2618
2710
  alignSelf: 'flex-end',
@@ -2620,7 +2712,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2620
2712
  right: '0'
2621
2713
  },
2622
2714
  '& $contentText': {
2623
- marginRight: '200px'
2715
+ marginRight: '170px'
2624
2716
  }
2625
2717
  },
2626
2718
  '&:nth-child(2n+1)': {
@@ -2629,7 +2721,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2629
2721
  left: '0'
2630
2722
  },
2631
2723
  '& $contentText': {
2632
- marginLeft: '200px'
2724
+ marginLeft: '170px'
2633
2725
  }
2634
2726
  },
2635
2727
  '&:nth-child(7n+1) $contentNumber': {
@@ -2663,42 +2755,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2663
2755
  display: 'flex',
2664
2756
  alignItems: 'center',
2665
2757
  justifyContent: 'center',
2758
+ padding: '48px',
2666
2759
  height: '100%',
2667
2760
  color: theme?.palette?.font?.default,
2668
- width: '200px',
2669
2761
  wordBreak: 'break-word'
2670
2762
  },
2671
2763
  contentText: {
2672
- padding: '20px 0'
2764
+ padding: theme.spacing.padding.tiny
2673
2765
  },
2674
2766
  contentHeading: {
2675
2767
  fontStyle: 'normal',
2676
- fontSize: '24px',
2768
+ fontSize: theme.typography.fontSize.h5,
2769
+ fontWeight: theme.typography.fontWeight.bold,
2677
2770
  lineHeight: '32px',
2771
+ marginBottom: '8px',
2678
2772
  color: theme?.palette?.font?.default,
2679
- margin: '0 48px',
2680
2773
  wordBreak: 'break-word'
2681
2774
  },
2682
2775
  contentPara: {
2683
2776
  fontStyle: 'normal',
2684
- fontSize: '16px',
2777
+ fontSize: theme.typography.fontSize.subHead,
2685
2778
  lineHeight: '32px',
2686
2779
  color: theme?.palette?.font?.primary,
2687
- margin: '20px 48px 0 48px',
2688
2780
  wordBreak: 'break-word'
2689
2781
  },
2690
2782
  '@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
2783
  contentContainer: {
2703
2784
  width: '100%'
2704
2785
  },
@@ -2706,36 +2787,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2706
2787
  display: 'flex',
2707
2788
  flexDirection: 'column',
2708
2789
  borderRadius: theme.shape.borderRadius.large,
2709
- margin: '20px 0 10px 0',
2710
2790
  width: '100%',
2711
2791
  height: 'auto',
2712
2792
  '&:nth-child(2n)': {
2713
2793
  marginLeft: '0',
2714
2794
  '& $contentText': {
2715
2795
  marginRight: '0',
2716
- alignSelf: 'flex-start',
2717
- padding: '0'
2796
+ alignSelf: 'flex-start'
2797
+ // padding: '0'
2718
2798
  }
2719
2799
  },
2800
+
2720
2801
  '&:nth-child(2n+1)': {
2721
2802
  marginRight: '0',
2722
2803
  '& $contentText': {
2723
2804
  marginLeft: '0',
2724
- alignSelf: 'flex-start',
2725
- padding: '0'
2805
+ alignSelf: 'flex-start'
2806
+ // padding: '0'
2726
2807
  }
2727
2808
  }
2728
2809
  },
2810
+
2729
2811
  contentNumber: {
2730
2812
  width: '100%',
2731
- padding: '40px 0',
2813
+ padding: '24px',
2732
2814
  position: 'static'
2733
- },
2734
- contentHeading: {
2735
- margin: '20px 20px 0 20px'
2736
- },
2737
- contentPara: {
2738
- margin: '16px 20px 24px 20px'
2739
2815
  }
2740
2816
  }
2741
2817
  }));
@@ -2746,10 +2822,12 @@ function List({
2746
2822
  const {
2747
2823
  layout: {
2748
2824
  containerWidth
2749
- }
2825
+ },
2826
+ isMobile
2750
2827
  } = useContext(PageContext);
2751
2828
  const classes = useSectionStyles$7({
2752
- containerWidth
2829
+ containerWidth,
2830
+ isMobile
2753
2831
  });
2754
2832
  const [nodeData] = sectionData.components;
2755
2833
  const getNumber = val => {
@@ -2813,29 +2891,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2813
2891
  '&, & *, & *:before, & *:after': {
2814
2892
  fontFamily: theme?.typography?.fontFamily,
2815
2893
  boxSizing: 'border-box'
2816
- },
2817
- '& h2,& h3': {
2818
- fontWeight: '500',
2819
- '& b,& strong': {
2820
- fontWeight: '700'
2821
- }
2822
2894
  }
2895
+ // '& h2,& h3': {
2896
+ // fontWeight: '500',
2897
+ // '& b,& strong': {
2898
+ // fontWeight: '700'
2899
+ // }
2900
+ // }
2823
2901
  },
2902
+
2824
2903
  sectionContainer: {
2825
- margin: '0 auto',
2826
2904
  width: '100%',
2827
2905
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
2828
2906
  position: 'absolute',
2829
- zIndex: '9'
2907
+ zIndex: '9',
2908
+ height: '100%'
2830
2909
  },
2831
2910
  absoluteButtons: {
2832
2911
  display: 'flex',
2833
2912
  gap: '20px',
2834
2913
  justifyContent: 'center',
2835
- bottom: '25px',
2914
+ bottom: '10%',
2836
2915
  position: 'absolute',
2837
2916
  width: '100%'
2838
2917
  },
2918
+ buttonClass: {
2919
+ margin: `${theme.spacing.margin.tiny}px 0px`
2920
+ },
2839
2921
  contentContainer: {
2840
2922
  // padding: '100px 0',
2841
2923
  // height: '100%',
@@ -2871,27 +2953,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2871
2953
  height: '100%'
2872
2954
  },
2873
2955
  textContainer: {
2874
- padding: '100px 0',
2875
- margin: '0 auto',
2876
- width: '80%'
2956
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2957
+ // margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
2958
+ width: '100%',
2959
+ height: '100%',
2960
+ display: 'flex',
2961
+ justifyContent: 'center',
2962
+ alignItems: 'center',
2963
+ flexDirection: 'column'
2877
2964
  },
2878
2965
  subTitleHeading: {
2879
2966
  color: theme?.palette?.font?.invertedDefault,
2880
2967
  marginBottom: '8px',
2881
- fontSize: '16px',
2968
+ fontSize: theme.typography.fontSize.subHead,
2882
2969
  wordBreak: 'break-word'
2883
2970
  },
2884
2971
  heading: {
2885
2972
  margin: '0',
2886
- fontSize: '62px',
2973
+ fontSize: theme.typography.fontSize.h1,
2887
2974
  color: theme?.palette?.font?.invertedDefault,
2888
2975
  wordBreak: 'break-word'
2889
2976
  },
2890
2977
  description: {
2891
- margin: '40px 0',
2978
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2892
2979
  color: theme?.palette?.font?.invertedDefault,
2893
2980
  lineHeight: '24px',
2894
- wordBreak: 'break-word'
2981
+ wordBreak: 'break-word',
2982
+ fontSize: theme.typography.fontSize.subHead
2895
2983
  },
2896
2984
  sideBannerImage: {
2897
2985
  width: '100%',
@@ -2909,22 +2997,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2909
2997
  justifyContent: 'center',
2910
2998
  padding: '0px'
2911
2999
  },
2912
- textContainer: {
2913
- padding: '20px 20px',
2914
- height: '100%',
2915
- width: '100%'
2916
- // backgroundColor: theme?.palette?.background?.primary
2917
- },
2918
-
3000
+ // textContainer: {
3001
+ // padding: '20px 20px',
3002
+ // height: '100%',
3003
+ // width: '100%'
3004
+ // // backgroundColor: theme?.palette?.background?.primary
3005
+ // },
2919
3006
  subTitleHeading: {
2920
3007
  color: theme?.palette?.font?.tertiary
2921
3008
  },
2922
3009
  heading: {
2923
- fontSize: '40px',
2924
3010
  color: theme?.palette?.font?.default
2925
3011
  },
2926
3012
  description: {
2927
- margin: '16px 0',
2928
3013
  color: theme?.palette?.font?.primary
2929
3014
  },
2930
3015
  centerBgImageContainer: {
@@ -2991,12 +3076,14 @@ const Section$3 = ({
2991
3076
  dangerouslySetInnerHTML: {
2992
3077
  __html: nodeData.description.metadata.value
2993
3078
  }
2994
- }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
3079
+ }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
3080
+ className: classes.buttonClass
3081
+ }, /*#__PURE__*/React.createElement(Button, {
2995
3082
  ref: nodeData?.cta?.refSetter,
2996
3083
  data: nodeData.cta.metadata,
2997
3084
  type: nodeData?.cta?.metadata?.type,
2998
3085
  size: isMobile ? 'small' : 'medium'
2999
- })) : null), /*#__PURE__*/React.createElement("div", {
3086
+ }))) : null), /*#__PURE__*/React.createElement("div", {
3000
3087
  className: classes?.centerBgImageContainer
3001
3088
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3002
3089
  src: nodeData.image.metadata.value,
@@ -3038,15 +3125,15 @@ var index$j = /*#__PURE__*/Object.freeze({
3038
3125
  const useSectionStyles$5 = createUseStyles(theme => {
3039
3126
  return {
3040
3127
  section: {
3041
- paddingBottom: '70px',
3128
+ paddingBottom: theme?.spacing?.padding?.regular,
3042
3129
  '&, & *, & *:before, & *:after': {
3043
3130
  fontFamily: theme?.typography?.fontFamily,
3044
3131
  boxSizing: 'border-box'
3045
3132
  },
3046
3133
  '& h2,& h3': {
3047
- fontWeight: '500',
3134
+ fontWeight: theme?.typography?.fontWeight?.medium,
3048
3135
  '& b,& strong': {
3049
- fontWeight: '700'
3136
+ fontWeight: theme?.typography?.fontWeight?.bold
3050
3137
  }
3051
3138
  }
3052
3139
  },
@@ -3060,7 +3147,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3060
3147
  display: 'flex',
3061
3148
  alignItems: 'center',
3062
3149
  justifyContent: 'center',
3063
- padding: '140px 70px 0'
3150
+ padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3064
3151
  },
3065
3152
  imageContainerDiv: {
3066
3153
  width: '50%',
@@ -3095,20 +3182,20 @@ const useSectionStyles$5 = createUseStyles(theme => {
3095
3182
  objectFit: 'cover'
3096
3183
  },
3097
3184
  textContainer: {
3098
- padding: '0 60px',
3185
+ padding: `0 ${theme?.spacing?.padding?.xSmall}px`,
3099
3186
  textAlign: 'left',
3100
3187
  margin: '0 auto',
3101
3188
  width: '50%'
3102
3189
  },
3103
3190
  subTitleHeading: {
3104
3191
  marginBottom: '8px',
3105
- fontSize: '16px',
3192
+ fontSize: `${theme?.typography?.fontSize?.subHead}px`,
3106
3193
  color: theme?.palette?.font?.tertiary,
3107
3194
  wordBreak: 'break-word'
3108
3195
  },
3109
3196
  heading: {
3110
3197
  margin: '0',
3111
- fontSize: '72px',
3198
+ fontSize: `${theme?.typography?.fontSize?.h1}px`,
3112
3199
  color: theme?.palette?.font?.default,
3113
3200
  wordBreak: 'break-word'
3114
3201
  },
@@ -3123,9 +3210,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
3123
3210
  padding: '0 0 40px'
3124
3211
  },
3125
3212
  centerData: {
3126
- flexDirection: 'column',
3213
+ flexDirection: 'column-reverse',
3127
3214
  width: '100%',
3128
- padding: '0'
3215
+ padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3129
3216
  },
3130
3217
  imageContainer: {
3131
3218
  height: 'unset !important',
@@ -3145,11 +3232,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3145
3232
  height: 'unset !important'
3146
3233
  },
3147
3234
  textContainer: {
3148
- padding: '20px 20px',
3235
+ padding: `${theme?.spacing?.padding?.regular}px 0px`,
3149
3236
  width: 'unset'
3150
3237
  },
3151
3238
  heading: {
3152
- fontSize: '40px'
3239
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3153
3240
  },
3154
3241
  description: {
3155
3242
  margin: '16px 0'
@@ -3183,8 +3270,6 @@ function Section$2({
3183
3270
  ref: nodeData?.image?.refSetter,
3184
3271
  className: classes.sideBannerImage,
3185
3272
  sectionIndex: sectionIndex
3186
- }), /*#__PURE__*/React.createElement("div", {
3187
- className: classes.imageBorder
3188
3273
  }))), /*#__PURE__*/React.createElement("div", {
3189
3274
  className: classes.textContainer
3190
3275
  }, /*#__PURE__*/React.createElement("div", {
@@ -3255,16 +3340,15 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3255
3340
  width: '100%',
3256
3341
  alignItems: 'center',
3257
3342
  justifyContent: 'center',
3258
- padding: '60px 70px',
3343
+ padding: ({
3344
+ isMobile
3345
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3259
3346
  '&, & *, & *:before, & *:after': {
3260
3347
  fontFamily: theme?.typography?.fontFamily,
3261
3348
  boxSizing: 'border-box'
3262
3349
  },
3263
3350
  '& h2,& h3': {
3264
- fontWeight: '500',
3265
- '& b,& strong': {
3266
- fontWeight: '700'
3267
- }
3351
+ marginTop: '0'
3268
3352
  }
3269
3353
  },
3270
3354
  newsLetterContainer: {
@@ -3285,15 +3369,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3285
3369
  backgroundColor: theme?.palette?.background?.default,
3286
3370
  boxShadow: theme?.shadows?.secondary,
3287
3371
  borderRadius: theme?.shape?.borderRadius?.regular,
3288
- padding: '40px 80px',
3372
+ padding: theme.spacing.padding.small,
3289
3373
  position: 'relative'
3290
3374
  },
3291
3375
  cardHeading: {
3292
- fontSize: '56px',
3376
+ fontSize: theme.typography.fontSize.h2,
3377
+ fontWeight: theme.typography.fontWeight.bold,
3293
3378
  lineHeight: '71px',
3294
3379
  letterSpacing: '-3px',
3295
3380
  color: theme?.palette?.font?.secondary,
3296
- margin: '0 0 32px 0',
3381
+ marginBottom: theme.spacing.padding.tiny,
3297
3382
  wordBreak: 'break-word'
3298
3383
  },
3299
3384
  contentContainer: {
@@ -3302,10 +3387,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3302
3387
  justifyContent: 'space-between'
3303
3388
  },
3304
3389
  title: {
3305
- fontSize: '20px',
3390
+ fontSize: theme.typography.fontSize.h6,
3306
3391
  lineHeight: '32px',
3307
3392
  color: theme?.palette?.font?.primary,
3308
- margin: '0 80px 0 0',
3309
3393
  width: 'calc(50% - 80px)',
3310
3394
  wordBreak: 'break-word'
3311
3395
  },
@@ -3343,42 +3427,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3343
3427
  section: {
3344
3428
  display: 'flex',
3345
3429
  flexDirection: 'column',
3346
- alignItems: 'center',
3347
- padding: '30px 20px'
3430
+ alignItems: 'center'
3348
3431
  },
3349
3432
  sectionContainer: {
3350
- padding: '30px 20px',
3351
- borderRadius: theme?.shape?.borderRadius?.large
3433
+ borderRadius: theme?.shape?.borderRadius?.large,
3434
+ textAlign: 'center',
3435
+ display: 'flex',
3436
+ alignItems: 'center',
3437
+ flexDirection: 'column'
3352
3438
  },
3353
3439
  partialBackground: {
3354
3440
  height: '150px'
3355
3441
  },
3356
3442
  title: {
3357
3443
  width: '100%',
3358
- margin: '0',
3359
- fontSize: '20px',
3360
- lineHeight: '32px'
3444
+ lineHeight: '22px',
3445
+ margin: '0px 0px 16px 0px'
3361
3446
  },
3362
3447
  cardHeading: {
3363
- fontSize: '24px',
3364
3448
  lineHeight: '32px',
3365
3449
  letterSpacing: '-1px',
3366
- marginBottom: '20px'
3450
+ width: '50%',
3451
+ lineHeight: 'normal'
3367
3452
  },
3368
3453
  contentContainer: {
3369
3454
  display: 'flex',
3370
3455
  flexDirection: 'column',
3371
- justifyContent: 'flex-start'
3456
+ justifyContent: 'flex-start',
3457
+ textAlign: 'center'
3372
3458
  },
3373
3459
  inputContainer: {
3374
3460
  display: 'block',
3375
3461
  width: '100%',
3376
- margin: '24px 16px 0 16px',
3377
3462
  position: 'initial'
3378
3463
  },
3379
3464
  btnContainer: {
3380
3465
  right: 'unset',
3381
- position: 'initial'
3466
+ position: 'initial',
3467
+ marginTop: '4px'
3382
3468
  }
3383
3469
  }
3384
3470
  }));
@@ -3523,7 +3609,8 @@ function SubscribeToNewsletter({
3523
3609
  } = useContext(PageContext);
3524
3610
  const [nodeData] = sectionData.components;
3525
3611
  const classes = useSectionStyles$4({
3526
- containerWidth
3612
+ containerWidth,
3613
+ isMobile
3527
3614
  });
3528
3615
  let formInitialValue = nodeData?.inputField?.metadata?.value;
3529
3616
  const [inputVal, setInputVal] = useState(formInitialValue);
@@ -3636,171 +3723,176 @@ var index$h = /*#__PURE__*/Object.freeze({
3636
3723
  'default': SubscribeToNewsletter
3637
3724
  });
3638
3725
 
3639
- const useTestimonialStyles = createUseStyles(theme => {
3640
- return {
3726
+ const useTestimonialStyles = createUseStyles(theme => ({
3727
+ testimonialContainer: {
3728
+ background: theme?.palette?.background?.primary,
3729
+ overflow: 'hidden',
3730
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3731
+ '&, & *, & *:before, & *:after': {
3732
+ fontFamily: theme?.typography?.fontFamily,
3733
+ boxSizing: 'border-box'
3734
+ },
3735
+ '& h3,& p': {
3736
+ marginTop: '0'
3737
+ }
3738
+ },
3739
+ sectionContainer: {
3740
+ margin: '0 auto',
3741
+ maxWidth: ({
3742
+ containerWidth
3743
+ } = {}) => containerWidth
3744
+ },
3745
+ testimonialText: {
3746
+ color: theme?.palette?.font?.secondary,
3747
+ fontSize: theme.typography.fontSize.subHead,
3748
+ wordBreak: 'break-word',
3749
+ textTransform: 'uppercase'
3750
+ },
3751
+ testimonialHeader: {
3752
+ fontSize: theme.typography.fontSize.h2,
3753
+ color: theme?.palette?.font?.default,
3754
+ fontWeight: theme.typography.fontWeight.bold,
3755
+ marginBottom: theme.spacing.margin.tiny,
3756
+ marginTop: '8px',
3757
+ overflow: 'hidden',
3758
+ wordBreak: 'break-word',
3759
+ // whiteSpace: 'nowrap',
3760
+ textOverflow: 'ellipsis'
3761
+ },
3762
+ sliderContainer: {
3763
+ marginRight: `-${theme.spacing.margin.regular}px`
3764
+ },
3765
+ singleCard: {
3766
+ // margin: '6px 12px',
3767
+ position: 'relative',
3768
+ height: 'calc(100% - 12px)',
3769
+ width: 'calc(100% - 24px)',
3770
+ background: theme?.palette?.background?.default,
3771
+ boxShadow: theme?.shadows?.primary,
3772
+ borderRadius: theme?.shape?.borderRadius?.regular
3773
+ },
3774
+ contentRow: {
3775
+ display: 'grid',
3776
+ gridTemplateColumns: ({
3777
+ slidesToShow
3778
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3779
+ },
3780
+ cardDetails: {
3781
+ height: '100%',
3782
+ display: 'flex',
3783
+ flexDirection: 'column',
3784
+ justifyContent: 'space-between',
3785
+ padding: '48px',
3786
+ alignItems: 'flex-start'
3787
+ },
3788
+ quoteIcon: {
3789
+ position: 'absolute',
3790
+ right: '20px'
3791
+ },
3792
+ reviewText: {
3793
+ // padding: '48px 41px 0 48px',
3794
+ marginBottom: theme.spacing.margin.tiny,
3795
+ fontSize: theme.typography.fontSize.subHead,
3796
+ wordBreak: 'break-word',
3797
+ color: theme?.palette?.font?.primary,
3798
+ lineHeight: '22px'
3799
+ },
3800
+ userContainer: {
3801
+ display: 'flex',
3802
+ gap: '16px',
3803
+ alignItems: 'center'
3804
+ },
3805
+ userImageContainer: {
3806
+ width: '64px',
3807
+ height: '64px',
3808
+ position: 'relative',
3809
+ // paddingBottom: '55px',
3810
+ objectFit: 'cover'
3811
+ },
3812
+ userImageDummy: {
3813
+ width: '64px',
3814
+ height: '64px',
3815
+ borderRadius: '32px',
3816
+ background: '#666666',
3817
+ marginRight: '16px',
3818
+ flexShrink: '0'
3819
+ },
3820
+ userImage: {
3821
+ width: '64px',
3822
+ height: '64px',
3823
+ borderRadius: '32px',
3824
+ marginRight: '16px'
3825
+ },
3826
+ userName: {
3827
+ color: theme?.palette?.font?.default,
3828
+ margin: '0',
3829
+ fontSize: theme.typography.fontSize.h5,
3830
+ // paddingTop: '16px',
3831
+ overflow: 'hidden',
3832
+ whiteSpace: 'nowrap',
3833
+ textOverflow: 'ellipsis'
3834
+ },
3835
+ buttonContainer: {
3836
+ display: 'flex',
3837
+ gap: '20px',
3838
+ justifyContent: 'center',
3839
+ // paddingRight: theme.spacing.padding.medium,
3840
+ marginTop: theme.spacing.margin.tiny
3841
+ },
3842
+ '@media (max-width: 768px)': {
3641
3843
  testimonialContainer: {
3642
- background: theme?.palette?.background?.primary,
3643
- overflow: 'hidden',
3644
- padding: '70px',
3645
- '&, & *, & *:before, & *:after': {
3646
- fontFamily: theme?.typography?.fontFamily,
3647
- boxSizing: 'border-box'
3648
- },
3649
- '& h2,& h3': {
3650
- fontWeight: '500',
3651
- '& b,& strong': {
3652
- fontWeight: '700'
3653
- }
3654
- }
3844
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3845
+ },
3846
+ // testimonialCardAndText: {
3847
+ // margin: '0 20px'
3848
+ // },
3849
+
3850
+ // testimonialHeader: {
3851
+ // fontSize: '24px',
3852
+ // color: theme?.palette?.font?.default,
3853
+ // margin: '4px 0 12px 0',
3854
+ // overflow: 'hidden',
3855
+ // // whiteSpace: 'nowrap',
3856
+ // wordBreak: 'break-word',
3857
+ // textOverflow: 'ellipsis'
3858
+ // },
3859
+ userImageDummy: {
3860
+ width: '48px',
3861
+ height: '48px',
3862
+ borderRadius: '24px',
3863
+ marginRight: '16px'
3655
3864
  },
3656
- sectionContainer: {
3657
- margin: '0 auto',
3658
- maxWidth: ({
3659
- containerWidth
3660
- } = {}) => containerWidth
3865
+ userImage: {
3866
+ width: '48px',
3867
+ height: '48px',
3868
+ borderRadius: '24px',
3869
+ marginRight: '16px'
3661
3870
  },
3662
- testimonialCardAndText: {
3663
- marginTop: '70px'
3871
+ reviewText: {
3872
+ marginBottom: '16px'
3664
3873
  },
3665
- testimonialText: {
3666
- color: theme?.palette?.font?.secondary,
3667
- fontSize: '16px',
3668
- marginLeft: '10px',
3669
- wordBreak: 'break-word'
3874
+ singleCard: {
3875
+ margin: '6px 2px',
3876
+ width: 'calc(100% - 14px)'
3670
3877
  },
3671
- testimonialHeader: {
3672
- fontSize: '56px',
3673
- color: theme?.palette?.font?.default,
3674
- margin: '10px 0 40px 10px',
3878
+ userName: {
3879
+ // paddingTop: '8px',
3675
3880
  overflow: 'hidden',
3676
- wordBreak: 'break-word',
3677
- // whiteSpace: 'nowrap',
3881
+ whiteSpace: 'nowrap',
3678
3882
  textOverflow: 'ellipsis'
3679
3883
  },
3680
- sliderContainer: {
3681
- marginRight: '-20px'
3682
- },
3683
- singleCard: {
3684
- margin: '6px 12px',
3685
- position: 'relative',
3686
- height: 'calc(100% - 12px)',
3687
- width: 'calc(100% - 24px)',
3688
- background: theme?.palette?.background?.default,
3689
- boxShadow: theme?.shadows?.primary,
3690
- borderRadius: theme?.shape?.borderRadius?.regular
3691
- },
3692
- contentRow: {
3693
- display: 'grid',
3694
- gridTemplateColumns: ({
3695
- slidesToShow
3696
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3884
+ userImageContainer: {
3885
+ width: '48px',
3886
+ height: '48px'
3697
3887
  },
3698
3888
  cardDetails: {
3699
- height: '100%',
3700
- display: 'flex',
3701
- flexDirection: 'column',
3702
- justifyContent: 'space-between'
3703
- },
3704
- quoteIcon: {
3705
- position: 'absolute',
3706
- right: '20px'
3707
- },
3708
- reviewText: {
3709
- padding: '48px 41px 0 48px',
3710
- marginBottom: '48px',
3711
- fontSize: '18px',
3712
- wordBreak: 'break-word',
3713
- color: theme?.palette?.font?.primary
3714
- },
3715
- userContainer: {
3716
- display: 'flex',
3717
- gap: '15px',
3718
- padding: '0 0 29px 48px'
3719
- },
3720
- userImageContainer: {
3721
- width: '64px',
3722
- height: '64px',
3723
- position: 'relative',
3724
- // paddingBottom: '55px',
3725
- objectFit: 'cover'
3726
- },
3727
- userImageDummy: {
3728
- width: '64px',
3729
- height: '64px',
3730
- borderRadius: '32px',
3731
- background: '#666666',
3732
- marginRight: '16px',
3733
- flexShrink: '0'
3734
- },
3735
- userImage: {
3736
- width: '64px',
3737
- height: '64px',
3738
- borderRadius: '32px',
3739
- marginRight: '16px'
3740
- },
3741
- userName: {
3742
- color: theme?.palette?.font?.default,
3743
- margin: '0',
3744
- fontSize: '24px',
3745
- paddingTop: '16px',
3746
- overflow: 'hidden',
3747
- whiteSpace: 'nowrap',
3748
- textOverflow: 'ellipsis'
3749
- },
3750
- buttonContainer: {
3751
- display: 'flex',
3752
- width: '120px',
3753
- justifyContent: 'space-between',
3754
- margin: '36px auto 81px auto'
3755
- },
3756
- '@media (max-width: 768px)': {
3757
- testimonialContainer: {
3758
- padding: '60px 0'
3759
- },
3760
- testimonialCardAndText: {
3761
- margin: '0 20px'
3762
- },
3763
- testimonialHeader: {
3764
- fontSize: '24px',
3765
- color: theme?.palette?.font?.default,
3766
- margin: '4px 0 12px 0',
3767
- overflow: 'hidden',
3768
- // whiteSpace: 'nowrap',
3769
- wordBreak: 'break-word',
3770
- textOverflow: 'ellipsis'
3771
- },
3772
- userImageDummy: {
3773
- width: '48px',
3774
- height: '48px',
3775
- borderRadius: '24px',
3776
- marginRight: '16px'
3777
- },
3778
- userImage: {
3779
- width: '48px',
3780
- height: '48px',
3781
- borderRadius: '24px',
3782
- marginRight: '16px'
3783
- },
3784
- reviewText: {
3785
- marginBottom: '40px'
3786
- },
3787
- singleCard: {
3788
- margin: '6px 2px',
3789
- width: 'calc(100% - 4px)'
3790
- },
3791
- userName: {
3792
- paddingTop: '8px',
3793
- overflow: 'hidden',
3794
- whiteSpace: 'nowrap',
3795
- textOverflow: 'ellipsis'
3796
- },
3797
- userImageContainer: {
3798
- width: '48px',
3799
- height: '48px'
3800
- }
3889
+ padding: '16px'
3801
3890
  }
3802
- };
3803
- });
3891
+ // sliderContainer: {
3892
+ // marginRight: '-24px'
3893
+ // },
3894
+ }
3895
+ }));
3804
3896
 
3805
3897
  function QuotesComponent() {
3806
3898
  const theme = useTheme();
@@ -3828,13 +3920,14 @@ function Section$1({
3828
3920
  const classes = useTestimonialStyles({
3829
3921
  containerWidth,
3830
3922
  cardsCount,
3831
- slidesToShow
3923
+ slidesToShow,
3924
+ isMobile
3832
3925
  });
3833
3926
  const settings = {
3834
3927
  className: classes.sliderContainer,
3835
3928
  slidesToShow,
3836
3929
  centerMode: true,
3837
- centerPadding: isMobile ? '10px 0 0' : '80px 0 0'
3930
+ centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
3838
3931
  };
3839
3932
  const carouselContent = carouselList.map((el, idx) =>
3840
3933
  /*#__PURE__*/
@@ -4041,8 +4134,7 @@ const useVideoStyles$1 = createUseStyles(theme => {
4041
4134
  height: '100%',
4042
4135
  width: '100%',
4043
4136
  objectFit: 'cover',
4044
- objectPosition: 'top',
4045
- opacity: '0.8'
4137
+ objectPosition: 'top'
4046
4138
  },
4047
4139
  '@media (max-width: 767px)': {
4048
4140
  iframe: {
@@ -4077,10 +4169,7 @@ function VideoPlayer(props) {
4077
4169
  }
4078
4170
  }
4079
4171
  return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
4080
- className: classes.imgContainer,
4081
- onClick: () => {
4082
- setIsEnableed(true);
4083
- }
4172
+ className: classes.imgContainer
4084
4173
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
4085
4174
  src: imageUrl,
4086
4175
  sectionIndex: props?.sectionIndex,
@@ -4109,20 +4198,20 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4109
4198
  videoTestimonialSuperContainer: {
4110
4199
  display: 'flex',
4111
4200
  justifyContent: 'center',
4112
- padding: '70px',
4201
+ padding: ({
4202
+ isMobile
4203
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4113
4204
  '&, & *, & *:before, & *:after': {
4114
- fontFamily: theme?.typography?.fontFamily,
4115
- boxSizing: 'border-box'
4205
+ fontFamily: theme?.typography?.fontFamily
4206
+ // boxSizing: 'border-box'
4116
4207
  },
4117
- '& h2,& h3': {
4118
- fontWeight: '500',
4119
- '& b,& strong': {
4120
- fontWeight: '700'
4121
- }
4208
+
4209
+ '& h2,& h3,& p': {
4210
+ marginTop: '0'
4122
4211
  }
4123
4212
  },
4124
4213
  sectionContainer: {
4125
- margin: '0 auto',
4214
+ // margin: '0 auto',
4126
4215
  maxWidth: ({
4127
4216
  containerWidth
4128
4217
  } = {}) => containerWidth
@@ -4133,29 +4222,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4133
4222
  fontFamily: theme?.typography?.fontFamily
4134
4223
  },
4135
4224
  videoTestimonialHeading: {
4136
- fontSize: '16px',
4225
+ fontSize: theme.typography.fontSize.subHead,
4137
4226
  lineHeight: '20px',
4138
4227
  letterSpacing: '3px',
4139
4228
  textTransform: 'uppercase',
4140
4229
  color: theme.palette.font.tertiary,
4141
- wordBreak: 'break-word'
4230
+ wordBreak: 'break-word',
4231
+ marginBottom: '8px'
4142
4232
  },
4143
4233
  videoTestimonialTitle: {
4144
- fontSize: '56px',
4145
- lineHeight: '71px',
4234
+ fontSize: theme.typography.fontSize.h1,
4235
+ // lineHeight: '71px',
4146
4236
  letterSpacing: '-3px',
4147
- margin: '0',
4237
+ fontWeight: theme.typography.fontWeight.bold,
4238
+ marginBottom: theme.spacing.margin.tiny,
4148
4239
  color: theme.palette.font.default,
4149
4240
  wordBreak: 'break-word'
4150
4241
  },
4151
- videoCarouselContainer: {
4152
- marginTop: '16px'
4153
- },
4154
4242
  videoCarousel: {
4155
4243
  display: 'flex',
4156
4244
  alignItems: 'center',
4157
4245
  justifyContent: 'flex-start',
4158
- gap: '60px'
4246
+ gap: theme.spacing.margin.small
4159
4247
  },
4160
4248
  iframeSuperContainer: {
4161
4249
  height: '100%',
@@ -4177,57 +4265,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4177
4265
  videoDetails: {
4178
4266
  width: '100%',
4179
4267
  display: 'flex',
4268
+ gap: '24px',
4180
4269
  flexDirection: 'column',
4181
4270
  alignItems: 'flex-start'
4182
4271
  },
4183
4272
  videoDetailsHeading: {
4184
- fontSize: '40px',
4273
+ fontSize: theme.typography.fontSize.h3,
4185
4274
  lineHeight: '48px',
4186
4275
  margin: '0',
4187
4276
  letterSpacing: '-1px',
4188
4277
  wordBreak: 'break-word',
4189
- color: theme.palette.font.default
4278
+ color: theme.palette.font.default,
4279
+ fontWeight: theme.typography.fontWeight.bold
4190
4280
  },
4191
4281
  videoDetailsContent: {
4192
- fontSize: '16px',
4282
+ fontSize: theme.typography.fontSize.subHead,
4193
4283
  lineHeight: '24px',
4194
4284
  wordBreak: 'break-word',
4195
- color: theme.palette.font.primary,
4196
- margin: '10px 0 20px'
4285
+ color: theme.palette.font.primary
4197
4286
  },
4198
4287
  videoDetailsSubContent: {
4199
- fontSize: '16px',
4288
+ fontSize: theme.typography.fontSize.subHead,
4200
4289
  lineHeight: '24px',
4201
4290
  margin: '0',
4202
4291
  color: theme.palette.font.primary,
4203
4292
  wordBreak: 'break-word'
4204
4293
  },
4205
4294
  '@media (max-width: 767px)': {
4206
- videoTestimonialSuperContainer: {
4207
- padding: '70px 10px 60px 20px'
4208
- },
4209
4295
  videoCarousel: {
4210
- flexDirection: 'column',
4211
- gap: '20px'
4296
+ flexDirection: 'column'
4212
4297
  },
4213
4298
  videoCarouselContainer: {
4214
- height: 'max-content',
4215
- paddingRight: '10px'
4299
+ height: 'max-content'
4216
4300
  },
4217
4301
  videoDetails: {
4218
- width: '100%'
4302
+ width: '100%',
4303
+ gap: '16px'
4219
4304
  },
4220
4305
  videoDetailsHeading: {
4221
- fontSize: '16px',
4222
4306
  lineHeight: '20px'
4223
4307
  },
4224
4308
  videoTestimonialTitle: {
4225
- fontSize: '24px',
4226
4309
  lineHeight: '36px',
4227
4310
  letterSpacing: '-1px'
4228
- },
4229
- videoDetailsContent: {
4230
- marginTop: '4px'
4231
4311
  }
4232
4312
  }
4233
4313
  };
@@ -4281,10 +4361,12 @@ function VideoTestimonial({
4281
4361
  const {
4282
4362
  layout: {
4283
4363
  containerWidth
4284
- }
4364
+ },
4365
+ isMobile
4285
4366
  } = useContext(PageContext);
4286
4367
  const classes = useVideoTestimonialStyles({
4287
- containerWidth
4368
+ containerWidth,
4369
+ isMobile
4288
4370
  });
4289
4371
  const [videoData] = sectionData.components;
4290
4372
  const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
@@ -4323,17 +4405,16 @@ var index$f = /*#__PURE__*/Object.freeze({
4323
4405
  const useVideoStyles = createUseStyles(theme => {
4324
4406
  return {
4325
4407
  videoSuperContainer: {
4326
- padding: '70px',
4408
+ padding: ({
4409
+ isMobile
4410
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4327
4411
  backgroundColor: theme?.palette?.background?.primary,
4328
4412
  '&, & *, & *:before, & *:after': {
4329
4413
  fontFamily: theme?.typography?.fontFamily,
4330
4414
  boxSizing: 'border-box'
4331
4415
  },
4332
- '& h2,& h3': {
4333
- fontWeight: '500',
4334
- '& b,& strong': {
4335
- fontWeight: '700'
4336
- }
4416
+ '& h3': {
4417
+ marginTop: '0'
4337
4418
  }
4338
4419
  },
4339
4420
  sectionContainer: {
@@ -4342,28 +4423,29 @@ const useVideoStyles = createUseStyles(theme => {
4342
4423
  containerWidth
4343
4424
  } = {}) => containerWidth
4344
4425
  },
4345
- videoContainer: {
4346
- marginTop: '70px'
4347
- },
4426
+ // videoContainer: {
4427
+ // marginTop: '70px'
4428
+ // },
4429
+
4348
4430
  videoHeading: {
4349
- fontSize: '16px',
4431
+ fontSize: theme.typography.fontSize.subHead,
4432
+ textTransform: 'uppercase',
4350
4433
  lineHeight: '20px',
4351
- marginBottom: '4px',
4352
- letterSpacing: '3px',
4353
4434
  color: theme?.palette?.font?.primary,
4354
4435
  wordBreak: 'break-word'
4355
4436
  },
4356
4437
  videoTitle: {
4357
- fontSize: '56px',
4438
+ fontSize: theme.typography.fontSize.h2,
4439
+ fontWeight: theme.typography.fontWeight.bold,
4358
4440
  lineHeight: '71px',
4359
4441
  letterSpacing: '-3px',
4360
- marginBottom: '20px',
4361
- marginTop: '0',
4442
+ marginBottom: theme.spacing.margin.tiny,
4443
+ marginTop: '8px',
4362
4444
  color: theme?.palette?.font?.default,
4363
4445
  wordBreak: 'break-word'
4364
4446
  },
4365
4447
  sliderContainer: {
4366
- marginRight: '-35px'
4448
+ marginRight: `-${theme.spacing.padding.medium}px`
4367
4449
  },
4368
4450
  singleSlideContainer: {
4369
4451
  backgroundColor: theme?.palette?.background?.default,
@@ -4371,7 +4453,7 @@ const useVideoStyles = createUseStyles(theme => {
4371
4453
  width: 'calc(100% - 40px)',
4372
4454
  height: 'calc(100% - 40px)',
4373
4455
  borderRadius: theme?.shape?.borderRadius?.regular,
4374
- padding: '40px',
4456
+ padding: '48px',
4375
4457
  boxShadow: theme?.shadows?.primary
4376
4458
  },
4377
4459
  contentRow: {
@@ -4384,6 +4466,7 @@ const useVideoStyles = createUseStyles(theme => {
4384
4466
  width: '100%',
4385
4467
  borderRadius: theme?.shape?.borderRadius?.regular,
4386
4468
  position: 'relative',
4469
+ overflow: 'hidden',
4387
4470
  paddingBottom: '56.25%'
4388
4471
  },
4389
4472
  iframe: {
@@ -4398,43 +4481,32 @@ const useVideoStyles = createUseStyles(theme => {
4398
4481
  margin: '12px 12px 0'
4399
4482
  },
4400
4483
  videoDetailsHeading: {
4401
- fontSize: '24px',
4484
+ fontSize: theme.typography.fontSize.h5,
4485
+ fontWeight: theme.typography.fontWeight.bold,
4402
4486
  lineHeight: '32px',
4403
- margin: '0',
4487
+ marginBottom: '8px',
4404
4488
  color: theme?.palette?.font?.default,
4405
4489
  wordBreak: 'break-word'
4406
4490
  },
4407
4491
  videoDetailsSubHeading: {
4408
- fontSize: '16px',
4492
+ fontSize: theme.typography.fontSize.subHead,
4409
4493
  lineHeight: '24px',
4410
4494
  wordBreak: 'break-word',
4411
4495
  color: theme?.palette?.font?.primary
4412
4496
  },
4413
4497
  '@media (max-width: 767px)': {
4414
- videoSuperContainer: {
4415
- padding: '70px 20px 60px'
4416
- },
4417
4498
  videoHeading: {
4418
- fontSize: '16px',
4419
- lineHeight: '20px',
4420
- letterSpacing: '3px'
4421
- },
4422
- videoTitle: {
4423
- fontSize: '24px',
4424
- lineHeight: '36px',
4425
- letterSpacing: '-1px',
4426
- marginBottom: '0',
4427
- marginTop: '0'
4499
+ lineHeight: '20px'
4428
4500
  },
4429
4501
  videoContainer: {
4430
4502
  margin: '0'
4431
4503
  },
4432
4504
  sliderContainer: {
4433
- marginLeft: '-6px',
4434
- marginRight: '-20px'
4505
+ // marginLeft: '-6px',
4506
+ marginRight: '0px'
4435
4507
  },
4436
4508
  singleSlideContainer: {
4437
- padding: '0',
4509
+ padding: '16px',
4438
4510
  width: 'calc(100% - 12px)',
4439
4511
  height: 'calc(100% - 24px)',
4440
4512
  margin: '12px 6px'
@@ -4446,14 +4518,28 @@ const useVideoStyles = createUseStyles(theme => {
4446
4518
  textAlign: 'left',
4447
4519
  margin: '12px 12px 0'
4448
4520
  },
4449
- videoDetailsHeading: {
4450
- fontSize: '18px',
4451
- margin: '0'
4521
+ videoTitle: {
4522
+ display: 'flex',
4523
+ justifyContent: 'center',
4524
+ textAlign: 'center',
4525
+ lineHeight: '36px',
4526
+ letterSpacing: '-1px'
4452
4527
  },
4453
- videoDetailsSubHeading: {
4454
- fontSize: '12px',
4455
- paddingBottom: '20px'
4528
+ videoHeading: {
4529
+ display: 'flex',
4530
+ justifyContent: 'center',
4531
+ textAlign: 'center'
4456
4532
  }
4533
+
4534
+ // videoDetailsHeading: {
4535
+ // fontSize: '18px',
4536
+ // margin: '0'
4537
+ // },
4538
+
4539
+ // videoDetailsSubHeading: {
4540
+ // fontSize: '12px',
4541
+ // paddingBottom: '20px'
4542
+ // }
4457
4543
  }
4458
4544
  };
4459
4545
  });
@@ -4467,10 +4553,7 @@ const SingleSlide$1 = props => {
4467
4553
  className: classes.singleSlideContainer
4468
4554
  }, /*#__PURE__*/React.createElement("div", {
4469
4555
  ref: data?.videoFrame?.refSetter,
4470
- className: classes.iframeContainer,
4471
- style: {
4472
- background: 'linear-gradient(#333333,rgb(0 0 0))'
4473
- }
4556
+ className: classes.iframeContainer
4474
4557
  }, /*#__PURE__*/React.createElement(VideoPlayer, {
4475
4558
  imageUrl: data.videoFrame.metadata?.thumbnail,
4476
4559
  videoUrl: data.videoFrame.metadata?.value
@@ -4506,12 +4589,13 @@ function Video({
4506
4589
  const classes = useVideoStyles({
4507
4590
  containerWidth,
4508
4591
  cardsCount,
4509
- slidesToShow
4592
+ slidesToShow,
4593
+ isMobile
4510
4594
  });
4511
4595
  const settings = {
4512
4596
  className: classes.sliderContainer,
4513
4597
  slidesToShow,
4514
- centerPadding: isMobile ? '40px 0 0' : '100px 0 0',
4598
+ centerPadding: isMobile ? '0px' : '100px 0 0',
4515
4599
  centerMode: true
4516
4600
  };
4517
4601
  const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
@@ -4554,7 +4638,7 @@ var index$e = /*#__PURE__*/Object.freeze({
4554
4638
  const useSectionStyles$3 = createUseStyles(theme => ({
4555
4639
  section: {
4556
4640
  position: 'relative',
4557
- padding: '70px 0',
4641
+ padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
4558
4642
  backgroundColor: theme?.palette?.background?.default,
4559
4643
  '&, & *, & *:before, & *:after': {
4560
4644
  fontFamily: theme?.typography?.fontFamily,
@@ -4582,12 +4666,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4582
4666
  width: '100%'
4583
4667
  },
4584
4668
  content: {
4585
- position: 'relative',
4586
- margin: '0 70px'
4669
+ position: 'relative'
4587
4670
  },
4588
4671
  subTitleHeading: {
4589
4672
  width: '100%',
4590
- fontSize: '16px',
4673
+ fontSize: theme.typography.fontSize.subHead,
4591
4674
  color: theme?.palette?.font?.tertiary,
4592
4675
  textAlign: 'left',
4593
4676
  lineHeight: '20px',
@@ -4595,8 +4678,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4595
4678
  wordBreak: 'break-word'
4596
4679
  },
4597
4680
  heading: {
4598
- margin: '8px 0 20px',
4599
- fontSize: '56px',
4681
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4682
+ fontSize: theme.typography.fontSize.h2,
4600
4683
  width: '100%',
4601
4684
  lineHeight: '70px',
4602
4685
  color: theme?.palette?.font?.default,
@@ -4618,16 +4701,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4618
4701
  height: 'calc(100% - 12px)'
4619
4702
  },
4620
4703
  cardContent: {
4621
- padding: '32px',
4704
+ padding: theme.spacing.padding.tiny,
4622
4705
  height: '100%',
4623
4706
  display: 'flex',
4624
4707
  flexDirection: 'column'
4625
4708
  },
4626
4709
  cardHeading: {
4627
- fontSize: '24px',
4710
+ fontSize: theme.typography.fontSize.h5,
4628
4711
  lineHeight: '32px',
4629
4712
  color: theme?.palette?.font?.default,
4630
- margin: '32px 0 16px',
4713
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4631
4714
  wordBreak: 'break-word'
4632
4715
  },
4633
4716
  imageContainer: {
@@ -4640,7 +4723,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4640
4723
  background: theme?.palette?.background?.primary
4641
4724
  },
4642
4725
  cardPara: {
4643
- fontSize: '16px',
4726
+ fontSize: theme.typography.fontSize.subHead,
4644
4727
  lineHeight: '24px',
4645
4728
  color: theme?.palette?.font?.primary,
4646
4729
  margin: '0',
@@ -4656,13 +4739,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4656
4739
  '@media screen and (max-width: 767px)': {
4657
4740
  heading: {
4658
4741
  fontSize: '24px',
4659
- margin: '4px 0 12px',
4742
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4660
4743
  lineHeight: '36px',
4661
4744
  padding: '0'
4662
4745
  },
4663
- content: {
4664
- margin: '0 20px'
4665
- },
4666
4746
  sliderContainer: {
4667
4747
  marginLeft: '-6px',
4668
4748
  marginRight: '-20px'
@@ -4677,12 +4757,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4677
4757
  slidesToShow,
4678
4758
  cardsCount
4679
4759
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4680
- },
4681
- cardContent: {
4682
- padding: '20px'
4683
- },
4684
- cardHeading: {
4685
- margin: '14px 0'
4686
4760
  }
4687
4761
  }
4688
4762
  }));
@@ -4779,67 +4853,56 @@ var index$d = /*#__PURE__*/Object.freeze({
4779
4853
 
4780
4854
  const useSectionStyles$2 = createUseStyles(theme => ({
4781
4855
  section: {
4782
- padding: '70px',
4856
+ padding: ({
4857
+ isMobile
4858
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4783
4859
  backgroundColor: theme?.palette?.background?.default,
4784
4860
  '&, & *, & *:before, & *:after': {
4785
4861
  fontFamily: theme?.typography?.fontFamily,
4786
4862
  boxSizing: 'border-box'
4787
4863
  },
4788
- '& h2,& h3': {
4789
- fontWeight: '500',
4790
- '& b,& strong': {
4791
- fontWeight: '700'
4792
- }
4864
+ '& h2,& h3,& p': {
4865
+ margin: '0'
4793
4866
  }
4794
4867
  },
4795
4868
  sectionContainer: {
4796
- margin: '0 auto',
4797
4869
  maxWidth: ({
4798
4870
  containerWidth
4799
4871
  } = {}) => containerWidth
4800
4872
  },
4801
4873
  subHeading: {
4802
- fontSize: '20px',
4874
+ fontSize: theme.typography.fontSize.subHead,
4803
4875
  marginBottom: '8px',
4804
4876
  color: theme?.palette?.font?.tertiary,
4805
- wordBreak: 'break-word'
4877
+ wordBreak: 'break-word',
4878
+ textTransform: 'uppercase',
4879
+ letterSpacing: '3px'
4806
4880
  },
4807
4881
  title: {
4808
- fontSize: '56px',
4809
- lineHeight: '70px',
4882
+ fontSize: theme.typography.fontSize.h2,
4883
+ fontWeight: theme.typography.fontWeight.bold,
4884
+ lineHeight: 'normal',
4810
4885
  margin: '0',
4811
4886
  color: theme?.palette?.font?.default,
4812
- wordBreak: 'break-word'
4887
+ wordBreak: 'break-word',
4888
+ marginBottom: theme.spacing.margin.tiny
4813
4889
  },
4814
4890
  textContent: {
4815
4891
  display: 'grid',
4816
4892
  gridTemplateColumns: '1fr 1fr',
4817
- gap: '80px'
4893
+ gap: '48px',
4894
+ padding: '48px 0px'
4818
4895
  },
4819
4896
  textPara: {
4820
- margin: '20px 0 0 0',
4821
4897
  lineHeight: '24px',
4822
4898
  color: theme?.palette?.font?.primary,
4823
- wordBreak: 'break-word'
4899
+ wordBreak: 'break-word',
4900
+ fontSize: theme.typography.fontSize.subHead
4824
4901
  },
4825
4902
  '@media screen and (max-width: 767px)': {
4826
- section: {
4827
- padding: '60px 20px'
4828
- },
4829
- subHeading: {
4830
- fontSize: '16px',
4831
- lineHeight: '20px',
4832
- marginBottom: '4px'
4833
- },
4834
- title: {
4835
- fontSize: '24px',
4836
- lineHeight: '36px'
4837
- },
4838
4903
  textContent: {
4839
- display: 'block'
4840
- },
4841
- textPara: {
4842
- marginTop: '12px'
4904
+ gap: '16px',
4905
+ padding: '16px 0px'
4843
4906
  }
4844
4907
  }
4845
4908
  }));
@@ -4850,10 +4913,12 @@ const TextSection = ({
4850
4913
  const {
4851
4914
  layout: {
4852
4915
  containerWidth
4853
- }
4916
+ },
4917
+ isMobile
4854
4918
  } = useContext(PageContext);
4855
4919
  const classes = useSectionStyles$2({
4856
- containerWidth
4920
+ containerWidth,
4921
+ isMobile
4857
4922
  });
4858
4923
  const [nodeData] = sectionData.components;
4859
4924
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
@@ -4900,18 +4965,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4900
4965
  return {
4901
4966
  container: {
4902
4967
  background: theme?.palette?.background?.default,
4903
- padding: '70px',
4968
+ padding: ({
4969
+ isMobile
4970
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4904
4971
  '&, & *, & *:before, & *:after': {
4905
4972
  fontFamily: theme?.typography?.fontFamily,
4906
4973
  boxSizing: 'border-box'
4907
- },
4908
- '& h2,& h3': {
4909
- fontWeight: '500',
4910
- '& b,& strong': {
4911
- fontWeight: '700'
4912
- }
4913
4974
  }
4975
+ // '& h2,& h3': {
4976
+ // fontWeight: '500',
4977
+ // '& b,& strong': {
4978
+ // fontWeight: '700'
4979
+ // }
4980
+ // }
4914
4981
  },
4982
+
4915
4983
  sectionContainer: {
4916
4984
  margin: '0 auto',
4917
4985
  maxWidth: ({
@@ -4920,13 +4988,15 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4920
4988
  },
4921
4989
  cardHeading: {
4922
4990
  color: theme?.palette?.font?.secondary,
4923
- fontSize: '16px',
4991
+ fontSize: theme.typography.fontSize.subHead,
4924
4992
  letterSpacing: '3px',
4925
- wordBreak: 'break-word'
4926
- },
4927
- sliderContainer: {
4928
- marginRight: '-70px'
4993
+ wordBreak: 'break-word',
4994
+ textTransform: 'uppercase'
4929
4995
  },
4996
+ // sliderContainer: {
4997
+ // marginRight: '-70px'
4998
+ // },
4999
+
4930
5000
  singleCard: {
4931
5001
  margin: '0 1px',
4932
5002
  width: 'calc(100% - 2px)',
@@ -4949,24 +5019,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4949
5019
  height: '100%'
4950
5020
  },
4951
5021
  title: {
4952
- fontSize: '56px',
5022
+ fontSize: theme.typography.fontSize.h2,
4953
5023
  lineHeight: '70px',
4954
5024
  letterSpacing: '-3px',
4955
5025
  color: theme?.palette?.font?.default,
4956
- margin: '8px 0 20px',
5026
+ marginTop: '8px',
5027
+ marginBottom: theme.spacing.margin.tiny,
4957
5028
  overflow: 'hidden',
4958
5029
  whiteSpace: 'nowrap',
4959
5030
  textOverflow: 'ellipsis'
4960
5031
  },
4961
5032
  '@media (max-width: 768px)': {
4962
- container: {
4963
- padding: '60px 20px'
4964
- },
4965
- cardHeading: {
4966
- marginLeft: '3px'
4967
- },
5033
+ // container: {
5034
+ // padding: '60px 20px'
5035
+ // },
5036
+
5037
+ // cardHeading: {
5038
+ // marginLeft: '3px'
5039
+ // },
5040
+
4968
5041
  title: {
4969
- fontSize: '24px',
4970
5042
  lineHeight: '36px',
4971
5043
  letterSpacing: '-1px',
4972
5044
  color: theme?.palette?.font?.default,
@@ -4974,10 +5046,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4974
5046
  overflow: 'hidden',
4975
5047
  whiteSpace: 'nowrap',
4976
5048
  textOverflow: 'ellipsis'
4977
- },
4978
- sliderContainer: {
4979
- marginRight: '-20px'
4980
5049
  }
5050
+
5051
+ // sliderContainer: {
5052
+ // marginRight: '-20px'
5053
+ // }
4981
5054
  }
4982
5055
  };
4983
5056
  });
@@ -4999,11 +5072,12 @@ function PhotoGallery({
4999
5072
  const classes = usePhotoGalleryStyles({
5000
5073
  containerWidth,
5001
5074
  cardsCount,
5002
- slidesToShow
5075
+ slidesToShow,
5076
+ isMobile
5003
5077
  });
5004
5078
  const settings = {
5005
5079
  className: classes.sliderContainer,
5006
- dots: false,
5080
+ dots: isMobile,
5007
5081
  infinite: true,
5008
5082
  speed: 500,
5009
5083
  slidesToShow,
@@ -5057,64 +5131,69 @@ var index$b = /*#__PURE__*/Object.freeze({
5057
5131
  const useFaqListStyles = createUseStyles(theme => ({
5058
5132
  section: {
5059
5133
  width: '100%',
5060
- padding: '70px',
5134
+ padding: ({
5135
+ isMobile
5136
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5061
5137
  backgroundColor: theme?.palette?.background?.primary,
5062
5138
  '&, & *, & *:before, & *:after': {
5063
5139
  fontFamily: theme?.typography?.fontFamily,
5064
5140
  boxSizing: 'border-box'
5065
5141
  },
5066
5142
  '& h2,& h3': {
5067
- fontWeight: '500',
5068
- '& b,& strong': {
5069
- fontWeight: '700'
5070
- }
5143
+ marginTop: '0'
5071
5144
  }
5072
5145
  },
5073
5146
  sectionContainer: {
5074
- margin: '0 auto',
5075
5147
  maxWidth: ({
5076
5148
  containerWidth
5077
5149
  } = {}) => containerWidth
5078
5150
  },
5079
5151
  sectionSubheading: {
5080
5152
  color: theme?.palette?.font.tertiary,
5081
- fontSize: '16px',
5153
+ fontSize: theme.typography.fontSize.subHead,
5082
5154
  marginBottom: '8px',
5083
5155
  wordBreak: 'break-word'
5084
5156
  },
5085
5157
  sectionHeading: {
5086
- fontSize: '56px',
5087
- margin: '0 0 20px',
5158
+ fontSize: theme.typography.fontSize.h2,
5159
+ fontWeight: theme.typography.fontWeight.bold,
5088
5160
  wordBreak: 'break-word',
5089
- lineHeight: '71px'
5161
+ marginBottom: `${theme.spacing.margin.tiny}px`
5090
5162
  },
5091
5163
  container: {
5092
5164
  boxShadow: theme?.shadows?.secondary,
5093
5165
  borderRadius: '8px',
5094
- backgroundColor: theme?.palette?.background?.default,
5095
- padding: '40px 60px 60px'
5166
+ backgroundColor: theme?.palette?.background?.default
5096
5167
  },
5097
5168
  basicCardContainer: {
5098
- borderBottom: theme?.borders?.secondary
5169
+ borderBottom: theme?.borders?.secondary,
5170
+ padding: `${theme.spacing.padding.tiny}px`
5171
+ },
5172
+ innerContainer: {
5173
+ display: 'flex',
5174
+ flexDirection: 'column',
5175
+ gap: ({
5176
+ isSelected
5177
+ } = {}) => isSelected ? '16px' : '0'
5178
+ },
5179
+ arrowButton: {
5180
+ marginLeft: theme.spacing.margin.tiny
5099
5181
  },
5100
5182
  header: {
5101
5183
  display: 'flex',
5102
5184
  justifyContent: 'space-between',
5103
- alignItems: 'center',
5104
- padding: '20px 0'
5185
+ alignItems: 'center'
5105
5186
  },
5106
5187
  title: {
5107
5188
  color: theme?.palette?.font.default,
5108
- fontSize: '24px',
5189
+ fontSize: theme.typography.fontSize.h5,
5190
+ fontWeight: theme.typography.fontWeight.bold,
5109
5191
  margin: '0',
5110
5192
  wordBreak: 'break-word'
5111
5193
  },
5112
5194
  content: {
5113
- margin: ({
5114
- isSelected
5115
- } = {}) => isSelected ? '0 0 20px 0' : '0',
5116
5195
  color: theme?.palette?.font.primary,
5117
- fontSize: '16px',
5196
+ fontSize: theme.typography.fontSize.subHead,
5118
5197
  lineHeight: '24px',
5119
5198
  maxHeight: ({
5120
5199
  isSelected
@@ -5123,28 +5202,12 @@ const useFaqListStyles = createUseStyles(theme => ({
5123
5202
  overflow: 'hidden'
5124
5203
  },
5125
5204
  '@media screen and (max-width: 767px)': {
5126
- section: {
5127
- padding: '60px 20px'
5128
- },
5129
- sectionHeading: {
5130
- fontSize: '36px'
5131
- },
5132
- header: {
5133
- padding: '20px 0'
5134
- },
5135
- title: {
5136
- fontSize: '18px'
5137
- },
5138
5205
  content: {
5139
5206
  lineHeight: '20px'
5140
5207
  },
5141
- container: {
5142
- padding: '0 20px'
5143
- },
5144
5208
  basicCardContainer: {
5145
5209
  '&:last-child': {
5146
- borderBottom: 'none',
5147
- paddingBottom: '1px'
5210
+ borderBottom: 'none'
5148
5211
  }
5149
5212
  }
5150
5213
  }
@@ -5157,11 +5220,13 @@ const FAQListing = ({
5157
5220
  const {
5158
5221
  layout: {
5159
5222
  containerWidth
5160
- }
5223
+ },
5224
+ isMobile
5161
5225
  } = useContext(PageContext);
5162
5226
  const classes = useFaqListStyles({
5163
5227
  selectedIndex,
5164
- containerWidth
5228
+ containerWidth,
5229
+ isMobile
5165
5230
  });
5166
5231
  const [nodeData] = sectionData.components;
5167
5232
  return /*#__PURE__*/React.createElement("section", {
@@ -5204,7 +5269,8 @@ const Accordion = ({
5204
5269
  return /*#__PURE__*/React.createElement("div", {
5205
5270
  className: classes.basicCardContainer
5206
5271
  }, /*#__PURE__*/React.createElement("div", {
5207
- onClick: onClick
5272
+ onClick: onClick,
5273
+ className: classes.innerContainer
5208
5274
  }, /*#__PURE__*/React.createElement("div", {
5209
5275
  className: classes.header
5210
5276
  }, /*#__PURE__*/React.createElement("h3", {
@@ -5213,7 +5279,9 @@ const Accordion = ({
5213
5279
  dangerouslySetInnerHTML: {
5214
5280
  __html: item.question.metadata.value
5215
5281
  }
5216
- }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
5282
+ }), /*#__PURE__*/React.createElement("div", {
5283
+ className: classes.arrowButton
5284
+ }, /*#__PURE__*/React.createElement(ArrowButton, {
5217
5285
  down: isSelected,
5218
5286
  up: !isSelected,
5219
5287
  size: "small"
@@ -5233,19 +5301,25 @@ var index$a = /*#__PURE__*/Object.freeze({
5233
5301
 
5234
5302
  const useTextGridStyles = createUseStyles(theme => ({
5235
5303
  section: {
5236
- padding: '70px',
5304
+ padding: ({
5305
+ isMobile
5306
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5237
5307
  backgroundColor: theme?.palette?.background?.primary,
5238
5308
  '&, & *, & *:before, & *:after': {
5239
5309
  fontFamily: theme?.typography?.fontFamily,
5240
5310
  boxSizing: 'border-box'
5241
5311
  },
5242
- '& h2,& h3': {
5243
- fontWeight: '500',
5244
- '& b,& strong': {
5245
- fontWeight: '700'
5246
- }
5312
+ '& h2,& h3,& p': {
5313
+ marginTop: '0'
5247
5314
  }
5315
+ // '& h2,& h3': {
5316
+ // fontWeight: '500',
5317
+ // '& b,& strong': {
5318
+ // fontWeight: '700'
5319
+ // }
5320
+ // }
5248
5321
  },
5322
+
5249
5323
  sectionContainer: {
5250
5324
  margin: '0 auto',
5251
5325
  maxWidth: ({
@@ -5254,24 +5328,27 @@ const useTextGridStyles = createUseStyles(theme => ({
5254
5328
  },
5255
5329
  subheading: {
5256
5330
  color: theme?.palette?.font.tertiary,
5257
- fontSize: '16px',
5331
+ fontSize: theme.typography.fontSize.subHead,
5258
5332
  lineHeight: '20px',
5259
5333
  letterSpacing: '3px',
5260
- wordBreak: 'break-word'
5334
+ wordBreak: 'break-word',
5335
+ textTransform: 'uppercase',
5336
+ marginBottom: '8px'
5261
5337
  },
5262
5338
  heading: {
5263
- fontSize: '56px',
5264
- lineHeight: '70px',
5339
+ fontSize: theme.typography.fontSize.h2,
5340
+ lineHeight: 'normal',
5341
+ fontWeight: theme.typography.fontWeight.bold,
5265
5342
  letterSpacing: '-3px',
5266
- margin: '8px 0 16px',
5343
+ marginBottom: theme.spacing.margin.tiny,
5267
5344
  wordBreak: 'break-word'
5268
5345
  },
5269
5346
  sliderContainer: {
5270
5347
  margin: '0 -10px'
5271
5348
  },
5272
5349
  node: {
5273
- margin: '6px 10px',
5274
- padding: '40px',
5350
+ margin: '0 16px',
5351
+ padding: '48px',
5275
5352
  position: 'relative',
5276
5353
  height: 'calc(100% - 12px)',
5277
5354
  background: theme?.palette?.background?.default,
@@ -5280,16 +5357,16 @@ const useTextGridStyles = createUseStyles(theme => ({
5280
5357
  },
5281
5358
  nodeTitle: {
5282
5359
  color: theme?.palette?.font.secondary,
5283
- fontSize: '40px',
5284
- lineHeight: '48px',
5360
+ fontSize: theme.typography.fontSize.h3,
5361
+ fontWeight: theme.typography.fontWeight.bold,
5362
+ lineHeight: 'normal',
5285
5363
  margin: '0 0 20px',
5286
5364
  wordBreak: 'break-word'
5287
5365
  },
5288
5366
  nodePara: {
5289
5367
  color: theme?.palette?.font.tertiary,
5290
- fontSize: '16px',
5368
+ fontSize: theme.typography.fontSize.subHead,
5291
5369
  lineHeight: '24px',
5292
- margin: '20px 0',
5293
5370
  wordBreak: 'break-word'
5294
5371
  },
5295
5372
  contentRow: {
@@ -5299,27 +5376,21 @@ const useTextGridStyles = createUseStyles(theme => ({
5299
5376
  } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5300
5377
  },
5301
5378
  '@media screen and (max-width: 767px)': {
5302
- section: {
5303
- padding: '60px 20px'
5304
- },
5305
- heading: {
5306
- fontSize: '24px',
5307
- lineHeight: '36px',
5308
- letterSpacing: '-1px',
5309
- margin: '4px 0 6px'
5310
- },
5311
5379
  sliderContainer: {
5312
5380
  margin: '0 -20px 0 -10px'
5313
5381
  },
5314
5382
  node: {
5315
- padding: '20px'
5383
+ padding: '16px',
5384
+ margin: '0 6px'
5316
5385
  },
5317
5386
  nodeTitle: {
5318
- fontSize: '24px',
5319
- lineHeight: '36px'
5387
+ marginBottom: '0px'
5320
5388
  },
5321
5389
  nodePara: {
5322
- margin: '12px 0'
5390
+ margin: '16px 0'
5391
+ },
5392
+ heading: {
5393
+ letterSpacing: '-1px'
5323
5394
  }
5324
5395
  }
5325
5396
  }));
@@ -5339,7 +5410,8 @@ const TextGrid = ({
5339
5410
  const classes = useTextGridStyles({
5340
5411
  containerWidth,
5341
5412
  cardsCount,
5342
- slidesToShow
5413
+ slidesToShow,
5414
+ isMobile
5343
5415
  });
5344
5416
  const settings = {
5345
5417
  className: classes.sliderContainer,
@@ -5400,39 +5472,46 @@ const useCourseStyles = createUseStyles(theme => {
5400
5472
  return {
5401
5473
  coursesContainer: {
5402
5474
  overflow: 'hidden',
5475
+ padding: ({
5476
+ isMobile
5477
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5403
5478
  '&, & *, & *:before, & *:after': {
5404
5479
  fontFamily: theme?.typography?.fontFamily,
5405
5480
  boxSizing: 'border-box'
5406
- },
5407
- '& h2,& h3': {
5408
- fontWeight: '500',
5409
- '& b,& strong': {
5410
- fontWeight: '700'
5411
- }
5412
5481
  }
5482
+ // '& h2,& h3': {
5483
+ // fontWeight: '500',
5484
+ // '& b,& strong': {
5485
+ // fontWeight: '700'
5486
+ // }
5487
+ // }
5413
5488
  },
5489
+
5414
5490
  sectionContainer: {
5415
5491
  margin: '0 auto',
5416
5492
  maxWidth: ({
5417
5493
  containerWidth
5418
5494
  } = {}) => containerWidth
5419
5495
  },
5420
- coursesCardAndText: {
5421
- padding: '70px'
5422
- },
5496
+ // coursesCardAndText: {
5497
+ // padding: '70px'
5498
+ // },
5499
+
5423
5500
  coursesText: {
5424
5501
  color: theme?.palette?.font?.secondary,
5425
5502
  fontWeight: '400',
5426
- fontSize: '16px',
5503
+ fontSize: theme.typography.fontSize.subHead,
5427
5504
  lineHeight: '20px',
5428
5505
  textAlign: 'center',
5506
+ textTransform: 'uppercase',
5429
5507
  wordBreak: 'break-word'
5430
5508
  },
5431
5509
  coursesHeader: {
5432
- fontSize: '56px',
5510
+ fontSize: theme.typography.fontSize.h2,
5433
5511
  lineHeight: '70px',
5434
5512
  color: theme?.palette?.font?.default,
5435
- margin: '10px 0 40px 10px',
5513
+ marginTop: '8px',
5514
+ marginBottom: theme.spacing.margin.tiny,
5436
5515
  overflow: 'hidden',
5437
5516
  whiteSpace: 'nowrap',
5438
5517
  textOverflow: 'ellipsis',
@@ -5507,7 +5586,7 @@ const useCourseStyles = createUseStyles(theme => {
5507
5586
  courseCardName: {
5508
5587
  color: theme?.palette?.font?.default,
5509
5588
  fontWeight: '700',
5510
- fontSize: '24px',
5589
+ fontSize: theme.typography.fontSize.h5,
5511
5590
  lineHeight: '32px',
5512
5591
  wordBreak: 'break-word',
5513
5592
  padding: '12px 0px',
@@ -5522,7 +5601,7 @@ const useCourseStyles = createUseStyles(theme => {
5522
5601
  display: 'flex',
5523
5602
  justifyContent: 'flex-start',
5524
5603
  alignItems: 'center',
5525
- fontSize: '16px',
5604
+ fontSize: theme.typography.fontSize.subHead,
5526
5605
  color: theme?.palette?.font?.primary,
5527
5606
  '& img': {
5528
5607
  marginRight: '5px'
@@ -5534,10 +5613,10 @@ const useCourseStyles = createUseStyles(theme => {
5534
5613
  display: 'flex',
5535
5614
  justifyContent: 'space-between',
5536
5615
  alignItems: 'center',
5537
- padding: '13px 0 0 4px'
5616
+ padding: '12px 0 0 4px'
5538
5617
  },
5539
5618
  courseCardPrice: {
5540
- fontSize: '24px',
5619
+ fontSize: theme.typography.fontSize.h5,
5541
5620
  fontWeight: '700'
5542
5621
  },
5543
5622
  coursesAnchorTag: {
@@ -5558,7 +5637,8 @@ const useCourseStyles = createUseStyles(theme => {
5558
5637
  cursor: 'pointer',
5559
5638
  background: theme?.palette?.primary?.main,
5560
5639
  color: theme?.palette?.font?.invertedDefault,
5561
- padding: '12px 16px',
5640
+ padding: '8px 16px',
5641
+ fontWeight: theme.typography.fontWeight.bold,
5562
5642
  cursor: 'pointer',
5563
5643
  borderRadius: theme.shape.borderRadius.regular
5564
5644
  },
@@ -5603,7 +5683,7 @@ const useCourseStyles = createUseStyles(theme => {
5603
5683
  //background: theme?.palette?.background?.primary
5604
5684
  },
5605
5685
  coursesCardAndText: {
5606
- padding: '70px 30px'
5686
+ // padding: '70px 30px'
5607
5687
  },
5608
5688
  singleCardContainer: {
5609
5689
  gridTemplateColumns: '1fr'
@@ -5612,7 +5692,7 @@ const useCourseStyles = createUseStyles(theme => {
5612
5692
  margin: '0'
5613
5693
  },
5614
5694
  coursesHeader: {
5615
- fontSize: '24px',
5695
+ // fontSize: '24px',
5616
5696
  lineHeight: '36px',
5617
5697
  color: theme?.palette?.font?.default,
5618
5698
  margin: '4px 0 12px 0',
@@ -5621,8 +5701,8 @@ const useCourseStyles = createUseStyles(theme => {
5621
5701
  textOverflow: 'ellipsis'
5622
5702
  },
5623
5703
  singleCard: {
5624
- margin: '6px 2px',
5625
- width: 'calc(100% - 4px)'
5704
+ margin: '6px 2px'
5705
+ // width: 'calc(100% - 12px)'
5626
5706
  }
5627
5707
  }
5628
5708
  };
@@ -5787,7 +5867,8 @@ function courses({
5787
5867
  const [fallBackImages, setFallbackImages] = useState([]);
5788
5868
  const [showShimmer, setShowShimmer] = useState(true);
5789
5869
  const classes = useCourseStyles({
5790
- containerWidth
5870
+ containerWidth,
5871
+ isMobile
5791
5872
  });
5792
5873
  const [nodeData] = sectionData?.components;
5793
5874
  const handleApiCall = () => {
@@ -5839,7 +5920,7 @@ function courses({
5839
5920
  const settings = {
5840
5921
  className: classes.slickContainer,
5841
5922
  infinite: false,
5842
- slidesToShow: isMobile ? 1.1 : 3.25
5923
+ slidesToShow: isMobile ? 1 : 3.5
5843
5924
  };
5844
5925
  const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
5845
5926
  const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
@@ -5915,17 +5996,16 @@ var index$8 = /*#__PURE__*/Object.freeze({
5915
5996
  const useTeamStyles = createUseStyles(theme => {
5916
5997
  return {
5917
5998
  teamSuperContainer: {
5918
- padding: '60px',
5999
+ padding: ({
6000
+ isMobile
6001
+ } = {}) => 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`,
5919
6002
  backgroundColor: theme?.palette?.background?.primary,
5920
6003
  '&, & *, & *:before, & *:after': {
5921
6004
  fontFamily: theme?.typography?.fontFamily,
5922
6005
  boxSizing: 'border-box'
5923
6006
  },
5924
6007
  '& h2,& h3': {
5925
- fontWeight: '500',
5926
- '& b,& strong': {
5927
- fontWeight: '700'
5928
- }
6008
+ margin: '0'
5929
6009
  }
5930
6010
  },
5931
6011
  sectionContainer: {
@@ -5935,19 +6015,20 @@ const useTeamStyles = createUseStyles(theme => {
5935
6015
  } = {}) => containerWidth
5936
6016
  },
5937
6017
  teamHeading: {
5938
- fontSize: '16px',
6018
+ fontSize: theme.typography.fontSize.subHead,
6019
+ textTransform: 'uppercase',
5939
6020
  lineHeight: '20px',
5940
6021
  letterSpacing: '3px',
5941
- margin: '0 0 8px',
6022
+ marginBottom: '8px',
5942
6023
  color: theme?.palette?.font?.primary,
5943
6024
  wordBreak: 'break-word'
5944
6025
  },
5945
6026
  teamTitle: {
5946
- fontSize: '56px',
6027
+ fontSize: theme.typography.fontSize.h2,
6028
+ fontWeight: theme.typography.fontWeight.bold,
5947
6029
  lineHeight: '70px',
5948
6030
  letterSpacing: '-3px',
5949
6031
  wordBreak: 'break-word',
5950
- margin: '0 ',
5951
6032
  color: theme?.palette?.font?.default
5952
6033
  },
5953
6034
  sliderContainer: {
@@ -5962,10 +6043,11 @@ const useTeamStyles = createUseStyles(theme => {
5962
6043
  singleSlideContainer: {
5963
6044
  backgroundColor: theme?.palette?.background?.default,
5964
6045
  margin: '20px',
5965
- width: 'calc(100% - 40px)',
5966
- height: 'calc(100% - 40px)',
6046
+ width: 'calc(100% - 32px)',
6047
+ // height: 'calc(100% - 40px)',
6048
+ border: '3px solid #D8E0F0',
5967
6049
  borderRadius: theme?.shape?.borderRadius?.regular,
5968
- padding: '32px',
6050
+ padding: theme.spacing.padding.tiny,
5969
6051
  boxShadow: theme?.shadows?.primary
5970
6052
  },
5971
6053
  imageContainer: {
@@ -5990,32 +6072,28 @@ const useTeamStyles = createUseStyles(theme => {
5990
6072
  overflowWrap: 'break-word'
5991
6073
  },
5992
6074
  teamDetailsHeading: {
5993
- fontSize: '24px',
6075
+ fontSize: theme.typography.fontSize.h5,
6076
+ fontWeight: theme.typography.fontWeight.bold,
5994
6077
  lineHeight: '32px',
5995
6078
  margin: '0',
5996
6079
  color: theme?.palette?.font?.default
5997
6080
  },
5998
6081
  teamDetailsSubHeading: {
5999
- fontSize: '16px',
6082
+ fontSize: theme.typography.fontSize.subHead,
6000
6083
  lineHeight: '24px',
6001
6084
  margin: '12px 0 0',
6002
6085
  color: theme?.palette?.font?.primary
6003
6086
  },
6004
6087
  '@media (max-width: 767px)': {
6005
- teamSuperContainer: {
6006
- padding: '60px 20px'
6007
- },
6088
+ // teamSuperContainer: {
6089
+ // padding: '60px 20px'
6090
+ // },
6008
6091
  teamHeading: {
6009
- fontSize: '16px',
6010
- lineHeight: '20px',
6011
- letterSpacing: '3px',
6012
- margin: '0'
6092
+ lineHeight: '20px'
6013
6093
  },
6014
6094
  teamTitle: {
6015
- fontSize: '24px',
6016
6095
  lineHeight: '36px',
6017
- letterSpacing: '-1px',
6018
- margin: '0'
6096
+ letterSpacing: '-1px'
6019
6097
  },
6020
6098
  sliderContainer: {
6021
6099
  margin: '0 -4px'
@@ -6025,18 +6103,17 @@ const useTeamStyles = createUseStyles(theme => {
6025
6103
  margin: '12px 4px'
6026
6104
  },
6027
6105
  teamDetailsContainer: {
6028
- textAlign: 'center',
6029
- margin: '15px 0 0',
6030
- paddingBottom: '0'
6106
+ textAlign: 'center'
6107
+ // margin: '15px 0 0',
6108
+ // paddingBottom: '0'
6031
6109
  },
6110
+
6032
6111
  teamDetailsHeading: {
6033
- fontSize: '16px',
6034
6112
  lineHeight: '24px',
6035
6113
  margin: '0',
6036
6114
  color: theme?.palette?.font?.default
6037
6115
  },
6038
6116
  teamDetailsSubHeading: {
6039
- fontSize: '16px',
6040
6117
  color: theme?.palette?.font?.primary
6041
6118
  }
6042
6119
  }
@@ -6091,7 +6168,8 @@ function TeamCard({
6091
6168
  const classes = useTeamStyles({
6092
6169
  containerWidth,
6093
6170
  cardsCount,
6094
- slidesToShow
6171
+ slidesToShow,
6172
+ isMobile
6095
6173
  });
6096
6174
  const settings = {
6097
6175
  className: classes.sliderContainer,
@@ -6148,17 +6226,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6148
6226
  flexDirection: 'column',
6149
6227
  alignItems: 'center',
6150
6228
  backgroundColor: theme?.palette?.background?.default,
6229
+ padding: ({
6230
+ isMobile
6231
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6151
6232
  '&, & *, & *:before, & *:after': {
6152
6233
  fontFamily: theme?.typography?.fontFamily,
6153
6234
  boxSizing: 'border-box'
6154
- },
6155
- '& h2,& h3': {
6156
- fontWeight: '500',
6157
- '& b,& strong': {
6158
- fontWeight: '700'
6159
- }
6160
6235
  }
6236
+ // '& h2,& h3': {
6237
+ // fontWeight: '500',
6238
+ // '& b,& strong': {
6239
+ // fontWeight: '700'
6240
+ // }
6241
+ // }
6161
6242
  },
6243
+
6162
6244
  formContainer: {
6163
6245
  margin: '0 auto',
6164
6246
  maxWidth: ({
@@ -6177,14 +6259,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6177
6259
  backgroundColor: theme?.palette?.background?.default,
6178
6260
  boxShadow: theme?.shadows?.secondary,
6179
6261
  borderRadius: theme?.shape?.borderRadius?.regular,
6180
- margin: '60px 10%',
6181
- padding: '40px 80px',
6262
+ padding: '48px',
6182
6263
  position: 'relative'
6183
6264
  },
6184
6265
  title: {
6185
6266
  margin: '0',
6186
- fontSize: '56px',
6267
+ fontSize: theme.typography.fontSize.h2,
6187
6268
  color: theme?.palette?.font?.secondary,
6269
+ fontWeight: theme.typography.fontWeight.bold,
6188
6270
  lineHeight: '71px',
6189
6271
  letterSpacing: '-3px',
6190
6272
  textAlign: 'left',
@@ -6192,16 +6274,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6192
6274
  },
6193
6275
  contentContainer: {
6194
6276
  width: '100%',
6195
- display: 'flex',
6196
- alignItems: 'flex-start',
6197
- marginTop: '32px'
6277
+ display: 'flex'
6278
+ // alignItems: 'flex-start',
6198
6279
  },
6280
+
6199
6281
  leftContainer: {
6200
- width: '65%'
6282
+ width: '65%',
6283
+ display: 'flex',
6284
+ flexDirection: 'column',
6285
+ justifyContent: 'space-between'
6201
6286
  },
6202
6287
  subtitle: {
6203
- margin: '0 0 40px 0',
6204
- fontSize: '20px',
6288
+ // margin: '0 0 40px 0',
6289
+ fontSize: theme.typography.fontSize.h6,
6205
6290
  color: theme?.palette?.font?.primary,
6206
6291
  lineHeight: '32px',
6207
6292
  wordBreak: 'break-word'
@@ -6223,13 +6308,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6223
6308
  padding: '4px 8px 0 0'
6224
6309
  },
6225
6310
  addressText: {
6226
- fontSize: '16px',
6311
+ fontSize: theme.typography.fontSize.subHead,
6227
6312
  color: theme?.palette?.font?.default,
6228
6313
  lineHeight: '24px'
6229
6314
  },
6230
6315
  rightContainer: {
6231
6316
  width: '50%',
6232
- padding: '0 0 0 80px'
6317
+ padding: '0 0 0 80px',
6318
+ display: 'flex',
6319
+ flexDirection: 'column',
6320
+ justifyContent: 'space-between'
6233
6321
  },
6234
6322
  inputDiv: {
6235
6323
  margin: '0 0 20px 0',
@@ -6243,8 +6331,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6243
6331
  alignItems: 'center'
6244
6332
  },
6245
6333
  sectionContainer: {
6246
- margin: '26px 16px',
6247
- padding: '32px 16px'
6334
+ // margin: '26px 16px',
6335
+ padding: '16px'
6248
6336
  },
6249
6337
  partialBackground: {
6250
6338
  height: '150px'
@@ -6254,26 +6342,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6254
6342
  marginTop: '8px'
6255
6343
  },
6256
6344
  leftContainer: {
6257
- width: '100%',
6258
- padding: '0 16ox'
6345
+ width: '100%'
6346
+ // padding: '0 16ox'
6259
6347
  },
6348
+
6260
6349
  rightContainer: {
6261
6350
  width: '100%',
6262
6351
  padding: '0'
6263
6352
  },
6264
6353
  title: {
6265
- fontSize: '24px',
6354
+ // fontSize: '24px',
6266
6355
  lineHeight: '32px',
6267
- letterSpacing: 'initial'
6356
+ letterSpacing: 'initial',
6357
+ margin: '0 0 16px 0',
6358
+ textAlign: 'center'
6268
6359
  },
6269
6360
  subtitle: {
6270
- margin: '0 0 12px 0'
6361
+ margin: '0 0 16px 0',
6362
+ lineHeight: '26px',
6363
+ textAlign: 'center'
6271
6364
  },
6272
6365
  inputDiv: {
6273
- margin: '0 0 10px 0'
6366
+ margin: '0 0 16px 0'
6274
6367
  },
6275
6368
  addressRow: {
6276
- padding: '12px 0'
6369
+ padding: '0px',
6370
+ margin: '0 0 16px 0'
6277
6371
  }
6278
6372
  }
6279
6373
  }));
@@ -6292,7 +6386,8 @@ function FormEnquiry({
6292
6386
  isEdit
6293
6387
  } = useContext(PageContext);
6294
6388
  const classes = useSectionStyles$1({
6295
- containerWidth
6389
+ containerWidth,
6390
+ isMobile
6296
6391
  });
6297
6392
  const [nodeData] = sectionData.components;
6298
6393
  const theme = useTheme();
@@ -6351,6 +6446,10 @@ function FormEnquiry({
6351
6446
  className: classes.partialBackground
6352
6447
  }), /*#__PURE__*/React.createElement("div", {
6353
6448
  className: classes.sectionContainer
6449
+ }, /*#__PURE__*/React.createElement("div", {
6450
+ className: classes.contentContainer
6451
+ }, /*#__PURE__*/React.createElement("div", {
6452
+ className: classes.leftContainer
6354
6453
  }, /*#__PURE__*/React.createElement("h2", {
6355
6454
  className: classes.title
6356
6455
  }, /*#__PURE__*/React.createElement("span", {
@@ -6359,10 +6458,6 @@ function FormEnquiry({
6359
6458
  __html: nodeData?.title?.metadata?.value
6360
6459
  }
6361
6460
  })), /*#__PURE__*/React.createElement("div", {
6362
- className: classes.contentContainer
6363
- }, /*#__PURE__*/React.createElement("div", {
6364
- className: classes.leftContainer
6365
- }, /*#__PURE__*/React.createElement("div", {
6366
6461
  ref: nodeData?.subtitle?.refSetter,
6367
6462
  className: classes.subtitle,
6368
6463
  dangerouslySetInnerHTML: {
@@ -6502,7 +6597,7 @@ function FormEnquiry({
6502
6597
  messageValid: 1
6503
6598
  });
6504
6599
  }
6505
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
6600
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
6506
6601
  ref: nodeData?.cta?.refSetter,
6507
6602
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6508
6603
  value: 'Submitted'
@@ -6513,7 +6608,7 @@ function FormEnquiry({
6513
6608
  type: nodeData?.cta?.metadata?.type,
6514
6609
  size: isMobile ? 'small' : 'medium',
6515
6610
  disabled: btnDisabled
6516
- }))))));
6611
+ })))))));
6517
6612
  }
6518
6613
 
6519
6614
  var index$6 = /*#__PURE__*/Object.freeze({
@@ -6529,20 +6624,24 @@ const useSectionStyles = createUseStyles(theme => ({
6529
6624
  justifyContent: 'center',
6530
6625
  flexDirection: 'column',
6531
6626
  alignItems: 'center',
6627
+ padding: ({
6628
+ isMobile
6629
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6532
6630
  backgroundColor: theme?.palette?.background?.default,
6533
6631
  '&, & *, & *:before, & *:after': {
6534
6632
  fontFamily: theme?.typography?.fontFamily,
6535
6633
  boxSizing: 'border-box'
6536
- },
6537
- '& h2,& h3': {
6538
- fontWeight: '500',
6539
- '& b,& strong': {
6540
- fontWeight: '700'
6541
- }
6542
6634
  }
6635
+ // '& h2,& h3': {
6636
+ // fontWeight: '500',
6637
+ // '& b,& strong': {
6638
+ // fontWeight: '700'
6639
+ // }
6640
+ // }
6543
6641
  },
6642
+
6544
6643
  contactContainer: {
6545
- width: '80%',
6644
+ width: '100%',
6546
6645
  margin: '0 auto',
6547
6646
  maxWidth: ({
6548
6647
  containerWidth
@@ -6560,13 +6659,12 @@ const useSectionStyles = createUseStyles(theme => ({
6560
6659
  backgroundColor: theme?.palette?.background?.default,
6561
6660
  boxShadow: theme?.shadows?.secondary,
6562
6661
  borderRadius: theme?.shape?.borderRadius?.regular,
6563
- margin: '60px',
6564
- padding: '40px 80px',
6662
+ padding: '48px',
6565
6663
  position: 'relative'
6566
6664
  },
6567
6665
  title: {
6568
6666
  margin: '0',
6569
- fontSize: '56px',
6667
+ fontSize: theme.typography.fontSize.h2,
6570
6668
  color: theme?.palette?.font?.secondary,
6571
6669
  lineHeight: '71px',
6572
6670
  letterSpacing: '-3px',
@@ -6576,36 +6674,37 @@ const useSectionStyles = createUseStyles(theme => ({
6576
6674
  contentContainer: {
6577
6675
  width: '100%',
6578
6676
  display: 'flex',
6579
- alignItems: 'flex-start',
6580
- marginTop: '32px',
6677
+ justifyContent: 'space-between',
6581
6678
  wordBreak: 'break-word'
6582
6679
  },
6583
6680
  leftContainer: {
6584
- width: '50%'
6681
+ width: '50%',
6682
+ display: 'flex',
6683
+ flexDirection: 'column',
6684
+ justifyContent: 'space-between'
6585
6685
  },
6586
6686
  subtitle: {
6587
- margin: '0 0 58px 0',
6588
- fontSize: '20px',
6687
+ margin: '0 0 auto 0',
6688
+ fontSize: theme.typography.fontSize.h6,
6589
6689
  color: theme?.palette?.font?.primary,
6590
- lineHeight: '32px'
6690
+ lineHeight: '32px',
6691
+ margin: '20px 0px'
6591
6692
  },
6592
6693
  addressContainer: {
6593
6694
  display: 'flex',
6594
6695
  alignItems: 'flex-start',
6595
6696
  flexDirection: 'column',
6596
- width: '85%',
6597
- position: 'relative',
6598
- paddingBottom: '55%'
6599
- // '& img': {
6600
- // width: '80%'
6601
- // }
6697
+ width: '100%',
6698
+ position: 'relative'
6602
6699
  },
6603
-
6604
6700
  telephoneImage: {
6605
6701
  width: '80%'
6606
6702
  },
6607
6703
  rightContainer: {
6608
6704
  width: '50%',
6705
+ display: 'flex',
6706
+ flexDirection: 'column',
6707
+ justifyContent: 'space-between',
6609
6708
  padding: '0 0 0 80px'
6610
6709
  },
6611
6710
  inputDiv: {
@@ -6619,16 +6718,16 @@ const useSectionStyles = createUseStyles(theme => ({
6619
6718
  background: theme?.palette?.background?.default,
6620
6719
  border: `1px solid ${theme?.palette?.border?.secondary}`,
6621
6720
  borderRadius: theme?.shape?.borderRadius?.regular,
6622
- padding: '14px 12px',
6721
+ // padding: '14px 12px',
6623
6722
  display: 'flex',
6624
6723
  fontWeight: '400',
6625
- fontSize: '16px',
6724
+ fontSize: theme.typography.fontSize.subHead,
6626
6725
  lineHeight: '20px',
6627
6726
  fontFamily: 'inherit',
6628
6727
  resize: 'none',
6629
6728
  '&::placeholder': {
6630
6729
  fontWeight: '400',
6631
- fontSize: '16px',
6730
+ fontSize: theme.typography.fontSize.subHead,
6632
6731
  lineHeight: '20px',
6633
6732
  color: theme?.palette?.font?.primary,
6634
6733
  fontFamily: theme?.typography?.fontFamily
@@ -6658,8 +6757,7 @@ const useSectionStyles = createUseStyles(theme => ({
6658
6757
  alignItems: 'center'
6659
6758
  },
6660
6759
  sectionContainer: {
6661
- margin: '26px 16px',
6662
- padding: '32px 16px'
6760
+ padding: '16px'
6663
6761
  },
6664
6762
  partialBackground: {
6665
6763
  height: '150px'
@@ -6677,15 +6775,17 @@ const useSectionStyles = createUseStyles(theme => ({
6677
6775
  padding: '0'
6678
6776
  },
6679
6777
  title: {
6680
- fontSize: '24px',
6681
- lineHeight: '32px',
6682
- letterSpacing: 'initial'
6778
+ lineHeight: '26px',
6779
+ letterSpacing: 'initial',
6780
+ textAlign: 'center'
6683
6781
  },
6684
6782
  subtitle: {
6685
- margin: '0 0 12px 0'
6783
+ margin: '0 0 12px 0',
6784
+ textAlign: 'center',
6785
+ lineHeight: '26px'
6686
6786
  },
6687
6787
  addressRow: {
6688
- padding: '12px 0'
6788
+ // padding: '12px 0'
6689
6789
  },
6690
6790
  addressContainer: {
6691
6791
  '& img': {
@@ -6693,7 +6793,7 @@ const useSectionStyles = createUseStyles(theme => ({
6693
6793
  }
6694
6794
  },
6695
6795
  inputDiv: {
6696
- margin: '0 0 10px 0'
6796
+ // margin: '0 0 10px 0'
6697
6797
  },
6698
6798
  inputField: {
6699
6799
  width: '100%',
@@ -6725,7 +6825,8 @@ function Contact({
6725
6825
  let [btnDisabled, setBtnDisabled] = useState(false);
6726
6826
  const [nodeData] = sectionData.components;
6727
6827
  const classes = useSectionStyles({
6728
- containerWidth
6828
+ containerWidth,
6829
+ isMobile
6729
6830
  });
6730
6831
  let formInitialValue = {
6731
6832
  name: nodeData?.nameField?.metadata?.value,
@@ -6781,6 +6882,10 @@ function Contact({
6781
6882
  className: classes.partialBackground
6782
6883
  }), /*#__PURE__*/React.createElement("div", {
6783
6884
  className: classes.sectionContainer
6885
+ }, /*#__PURE__*/React.createElement("div", {
6886
+ className: classes.contentContainer
6887
+ }, /*#__PURE__*/React.createElement("div", {
6888
+ className: classes.leftContainer
6784
6889
  }, /*#__PURE__*/React.createElement("h2", {
6785
6890
  className: classes.title
6786
6891
  }, /*#__PURE__*/React.createElement("span", {
@@ -6789,10 +6894,6 @@ function Contact({
6789
6894
  __html: nodeData?.title?.metadata?.value
6790
6895
  }
6791
6896
  })), /*#__PURE__*/React.createElement("div", {
6792
- className: classes.contentContainer
6793
- }, /*#__PURE__*/React.createElement("div", {
6794
- className: classes.leftContainer
6795
- }, /*#__PURE__*/React.createElement("div", {
6796
6897
  ref: nodeData?.subtitle?.refSetter,
6797
6898
  className: classes.subtitle,
6798
6899
  dangerouslySetInnerHTML: {
@@ -6895,7 +6996,9 @@ function Contact({
6895
6996
  messageValid: 1
6896
6997
  });
6897
6998
  }
6898
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
6999
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
7000
+ className: classes.btnContainer
7001
+ }, /*#__PURE__*/React.createElement(Button, {
6899
7002
  ref: nodeData?.cta?.refSetter,
6900
7003
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6901
7004
  value: 'Submitted'
@@ -6907,7 +7010,7 @@ function Contact({
6907
7010
  size: isMobile ? 'small' : 'medium',
6908
7011
  disabled: btnDisabled,
6909
7012
  name: "button"
6910
- }))))));
7013
+ })))))));
6911
7014
  }
6912
7015
 
6913
7016
  var index$5 = /*#__PURE__*/Object.freeze({
@@ -6920,16 +7023,15 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6920
7023
  webinarSuperContainer: {
6921
7024
  display: 'flex',
6922
7025
  justifyContent: 'center',
6923
- padding: '70px',
7026
+ padding: ({
7027
+ isMobile
7028
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6924
7029
  '&, & *, & *:before, & *:after': {
6925
7030
  fontFamily: theme?.typography?.fontFamily,
6926
7031
  boxSizing: 'border-box'
6927
7032
  },
6928
- '& h2,& h3': {
6929
- fontWeight: '500',
6930
- '& b,& strong': {
6931
- fontWeight: '700'
6932
- }
7033
+ '& h2,& h3,& p': {
7034
+ margin: '0'
6933
7035
  }
6934
7036
  },
6935
7037
  sectionContainer: {
@@ -6943,30 +7045,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6943
7045
  maxWidth: '1440px',
6944
7046
  fontFamily: theme?.typography?.fontFamily
6945
7047
  },
6946
- videoTestimonialHeading: {
6947
- fontSize: '16px',
6948
- lineHeight: '20px',
6949
- letterSpacing: '3px',
6950
- textTransform: 'uppercase',
6951
- color: theme.palette.font.tertiary,
6952
- wordBreak: 'break-word',
6953
- fontWeight: '700'
6954
- },
6955
- videoTestimonialTitle: {
6956
- fontSize: '56px',
6957
- lineHeight: '71px',
6958
- letterSpacing: '-3px',
6959
- margin: '0',
6960
- color: theme.palette.font.default,
6961
- wordBreak: 'break-word'
6962
- },
6963
- videoCarouselContainer: {
6964
- marginTop: '16px'
6965
- },
7048
+ // videoTestimonialHeading: {
7049
+ // fontSize: theme.typography.fontSize.subHead,
7050
+ // lineHeight: '20px',
7051
+ // letterSpacing: '3px',
7052
+ // textTransform: 'uppercase',
7053
+ // color: theme.palette.font.tertiary,
7054
+ // wordBreak: 'break-word',
7055
+ // fontWeight: theme.typography.fontWeight.bold,
7056
+ // },
7057
+
7058
+ // videoTestimonialTitle: {
7059
+ // fontSize: theme.typography.fontSize.h2,
7060
+ // lineHeight: '71px',
7061
+ // fontWeight: theme.typography.fontWeight.bold,
7062
+ // letterSpacing: '-3px',
7063
+ // margin: '0',
7064
+ // color: theme.palette.font.default,
7065
+ // wordBreak: 'break-word'
7066
+ // },
7067
+
7068
+ // videoCarouselContainer: {
7069
+ // marginTop: '16px'
7070
+ // },
7071
+
6966
7072
  webinarCarousel: {
6967
7073
  display: 'flex',
6968
7074
  justifyContent: 'flex-start',
6969
- gap: '20px'
7075
+ gap: '32px'
6970
7076
  },
6971
7077
  '@media screen and (max-width: 767px)': {
6972
7078
  webinarCarousel: {
@@ -6981,18 +7087,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6981
7087
  alignItems: 'center'
6982
7088
  },
6983
7089
  iframeContainer: {
6984
- width: '90%',
7090
+ width: '100%',
6985
7091
  position: 'relative',
6986
7092
  paddingBottom: '56.25%',
6987
7093
  // top: "6%",
6988
- left: '5%'
7094
+ // left: '5%'
7095
+ borderRadius: '8px',
7096
+ overflow: 'hidden'
6989
7097
  },
6990
7098
  offerText: {
6991
7099
  textAlign: 'center',
6992
- color: theme.palette.font.primary
7100
+ color: theme.palette.font.primary,
7101
+ marginBottom: '5%'
6993
7102
  },
6994
7103
  offerPrice: {
6995
- fontSize: '28px',
7104
+ fontSize: theme.typography.fontSize.h5,
6996
7105
  fontWeight: '600'
6997
7106
  },
6998
7107
  priceContainer: {
@@ -7011,9 +7120,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7011
7120
  bottomContainer: {
7012
7121
  display: 'flex',
7013
7122
  justifyContent: 'space-between',
7014
- marginTop: '5%',
7015
- padding: '0px 5% 0px 5%'
7123
+ marginTop: '5%'
7124
+ // padding: '0px 5% 0px 5%'
7016
7125
  },
7126
+
7017
7127
  iframe: {
7018
7128
  position: 'absolute',
7019
7129
  width: '100%',
@@ -7024,10 +7134,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7024
7134
  width: '100%',
7025
7135
  display: 'flex',
7026
7136
  flexDirection: 'column',
7027
- alignItems: 'flex-start'
7137
+ alignItems: 'flex-start',
7138
+ gap: '20px'
7028
7139
  },
7029
7140
  videoDetailsHeading: {
7030
- fontSize: '40px',
7141
+ fontSize: theme.typography.fontSize.h3,
7142
+ fontWeight: theme.typography.fontWeight.bold,
7031
7143
  lineHeight: '48px',
7032
7144
  margin: '0',
7033
7145
  letterSpacing: '-1px',
@@ -7041,7 +7153,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7041
7153
  display: 'flex',
7042
7154
  flexDirection: 'column',
7043
7155
  justifyContent: 'start',
7044
- paddingTop: '20px',
7156
+ padding: '24px',
7045
7157
  borderRadius: '10px'
7046
7158
  },
7047
7159
  bannerContainer: {
@@ -7054,14 +7166,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7054
7166
  position: 'relative',
7055
7167
  fontSize: '18px',
7056
7168
  transform: 'rotate(180deg)',
7057
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7058
- marginBottom: '16px'
7169
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7059
7170
  },
7060
7171
  bannerContainerText: {
7061
7172
  transform: 'rotate(180deg)'
7062
7173
  },
7063
7174
  courseDetailsTags: {
7064
- marginTop: '16px',
7065
7175
  display: 'flex'
7066
7176
  },
7067
7177
  courseDetailTag: {
@@ -7069,23 +7179,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7069
7179
  alignItems: 'center',
7070
7180
  marginRight: '20px',
7071
7181
  '& div': {
7072
- fontSize: '14px',
7182
+ fontSize: theme.typography.fontSize.subHead,
7073
7183
  marginLeft: '10px'
7074
7184
  }
7075
7185
  },
7076
7186
  courseDetailContent: {
7077
- marginTop: '16px',
7078
- fontSize: '16px',
7187
+ fontSize: theme.typography.fontSize.subHead,
7079
7188
  wordBreak: 'break-word',
7080
7189
  color: theme.palette.font.primary,
7081
- margin: '10px 0 20px',
7082
- whiteSpace: 'pre-wrap'
7190
+ whiteSpace: 'pre-wrap',
7191
+ width: '80%'
7083
7192
  },
7084
7193
  courseDetailViewFullDetails: {
7085
7194
  cursor: 'pointer',
7086
- fontSize: '16px',
7195
+ fontSize: theme.typography.fontSize.subHead,
7087
7196
  lineHeight: '24px',
7088
- margin: '0',
7197
+ marginTop: '-20px',
7089
7198
  color: '#00ADE7',
7090
7199
  wordBreak: 'break-word'
7091
7200
  },
@@ -7093,9 +7202,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7093
7202
  color: '#EB5757',
7094
7203
  fontWeight: '600'
7095
7204
  },
7096
- webinarButtonContainer: {
7097
- marginBottom: '20px'
7098
- },
7205
+ // webinarButtonContainer: {
7206
+ // marginBottom: '20px'
7207
+ // },
7208
+
7099
7209
  iconBackground: {
7100
7210
  display: 'flex',
7101
7211
  width: '36px',
@@ -7127,11 +7237,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7127
7237
  width: '100%'
7128
7238
  },
7129
7239
  videoDetailsHeading: {
7130
- fontSize: '16px',
7131
7240
  lineHeight: '20px'
7132
7241
  },
7133
7242
  videoTestimonialTitle: {
7134
- fontSize: '24px',
7243
+ // fontSize: '24px',
7135
7244
  lineHeight: '36px',
7136
7245
  letterSpacing: '-1px'
7137
7246
  },
@@ -7289,8 +7398,7 @@ const SingleVideoSlide$1 = props => {
7289
7398
  className: classes.offerPrice
7290
7399
  }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7291
7400
  style: {
7292
- fontSize: '20px',
7293
- marginTop: '0px'
7401
+ fontSize: '20px'
7294
7402
  }
7295
7403
  }, /*#__PURE__*/React.createElement("span", {
7296
7404
  className: classes.originalPrice
@@ -7324,12 +7432,14 @@ function CoursePromotionPage$1({
7324
7432
  sectionIndex
7325
7433
  }) {
7326
7434
  const {
7435
+ isMobile,
7327
7436
  layout: {
7328
7437
  containerWidth
7329
7438
  }
7330
7439
  } = useContext(PageContext);
7331
7440
  const classes = useWebinarPromotionPage({
7332
- containerWidth
7441
+ containerWidth,
7442
+ isMobile
7333
7443
  });
7334
7444
  return /*#__PURE__*/React.createElement("div", {
7335
7445
  className: classes.webinarSuperContainer
@@ -7355,18 +7465,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
7355
7465
  courseSuperContainer: {
7356
7466
  display: 'flex',
7357
7467
  justifyContent: 'center',
7358
- padding: '70px ',
7468
+ padding: ({
7469
+ isMobile
7470
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7359
7471
  '&, & *, & *:before, & *:after': {
7360
7472
  fontFamily: theme?.typography?.fontFamily,
7361
7473
  boxSizing: 'border-box'
7362
- },
7363
- '& h2,& h3': {
7364
- fontWeight: '500',
7365
- '& b,& strong': {
7366
- fontWeight: '700'
7367
- }
7368
7474
  }
7475
+ // '& h2,& h3': {
7476
+ // fontWeight: '500',
7477
+ // '& b,& strong': {
7478
+ // fontWeight: '700'
7479
+ // }
7480
+ // }
7369
7481
  },
7482
+
7370
7483
  sectionContainer: {
7371
7484
  margin: '0 auto',
7372
7485
  maxWidth: ({
@@ -7379,7 +7492,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7379
7492
  fontFamily: theme?.typography?.fontFamily
7380
7493
  },
7381
7494
  videoTestimonialHeading: {
7382
- fontSize: '16px',
7495
+ fontSize: theme.typography.fontSize.subHead,
7383
7496
  lineHeight: '20px',
7384
7497
  letterSpacing: '3px',
7385
7498
  textTransform: 'uppercase',
@@ -7388,7 +7501,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7388
7501
  fontWeight: '700'
7389
7502
  },
7390
7503
  videoTestimonialTitle: {
7391
- fontSize: '56px',
7504
+ fontSize: theme.typography.fontSize.h2,
7392
7505
  lineHeight: '71px',
7393
7506
  letterSpacing: '-3px',
7394
7507
  margin: '0',
@@ -7396,12 +7509,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7396
7509
  wordBreak: 'break-word'
7397
7510
  },
7398
7511
  videoCarouselContainer: {
7399
- marginTop: '16px'
7512
+ // marginTop: '16px'
7400
7513
  },
7401
7514
  coursePageCarousel: {
7402
7515
  display: 'flex',
7403
7516
  justifyContent: 'flex-start',
7404
- gap: '20px'
7517
+ gap: '32px'
7405
7518
  },
7406
7519
  '@media screen and (max-width: 767px)': {
7407
7520
  coursePageCarousel: {
@@ -7416,18 +7529,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
7416
7529
  alignItems: 'center'
7417
7530
  },
7418
7531
  iframeContainer: {
7419
- width: '90%',
7532
+ width: '100%',
7420
7533
  position: 'relative',
7421
- paddingBottom: '56.25%',
7534
+ paddingBottom: '56.25%'
7422
7535
  // top: "6%",
7423
- left: '5%'
7536
+ // left: '5%'
7424
7537
  },
7538
+
7425
7539
  offerText: {
7426
7540
  textAlign: 'center',
7427
7541
  color: theme.palette.font.primary
7428
7542
  },
7429
7543
  offerPrice: {
7430
- fontSize: '28px',
7544
+ fontSize: theme.typography.fontSize.h4,
7431
7545
  fontWeight: '700'
7432
7546
  },
7433
7547
  priceContainer: {
@@ -7445,7 +7559,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7445
7559
  fontWeight: '600'
7446
7560
  },
7447
7561
  bottomContainer: {
7448
- width: '90%',
7562
+ width: '100%',
7449
7563
  marginLeft: 'auto',
7450
7564
  marginRight: 'auto',
7451
7565
  display: 'flex',
@@ -7462,10 +7576,11 @@ const useCoursePromotionPage = createUseStyles(theme => {
7462
7576
  width: '100%',
7463
7577
  display: 'flex',
7464
7578
  flexDirection: 'column',
7465
- alignItems: 'flex-start'
7579
+ alignItems: 'flex-start',
7580
+ gap: '20px'
7466
7581
  },
7467
7582
  videoDetailsHeading: {
7468
- fontSize: '40px',
7583
+ fontSize: theme.typography.fontSize.h3,
7469
7584
  lineHeight: '48px',
7470
7585
  margin: '0',
7471
7586
  letterSpacing: '-1px',
@@ -7476,11 +7591,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
7476
7591
  width: '445px',
7477
7592
  backgroundColor: '#f4f9ff',
7478
7593
  display: 'flex',
7594
+ padding: '24px',
7479
7595
  flexDirection: 'column',
7480
- borderRadius: '10px',
7481
- paddingBottom: '10px',
7482
- paddingTop: '10px'
7596
+ borderRadius: '10px'
7597
+ // paddingBottom: '10px',
7598
+ // paddingTop: '10px'
7483
7599
  },
7600
+
7484
7601
  bannerContainer: {
7485
7602
  width: '100%',
7486
7603
  background: '#EB5757',
@@ -7489,11 +7606,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7489
7606
  padding: '10px 10px 23px 40px',
7490
7607
  wordWrap: 'break-word',
7491
7608
  position: 'relative',
7492
- fontSize: '18px',
7609
+ fontSize: theme.typography.fontSize.subHead,
7493
7610
  transform: 'rotate(180deg)',
7494
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7495
- marginBottom: '16px'
7611
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7612
+ // marginBottom: '16px'
7496
7613
  },
7614
+
7497
7615
  bannerContainerText: {
7498
7616
  transform: 'rotate(180deg)'
7499
7617
  },
@@ -7504,16 +7622,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
7504
7622
  },
7505
7623
  courseEmblem: {
7506
7624
  background: '#F0F4F8',
7625
+ fontSize: theme.typography.fontSize.subHead,
7507
7626
  borderRadius: '2.00337px',
7508
7627
  padding: '8px',
7509
7628
  display: 'flex',
7510
7629
  alignItems: 'center',
7511
- justifyContent: 'center',
7512
- marginTop: '20px',
7513
- marginBottom: '20px'
7630
+ justifyContent: 'center'
7514
7631
  },
7515
7632
  courseDetailsTags: {
7516
- marginTop: '16px',
7633
+ // marginTop: '16px',
7517
7634
  display: 'flex',
7518
7635
  flexWrap: 'wrap'
7519
7636
  },
@@ -7523,13 +7640,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
7523
7640
  alignItems: 'center',
7524
7641
  marginRight: '20px',
7525
7642
  '& div': {
7526
- fontSize: '14px',
7643
+ fontSize: theme.typography.fontSize.subHead,
7644
+ fontWeight: theme.typography.fontWeight.semiBold,
7527
7645
  marginLeft: '10px'
7528
7646
  }
7529
7647
  },
7530
7648
  courseDetailContent: {
7531
- marginTop: '16px',
7532
- fontSize: '16px',
7649
+ // marginTop: '16px',
7650
+ fontSize: theme.typography.fontSize.subHead,
7533
7651
  lineHeight: '24px',
7534
7652
  wordBreak: 'break-word',
7535
7653
  color: theme.palette.font.primary,
@@ -7538,9 +7656,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
7538
7656
  },
7539
7657
  courseDetailViewFullDetails: {
7540
7658
  cursor: 'pointer',
7541
- fontSize: '16px',
7659
+ fontSize: theme.typography.fontSize.subHead,
7542
7660
  lineHeight: '24px',
7543
- margin: '0',
7661
+ marginTop: '-24px',
7544
7662
  color: '#00ADE7',
7545
7663
  wordBreak: 'break-word'
7546
7664
  },
@@ -7587,7 +7705,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7587
7705
  },
7588
7706
  '@media (max-width: 767px)': {
7589
7707
  bannerContainerText: {
7590
- fontSize: '16px'
7708
+ // fontSize: '16px'
7591
7709
  },
7592
7710
  courseViewContainer: {
7593
7711
  width: '100%',
@@ -7608,12 +7726,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7608
7726
  width: '100%'
7609
7727
  },
7610
7728
  videoDetailsHeading: {
7611
- fontSize: '20px',
7729
+ // fontSize: '20px',
7612
7730
  fontWeight: '600',
7613
7731
  lineHeight: '20px'
7614
7732
  },
7615
7733
  videoTestimonialTitle: {
7616
- fontSize: '24px',
7734
+ // fontSize: '24px',
7617
7735
  lineHeight: '36px',
7618
7736
  letterSpacing: '-1px'
7619
7737
  },
@@ -7799,7 +7917,7 @@ const SingleVideoSlide = props => {
7799
7917
  className: classes.offerPrice
7800
7918
  }, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7801
7919
  style: {
7802
- fontSize: '20px',
7920
+ // fontSize: '20px',
7803
7921
  marginTop: '0px'
7804
7922
  }
7805
7923
  }, /*#__PURE__*/React.createElement("span", {
@@ -7849,12 +7967,14 @@ function CoursePromotionPage({
7849
7967
  sectionIndex
7850
7968
  }) {
7851
7969
  const {
7970
+ isMobile,
7852
7971
  layout: {
7853
7972
  containerWidth
7854
7973
  }
7855
7974
  } = useContext(PageContext);
7856
7975
  const classes = useCoursePromotionPage({
7857
- containerWidth
7976
+ containerWidth,
7977
+ isMobile
7858
7978
  });
7859
7979
  return /*#__PURE__*/React.createElement("div", {
7860
7980
  className: classes.courseSuperContainer
@@ -7878,7 +7998,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
7878
7998
 
7879
7999
  const useFormPageStyles = createUseStyles(theme => ({
7880
8000
  formPageSection: {
7881
- padding: '35px 70px',
8001
+ padding: ({
8002
+ isMobile
8003
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7882
8004
  background: '#F4F9FF',
7883
8005
  '&, & *, & *:before, & *:after': {
7884
8006
  fontFamily: theme?.typography?.fontFamily,
@@ -7889,77 +8011,82 @@ const useFormPageStyles = createUseStyles(theme => ({
7889
8011
  textAlign: 'center'
7890
8012
  },
7891
8013
  formPageTitle: {
7892
- fontSize: '50px',
7893
- fontWeight: '700'
8014
+ fontSize: theme.typography.fontSize.h2,
8015
+ fontWeight: theme.typography.fontWeight.bold
7894
8016
  },
7895
8017
  formPageSubtitle: {
7896
- marginTop: '16px',
7897
- fontSize: '16px',
8018
+ marginTop: '8px',
8019
+ fontSize: theme.typography.fontSize.h6,
7898
8020
  lineHeight: '23px',
7899
8021
  color: 'rgba(51, 51, 51, 0.5)',
7900
- marginBottom: '32px'
8022
+ marginBottom: theme.spacing.margin.tiny
7901
8023
  },
7902
8024
  formPageFormContainer: {
7903
- marginTop: '32px',
7904
8025
  '& form': {
7905
- padding: '35px 140px',
8026
+ padding: '72px',
7906
8027
  background: '#FFFFFF',
7907
8028
  borderRadius: '8px',
7908
8029
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
7909
8030
  }
7910
8031
  },
7911
8032
  inputField: {
7912
- marginTop: '20px',
7913
- padding: '20px',
7914
- border: '1px solid #D8E0F0',
7915
- borderRadius: '16px'
8033
+ marginTop: '12px'
8034
+ // padding: '12px 16px',
8035
+ // border: '1px solid #D8E0F0',
8036
+ // borderRadius: '16px'
7916
8037
  },
8038
+
7917
8039
  inputFieldLabel: {
7918
8040
  color: '#333',
7919
- fontSize: '20px',
8041
+ fontSize: theme.typography.fontSize.subHead,
8042
+ fontWeight: theme.typography.fontWeight.semiBold,
7920
8043
  display: 'block',
7921
- marginBottom: '10px'
8044
+ marginTop: '20px',
8045
+ marginBottom: '12px'
7922
8046
  },
7923
8047
  inputFieldControl: {
7924
8048
  width: '100%',
7925
- height: '50px',
7926
8049
  borderRadius: '8px',
7927
8050
  border: '1px solid #D8E0F0',
7928
- padding: '5px 10px',
8051
+ padding: '12px 16px',
7929
8052
  color: '#7D8592',
7930
- fontSize: '16px'
8053
+ fontSize: theme.typography.fontSize.subHead
7931
8054
  },
7932
8055
  checkboxField: {
7933
- marginTop: '20px',
7934
- padding: '20px',
7935
- border: '1px solid #D8E0F0',
7936
- borderRadius: '8px'
8056
+ // padding: '20px',
8057
+ // border: '1px solid #D8E0F0',
8058
+ // borderRadius: '8px'
7937
8059
  },
7938
8060
  checkBoxFieldLabel: {
7939
8061
  color: '#333',
7940
- fontSize: '20px',
7941
- margin: '10px 0'
8062
+ fontSize: theme.typography.fontSize.subHead,
8063
+ fontWeight: theme.typography.fontWeight.semiBold,
8064
+ marginTop: '20px',
8065
+ marginBottom: '12px'
7942
8066
  },
7943
8067
  inputFieldRequired: {
7944
8068
  color: '#F41828'
7945
8069
  },
7946
8070
  checkboxFieldControl: {
7947
- padding: '6px 0',
8071
+ padding: '8px 0',
7948
8072
  '& label': {
7949
- fontFamily: '16px',
8073
+ fontSize: theme.typography.fontSize.subHead,
7950
8074
  marginLeft: '10px',
7951
8075
  color: '#7D8592'
7952
8076
  }
7953
8077
  },
7954
8078
  submitBtnContainer: {
7955
- marginTop: '20px',
8079
+ marginTop: theme.spacing.margin.tiny,
8080
+ display: 'flex',
8081
+ alignItems: 'center',
8082
+ justifyContent: 'center',
7956
8083
  width: '100%',
7957
8084
  margin: '0 auto',
7958
8085
  '& button': {
7959
- height: '44px',
7960
- padding: '10px 40px',
8086
+ // height: '44px',
8087
+ padding: '16px 24px',
7961
8088
  color: '#FFFFFF',
7962
- fontSize: '16px',
8089
+ fontSize: theme.typography.fontSize.subHead,
7963
8090
  cursor: 'pointer',
7964
8091
  borderRadius: '8px'
7965
8092
  }
@@ -7974,8 +8101,14 @@ const useFormPageStyles = createUseStyles(theme => ({
7974
8101
  },
7975
8102
  formPageFormContainer: {
7976
8103
  '& form': {
7977
- padding: '24px'
8104
+ padding: '16px'
7978
8105
  }
8106
+ },
8107
+ inputFieldLabel: {
8108
+ marginBottom: '8px'
8109
+ },
8110
+ checkBoxFieldLabel: {
8111
+ marginBottom: '8px'
7979
8112
  }
7980
8113
  }
7981
8114
  }));
@@ -8022,13 +8155,16 @@ const FormPage = ({
8022
8155
  extraProps = {}
8023
8156
  }) => {
8024
8157
  const [formData, setFormData] = useState({});
8025
- const classes = useFormPageStyles();
8026
8158
  const [formSubmitted, setformSubmitted] = useState(false);
8027
8159
  const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
8028
8160
  const {
8029
8161
  _id,
8030
- baseURLs
8162
+ baseURLs,
8163
+ isMobile
8031
8164
  } = useContext(PageContext);
8165
+ const classes = useFormPageStyles({
8166
+ isMobile
8167
+ });
8032
8168
  const handleSubmit = async e => {
8033
8169
  e.preventDefault();
8034
8170
  let formResponse = [];
@@ -8235,16 +8371,18 @@ const useTilesStyles = createUseStyles(theme => {
8235
8371
  alignItems: 'center',
8236
8372
  display: 'flex',
8237
8373
  flexDirection: 'column',
8238
- marginTop: '20px'
8374
+ padding: ({
8375
+ isMobile
8376
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8239
8377
  },
8240
8378
  tileDiv: {
8241
8379
  width: '236px',
8242
- height: '160px',
8380
+ // height: '160px',
8381
+ aspectRatio: '3/2',
8243
8382
  position: 'relative',
8244
8383
  borderRadius: '16px',
8245
8384
  overflow: 'hidden',
8246
- cursor: 'pointer',
8247
- margin: '1rem'
8385
+ cursor: 'pointer'
8248
8386
  },
8249
8387
  tileImg: {
8250
8388
  objectFit: 'cover',
@@ -8259,8 +8397,8 @@ const useTilesStyles = createUseStyles(theme => {
8259
8397
  top: '12%',
8260
8398
  left: '7%',
8261
8399
  color: 'white',
8262
- fontWeight: '600',
8263
- fontSize: '20px',
8400
+ fontWeight: theme.typography.fontWeight.semiBold,
8401
+ fontSize: theme.typography.fontSize.h5,
8264
8402
  width: '150px'
8265
8403
  },
8266
8404
  row: {
@@ -8268,25 +8406,28 @@ const useTilesStyles = createUseStyles(theme => {
8268
8406
  flexDirection: 'row',
8269
8407
  justifyContent: 'center',
8270
8408
  flexWrap: 'wrap',
8271
- width: '85%',
8272
- marginBottom: '3rem'
8409
+ width: '100%',
8410
+ gap: '24px'
8273
8411
  },
8274
8412
  header: {
8275
- fontWeight: '700',
8276
- fontSize: '46px',
8413
+ fontWeight: theme.typography.fontWeight.bold,
8414
+ fontSize: theme.typography.fontSize.h2,
8277
8415
  lineHeight: '46px',
8278
- marginBottom: '1rem',
8279
8416
  textAlign: 'center',
8280
- marginTop: '3rem',
8281
8417
  color: '#2D2D2D'
8282
8418
  },
8283
8419
  headerTitle: {
8284
- fontWeight: '400',
8285
- fontSize: '24px',
8420
+ fontWeight: theme.typography.fontWeight.regular,
8421
+ fontSize: theme.typography.fontSize.subHead,
8286
8422
  lineHeight: '46px',
8287
8423
  color: '#7D8592',
8288
- marginBottom: '3rem',
8424
+ marginBottom: theme.spacing.margin.tiny,
8289
8425
  textAlign: 'center'
8426
+ },
8427
+ '@media screen and (max-width: 767px)': {
8428
+ tileDiv: {
8429
+ width: 'calc(53% - 24px)'
8430
+ }
8290
8431
  }
8291
8432
  };
8292
8433
  });
@@ -8295,7 +8436,6 @@ function Tiles({
8295
8436
  sectionData,
8296
8437
  sectionIndex
8297
8438
  }) {
8298
- const classes = useTilesStyles({});
8299
8439
  const {
8300
8440
  isMobile,
8301
8441
  layout: {
@@ -8304,6 +8444,9 @@ function Tiles({
8304
8444
  isPreview,
8305
8445
  isEdit
8306
8446
  } = useContext(PageContext);
8447
+ const classes = useTilesStyles({
8448
+ isMobile
8449
+ });
8307
8450
  const nodeData = sectionData.components;
8308
8451
  const tilesList = nodeData[0]?.tilesList.components;
8309
8452
  const handleClick = value => {