/**
 * Elementor Copyright Widget – Frontend Styles
 *
 * Provides sensible defaults while keeping every visual property
 * overridable via Elementor's Style controls.
 *
 * @package ElementorCopyrightWidget
 * @version 1.0.0
 */

/* ============================================================
   Wrapper
   ============================================================ */
.ecw-copyright-wrapper {
	/* Reset browser-default <p> margin so Elementor spacing controls
	   are the single source of truth. */
	margin: 0;
	padding: 0;

	/* Sensible baseline — Elementor typography group overrides this. */
	font-size: 0.875rem; /* 14px relative to 16px root */
	line-height: 1.6;

	/* Wrap gracefully on narrow viewports. */
	word-break: break-word;
}

/* ============================================================
   Inline spans
   ============================================================ */

/** © symbol */
.ecw-copyright-symbol {
	display: inline;
	/* Colour can be overridden by the "© Symbol Color" control. */
}

/** Year */
.ecw-copyright-year {
	display: inline;
	/* Colour can be overridden by the "Year Color" control. */
}

/* ============================================================
   Link reset — colour is driven by Elementor controls, not browser
   ============================================================ */
.ecw-copyright-wrapper a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.ecw-copyright-wrapper a:hover {
	opacity: 0.8;
}

.ecw-copyright-wrapper a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}
