/**
 * Expandable Text Block Styles
 */

.block-expandable-text {
	position: relative;
}

/* Intro section - WordPress handles font sizes via has-large-font-size class */
.block-expandable-text .expandable-text-intro {
	margin-bottom: 0;
}

/* Hidden content - normal font size */
.block-expandable-text .expandable-text-content {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.block-expandable-text .expandable-text-content[data-expanded="true"] {
	max-height: 5000px;
	opacity: 1;
	margin-top: 0;
}

.block-expandable-text .expandable-text-content p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.block-expandable-text .expandable-text-content p:last-child {
	margin-bottom: 0;
}

/* Read more button - using WP core button with cursor pointer */
.block-expandable-text .wp-block-buttons {
	margin-top: 0.75rem;
}

.block-expandable-text .expandable-text-toggle {
	cursor: pointer;
}

.block-expandable-text .expandable-text-toggle .wp-block-button__link {
	cursor: pointer;
}

/* Toggle button text states */
.block-expandable-text .expandable-text-toggle .toggle-less {
	display: none;
}

.block-expandable-text .expandable-text-toggle[data-expanded="true"] .toggle-more {
	display: none;
}

.block-expandable-text .expandable-text-toggle[data-expanded="true"] .toggle-less {
	display: inline;
}

