/* WordPress-specific additions. Content written in the block editor gets the
   exact typography of the original React pages (same values as the Tailwind
   classes used there). */

/* Admin bar must not cover the sticky header. */
body.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.sticky { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* ——— "O mnie" (and any other page) ——— */
.auressa-prose-omnie h2,
.auressa-prose-omnie h3 {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	line-height: 2rem;
	margin-top: 2.5rem;
	background: linear-gradient(110deg, var(--accent-violet) 0%, var(--accent-violet) 35%, color-mix(in oklab, var(--accent-violet) 35%, #ffffff) 50%, var(--accent-violet) 65%, var(--accent-violet) 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 14s linear infinite;
}
.auressa-prose-omnie h3 { font-size: 1.25rem; line-height: 1.75rem; margin-top: 2rem; }
.auressa-prose-omnie ul { list-style-type: disc; padding-left: 1.25rem; }
.auressa-prose-omnie ol { list-style-type: decimal; padding-left: 1.25rem; }
.auressa-prose-omnie ul > li + li,
.auressa-prose-omnie ol > li + li { margin-top: 0.5rem; }
.auressa-prose-omnie .is-style-signature { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; line-height: 1.75rem; }

/* ——— Shared: links, images, quotes inside editor content ——— */
.auressa-prose a { color: var(--accent-violet); text-decoration: underline; text-underline-offset: 4px; }
.auressa-prose a:hover { opacity: .8; }
.auressa-prose img { max-width: 100%; height: auto; border-radius: 1rem; }
.auressa-prose strong { font-weight: 600; }
.auressa-prose blockquote { border-left: 2px solid color-mix(in oklab, var(--accent-violet) 40%, transparent); padding-left: 1rem; font-style: italic; }
.auressa-prose figure { margin: 0; }
.auressa-prose .has-text-align-center { text-align: center; }
.auressa-prose .has-text-align-right { text-align: right; }

/* ——— Regulamin ——— */
.auressa-prose-regulamin h2 { font-family: var(--font-serif); font-size: 1.5rem; line-height: 2rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--foreground); }
.auressa-prose-regulamin h3 { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.75rem; margin-top: 1.5rem; margin-bottom: .5rem; color: var(--foreground); }
@media (min-width: 40rem) {
	.auressa-prose-regulamin h2 { font-size: 1.875rem; line-height: 2.25rem; }
	.auressa-prose-regulamin h3 { font-size: 1.25rem; line-height: 1.75rem; }
}
.auressa-prose-regulamin p { color: color-mix(in oklab, var(--foreground) 85%, transparent); line-height: 1.625; margin-bottom: .75rem; }
.auressa-prose-regulamin ul,
.auressa-prose-regulamin ol { padding-left: 1.5rem; color: color-mix(in oklab, var(--foreground) 85%, transparent); line-height: 1.625; margin-bottom: 1rem; }
.auressa-prose-regulamin ul { list-style-type: disc; }
.auressa-prose-regulamin ol { list-style-type: decimal; }
.auressa-prose-regulamin ul > li + li,
.auressa-prose-regulamin ol > li + li { margin-top: .25rem; }
.auressa-prose-regulamin a { color: inherit; }
.auressa-prose .regulamin-toc { border-radius: .5rem; border: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--card) 40%, transparent); padding: 1.25rem; margin-bottom: 3rem; font-size: .875rem; line-height: 1.25rem; }
.auressa-prose .regulamin-toc p:first-child { font-weight: 500; margin-bottom: .5rem; color: var(--foreground); line-height: 1.25rem; }
.auressa-prose .regulamin-toc ol { padding-left: 1.25rem; margin-bottom: 0; color: color-mix(in oklab, var(--foreground) 80%, transparent); line-height: 1.25rem; }
.auressa-prose .regulamin-toc ol > li + li { margin-top: .125rem; }
.auressa-prose .regulamin-toc p:last-child:not(:first-child) { margin-top: .5rem; margin-bottom: 0; color: color-mix(in oklab, var(--foreground) 80%, transparent); line-height: 1.25rem; }
.auressa-prose .regulamin-meta { text-align: center; color: var(--muted-foreground); }

/* ——— FAQ answers (paragraph breaks = one blank line, like the original) ——— */
.auressa-faq-answer > p + p { margin-top: 1.625em; }
.auressa-faq-answer a { color: var(--accent-violet); text-decoration: underline; text-underline-offset: 4px; }
