.single-holiday__article {
container: article-text / inline-size;
scroll-margin-top: var(--pt-header-offset, 6rem);
}
.article-body {
color: var(--pt-text);
font: 400 var(--pt-font-size-body)/var(--pt-leading-body) var(--pt-font-body);
overflow-wrap: anywhere;
}
.article-body :where(p) {
margin-block: var(--pt-space-3);
text-align: justify;
}
.article-body :where(h1, h2, h3, h4, h5, h6):where(:not(.pt-section-heading, .prazdnik-movable-dates__heading)) {
text-align: start;
font-family: var(--pt-font-heading);
font-weight: 700;
}
.article-body h1:where(:not(.pt-section-heading)) { margin-block: 2.5rem 1rem; font-size: 1.875rem; line-height: 1.2; }
.article-body h2:where(:not(.pt-section-heading)) { margin-block: var(--pt-space-5) var(--pt-space-3); font-size: 1.5rem; line-height: 1.3333; }
.article-body h3:not(.prazdnik-movable-dates__heading) {
margin-block: 1.2rem .8rem;
font-size: 1.25rem;
line-height: 1.4;
}
.article-body:where(:not(.policy-content)) h3:where(:not(.prazdnik-movable-dates__heading)) {
padding-bottom: calc(var(--pt-space-2) - var(--pt-border-width));
border-bottom: var(--pt-border-width) solid var(--pt-border);
}
.article-body :where(h4, h5, h6) {
margin-block: var(--pt-space-4) var(--pt-space-2);
font-size: 1rem;
line-height: 1.5;
}
.article-body :where(p, li, blockquote, sup, cite) a {
color: var(--pt-action);
text-decoration: none;
}
.article-body :where(p, li, blockquote, sup, cite) a:is(:hover, :focus-visible) { text-decoration: underline; }
.article-body :where(ol, ul) {
margin-block: var(--pt-space-4);
padding-inline-start: var(--pt-space-5);
text-align: justify;
}
.article-body li { margin-block: .25rem; } .article-body img:is(.alignleft, .alignright, .aligncenter) { display: block; }
.article-body img.aligncenter {
clear: both;
margin-inline: auto;
}
.article-body img.alignleft {
float: left;
margin-right: var(--pt-space-4);
}
.article-body img.alignright {
float: right;
margin-left: var(--pt-space-4);
} @container article-text (max-width: 36em) {
.article-body :where(p, ul, ol) { text-align: start; }
.article-body img:is(.alignleft, .alignright) { float: none; }
.article-body img.alignleft { margin-right: auto; }
.article-body img.alignright { margin-left: auto; }
}
.article-body blockquote {
margin: var(--pt-space-5) 0;
padding: var(--pt-space-3) var(--pt-space-4);
border: var(--pt-border-width) solid var(--pt-border);
border-inline-start-width: .25rem;
background: var(--pt-surface);
font-size: 1.2em;
font-style: italic;
}
.article-body blockquote p:last-child { margin: 0; }
.article-body blockquote.js-copy-quote { cursor: copy; }
.article-body blockquote.is-copied {
border-color: var(--pt-category-text);
background: color-mix(in srgb, var(--pt-surface) 90%, var(--pt-category-text));
} .single-holiday__article .article-body > :last-child { margin-block-end: 0; }