.wp-block-custom-theme-saela-sec-tabs {
	padding: 5.25rem 1.5rem;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__head {
	margin-bottom: 2.5rem;
	max-width: 760px;
}

/* Stacked panels (editor + no-JS fallback). */
.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__panel {
	background: #fff;
	border: 1px solid rgba(38, 69, 61, 0.1);
	border-radius: 16px;
	margin-bottom: 1rem;
	padding: 2.5rem 2.75rem;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__panel-title {
	color: #26453d;
	font-family: "DM Serif Display", Georgia, serif;
	font-size: 2rem;
	font-weight: 400;
	margin: 0 0 1.125rem;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__panel-body {
	color: rgba(38, 69, 61, 0.78);
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.03125rem;
	line-height: 1.75;
	margin: 0;
	max-width: 720px;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__panel-buttons {
	margin-top: 1.75rem;
}

/* Initialized front-end layout: nav rail + single visible panel. */
.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__row {
	align-items: flex-start;
	display: flex;
	gap: 2rem;
}

.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__nav {
	display: flex;
	flex: 0 0 260px;
	flex-direction: column;
	gap: 4px;
}

.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__panels {
	flex: 1;
	min-width: 0;
}

.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__panel {
	display: none;
	margin-bottom: 0;
}

.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__panel.is-active {
	display: block;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__tab {
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 10px;
	color: #26453d;
	cursor: pointer;
	display: flex;
	font-family: "DM Serif Display", Georgia, serif;
	font-size: 1.1875rem;
	justify-content: space-between;
	padding: 0.9375rem 1.125rem;
	text-align: left;
	transition: background 140ms;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__tab.is-active {
	background: #26453d;
	color: #f5f5eb;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__tab-arrow {
	color: #ea9230;
	opacity: 0.4;
}

.wp-block-custom-theme-saela-sec-tabs .saela-sec-tabs__tab.is-active .saela-sec-tabs__tab-arrow {
	opacity: 1;
}

@media (max-width: 781px) {
	.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__row {
		flex-direction: column;
	}

	.wp-block-custom-theme-saela-sec-tabs.is-tabs-init .saela-sec-tabs__nav {
		flex: none;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
	}
}
