diy-template-components 0.2.78 → 0.2.79

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,99 @@ 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) {
1916
1988
  const palette = palettes[colorTheme] || palettes['blue'];
1917
1989
  const typography = {
1918
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`
1990
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
1991
+ fontSize: isMobile ? fontSizeMob : fontSize,
1992
+ fontWeight
1919
1993
  };
1920
1994
  const shape = {
1921
1995
  borderRadius
1922
1996
  };
1997
+ const spacing = {
1998
+ padding: isMobile ? mobilePadding : padding,
1999
+ margin: isMobile ? mobileMargin : margin
2000
+ };
1923
2001
  return {
1924
2002
  palette,
1925
2003
  shape,
1926
2004
  typography,
1927
2005
  shadows: generateShadows(palette),
1928
- borders: generateBorders(palette)
2006
+ borders: generateBorders(palette),
2007
+ spacing
1929
2008
  };
1930
2009
  }
1931
2010
 
@@ -2129,17 +2208,22 @@ function PageRenderer$1({
2129
2208
  const useSectionStyles$8 = createUseStyles(theme => ({
2130
2209
  bannerCarouselRightSection: {
2131
2210
  position: 'relative',
2211
+ padding: ({
2212
+ isMobile
2213
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2214
+ backgroundColor: theme?.palette?.background?.primary,
2132
2215
  '&, & *, & *:before, & *:after': {
2133
2216
  fontFamily: theme?.typography?.fontFamily,
2134
2217
  boxSizing: 'border-box'
2135
- },
2136
- '& h2,& h3': {
2137
- fontWeight: '500',
2138
- '& b,& strong': {
2139
- fontWeight: '700'
2140
- }
2141
2218
  }
2219
+ // '& h2,& h3': {
2220
+ // fontWeight: '500',
2221
+ // '& b,& strong': {
2222
+ // fontWeight: '700'
2223
+ // }
2224
+ // }
2142
2225
  },
2226
+
2143
2227
  sectionContainer: {
2144
2228
  margin: '0 auto',
2145
2229
  maxWidth: ({
@@ -2152,24 +2236,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2152
2236
  justifyContent: 'center',
2153
2237
  position: 'relative'
2154
2238
  },
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
2239
  contentContainer: {
2164
2240
  position: 'relative',
2165
2241
  width: '100%',
2166
2242
  zIndex: '1',
2167
- display: 'grid',
2168
- gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2169
- maxWidth: '100%'
2243
+ // display: 'grid',
2244
+ // gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2245
+ display: 'flex',
2246
+ flexDirection: 'row',
2247
+ alignItems: 'center',
2248
+ maxWidth: '100%',
2249
+ gap: '72px'
2170
2250
  },
2171
2251
  textContainer: {
2172
- padding: '140px 18%',
2173
2252
  textAlign: 'left',
2174
2253
  margin: '0 auto',
2175
2254
  maxWidth: '100%'
@@ -2177,23 +2256,30 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2177
2256
  imageContainer: {
2178
2257
  width: '100%',
2179
2258
  position: 'relative',
2180
- height: '90%'
2259
+ height: '100%',
2260
+ display: 'flex',
2261
+ justifyContent: 'center',
2262
+ alignItems: 'center',
2263
+ borderRadius: '8px',
2264
+ overflow: 'hidden'
2181
2265
  },
2182
2266
  subTitleHeading: {
2183
2267
  marginBottom: '8px',
2184
- fontSize: '16px',
2185
- color: theme?.palette?.font?.tertiary,
2268
+ fontSize: theme.typography.fontSize.subHead,
2269
+ color: theme?.palette?.font?.default,
2186
2270
  wordBreak: 'break-word',
2187
2271
  maxWidth: '100%'
2188
2272
  },
2189
2273
  heading: {
2190
2274
  margin: '0',
2191
- fontSize: '72px',
2275
+ fontSize: theme.typography.fontSize.h1,
2192
2276
  color: theme?.palette?.font?.default,
2193
- wordBreak: 'break-word'
2277
+ wordBreak: 'break-word',
2278
+ fontWeight: theme.typography.fontWeight.bold,
2279
+ lineHeight: 'normal'
2194
2280
  },
2195
2281
  description: {
2196
- margin: '40px 0',
2282
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2197
2283
  color: theme?.palette?.font?.primary,
2198
2284
  lineHeight: '24px',
2199
2285
  wordBreak: 'break-word'
@@ -2208,30 +2294,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2208
2294
  display: 'flex',
2209
2295
  gap: '20px',
2210
2296
  justifyContent: 'center',
2211
- bottom: '25px',
2212
- position: 'absolute',
2297
+ marginTop: theme.spacing.margin.tiny,
2213
2298
  width: '100%'
2214
2299
  },
2300
+ partialBackground: {
2301
+ display: 'none'
2302
+ },
2215
2303
  '@media screen and (max-width: 767px)': {
2216
2304
  partialBackground: {
2217
2305
  display: 'none'
2218
2306
  },
2219
- sectionContainer: {
2220
- paddingBottom: '50px'
2221
- },
2222
2307
  contentContainer: {
2223
2308
  display: 'flex',
2224
- flexFlow: 'column-reverse',
2225
- paddingBottom: '20px'
2309
+ flexFlow: 'column',
2310
+ paddingBottom: '48px',
2311
+ gap: '24px'
2226
2312
  },
2227
2313
  textContainer: {
2228
- padding: '20px 20px 0'
2229
- },
2230
- heading: {
2231
- fontSize: '40px'
2232
- },
2233
- description: {
2234
- margin: '16px 0'
2314
+ textAlign: 'center'
2235
2315
  },
2236
2316
  linkButton: {
2237
2317
  padding: '12px 16px'
@@ -2264,7 +2344,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2264
2344
  '& .slick-dots': {
2265
2345
  bottom: ({
2266
2346
  buttonContainerClass
2267
- } = {}) => !!buttonContainerClass ? '20px' : 'unset',
2347
+ } = {}) => !!buttonContainerClass ? '10px' : 'unset',
2268
2348
  position: ({
2269
2349
  buttonContainerClass
2270
2350
  } = {}) => !!buttonContainerClass ? 'absolute' : 'inherit',
@@ -2274,7 +2354,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2274
2354
  textAlign: 'center',
2275
2355
  paddingBottom: '0',
2276
2356
  '& ul': {
2277
- margin: '0',
2357
+ margin: theme.spacing.margin.regular,
2278
2358
  padding: '0',
2279
2359
  '& li': {
2280
2360
  width: 'unset',
@@ -2298,7 +2378,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2298
2378
  display: 'flex',
2299
2379
  gap: '20px',
2300
2380
  justifyContent: 'center',
2301
- marginTop: '40px'
2381
+ marginTop: theme.spacing.margin.tiny
2302
2382
  },
2303
2383
  dots: {
2304
2384
  width: '4px',
@@ -2315,6 +2395,15 @@ const useCarouselStyles = createUseStyles(theme => ({
2315
2395
  background: ({
2316
2396
  inverted
2317
2397
  } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2398
+ },
2399
+ '@media screen and (max-width: 767px)': {
2400
+ sliderClass: {
2401
+ '& .slick-dots': {
2402
+ '& ul': {
2403
+ margin: '0px'
2404
+ }
2405
+ }
2406
+ }
2318
2407
  }
2319
2408
  }));
2320
2409
 
@@ -2474,7 +2563,8 @@ function Section$4({
2474
2563
  isCustomWebsite
2475
2564
  } = useContext(PageContext);
2476
2565
  const classes = useSectionStyles$8({
2477
- isCustomWebsite
2566
+ isCustomWebsite,
2567
+ isMobile
2478
2568
  });
2479
2569
  return /*#__PURE__*/React.createElement("div", {
2480
2570
  className: classes.centerData
@@ -2523,12 +2613,14 @@ function BannerCarouselRight({
2523
2613
  sectionIndex
2524
2614
  }) {
2525
2615
  const {
2616
+ isMobile,
2526
2617
  layout: {
2527
2618
  containerWidth
2528
2619
  }
2529
2620
  } = useContext(PageContext);
2530
2621
  const classes = useSectionStyles$8({
2531
- containerWidth
2622
+ containerWidth,
2623
+ isMobile
2532
2624
  });
2533
2625
  const [{
2534
2626
  bannerCarousel
@@ -2557,7 +2649,9 @@ var index$l = /*#__PURE__*/Object.freeze({
2557
2649
  const useSectionStyles$7 = createUseStyles(theme => ({
2558
2650
  section: {
2559
2651
  width: '100%',
2560
- padding: '70px 0',
2652
+ padding: ({
2653
+ isMobile
2654
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2561
2655
  display: 'flex',
2562
2656
  justifyContent: 'center',
2563
2657
  flexDirection: 'column',
@@ -2568,10 +2662,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2568
2662
  boxSizing: 'border-box'
2569
2663
  },
2570
2664
  '& h2,& h3': {
2571
- fontWeight: '500',
2572
- '& b,& strong': {
2573
- fontWeight: '700'
2574
- }
2665
+ marginTop: '0'
2575
2666
  }
2576
2667
  },
2577
2668
  sectionContainer: {
@@ -2582,16 +2673,19 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2582
2673
  },
2583
2674
  subTitleHeading: {
2584
2675
  marginBottom: '8px',
2585
- fontSize: '16px',
2586
- color: theme?.palette?.font?.tertiary,
2676
+ fontSize: theme.typography.fontSize.subHead,
2677
+ color: theme?.palette?.font?.default,
2587
2678
  alignItems: 'center',
2588
2679
  textAlign: 'center',
2589
- wordBreak: 'break-word'
2680
+ wordBreak: 'break-word',
2681
+ letterSpacing: '3px',
2682
+ textTransform: 'uppercase'
2590
2683
  },
2591
2684
  heading: {
2592
- margin: '0',
2593
- fontSize: '72px',
2685
+ marginBottom: theme.spacing.margin.tiny,
2686
+ fontSize: theme.typography.fontSize.h2,
2594
2687
  color: theme?.palette?.font?.default,
2688
+ fontWeight: theme.typography.fontWeight.bold,
2595
2689
  textAlign: 'center',
2596
2690
  wordBreak: 'break-word'
2597
2691
  },
@@ -2612,7 +2706,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2612
2706
  borderRadius: theme?.shape?.borderRadius?.regular,
2613
2707
  overflow: 'hidden',
2614
2708
  minHeight: 200,
2615
- margin: '16px 0',
2709
+ marginBottom: theme.spacing.margin.small,
2616
2710
  position: 'relative',
2617
2711
  '&:nth-child(2n)': {
2618
2712
  alignSelf: 'flex-end',
@@ -2620,7 +2714,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2620
2714
  right: '0'
2621
2715
  },
2622
2716
  '& $contentText': {
2623
- marginRight: '200px'
2717
+ marginRight: '170px'
2624
2718
  }
2625
2719
  },
2626
2720
  '&:nth-child(2n+1)': {
@@ -2629,7 +2723,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2629
2723
  left: '0'
2630
2724
  },
2631
2725
  '& $contentText': {
2632
- marginLeft: '200px'
2726
+ marginLeft: '170px'
2633
2727
  }
2634
2728
  },
2635
2729
  '&:nth-child(7n+1) $contentNumber': {
@@ -2663,42 +2757,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2663
2757
  display: 'flex',
2664
2758
  alignItems: 'center',
2665
2759
  justifyContent: 'center',
2760
+ padding: '48px',
2666
2761
  height: '100%',
2667
2762
  color: theme?.palette?.font?.default,
2668
- width: '200px',
2669
2763
  wordBreak: 'break-word'
2670
2764
  },
2671
2765
  contentText: {
2672
- padding: '20px 0'
2766
+ padding: theme.spacing.padding.tiny
2673
2767
  },
2674
2768
  contentHeading: {
2675
2769
  fontStyle: 'normal',
2676
- fontSize: '24px',
2770
+ fontSize: theme.typography.fontSize.h5,
2771
+ fontWeight: theme.typography.fontWeight.bold,
2677
2772
  lineHeight: '32px',
2773
+ marginBottom: '8px',
2678
2774
  color: theme?.palette?.font?.default,
2679
- margin: '0 48px',
2680
2775
  wordBreak: 'break-word'
2681
2776
  },
2682
2777
  contentPara: {
2683
2778
  fontStyle: 'normal',
2684
- fontSize: '16px',
2779
+ fontSize: theme.typography.fontSize.subHead,
2685
2780
  lineHeight: '32px',
2686
2781
  color: theme?.palette?.font?.primary,
2687
- margin: '20px 48px 0 48px',
2688
2782
  wordBreak: 'break-word'
2689
2783
  },
2690
2784
  '@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
2785
  contentContainer: {
2703
2786
  width: '100%'
2704
2787
  },
@@ -2706,36 +2789,31 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2706
2789
  display: 'flex',
2707
2790
  flexDirection: 'column',
2708
2791
  borderRadius: theme.shape.borderRadius.large,
2709
- margin: '20px 0 10px 0',
2710
2792
  width: '100%',
2711
2793
  height: 'auto',
2712
2794
  '&:nth-child(2n)': {
2713
2795
  marginLeft: '0',
2714
2796
  '& $contentText': {
2715
2797
  marginRight: '0',
2716
- alignSelf: 'flex-start',
2717
- padding: '0'
2798
+ alignSelf: 'flex-start'
2799
+ // padding: '0'
2718
2800
  }
2719
2801
  },
2802
+
2720
2803
  '&:nth-child(2n+1)': {
2721
2804
  marginRight: '0',
2722
2805
  '& $contentText': {
2723
2806
  marginLeft: '0',
2724
- alignSelf: 'flex-start',
2725
- padding: '0'
2807
+ alignSelf: 'flex-start'
2808
+ // padding: '0'
2726
2809
  }
2727
2810
  }
2728
2811
  },
2812
+
2729
2813
  contentNumber: {
2730
2814
  width: '100%',
2731
- padding: '40px 0',
2815
+ padding: '24px',
2732
2816
  position: 'static'
2733
- },
2734
- contentHeading: {
2735
- margin: '20px 20px 0 20px'
2736
- },
2737
- contentPara: {
2738
- margin: '16px 20px 24px 20px'
2739
2817
  }
2740
2818
  }
2741
2819
  }));
@@ -2746,10 +2824,12 @@ function List({
2746
2824
  const {
2747
2825
  layout: {
2748
2826
  containerWidth
2749
- }
2827
+ },
2828
+ isMobile
2750
2829
  } = useContext(PageContext);
2751
2830
  const classes = useSectionStyles$7({
2752
- containerWidth
2831
+ containerWidth,
2832
+ isMobile
2753
2833
  });
2754
2834
  const [nodeData] = sectionData.components;
2755
2835
  const getNumber = val => {
@@ -2813,29 +2893,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2813
2893
  '&, & *, & *:before, & *:after': {
2814
2894
  fontFamily: theme?.typography?.fontFamily,
2815
2895
  boxSizing: 'border-box'
2816
- },
2817
- '& h2,& h3': {
2818
- fontWeight: '500',
2819
- '& b,& strong': {
2820
- fontWeight: '700'
2821
- }
2822
2896
  }
2897
+ // '& h2,& h3': {
2898
+ // fontWeight: '500',
2899
+ // '& b,& strong': {
2900
+ // fontWeight: '700'
2901
+ // }
2902
+ // }
2823
2903
  },
2904
+
2824
2905
  sectionContainer: {
2825
- margin: '0 auto',
2826
2906
  width: '100%',
2827
2907
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
2828
2908
  position: 'absolute',
2829
- zIndex: '9'
2909
+ zIndex: '9',
2910
+ height: '100%'
2830
2911
  },
2831
2912
  absoluteButtons: {
2832
2913
  display: 'flex',
2833
2914
  gap: '20px',
2834
2915
  justifyContent: 'center',
2835
- bottom: '25px',
2916
+ bottom: '10%',
2836
2917
  position: 'absolute',
2837
2918
  width: '100%'
2838
2919
  },
2920
+ buttonClass: {
2921
+ margin: `${theme.spacing.margin.tiny}px 0px`
2922
+ },
2839
2923
  contentContainer: {
2840
2924
  // padding: '100px 0',
2841
2925
  // height: '100%',
@@ -2871,27 +2955,33 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2871
2955
  height: '100%'
2872
2956
  },
2873
2957
  textContainer: {
2874
- padding: '100px 0',
2875
- margin: '0 auto',
2876
- width: '80%'
2958
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2959
+ // margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
2960
+ width: '100%',
2961
+ height: '100%',
2962
+ display: 'flex',
2963
+ justifyContent: 'center',
2964
+ alignItems: 'center',
2965
+ flexDirection: 'column'
2877
2966
  },
2878
2967
  subTitleHeading: {
2879
2968
  color: theme?.palette?.font?.invertedDefault,
2880
2969
  marginBottom: '8px',
2881
- fontSize: '16px',
2970
+ fontSize: theme.typography.fontSize.subHead,
2882
2971
  wordBreak: 'break-word'
2883
2972
  },
2884
2973
  heading: {
2885
2974
  margin: '0',
2886
- fontSize: '62px',
2975
+ fontSize: theme.typography.fontSize.h1,
2887
2976
  color: theme?.palette?.font?.invertedDefault,
2888
2977
  wordBreak: 'break-word'
2889
2978
  },
2890
2979
  description: {
2891
- margin: '40px 0',
2980
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2892
2981
  color: theme?.palette?.font?.invertedDefault,
2893
2982
  lineHeight: '24px',
2894
- wordBreak: 'break-word'
2983
+ wordBreak: 'break-word',
2984
+ fontSize: theme.typography.fontSize.subHead
2895
2985
  },
2896
2986
  sideBannerImage: {
2897
2987
  width: '100%',
@@ -2909,22 +2999,19 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2909
2999
  justifyContent: 'center',
2910
3000
  padding: '0px'
2911
3001
  },
2912
- textContainer: {
2913
- padding: '20px 20px',
2914
- height: '100%',
2915
- width: '100%'
2916
- // backgroundColor: theme?.palette?.background?.primary
2917
- },
2918
-
3002
+ // textContainer: {
3003
+ // padding: '20px 20px',
3004
+ // height: '100%',
3005
+ // width: '100%'
3006
+ // // backgroundColor: theme?.palette?.background?.primary
3007
+ // },
2919
3008
  subTitleHeading: {
2920
3009
  color: theme?.palette?.font?.tertiary
2921
3010
  },
2922
3011
  heading: {
2923
- fontSize: '40px',
2924
3012
  color: theme?.palette?.font?.default
2925
3013
  },
2926
3014
  description: {
2927
- margin: '16px 0',
2928
3015
  color: theme?.palette?.font?.primary
2929
3016
  },
2930
3017
  centerBgImageContainer: {
@@ -2991,12 +3078,14 @@ const Section$3 = ({
2991
3078
  dangerouslySetInnerHTML: {
2992
3079
  __html: nodeData.description.metadata.value
2993
3080
  }
2994
- }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement(Button, {
3081
+ }) : null, nodeData?.cta?.validations?.isEmptyAllowed && nodeData?.cta?.metadata?.value === '' ? null : /*#__PURE__*/React.createElement("div", {
3082
+ className: classes.buttonClass
3083
+ }, /*#__PURE__*/React.createElement(Button, {
2995
3084
  ref: nodeData?.cta?.refSetter,
2996
3085
  data: nodeData.cta.metadata,
2997
3086
  type: nodeData?.cta?.metadata?.type,
2998
3087
  size: isMobile ? 'small' : 'medium'
2999
- })) : null), /*#__PURE__*/React.createElement("div", {
3088
+ }))) : null), /*#__PURE__*/React.createElement("div", {
3000
3089
  className: classes?.centerBgImageContainer
3001
3090
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3002
3091
  src: nodeData.image.metadata.value,
@@ -3038,18 +3127,21 @@ var index$j = /*#__PURE__*/Object.freeze({
3038
3127
  const useSectionStyles$5 = createUseStyles(theme => {
3039
3128
  return {
3040
3129
  section: {
3041
- paddingBottom: '70px',
3130
+ padding: ({
3131
+ isMobile
3132
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3042
3133
  '&, & *, & *:before, & *:after': {
3043
3134
  fontFamily: theme?.typography?.fontFamily,
3044
3135
  boxSizing: 'border-box'
3045
- },
3046
- '& h2,& h3': {
3047
- fontWeight: '500',
3048
- '& b,& strong': {
3049
- fontWeight: '700'
3050
- }
3051
3136
  }
3137
+ // '& h2,& h3': {
3138
+ // fontWeight: theme?.typography?.fontWeight?.medium,
3139
+ // '& b,& strong': {
3140
+ // fontWeight: theme?.typography?.fontWeight?.bold
3141
+ // }
3142
+ // }
3052
3143
  },
3144
+
3053
3145
  sectionContainer: {
3054
3146
  margin: '0 auto',
3055
3147
  maxWidth: ({
@@ -3059,9 +3151,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3059
3151
  centerData: {
3060
3152
  display: 'flex',
3061
3153
  alignItems: 'center',
3062
- justifyContent: 'center',
3063
- padding: '140px 70px 0'
3154
+ justifyContent: 'center'
3155
+
3156
+ // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3064
3157
  },
3158
+
3065
3159
  imageContainerDiv: {
3066
3160
  width: '50%',
3067
3161
  position: 'relative'
@@ -3095,25 +3189,28 @@ const useSectionStyles$5 = createUseStyles(theme => {
3095
3189
  objectFit: 'cover'
3096
3190
  },
3097
3191
  textContainer: {
3098
- padding: '0 60px',
3192
+ marginLeft: '72px',
3099
3193
  textAlign: 'left',
3100
3194
  margin: '0 auto',
3101
3195
  width: '50%'
3102
3196
  },
3103
3197
  subTitleHeading: {
3104
3198
  marginBottom: '8px',
3105
- fontSize: '16px',
3106
- color: theme?.palette?.font?.tertiary,
3199
+ fontSize: theme?.typography?.fontSize?.subHead,
3200
+ color: theme?.palette?.font?.default,
3107
3201
  wordBreak: 'break-word'
3108
3202
  },
3109
3203
  heading: {
3110
3204
  margin: '0',
3111
- fontSize: '72px',
3205
+ fontSize: theme?.typography?.fontSize?.h1,
3112
3206
  color: theme?.palette?.font?.default,
3113
- wordBreak: 'break-word'
3207
+ wordBreak: 'break-word',
3208
+ fontWeight: theme?.typography?.fontWeight?.bold,
3209
+ lineHeight: 'normal'
3114
3210
  },
3115
3211
  description: {
3116
- margin: '40px 0',
3212
+ marginTop: theme.spacing.margin.tiny,
3213
+ marginBottom: theme.spacing.margin.tiny,
3117
3214
  color: theme?.palette?.font?.primary,
3118
3215
  lineHeight: '24px',
3119
3216
  wordBreak: 'break-word'
@@ -3123,9 +3220,9 @@ const useSectionStyles$5 = createUseStyles(theme => {
3123
3220
  padding: '0 0 40px'
3124
3221
  },
3125
3222
  centerData: {
3126
- flexDirection: 'column',
3223
+ flexDirection: 'column-reverse',
3127
3224
  width: '100%',
3128
- padding: '0'
3225
+ padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3129
3226
  },
3130
3227
  imageContainer: {
3131
3228
  height: 'unset !important',
@@ -3145,11 +3242,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3145
3242
  height: 'unset !important'
3146
3243
  },
3147
3244
  textContainer: {
3148
- padding: '20px 20px',
3245
+ padding: `${theme?.spacing?.padding?.regular}px 0px`,
3149
3246
  width: 'unset'
3150
3247
  },
3151
3248
  heading: {
3152
- fontSize: '40px'
3249
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3153
3250
  },
3154
3251
  description: {
3155
3252
  margin: '16px 0'
@@ -3170,7 +3267,8 @@ function Section$2({
3170
3267
  isCustomWebsite
3171
3268
  } = useContext(PageContext);
3172
3269
  const classes = useSectionStyles$5({
3173
- isCustomWebsite
3270
+ isCustomWebsite,
3271
+ isMobile
3174
3272
  });
3175
3273
  return /*#__PURE__*/React.createElement("div", {
3176
3274
  className: classes.centerData
@@ -3183,8 +3281,6 @@ function Section$2({
3183
3281
  ref: nodeData?.image?.refSetter,
3184
3282
  className: classes.sideBannerImage,
3185
3283
  sectionIndex: sectionIndex
3186
- }), /*#__PURE__*/React.createElement("div", {
3187
- className: classes.imageBorder
3188
3284
  }))), /*#__PURE__*/React.createElement("div", {
3189
3285
  className: classes.textContainer
3190
3286
  }, /*#__PURE__*/React.createElement("div", {
@@ -3255,16 +3351,15 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3255
3351
  width: '100%',
3256
3352
  alignItems: 'center',
3257
3353
  justifyContent: 'center',
3258
- padding: '60px 70px',
3354
+ padding: ({
3355
+ isMobile
3356
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3259
3357
  '&, & *, & *:before, & *:after': {
3260
3358
  fontFamily: theme?.typography?.fontFamily,
3261
3359
  boxSizing: 'border-box'
3262
3360
  },
3263
3361
  '& h2,& h3': {
3264
- fontWeight: '500',
3265
- '& b,& strong': {
3266
- fontWeight: '700'
3267
- }
3362
+ marginTop: '0'
3268
3363
  }
3269
3364
  },
3270
3365
  newsLetterContainer: {
@@ -3285,15 +3380,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3285
3380
  backgroundColor: theme?.palette?.background?.default,
3286
3381
  boxShadow: theme?.shadows?.secondary,
3287
3382
  borderRadius: theme?.shape?.borderRadius?.regular,
3288
- padding: '40px 80px',
3383
+ padding: theme.spacing.padding.small,
3289
3384
  position: 'relative'
3290
3385
  },
3291
3386
  cardHeading: {
3292
- fontSize: '56px',
3387
+ fontSize: theme.typography.fontSize.h2,
3388
+ fontWeight: theme.typography.fontWeight.bold,
3293
3389
  lineHeight: '71px',
3294
3390
  letterSpacing: '-3px',
3295
3391
  color: theme?.palette?.font?.secondary,
3296
- margin: '0 0 32px 0',
3392
+ marginBottom: theme.spacing.padding.tiny,
3297
3393
  wordBreak: 'break-word'
3298
3394
  },
3299
3395
  contentContainer: {
@@ -3302,10 +3398,9 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3302
3398
  justifyContent: 'space-between'
3303
3399
  },
3304
3400
  title: {
3305
- fontSize: '20px',
3401
+ fontSize: theme.typography.fontSize.h6,
3306
3402
  lineHeight: '32px',
3307
3403
  color: theme?.palette?.font?.primary,
3308
- margin: '0 80px 0 0',
3309
3404
  width: 'calc(50% - 80px)',
3310
3405
  wordBreak: 'break-word'
3311
3406
  },
@@ -3343,42 +3438,44 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3343
3438
  section: {
3344
3439
  display: 'flex',
3345
3440
  flexDirection: 'column',
3346
- alignItems: 'center',
3347
- padding: '30px 20px'
3441
+ alignItems: 'center'
3348
3442
  },
3349
3443
  sectionContainer: {
3350
- padding: '30px 20px',
3351
- borderRadius: theme?.shape?.borderRadius?.large
3444
+ borderRadius: theme?.shape?.borderRadius?.large,
3445
+ textAlign: 'center',
3446
+ display: 'flex',
3447
+ alignItems: 'center',
3448
+ flexDirection: 'column'
3352
3449
  },
3353
3450
  partialBackground: {
3354
3451
  height: '150px'
3355
3452
  },
3356
3453
  title: {
3357
3454
  width: '100%',
3358
- margin: '0',
3359
- fontSize: '20px',
3360
- lineHeight: '32px'
3455
+ lineHeight: '22px',
3456
+ margin: '0px 0px 16px 0px'
3361
3457
  },
3362
3458
  cardHeading: {
3363
- fontSize: '24px',
3364
3459
  lineHeight: '32px',
3365
3460
  letterSpacing: '-1px',
3366
- marginBottom: '20px'
3461
+ width: '50%',
3462
+ lineHeight: 'normal'
3367
3463
  },
3368
3464
  contentContainer: {
3369
3465
  display: 'flex',
3370
3466
  flexDirection: 'column',
3371
- justifyContent: 'flex-start'
3467
+ justifyContent: 'flex-start',
3468
+ textAlign: 'center'
3372
3469
  },
3373
3470
  inputContainer: {
3374
3471
  display: 'block',
3375
3472
  width: '100%',
3376
- margin: '24px 16px 0 16px',
3377
3473
  position: 'initial'
3378
3474
  },
3379
3475
  btnContainer: {
3380
3476
  right: 'unset',
3381
- position: 'initial'
3477
+ position: 'initial',
3478
+ marginTop: '4px'
3382
3479
  }
3383
3480
  }
3384
3481
  }));
@@ -3523,7 +3620,8 @@ function SubscribeToNewsletter({
3523
3620
  } = useContext(PageContext);
3524
3621
  const [nodeData] = sectionData.components;
3525
3622
  const classes = useSectionStyles$4({
3526
- containerWidth
3623
+ containerWidth,
3624
+ isMobile
3527
3625
  });
3528
3626
  let formInitialValue = nodeData?.inputField?.metadata?.value;
3529
3627
  const [inputVal, setInputVal] = useState(formInitialValue);
@@ -3636,171 +3734,176 @@ var index$h = /*#__PURE__*/Object.freeze({
3636
3734
  'default': SubscribeToNewsletter
3637
3735
  });
3638
3736
 
3639
- const useTestimonialStyles = createUseStyles(theme => {
3640
- return {
3737
+ const useTestimonialStyles = createUseStyles(theme => ({
3738
+ testimonialContainer: {
3739
+ background: theme?.palette?.background?.primary,
3740
+ overflow: 'hidden',
3741
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3742
+ '&, & *, & *:before, & *:after': {
3743
+ fontFamily: theme?.typography?.fontFamily,
3744
+ boxSizing: 'border-box'
3745
+ },
3746
+ '& h3,& p': {
3747
+ marginTop: '0'
3748
+ }
3749
+ },
3750
+ sectionContainer: {
3751
+ margin: '0 auto',
3752
+ maxWidth: ({
3753
+ containerWidth
3754
+ } = {}) => containerWidth
3755
+ },
3756
+ testimonialText: {
3757
+ color: theme?.palette?.font?.default,
3758
+ fontSize: theme.typography.fontSize.subHead,
3759
+ wordBreak: 'break-word',
3760
+ textTransform: 'uppercase'
3761
+ },
3762
+ testimonialHeader: {
3763
+ fontSize: theme.typography.fontSize.h2,
3764
+ color: theme?.palette?.font?.default,
3765
+ fontWeight: theme.typography.fontWeight.bold,
3766
+ marginBottom: theme.spacing.margin.tiny,
3767
+ marginTop: '8px',
3768
+ overflow: 'hidden',
3769
+ wordBreak: 'break-word',
3770
+ // whiteSpace: 'nowrap',
3771
+ textOverflow: 'ellipsis'
3772
+ },
3773
+ sliderContainer: {
3774
+ marginRight: `-${theme.spacing.margin.regular}px`
3775
+ },
3776
+ singleCard: {
3777
+ // margin: '6px 12px',
3778
+ position: 'relative',
3779
+ height: 'calc(100% - 12px)',
3780
+ width: 'calc(100% - 24px)',
3781
+ background: theme?.palette?.background?.default,
3782
+ boxShadow: theme?.shadows?.primary,
3783
+ borderRadius: theme?.shape?.borderRadius?.regular
3784
+ },
3785
+ contentRow: {
3786
+ display: 'grid',
3787
+ gridTemplateColumns: ({
3788
+ slidesToShow
3789
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3790
+ },
3791
+ cardDetails: {
3792
+ height: '100%',
3793
+ display: 'flex',
3794
+ flexDirection: 'column',
3795
+ justifyContent: 'space-between',
3796
+ padding: '48px',
3797
+ alignItems: 'flex-start'
3798
+ },
3799
+ quoteIcon: {
3800
+ position: 'absolute',
3801
+ right: '20px'
3802
+ },
3803
+ reviewText: {
3804
+ // padding: '48px 41px 0 48px',
3805
+ marginBottom: theme.spacing.margin.tiny,
3806
+ fontSize: theme.typography.fontSize.subHead,
3807
+ wordBreak: 'break-word',
3808
+ color: theme?.palette?.font?.primary,
3809
+ lineHeight: '22px'
3810
+ },
3811
+ userContainer: {
3812
+ display: 'flex',
3813
+ gap: '16px',
3814
+ alignItems: 'center'
3815
+ },
3816
+ userImageContainer: {
3817
+ width: '64px',
3818
+ height: '64px',
3819
+ position: 'relative',
3820
+ // paddingBottom: '55px',
3821
+ objectFit: 'cover'
3822
+ },
3823
+ userImageDummy: {
3824
+ width: '64px',
3825
+ height: '64px',
3826
+ borderRadius: '32px',
3827
+ background: '#666666',
3828
+ marginRight: '16px',
3829
+ flexShrink: '0'
3830
+ },
3831
+ userImage: {
3832
+ width: '64px',
3833
+ height: '64px',
3834
+ borderRadius: '32px',
3835
+ marginRight: '16px'
3836
+ },
3837
+ userName: {
3838
+ color: theme?.palette?.font?.default,
3839
+ margin: '0',
3840
+ fontSize: theme.typography.fontSize.h5,
3841
+ // paddingTop: '16px',
3842
+ overflow: 'hidden',
3843
+ whiteSpace: 'nowrap',
3844
+ textOverflow: 'ellipsis'
3845
+ },
3846
+ buttonContainer: {
3847
+ display: 'flex',
3848
+ gap: '20px',
3849
+ justifyContent: 'center',
3850
+ // paddingRight: theme.spacing.padding.medium,
3851
+ marginTop: theme.spacing.margin.tiny
3852
+ },
3853
+ '@media (max-width: 768px)': {
3641
3854
  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
- }
3855
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3856
+ },
3857
+ // testimonialCardAndText: {
3858
+ // margin: '0 20px'
3859
+ // },
3860
+
3861
+ // testimonialHeader: {
3862
+ // fontSize: '24px',
3863
+ // color: theme?.palette?.font?.default,
3864
+ // margin: '4px 0 12px 0',
3865
+ // overflow: 'hidden',
3866
+ // // whiteSpace: 'nowrap',
3867
+ // wordBreak: 'break-word',
3868
+ // textOverflow: 'ellipsis'
3869
+ // },
3870
+ userImageDummy: {
3871
+ width: '48px',
3872
+ height: '48px',
3873
+ borderRadius: '24px',
3874
+ marginRight: '16px'
3655
3875
  },
3656
- sectionContainer: {
3657
- margin: '0 auto',
3658
- maxWidth: ({
3659
- containerWidth
3660
- } = {}) => containerWidth
3876
+ userImage: {
3877
+ width: '48px',
3878
+ height: '48px',
3879
+ borderRadius: '24px',
3880
+ marginRight: '16px'
3661
3881
  },
3662
- testimonialCardAndText: {
3663
- marginTop: '70px'
3882
+ reviewText: {
3883
+ marginBottom: '16px'
3664
3884
  },
3665
- testimonialText: {
3666
- color: theme?.palette?.font?.secondary,
3667
- fontSize: '16px',
3668
- marginLeft: '10px',
3669
- wordBreak: 'break-word'
3885
+ singleCard: {
3886
+ margin: '6px 2px',
3887
+ width: 'calc(100% - 14px)'
3670
3888
  },
3671
- testimonialHeader: {
3672
- fontSize: '56px',
3673
- color: theme?.palette?.font?.default,
3674
- margin: '10px 0 40px 10px',
3889
+ userName: {
3890
+ // paddingTop: '8px',
3675
3891
  overflow: 'hidden',
3676
- wordBreak: 'break-word',
3677
- // whiteSpace: 'nowrap',
3892
+ whiteSpace: 'nowrap',
3678
3893
  textOverflow: 'ellipsis'
3679
3894
  },
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))`
3697
- },
3698
- 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
3895
  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'
3896
+ width: '48px',
3897
+ height: '48px'
3755
3898
  },
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
- }
3899
+ cardDetails: {
3900
+ padding: '16px'
3801
3901
  }
