/* Article body. assets/css/editor.css repeats these rules for the editor without the ".prose" prefix; change both together. */

.prose > * { margin-block: 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }

.prose h2 {
	margin: 1.9em 0 .55em;
	font-family: var(--display);
	font-stretch: 85%;
	font-weight: 700;
	font-size: clamp(23px, 3vw, 28px);
	line-height: 1.38;
}
.prose h3 {
	margin: 1.6em 0 .45em;
	font-family: var(--display);
	font-stretch: 88%;
	font-weight: 600;
	font-size: clamp(20px, 2.4vw, 22px);
	line-height: 1.42;
}
.prose h4 { margin: 1.4em 0 .4em; font-size: 1em; font-weight: 700; }

.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }

.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--solder); font-weight: 700; }

.prose figure { margin: 1.7em 0; }
.prose img { border-radius: 4px; }
.prose figcaption, .prose .wp-element-caption {
	margin-top: 8px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.6;
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 2px 0 2px 20px;
	border-left: 3px solid var(--gold);
}
.prose blockquote p { margin: 0 0 .5em; }
.prose blockquote cite { color: var(--ink-2); font-size: 15px; font-style: normal; }

/* paragraph styles: choose "குறிப்பு" or "எச்சரிக்கை" in the block's Styles panel */
.prose .is-style-tip, .prose .is-style-warning {
	padding: 14px 18px;
	border-radius: 0 6px 6px 0;
	font-size: .96em;
	line-height: 1.75;
}
.prose .is-style-tip { background: var(--mist); border-left: 4px solid var(--solder); }
.prose .is-style-warning { background: #fdf0e1; border-left: 4px solid var(--band-2); }
.prose .is-style-tip::before, .prose .is-style-warning::before {
	font-family: var(--display);
	font-stretch: 88%;
	font-weight: 700;
}
.prose .is-style-tip::before { content: "குறிப்பு: "; color: var(--solder); }
.prose .is-style-warning::before { content: "எச்சரிக்கை: "; color: #9d261f; }

.prose .wp-block-table { overflow-x: auto; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--mist); font-weight: 700; }

.prose code {
	padding: .1em .35em;
	border-radius: 3px;
	background: var(--mist);
	font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
	font-size: .88em;
}
.prose pre {
	overflow-x: auto;
	padding: 16px 18px;
	border-radius: 6px;
	background: #122a22;
	color: #e8f0eb;
	font-size: 15px;
	line-height: 1.6;
}
.prose pre code { padding: 0; background: none; color: inherit; }

.prose hr, .prose .wp-block-separator {
	height: 0;
	margin: 2.2em auto;
	border: 0;
	border-top: 1px solid var(--rule);
}

.prose .wp-block-embed { margin: 1.7em 0; }
.prose .wp-block-embed iframe { max-width: 100%; }
.prose .wp-block-gallery { margin: 1.7em 0; }

@media (min-width: 960px) {
	.prose .alignwide { width: var(--wide); max-width: none; margin-left: calc((var(--narrow) - var(--wide)) / 2); }
}
