/* Tamilcube Resources — Proverbs module (overrides on core) */

.tc-app--proverbs .tc-grid {
	columns: 2 360px;
}

/* Style the section name itself as the typographic Tamil-letter header.
 * Single letters render compactly; multi-letter groups (e.g. "இ–ஈ",
 * "மெ, மே, மொ, மோ, மௌ") wrap word-by-word rather than per-character. */
.tc-app--proverbs .tc-section__name {
	font-family: var(--tc-font-serif);
	font-weight: 700;
	font-size: clamp(1.4rem, 1.15rem + 1.3vw, 2rem);
	line-height: 1.2;
	background: linear-gradient(135deg, var(--tc-accent), var(--tc-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	word-break: keep-all;
	overflow-wrap: anywhere;
	white-space: normal;
}

/* Proverb cards are short single-sentence items — slightly tighter padding. */
.tc-app--proverbs .tc-card__body {
	padding: 16px 18px 12px 22px;
	font-size: 1.04rem;
	line-height: 1.85;
}

.tc-app--proverbs .tc-card__actions {
	padding: 4px 12px 8px 22px;
}

/* Hide any leftover source artifacts before JS finishes painting, so the
 * page never flashes raw <hr>s / tables / lists between blocks.
 */
.tc-app--proverbs[data-tc-enhanced] ~ figure.wp-block-table,
.tc-app--proverbs[data-tc-enhanced] ~ hr.wp-block-separator,
.tc-app--proverbs[data-tc-enhanced] ~ ul.wp-block-list {
	display: none;
}
