@kickstartds/ds-agency-premium 1.6.68--canary.40.1555.0 → 1.6.68--canary.1557.6fbeeea.0

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 (35) hide show
  1. package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
  2. package/dist/{BlogPostProps-c04a5ed8.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 +2 -2
  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-post/blog-post.schema.dereffed.json +24 -57
  8. package/dist/components/blog-post/index.d.ts +1 -1
  9. package/dist/components/blog-teaser/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/image-story/image-story.css +2 -5
  19. package/dist/components/index/index.d.ts +1 -1
  20. package/dist/components/mosaic/mosaic.css +1 -1
  21. package/dist/components/page/page.schema.dereffed.json +16 -38
  22. package/dist/components/page-wrapper/tokens.css +1 -1
  23. package/dist/components/presets.json +50 -56
  24. package/dist/components/section/section.css +2 -2
  25. package/dist/components/section/section.schema.dereffed.json +16 -38
  26. package/dist/components/slider/index.d.ts +1 -1
  27. package/dist/components/slider/slider.schema.dereffed.json +8 -19
  28. package/dist/components/split/split.css +2 -2
  29. package/dist/components/testimonials/index.d.ts +1 -1
  30. package/dist/global.css +2 -3
  31. package/dist/tokens/themes.css +4 -4
  32. package/dist/tokens/tokens.css +1 -1
  33. package/dist/tokens/tokens.js +1 -1
  34. package/package.json +1 -1
  35. /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
@@ -4,8 +4,8 @@
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
6
  import { SectionProps } from "./SectionProps-1cfcf6e8.js";
7
- import { BlogTeaserProps } from "./BlogTeaserProps-d62a0a9a.js";
8
- import { CtaProps } from "./CtaProps-fd5e75dc.js";
7
+ import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.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,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 { DividerProps } from "./DividerProps-2ef31901.js";
8
8
  import { FaqProps } from "./FaqProps-ad618cd5.js";
9
9
  import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
@@ -14,7 +14,7 @@ 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
  }
@@ -1555,6 +1544,12 @@
1555
1544
  "default": false,
1556
1545
  "type": "boolean"
1557
1546
  },
1547
+ "fullWidth": {
1548
+ "title": "Width",
1549
+ "description": "Set the width of the content to the full width of the element",
1550
+ "type": "boolean",
1551
+ "default": false
1552
+ },
1558
1553
  "buttons": {
1559
1554
  "type": "array",
1560
1555
  "items": {
@@ -1618,17 +1613,6 @@
1618
1613
  "title": "Alt text",
1619
1614
  "description": "Image description",
1620
1615
  "type": "string"
1621
- },
1622
- "align": {
1623
- "title": "Vertical alignment of the image",
1624
- "description": "Select a vertical alignment for the image",
1625
- "type": "string",
1626
- "enum": [
1627
- "center",
1628
- "top",
1629
- "bottom"
1630
- ],
1631
- "default": "center"
1632
1616
  }
1633
1617
  },
1634
1618
  "additionalProperties": false
@@ -1663,9 +1647,9 @@
1663
1647
  "type": "string",
1664
1648
  "default": "left"
1665
1649
  },
1666
- "align": {
1650
+ "contentAlign": {
1667
1651
  "title": "Vertical alignment of the content",
1668
- "description": "Select a vertical alignment for the content",
1652
+ "description": "Select a vertical alignment for the image",
1669
1653
  "type": "string",
1670
1654
  "enum": [
1671
1655
  "center",
@@ -1674,12 +1658,6 @@
1674
1658
  ],
1675
1659
  "default": "center"
1676
1660
  },
1677
- "padding": {
1678
- "title": "Padding",
1679
- "description": "Toggle padding of the content",
1680
- "type": "boolean",
1681
- "default": false
1682
- },
1683
1661
  "type": {
1684
1662
  "const": "cta"
1685
1663
  }
@@ -3733,6 +3711,12 @@
3733
3711
  "default": false,
3734
3712
  "type": "boolean"
3735
3713
  },
3714
+ "fullWidth": {
3715
+ "title": "Width",
3716
+ "description": "Set the width of the content to the full width of the element",
3717
+ "type": "boolean",
3718
+ "default": false
3719
+ },
3736
3720
  "buttons": {
3737
3721
  "type": "array",
3738
3722
  "items": {
@@ -3796,17 +3780,6 @@
3796
3780
  "title": "Alt text",
3797
3781
  "description": "Image description",
3798
3782
  "type": "string"
3799
- },
3800
- "align": {
3801
- "title": "Vertical alignment of the image",
3802
- "description": "Select a vertical alignment for the image",
3803
- "type": "string",
3804
- "enum": [
3805
- "center",
3806
- "top",
3807
- "bottom"
3808
- ],
3809
- "default": "center"
3810
3783
  }
3811
3784
  },
3812
3785
  "additionalProperties": false
@@ -3841,9 +3814,9 @@
3841
3814
  "type": "string",
