/**
 * Styles for the bundled homepage widgets.
 *
 * The card, rail and section classes already live in the theme stylesheet and
 * are reused verbatim, so this file only carries what Elementor needs on top:
 * containment, the standalone-widget adjustments, and an editor affordance for
 * an empty query.
 */

/* Widgets are dropped into containers of any width, so the theme's page level
   bottom margins would stack oddly. Let the container own the spacing. */

.elementor-widget-sad-category-section .section {
	margin-bottom: 0;
}

.elementor-widget-sad-lead-story .hero__lead,
.elementor-widget-sad-latest-stories .hero__rail {
	height: 100%;
}

/* Lead story ---------------------------------------------------------- */

.elementor-widget-sad-lead-story .hero__media {
	margin-bottom: 20px;
}

.sad-lead--plain .hero__title {
	text-decoration: none;
}

.sad-lead__excerpt {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--muted, #746B62);
}

/* Latest stories rail -------------------------------------------------- */

.elementor-widget-sad-latest-stories .rail-item__thumb {
	width: 112px;
	height: 112px;
}

@media (max-width: 639px) {
	.elementor-widget-sad-latest-stories .rail-item__thumb {
		width: 96px;
		height: 96px;
	}
}

/* Category section ----------------------------------------------------- */

.sad-section__action {
	padding: 6px 12px;
	border-radius: var(--r-pill, 999px);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sad-section__action:hover {
	background: var(--bg-2, #E8DED0);
	color: var(--accent-hover, #895A38);
}

.sad-section .section__actions .pill-link span,
.sad-section .section__actions .readmore span {
	white-space: nowrap;
}

/* Editor affordance ---------------------------------------------------- */

.sad-el-empty {
	margin: 0;
	padding: 20px 24px;
	background: var(--bg-2, #E8DED0);
	border: 1px dashed var(--border, #D5C8B9);
	border-radius: var(--r-card, 12px);
	font-family: var(--font-body, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 13px;
	font-weight: 500;
	color: var(--link, #76523A);
	text-align: center;
}
