src/app/legacy/containers/CpsOnwardJourney/__snapshots__/index.test.jsx.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CpsOnwardJourney Creates multiple promos with minimal props 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<ul>
<li
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</li>
<li
dir="ltr"
>
<a
href="/mundo/foo1"
>
Foo in the news 1
</a>
</li>
<li
dir="ltr"
>
<a
href="/mundo/foo2"
>
Foo in the news 2
</a>
</li>
</ul>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney Creates single promo with minimal props 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7"
>
<div
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</div>
</div>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney renders section label with element as strong 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
.emotion-7 {
position: relative;
z-index: 0;
color: #141414;
margin-top: 2rem;
margin-top: 0;
margin: 0;
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 1.5rem;
}
}
@media (min-width: 63rem) {
.emotion-7 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
padding: 1rem 0;
}
}
.emotion-9 {
margin: 0;
padding: 0;
}
.emotion-11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.emotion-13 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
min-height: 2.75rem;
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
@media (min-width: 37.5rem) {
.emotion-13 {
-webkit-align-items: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
}
.emotion-15 {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
background-color: #FDFDFD;
margin: 1rem 0;
padding-right: 0.5rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-15 {
font-size: 1.25rem;
line-height: 1.625rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
font-size: 1.5rem;
line-height: 2rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
margin: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
padding-right: 1rem;
}
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7 emotion-8"
>
<strong
class="emotion-9 emotion-10"
>
<span
class="emotion-11 emotion-12"
>
<span
class="emotion-13 emotion-14"
>
<span
class="emotion-15 emotion-16"
dir="ltr"
id="heading-label"
>
The Foo Section
</span>
</span>
</span>
</strong>
</div>
<div
class="emotion-17 emotion-18"
>
<div
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</div>
</div>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney renders section label with with alternative background colour 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
.emotion-7 {
position: relative;
z-index: 0;
color: #141414;
margin-top: 2rem;
margin-top: 0;
margin: 0;
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 1.5rem;
}
}
@media (min-width: 63rem) {
.emotion-7 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
padding: 1rem 0;
}
}
.emotion-9 {
margin: 0;
padding: 0;
}
.emotion-11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.emotion-13 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
min-height: 2.75rem;
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
@media (min-width: 37.5rem) {
.emotion-13 {
-webkit-align-items: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
}
.emotion-15 {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
background-color: #222222;
margin: 1rem 0;
padding-right: 0.5rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-15 {
font-size: 1.25rem;
line-height: 1.625rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
font-size: 1.5rem;
line-height: 2rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
margin: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
padding-right: 1rem;
}
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7 emotion-8"
>
<h2
class="emotion-9 emotion-10"
>
<span
class="emotion-11 emotion-12"
>
<span
class="emotion-13 emotion-14"
>
<span
class="emotion-15 emotion-16"
dir="ltr"
id="heading-label"
>
The Foo Section
</span>
</span>
</span>
</h2>
</div>
<div
class="emotion-17 emotion-18"
>
<div
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</div>
</div>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney renders section label with without bar under section label 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
.emotion-7 {
position: relative;
z-index: 0;
color: #141414;
margin-top: 2rem;
margin-top: 0;
margin: 0;
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 1.5rem;
}
}
@media (min-width: 63rem) {
.emotion-7 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
margin-top: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-7 {
padding: 1rem 0;
}
}
.emotion-9 {
margin: 0;
padding: 0;
}
.emotion-11 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.emotion-13 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
min-height: 2.75rem;
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
@media (min-width: 37.5rem) {
.emotion-13 {
-webkit-align-items: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
}
.emotion-15 {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
background-color: #FDFDFD;
margin: 1rem 0;
padding-right: 0.5rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-15 {
font-size: 1.25rem;
line-height: 1.625rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
font-size: 1.5rem;
line-height: 2rem;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
margin: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-15 {
padding-right: 1rem;
}
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7 emotion-8"
>
<h2
class="emotion-9 emotion-10"
>
<span
class="emotion-11 emotion-12"
>
<span
class="emotion-13 emotion-14"
>
<span
class="emotion-15 emotion-16"
dir="ltr"
id="heading-label"
>
The Foo Section
</span>
</span>
</span>
</h2>
</div>
<div
class="emotion-17 emotion-18"
>
<div
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</div>
</div>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney renders skip link with multiple promos 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
.emotion-6 {
position: relative;
}
.emotion-8 {
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
font-size: 0.875rem;
line-height: 1rem;
background-color: #FFFFFF;
border: 0.125rem solid #222222;
color: #222222;
display: block;
left: 0;
line-height: 1;
padding: 0.75rem;
position: absolute;
-webkit-text-decoration: none;
text-decoration: none;
top: 0;
z-index: 10;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-8 {
line-height: 1.125rem;
}
}
@media (min-width: 37.5rem) {
.emotion-8 {
font-size: 0.8125rem;
}
}
.emotion-8:not(:focus):not(:active) {
-webkit-clip-path: inset(100%);
clip-path: inset(100%);
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute;
width: 1px;
margin: 0;
}
.emotion-11 {
position: relative;
z-index: 0;
color: #141414;
margin-top: 2rem;
margin-top: 0;
margin: 0;
}
@media (min-width: 37.5rem) {
.emotion-11 {
margin-top: 1.5rem;
}
}
@media (min-width: 63rem) {
.emotion-11 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-11 {
margin-top: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-11 {
padding: 1rem 0;
}
}
.emotion-13 {
margin: 0;
padding: 0;
}
.emotion-15 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.emotion-17 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
min-height: 2.75rem;
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
@media (min-width: 37.5rem) {
.emotion-17 {
-webkit-align-items: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
}
.emotion-19 {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
background-color: #FDFDFD;
margin: 1rem 0;
padding-right: 0.5rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-19 {
font-size: 1.25rem;
line-height: 1.625rem;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
font-size: 1.5rem;
line-height: 2rem;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
margin: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
padding-right: 1rem;
}
}
.emotion-21 {
-webkit-clip-path: inset(100%);
clip-path: inset(100%);
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute;
width: 1px;
margin: 0;
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7"
>
<a
class="emotion-8 emotion-9"
href="#end-of-the-foo-section"
>
skip the foo section
</a>
<div
class="emotion-10 emotion-11 emotion-12"
>
<h2
class="emotion-13 emotion-14"
>
<span
class="emotion-15 emotion-16"
>
<span
class="emotion-17 emotion-18"
>
<span
class="emotion-19 emotion-20"
dir="ltr"
id="heading-label"
>
The Foo Section
</span>
</span>
</span>
</h2>
</div>
<ul>
<li
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</li>
<li
dir="ltr"
>
<a
href="/mundo/foo1"
>
Foo in the news 1
</a>
</li>
<li
dir="ltr"
>
<a
href="/mundo/foo2"
>
Foo in the news 2
</a>
</li>
</ul>
<p
class="emotion-21 emotion-22"
id="end-of-the-foo-section"
tabindex="-1"
>
end of the foo section
</p>
</div>
</div>
</section>
</div>
`;
exports[`CpsOnwardJourney renders skip link with single promo 1`] = `
.emotion-1 {
width: 100%;
}
@supports (display: grid) {
.emotion-1 {
display: grid;
position: initial;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 0.5rem;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-1 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-gap: 1rem;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
grid-template-columns: repeat(8, 1fr);
grid-column-end: span 8;
grid-column-gap: 1rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
grid-template-columns: repeat(20, 1fr);
grid-column-end: span 20;
grid-column-gap: 1rem;
}
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-1 {
margin: 0 auto;
max-width: 63rem;
}
}
@media (min-width: 80rem) {
.emotion-1 {
margin: 0 auto;
max-width: 80rem;
}
}
.emotion-4 {
margin-bottom: 1rem;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
padding: 0 0.5rem;
margin-left: 0%;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
padding: 0 1rem;
margin-left: 0%;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
margin-left: 16.666666666666668%;
}
}
@media (min-width: 80rem) {
.emotion-4 {
margin-left: 33.333333333333336%;
}
}
@supports (display: grid) {
.emotion-4 {
display: block;
width: initial;
margin: 0;
}
@media (max-width: 14.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 15rem) and (max-width: 24.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 0.5rem;
grid-column-start: 1;
}
}
@media (min-width: 25rem) and (max-width: 37.4375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 37.5rem) and (max-width: 62.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
padding: 0 1rem;
grid-column-start: 1;
}
}
@media (min-width: 63rem) and (max-width: 79.9375rem) {
.emotion-4 {
grid-template-columns: repeat(6, 1fr);
grid-column-end: span 6;
grid-column-start: 2;
}
}
@media (min-width: 80rem) {
.emotion-4 {
grid-template-columns: repeat(12, 1fr);
grid-column-end: span 12;
grid-column-start: 5;
}
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-4 {
padding-bottom: 1.5rem;
margin-bottom: 2rem;
}
}
@media (max-width: 37.5rem) {
.emotion-4 {
padding-bottom: 2rem;
margin-bottom: 1rem;
}
}
.emotion-6 {
position: relative;
}
.emotion-8 {
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
font-size: 0.875rem;
line-height: 1rem;
background-color: #FFFFFF;
border: 0.125rem solid #222222;
color: #222222;
display: block;
left: 0;
line-height: 1;
padding: 0.75rem;
position: absolute;
-webkit-text-decoration: none;
text-decoration: none;
top: 0;
z-index: 10;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-8 {
line-height: 1.125rem;
}
}
@media (min-width: 37.5rem) {
.emotion-8 {
font-size: 0.8125rem;
}
}
.emotion-8:not(:focus):not(:active) {
-webkit-clip-path: inset(100%);
clip-path: inset(100%);
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute;
width: 1px;
margin: 0;
}
.emotion-11 {
position: relative;
z-index: 0;
color: #141414;
margin-top: 2rem;
margin-top: 0;
margin: 0;
}
@media (min-width: 37.5rem) {
.emotion-11 {
margin-top: 1.5rem;
}
}
@media (min-width: 63rem) {
.emotion-11 {
margin-bottom: 1.5rem;
}
}
@media (min-width: 37.5rem) {
.emotion-11 {
margin-top: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-11 {
padding: 1rem 0;
}
}
.emotion-13 {
margin: 0;
padding: 0;
}
.emotion-15 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.emotion-17 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex-flow: row nowrap;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
min-height: 2.75rem;
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
@media (min-width: 37.5rem) {
.emotion-17 {
-webkit-align-items: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
}
.emotion-19 {
font-size: 1.125rem;
line-height: 1.5rem;
font-family: ReithSans,Helvetica,Arial,sans-serif;
font-weight: 700;
font-style: normal;
background-color: #FDFDFD;
margin: 1rem 0;
padding-right: 0.5rem;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
@media (min-width: 20rem) and (max-width: 37.4375rem) {
.emotion-19 {
font-size: 1.25rem;
line-height: 1.625rem;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
font-size: 1.5rem;
line-height: 2rem;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
margin: 0;
}
}
@media (min-width: 37.5rem) {
.emotion-19 {
padding-right: 1rem;
}
}
.emotion-23 {
-webkit-clip-path: inset(100%);
clip-path: inset(100%);
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
position: absolute;
width: 1px;
margin: 0;
}
<div>
<section
aria-labelledby="heading-label"
class="emotion-0 emotion-1 emotion-2"
data-e2e="heading-label"
dir="ltr"
role="region"
>
<div
class="emotion-3 emotion-4 emotion-2"
dir="ltr"
>
<div
class="emotion-6 emotion-7"
>
<a
class="emotion-8 emotion-9"
href="#end-of-the-foo-section"
>
skip the foo section
</a>
<div
class="emotion-10 emotion-11 emotion-12"
>
<h2
class="emotion-13 emotion-14"
>
<span
class="emotion-15 emotion-16"
>
<span
class="emotion-17 emotion-18"
>
<span
class="emotion-19 emotion-20"
dir="ltr"
id="heading-label"
>
The Foo Section
</span>
</span>
</span>
</h2>
</div>
<div
class="emotion-21 emotion-22"
>
<div
dir="ltr"
>
<a
href="/mundo/foo0"
>
Foo in the news 0
</a>
</div>
</div>
<p
class="emotion-23 emotion-24"
id="end-of-the-foo-section"
tabindex="-1"
>
end of the foo section
</p>
</div>
</div>
</section>
</div>
`;