3842
3815
  "default": "left"
3843
3816
  },
3844
- "align": {
3817
+ "contentAlign": {
3845
3818
  "title": "Vertical alignment of the content",
3846
- "description": "Select a vertical alignment for the content",
3819
+ "description": "Select a vertical alignment for the image",
3847
3820
  "type": "string",
3848
3821
  "enum": [
3849
3822
  "center",
@@ -3852,12 +3825,6 @@
3852
3825
  ],
3853
3826
  "default": "center"
3854
3827
  },
3855
- "padding": {
3856
- "title": "Padding",
3857
- "description": "Toggle padding of the content",
3858
- "type": "boolean",
3859
- "default": false
3860
- },
3861
3828
  "type": {
3862
3829
  "const": "cta"
3863
3830
  }
@@ -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
  }
@@ -1831,6 +1820,12 @@
1831
1820
  "default": false,
1832
1821
  "type": "boolean"
1833
1822
  },
1823
+ "fullWidth": {
1824
+ "title": "Width",
1825
+ "description": "Set the width of the content to the full width of the element",
1826
+ "type": "boolean",
1827
+ "default": false
1828
+ },
1834
1829
  "buttons": {
1835
1830
  "type": "array",
1836
1831
  "items": {
@@ -1894,17 +1889,6 @@
1894
1889
  "title": "Alt text",
1895
1890
  "description": "Image description",
1896
1891
  "type": "string"
1897
- },
1898
- "align": {
1899
- "title": "Vertical alignment of the image",
1900
- "description": "Select a vertical alignment for the image",
1901
- "type": "string",
1902
- "enum": [
1903
- "center",
1904
- "top",
1905
- "bottom"
1906
- ],
1907
- "default": "center"
1908
1892
  }
1909
1893
  },
1910
1894
  "additionalProperties": false
@@ -1939,9 +1923,9 @@
1939
1923
  "type": "string",
1940
1924
  "default": "left"
1941
1925
  },
1942
- "align": {
1926
+ "contentAlign": {
1943
1927
  "title": "Vertical alignment of the content",
1944
- "description": "Select a vertical alignment for the content",
1928
+ "description": "Select a vertical alignment for the image",
1945
1929
  "type": "string",
1946
1930
  "enum": [
1947
1931
  "center",
@@ -1950,12 +1934,6 @@
1950
1934
  ],
1951
1935
  "default": "center"
1952
1936
  },
1953
- "padding": {
1954
- "title": "Padding",
1955
- "description": "Toggle padding of the content",
1956
- "type": "boolean",
1957
- "default": false
1958
- },
1959
1937
  "type": {
1960
1938
  "const": "cta"
1961
1939
  }
@@ -3492,6 +3470,12 @@
3492
3470
  "default": false,
3493
3471
  "type": "boolean"
3494
3472
  },
3473
+ "fullWidth": {
3474
+ "title": "Width",
3475
+ "description": "Set the width of the content to the full width of the element",
3476
+ "type": "boolean",
3477
+ "default": false
3478
+ },
3495
3479
  "buttons": {
3496
3480
  "type": "array",
3497
3481
  "items": {
@@ -3555,17 +3539,6 @@
3555
3539
  "title": "Alt text",
3556
3540
  "description": "Image description",
3557
3541
  "type": "string"
3558
- },
3559
- "align": {
3560
- "title": "Vertical alignment of the image",
3561
- "description": "Select a vertical alignment for the image",
3562
- "type": "string",
3563
- "enum": [
3564
- "center",
3565
- "top",
3566
- "bottom"
3567
- ],
3568
- "default": "center"
3569
3542
  }
3570
3543
  },
3571
3544
  "additionalProperties": false
@@ -3600,9 +3573,9 @@
3600
3573
  "type": "string",
3601
3574
  "default": "left"
3602
3575
  },
3603
- "align": {
3576
+ "contentAlign": {
3604
3577
  "title": "Vertical alignment of the content",
3605
- "description": "Select a vertical alignment for the content",
3578
+ "description": "Select a vertical alignment for the image",
3606
3579
  "type": "string",
3607
3580
  "enum": [
3608
3581
  "center",
@@ -3611,12 +3584,6 @@
3611
3584
  ],
3612
3585
  "default": "center"
3613
3586
  },
3614
- "padding": {
3615
- "title": "Padding",
3616
- "description": "Toggle padding of the content",
3617
- "type": "boolean",
3618
- "default": false
3619
- },
3620
3587
  "type": {
3621
3588
  "const": "cta"
3622
3589
  }
@@ -1,4 +1,4 @@
1
- import { BlogPostProps } from "../../BlogPostProps-c04a5ed8.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,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { BlogTeaserProps } from "../../BlogTeaserProps-d62a0a9a.js";
3
+ import { BlogTeaserProps } from "../../BlogTeaserProps-f5855e93.js";
4
4
  declare const BlogTeaserContextDefault: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const BlogTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const BlogTeaser: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -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
  }