@oslokommune/punkt-css 16.26.2 → 17.0.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 (75) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/dist/css/components/accordion.css +27 -5
  3. package/dist/css/components/accordion.min.css +1 -1
  4. package/dist/css/components/alert.css +37 -9
  5. package/dist/css/components/alert.min.css +1 -1
  6. package/dist/css/components/calendar.css +4 -0
  7. package/dist/css/components/calendar.min.css +1 -1
  8. package/dist/css/components/combobox.css +82 -0
  9. package/dist/css/components/combobox.min.css +1 -1
  10. package/dist/css/components/datepicker.css +82 -3
  11. package/dist/css/components/datepicker.min.css +1 -1
  12. package/dist/css/components/footer.css +232 -108
  13. package/dist/css/components/footer.min.css +1 -1
  14. package/dist/css/components/header-global.css +287 -0
  15. package/dist/css/components/header-global.min.css +1 -0
  16. package/dist/css/components/header-menu.css +364 -123
  17. package/dist/css/components/header-menu.min.css +1 -1
  18. package/dist/css/components/header-service-mobile.css +71 -22
  19. package/dist/css/components/header-service-mobile.min.css +1 -1
  20. package/dist/css/components/header-service.css +68 -14
  21. package/dist/css/components/header-service.min.css +1 -1
  22. package/dist/css/components/header-shared.css +49 -0
  23. package/dist/css/components/header-shared.min.css +0 -0
  24. package/dist/css/components/inputwrapper.css +59 -5
  25. package/dist/css/components/inputwrapper.min.css +1 -1
  26. package/dist/css/components/modal.css +0 -5
  27. package/dist/css/components/modal.min.css +1 -1
  28. package/dist/css/components/searchinput.css +71 -2
  29. package/dist/css/components/searchinput.min.css +1 -1
  30. package/dist/css/components/textarea.css +41 -0
  31. package/dist/css/components/textarea.min.css +1 -0
  32. package/dist/css/components/textinput.css +126 -6
  33. package/dist/css/components/textinput.min.css +1 -1
  34. package/dist/css/components/timepicker.css +133 -38
  35. package/dist/css/components/timepicker.min.css +1 -1
  36. package/dist/css/elements/button.css +20 -4
  37. package/dist/css/elements/button.min.css +1 -1
  38. package/dist/css/elements/checkbox-radio.css +3 -3
  39. package/dist/css/elements/checkbox-radio.min.css +1 -1
  40. package/dist/css/elements/input.css +121 -6
  41. package/dist/css/elements/input.min.css +1 -1
  42. package/dist/css/elements/select.css +137 -9
  43. package/dist/css/elements/select.min.css +1 -1
  44. package/dist/css/pkt-base.css +434 -1
  45. package/dist/css/pkt-base.min.css +1 -1
  46. package/dist/css/pkt-components.css +1595 -348
  47. package/dist/css/pkt-components.min.css +1 -1
  48. package/dist/css/pkt-docs.css +2077 -364
  49. package/dist/css/pkt-docs.min.css +1 -1
  50. package/dist/css/pkt-elements.css +160 -16
  51. package/dist/css/pkt-elements.min.css +1 -1
  52. package/dist/css/pkt.css +2077 -364
  53. package/dist/css/pkt.min.css +1 -1
  54. package/dist/scss/abstracts/variables/_index.scss +1 -1
  55. package/dist/scss/abstracts/variables/_spacing.scss +1 -0
  56. package/dist/scss/components/_accordion.scss +7 -11
  57. package/dist/scss/components/_alert.scss +34 -11
  58. package/dist/scss/components/_calendar.scss +3 -0
  59. package/dist/scss/components/_combobox.scss +74 -0
  60. package/dist/scss/components/_datepicker.scss +75 -8
  61. package/dist/scss/components/_footer.scss +149 -123
  62. package/dist/scss/components/_header-global.scss +192 -0
  63. package/dist/scss/components/_header-menu.scss +30 -31
  64. package/dist/scss/components/_header-service-mobile.scss +4 -28
  65. package/dist/scss/components/_header-service.scss +4 -21
  66. package/dist/scss/components/_header-shared.scss +190 -0
  67. package/dist/scss/components/_index.scss +2 -0
  68. package/dist/scss/components/_inputwrapper.scss +66 -10
  69. package/dist/scss/components/_modal.scss +1 -5
  70. package/dist/scss/components/_searchinput.scss +58 -2
  71. package/dist/scss/components/_textarea.scss +48 -0
  72. package/dist/scss/components/_timepicker.scss +95 -34
  73. package/dist/scss/elements/_button.scss +12 -3
  74. package/dist/scss/elements/_input.scss +141 -7
  75. package/package.json +3 -3
@@ -6,25 +6,30 @@
6
6
  background-color: var(--pkt-color-background-default);
7
7
  color: var(--pkt-color-text-body-default);
8
8
  width: 100%;
