@kickstartds/ds-agency-premium 1.6.65--canary.40.1537.0 → 1.6.65

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.
Files changed (39) hide show
  1. package/dist/{BlogOverviewProps-1cfcf6e8.d.ts → BlogOverviewProps-9f207f1c.d.ts} +1 -1
  2. package/dist/{BlogPostProps-1cfcf6e8.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
  3. package/dist/{CtaProps-fd5e75dc.d.ts → CtaProps-93230a76.d.ts} +8 -13
  4. package/dist/SectionProps-1cfcf6e8.d.ts +3 -3
  5. package/dist/{SliderProps-fd5e75dc.d.ts → SliderProps-93230a76.d.ts} +1 -1
  6. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +24 -57
  7. package/dist/components/blog-overview/index.d.ts +1 -1
  8. package/dist/components/blog-post/blog-post.schema.dereffed.json +24 -57
  9. package/dist/components/blog-post/index.d.ts +1 -1
  10. package/dist/components/cta/cta.css +57 -37
  11. package/dist/components/cta/cta.schema.dereffed.json +8 -19
  12. package/dist/components/cta/cta.schema.json +8 -15
  13. package/dist/components/cta/index.d.ts +1 -1
  14. package/dist/components/cta/index.js +6 -4
  15. package/dist/components/footer/footer.css +1 -1
  16. package/dist/components/header/header.css +1 -1
  17. package/dist/components/hero/hero.css +2 -3
  18. package/dist/components/html/html.css +3 -1
  19. package/dist/components/image-story/image-story.css +2 -5
  20. package/dist/components/image-story/index.d.ts +1 -1
  21. package/dist/components/index/index.d.ts +3 -3
  22. package/dist/components/mosaic/mosaic.css +1 -1
  23. package/dist/components/page/index.d.ts +1 -1
  24. package/dist/components/page/page.schema.dereffed.json +16 -38
  25. package/dist/components/page-wrapper/tokens.css +1 -1
  26. package/dist/components/presets.json +50 -56
  27. package/dist/components/section/section.css +2 -2
  28. package/dist/components/section/section.schema.dereffed.json +16 -38
  29. package/dist/components/slider/index.d.ts +1 -1
  30. package/dist/components/slider/slider.schema.dereffed.json +8 -19
  31. package/dist/components/split/split.css +2 -2
  32. package/dist/components/testimonials/index.d.ts +1 -1
  33. package/dist/global.css +2 -3
  34. package/dist/tokens/themes.css +4 -4
  35. package/dist/tokens/tokens.css +1 -1
  36. package/dist/tokens/tokens.js +1 -1
  37. package/package.json +1 -1
  38. /package/dist/{ImageStoryProps-03ff6d21.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
  39. /package/dist/{PageProps-1cfcf6e8.d.ts → PageProps-aa29c554.d.ts} +0 -0
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { SectionProps } from "./SectionProps-1cfcf6e8.js";
7
7
  import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
8
- import { CtaProps } from "./CtaProps-fd5e75dc.js";
8
+ import { CtaProps } from "./CtaProps-93230a76.js";
9
9
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
10
10
  /**
11
11
  * Collection of sections (with their contents) to render as the blog overview intro
@@ -6,7 +6,7 @@
6
6
  import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
7
7
  import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
8
8
  import { SectionProps } from "./SectionProps-1cfcf6e8.js";
9
- import { CtaProps } from "./CtaProps-fd5e75dc.js";
9
+ import { CtaProps } from "./CtaProps-93230a76.js";
10
10
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
11
11
  /**
12
12
  * Body text for the blog post, overwrites sections if present
@@ -23,6 +23,10 @@ type HighlightText = boolean;
23
23
  * Make the text and buttons color neutral
24
24
  */
25
25
  type ColorNeutral = boolean;
26
+ /**
27
+ * Set the width of the content to the full width of the element
28
+ */
29
+ type Width = boolean;
26
30
  /**
27
31
  * Text content to display inside the button
28
32
  */
@@ -55,10 +59,6 @@ type Padding = boolean;
55
59
  * Image description
56
60
  */
57
61
  type AltText = string;
58
- /**
59
- * Select a vertical alignment for the image
60
- */
61
- type VerticalAlignmentOfTheImage = "center" | "top" | "bottom";
62
62
  /**
63
63
  * Switch to displaying the image after the text on mobile
64
64
  */
@@ -72,27 +72,23 @@ type DesktopImageAfterText = boolean;
72
72
  */
73
73
  type TextAlignment = "left" | "center";
74
74
  /**
75
- * Select a vertical alignment for the content
75
+ * Select a vertical alignment for the image
76
76
  */
77
77
  type VerticalAlignmentOfTheContent = "center" | "top" | "bottom";
78
- /**
79
- * Toggle padding of the content
80
- */
81
- type Padding1 = boolean;
82
78
  interface CtaProps {
83
79
  headline?: ComponentHeadline;
84
80
  sub?: ComponentSubheadline;
85
81
  text?: ComponentText;
86
82
  highlightText?: HighlightText;
87
83
  colorNeutral?: ColorNeutral;
84
+ fullWidth?: Width;
88
85
  buttons?: Button[];
89
86
  backgroundColor?: BackgroundColor;
90
87
  backgroundImage?: BackgroundImage;
91
88
  image?: Image;
92
89
  order?: Order;
93
90
  textAlign?: TextAlignment;
94
- align?: VerticalAlignmentOfTheContent;
95
- padding?: Padding1;
91
+ contentAlign?: VerticalAlignmentOfTheContent;
96
92
  }
97
93
  interface Button {
98
94
  label?: Label;
@@ -106,7 +102,6 @@ interface Image {
106
102
  src?: ImageSource;
107
103
  padding?: Padding;
108
104
  alt?: AltText;
109
- align?: VerticalAlignmentOfTheImage;
110
105
  }
111
106
  /**
112
107
  * Choose what comes first on mobile and desktop: image or text
@@ -115,4 +110,4 @@ interface Order {
115
110
  mobileImageLast?: MobileImageAfterText;
116
111
  desktopImageLast?: DesktopImageAfterText;
117
112
  }
118
- export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral, Label, Icon, Target, BackgroundColor, BackgroundImage, ImageSource, Padding, AltText, VerticalAlignmentOfTheImage, MobileImageAfterText, DesktopImageAfterText, TextAlignment, VerticalAlignmentOfTheContent, Padding1, CtaProps, Button, Image, Order };
113
+ export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral, Width, Label, Icon, Target, BackgroundColor, BackgroundImage, ImageSource, Padding, AltText, MobileImageAfterText, DesktopImageAfterText, TextAlignment, VerticalAlignmentOfTheContent, CtaProps, Button, Image, Order };
@@ -3,18 +3,18 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { CtaProps } from "./CtaProps-fd5e75dc.js";
6
+ import { CtaProps } from "./CtaProps-93230a76.js";
7
7
  import { DividerProps } from "./DividerProps-2ef31901.js";
8
8
  import { FaqProps } from "./FaqProps-ad618cd5.js";
9
9
  import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
10
10
  import { GalleryProps } from "./GalleryProps-76e7de44.js";
11
11
  import { HeroProps } from "./HeroProps-f704d270.js";
12
12
  import { HtmlProps } from "./HtmlProps-8e95ed81.js";
13
- import { ImageStoryProps } from "./ImageStoryProps-03ff6d21.js";
13
+ import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
14
14
  import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
15
15
  import { LogosProps } from "./LogosProps-f9474fe2.js";
16
16
  import { MosaicProps } from "./MosaicProps-d52c7151.js";
17
- import { SliderProps } from "./SliderProps-fd5e75dc.js";
17
+ import { SliderProps } from "./SliderProps-93230a76.js";
18
18
  import { StatsProps } from "./StatsProps-bf5ef578.js";
19
19
  import { TeaserCardProps } from "./TeaserCardProps-b9c28e78.js";
20
20
  import { TestimonialsProps } from "./TestimonialsProps-e344f597.js";
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { CtaProps } from "./CtaProps-fd5e75dc.js";
6
+ import { CtaProps } from "./CtaProps-93230a76.js";
7
7
  import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
8
8
  import { GalleryProps } from "./GalleryProps-76e7de44.js";
9
9
  import { HeroProps } from "./HeroProps-f704d270.js";
@@ -282,6 +282,12 @@
282
282
  "default": false,
283
283
  "type": "boolean"
284
284
  },
285
+ "fullWidth": {
286
+ "title": "Width",
287
+ "description": "Set the width of the content to the full width of the element",
288
+ "type": "boolean",
289
+ "default": false
290
+ },
285
291
  "buttons": {
286
292
  "type": "array",
287
293
  "items": {
@@ -345,17 +351,6 @@
345
351
  "title": "Alt text",
346
352
  "description": "Image description",
347
353
  "type": "string"
348
- },
349
- "align": {
350
- "title": "Vertical alignment of the image",
351
- "description": "Select a vertical alignment for the image",
352
- "type": "string",
353
- "enum": [
354
- "center",
355
- "top",
356
- "bottom"
357
- ],
358
- "default": "center"
359
354
  }
360
355
  },
361
356
  "additionalProperties": false
@@ -390,9 +385,9 @@
390
385
  "type": "string",
391
386
  "default": "left"
392
387
  },
393
- "align": {
388
+ "contentAlign": {
394
389
  "title": "Vertical alignment of the content",
395
- "description": "Select a vertical alignment for the content",
390
+ "description": "Select a vertical alignment for the image",
396
391
  "type": "string",
397
392
  "enum": [
398
393
  "center",
@@ -401,12 +396,6 @@
401
396
  ],
402
397
  "default": "center"
403
398
  },
404
- "padding": {
405
- "title": "Padding",
406
- "description": "Toggle padding of the content",
407
- "type": "boolean",
408
- "default": false
409
- },
410
399
  "type": {
411
400
  "const": "cta"
412
401
  }
@@ -1549,6 +1538,12 @@
1549
1538
  "default": false,
1550
1539
  "type": "boolean"
1551
1540
  },
1541
+ "fullWidth": {
1542
+ "title": "Width",
1543
+ "description": "Set the width of the content to the full width of the element",
1544
+ "type": "boolean",
1545
+ "default": false
1546
+ },
1552
1547
  "buttons": {
1553
1548
  "type": "array",
1554
1549
  "items": {
@@ -1612,17 +1607,6 @@
1612
1607
  "title": "Alt text",
1613
1608
  "description": "Image description",
1614
1609
  "type": "string"
1615
- },
1616
- "align": {
1617
- "title": "Vertical alignment of the image",
1618
- "description": "Select a vertical alignment for the image",
1619
- "type": "string",
1620
- "enum": [
1621
- "center",
1622
- "top",
1623
- "bottom"
1624
- ],
1625
- "default": "center"
1626
1610
  }
1627
1611
  },
1628
1612
  "additionalProperties": false
@@ -1657,9 +1641,9 @@
1657
1641
  "type": "string",
1658
1642
  "default": "left"
1659
1643
  },
1660
- "align": {
1644
+ "contentAlign": {
1661
1645
  "title": "Vertical alignment of the content",
1662
- "description": "Select a vertical alignment for the content",
1646
+ "description": "Select a vertical alignment for the image",
1663
1647
  "type": "string",
1664
1648
  "enum": [
1665
1649
  "center",
@@ -1668,12 +1652,6 @@
1668
1652
  ],
1669
1653
  "default": "center"
1670
1654
  },
1671
- "padding": {
1672
- "title": "Padding",
1673
- "description": "Toggle padding of the content",
1674
- "type": "boolean",
1675
- "default": false
1676
- },
1677
1655
  "type": {
1678
1656
  "const": "cta"
1679
1657
  }
@@ -3727,6 +3705,12 @@
3727
3705
  "default": false,
3728
3706
  "type": "boolean"
3729
3707
  },
3708
+ "fullWidth": {
3709
+ "title": "Width",
3710
+ "description": "Set the width of the content to the full width of the element",
3711
+ "type": "boolean",
3712
+ "default": false
3713
+ },
3730
3714
  "buttons": {
3731
3715
  "type": "array",
3732
3716
  "items": {
@@ -3790,17 +3774,6 @@
3790
3774
  "title": "Alt text",
3791
3775
  "description": "Image description",
3792
3776
  "type": "string"
3793
- },
3794
- "align": {
3795
- "title": "Vertical alignment of the image",
3796
- "description": "Select a vertical alignment for the image",
3797
- "type": "string",
3798
- "enum": [
3799
- "center",
3800
- "top",
3801
- "bottom"
3802
- ],
3803
- "default": "center"
3804
3777
  }
3805
3778
  },
3806
3779
  "additionalProperties": false
@@ -3835,9 +3808,9 @@
3835
3808
  "type": "string",
3836
3809
  "default": "left"
3837
3810
  },
3838
- "align": {
3811
+ "contentAlign": {
3839
3812
  "title": "Vertical alignment of the content",
3840
- "description": "Select a vertical alignment for the content",
3813
+ "description": "Select a vertical alignment for the image",
3841
3814
  "type": "string",
3842
3815
  "enum": [
3843
3816
  "center",
@@ -3846,12 +3819,6 @@
3846
3819
  ],
3847
3820
  "default": "center"
3848
3821
  },
3849
- "padding": {
3850
- "title": "Padding",
3851
- "description": "Toggle padding of the content",
3852
- "type": "boolean",
3853
- "default": false
3854
- },
3855
3822
  "type": {
3856
3823
  "const": "cta"
3857
3824
  }
@@ -1,4 +1,4 @@
1
- import { BlogOverviewProps } from "../../BlogOverviewProps-1cfcf6e8.js";
1
+ import { BlogOverviewProps } from "../../BlogOverviewProps-9f207f1c.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
4
4
  export type { BlogOverviewProps };
@@ -558,6 +558,12 @@
558
558
  "default": false,
559
559
  "type": "boolean"
560
560
  },
561
+ "fullWidth": {
562
+ "title": "Width",
563
+ "description": "Set the width of the content to the full width of the element",
564
+ "type": "boolean",
565
+ "default": false
566
+ },
561
567
  "buttons": {
562
568
  "type": "array",
563
569
  "items": {
@@ -621,17 +627,6 @@
621
627
  "title": "Alt text",
622
628
  "description": "Image description",
623
629
  "type": "string"
624
- },
625
- "align": {
626
- "title": "Vertical alignment of the image",
627
- "description": "Select a vertical alignment for the image",
628
- "type": "string",
629
- "enum": [
630
- "center",
631
- "top",
632
- "bottom"
633
- ],
634
- "default": "center"
635
630
  }
636
631
  },
637
632
  "additionalProperties": false
@@ -666,9 +661,9 @@
666
661
  "type": "string",
667
662
  "default": "left"
668
663
  },
669
- "align": {
664
+ "contentAlign": {
670
665
  "title": "Vertical alignment of the content",
671
- "description": "Select a vertical alignment for the content",
666
+ "description": "Select a vertical alignment for the image",
672
667
  "type": "string",
673
668
  "enum": [
674
669
  "center",
@@ -677,12 +672,6 @@
677
672
  ],
678
673
  "default": "center"
679
674
  },
680
- "padding": {
681
- "title": "Padding",
682
- "description": "Toggle padding of the content",
683
- "type": "boolean",
684
- "default": false
685
- },
686
675
  "type": {
687
676
  "const": "cta"
688
677
  }
@@ -1825,6 +1814,12 @@
1825
1814
  "default": false,
1826
1815
  "type": "boolean"
1827
1816
  },
1817
+ "fullWidth": {
1818
+ "title": "Width",
1819
+ "description": "Set the width of the content to the full width of the element",
1820
+ "type": "boolean",
1821
+ "default": false
1822
+ },
1828
1823
  "buttons": {
1829
1824
  "type": "array",
1830
1825
  "items": {
@@ -1888,17 +1883,6 @@
1888
1883
  "title": "Alt text",
1889
1884
  "description": "Image description",
1890
1885
  "type": "string"
1891
- },
1892
- "align": {
1893
- "title": "Vertical alignment of the image",
1894
- "description": "Select a vertical alignment for the image",
1895
- "type": "string",
1896
- "enum": [
1897
- "center",
1898
- "top",
1899
- "bottom"
1900
- ],
1901
- "default": "center"
1902
1886
  }
1903
1887
  },
1904
1888
  "additionalProperties": false
@@ -1933,9 +1917,9 @@
1933
1917
  "type": "string",
1934
1918
  "default": "left"
1935
1919
  },
1936
- "align": {
1920
+ "contentAlign": {
1937
1921
  "title": "Vertical alignment of the content",
1938
- "description": "Select a vertical alignment for the content",
1922
+ "description": "Select a vertical alignment for the image",
1939
1923
  "type": "string",
1940
1924
  "enum": [
1941
1925
  "center",
@@ -1944,12 +1928,6 @@
1944
1928
  ],
1945
1929
  "default": "center"
1946
1930
  },
1947
- "padding": {
1948
- "title": "Padding",
1949
- "description": "Toggle padding of the content",
1950
- "type": "boolean",
1951
- "default": false
1952
- },
1953
1931
  "type": {
1954
1932
  "const": "cta"
1955
1933
  }
@@ -3486,6 +3464,12 @@
3486
3464
  "default": false,
3487
3465
  "type": "boolean"
3488
3466
  },
3467
+ "fullWidth": {
3468
+ "title": "Width",
3469
+ "description": "Set the width of the content to the full width of the element",
3470
+ "type": "boolean",
3471
+ "default": false
3472
+ },
3489
3473
  "buttons": {
3490
3474
  "type": "array",
3491
3475
  "items": {
@@ -3549,17 +3533,6 @@
3549
3533
  "title": "Alt text",
3550
3534
  "description": "Image description",
3551
3535
  "type": "string"
3552
- },
3553
- "align": {
3554
- "title": "Vertical alignment of the image",
3555
- "description": "Select a vertical alignment for the image",
3556
- "type": "string",
3557
- "enum": [
3558
- "center",
3559
- "top",
3560
- "bottom"
3561
- ],
3562
- "default": "center"
3563
3536
  }
3564
3537
  },
3565
3538
  "additionalProperties": false
@@ -3594,9 +3567,9 @@
3594
3567
  "type": "string",
3595
3568
  "default": "left"
3596
3569
  },
3597
- "align": {
3570
+ "contentAlign": {
3598
3571
  "title": "Vertical alignment of the content",
3599
- "description": "Select a vertical alignment for the content",
3572
+ "description": "Select a vertical alignment for the image",
3600
3573
  "type": "string",
3601
3574
  "enum": [
3602
3575
  "center",
@@ -3605,12 +3578,6 @@
3605
3578
  ],
3606
3579
  "default": "center"
3607
3580
  },
3608
- "padding": {
3609
- "title": "Padding",
3610
- "description": "Toggle padding of the content",
3611
- "type": "boolean",
3612
- "default": false
3613
- },
3614
3581
  "type": {
3615
3582
  "const": "cta"
3616
3583
  }
@@ -1,4 +1,4 @@
1
- import { BlogPostProps } from "../../BlogPostProps-1cfcf6e8.js";
1
+ import { BlogPostProps } from "../../BlogPostProps-6b3cff22.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
4
4
  export type { BlogPostProps };
@@ -1,15 +1,12 @@
1
1
  .dsa-cta {
2
- --dsa-cta--gap: var(--ks-spacing-stack-l) var(--ks-spacing-inline-l);
3
- --dsa-cta__content--vertical-padding: var(--dsa-content--vertical-spacing);
4
- --dsa-cta__content--horizontal-padding: var(--dsa-content--horizontal-spacing);
5
- --dsa-cta__content--max-width: var(--dsa-content--width_narrow);
2
+ --dsa-cta--vertical-padding: var(--l-section--space-default);
3
+ --dsa-cta--horizontal-padding: var(--dsa-content--spacing);
6
4
  --dsa-cta__copy--font: var(--dsa-rich-text--font);
7
5
  --dsa-cta__copy--color: var(--ks-text-color-default);
8
6
  --dsa-cta__headline--color: var(--dsa-headline--color);
9
7
  --dsa-cta__headline--font: var(--dsa-headline_h2--font);
10
8
  --dsa-cta__subheadline--color: var(--dsa-headline__subheadline--color);
11
9
  --dsa-cta__subheadline--font: var(--dsa-headline_h2__subheadline--font);
12
- --dsa-cta__image--padding: var(--ks-spacing-inset-m);
13
10
  --dsa-cta_color-neutral__headline--color: var(--ks-text-color-default);
14
11
  --dsa-cta_color-neutral__subheadline--color: var(--ks-text-color-default);
15
12
  --dsa-cta_color-neutral__copy--color: var(--ks-text-color-default);
@@ -19,11 +16,11 @@
19
16
  }
20
17
 
21
18
  .dsa-cta.c-storytelling {
22
- --c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
23
- --c-storytelling--vertical-padding: var(--dsa-cta__content--vertical-padding);
19
+ --c-storytelling--padding-ratio: 2;
20
+ --c-storytelling--horizontal-padding: var(--dsa-content--spacing);
24
21
  justify-content: center;
25
22
  align-items: stretch;
26
- gap: var(--dsa-cta--gap, var(--ks-spacing-inline-m));
23
+ padding: 0;
27
24
  }
28
25
  .dsa-cta.c-storytelling.dsa-cta--color-neutral {
29
26
  --dsa-cta__copy--color: var(--dsa-cta_color-neutral__copy--color, var(--ks-text-color-default));
@@ -38,19 +35,34 @@
38
35
  var(--dsa-headline_h1__subheadline--font)
39
36
  );
40
37
  }
41
- .dsa-cta.c-storytelling.dsa-cta--no-padding .c-storytelling__box {
42
- padding: 0;
38
+ .dsa-cta.c-storytelling.c-storytelling--full {
39
+ --c-storytelling--padding-ratio: 1;
43
40
  }
44
- .dsa-cta.c-storytelling.dsa-cta--image-padding .c-storytelling__image {
45
- padding: var(--dsa-cta__content--vertical-padding, var(--dsa-content--vertical-spacing)) var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing));
41
+ .dsa-cta.c-storytelling.c-storytelling--full.c-storytelling--order-desktop-image-last .c-storytelling__box {
42
+ padding-left: var(--dsa-cta--horizontal-padding);
46
43
  }
47
- .dsa-cta.c-storytelling .c-storytelling__box__content {
48
- max-width: var(--dsa-cta__content--max-width, var(--dsa-content--width_narrow));
44
+ .dsa-cta.c-storytelling.dsa-cta--align-top {
45
+ align-items: flex-start;
46
+ }
47
+ .dsa-cta.c-storytelling.dsa-cta--align-bottom {
48
+ align-items: flex-end;
49
+ }
50
+ .dsa-cta.c-storytelling .c-storytelling__box {
51
+ width: 100%;
52
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
53
+ }
54
+ @container storytelling (max-width: 640px) {
55
+ .dsa-cta.c-storytelling .c-storytelling__box {
56
+ padding-top: calc(var(--dsa-cta--vertical-padding, var(--l-section--space-default)) / var(--c-storytelling--padding-ratio));
57
+ }
58
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
59
+ padding-top: var(--dsa-cta--vertical-padding, var(--l-section--space-default));
60
+ }
49
61
  }
50
62
  .dsa-cta.c-storytelling .c-storytelling__box:only-child {
51
- --c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
63
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
52
64
  }
53
- .dsa-cta.c-storytelling .c-storytelling__box:only-child .c-storytelling__box__content {
65
+ .dsa-cta.c-storytelling .c-storytelling__box__content {
54
66
  max-width: 100%;
55
67
  }
56
68
  .dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__headline {
@@ -67,42 +79,50 @@
67
79
  font: var(--dsa-cta__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
68
80
  color: var(--dsa-cta__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-copy)));
69
81
  }
70
- .dsa-cta.c-storytelling > .c-storytelling__image {
82
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
83
+ --dsa-cta--horizontal-padding: var(--dsa-content--spacing);
84
+ }
85
+ .dsa-cta.c-storytelling .c-storytelling__image {
71
86
  margin: 0;
72
87
  }
73
- @container storytelling (max-width: 639.9px) {
74
- .dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__box {
75
- padding-bottom: 0;
88
+ @container storytelling (min-width: 640px) {
89
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
90
+ padding-left: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
76
91
  }
77
- .dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__image {
78
- padding-top: 0;
92
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box {
93
+ padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
79
94
  }
80
- .dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__box:not(:only-child) {
81
- padding-top: 0;
95
+ .dsa-cta.c-storytelling .c-storytelling__box {
96
+ padding-left: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
82
97
  }
83
- .dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__image {
84
- padding-bottom: 0;
98
+ .dsa-cta.c-storytelling .c-storytelling__box__content--center .c-button-group {
99
+ justify-content: center;
85
100
  }
86
- }
87
- @container storytelling (min-width: 640px) {
88
- .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box:not(:only-child) {
89
- padding-right: 0;
101
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
102
+ width: 100%;
103
+ max-width: calc(var(--dsa-content--width_default) - var(--dsa-content--spacing) * var(--c-storytelling--padding-ratio));
90
104
  }
91
- .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
92
- padding-left: 0;
105
+ .dsa-cta.c-storytelling > .c-storytelling__image {
106
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
107
+ padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
108
+ }
109
+ .dsa-cta.c-storytelling.c-storytelling--full > .c-storytelling__image {
110
+ padding: 0;
93
111
  }
94
- .dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__box {
95
- padding-left: 0;
112
+ .dsa-cta.c-storytelling > .c-storytelling__image,
113
+ .dsa-cta.c-storytelling > .c-storytelling__box {
114
+ max-width: calc(var(--dsa-content--width_wide) / 2);
96
115
  }
97
- .dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__image {
98
- padding-right: 0;
116
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__image,
117
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__box {
118
+ max-width: 100%;
99
119
  }
100
120
  }
101
121
 
102
122
  @media (min-width: 640px) {
103
123
  .dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
104
124
  .dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
105
- padding-top: calc(var(--dsa-header--height) + var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing)));
125
+ padding-top: calc(var(--dsa-header--height) + var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)));
106
126
  z-index: 1;
107
127
  }
108
128
  }