3802
- };
3803
- });
3902
+ // sliderContainer: {
3903
+ // marginRight: '-24px'
3904
+ // },
3905
+ }
3906
+ }));
3804
3907
 
3805
3908
  function QuotesComponent() {
3806
3909
  const theme = useTheme();
@@ -3828,13 +3931,14 @@ function Section$1({
3828
3931
  const classes = useTestimonialStyles({
3829
3932
  containerWidth,
3830
3933
  cardsCount,
3831
- slidesToShow
3934
+ slidesToShow,
3935
+ isMobile
3832
3936
  });
3833
3937
  const settings = {
3834
3938
  className: classes.sliderContainer,
3835
3939
  slidesToShow,
3836
3940
  centerMode: true,
3837
- centerPadding: isMobile ? '10px 0 0' : '80px 0 0'
3941
+ centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
3838
3942
  };
3839
3943
  const carouselContent = carouselList.map((el, idx) =>
3840
3944
  /*#__PURE__*/
@@ -4041,8 +4145,7 @@ const useVideoStyles$1 = createUseStyles(theme => {
4041
4145
  height: '100%',
4042
4146
  width: '100%',
4043
4147
  objectFit: 'cover',
4044
- objectPosition: 'top',
4045
- opacity: '0.8'
4148
+ objectPosition: 'top'
4046
4149
  },
4047
4150
  '@media (max-width: 767px)': {
4048
4151
  iframe: {
@@ -4077,10 +4180,7 @@ function VideoPlayer(props) {
4077
4180
  }
4078
4181
  }
4079
4182
  return /*#__PURE__*/React.createElement(React.Fragment, null, !isLoaded && /*#__PURE__*/React.createElement("div", {
4080
- className: classes.imgContainer,
4081
- onClick: () => {
4082
- setIsEnableed(true);
4083
- }
4183
+ className: classes.imgContainer
4084
4184
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
4085
4185
  src: imageUrl,
4086
4186
  sectionIndex: props?.sectionIndex,
@@ -4109,20 +4209,20 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4109
4209
  videoTestimonialSuperContainer: {
4110
4210
  display: 'flex',
4111
4211
  justifyContent: 'center',
4112
- padding: '70px',
4212
+ padding: ({
4213
+ isMobile
4214
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4113
4215
  '&, & *, & *:before, & *:after': {
4114
- fontFamily: theme?.typography?.fontFamily,
4115
- boxSizing: 'border-box'
4216
+ fontFamily: theme?.typography?.fontFamily
4217
+ // boxSizing: 'border-box'
4116
4218
  },
4117
- '& h2,& h3': {
4118
- fontWeight: '500',
4119
- '& b,& strong': {
4120
- fontWeight: '700'
4121
- }
4219
+
4220
+ '& h2,& h3,& p': {
4221
+ marginTop: '0'
4122
4222
  }
4123
4223
  },
4124
4224
  sectionContainer: {
4125
- margin: '0 auto',
4225
+ // margin: '0 auto',
4126
4226
  maxWidth: ({
4127
4227
  containerWidth
4128
4228
  } = {}) => containerWidth
@@ -4133,29 +4233,28 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4133
4233
  fontFamily: theme?.typography?.fontFamily
4134
4234
  },
4135
4235
  videoTestimonialHeading: {
4136
- fontSize: '16px',
4236
+ fontSize: theme.typography.fontSize.subHead,
4137
4237
  lineHeight: '20px',
4138
4238
  letterSpacing: '3px',
4139
4239
  textTransform: 'uppercase',
4140
- color: theme.palette.font.tertiary,
4141
- wordBreak: 'break-word'
4240
+ color: theme.palette.font.default,
4241
+ wordBreak: 'break-word',
4242
+ marginBottom: '8px'
4142
4243
  },
4143
4244
  videoTestimonialTitle: {
4144
- fontSize: '56px',
4145
- lineHeight: '71px',
4245
+ fontSize: theme.typography.fontSize.h1,
4246
+ // lineHeight: '71px',
4146
4247
  letterSpacing: '-3px',
4147
- margin: '0',
4248
+ fontWeight: theme.typography.fontWeight.bold,
4249
+ marginBottom: theme.spacing.margin.tiny,
4148
4250
  color: theme.palette.font.default,
4149
4251
  wordBreak: 'break-word'
4150
4252
  },
4151
- videoCarouselContainer: {
4152
- marginTop: '16px'
4153
- },
4154
4253
  videoCarousel: {
4155
4254
  display: 'flex',
4156
4255
  alignItems: 'center',
4157
4256
  justifyContent: 'flex-start',
4158
- gap: '60px'
4257
+ gap: theme.spacing.margin.small
4159
4258
  },
4160
4259
  iframeSuperContainer: {
4161
4260
  height: '100%',
@@ -4177,57 +4276,49 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4177
4276
  videoDetails: {
4178
4277
  width: '100%',
4179
4278
  display: 'flex',
4279
+ gap: '24px',
4180
4280
  flexDirection: 'column',
4181
4281
  alignItems: 'flex-start'
4182
4282
  },
4183
4283
  videoDetailsHeading: {
4184
- fontSize: '40px',
4284
+ fontSize: theme.typography.fontSize.h3,
4185
4285
  lineHeight: '48px',
4186
4286
  margin: '0',
4187
4287
  letterSpacing: '-1px',
4188
4288
  wordBreak: 'break-word',
4189
- color: theme.palette.font.default
4289
+ color: theme.palette.font.default,
4290
+ fontWeight: theme.typography.fontWeight.bold
4190
4291
  },
4191
4292
  videoDetailsContent: {
4192
- fontSize: '16px',
4293
+ fontSize: theme.typography.fontSize.subHead,
4193
4294
  lineHeight: '24px',
4194
4295
  wordBreak: 'break-word',
4195
- color: theme.palette.font.primary,
4196
- margin: '10px 0 20px'
4296
+ color: theme.palette.font.primary
4197
4297
  },
4198
4298
  videoDetailsSubContent: {
4199
- fontSize: '16px',
4299
+ fontSize: theme.typography.fontSize.subHead,
4200
4300
  lineHeight: '24px',
4201
4301
  margin: '0',
4202
4302
  color: theme.palette.font.primary,
4203
4303
  wordBreak: 'break-word'
4204
4304
  },
4205
4305
  '@media (max-width: 767px)': {
4206
- videoTestimonialSuperContainer: {
4207
- padding: '70px 10px 60px 20px'
4208
- },
4209
4306
  videoCarousel: {
4210
- flexDirection: 'column',
4211
- gap: '20px'
4307
+ flexDirection: 'column'
4212
4308
  },
4213
4309
  videoCarouselContainer: {
4214
- height: 'max-content',
4215
- paddingRight: '10px'
4310
+ height: 'max-content'
4216
4311
  },
4217
4312
  videoDetails: {
4218
- width: '100%'
4313
+ width: '100%',
4314
+ gap: '16px'
4219
4315
  },
4220
4316
  videoDetailsHeading: {
4221
- fontSize: '16px',
4222
4317
  lineHeight: '20px'
4223
4318
  },
4224
4319
  videoTestimonialTitle: {
4225
- fontSize: '24px',
4226
4320
  lineHeight: '36px',
4227
4321
  letterSpacing: '-1px'
4228
- },
4229
- videoDetailsContent: {
4230
- marginTop: '4px'
4231
4322
  }
4232
4323
  }
4233
4324
  };
@@ -4281,10 +4372,12 @@ function VideoTestimonial({
4281
4372
  const {
4282
4373
  layout: {
4283
4374
  containerWidth
4284
- }
4375
+ },
4376
+ isMobile
4285
4377
  } = useContext(PageContext);
4286
4378
  const classes = useVideoTestimonialStyles({
4287
- containerWidth
4379
+ containerWidth,
4380
+ isMobile
4288
4381
  });
4289
4382
  const [videoData] = sectionData.components;
4290
4383
  const Wrapper = videoData.videoCarousel.components.length > 1 ? Carousel : Fragment;
@@ -4323,17 +4416,16 @@ var index$f = /*#__PURE__*/Object.freeze({
4323
4416
  const useVideoStyles = createUseStyles(theme => {
4324
4417
  return {
4325
4418
  videoSuperContainer: {
4326
- padding: '70px',
4419
+ padding: ({
4420
+ isMobile
4421
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4327
4422
  backgroundColor: theme?.palette?.background?.primary,
4328
4423
  '&, & *, & *:before, & *:after': {
4329
4424
  fontFamily: theme?.typography?.fontFamily,
4330
4425
  boxSizing: 'border-box'
4331
4426
  },
4332
- '& h2,& h3': {
4333
- fontWeight: '500',
4334
- '& b,& strong': {
4335
- fontWeight: '700'
4336
- }
4427
+ '& h3': {
4428
+ marginTop: '0'
4337
4429
  }
4338
4430
  },
4339
4431
  sectionContainer: {
@@ -4342,28 +4434,30 @@ const useVideoStyles = createUseStyles(theme => {
4342
4434
  containerWidth
4343
4435
  } = {}) => containerWidth
4344
4436
  },
4345
- videoContainer: {
4346
- marginTop: '70px'
4347
- },
4437
+ // videoContainer: {
4438
+ // marginTop: '70px'
4439
+ // },
4440
+
4348
4441
  videoHeading: {
4349
- fontSize: '16px',
4442
+ fontSize: theme.typography.fontSize.subHead,
4443
+ textTransform: 'uppercase',
4350
4444
  lineHeight: '20px',
4351
- marginBottom: '4px',
4445
+ color: theme?.palette?.font?.default,
4352
4446
  letterSpacing: '3px',
4353
- color: theme?.palette?.font?.primary,
4354
4447
  wordBreak: 'break-word'
4355
4448
  },
4356
4449
  videoTitle: {
4357
- fontSize: '56px',
4450
+ fontSize: theme.typography.fontSize.h2,
4451
+ fontWeight: theme.typography.fontWeight.bold,
4358
4452
  lineHeight: '71px',
4359
4453
  letterSpacing: '-3px',
4360
- marginBottom: '20px',
4361
- marginTop: '0',
4454
+ marginBottom: theme.spacing.margin.tiny,
4455
+ marginTop: '8px',
4362
4456
  color: theme?.palette?.font?.default,
4363
4457
  wordBreak: 'break-word'
4364
4458
  },
4365
4459
  sliderContainer: {
4366
- marginRight: '-35px'
4460
+ marginRight: `-${theme.spacing.padding.medium}px`
4367
4461
  },
4368
4462
  singleSlideContainer: {
4369
4463
  backgroundColor: theme?.palette?.background?.default,
@@ -4371,7 +4465,7 @@ const useVideoStyles = createUseStyles(theme => {
4371
4465
  width: 'calc(100% - 40px)',
4372
4466
  height: 'calc(100% - 40px)',
4373
4467
  borderRadius: theme?.shape?.borderRadius?.regular,
4374
- padding: '40px',
4468
+ padding: '48px',
4375
4469
  boxShadow: theme?.shadows?.primary
4376
4470
  },
4377
4471
  contentRow: {
@@ -4384,6 +4478,7 @@ const useVideoStyles = createUseStyles(theme => {
4384
4478
  width: '100%',
4385
4479
  borderRadius: theme?.shape?.borderRadius?.regular,
4386
4480
  position: 'relative',
4481
+ overflow: 'hidden',
4387
4482
  paddingBottom: '56.25%'
4388
4483
  },
4389
4484
  iframe: {
@@ -4398,43 +4493,32 @@ const useVideoStyles = createUseStyles(theme => {
4398
4493
  margin: '12px 12px 0'
4399
4494
  },
4400
4495
  videoDetailsHeading: {
4401
- fontSize: '24px',
4496
+ fontSize: theme.typography.fontSize.h5,
4497
+ fontWeight: theme.typography.fontWeight.bold,
4402
4498
  lineHeight: '32px',
4403
- margin: '0',
4499
+ marginBottom: '8px',
4404
4500
  color: theme?.palette?.font?.default,
4405
4501
  wordBreak: 'break-word'
4406
4502
  },
4407
4503
  videoDetailsSubHeading: {
4408
- fontSize: '16px',
4504
+ fontSize: theme.typography.fontSize.subHead,
4409
4505
  lineHeight: '24px',
4410
4506
  wordBreak: 'break-word',
4411
4507
  color: theme?.palette?.font?.primary
4412
4508
  },
4413
4509
  '@media (max-width: 767px)': {
4414
- videoSuperContainer: {
4415
- padding: '70px 20px 60px'
4416
- },
4417
4510
  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'
4511
+ lineHeight: '20px'
4428
4512
  },
4429
4513
  videoContainer: {
4430
4514
  margin: '0'
4431
4515
  },
4432
4516
  sliderContainer: {
4433
- marginLeft: '-6px',
4434
- marginRight: '-20px'
4517
+ // marginLeft: '-6px',
4518
+ marginRight: '0px'
4435
4519
  },
4436
4520
  singleSlideContainer: {
4437
- padding: '0',
4521
+ padding: '16px',
4438
4522
  width: 'calc(100% - 12px)',
4439
4523
  height: 'calc(100% - 24px)',
4440
4524
  margin: '12px 6px'
@@ -4446,14 +4530,28 @@ const useVideoStyles = createUseStyles(theme => {
4446
4530
  textAlign: 'left',
4447
4531
  margin: '12px 12px 0'
4448
4532
  },
4449
- videoDetailsHeading: {
4450
- fontSize: '18px',
4451
- margin: '0'
4533
+ videoTitle: {
4534
+ display: 'flex',
4535
+ justifyContent: 'center',
4536
+ textAlign: 'center',
4537
+ lineHeight: '36px',
4538
+ letterSpacing: '-1px'
4452
4539
  },
4453
- videoDetailsSubHeading: {
4454
- fontSize: '12px',
4455
- paddingBottom: '20px'
4540
+ videoHeading: {
4541
+ display: 'flex',
4542
+ justifyContent: 'center',
4543
+ textAlign: 'center'
4456
4544
  }
4545
+
4546
+ // videoDetailsHeading: {
4547
+ // fontSize: '18px',
4548
+ // margin: '0'
4549
+ // },
4550
+
4551
+ // videoDetailsSubHeading: {
4552
+ // fontSize: '12px',
4553
+ // paddingBottom: '20px'
4554
+ // }
4457
4555
  }
4458
4556
  };
4459
4557
  });
@@ -4467,10 +4565,7 @@ const SingleSlide$1 = props => {
4467
4565
  className: classes.singleSlideContainer
4468
4566
  }, /*#__PURE__*/React.createElement("div", {
4469
4567
  ref: data?.videoFrame?.refSetter,
4470
- className: classes.iframeContainer,
4471
- style: {
4472
- background: 'linear-gradient(#333333,rgb(0 0 0))'
4473
- }
4568
+ className: classes.iframeContainer
4474
4569
  }, /*#__PURE__*/React.createElement(VideoPlayer, {
4475
4570
  imageUrl: data.videoFrame.metadata?.thumbnail,
4476
4571
  videoUrl: data.videoFrame.metadata?.value
@@ -4506,12 +4601,13 @@ function Video({
4506
4601
  const classes = useVideoStyles({
4507
4602
  containerWidth,
4508
4603
  cardsCount,
4509
- slidesToShow
4604
+ slidesToShow,
4605
+ isMobile
4510
4606
  });
4511
4607
  const settings = {
4512
4608
  className: classes.sliderContainer,
4513
4609
  slidesToShow,
4514
- centerPadding: isMobile ? '40px 0 0' : '100px 0 0',
4610
+ centerPadding: isMobile ? '0px' : '100px 0 0',
4515
4611
  centerMode: true
4516
4612
  };
4517
4613
  const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
@@ -4554,19 +4650,20 @@ var index$e = /*#__PURE__*/Object.freeze({
4554
4650
  const useSectionStyles$3 = createUseStyles(theme => ({
4555
4651
  section: {
4556
4652
  position: 'relative',
4557
- padding: '70px 0',
4653
+ padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
4558
4654
  backgroundColor: theme?.palette?.background?.default,
4559
4655
  '&, & *, & *:before, & *:after': {
4560
4656
  fontFamily: theme?.typography?.fontFamily,
4561
4657
  boxSizing: 'border-box'
4562
- },
4563
- '& h2,& h3': {
4564
- fontWeight: '500',
4565
- '& b,& strong': {
4566
- fontWeight: '700'
4567
- }
4568
4658
  }
4659
+ // '& h2,& h3': {
4660
+ // fontWeight: '500',
4661
+ // '& b,& strong': {
4662
+ // fontWeight: '700'
4663
+ // }
4664
+ // }
4569
4665
  },
4666
+
4570
4667
  sectionContainer: {
4571
4668
  margin: '0 auto',
4572
4669
  maxWidth: ({
@@ -4577,26 +4674,25 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4577
4674
  position: 'absolute',
4578
4675
  top: '0',
4579
4676
  left: '0',
4580
- height: '350px',
4677
+ height: '50%',
4581
4678
  background: theme?.palette?.background?.primary,
4582
4679
  width: '100%'
4583
4680
  },
4584
4681
  content: {
4585
- position: 'relative',
4586
- margin: '0 70px'
4682
+ position: 'relative'
4587
4683
  },
4588
4684
  subTitleHeading: {
4589
4685
  width: '100%',
4590
- fontSize: '16px',
4591
- color: theme?.palette?.font?.tertiary,
4686
+ fontSize: theme.typography.fontSize.subHead,
4687
+ color: theme?.palette?.font?.default,
4592
4688
  textAlign: 'left',
4593
4689
  lineHeight: '20px',
4594
4690
  letterSpacing: '3px',
4595
4691
  wordBreak: 'break-word'
4596
4692
  },
4597
4693
  heading: {
4598
- margin: '8px 0 20px',
4599
- fontSize: '56px',
4694
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4695
+ fontSize: theme.typography.fontSize.h2,
4600
4696
  width: '100%',
4601
4697
  lineHeight: '70px',
4602
4698
  color: theme?.palette?.font?.default,
@@ -4618,16 +4714,17 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4618
4714
  height: 'calc(100% - 12px)'
4619
4715
  },
4620
4716
  cardContent: {
4621
- padding: '32px',
4717
+ padding: theme.spacing.padding.tiny,
4622
4718
  height: '100%',
4623
4719
  display: 'flex',
4624
4720
  flexDirection: 'column'
4625
4721
  },
4626
4722
  cardHeading: {
4627
- fontSize: '24px',
4723
+ fontSize: theme.typography.fontSize.h5,
4628
4724
  lineHeight: '32px',
4725
+ fontWeight: theme.typography.fontWeight.bold,
4629
4726
  color: theme?.palette?.font?.default,
4630
- margin: '32px 0 16px',
4727
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4631
4728
  wordBreak: 'break-word'
4632
4729
  },
4633
4730
  imageContainer: {
@@ -4639,8 +4736,16 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4639
4736
  borderRadius: '50%',
4640
4737
  background: theme?.palette?.background?.primary
4641
4738
  },
4739
+ buttonContainerClass: {
4740
+ marginRight: theme.spacing.margin.regular,
4741
+ display: 'flex',
4742
+ gap: '20px',
4743
+ alignItems: 'center',
4744
+ justifyContent: 'center',
4745
+ marginTop: theme.spacing.margin.tiny
4746
+ },
4642
4747
  cardPara: {
4643
- fontSize: '16px',
4748
+ fontSize: theme.typography.fontSize.subHead,
4644
4749
  lineHeight: '24px',
4645
4750
  color: theme?.palette?.font?.primary,
4646
4751
  margin: '0',
@@ -4656,13 +4761,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4656
4761
  '@media screen and (max-width: 767px)': {
4657
4762
  heading: {
4658
4763
  fontSize: '24px',
4659
- margin: '4px 0 12px',
4764
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4660
4765
  lineHeight: '36px',
4661
4766
  padding: '0'
4662
4767
  },
4663
- content: {
4664
- margin: '0 20px'
4665
- },
4666
4768
  sliderContainer: {
4667
4769
  marginLeft: '-6px',
4668
4770
  marginRight: '-20px'
@@ -4677,12 +4779,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4677
4779
  slidesToShow,
4678
4780
  cardsCount
4679
4781
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4680
- },
4681
- cardContent: {
4682
- padding: '20px'
4683
- },
4684
- cardHeading: {
4685
- margin: '14px 0'
4686
4782
  }
4687
4783
  }
4688
4784
  }));
@@ -4766,7 +4862,8 @@ function Info({
4766
4862
  }
4767
4863
  })), cardsCount > slidesToShow ? /*#__PURE__*/React.createElement(Carousel, {
4768
4864
  hideArrow: isMobile,
4769
- settings: settings
4865
+ settings: settings,
4866
+ buttonContainerClass: classes.buttonContainerClass
4770
4867
  }, carouselContent) : /*#__PURE__*/React.createElement("div", {
4771
4868
  className: classes.contentRow
4772
4869
  }, carouselContent))));
@@ -4779,67 +4876,56 @@ var index$d = /*#__PURE__*/Object.freeze({
4779
4876
 
4780
4877
  const useSectionStyles$2 = createUseStyles(theme => ({
4781
4878
  section: {
4782
- padding: '70px',
4879
+ padding: ({
4880
+ isMobile
4881
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4783
4882
  backgroundColor: theme?.palette?.background?.default,
4784
4883
  '&, & *, & *:before, & *:after': {
4785
4884
  fontFamily: theme?.typography?.fontFamily,
4786
4885
  boxSizing: 'border-box'
4787
4886
  },
4788
- '& h2,& h3': {
4789
- fontWeight: '500',
4790
- '& b,& strong': {
4791
- fontWeight: '700'
4792
- }
4887
+ '& h2,& h3,& p': {
4888
+ margin: '0'
4793
4889
  }
4794
4890
  },
4795
4891
  sectionContainer: {
4796
- margin: '0 auto',
4797
4892
  maxWidth: ({
4798
4893
  containerWidth
4799
4894
  } = {}) => containerWidth
4800
4895
  },
4801
4896
  subHeading: {
4802
- fontSize: '20px',
4897
+ fontSize: theme.typography.fontSize.subHead,
4803
4898
  marginBottom: '8px',
4804
- color: theme?.palette?.font?.tertiary,
4805
- wordBreak: 'break-word'
4899
+ color: theme?.palette?.font?.default,
4900
+ wordBreak: 'break-word',
4901
+ textTransform: 'uppercase',
4902
+ letterSpacing: '3px'
4806
4903
  },
4807
4904
  title: {
4808
- fontSize: '56px',
4809
- lineHeight: '70px',
4905
+ fontSize: theme.typography.fontSize.h2,
4906
+ fontWeight: theme.typography.fontWeight.bold,
4907
+ lineHeight: 'normal',
4810
4908
  margin: '0',
4811
4909
  color: theme?.palette?.font?.default,
4812
- wordBreak: 'break-word'
4910
+ wordBreak: 'break-word',
4911
+ marginBottom: theme.spacing.margin.tiny
4813
4912
  },
4814
4913
  textContent: {
4815
4914
  display: 'grid',
4816
4915
  gridTemplateColumns: '1fr 1fr',
4817
- gap: '80px'
4916
+ gap: '48px',
4917
+ padding: '48px 0px'
4818
4918
  },
4819
4919
  textPara: {
4820
- margin: '20px 0 0 0',
4821
4920
  lineHeight: '24px',
4822
4921
  color: theme?.palette?.font?.primary,
4823
- wordBreak: 'break-word'
4922
+ wordBreak: 'break-word',
4923
+ fontSize: theme.typography.fontSize.subHead
4824
4924
  },
4825
4925
  '@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
4926
  textContent: {
4839
- display: 'block'
4840
- },
4841
- textPara: {
4842
- marginTop: '12px'
4927
+ gap: '16px',
4928
+ padding: '16px 0px'
4843
4929
  }
4844
4930
  }
4845
4931
  }));
@@ -4850,10 +4936,12 @@ const TextSection = ({
4850
4936
  const {
4851
4937
  layout: {
4852
4938
  containerWidth
4853
- }
4939
+ },
4940
+ isMobile
4854
4941
  } = useContext(PageContext);
4855
4942
  const classes = useSectionStyles$2({
4856
- containerWidth
4943
+ containerWidth,
4944
+ isMobile
4857
4945
  });
4858
4946
  const [nodeData] = sectionData.components;
4859
4947
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
@@ -4900,18 +4988,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4900
4988
  return {
4901
4989
  container: {
4902
4990
  background: theme?.palette?.background?.default,
4903
- padding: '70px',
4991
+ padding: ({
4992
+ isMobile
4993
+ } = {}) => 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
4994
  '&, & *, & *:before, & *:after': {
4905
4995
  fontFamily: theme?.typography?.fontFamily,
4906
4996
  boxSizing: 'border-box'
4907
- },
4908
- '& h2,& h3': {
4909
- fontWeight: '500',
4910
- '& b,& strong': {
4911
- fontWeight: '700'
4912
- }
4913
4997
  }
4998
+ // '& h2,& h3': {
4999
+ // fontWeight: '500',
5000
+ // '& b,& strong': {
5001
+ // fontWeight: '700'
5002
+ // }
5003
+ // }
4914
5004
  },
5005
+
4915
5006
  sectionContainer: {
4916
5007
  margin: '0 auto',
4917
5008
  maxWidth: ({
@@ -4919,14 +5010,16 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4919
5010
  } = {}) => containerWidth
4920
5011
  },
4921
5012
  cardHeading: {
4922
- color: theme?.palette?.font?.secondary,
4923
- fontSize: '16px',
5013
+ color: theme?.palette?.font?.default,
5014
+ fontSize: theme.typography.fontSize.subHead,
4924
5015
  letterSpacing: '3px',
4925
- wordBreak: 'break-word'
4926
- },
4927
- sliderContainer: {
4928
- marginRight: '-70px'
5016
+ wordBreak: 'break-word',
5017
+ textTransform: 'uppercase'
4929
5018
  },
5019
+ // sliderContainer: {
5020
+ // marginRight: '-70px'
5021
+ // },
5022
+
4930
5023
  singleCard: {
4931
5024
  margin: '0 1px',
4932
5025
  width: 'calc(100% - 2px)',
@@ -4949,24 +5042,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4949
5042
  height: '100%'
4950
5043
  },
4951
5044
  title: {
4952
- fontSize: '56px',
5045
+ fontSize: theme.typography.fontSize.h2,
4953
5046
  lineHeight: '70px',
4954
5047
  letterSpacing: '-3px',
4955
5048
  color: theme?.palette?.font?.default,
4956
- margin: '8px 0 20px',
5049
+ marginTop: '8px',
5050
+ marginBottom: theme.spacing.margin.tiny,
4957
5051
  overflow: 'hidden',
4958
5052
  whiteSpace: 'nowrap',
4959
5053
  textOverflow: 'ellipsis'
4960
5054
  },
4961
5055
  '@media (max-width: 768px)': {
4962
- container: {
4963
- padding: '60px 20px'
4964
- },
4965
- cardHeading: {
4966
- marginLeft: '3px'
4967
- },
5056
+ // container: {
5057
+ // padding: '60px 20px'
5058
+ // },
5059
+
5060
+ // cardHeading: {
5061
+ // marginLeft: '3px'
5062
+ // },
5063
+
4968
5064
  title: {
4969
- fontSize: '24px',
4970
5065
  lineHeight: '36px',
4971
5066
  letterSpacing: '-1px',
4972
5067
  color: theme?.palette?.font?.default,
@@ -4974,10 +5069,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4974
5069
  overflow: 'hidden',
4975
5070
  whiteSpace: 'nowrap',
4976
5071
  textOverflow: 'ellipsis'
4977
- },
4978
- sliderContainer: {
4979
- marginRight: '-20px'
4980
5072
  }
5073
+
5074
+ // sliderContainer: {
5075
+ // marginRight: '-20px'
5076
+ // }
4981
5077
  }
4982
5078
  };
4983
5079
  });
@@ -4999,11 +5095,12 @@ function PhotoGallery({
4999
5095
  const classes = usePhotoGalleryStyles({
5000
5096
  containerWidth,
5001
5097
  cardsCount,
5002
- slidesToShow
5098
+ slidesToShow,
5099
+ isMobile
5003
5100
  });
5004
5101
  const settings = {
5005
5102
  className: classes.sliderContainer,
5006
- dots: false,
5103
+ dots: isMobile,
5007
5104
  infinite: true,
5008
5105
  speed: 500,
5009
5106
  slidesToShow,
@@ -5057,64 +5154,69 @@ var index$b = /*#__PURE__*/Object.freeze({
5057
5154
  const useFaqListStyles = createUseStyles(theme => ({
5058
5155
  section: {
5059
5156
  width: '100%',
5060
- padding: '70px',
5157
+ padding: ({
5158
+ isMobile
5159
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5061
5160
  backgroundColor: theme?.palette?.background?.primary,
5062
5161
  '&, & *, & *:before, & *:after': {
5063
5162
  fontFamily: theme?.typography?.fontFamily,
5064
5163
  boxSizing: 'border-box'
5065
5164
  },
5066
5165
  '& h2,& h3': {
5067
- fontWeight: '500',
5068
- '& b,& strong': {
5069
- fontWeight: '700'
5070
- }
5166
+ marginTop: '0'
5071
5167
  }
5072
5168
  },
5073
5169
  sectionContainer: {
5074
- margin: '0 auto',
5075
5170
  maxWidth: ({
5076
5171
  containerWidth
5077
5172
  } = {}) => containerWidth
5078
5173
  },
5079
5174
  sectionSubheading: {
5080
- color: theme?.palette?.font.tertiary,
5081
- fontSize: '16px',
5175
+ color: theme?.palette?.font.default,
5176
+ fontSize: theme.typography.fontSize.subHead,
5082
5177
  marginBottom: '8px',
5083
5178
  wordBreak: 'break-word'
5084
5179
  },
5085
5180
  sectionHeading: {
5086
- fontSize: '56px',
5087
- margin: '0 0 20px',
5181
+ fontSize: theme.typography.fontSize.h2,
5182
+ fontWeight: theme.typography.fontWeight.bold,
5088
5183
  wordBreak: 'break-word',
5089
- lineHeight: '71px'
5184
+ marginBottom: `${theme.spacing.margin.tiny}px`
5090
5185
  },
5091
5186
  container: {
5092
5187
  boxShadow: theme?.shadows?.secondary,
5093
5188
  borderRadius: '8px',
5094
- backgroundColor: theme?.palette?.background?.default,
5095
- padding: '40px 60px 60px'
5189
+ backgroundColor: theme?.palette?.background?.default
5096
5190
  },
5097
5191
  basicCardContainer: {
5098
- borderBottom: theme?.borders?.secondary
5192
+ borderBottom: theme?.borders?.secondary,
5193
+ padding: `${theme.spacing.padding.tiny}px`
5194
+ },
5195
+ innerContainer: {
5196
+ display: 'flex',
5197
+ flexDirection: 'column',
5198
+ gap: ({
5199
+ isSelected
5200
+ } = {}) => isSelected ? '16px' : '0'
5201
+ },
5202
+ arrowButton: {
5203
+ marginLeft: theme.spacing.margin.tiny
5099
5204
  },
5100
5205
  header: {
5101
5206
  display: 'flex',
5102
5207
  justifyContent: 'space-between',
5103
- alignItems: 'center',
5104
- padding: '20px 0'
5208
+ alignItems: 'center'
5105
5209
  },
5106
5210
  title: {
5107
5211
  color: theme?.palette?.font.default,
5108
- fontSize: '24px',
5212
+ fontSize: theme.typography.fontSize.h5,
5213
+ fontWeight: theme.typography.fontWeight.bold,
5109
5214
  margin: '0',
5110
5215
  wordBreak: 'break-word'
5111
5216
  },
5112
5217
  content: {
5113
- margin: ({
5114
- isSelected
5115
- } = {}) => isSelected ? '0 0 20px 0' : '0',
5116
5218
  color: theme?.palette?.font.primary,
5117
- fontSize: '16px',
5219
+ fontSize: theme.typography.fontSize.subHead,
5118
5220
  lineHeight: '24px',
5119
5221
  maxHeight: ({
5120
5222
  isSelected
@@ -5123,28 +5225,12 @@ const useFaqListStyles = createUseStyles(theme => ({
5123
5225
  overflow: 'hidden'
5124
5226
  },
5125
5227
  '@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
5228
  content: {
5139
5229
  lineHeight: '20px'
5140
5230
  },
5141
- container: {
5142
- padding: '0 20px'
5143
- },
5144
5231
  basicCardContainer: {
5145
5232
  '&:last-child': {
5146
- borderBottom: 'none',
5147
- paddingBottom: '1px'
5233
+ borderBottom: 'none'
5148
5234
  }
5149
5235
  }
5150
5236
  }
@@ -5157,11 +5243,13 @@ const FAQListing = ({
5157
5243
  const {
5158
5244
  layout: {
5159
5245
  containerWidth
5160
- }
5246
+ },
5247
+ isMobile
5161
5248
  } = useContext(PageContext);
5162
5249
  const classes = useFaqListStyles({
5163
5250
  selectedIndex,
5164
- containerWidth
5251
+ containerWidth,
5252
+ isMobile
5165
5253
  });
5166
5254
  const [nodeData] = sectionData.components;
5167
5255
  return /*#__PURE__*/React.createElement("section", {
@@ -5204,7 +5292,8 @@ const Accordion = ({
5204
5292
  return /*#__PURE__*/React.createElement("div", {
5205
5293
  className: classes.basicCardContainer
5206
5294
  }, /*#__PURE__*/React.createElement("div", {
5207
- onClick: onClick
5295
+ onClick: onClick,
5296
+ className: classes.innerContainer
5208
5297
  }, /*#__PURE__*/React.createElement("div", {
5209
5298
  className: classes.header
5210
5299
  }, /*#__PURE__*/React.createElement("h3", {
@@ -5213,7 +5302,9 @@ const Accordion = ({
5213
5302
  dangerouslySetInnerHTML: {
5214
5303
  __html: item.question.metadata.value
5215
5304
  }
5216
- }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ArrowButton, {
5305
+ }), /*#__PURE__*/React.createElement("div", {
5306
+ className: classes.arrowButton
5307
+ }, /*#__PURE__*/React.createElement(ArrowButton, {
5217
5308
  down: isSelected,
5218
5309
  up: !isSelected,
5219
5310
  size: "small"
@@ -5233,19 +5324,26 @@ var index$a = /*#__PURE__*/Object.freeze({
5233
5324
 
5234
5325
  const useTextGridStyles = createUseStyles(theme => ({
5235
5326
  section: {
5236
- padding: '70px',
5237
- backgroundColor: theme?.palette?.background?.primary,
5327
+ padding: ({
5328
+ isMobile
5329
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5330
+ // backgroundColor: theme?.palette?.background?.primary,
5331
+
5238
5332
  '&, & *, & *:before, & *:after': {
5239
5333
  fontFamily: theme?.typography?.fontFamily,
5240
5334
  boxSizing: 'border-box'
5241
5335
  },
5242
- '& h2,& h3': {
5243
- fontWeight: '500',
5244
- '& b,& strong': {
5245
- fontWeight: '700'
5246
- }
5336
+ '& h2,& h3,& p': {
5337
+ marginTop: '0'
5247
5338
  }
5339
+ // '& h2,& h3': {
5340
+ // fontWeight: '500',
5341
+ // '& b,& strong': {
5342
+ // fontWeight: '700'
5343
+ // }
5344
+ // }
5248
5345
  },
5346
+
5249
5347
  sectionContainer: {
5250
5348
  margin: '0 auto',
5251
5349
  maxWidth: ({
@@ -5253,25 +5351,28 @@ const useTextGridStyles = createUseStyles(theme => ({
5253
5351
  } = {}) => containerWidth
5254
5352
  },
5255
5353
  subheading: {
5256
- color: theme?.palette?.font.tertiary,
5257
- fontSize: '16px',
5354
+ color: theme?.palette?.font.default,
5355
+ fontSize: theme.typography.fontSize.subHead,
5258
5356
  lineHeight: '20px',
5259
5357
  letterSpacing: '3px',
5260
- wordBreak: 'break-word'
5358
+ wordBreak: 'break-word',
5359
+ textTransform: 'uppercase',
5360
+ marginBottom: '8px'
5261
5361
  },
5262
5362
  heading: {
5263
- fontSize: '56px',
5264
- lineHeight: '70px',
5363
+ fontSize: theme.typography.fontSize.h2,
5364
+ lineHeight: 'normal',
5365
+ fontWeight: theme.typography.fontWeight.bold,
5265
5366
  letterSpacing: '-3px',
5266
- margin: '8px 0 16px',
5367
+ marginBottom: theme.spacing.margin.tiny,
5267
5368
  wordBreak: 'break-word'
5268
5369
  },
5269
5370
  sliderContainer: {
5270
5371
  margin: '0 -10px'
5271
5372
  },
5272
5373
  node: {
5273
- margin: '6px 10px',
5274
- padding: '40px',
5374
+ margin: '0 16px',
5375
+ padding: '48px',
5275
5376
  position: 'relative',
5276
5377
  height: 'calc(100% - 12px)',
5277
5378
  background: theme?.palette?.background?.default,
@@ -5279,17 +5380,17 @@ const useTextGridStyles = createUseStyles(theme => ({
5279
5380
  borderRadius: theme?.shape?.borderRadius?.regular
5280
5381
  },
5281
5382
  nodeTitle: {
5282
- color: theme?.palette?.font.secondary,
5283
- fontSize: '40px',
5284
- lineHeight: '48px',
5383
+ color: theme?.palette?.font.default,
5384
+ fontSize: theme.typography.fontSize.h3,
5385
+ fontWeight: theme.typography.fontWeight.bold,
5386
+ lineHeight: 'normal',
5285
5387
  margin: '0 0 20px',
5286
5388
  wordBreak: 'break-word'
5287
5389
  },
5288
5390
  nodePara: {
5289
5391
  color: theme?.palette?.font.tertiary,
5290
- fontSize: '16px',
5392
+ fontSize: theme.typography.fontSize.subHead,
5291
5393
  lineHeight: '24px',
5292
- margin: '20px 0',
5293
5394
  wordBreak: 'break-word'
5294
5395
  },
5295
5396
  contentRow: {
@@ -5299,27 +5400,21 @@ const useTextGridStyles = createUseStyles(theme => ({
5299
5400
  } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5300
5401
  },
5301
5402
  '@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
5403
  sliderContainer: {
5312
5404
  margin: '0 -20px 0 -10px'
5313
5405
  },
5314
5406
  node: {
5315
- padding: '20px'
5407
+ padding: '16px',
5408
+ margin: '0 6px'
5316
5409
  },
5317
5410
  nodeTitle: {
5318
- fontSize: '24px',
5319
- lineHeight: '36px'
5411
+ marginBottom: '0px'
5320
5412
  },
5321
5413
  nodePara: {
5322
- margin: '12px 0'
5414
+ margin: '16px 0'
5415
+ },
5416
+ heading: {
5417
+ letterSpacing: '-1px'
5323
5418
  }
5324
5419
  }
5325
5420
  }));
@@ -5339,7 +5434,8 @@ const TextGrid = ({
5339
5434
  const classes = useTextGridStyles({
5340
5435
  containerWidth,
5341
5436
  cardsCount,
5342
- slidesToShow
5437
+ slidesToShow,
5438
+ isMobile
5343
5439
  });
5344
5440
  const settings = {
5345
5441
  className: classes.sliderContainer,
@@ -5400,39 +5496,46 @@ const useCourseStyles = createUseStyles(theme => {
5400
5496
  return {
5401
5497
  coursesContainer: {
5402
5498
  overflow: 'hidden',
5499
+ padding: ({
5500
+ isMobile
5501
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5403
5502
  '&, & *, & *:before, & *:after': {
5404
5503
  fontFamily: theme?.typography?.fontFamily,
5405
5504
  boxSizing: 'border-box'
5406
- },
5407
- '& h2,& h3': {
5408
- fontWeight: '500',
5409
- '& b,& strong': {
5410
- fontWeight: '700'
5411
- }
5412
5505
  }
5506
+ // '& h2,& h3': {
5507
+ // fontWeight: '500',
5508
+ // '& b,& strong': {
5509
+ // fontWeight: '700'
5510
+ // }
5511
+ // }
5413
5512
  },
5513
+
5414
5514
  sectionContainer: {
5415
5515
  margin: '0 auto',
5416
5516
  maxWidth: ({
5417
5517
  containerWidth
5418
5518
  } = {}) => containerWidth
5419
5519
  },
5420
- coursesCardAndText: {
5421
- padding: '70px'
5422
- },
5520
+ // coursesCardAndText: {
5521
+ // padding: '70px'
5522
+ // },
5523
+
5423
5524
  coursesText: {
5424
5525
  color: theme?.palette?.font?.secondary,
5425
5526
  fontWeight: '400',
5426
- fontSize: '16px',
5527
+ fontSize: theme.typography.fontSize.subHead,
5427
5528
  lineHeight: '20px',
5428
5529
  textAlign: 'center',
5530
+ textTransform: 'uppercase',
5429
5531
  wordBreak: 'break-word'
5430
5532
  },
5431
5533
  coursesHeader: {
5432
- fontSize: '56px',
5534
+ fontSize: theme.typography.fontSize.h2,
5433
5535
  lineHeight: '70px',
5434
5536
  color: theme?.palette?.font?.default,
5435
- margin: '10px 0 40px 10px',
5537
+ marginTop: '8px',
5538
+ marginBottom: theme.spacing.margin.tiny,
5436
5539
  overflow: 'hidden',
5437
5540
  whiteSpace: 'nowrap',
5438
5541
  textOverflow: 'ellipsis',
@@ -5507,7 +5610,7 @@ const useCourseStyles = createUseStyles(theme => {
5507
5610
  courseCardName: {
5508
5611
  color: theme?.palette?.font?.default,
5509
5612
  fontWeight: '700',
5510
- fontSize: '24px',
5613
+ fontSize: theme.typography.fontSize.h5,
5511
5614
  lineHeight: '32px',
5512
5615
  wordBreak: 'break-word',
5513
5616
  padding: '12px 0px',
@@ -5522,7 +5625,7 @@ const useCourseStyles = createUseStyles(theme => {
5522
5625
  display: 'flex',
5523
5626
  justifyContent: 'flex-start',
5524
5627
  alignItems: 'center',
5525
- fontSize: '16px',
5628
+ fontSize: theme.typography.fontSize.subHead,
5526
5629
  color: theme?.palette?.font?.primary,
5527
5630
  '& img': {
5528
5631
  marginRight: '5px'
@@ -5534,10 +5637,10 @@ const useCourseStyles = createUseStyles(theme => {
5534
5637
  display: 'flex',
5535
5638
  justifyContent: 'space-between',
5536
5639
  alignItems: 'center',
5537
- padding: '13px 0 0 4px'
5640
+ padding: '12px 0 0 4px'
5538
5641
  },
5539
5642
  courseCardPrice: {
5540
- fontSize: '24px',
5643
+ fontSize: theme.typography.fontSize.h5,
5541
5644
  fontWeight: '700'
5542
5645
  },
5543
5646
  coursesAnchorTag: {
@@ -5558,7 +5661,8 @@ const useCourseStyles = createUseStyles(theme => {
5558
5661
  cursor: 'pointer',
5559
5662
  background: theme?.palette?.primary?.main,
5560
5663
  color: theme?.palette?.font?.invertedDefault,
5561
- padding: '12px 16px',
5664
+ padding: '8px 16px',
5665
+ fontWeight: theme.typography.fontWeight.bold,
5562
5666
  cursor: 'pointer',
5563
5667
  borderRadius: theme.shape.borderRadius.regular
5564
5668
  },
@@ -5603,7 +5707,7 @@ const useCourseStyles = createUseStyles(theme => {
5603
5707
  //background: theme?.palette?.background?.primary
5604
5708
  },
5605
5709
  coursesCardAndText: {
5606
- padding: '70px 30px'
5710
+ // padding: '70px 30px'
5607
5711
  },
5608
5712
  singleCardContainer: {
5609
5713
  gridTemplateColumns: '1fr'
@@ -5612,7 +5716,7 @@ const useCourseStyles = createUseStyles(theme => {
5612
5716
  margin: '0'
5613
5717
  },
5614
5718
  coursesHeader: {
5615
- fontSize: '24px',
5719
+ // fontSize: '24px',
5616
5720
  lineHeight: '36px',
5617
5721
  color: theme?.palette?.font?.default,
5618
5722
  margin: '4px 0 12px 0',
@@ -5621,8 +5725,8 @@ const useCourseStyles = createUseStyles(theme => {
5621
5725
  textOverflow: 'ellipsis'
5622
5726
  },
5623
5727
  singleCard: {
5624
- margin: '6px 2px',
5625
- width: 'calc(100% - 4px)'
5728
+ margin: '6px 2px'
5729
+ // width: 'calc(100% - 12px)'
5626
5730
  }
5627
5731
  }
5628
5732
  };
@@ -5787,7 +5891,8 @@ function courses({
5787
5891
  const [fallBackImages, setFallbackImages] = useState([]);
5788
5892
  const [showShimmer, setShowShimmer] = useState(true);
5789
5893
  const classes = useCourseStyles({
5790
- containerWidth
5894
+ containerWidth,
5895
+ isMobile
5791
5896
  });
5792
5897
  const [nodeData] = sectionData?.components;
5793
5898
  const handleApiCall = () => {
@@ -5839,7 +5944,7 @@ function courses({
5839
5944
  const settings = {
5840
5945
  className: classes.slickContainer,
5841
5946
  infinite: false,
5842
- slidesToShow: isMobile ? 1.1 : 3.25
5947
+ slidesToShow: isMobile ? 1 : 3.5
5843
5948
  };
5844
5949
  const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
5845
5950
  const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
@@ -5915,17 +6020,17 @@ var index$8 = /*#__PURE__*/Object.freeze({
5915
6020
  const useTeamStyles = createUseStyles(theme => {
5916
6021
  return {
5917
6022
  teamSuperContainer: {
5918
- padding: '60px',
5919
- backgroundColor: theme?.palette?.background?.primary,
6023
+ padding: ({
6024
+ isMobile
6025
+ } = {}) => 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`,
6026
+ // backgroundColor: theme?.palette?.background?.primary,
6027
+
5920
6028
  '&, & *, & *:before, & *:after': {
5921
6029
  fontFamily: theme?.typography?.fontFamily,
5922
6030
  boxSizing: 'border-box'
5923
6031
  },
5924
6032
  '& h2,& h3': {
5925
- fontWeight: '500',
5926
- '& b,& strong': {
5927
- fontWeight: '700'
5928
- }
6033
+ margin: '0'
5929
6034
  }
5930
6035
  },
5931
6036
  sectionContainer: {
@@ -5935,20 +6040,31 @@ const useTeamStyles = createUseStyles(theme => {
5935
6040
  } = {}) => containerWidth
5936
6041
  },
5937
6042
  teamHeading: {
5938
- fontSize: '16px',
6043
+ fontSize: theme.typography.fontSize.subHead,
6044
+ textTransform: 'uppercase',
5939
6045
  lineHeight: '20px',
5940
6046
  letterSpacing: '3px',
5941
- margin: '0 0 8px',
5942
- color: theme?.palette?.font?.primary,
5943
- wordBreak: 'break-word'
6047
+ marginBottom: '8px',
6048
+ color: theme?.palette?.font?.default,
6049
+ wordBreak: 'break-word',
6050
+ position: 'relative'
6051
+ },
6052
+ partialBackground: {
6053
+ position: 'absolute',
6054
+ top: '0',
6055
+ left: '0',
6056
+ height: '50%',
6057
+ background: theme?.palette?.background?.primary,
6058
+ width: '100%'
5944
6059
  },
5945
6060
  teamTitle: {
5946
- fontSize: '56px',
6061
+ fontSize: theme.typography.fontSize.h2,
6062
+ fontWeight: theme.typography.fontWeight.bold,
5947
6063
  lineHeight: '70px',
5948
6064
  letterSpacing: '-3px',
5949
6065
  wordBreak: 'break-word',
5950
- margin: '0 ',
5951
- color: theme?.palette?.font?.default
6066
+ color: theme?.palette?.font?.default,
6067
+ position: 'relative'
5952
6068
  },
5953
6069
  sliderContainer: {
5954
6070
  margin: '0 -20px'
@@ -5962,10 +6078,11 @@ const useTeamStyles = createUseStyles(theme => {
5962
6078
  singleSlideContainer: {
5963
6079
  backgroundColor: theme?.palette?.background?.default,
5964
6080
  margin: '20px',
5965
- width: 'calc(100% - 40px)',
5966
- height: 'calc(100% - 40px)',
6081
+ width: 'calc(100% - 32px)',
6082
+ // height: 'calc(100% - 40px)',
6083
+ border: '3px solid #D8E0F0',
5967
6084
  borderRadius: theme?.shape?.borderRadius?.regular,
5968
- padding: '32px',
6085
+ padding: theme.spacing.padding.tiny,
5969
6086
  boxShadow: theme?.shadows?.primary
5970
6087
  },
5971
6088
  imageContainer: {
@@ -5990,32 +6107,28 @@ const useTeamStyles = createUseStyles(theme => {
5990
6107
  overflowWrap: 'break-word'
5991
6108
  },
5992
6109
  teamDetailsHeading: {
5993
- fontSize: '24px',
6110
+ fontSize: theme.typography.fontSize.h5,
6111
+ fontWeight: theme.typography.fontWeight.bold,
5994
6112
  lineHeight: '32px',
5995
6113
  margin: '0',
5996
6114
  color: theme?.palette?.font?.default
5997
6115
  },
5998
6116
  teamDetailsSubHeading: {
5999
- fontSize: '16px',
6117
+ fontSize: theme.typography.fontSize.subHead,
6000
6118
  lineHeight: '24px',
6001
6119
  margin: '12px 0 0',
6002
6120
  color: theme?.palette?.font?.primary
6003
6121
  },
6004
6122
  '@media (max-width: 767px)': {
6005
- teamSuperContainer: {
6006
- padding: '60px 20px'
6007
- },
6123
+ // teamSuperContainer: {
6124
+ // padding: '60px 20px'
6125
+ // },
6008
6126
  teamHeading: {
6009
- fontSize: '16px',
6010
- lineHeight: '20px',
6011
- letterSpacing: '3px',
6012
- margin: '0'
6127
+ lineHeight: '20px'
6013
6128
  },
6014
6129
  teamTitle: {
6015
- fontSize: '24px',
6016
6130
  lineHeight: '36px',
6017
- letterSpacing: '-1px',
6018
- margin: '0'
6131
+ letterSpacing: '-1px'
6019
6132
  },
6020
6133
  sliderContainer: {
6021
6134
  margin: '0 -4px'
@@ -6025,18 +6138,17 @@ const useTeamStyles = createUseStyles(theme => {
6025
6138
  margin: '12px 4px'
6026
6139
  },
6027
6140
  teamDetailsContainer: {
6028
- textAlign: 'center',
6029
- margin: '15px 0 0',
6030
- paddingBottom: '0'
6141
+ textAlign: 'center'
6142
+ // margin: '15px 0 0',
6143
+ // paddingBottom: '0'
6031
6144
  },
6145
+
6032
6146
  teamDetailsHeading: {
6033
- fontSize: '16px',
6034
6147
  lineHeight: '24px',
6035
6148
  margin: '0',
6036
6149
  color: theme?.palette?.font?.default
6037
6150
  },
6038
6151
  teamDetailsSubHeading: {
6039
- fontSize: '16px',
6040
6152
  color: theme?.palette?.font?.primary
6041
6153
  }
6042
6154
  }
@@ -6091,7 +6203,8 @@ function TeamCard({
6091
6203
  const classes = useTeamStyles({
6092
6204
  containerWidth,
6093
6205
  cardsCount,
6094
- slidesToShow
6206
+ slidesToShow,
6207
+ isMobile
6095
6208
  });
6096
6209
  const settings = {
6097
6210
  className: classes.sliderContainer,
@@ -6113,6 +6226,8 @@ function TeamCard({
6113
6226
  }, /*#__PURE__*/React.createElement("div", {
6114
6227
  className: classes.sectionContainer
6115
6228
  }, /*#__PURE__*/React.createElement("div", {
6229
+ className: classes.partialBackground
6230
+ }), /*#__PURE__*/React.createElement("div", {
6116
6231
  className: classes.teamHeading
6117
6232
  }, /*#__PURE__*/React.createElement("span", {
6118
6233
  ref: teamData?.teamHeading?.refSetter,
@@ -6148,17 +6263,21 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6148
6263
  flexDirection: 'column',
6149
6264
  alignItems: 'center',
6150
6265
  backgroundColor: theme?.palette?.background?.default,
6266
+ padding: ({
6267
+ isMobile
6268
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6151
6269
  '&, & *, & *:before, & *:after': {
6152
6270
  fontFamily: theme?.typography?.fontFamily,
6153
6271
  boxSizing: 'border-box'
6154
- },
6155
- '& h2,& h3': {
6156
- fontWeight: '500',
6157
- '& b,& strong': {
6158
- fontWeight: '700'
6159
- }
6160
6272
  }
6273
+ // '& h2,& h3': {
6274
+ // fontWeight: '500',
6275
+ // '& b,& strong': {
6276
+ // fontWeight: '700'
6277
+ // }
6278
+ // }
6161
6279
  },
6280
+
6162
6281
  formContainer: {
6163
6282
  margin: '0 auto',
6164
6283
  maxWidth: ({
@@ -6177,14 +6296,14 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6177
6296
  backgroundColor: theme?.palette?.background?.default,
6178
6297
  boxShadow: theme?.shadows?.secondary,
6179
6298
  borderRadius: theme?.shape?.borderRadius?.regular,
6180
- margin: '60px 10%',
6181
- padding: '40px 80px',
6299
+ padding: '48px',
6182
6300
  position: 'relative'
6183
6301
  },
6184
6302
  title: {
6185
6303
  margin: '0',
6186
- fontSize: '56px',
6304
+ fontSize: theme.typography.fontSize.h2,
6187
6305
  color: theme?.palette?.font?.secondary,
6306
+ fontWeight: theme.typography.fontWeight.bold,
6188
6307
  lineHeight: '71px',
6189
6308
  letterSpacing: '-3px',
6190
6309
  textAlign: 'left',
@@ -6192,16 +6311,19 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6192
6311
  },
6193
6312
  contentContainer: {
6194
6313
  width: '100%',
6195
- display: 'flex',
6196
- alignItems: 'flex-start',
6197
- marginTop: '32px'
6314
+ display: 'flex'
6315
+ // alignItems: 'flex-start',
6198
6316
  },
6317
+
6199
6318
  leftContainer: {
6200
- width: '65%'
6319
+ width: '65%',
6320
+ display: 'flex',
6321
+ flexDirection: 'column',
6322
+ justifyContent: 'space-between'
6201
6323
  },
6202
6324
  subtitle: {
6203
- margin: '0 0 40px 0',
6204
- fontSize: '20px',
6325
+ // margin: '0 0 40px 0',
6326
+ fontSize: theme.typography.fontSize.h6,
6205
6327
  color: theme?.palette?.font?.primary,
6206
6328
  lineHeight: '32px',
6207
6329
  wordBreak: 'break-word'
@@ -6223,13 +6345,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6223
6345
  padding: '4px 8px 0 0'
6224
6346
  },
6225
6347
  addressText: {
6226
- fontSize: '16px',
6348
+ fontSize: theme.typography.fontSize.subHead,
6227
6349
  color: theme?.palette?.font?.default,
6228
6350
  lineHeight: '24px'
6229
6351
  },
6230
6352
  rightContainer: {
6231
6353
  width: '50%',
6232
- padding: '0 0 0 80px'
6354
+ padding: '0 0 0 80px',
6355
+ display: 'flex',
6356
+ flexDirection: 'column',
6357
+ justifyContent: 'space-between'
6233
6358
  },
6234
6359
  inputDiv: {
6235
6360
  margin: '0 0 20px 0',
@@ -6243,8 +6368,8 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6243
6368
  alignItems: 'center'
6244
6369
  },
6245
6370
  sectionContainer: {
6246
- margin: '26px 16px',
6247
- padding: '32px 16px'
6371
+ // margin: '26px 16px',
6372
+ padding: '16px'
6248
6373
  },
6249
6374
  partialBackground: {
6250
6375
  height: '150px'
@@ -6254,26 +6379,32 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6254
6379
  marginTop: '8px'
6255
6380
  },
6256
6381
  leftContainer: {
6257
- width: '100%',
6258
- padding: '0 16ox'
6382
+ width: '100%'
6383
+ // padding: '0 16ox'
6259
6384
  },
6385
+
6260
6386
  rightContainer: {
6261
6387
  width: '100%',
6262
6388
  padding: '0'
6263
6389
  },
6264
6390
  title: {
6265
- fontSize: '24px',
6391
+ // fontSize: '24px',
6266
6392
  lineHeight: '32px',
6267
- letterSpacing: 'initial'
6393
+ letterSpacing: 'initial',
6394
+ margin: '0 0 16px 0',
6395
+ textAlign: 'center'
6268
6396
  },
6269
6397
  subtitle: {
6270
- margin: '0 0 12px 0'
6398
+ margin: '0 0 16px 0',
6399
+ lineHeight: '26px',
6400
+ textAlign: 'center'
6271
6401
  },
6272
6402
  inputDiv: {
6273
- margin: '0 0 10px 0'
6403
+ margin: '0 0 16px 0'
6274
6404
  },
6275
6405
  addressRow: {
6276
- padding: '12px 0'
6406
+ padding: '0px',
6407
+ margin: '0 0 16px 0'
6277
6408
  }
6278
6409
  }
6279
6410
  }));
@@ -6292,7 +6423,8 @@ function FormEnquiry({
6292
6423
  isEdit
6293
6424
  } = useContext(PageContext);
6294
6425
  const classes = useSectionStyles$1({
6295
- containerWidth
6426
+ containerWidth,
6427
+ isMobile
6296
6428
  });
6297
6429
  const [nodeData] = sectionData.components;
6298
6430
  const theme = useTheme();
@@ -6351,6 +6483,10 @@ function FormEnquiry({
6351
6483
  className: classes.partialBackground
6352
6484
  }), /*#__PURE__*/React.createElement("div", {
6353
6485
  className: classes.sectionContainer
6486
+ }, /*#__PURE__*/React.createElement("div", {
6487
+ className: classes.contentContainer
6488
+ }, /*#__PURE__*/React.createElement("div", {
6489
+ className: classes.leftContainer
6354
6490
  }, /*#__PURE__*/React.createElement("h2", {
6355
6491
  className: classes.title
6356
6492
  }, /*#__PURE__*/React.createElement("span", {
@@ -6359,10 +6495,6 @@ function FormEnquiry({
6359
6495
  __html: nodeData?.title?.metadata?.value
6360
6496
  }
6361
6497
  })), /*#__PURE__*/React.createElement("div", {
6362
- className: classes.contentContainer
6363
- }, /*#__PURE__*/React.createElement("div", {
6364
- className: classes.leftContainer
6365
- }, /*#__PURE__*/React.createElement("div", {
6366
6498
  ref: nodeData?.subtitle?.refSetter,
6367
6499
  className: classes.subtitle,
6368
6500
  dangerouslySetInnerHTML: {
@@ -6502,7 +6634,7 @@ function FormEnquiry({
6502
6634
  messageValid: 1
6503
6635
  });
6504
6636
  }
6505
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
6637
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
6506
6638
  ref: nodeData?.cta?.refSetter,
6507
6639
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6508
6640
  value: 'Submitted'
@@ -6513,7 +6645,7 @@ function FormEnquiry({
6513
6645
  type: nodeData?.cta?.metadata?.type,
6514
6646
  size: isMobile ? 'small' : 'medium',
6515
6647
  disabled: btnDisabled
6516
- }))))));
6648
+ })))))));
6517
6649
  }
6518
6650
 
6519
6651
  var index$6 = /*#__PURE__*/Object.freeze({
@@ -6529,20 +6661,24 @@ const useSectionStyles = createUseStyles(theme => ({
6529
6661
  justifyContent: 'center',
6530
6662
  flexDirection: 'column',
6531
6663
  alignItems: 'center',
6664
+ padding: ({
6665
+ isMobile
6666
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6532
6667
  backgroundColor: theme?.palette?.background?.default,
6533
6668
  '&, & *, & *:before, & *:after': {
6534
6669
  fontFamily: theme?.typography?.fontFamily,
6535
6670
  boxSizing: 'border-box'
6536
- },
6537
- '& h2,& h3': {
6538
- fontWeight: '500',
6539
- '& b,& strong': {
6540
- fontWeight: '700'
6541
- }
6542
6671
  }
6672
+ // '& h2,& h3': {
6673
+ // fontWeight: '500',
6674
+ // '& b,& strong': {
6675
+ // fontWeight: '700'
6676
+ // }
6677
+ // }
6543
6678
  },
6679
+
6544
6680
  contactContainer: {
6545
- width: '80%',
6681
+ width: '100%',
6546
6682
  margin: '0 auto',
6547
6683
  maxWidth: ({
6548
6684
  containerWidth
@@ -6560,13 +6696,12 @@ const useSectionStyles = createUseStyles(theme => ({
6560
6696
  backgroundColor: theme?.palette?.background?.default,
6561
6697
  boxShadow: theme?.shadows?.secondary,
6562
6698
  borderRadius: theme?.shape?.borderRadius?.regular,
6563
- margin: '60px',
6564
- padding: '40px 80px',
6699
+ padding: '48px',
6565
6700
  position: 'relative'
6566
6701
  },
6567
6702
  title: {
6568
6703
  margin: '0',
6569
- fontSize: '56px',
6704
+ fontSize: theme.typography.fontSize.h2,
6570
6705
  color: theme?.palette?.font?.secondary,
6571
6706
  lineHeight: '71px',
6572
6707
  letterSpacing: '-3px',
@@ -6576,36 +6711,37 @@ const useSectionStyles = createUseStyles(theme => ({
6576
6711
  contentContainer: {
6577
6712
  width: '100%',
6578
6713
  display: 'flex',
6579
- alignItems: 'flex-start',
6580
- marginTop: '32px',
6714
+ justifyContent: 'space-between',
6581
6715
  wordBreak: 'break-word'
6582
6716
  },
6583
6717
  leftContainer: {
6584
- width: '50%'
6718
+ width: '50%',
6719
+ display: 'flex',
6720
+ flexDirection: 'column',
6721
+ justifyContent: 'space-between'
6585
6722
  },
6586
6723
  subtitle: {
6587
- margin: '0 0 58px 0',
6588
- fontSize: '20px',
6724
+ margin: '0 0 auto 0',
6725
+ fontSize: theme.typography.fontSize.h6,
6589
6726
  color: theme?.palette?.font?.primary,
6590
- lineHeight: '32px'
6727
+ lineHeight: '32px',
6728
+ margin: '20px 0px'
6591
6729
  },
6592
6730
  addressContainer: {
6593
6731
  display: 'flex',
6594
6732
  alignItems: 'flex-start',
6595
6733
  flexDirection: 'column',
6596
- width: '85%',
6597
- position: 'relative',
6598
- paddingBottom: '55%'
6599
- // '& img': {
6600
- // width: '80%'
6601
- // }
6734
+ width: '100%',
6735
+ position: 'relative'
6602
6736
  },
6603
-
6604
6737
  telephoneImage: {
6605
6738
  width: '80%'
6606
6739
  },
6607
6740
  rightContainer: {
6608
6741
  width: '50%',
6742
+ display: 'flex',
6743
+ flexDirection: 'column',
6744
+ justifyContent: 'space-between',
6609
6745
  padding: '0 0 0 80px'
6610
6746
  },
6611
6747
  inputDiv: {
@@ -6619,16 +6755,16 @@ const useSectionStyles = createUseStyles(theme => ({
6619
6755
  background: theme?.palette?.background?.default,
6620
6756
  border: `1px solid ${theme?.palette?.border?.secondary}`,
6621
6757
  borderRadius: theme?.shape?.borderRadius?.regular,
6622
- padding: '14px 12px',
6758
+ // padding: '14px 12px',
6623
6759
  display: 'flex',
6624
6760
  fontWeight: '400',
6625
- fontSize: '16px',
6761
+ fontSize: theme.typography.fontSize.subHead,
6626
6762
  lineHeight: '20px',
6627
6763
  fontFamily: 'inherit',
6628
6764
  resize: 'none',
6629
6765
  '&::placeholder': {
6630
6766
  fontWeight: '400',
6631
- fontSize: '16px',
6767
+ fontSize: theme.typography.fontSize.subHead,
6632
6768
  lineHeight: '20px',
6633
6769
  color: theme?.palette?.font?.primary,
6634
6770
  fontFamily: theme?.typography?.fontFamily
@@ -6658,8 +6794,7 @@ const useSectionStyles = createUseStyles(theme => ({
6658
6794
  alignItems: 'center'
6659
6795
  },
6660
6796
  sectionContainer: {
6661
- margin: '26px 16px',
6662
- padding: '32px 16px'
6797
+ padding: '16px'
6663
6798
  },
6664
6799
  partialBackground: {
6665
6800
  height: '150px'
@@ -6677,15 +6812,17 @@ const useSectionStyles = createUseStyles(theme => ({
6677
6812
  padding: '0'
6678
6813
  },
6679
6814
  title: {
6680
- fontSize: '24px',
6681
- lineHeight: '32px',
6682
- letterSpacing: 'initial'
6815
+ lineHeight: '26px',
6816
+ letterSpacing: 'initial',
6817
+ textAlign: 'center'
6683
6818
  },
6684
6819
  subtitle: {
6685
- margin: '0 0 12px 0'
6820
+ margin: '0 0 12px 0',
6821
+ textAlign: 'center',
6822
+ lineHeight: '26px'
6686
6823
  },
6687
6824
  addressRow: {
6688
- padding: '12px 0'
6825
+ // padding: '12px 0'
6689
6826
  },
6690
6827
  addressContainer: {
6691
6828
  '& img': {
@@ -6693,7 +6830,7 @@ const useSectionStyles = createUseStyles(theme => ({
6693
6830
  }
6694
6831
  },
6695
6832
  inputDiv: {
6696
- margin: '0 0 10px 0'
6833
+ // margin: '0 0 10px 0'
6697
6834
  },
6698
6835
  inputField: {
6699
6836
  width: '100%',
@@ -6725,7 +6862,8 @@ function Contact({
6725
6862
  let [btnDisabled, setBtnDisabled] = useState(false);
6726
6863
  const [nodeData] = sectionData.components;
6727
6864
  const classes = useSectionStyles({
6728
- containerWidth
6865
+ containerWidth,
6866
+ isMobile
6729
6867
  });
6730
6868
  let formInitialValue = {
6731
6869
  name: nodeData?.nameField?.metadata?.value,
@@ -6781,6 +6919,10 @@ function Contact({
6781
6919
  className: classes.partialBackground
6782
6920
  }), /*#__PURE__*/React.createElement("div", {
6783
6921
  className: classes.sectionContainer
6922
+ }, /*#__PURE__*/React.createElement("div", {
6923
+ className: classes.contentContainer
6924
+ }, /*#__PURE__*/React.createElement("div", {
6925
+ className: classes.leftContainer
6784
6926
  }, /*#__PURE__*/React.createElement("h2", {
6785
6927
  className: classes.title
6786
6928
  }, /*#__PURE__*/React.createElement("span", {
@@ -6789,10 +6931,6 @@ function Contact({
6789
6931
  __html: nodeData?.title?.metadata?.value
6790
6932
  }
6791
6933
  })), /*#__PURE__*/React.createElement("div", {
6792
- className: classes.contentContainer
6793
- }, /*#__PURE__*/React.createElement("div", {
6794
- className: classes.leftContainer
6795
- }, /*#__PURE__*/React.createElement("div", {
6796
6934
  ref: nodeData?.subtitle?.refSetter,
6797
6935
  className: classes.subtitle,
6798
6936
  dangerouslySetInnerHTML: {
@@ -6895,7 +7033,9 @@ function Contact({
6895
7033
  messageValid: 1
6896
7034
  });
6897
7035
  }
6898
- })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement(Button, {
7036
+ })), nodeData.cta.metadata.value !== '' && /*#__PURE__*/React.createElement("div", {
7037
+ className: classes.btnContainer
7038
+ }, /*#__PURE__*/React.createElement(Button, {
6899
7039
  ref: nodeData?.cta?.refSetter,
6900
7040
  data: btnDisabled && validData?.messageValid && validData?.emailValid && validData?.nameValid && validData?.phoneValid ? {
6901
7041
  value: 'Submitted'
@@ -6907,7 +7047,7 @@ function Contact({
6907
7047
  size: isMobile ? 'small' : 'medium',
6908
7048
  disabled: btnDisabled,
6909
7049
  name: "button"
6910
- }))))));
7050
+ })))))));
6911
7051
  }
6912
7052
 
6913
7053
  var index$5 = /*#__PURE__*/Object.freeze({
@@ -6920,16 +7060,15 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6920
7060
  webinarSuperContainer: {
6921
7061
  display: 'flex',
6922
7062
  justifyContent: 'center',
6923
- padding: '70px',
7063
+ padding: ({
7064
+ isMobile
7065
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6924
7066
  '&, & *, & *:before, & *:after': {
6925
7067
  fontFamily: theme?.typography?.fontFamily,
6926
7068
  boxSizing: 'border-box'
6927
7069
  },
6928
- '& h2,& h3': {
6929
- fontWeight: '500',
6930
- '& b,& strong': {
6931
- fontWeight: '700'
6932
- }
7070
+ '& h2,& h3,& p': {
7071
+ margin: '0'
6933
7072
  }
6934
7073
  },
6935
7074
  sectionContainer: {
@@ -6943,30 +7082,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6943
7082
  maxWidth: '1440px',
6944
7083
  fontFamily: theme?.typography?.fontFamily
6945
7084
  },
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
- },
7085
+ // videoTestimonialHeading: {
7086
+ // fontSize: theme.typography.fontSize.subHead,
7087
+ // lineHeight: '20px',
7088
+ // letterSpacing: '3px',
7089
+ // textTransform: 'uppercase',
7090
+ // color: theme.palette.font.tertiary,
7091
+ // wordBreak: 'break-word',
7092
+ // fontWeight: theme.typography.fontWeight.bold,
7093
+ // },
7094
+
7095
+ // videoTestimonialTitle: {
7096
+ // fontSize: theme.typography.fontSize.h2,
7097
+ // lineHeight: '71px',
7098
+ // fontWeight: theme.typography.fontWeight.bold,
7099
+ // letterSpacing: '-3px',
7100
+ // margin: '0',
7101
+ // color: theme.palette.font.default,
7102
+ // wordBreak: 'break-word'
7103
+ // },
7104
+
7105
+ // videoCarouselContainer: {
7106
+ // marginTop: '16px'
7107
+ // },
7108
+
6966
7109
  webinarCarousel: {
6967
7110
  display: 'flex',
6968
7111
  justifyContent: 'flex-start',
6969
- gap: '20px'
7112
+ gap: '32px'
6970
7113
  },
6971
7114
  '@media screen and (max-width: 767px)': {
6972
7115
  webinarCarousel: {
@@ -6981,18 +7124,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
6981
7124
  alignItems: 'center'
6982
7125
  },
6983
7126
  iframeContainer: {
6984
- width: '90%',
7127
+ width: '100%',
6985
7128
  position: 'relative',
6986
7129
  paddingBottom: '56.25%',
6987
7130
  // top: "6%",
6988
- left: '5%'
7131
+ // left: '5%'
7132
+ borderRadius: '8px',
7133
+ overflow: 'hidden'
6989
7134
  },
6990
7135
  offerText: {
6991
7136
  textAlign: 'center',
6992
- color: theme.palette.font.primary
7137
+ color: theme.palette.font.primary,
7138
+ marginBottom: '5%'
6993
7139
  },
6994
7140
  offerPrice: {
6995
- fontSize: '28px',
7141
+ fontSize: theme.typography.fontSize.h5,
6996
7142
  fontWeight: '600'
6997
7143
  },
6998
7144
  priceContainer: {
@@ -7011,9 +7157,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7011
7157
  bottomContainer: {
7012
7158
  display: 'flex',
7013
7159
  justifyContent: 'space-between',
7014
- marginTop: '5%',
7015
- padding: '0px 5% 0px 5%'
7160
+ marginTop: '5%'
7161
+ // padding: '0px 5% 0px 5%'
7016
7162
  },
7163
+
7017
7164
  iframe: {
7018
7165
  position: 'absolute',
7019
7166
  width: '100%',
@@ -7024,10 +7171,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7024
7171
  width: '100%',
7025
7172
  display: 'flex',
7026
7173
  flexDirection: 'column',
7027
- alignItems: 'flex-start'
7174
+ alignItems: 'flex-start',
7175
+ gap: '20px'
7028
7176
  },
7029
7177
  videoDetailsHeading: {
7030
- fontSize: '40px',
7178
+ fontSize: theme.typography.fontSize.h3,
7179
+ fontWeight: theme.typography.fontWeight.bold,
7031
7180
  lineHeight: '48px',
7032
7181
  margin: '0',
7033
7182
  letterSpacing: '-1px',
@@ -7041,7 +7190,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7041
7190
  display: 'flex',
7042
7191
  flexDirection: 'column',
7043
7192
  justifyContent: 'start',
7044
- paddingTop: '20px',
7193
+ padding: '24px',
7045
7194
  borderRadius: '10px'
7046
7195
  },
7047
7196
  bannerContainer: {
@@ -7054,14 +7203,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7054
7203
  position: 'relative',
7055
7204
  fontSize: '18px',
7056
7205
  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'
7206
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7059
7207
  },
7060
7208
  bannerContainerText: {
7061
7209
  transform: 'rotate(180deg)'
7062
7210
  },
7063
7211
  courseDetailsTags: {
7064
- marginTop: '16px',
7065
7212
  display: 'flex'
7066
7213
  },
7067
7214
  courseDetailTag: {
@@ -7069,23 +7216,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7069
7216
  alignItems: 'center',
7070
7217
  marginRight: '20px',
7071
7218
  '& div': {
7072
- fontSize: '14px',
7219
+ fontSize: theme.typography.fontSize.subHead,
7073
7220
  marginLeft: '10px'
7074
7221
  }
7075
7222
  },
7076
7223
  courseDetailContent: {
7077
- marginTop: '16px',
7078
- fontSize: '16px',
7224
+ fontSize: theme.typography.fontSize.subHead,
7079
7225
  wordBreak: 'break-word',
7080
7226
  color: theme.palette.font.primary,
7081
- margin: '10px 0 20px',
7082
- whiteSpace: 'pre-wrap'
7227
+ whiteSpace: 'pre-wrap',
7228
+ width: '80%'
7083
7229
  },
7084
7230
  courseDetailViewFullDetails: {
7085
7231
  cursor: 'pointer',
7086
- fontSize: '16px',
7232
+ fontSize: theme.typography.fontSize.subHead,
7087
7233
  lineHeight: '24px',
7088
- margin: '0',
7234
+ marginTop: '-20px',
7089
7235
  color: '#00ADE7',
7090
7236
  wordBreak: 'break-word'
7091
7237
  },
@@ -7093,9 +7239,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7093
7239
  color: '#EB5757',
7094
7240
  fontWeight: '600'
7095
7241
  },
7096
- webinarButtonContainer: {
7097
- marginBottom: '20px'
7098
- },
7242
+ // webinarButtonContainer: {
7243
+ // marginBottom: '20px'
7244
+ // },
7245
+
7099
7246
  iconBackground: {
7100
7247
  display: 'flex',
7101
7248
  width: '36px',
@@ -7127,11 +7274,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7127
7274
  width: '100%'
7128
7275
  },
7129
7276
  videoDetailsHeading: {
7130
- fontSize: '16px',
7131
7277
  lineHeight: '20px'
7132
7278
  },
7133
7279
  videoTestimonialTitle: {
7134
- fontSize: '24px',
7280
+ // fontSize: '24px',
7135
7281
  lineHeight: '36px',
7136
7282
  letterSpacing: '-1px'
7137
7283
  },
@@ -7289,8 +7435,7 @@ const SingleVideoSlide$1 = props => {
7289
7435
  className: classes.offerPrice
7290
7436
  }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7291
7437
  style: {
7292
- fontSize: '20px',
7293
- marginTop: '0px'
7438
+ fontSize: '20px'
7294
7439
  }
7295
7440
  }, /*#__PURE__*/React.createElement("span", {
7296
7441
  className: classes.originalPrice
@@ -7324,12 +7469,14 @@ function CoursePromotionPage$1({
7324
7469
  sectionIndex
7325
7470
  }) {
7326
7471
  const {
7472
+ isMobile,
7327
7473
  layout: {
7328
7474
  containerWidth
7329
7475
  }
7330
7476
  } = useContext(PageContext);
7331
7477
  const classes = useWebinarPromotionPage({
7332
- containerWidth
7478
+ containerWidth,
7479
+ isMobile
7333
7480
  });
7334
7481
  return /*#__PURE__*/React.createElement("div", {
7335
7482
  className: classes.webinarSuperContainer
@@ -7351,22 +7498,26 @@ var index$4 = /*#__PURE__*/Object.freeze({
7351
7498
  });
7352
7499
 
7353
7500
  const useCoursePromotionPage = createUseStyles(theme => {
7501
+ debugger;
7354
7502
  return {
7355
7503
  courseSuperContainer: {
7356
7504
  display: 'flex',
7357
7505
  justifyContent: 'center',
7358
- padding: '70px ',
7506
+ padding: ({
7507
+ isMobile
7508
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7359
7509
  '&, & *, & *:before, & *:after': {
7360
7510
  fontFamily: theme?.typography?.fontFamily,
7361
7511
  boxSizing: 'border-box'
7362
- },
7363
- '& h2,& h3': {
7364
- fontWeight: '500',
7365
- '& b,& strong': {
7366
- fontWeight: '700'
7367
- }
7368
7512
  }
7513
+ // '& h2,& h3': {
7514
+ // fontWeight: '500',
7515
+ // '& b,& strong': {
7516
+ // fontWeight: '700'
7517
+ // }
7518
+ // }
7369
7519
  },
7520
+
7370
7521
  sectionContainer: {
7371
7522
  margin: '0 auto',
7372
7523
  maxWidth: ({
@@ -7379,7 +7530,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7379
7530
  fontFamily: theme?.typography?.fontFamily
7380
7531
  },
7381
7532
  videoTestimonialHeading: {
7382
- fontSize: '16px',
7533
+ fontSize: theme.typography.fontSize.subHead,
7383
7534
  lineHeight: '20px',
7384
7535
  letterSpacing: '3px',
7385
7536
  textTransform: 'uppercase',
@@ -7388,7 +7539,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7388
7539
  fontWeight: '700'
7389
7540
  },
7390
7541
  videoTestimonialTitle: {
7391
- fontSize: '56px',
7542
+ fontSize: theme.typography.fontSize.h2,
7392
7543
  lineHeight: '71px',
7393
7544
  letterSpacing: '-3px',
7394
7545
  margin: '0',
@@ -7396,12 +7547,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7396
7547
  wordBreak: 'break-word'
7397
7548
  },
7398
7549
  videoCarouselContainer: {
7399
- marginTop: '16px'
7550
+ // marginTop: '16px'
7400
7551
  },
7401
7552
  coursePageCarousel: {
7402
7553
  display: 'flex',
7403
7554
  justifyContent: 'flex-start',
7404
- gap: '20px'
7555
+ gap: '32px'
7405
7556
  },
7406
7557
  '@media screen and (max-width: 767px)': {
7407
7558
  coursePageCarousel: {
@@ -7416,18 +7567,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
7416
7567
  alignItems: 'center'
7417
7568
  },
7418
7569
  iframeContainer: {
7419
- width: '90%',
7570
+ width: '100%',
7420
7571
  position: 'relative',
7421
- paddingBottom: '56.25%',
7572
+ paddingBottom: '56.25%'
7422
7573
  // top: "6%",
7423
- left: '5%'
7574
+ // left: '5%'
7424
7575
  },
7576
+
7425
7577
  offerText: {
7426
7578
  textAlign: 'center',
7427
7579
  color: theme.palette.font.primary
7428
7580
  },
7429
7581
  offerPrice: {
7430
- fontSize: '28px',
7582
+ fontSize: theme.typography.fontSize.h4,
7431
7583
  fontWeight: '700'
7432
7584
  },
7433
7585
  priceContainer: {
@@ -7445,7 +7597,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7445
7597
  fontWeight: '600'
7446
7598
  },
7447
7599
  bottomContainer: {
7448
- width: '90%',
7600
+ width: '100%',
7449
7601
  marginLeft: 'auto',
7450
7602
  marginRight: 'auto',
7451
7603
  display: 'flex',
@@ -7462,10 +7614,11 @@ const useCoursePromotionPage = createUseStyles(theme => {
7462
7614
  width: '100%',
7463
7615
  display: 'flex',
7464
7616
  flexDirection: 'column',
7465
- alignItems: 'flex-start'
7617
+ alignItems: 'flex-start',
7618
+ gap: '20px'
7466
7619
  },
7467
7620
  videoDetailsHeading: {
7468
- fontSize: '40px',
7621
+ fontSize: theme.typography.fontSize.h3,
7469
7622
  lineHeight: '48px',
7470
7623
  margin: '0',
7471
7624
  letterSpacing: '-1px',
@@ -7476,11 +7629,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
7476
7629
  width: '445px',
7477
7630
  backgroundColor: '#f4f9ff',
7478
7631
  display: 'flex',
7632
+ padding: '24px',
7479
7633
  flexDirection: 'column',
7480
- borderRadius: '10px',
7481
- paddingBottom: '10px',
7482
- paddingTop: '10px'
7634
+ borderRadius: '10px'
7635
+ // paddingBottom: '10px',
7636
+ // paddingTop: '10px'
7483
7637
  },
7638
+
7484
7639
  bannerContainer: {
7485
7640
  width: '100%',
7486
7641
  background: '#EB5757',
@@ -7489,11 +7644,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7489
7644
  padding: '10px 10px 23px 40px',
7490
7645
  wordWrap: 'break-word',
7491
7646
  position: 'relative',
7492
- fontSize: '18px',
7647
+ fontSize: theme.typography.fontSize.subHead,
7493
7648
  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'
7649
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7650
+ // marginBottom: '16px'
7496
7651
  },
7652
+
7497
7653
  bannerContainerText: {
7498
7654
  transform: 'rotate(180deg)'
7499
7655
  },
@@ -7504,16 +7660,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
7504
7660
  },
7505
7661
  courseEmblem: {
7506
7662
  background: '#F0F4F8',
7663
+ fontSize: theme.typography.fontSize.subHead,
7507
7664
  borderRadius: '2.00337px',
7508
7665
  padding: '8px',
7509
7666
  display: 'flex',
7510
7667
  alignItems: 'center',
7511
- justifyContent: 'center',
7512
- marginTop: '20px',
7513
- marginBottom: '20px'
7668
+ justifyContent: 'center'
7514
7669
  },
7515
7670
  courseDetailsTags: {
7516
- marginTop: '16px',
7671
+ // marginTop: '16px',
7517
7672
  display: 'flex',
7518
7673
  flexWrap: 'wrap'
7519
7674
  },
@@ -7523,13 +7678,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
7523
7678
  alignItems: 'center',
7524
7679
  marginRight: '20px',
7525
7680
  '& div': {
7526
- fontSize: '14px',
7681
+ fontSize: theme.typography.fontSize.subHead,
7682
+ fontWeight: theme.typography.fontWeight.semiBold,
7527
7683
  marginLeft: '10px'
7528
7684
  }
7529
7685
  },
7530
7686
  courseDetailContent: {
7531
- marginTop: '16px',
7532
- fontSize: '16px',
7687
+ // marginTop: '16px',
7688
+ fontSize: theme.typography.fontSize.subHead,
7533
7689
  lineHeight: '24px',
7534
7690
  wordBreak: 'break-word',
7535
7691
  color: theme.palette.font.primary,
@@ -7538,9 +7694,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
7538
7694
  },
7539
7695
  courseDetailViewFullDetails: {
7540
7696
  cursor: 'pointer',
7541
- fontSize: '16px',
7697
+ fontSize: theme.typography.fontSize.subHead,
7542
7698
  lineHeight: '24px',
7543
- margin: '0',
7699
+ marginTop: '-24px',
7544
7700
  color: '#00ADE7',
7545
7701
  wordBreak: 'break-word'
7546
7702
  },
@@ -7587,33 +7743,34 @@ const useCoursePromotionPage = createUseStyles(theme => {
7587
7743
  },
7588
7744
  '@media (max-width: 767px)': {
7589
7745
  bannerContainerText: {
7590
- fontSize: '16px'
7746
+ // fontSize: '16px'
7591
7747
  },
7592
7748
  courseViewContainer: {
7593
7749
  width: '100%',
7594
7750
  paddingBottom: '10px'
7595
7751
  },
7596
- courseSuperContainer: {
7597
- padding: '20px 10px 60px 20px'
7598
- },
7752
+ // courseSuperContainer: {
7753
+ // padding: '20px 10px 60px 20px'
7754
+ // },
7599
7755
  videoCarousel: {
7600
7756
  flexDirection: 'column-reverse',
7601
7757
  gap: '20px'
7602
7758
  },
7603
7759
  videoCarouselContainer: {
7604
- height: 'max-content',
7605
- paddingRight: '10px'
7760
+ height: 'max-content'
7761
+ // paddingRight: '10px'
7606
7762
  },
7763
+
7607
7764
  videoDetails: {
7608
7765
  width: '100%'
7609
7766
  },
7610
7767
  videoDetailsHeading: {
7611
- fontSize: '20px',
7768
+ // fontSize: '20px',
7612
7769
  fontWeight: '600',
7613
7770
  lineHeight: '20px'
7614
7771
  },
7615
7772
  videoTestimonialTitle: {
7616
- fontSize: '24px',
7773
+ // fontSize: '24px',
7617
7774
  lineHeight: '36px',
7618
7775
  letterSpacing: '-1px'
7619
7776
  },
@@ -7799,7 +7956,7 @@ const SingleVideoSlide = props => {
7799
7956
  className: classes.offerPrice
7800
7957
  }, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7801
7958
  style: {
7802
- fontSize: '20px',
7959
+ // fontSize: '20px',
7803
7960
  marginTop: '0px'
7804
7961
  }
7805
7962
  }, /*#__PURE__*/React.createElement("span", {
@@ -7849,12 +8006,14 @@ function CoursePromotionPage({
7849
8006
  sectionIndex
7850
8007
  }) {
7851
8008
  const {
8009
+ isMobile,
7852
8010
  layout: {
7853
8011
  containerWidth
7854
8012
  }
7855
8013
  } = useContext(PageContext);
7856
8014
  const classes = useCoursePromotionPage({
7857
- containerWidth
8015
+ containerWidth,
8016
+ isMobile
7858
8017
  });
7859
8018
  return /*#__PURE__*/React.createElement("div", {
7860
8019
  className: classes.courseSuperContainer
@@ -7878,7 +8037,9 @@ var index$3 = /*#__PURE__*/Object.freeze({
7878
8037
 
7879
8038
  const useFormPageStyles = createUseStyles(theme => ({
7880
8039
  formPageSection: {
7881
- padding: '35px 70px',
8040
+ padding: ({
8041
+ isMobile
8042
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7882
8043
  background: '#F4F9FF',
7883
8044
  '&, & *, & *:before, & *:after': {
7884
8045
  fontFamily: theme?.typography?.fontFamily,
@@ -7889,77 +8050,82 @@ const useFormPageStyles = createUseStyles(theme => ({
7889
8050
  textAlign: 'center'
7890
8051
  },
7891
8052
  formPageTitle: {
7892
- fontSize: '50px',
7893
- fontWeight: '700'
8053
+ fontSize: theme.typography.fontSize.h2,
8054
+ fontWeight: theme.typography.fontWeight.bold
7894
8055
  },
7895
8056
  formPageSubtitle: {
7896
- marginTop: '16px',
7897
- fontSize: '16px',
8057
+ marginTop: '8px',
8058
+ fontSize: theme.typography.fontSize.h6,
7898
8059
  lineHeight: '23px',
7899
8060
  color: 'rgba(51, 51, 51, 0.5)',
7900
- marginBottom: '32px'
8061
+ marginBottom: theme.spacing.margin.tiny
7901
8062
  },
7902
8063
  formPageFormContainer: {
7903
- marginTop: '32px',
7904
8064
  '& form': {
7905
- padding: '35px 140px',
8065
+ padding: '72px',
7906
8066
  background: '#FFFFFF',
7907
8067
  borderRadius: '8px',
7908
8068
  boxShadow: '0px 4px 10px rgba(0, 0, 0, 0.16)'
7909
8069
  }
7910
8070
  },
7911
8071
  inputField: {
7912
- marginTop: '20px',
7913
- padding: '20px',
7914
- border: '1px solid #D8E0F0',
7915
- borderRadius: '16px'
8072
+ marginTop: '12px'
8073
+ // padding: '12px 16px',
8074
+ // border: '1px solid #D8E0F0',
8075
+ // borderRadius: '16px'
7916
8076
  },
8077
+
7917
8078
  inputFieldLabel: {
7918
8079
  color: '#333',
7919
- fontSize: '20px',
8080
+ fontSize: theme.typography.fontSize.subHead,
8081
+ fontWeight: theme.typography.fontWeight.semiBold,
7920
8082
  display: 'block',
7921
- marginBottom: '10px'
8083
+ marginTop: '20px',
8084
+ marginBottom: '12px'
7922
8085
  },
7923
8086
  inputFieldControl: {
7924
8087
  width: '100%',
7925
- height: '50px',
7926
8088
  borderRadius: '8px',
7927
8089
  border: '1px solid #D8E0F0',
7928
- padding: '5px 10px',
8090
+ padding: '12px 16px',
7929
8091
  color: '#7D8592',
7930
- fontSize: '16px'
8092
+ fontSize: theme.typography.fontSize.subHead
7931
8093
  },
7932
8094
  checkboxField: {
7933
- marginTop: '20px',
7934
- padding: '20px',
7935
- border: '1px solid #D8E0F0',
7936
- borderRadius: '8px'
8095
+ // padding: '20px',
8096
+ // border: '1px solid #D8E0F0',
8097
+ // borderRadius: '8px'
7937
8098
  },
7938
8099
  checkBoxFieldLabel: {
7939
8100
  color: '#333',
7940
- fontSize: '20px',
7941
- margin: '10px 0'
8101
+ fontSize: theme.typography.fontSize.subHead,
8102
+ fontWeight: theme.typography.fontWeight.semiBold,
8103
+ marginTop: '20px',
8104
+ marginBottom: '12px'
7942
8105
  },
7943
8106
  inputFieldRequired: {
7944
8107
  color: '#F41828'
7945
8108
  },
7946
8109
  checkboxFieldControl: {
7947
- padding: '6px 0',
8110
+ padding: '8px 0',
7948
8111
  '& label': {
7949
- fontFamily: '16px',
8112
+ fontSize: theme.typography.fontSize.subHead,
7950
8113
  marginLeft: '10px',
7951
8114
  color: '#7D8592'
7952
8115
  }
7953
8116
  },
7954
8117
  submitBtnContainer: {
7955
- marginTop: '20px',
8118
+ marginTop: theme.spacing.margin.tiny,
8119
+ display: 'flex',
8120
+ alignItems: 'center',
8121
+ justifyContent: 'center',
7956
8122
  width: '100%',
7957
8123
  margin: '0 auto',
7958
8124
  '& button': {
7959
- height: '44px',
7960
- padding: '10px 40px',
8125
+ // height: '44px',
8126
+ padding: '16px 24px',
7961
8127
  color: '#FFFFFF',
7962
- fontSize: '16px',
8128
+ fontSize: theme.typography.fontSize.subHead,
7963
8129
  cursor: 'pointer',
7964
8130
  borderRadius: '8px'
7965
8131
  }
@@ -7974,8 +8140,14 @@ const useFormPageStyles = createUseStyles(theme => ({
7974
8140
  },
7975
8141
  formPageFormContainer: {
7976
8142
  '& form': {
7977
- padding: '24px'
8143
+ padding: '16px'
7978
8144
  }
8145
+ },
8146
+ inputFieldLabel: {
8147
+ marginBottom: '8px'
8148
+ },
8149
+ checkBoxFieldLabel: {
8150
+ marginBottom: '8px'
7979
8151
  }
7980
8152
  }
7981
8153
  }));
@@ -8022,13 +8194,16 @@ const FormPage = ({
8022
8194
  extraProps = {}
8023
8195
  }) => {
8024
8196
  const [formData, setFormData] = useState({});
8025
- const classes = useFormPageStyles();
8026
8197
  const [formSubmitted, setformSubmitted] = useState(false);
8027
8198
  const metadata = sectionData?.components?.[0]?.metadata || formPageMock;
8028
8199
  const {
8029
8200
  _id,
8030
- baseURLs
8201
+ baseURLs,
8202
+ isMobile
8031
8203
  } = useContext(PageContext);
8204
+ const classes = useFormPageStyles({
8205
+ isMobile
8206
+ });
8032
8207
  const handleSubmit = async e => {
8033
8208
  e.preventDefault();
8034
8209
  let formResponse = [];
@@ -8235,16 +8410,18 @@ const useTilesStyles = createUseStyles(theme => {
8235
8410
  alignItems: 'center',
8236
8411
  display: 'flex',
8237
8412
  flexDirection: 'column',
8238
- marginTop: '20px'
8413
+ padding: ({
8414
+ isMobile
8415
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8239
8416
  },
8240
8417
  tileDiv: {
8241
8418
  width: '236px',
8242
- height: '160px',
8419
+ // height: '160px',
8420
+ aspectRatio: '3/2',
8243
8421
  position: 'relative',
8244
8422
  borderRadius: '16px',
8245
8423
  overflow: 'hidden',
8246
- cursor: 'pointer',
8247
- margin: '1rem'
8424
+ cursor: 'pointer'
8248
8425
  },
8249
8426
  tileImg: {
8250
8427
  objectFit: 'cover',
@@ -8259,8 +8436,8 @@ const useTilesStyles = createUseStyles(theme => {
8259
8436
  top: '12%',
8260
8437
  left: '7%',
8261
8438
  color: 'white',
8262
- fontWeight: '600',
8263
- fontSize: '20px',
8439
+ fontWeight: theme.typography.fontWeight.semiBold,
8440
+ fontSize: theme.typography.fontSize.h5,
8264
8441
  width: '150px'
8265
8442
  },
8266
8443
  row: {
@@ -8268,25 +8445,28 @@ const useTilesStyles = createUseStyles(theme => {
8268
8445
  flexDirection: 'row',
8269
8446
  justifyContent: 'center',
8270
8447
  flexWrap: 'wrap',
8271
- width: '85%',
8272
- marginBottom: '3rem'
8448
+ width: '100%',
8449
+ gap: '24px'
8273
8450
  },
8274
8451
  header: {
8275
- fontWeight: '700',
8276
- fontSize: '46px',
8452
+ fontWeight: theme.typography.fontWeight.bold,
8453
+ fontSize: theme.typography.fontSize.h2,
8277
8454
  lineHeight: '46px',
8278
- marginBottom: '1rem',
8279
8455
  textAlign: 'center',
8280
- marginTop: '3rem',
8281
8456
  color: '#2D2D2D'
8282
8457
  },
8283
8458
  headerTitle: {
8284
- fontWeight: '400',
8285
- fontSize: '24px',
8459
+ fontWeight: theme.typography.fontWeight.regular,
8460
+ fontSize: theme.typography.fontSize.subHead,
8286
8461
  lineHeight: '46px',
8287
8462
  color: '#7D8592',
8288
- marginBottom: '3rem',
8463
+ marginBottom: theme.spacing.margin.tiny,
8289
8464
  textAlign: 'center'
8465
+ },
8466
+ '@media screen and (max-width: 767px)': {
8467
+ tileDiv: {
8468
+ width: 'calc(53% - 24px)'
8469
+ }
8290
8470
  }
8291
8471
  };
8292
8472
  });
@@ -8295,7 +8475,6 @@ function Tiles({
8295
8475
  sectionData,
8296
8476
  sectionIndex
8297
8477
  }) {
8298
- const classes = useTilesStyles({});
8299
8478
  const {
8300
8479
  isMobile,
8301
8480
  layout: {
@@ -8304,6 +8483,9 @@ function Tiles({
8304
8483
  isPreview,
8305
8484
  isEdit
8306
8485
  } = useContext(PageContext);
8486
+ const classes = useTilesStyles({
8487
+ isMobile
8488
+ });
8307
8489
  const nodeData = sectionData.components;
8308
8490
  const tilesList = nodeData[0]?.tilesList.components;
8309
8491
  const handleClick = value => {
@@ -8514,8 +8696,7 @@ function Section({
8514
8696
  style: {
8515
8697
  textAlign: 'center',
8516
8698
  width: '100%',
8517
- backgroundColor: '#ffffff',
8518
- padding: '0px 24px'
8699
+ backgroundColor: '#ffffff'
8519
8700
  }
8520
8701
  }, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
8521
8702
  style: {
@@ -8542,10 +8723,10 @@ function Section({
8542
8723
  marginBottom: '15px'
8543
8724
  },
8544
8725
  ref: body?.components[1]?.refSetter
8545
- }, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("div", {
8726
+ }, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
8546
8727
  style: {
8547
8728
  maxWidth: '435px',
8548
- // margin: '0px 10px',
8729
+ margin: 'auto',
8549
8730
  // fontFamily: 'Roboto',
8550
8731
  fontStyle: 'normal',
8551
8732
  fontWeight: '400',