9
- padding-bottom: 2rem;
10
- }
11
- @media screen and (min-width: 48rem) {
12
- .pkt-header-menu {
13
- padding-bottom: 0;
14
- }
9
+ container-type: inline-size;
10
+ container-name: pkt-header-menu;
15
11
  }
16
12
  .pkt-header-menu--open {
17
13
  display: block;
18
14
  }
19
15
  .pkt-header-menu__services {
20
- max-width: 75.25rem;
16
+ max-width: 75rem;
21
17
  margin: 0 auto;
22
18
  padding-top: 2rem;
23
19
  padding-bottom: 1rem;
24
20
  }
25
- @media screen and (min-width: 48rem) {
26
- .pkt-header-menu__services {
27
- padding: 3.25rem;
21
+ @supports not (container-type: inline-size) {
22
+ @media screen and (min-width: 48rem) {
23
+ .pkt-header-menu__services {
24
+ padding: 3.25rem;
25
+ }
26
+ }
27
+ }
28
+ @supports (container-type: inline-size) {
29
+ @container pkt-header-menu (min-width: 48rem) {
30
+ .pkt-header-menu__services {
31
+ padding: 3.25rem;
32
+ }
28
33
  }
29
34
  }
30
35
  .pkt-header-menu__services-title, .pkt-header-menu__section-title {
@@ -35,17 +40,38 @@
35
40
  margin: 0 0 2rem;
36
41
  display: none;
37
42
  }
38
- @media screen and (min-width: 48rem) {
39
- .pkt-header-menu__services-title, .pkt-header-menu__section-title {
40
- display: block;
43
+ @supports not (container-type: inline-size) {
44
+ @media screen and (min-width: 48rem) {
45
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
46
+ display: block;
47
+ }
41
48
  }
42
49
  }
43
- @media screen and (min-width: 64rem) {
44
- .pkt-header-menu__services-title, .pkt-header-menu__section-title {
45
- letter-spacing: -0.2px;
46
- font-weight: 500;
47
- font-size: 1.375rem;
48
- line-height: 2.125rem;
50
+ @supports (container-type: inline-size) {
51
+ @container pkt-header-menu (min-width: 48rem) {
52
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
53
+ display: block;
54
+ }
55
+ }
56
+ }
57
+ @supports not (container-type: inline-size) {
58
+ @media screen and (min-width: 64rem) {
59
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
60
+ letter-spacing: -0.2px;
61
+ font-weight: 500;
62
+ font-size: 1.375rem;
63
+ line-height: 2.125rem;
64
+ }
65
+ }
66
+ }
67
+ @supports (container-type: inline-size) {
68
+ @container pkt-header-menu (min-width: 64rem) {
69
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
70
+ letter-spacing: -0.2px;
71
+ font-weight: 500;
72
+ font-size: 1.375rem;
73
+ line-height: 2.125rem;
74
+ }
49
75
  }
50
76
  }
51
77
  .pkt-header-menu__services-title {
@@ -59,84 +85,166 @@
59
85
  grid-template-columns: 1fr;
60
86
  gap: 1.25rem;
61
87
  }
62
- @media screen and (min-width: 48rem) {
63
- .pkt-header-menu__services-list {
64
- grid-template-columns: repeat(4, 1fr);
65
- row-gap: 2.5rem;
88
+ @supports not (container-type: inline-size) {
89
+ @media screen and (min-width: 48rem) {
90
+ .pkt-header-menu__services-list {
91
+ grid-template-columns: repeat(4, 1fr);
92
+ row-gap: 2.5rem;
93
+ }
94
+ }
95
+ }
96
+ @supports (container-type: inline-size) {
97
+ @container pkt-header-menu (min-width: 48rem) {
98
+ .pkt-header-menu__services-list {
99
+ grid-template-columns: repeat(4, 1fr);
100
+ row-gap: 2.5rem;
101
+ }
66
102
  }
67
103
  }
68
104
  .pkt-header-menu__buttons {
69
105
  display: none;
70
- max-width: 75.25rem;
106
+ max-width: 75rem;
71
107
  margin: 0 auto;
72
108
  padding-top: 2rem;
73
109
  padding-bottom: 1rem;
74
110
  }
75
- @media screen and (min-width: 48rem) {
76
- .pkt-header-menu__buttons {
77
- padding: 3.25rem;
111
+ @supports not (container-type: inline-size) {
112
+ @media screen and (min-width: 48rem) {
113
+ .pkt-header-menu__buttons {
114
+ padding: 3.25rem;
115
+ }
78
116
  }
79
117
  }
80
- @media screen and (min-width: 48rem) {
81
- .pkt-header-menu__buttons {
82
- display: flex;
83
- gap: 1rem;
84
- flex-wrap: wrap;
85
- padding-top: 0;
118
+ @supports (container-type: inline-size) {
119
+ @container pkt-header-menu (min-width: 48rem) {
120
+ .pkt-header-menu__buttons {
121
+ padding: 3.25rem;
122
+ }
86
123
  }
87
124
  }
88
- @media screen and (min-width: 64rem) {
89
- .pkt-header-menu__buttons .pkt-btn__text {
90
- letter-spacing: -0.2px;
91
- font-weight: 500;
92
- font-size: 1.125rem;
93
- line-height: 1.75rem;
125
+ @supports not (container-type: inline-size) {
126
+ @media screen and (min-width: 48rem) {
127
+ .pkt-header-menu__buttons {
128
+ display: flex;
129
+ gap: 1rem;
130
+ flex-wrap: wrap;
131
+ padding-top: 0;
132
+ }
133
+ }
134
+ }
135
+ @supports (container-type: inline-size) {
136
+ @container pkt-header-menu (min-width: 48rem) {
137
+ .pkt-header-menu__buttons {
138
+ display: flex;
139
+ gap: 1rem;
140
+ flex-wrap: wrap;
141
+ padding-top: 0;
142
+ }
143
+ }
144
+ }
145
+ @supports not (container-type: inline-size) {
146
+ @media screen and (min-width: 64rem) {
147
+ .pkt-header-menu__buttons .pkt-btn__text {
148
+ letter-spacing: -0.2px;
149
+ font-weight: 500;
150
+ font-size: 1.125rem;
151
+ line-height: 1.75rem;
152
+ }
153
+ }
154
+ }
155
+ @supports (container-type: inline-size) {
156
+ @container pkt-header-menu (min-width: 64rem) {
157
+ .pkt-header-menu__buttons .pkt-btn__text {
158
+ letter-spacing: -0.2px;
159
+ font-weight: 500;
160
+ font-size: 1.125rem;
161
+ line-height: 1.75rem;
162
+ }
94
163
  }
95
164
  }
96
165
  .pkt-header-menu__buttons--mobile {
97
166
  padding: 0 1rem;
98
167
  display: flex;
99
168
  }
100
- @media screen and (min-width: 48rem) {
101
- .pkt-header-menu__buttons--mobile {
102
- display: none;
169
+ @supports not (container-type: inline-size) {
170
+ @media screen and (min-width: 48rem) {
171
+ .pkt-header-menu__buttons--mobile {
172
+ display: none;
173
+ }
103
174
  }
104
175
  }
105
- @media screen and (min-width: 48rem) {
106
- .pkt-header-menu__sections {
107
- background-color: var(--pkt-color-surface-strong-gray);
176
+ @supports (container-type: inline-size) {
177
+ @container pkt-header-menu (min-width: 48rem) {
178
+ .pkt-header-menu__buttons--mobile {
179
+ display: none;
180
+ }
108
181
  }
109
- [data-mode=dark] .pkt-header-menu__sections {
110
- background-color: var(--pkt-color-background-default);
182
+ }
183
+ @supports not (container-type: inline-size) {
184
+ @media screen and (min-width: 48rem) {
185
+ .pkt-header-menu__sections {
186
+ background-color: var(--pkt-color-surface-strong-gray);
187
+ }
188
+ [data-mode=dark] .pkt-header-menu__sections {
189
+ background-color: var(--pkt-color-background-default);
190
+ }
191
+ }
192
+ }
193
+ @supports (container-type: inline-size) {
194
+ @container pkt-header-menu (min-width: 48rem) {
195
+ .pkt-header-menu__sections {
196
+ background-color: var(--pkt-color-surface-strong-gray);
197
+ }
198
+ [data-mode=dark] .pkt-header-menu__sections {
199
+ background-color: var(--pkt-color-background-default);
200
+ }
111
201
  }
112
202
  }
113
203
  .pkt-header-menu__sections-inner {
114
- max-width: 75.25rem;
204
+ max-width: 75rem;
115
205
  margin: 0 auto;
116
206
  padding-top: 2rem;
117
207
  padding-bottom: 1rem;
118
208
  }
119
- @media screen and (min-width: 48rem) {
120
- .pkt-header-menu__sections-inner {
121
- padding: 3.25rem;
209
+ @supports not (container-type: inline-size) {
210
+ @media screen and (min-width: 48rem) {
211
+ .pkt-header-menu__sections-inner {
212
+ padding: 3.25rem;
213
+ }
122
214
  }
123
215
  }
124
- @media screen and (min-width: 48rem) {
125
- .pkt-header-menu__sections-inner {
126
- display: grid;
127
- grid-template-columns: repeat(4, 1fr);
128
- gap: 2rem;
216
+ @supports (container-type: inline-size) {
217
+ @container pkt-header-menu (min-width: 48rem) {
218
+ .pkt-header-menu__sections-inner {
219
+ padding: 3.25rem;
220
+ }
129
221
  }
130
222
  }
131
- @media screen and (min-width: 0rem) and (max-width: 47.938rem) {
132
- .pkt-header-menu__section .pkt-accordion-item__title {
133
- letter-spacing: -0.2px;
134
- font-weight: 500;
135
- font-size: 1.125rem;
136
- line-height: 1.75rem;
137
- padding: 1rem 0;
223
+ @supports not (container-type: inline-size) {
224
+ @media screen and (min-width: 48rem) {
225
+ .pkt-header-menu__sections-inner {
226
+ display: grid;
227
+ grid-template-columns: repeat(4, 1fr);
228
+ gap: 2rem;
229
+ }
138
230
  }
139
231
  }
232
+ @supports (container-type: inline-size) {
233
+ @container pkt-header-menu (min-width: 48rem) {
234
+ .pkt-header-menu__sections-inner {
235
+ display: grid;
236
+ grid-template-columns: repeat(4, 1fr);
237
+ gap: 2rem;
238
+ }
239
+ }
240
+ }
241
+ .pkt-header-menu__section .pkt-accordion-item__title {
242
+ letter-spacing: -0.2px;
243
+ font-weight: 500;
244
+ font-size: 1.125rem;
245
+ line-height: 1.75rem;
246
+ padding: 0.5rem 1rem;
247
+ }
140
248
  .pkt-header-menu__section-list {
141
249
  list-style: none;
142
250
  margin: 0;
@@ -145,9 +253,18 @@
145
253
  flex-direction: column;
146
254
  gap: 1rem;
147
255
  }
148
- @media screen and (min-width: 48rem) {
149
- .pkt-header-menu__section-list {
150
- row-gap: 1rem;
256
+ @supports not (container-type: inline-size) {
257
+ @media screen and (min-width: 48rem) {
258
+ .pkt-header-menu__section-list {
259
+ row-gap: 1rem;
260
+ }
261
+ }
262
+ }
263
+ @supports (container-type: inline-size) {
264
+ @container pkt-header-menu (min-width: 48rem) {
265
+ .pkt-header-menu__section-list {
266
+ row-gap: 1rem;
267
+ }
151
268
  }
152
269
  }
153
270
  .pkt-header-menu__section-link {
@@ -161,12 +278,24 @@
161
278
  text-underline-position: from-font;
162
279
  line-height: 1.5;
163
280
  }
164
- @media screen and (min-width: 64rem) {
165
- .pkt-header-menu__section-link {
166
- letter-spacing: -0.2px;
167
- font-weight: 300;
168
- font-size: 1.125rem;
169
- line-height: 1.75rem;
281
+ @supports not (container-type: inline-size) {
282
+ @media screen and (min-width: 64rem) {
283
+ .pkt-header-menu__section-link {
284
+ letter-spacing: -0.2px;
285
+ font-weight: 300;
286
+ font-size: 1.125rem;
287
+ line-height: 1.75rem;
288
+ }
289
+ }
290
+ }
291
+ @supports (container-type: inline-size) {
292
+ @container pkt-header-menu (min-width: 64rem) {
293
+ .pkt-header-menu__section-link {
294
+ letter-spacing: -0.2px;
295
+ font-weight: 300;
296
+ font-size: 1.125rem;
297
+ line-height: 1.75rem;
298
+ }
170
299
  }
171
300
  }
172
301
  .pkt-header-menu__section-link:hover, .pkt-header-menu__section-link:focus-visible {
@@ -186,12 +315,24 @@
186
315
  font-size: 1rem;
187
316
  line-height: 1.5rem;
188
317
  }
189
- @media screen and (min-width: 64rem) {
190
- .pkt-header-menu__service-link {
191
- letter-spacing: -0.2px;
192
- font-weight: 300;
193
- font-size: 1.125rem;
194
- line-height: 1.75rem;
318
+ @supports not (container-type: inline-size) {
319
+ @media screen and (min-width: 64rem) {
320
+ .pkt-header-menu__service-link {
321
+ letter-spacing: -0.2px;
322
+ font-weight: 300;
323
+ font-size: 1.125rem;
324
+ line-height: 1.75rem;
325
+ }
326
+ }
327
+ }
328
+ @supports (container-type: inline-size) {
329
+ @container pkt-header-menu (min-width: 64rem) {
330
+ .pkt-header-menu__service-link {
331
+ letter-spacing: -0.2px;
332
+ font-weight: 300;
333
+ font-size: 1.125rem;
334
+ line-height: 1.75rem;
335
+ }
195
336
  }
196
337
  }
197
338
  .pkt-header-menu__service-link:hover .pkt-header-menu__service-text, .pkt-header-menu__service-link:focus-visible .pkt-header-menu__service-text {
@@ -204,10 +345,20 @@
204
345
  width: 1.5rem;
205
346
  height: 1.5rem;
206
347
  }
207
- @media screen and (min-width: 48rem) {
208
- .pkt-header-menu__service-icon {
209
- width: 2rem;
210
- height: 2rem;
348
+ @supports not (container-type: inline-size) {
349
+ @media screen and (min-width: 48rem) {
350
+ .pkt-header-menu__service-icon {
351
+ width: 2rem;
352
+ height: 2rem;
353
+ }
354
+ }
355
+ }
356
+ @supports (container-type: inline-size) {
357
+ @container pkt-header-menu (min-width: 48rem) {
358
+ .pkt-header-menu__service-icon {
359
+ width: 2rem;
360
+ height: 2rem;
361
+ }
211
362
  }
212
363
  }
213
364
  .pkt-header-menu__service-icon svg {
@@ -218,28 +369,49 @@
218
369
  min-width: 0;
219
370
  }
220
371
  .pkt-header-menu__footer {
221
- max-width: 75.25rem;
372
+ max-width: 75rem;
222
373
  margin: 0 auto;
223
374
  padding-top: 2rem;
224
375
  padding-bottom: 1rem;
225
376
  }
226
- @media screen and (min-width: 48rem) {
227
- .pkt-header-menu__footer {
228
- padding: 3.25rem;
377
+ @supports not (container-type: inline-size) {
378
+ @media screen and (min-width: 48rem) {
379
+ .pkt-header-menu__footer {
380
+ padding: 3.25rem;
381
+ }
382
+ }
383
+ }
384
+ @supports (container-type: inline-size) {
385
+ @container pkt-header-menu (min-width: 48rem) {
386
+ .pkt-header-menu__footer {
387
+ padding: 3.25rem;
388
+ }
229
389
  }
230
390
  }
231
391
  .pkt-header-menu__footer {
232
- padding: 1.5rem 1rem 1rem;
392
+ padding: 1.5rem 1rem 3rem;
233
393
  display: flex;
234
394
  flex-direction: column;
235
395
  gap: 1.5rem;
236
396
  }
237
- @media screen and (min-width: 48rem) {
238
- .pkt-header-menu__footer {
239
- flex-direction: row;
240
- justify-content: space-between;
241
- align-items: center;
242
- padding: 2rem 3.25rem;
397
+ @supports not (container-type: inline-size) {
398
+ @media screen and (min-width: 48rem) {
399
+ .pkt-header-menu__footer {
400
+ flex-direction: row;
401
+ justify-content: space-between;
402
+ align-items: center;
403
+ padding: 2rem 3.25rem;
404
+ }
405
+ }
406
+ }
407
+ @supports (container-type: inline-size) {
408
+ @container pkt-header-menu (min-width: 48rem) {
409
+ .pkt-header-menu__footer {
410
+ flex-direction: row;
411
+ justify-content: space-between;
412
+ align-items: center;
413
+ padding: 2rem 3.25rem;
414
+ }
243
415
  }
244
416
  }
245
417
  .pkt-header-menu__footer-list {
@@ -250,33 +422,66 @@
250
422
  flex-direction: column;
251
423
  gap: 0.75rem;
252
424
  }
253
- @media screen and (min-width: 48rem) {
254
- .pkt-header-menu__footer-list {
255
- flex-direction: row;
256
- gap: 0rem;
257
- }
258
- .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) {
259
- line-height: 1;
260
- }
261
- .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > * {
262
- border-right: 1px solid currentColor;
263
- padding: 0 2rem;
425
+ @supports not (container-type: inline-size) {
426
+ @media screen and (min-width: 48rem) {
427
+ .pkt-header-menu__footer-list {
428
+ flex-direction: row;
429
+ gap: 0rem;
430
+ }
431
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) {
432
+ line-height: 1;
433
+ }
434
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > * {
435
+ border-right: 1px solid currentColor;
436
+ padding: 0 2rem;
437
+ }
438
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:first-child {
439
+ padding-left: 0;
440
+ }
441
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:last-child {
442
+ border-right: none;
443
+ padding-right: 0;
444
+ }
264
445
  }
265
- .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:first-child {
266
- padding-left: 0;
267
- }
268
- .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:last-child {
269
- border-right: none;
270
- padding-right: 0;
446
+ }
447
+ @supports (container-type: inline-size) {
448
+ @container pkt-header-menu (min-width: 48rem) {
449
+ .pkt-header-menu__footer-list {
450
+ flex-direction: row;
451
+ gap: 0rem;
452
+ }
453
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) {
454
+ line-height: 1;
455
+ }
456
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > * {
457
+ border-right: 1px solid currentColor;
458
+ padding: 0 2rem;
459
+ }
460
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:first-child {
461
+ padding-left: 0;
462
+ }
463
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:last-child {
464
+ border-right: none;
465
+ padding-right: 0;
466
+ }
271
467
  }
272
468
  }
273
469
  .pkt-header-menu__footer-list--social {
274
470
  flex-direction: row;
275
471
  gap: 1rem;
276
472
  }
277
- @media screen and (min-width: 48rem) {
278
- .pkt-header-menu__footer-list--social {
279
- gap: 2rem;
473
+ @supports not (container-type: inline-size) {
474
+ @media screen and (min-width: 48rem) {
475
+ .pkt-header-menu__footer-list--social {
476
+ gap: 2rem;
477
+ }
478
+ }
479
+ }
480
+ @supports (container-type: inline-size) {
481
+ @container pkt-header-menu (min-width: 48rem) {
482
+ .pkt-header-menu__footer-list--social {
483
+ gap: 2rem;
484
+ }
280
485
  }
281
486
  }
282
487
  .pkt-header-menu__footer-link {
@@ -287,12 +492,24 @@
287
492
  color: var(--pkt-color-text-body-default);
288
493
  text-decoration: none;
289
494
  }
290
- @media screen and (min-width: 64rem) {
291
- .pkt-header-menu__footer-link {
292
- letter-spacing: -0.2px;
293
- font-weight: 300;
294
- font-size: 1.125rem;
295
- line-height: 1.75rem;
495
+ @supports not (container-type: inline-size) {
496
+ @media screen and (min-width: 64rem) {
497
+ .pkt-header-menu__footer-link {
498
+ letter-spacing: -0.2px;
499
+ font-weight: 300;
500
+ font-size: 1.125rem;
501
+ line-height: 1.75rem;
502
+ }
503
+ }
504
+ }
505
+ @supports (container-type: inline-size) {
506
+ @container pkt-header-menu (min-width: 64rem) {
507
+ .pkt-header-menu__footer-link {
508
+ letter-spacing: -0.2px;
509
+ font-weight: 300;
510
+ font-size: 1.125rem;
511
+ line-height: 1.75rem;
512
+ }
296
513
  }
297
514
  }
298
515
  .pkt-header-menu__footer-link:hover, .pkt-header-menu__footer-link:focus-visible {
@@ -310,17 +527,41 @@
310
527
  height: 2rem;
311
528
  }
312
529
  .pkt-header-menu__loading, .pkt-header-menu__error {
313
- max-width: 75.25rem;
530
+ max-width: 75rem;
314
531
  margin: 0 auto;
315
532
  padding-top: 2rem;
316
533
  padding-bottom: 1rem;
317
534
  }
318
- @media screen and (min-width: 48rem) {
319
- .pkt-header-menu__loading, .pkt-header-menu__error {
320
- padding: 3.25rem;
535
+ @supports not (container-type: inline-size) {
536
+ @media screen and (min-width: 48rem) {
537
+ .pkt-header-menu__loading, .pkt-header-menu__error {
538
+ padding: 3.25rem;
539
+ }
540
+ }
541
+ }
542
+ @supports (container-type: inline-size) {
543
+ @container pkt-header-menu (min-width: 48rem) {
544
+ .pkt-header-menu__loading, .pkt-header-menu__error {
545
+ padding: 3.25rem;
546
+ }
321
547
  }
322
548
  }
323
549
  .pkt-header-menu__loading, .pkt-header-menu__error {
324
550
  text-align: center;
325
551
  color: var(--pkt-color-text-body-default);
552
+ padding-bottom: 3rem;
553
+ }
554
+ @supports not (container-type: inline-size) {
555
+ @media screen and (min-width: 48rem) {
556
+ .pkt-header-menu__loading, .pkt-header-menu__error {
557
+ padding-bottom: 3.25rem;
558
+ }
559
+ }
560
+ }
561
+ @supports (container-type: inline-size) {
562
+ @container pkt-header-menu (min-width: 48rem) {
563
+ .pkt-header-menu__loading, .pkt-header-menu__error {
564
+ padding-bottom: 3.25rem;
565
+ }
566
+ }
326
567
  }
@@ -1 +1 @@
1
- .pkt-header-menu{display:none;background-color:var(--pkt-color-background-default);color:var(--pkt-color-text-body-default);width:100%;padding-bottom:2rem}@media screen and (min-width: 48rem){.pkt-header-menu{padding-bottom:0}}.pkt-header-menu--open{display:block}.pkt-header-menu__services{max-width:75.25rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__services{padding:3.25rem}}.pkt-header-menu__services-title,.pkt-header-menu__section-title{letter-spacing:-0.2px;font-weight:500;font-size:1.25rem;line-height:2rem;margin:0 0 2rem;display:none}@media screen and (min-width: 48rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{display:block}}@media screen and (min-width: 64rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{letter-spacing:-0.2px;font-weight:500;font-size:1.375rem;line-height:2.125rem}}.pkt-header-menu__services-title{margin-bottom:2rem}.pkt-header-menu__services-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:1.25rem}@media screen and (min-width: 48rem){.pkt-header-menu__services-list{grid-template-columns:repeat(4, 1fr);row-gap:2.5rem}}.pkt-header-menu__buttons{display:none;max-width:75.25rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__buttons{padding:3.25rem}}@media screen and (min-width: 48rem){.pkt-header-menu__buttons{display:flex;gap:1rem;flex-wrap:wrap;padding-top:0}}@media screen and (min-width: 64rem){.pkt-header-menu__buttons .pkt-btn__text{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem}}.pkt-header-menu__buttons--mobile{padding:0 1rem;display:flex}@media screen and (min-width: 48rem){.pkt-header-menu__buttons--mobile{display:none}}@media screen and (min-width: 48rem){.pkt-header-menu__sections{background-color:var(--pkt-color-surface-strong-gray)}[data-mode=dark] .pkt-header-menu__sections{background-color:var(--pkt-color-background-default)}}.pkt-header-menu__sections-inner{max-width:75.25rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__sections-inner{padding:3.25rem}}@media screen and (min-width: 48rem){.pkt-header-menu__sections-inner{display:grid;grid-template-columns:repeat(4, 1fr);gap:2rem}}@media screen and (min-width: 0rem)and (max-width: 47.938rem){.pkt-header-menu__section .pkt-accordion-item__title{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem;padding:1rem 0}}.pkt-header-menu__section-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__section-list{row-gap:1rem}}.pkt-header-menu__section-link{display:block;letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem;color:var(--pkt-color-text-body-default);text-decoration:underline;text-underline-position:from-font;line-height:1.5}@media screen and (min-width: 64rem){.pkt-header-menu__section-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}.pkt-header-menu__section-link:hover,.pkt-header-menu__section-link:focus-visible{text-decoration:underline}.pkt-header-menu__service{list-style:none}.pkt-header-menu__service-link{display:flex;align-items:center;gap:.75rem;color:var(--pkt-color-text-body-default);text-decoration:none;letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem}@media screen and (min-width: 64rem){.pkt-header-menu__service-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}.pkt-header-menu__service-link:hover .pkt-header-menu__service-text,.pkt-header-menu__service-link:focus-visible .pkt-header-menu__service-text{text-decoration:underline;text-underline-position:from-font}.pkt-header-menu__service-icon{flex:0 0 auto;--fg-color: var(--pkt-color-text-body-default);width:1.5rem;height:1.5rem}@media screen and (min-width: 48rem){.pkt-header-menu__service-icon{width:2rem;height:2rem}}.pkt-header-menu__service-icon svg{width:100%;height:100%}.pkt-header-menu__service-text{min-width:0}.pkt-header-menu__footer{max-width:75.25rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__footer{padding:3.25rem}}.pkt-header-menu__footer{padding:1.5rem 1rem 1rem;display:flex;flex-direction:column;gap:1.5rem}@media screen and (min-width: 48rem){.pkt-header-menu__footer{flex-direction:row;justify-content:space-between;align-items:center;padding:2rem 3.25rem}}.pkt-header-menu__footer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}@media screen and (min-width: 48rem){.pkt-header-menu__footer-list{flex-direction:row;gap:0rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social){line-height:1}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*{border-right:1px solid currentColor;padding:0 2rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:first-child{padding-left:0}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:last-child{border-right:none;padding-right:0}}.pkt-header-menu__footer-list--social{flex-direction:row;gap:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__footer-list--social{gap:2rem}}.pkt-header-menu__footer-link{letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem;color:var(--pkt-color-text-body-default);text-decoration:none}@media screen and (min-width: 64rem){.pkt-header-menu__footer-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}.pkt-header-menu__footer-link:hover,.pkt-header-menu__footer-link:focus-visible{text-decoration:underline;text-underline-position:from-font}.pkt-header-menu__social-link{--fg-color: var(--pkt-color-text-body-default);color:var(--pkt-color-text-body-default);display:inline-flex;align-items:center}.pkt-header-menu__social-link svg{width:2rem;height:2rem}.pkt-header-menu__loading,.pkt-header-menu__error{max-width:75.25rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@media screen and (min-width: 48rem){.pkt-header-menu__loading,.pkt-header-menu__error{padding:3.25rem}}.pkt-header-menu__loading,.pkt-header-menu__error{text-align:center;color:var(--pkt-color-text-body-default)}
1
+ .pkt-header-menu{display:none;background-color:var(--pkt-color-background-default);color:var(--pkt-color-text-body-default);width:100%;container-type:inline-size;container-name:pkt-header-menu}.pkt-header-menu--open{display:block}.pkt-header-menu__services{max-width:75rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__services{padding:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__services{padding:3.25rem}}}.pkt-header-menu__services-title,.pkt-header-menu__section-title{letter-spacing:-0.2px;font-weight:500;font-size:1.25rem;line-height:2rem;margin:0 0 2rem;display:none}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{display:block}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{display:block}}}@supports not (container-type: inline-size){@media screen and (min-width: 64rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{letter-spacing:-0.2px;font-weight:500;font-size:1.375rem;line-height:2.125rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 64rem){.pkt-header-menu__services-title,.pkt-header-menu__section-title{letter-spacing:-0.2px;font-weight:500;font-size:1.375rem;line-height:2.125rem}}}.pkt-header-menu__services-title{margin-bottom:2rem}.pkt-header-menu__services-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:1.25rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__services-list{grid-template-columns:repeat(4, 1fr);row-gap:2.5rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__services-list{grid-template-columns:repeat(4, 1fr);row-gap:2.5rem}}}.pkt-header-menu__buttons{display:none;max-width:75rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__buttons{padding:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__buttons{padding:3.25rem}}}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__buttons{display:flex;gap:1rem;flex-wrap:wrap;padding-top:0}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__buttons{display:flex;gap:1rem;flex-wrap:wrap;padding-top:0}}}@supports not (container-type: inline-size){@media screen and (min-width: 64rem){.pkt-header-menu__buttons .pkt-btn__text{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 64rem){.pkt-header-menu__buttons .pkt-btn__text{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem}}}.pkt-header-menu__buttons--mobile{padding:0 1rem;display:flex}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__buttons--mobile{display:none}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__buttons--mobile{display:none}}}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__sections{background-color:var(--pkt-color-surface-strong-gray)}[data-mode=dark] .pkt-header-menu__sections{background-color:var(--pkt-color-background-default)}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__sections{background-color:var(--pkt-color-surface-strong-gray)}[data-mode=dark] .pkt-header-menu__sections{background-color:var(--pkt-color-background-default)}}}.pkt-header-menu__sections-inner{max-width:75rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__sections-inner{padding:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__sections-inner{padding:3.25rem}}}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__sections-inner{display:grid;grid-template-columns:repeat(4, 1fr);gap:2rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__sections-inner{display:grid;grid-template-columns:repeat(4, 1fr);gap:2rem}}}.pkt-header-menu__section .pkt-accordion-item__title{letter-spacing:-0.2px;font-weight:500;font-size:1.125rem;line-height:1.75rem;padding:.5rem 1rem}.pkt-header-menu__section-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__section-list{row-gap:1rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__section-list{row-gap:1rem}}}.pkt-header-menu__section-link{display:block;letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem;color:var(--pkt-color-text-body-default);text-decoration:underline;text-underline-position:from-font;line-height:1.5}@supports not (container-type: inline-size){@media screen and (min-width: 64rem){.pkt-header-menu__section-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 64rem){.pkt-header-menu__section-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}.pkt-header-menu__section-link:hover,.pkt-header-menu__section-link:focus-visible{text-decoration:underline}.pkt-header-menu__service{list-style:none}.pkt-header-menu__service-link{display:flex;align-items:center;gap:.75rem;color:var(--pkt-color-text-body-default);text-decoration:none;letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem}@supports not (container-type: inline-size){@media screen and (min-width: 64rem){.pkt-header-menu__service-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 64rem){.pkt-header-menu__service-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}.pkt-header-menu__service-link:hover .pkt-header-menu__service-text,.pkt-header-menu__service-link:focus-visible .pkt-header-menu__service-text{text-decoration:underline;text-underline-position:from-font}.pkt-header-menu__service-icon{flex:0 0 auto;--fg-color: var(--pkt-color-text-body-default);width:1.5rem;height:1.5rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__service-icon{width:2rem;height:2rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__service-icon{width:2rem;height:2rem}}}.pkt-header-menu__service-icon svg{width:100%;height:100%}.pkt-header-menu__service-text{min-width:0}.pkt-header-menu__footer{max-width:75rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__footer{padding:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__footer{padding:3.25rem}}}.pkt-header-menu__footer{padding:1.5rem 1rem 3rem;display:flex;flex-direction:column;gap:1.5rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__footer{flex-direction:row;justify-content:space-between;align-items:center;padding:2rem 3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__footer{flex-direction:row;justify-content:space-between;align-items:center;padding:2rem 3.25rem}}}.pkt-header-menu__footer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__footer-list{flex-direction:row;gap:0rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social){line-height:1}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*{border-right:1px solid currentColor;padding:0 2rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:first-child{padding-left:0}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:last-child{border-right:none;padding-right:0}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__footer-list{flex-direction:row;gap:0rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social){line-height:1}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*{border-right:1px solid currentColor;padding:0 2rem}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:first-child{padding-left:0}.pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social)>*:last-child{border-right:none;padding-right:0}}}.pkt-header-menu__footer-list--social{flex-direction:row;gap:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__footer-list--social{gap:2rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__footer-list--social{gap:2rem}}}.pkt-header-menu__footer-link{letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem;color:var(--pkt-color-text-body-default);text-decoration:none}@supports not (container-type: inline-size){@media screen and (min-width: 64rem){.pkt-header-menu__footer-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 64rem){.pkt-header-menu__footer-link{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}}}.pkt-header-menu__footer-link:hover,.pkt-header-menu__footer-link:focus-visible{text-decoration:underline;text-underline-position:from-font}.pkt-header-menu__social-link{--fg-color: var(--pkt-color-text-body-default);color:var(--pkt-color-text-body-default);display:inline-flex;align-items:center}.pkt-header-menu__social-link svg{width:2rem;height:2rem}.pkt-header-menu__loading,.pkt-header-menu__error{max-width:75rem;margin:0 auto;padding-top:2rem;padding-bottom:1rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__loading,.pkt-header-menu__error{padding:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__loading,.pkt-header-menu__error{padding:3.25rem}}}.pkt-header-menu__loading,.pkt-header-menu__error{text-align:center;color:var(--pkt-color-text-body-default);padding-bottom:3rem}@supports not (container-type: inline-size){@media screen and (min-width: 48rem){.pkt-header-menu__loading,.pkt-header-menu__error{padding-bottom:3.25rem}}}@supports(container-type: inline-size){@container pkt-header-menu (min-width: 48rem){.pkt-header-menu__loading,.pkt-header-menu__error{padding-bottom:3.25rem}}}