diff --git a/src/app/components/Navigation/__snapshots__/index.test.tsx.snap b/src/app/components/Navigation/__snapshots__/index.test.tsx.snap index 974a9a34f0e..67872fa41c2 100644 --- a/src/app/components/Navigation/__snapshots__/index.test.tsx.snap +++ b/src/app/components/Navigation/__snapshots__/index.test.tsx.snap @@ -1,5 +1,1843 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing +exports[`Navigation Page-type navigation attribution announces Home when on a HOME_PAGE type at the home URL 1`] = ` +.emotion-0 { + position: relative; + width: 100%; + margin: 0 auto; + border-bottom: 0.0625rem solid #B80000; + opacity: 0.7; +} + +.emotion-1 { + position: relative; + background-color: #FFFFFF; +} + +@media (min-width: 62.9375rem) { + .emotion-1::after { + content: ''; + position: absolute; + bottom: 0; + right: 0; + left: 0; + border-bottom: 0.0625rem solid #E6E8EA; + } +} + +.emotion-1 .emotion-13::after { + left: 0; +} + +.emotion-3 { + position: relative; + max-width: 63.4rem; + margin: 0 auto; + background-color: #FFFFFF; +} + +@media (min-width: 37.5rem) { + .emotion-3 { + margin: 0 0.8rem; + } +} + +@media (min-width: 66rem) { + .emotion-3 { + margin: 0 auto; + } +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; +} + +.emotion-6 { + position: relative; + width: 100%; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + position: relative; + z-index: 0; + background-color: #B80000; +} + +.emotion-7::before { + content: ''; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + width: 100vw; + left: 50%; + -webkit-transform: translateX(-50%); + -moz-transform: translateX(-50%); + -ms-transform: translateX(-50%); + transform: translateX(-50%); + background: #B80000; + pointer-events: none; +} + +@media (max-width: 37.4375rem) { + .emotion-8 { + white-space: nowrap; + overflow-x: scroll; + scroll-behavior: auto; + -webkit-overflow-scrolling: touch; + scroll-padding-inline-end: 3rem; + scrollbar-width: none; + -ms-overflow-style: none; + } + + @media (min-width: 25rem) { + .emotion-8 { + scroll-padding-inline-end: 6rem; + } + } + + .emotion-8::-webkit-scrollbar { + display: none; + } + + .emotion-8:focus-visible { + outline: none; + } + + .emotion-8:focus-visible::after { + outline: 0.1875rem solid #000000; + content: ''; + position: absolute; + width: 100%; + height: 100%; + } + + .emotion-8:after { + content: ' '; + height: 100%; + width: 3rem; + position: absolute; + right: 0; + bottom: 0; + z-index: 3; + overflow: hidden; + pointer-events: none; + background: linear-gradient( + to right, + rgba(255, 255, 255, 0) 0%, + rgba(255, 255, 255, 1) 100% + ); + } + + @media (min-width: 25rem) { + .emotion-8:after { + width: 6rem; + } + } +} + +.emotion-8 li { + -webkit-margin-end: 0; + margin-inline-end: 0; +} + +.emotion-8 li a { + color: #FFFFFF; + padding: 0 0.5rem; + height: 2.75rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-8 li a:hover::after { + border-bottom-color: #FFFFFF; +} + +.emotion-8 li a:focus-visible::after { + box-shadow: inset 0 0 0 0.1875rem #FFFFFF; + outline: 0.125rem solid #000000; + outline-offset: -0.125rem; +} + +.emotion-8 li a:focus::after { + box-shadow: inset 0 0 0 0.1875rem #FFFFFF; + outline: 0.125rem solid #000000; + outline-offset: -0.125rem; +} + +.emotion-8 li a[data-active="true"] span::after { + border-bottom-color: #FFFFFF; +} + +.emotion-8 li:before { + content: ""; + position: absolute; + inset-inline-end: 0; + top: 50%; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + height: 60%; + width: 0.0625rem; + background: #FFFFFF; + display: block; + opacity: 0.3; +} + +.emotion-8 li:last-child:before { + display: none; +} + +.emotion-8:after { + background: none; +} + +.emotion-10 { + list-style-type: none; + padding: 0; + margin: 0; + position: relative; +} + +@media (min-width: 37.5rem) { + .emotion-10 { + overflow: hidden; + } +} + +.emotion-12 { + display: inline-block; + position: relative; + z-index: 2; + -webkit-margin-end: 0.75rem; + margin-inline-end: 0.75rem; +} + +@media (max-width: 37.4375rem) { + .emotion-12:last-child { + margin-right: 3rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-12::after { + content: ''; + position: absolute; + bottom: -1px; + width: 80rem; + border-bottom: 0.0625rem solid #E6E8EA; + z-index: -1; + } +} + +.emotion-14 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + cursor: pointer; + -webkit-text-decoration: none; + text-decoration: none; + display: inline-block; + padding: 0.75rem 0.25rem; + outline: none; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-14 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-14 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (max-width: 37.4375rem) { + .emotion-14 { + padding: 0.75rem 0.5rem; + } +} + +.emotion-14:hover::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + border-bottom: 0.3125rem solid #B80000; +} + +.emotion-14:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-14:focus-visible::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-16::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; +} + +.emotion-18 { + -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; + white-space: nowrap; +} + +.emotion-21 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + cursor: pointer; + -webkit-text-decoration: none; + text-decoration: none; + display: inline-block; + padding: 0.75rem 0.25rem; + outline: none; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-21 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-21 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (max-width: 37.4375rem) { + .emotion-21 { + padding: 0.75rem 0.5rem; + } +} + +.emotion-21:hover::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; +} + +.emotion-21:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-21:focus-visible::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-27 { + position: relative; + padding: 0; + margin: 0; + background-color: transparent; + border: 0; + float: left; + height: 2.75rem; + width: 2.75rem; + background-color: #B80000; + color: #FFFFFF; + overflow: hidden; + width: 2.75rem; + height: 2.75rem; +} + +.emotion-27:hover, +.emotion-27:focus { + cursor: pointer; + box-shadow: inset 0 0 0 0.25rem #FFFFFF; +} + +.emotion-27:hover::after, +.emotion-27:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + border: 0.25rem solid #000000; +} + +@media (min-width: 37.5rem) { + .emotion-27 { + display: none; + visibility: hidden; + } +} + +@media (min-width: 20rem) { + .emotion-27 { + height: 2.75rem; + width: 2.75rem; + } +} + +.emotion-27 svg { + vertical-align: middle; +} + +@media (min-width: 20rem) { + .emotion-27 { + width: 2.75rem; + height: 2.75rem; + } +} + +.emotion-27 svg { + vertical-align: middle; + fill: #FFFFFF; +} + +.emotion-29 { + color: #000000; + fill: currentColor; +} + +@media screen and (forced-colors: active) { + .emotion-29 { + fill: linkText; + } +} + +.emotion-32 { + background-color: #FFFFFF; + clear: both; + overflow: hidden; + height: 0; + -webkit-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; + transition-timing-function: cubic-bezier(0, 0, 0.58, 1); + visibility: hidden; + position: absolute; + top: 100%; + left: 0; + width: 100%; + z-index: 99999; + border-bottom: 0.1875rem solid #B80000; +} + +@media (min-width: 37.5rem) { + .emotion-32 { + display: none; + visibility: hidden; + } +} + +@media (prefers-reduced-motion: reduce) { + .emotion-32 { + -webkit-transition: none; + transition: none; + } +} + +.emotion-32 ul { + padding: 0; + border: none; +} + +.emotion-32 ul li { + padding: 0; +} + +.emotion-32 ul li:last-child { + padding-bottom: 0; +} + +.emotion-32 a { + display: block; + position: relative; + padding-inline: 0.5rem; +} + +.emotion-32 a:hover { + background-color: #E6E8EA; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-32 a:before { + content: ""; + position: absolute; + top: 0; + inset-inline-start: 0; + height: 100%; + width: 0.25rem; + background: #B80000; + display: block; + opacity: 0; +} + +.emotion-32 a:hover::before { + opacity: 1; +} + +.emotion-32 a:focus-visible { + outline-offset: -0.1875rem; +} + +.emotion-34 { + list-style-type: none; + margin: 0; + padding: 0 0.5rem; + border-bottom: 0.0625rem solid #E6E8EA; +} + +.emotion-36 { + padding: 0.75rem 0; + border-bottom: 0.0625rem solid #E6E8EA; +} + +.emotion-36:last-child { + padding-bottom: 0.25rem; + border: 0; +} + +.emotion-38 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0.75rem 0; + display: inline-block; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-38 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-38 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +.emotion-38:hover, +.emotion-38:focus { + -webkit-text-decoration: underline; + text-decoration: underline; + text-decoration-color: #B80000; +} + +.emotion-40 { + width: 100%; + position: relative; + z-index: 1; +} + +@media (max-width: 37.4375rem) { + .emotion-41 { + white-space: nowrap; + overflow-x: scroll; + scroll-behavior: auto; + -webkit-overflow-scrolling: touch; + scroll-padding-inline-end: 3rem; + scrollbar-width: none; + -ms-overflow-style: none; + } + + @media (min-width: 25rem) { + .emotion-41 { + scroll-padding-inline-end: 6rem; + } + } + + .emotion-41::-webkit-scrollbar { + display: none; + } + + .emotion-41:focus-visible { + outline: none; + } + + .emotion-41:focus-visible::after { + outline: 0.1875rem solid #000000; + content: ''; + position: absolute; + width: 100%; + height: 100%; + } + + .emotion-41:after { + content: ' '; + height: 100%; + width: 3rem; + position: absolute; + right: 0; + bottom: 0; + z-index: 3; + overflow: hidden; + pointer-events: none; + background: linear-gradient( + to right, + rgba(255, 255, 255, 0) 0%, + rgba(255, 255, 255, 1) 100% + ); + } + + @media (min-width: 25rem) { + .emotion-41:after { + width: 6rem; + } + } +} + +.emotion-41 li { + -webkit-margin-end: 0; + margin-inline-end: 0; +} + +.emotion-41 li a { + padding: 0 0.5rem; + height: 2.75rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-41 li:before { + content: ""; + position: absolute; + inset-inline-end: 0; + top: 50%; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + height: 60%; + width: 0.0625rem; + background: #B0B2B4; + display: block; + opacity: 1; +} + +.emotion-41 li:last-child:before { + display: none; +} + +.emotion-45 { + position: absolute; + width: 100%; + inset-inline-start: 0; +} + +@media (min-width: 1041px) { + .emotion-45 { + width: 100%; + } +} + +.emotion-45::after { + content: ''; + position: absolute; + inset-block-end: 0; + width: 100%; + border-bottom: 0.0625rem solid #E6E8EA; +} + +
+
+ +
+`; + +exports[`Navigation Page-type navigation attribution highlights dropdown item when URL matches a nested topic subItem on Home 1`] = ` +.emotion-0 { + position: relative; + width: 100%; + margin: 0 auto; + border-bottom: 0.0625rem solid #B80000; + opacity: 0.7; +} + +.emotion-1 { + position: relative; + background-color: #FFFFFF; +} + +@media (min-width: 62.9375rem) { + .emotion-1::after { + content: ''; + position: absolute; + bottom: 0; + right: 0; + left: 0; + border-bottom: 0.0625rem solid #E6E8EA; + } +} + +.emotion-1 .emotion-13::after { + left: 0; +} + +.emotion-3 { + position: relative; + max-width: 63.4rem; + margin: 0 auto; + background-color: #FFFFFF; +} + +@media (min-width: 37.5rem) { + .emotion-3 { + margin: 0 0.8rem; + } +} + +@media (min-width: 66rem) { + .emotion-3 { + margin: 0 auto; + } +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; +} + +.emotion-6 { + position: relative; + width: 100%; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + position: relative; + z-index: 0; + background-color: #B80000; +} + +.emotion-7::before { + content: ''; + position: absolute; + z-index: -1; + top: 0; + bottom: 0; + width: 100vw; + left: 50%; + -webkit-transform: translateX(-50%); + -moz-transform: translateX(-50%); + -ms-transform: translateX(-50%); + transform: translateX(-50%); + background: #B80000; + pointer-events: none; +} + +@media (max-width: 37.4375rem) { + .emotion-8 { + white-space: nowrap; + overflow-x: scroll; + scroll-behavior: auto; + -webkit-overflow-scrolling: touch; + scroll-padding-inline-end: 3rem; + scrollbar-width: none; + -ms-overflow-style: none; + } + + @media (min-width: 25rem) { + .emotion-8 { + scroll-padding-inline-end: 6rem; + } + } + + .emotion-8::-webkit-scrollbar { + display: none; + } + + .emotion-8:focus-visible { + outline: none; + } + + .emotion-8:focus-visible::after { + outline: 0.1875rem solid #000000; + content: ''; + position: absolute; + width: 100%; + height: 100%; + } + + .emotion-8:after { + content: ' '; + height: 100%; + width: 3rem; + position: absolute; + right: 0; + bottom: 0; + z-index: 3; + overflow: hidden; + pointer-events: none; + background: linear-gradient( + to right, + rgba(255, 255, 255, 0) 0%, + rgba(255, 255, 255, 1) 100% + ); + } + + @media (min-width: 25rem) { + .emotion-8:after { + width: 6rem; + } + } +} + +.emotion-8 li { + -webkit-margin-end: 0; + margin-inline-end: 0; +} + +.emotion-8 li a { + color: #FFFFFF; + padding: 0 0.5rem; + height: 2.75rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-8 li a:hover::after { + border-bottom-color: #FFFFFF; +} + +.emotion-8 li a:focus-visible::after { + box-shadow: inset 0 0 0 0.1875rem #FFFFFF; + outline: 0.125rem solid #000000; + outline-offset: -0.125rem; +} + +.emotion-8 li a:focus::after { + box-shadow: inset 0 0 0 0.1875rem #FFFFFF; + outline: 0.125rem solid #000000; + outline-offset: -0.125rem; +} + +.emotion-8 li a[data-active="true"] span::after { + border-bottom-color: #FFFFFF; +} + +.emotion-8 li:before { + content: ""; + position: absolute; + inset-inline-end: 0; + top: 50%; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + height: 60%; + width: 0.0625rem; + background: #FFFFFF; + display: block; + opacity: 0.3; +} + +.emotion-8 li:last-child:before { + display: none; +} + +.emotion-8:after { + background: none; +} + +.emotion-10 { + list-style-type: none; + padding: 0; + margin: 0; + position: relative; +} + +@media (min-width: 37.5rem) { + .emotion-10 { + overflow: hidden; + } +} + +.emotion-12 { + display: inline-block; + position: relative; + z-index: 2; + -webkit-margin-end: 0.75rem; + margin-inline-end: 0.75rem; +} + +@media (max-width: 37.4375rem) { + .emotion-12:last-child { + margin-right: 3rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-12::after { + content: ''; + position: absolute; + bottom: -1px; + width: 80rem; + border-bottom: 0.0625rem solid #E6E8EA; + z-index: -1; + } +} + +.emotion-14 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + cursor: pointer; + -webkit-text-decoration: none; + text-decoration: none; + display: inline-block; + padding: 0.75rem 0.25rem; + outline: none; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-14 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-14 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (max-width: 37.4375rem) { + .emotion-14 { + padding: 0.75rem 0.5rem; + } +} + +.emotion-14:hover::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + border-bottom: 0.3125rem solid #B80000; +} + +.emotion-14:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-14:focus-visible::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-16::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; +} + +.emotion-20 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + cursor: pointer; + -webkit-text-decoration: none; + text-decoration: none; + display: inline-block; + padding: 0.75rem 0.25rem; + outline: none; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-20 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-20 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (max-width: 37.4375rem) { + .emotion-20 { + padding: 0.75rem 0.5rem; + } +} + +.emotion-20:hover::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; +} + +.emotion-20:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-20:focus-visible::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + border-bottom: 0.25rem solid #B80000; + top: 0; + border: 0.1875rem solid #000000; +} + +.emotion-26 { + position: relative; + padding: 0; + margin: 0; + background-color: transparent; + border: 0; + float: left; + height: 2.75rem; + width: 2.75rem; + background-color: #B80000; + color: #FFFFFF; + overflow: hidden; + width: 2.75rem; + height: 2.75rem; +} + +.emotion-26:hover, +.emotion-26:focus { + cursor: pointer; + box-shadow: inset 0 0 0 0.25rem #FFFFFF; +} + +.emotion-26:hover::after, +.emotion-26:focus::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + top: 0; + border: 0.25rem solid #000000; +} + +@media (min-width: 37.5rem) { + .emotion-26 { + display: none; + visibility: hidden; + } +} + +@media (min-width: 20rem) { + .emotion-26 { + height: 2.75rem; + width: 2.75rem; + } +} + +.emotion-26 svg { + vertical-align: middle; +} + +@media (min-width: 20rem) { + .emotion-26 { + width: 2.75rem; + height: 2.75rem; + } +} + +.emotion-26 svg { + vertical-align: middle; + fill: #FFFFFF; +} + +.emotion-28 { + color: #000000; + fill: currentColor; +} + +@media screen and (forced-colors: active) { + .emotion-28 { + fill: linkText; + } +} + +.emotion-30 { + -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; + white-space: nowrap; +} + +.emotion-31 { + background-color: #FFFFFF; + clear: both; + overflow: hidden; + height: 0; + -webkit-transition: all 0.2s ease-out; + transition: all 0.2s ease-out; + transition-timing-function: cubic-bezier(0, 0, 0.58, 1); + visibility: hidden; + position: absolute; + top: 100%; + left: 0; + width: 100%; + z-index: 99999; + border-bottom: 0.1875rem solid #B80000; +} + +@media (min-width: 37.5rem) { + .emotion-31 { + display: none; + visibility: hidden; + } +} + +@media (prefers-reduced-motion: reduce) { + .emotion-31 { + -webkit-transition: none; + transition: none; + } +} + +.emotion-31 ul { + padding: 0; + border: none; +} + +.emotion-31 ul li { + padding: 0; +} + +.emotion-31 ul li:last-child { + padding-bottom: 0; +} + +.emotion-31 a { + display: block; + position: relative; + padding-inline: 0.5rem; +} + +.emotion-31 a:hover { + background-color: #E6E8EA; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-31 a:before { + content: ""; + position: absolute; + top: 0; + inset-inline-start: 0; + height: 100%; + width: 0.25rem; + background: #B80000; + display: block; + opacity: 0; +} + +.emotion-31 a:hover::before { + opacity: 1; +} + +.emotion-31 a:focus-visible { + outline-offset: -0.1875rem; +} + +.emotion-33 { + list-style-type: none; + margin: 0; + padding: 0 0.5rem; + border-bottom: 0.0625rem solid #E6E8EA; +} + +.emotion-35 { + padding: 0.75rem 0; + border-bottom: 0.0625rem solid #E6E8EA; +} + +.emotion-35:last-child { + padding-bottom: 0.25rem; + border: 0; +} + +.emotion-37 { + font-size: 0.9375rem; + line-height: 1.25rem; + font-family: ReithSans,Helvetica,Arial,sans-serif; + font-style: normal; + font-weight: 400; + color: #141414; + -webkit-text-decoration: none; + text-decoration: none; + padding: 0.75rem 0; + display: inline-block; +} + +@media (min-width: 20rem) and (max-width: 37.4375rem) { + .emotion-37 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +@media (min-width: 37.5rem) { + .emotion-37 { + font-size: 1rem; + line-height: 1.25rem; + } +} + +.emotion-37:hover, +.emotion-37:focus { + -webkit-text-decoration: underline; + text-decoration: underline; + text-decoration-color: #B80000; +} + +.emotion-43 { + width: 100%; + position: relative; + z-index: 1; +} + +@media (max-width: 37.4375rem) { + .emotion-44 { + white-space: nowrap; + overflow-x: scroll; + scroll-behavior: auto; + -webkit-overflow-scrolling: touch; + scroll-padding-inline-end: 3rem; + scrollbar-width: none; + -ms-overflow-style: none; + } + + @media (min-width: 25rem) { + .emotion-44 { + scroll-padding-inline-end: 6rem; + } + } + + .emotion-44::-webkit-scrollbar { + display: none; + } + + .emotion-44:focus-visible { + outline: none; + } + + .emotion-44:focus-visible::after { + outline: 0.1875rem solid #000000; + content: ''; + position: absolute; + width: 100%; + height: 100%; + } + + .emotion-44:after { + content: ' '; + height: 100%; + width: 3rem; + position: absolute; + right: 0; + bottom: 0; + z-index: 3; + overflow: hidden; + pointer-events: none; + background: linear-gradient( + to right, + rgba(255, 255, 255, 0) 0%, + rgba(255, 255, 255, 1) 100% + ); + } + + @media (min-width: 25rem) { + .emotion-44:after { + width: 6rem; + } + } +} + +.emotion-44 li { + -webkit-margin-end: 0; + margin-inline-end: 0; +} + +.emotion-44 li a { + padding: 0 0.5rem; + height: 2.75rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-44 li:before { + content: ""; + position: absolute; + inset-inline-end: 0; + top: 50%; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + transform: translateY(-50%); + height: 60%; + width: 0.0625rem; + background: #B0B2B4; + display: block; + opacity: 1; +} + +.emotion-44 li:last-child:before { + display: none; +} + +.emotion-55 { + position: absolute; + width: 100%; + inset-inline-start: 0; +} + +@media (min-width: 1041px) { + .emotion-55 { + width: 100%; + } +} + +.emotion-55::after { + content: ''; + position: absolute; + inset-block-end: 0; + width: 100%; + border-bottom: 0.0625rem solid #E6E8EA; +} + +
+
+ +
+`; + exports[`Navigation should correctly render amp navigation 1`] = ` .emotion-0 { position: relative; @@ -764,7 +2602,8 @@ exports[`Navigation should correctly render amp navigation 1`] = ` role="listitem" > - Home + + Home +
  • About @@ -1623,7 +3543,7 @@ exports[`Navigation should correctly render amp navigation on a URL not associat
  • - Home + + Home +
  • About @@ -4232,13 +6235,13 @@ exports[`Navigation should correctly render canonical navigation on a URL not as