/* -------------------------------------------------------- */

/* @group @variables */

:where(p, ul, dl) em:not([class]) {
background-image: var(--emphasis-background-image);
background-size: 100% 120%;
background-position: 0 0;
background-repeat: no-repeat;
}

/* @end @variables */

/* -------------------------------------------------------- */

/* @group @variables */

pre,code {font-family: var(--font-family-pre);}
[class*="a-font-numeric"] {font-family: var(--font-family-numeric);}

/* @end @variables */

/* --------------------------------------------------------*/

/* @group @variables */

figcaption {
margin-top: 0;
margin-bottom: var(--figcaption-margin-bottom);
font-size: var(--figcaption-font-size);
line-height: var(--figcaption-line-height);
color: var(--figcaption-color);
font-weight: var(--figcaption-font-weight);
font-variation-settings: var(--figcaptionfont-variation-settings);
word-break: var(--figcaption-word-break);
text-align: var(--figcaption-text-align);
}

pre,code {font-family: var(--font-family-pre);}
[class*="a-font-numeric"] {font-family: var(--font-family-numeric);}

/* @end @variables */

/* -------------------------------------------------------- */

/* @group @a-emphasis */

strong {
background-image: linear-gradient(transparent var(--emphasis-start-position), var(--emphasis-action-color) 0%);
background-size: 0 120%;
background-position: 0 0;
background-repeat: no-repeat;
font-weight: var(--strong-font-weight);
font-variation-settings: "wght" var(--strong-font-weight);
}

[class*="is-emphasis-effect-slide-in"] {
will-change: background-size;
animation: emphasisMarker var(--emphasis-animation-time) ease;
animation-fill-mode: forwards;
}

/* @end @a-emphasis */

/* line-clamp -------------------------------------------------------- */

/* @group @variables */

:root {
--line-clamp-base: 1.5;
}

[class*="a-line-clamp-2"] {
--line-clamp-line: 2;
}

[class*="a-line-clamp-3"] {
--line-clamp-line: 3;
}

/* @end @variables */

/* @group @a-line-clamp */

[class*="a-line-clamp"] {
position: relative;
/*overflow: hidden;*/
overflow: clip;
display: -webkit-box;
max-height: calc(var(--line-clamp-base) * var(--line-clamp-line));
-webkit-line-clamp: var(--line-clamp-line);
-webkit-box-orient: vertical;
text-overflow: ellipsis;
}

/* @end @a-line-clamp */

/* -------------------------------------------------------- */

/* @group @emphasisMarker */

@keyframes emphasisMarker {
0% {background-size: 0 120%;}
100% {background-size: 100% 120%;}
}

/* @end @emphasisMarker */

/* @group @a-animation-fadein */

[class*="a-loading-effect-cuff-in"] {
-webkit-clip-path: inset(0 100% 0 0);
clip-path: inset(0 100% 0 0);
}

[class*="is-loading-effect-cuff-in"] {
will-change: -webkit-clip-path, clip-path;/* @todo */
animation: cuffIn .75s .25s  cubic-bezier(.6, .5, .5, .75);
animation-fill-mode: forwards;
}

@media print {

[class*="a-loading-effect-cuff-in"] {
opacity: 1;
-webkit-clip-path: inset(0);
clip-path: inset(0);
}

}

/* @end @a-animation-fadein */