/*
 * Archiv-Kampagne widget — new, reusable widget (no source prototype) for concluded/past
 * initiatives (e.g. the 2014–2017 "Straffreistellung" petition). Deliberately muted/
 * neutral status badge instead of the vibrant CTA-green used by the active Petition
 * widget, to visually signal "this is historical, not an active call to action". The
 * three legal-text proposals collapse into an accordion — verbatim law-text quotations
 * are long and dense, so progressive disclosure keeps the page scannable.
 */

.ac-archive {
	font-family: 'Amiko', sans-serif;
	max-width: 800px;
}

.ac-archive > * + * {
	margin-top: 30px;
}

/*
 * Gets the shared .ac-eyebrow typography (Montserrat/uppercase/letter-spacing/margin —
 * see ac-fonts.css) but deliberately keeps a muted grey instead of the CI accent green:
 * this badge's whole job is signalling "historical, not an active call to action",
 * distinct from the vibrant active Petition widget — color is the one property this
 * intentionally overrides.
 */
.ac-archive-status {
	color: #888;
}

/* Font-size/weight/color come from the shared .ac-heading class (see ac-fonts.css). */
.ac-archive-heading {
	margin: 0 0 15px;
}

.ac-archive-history {
	font-size: 1.02rem;
	line-height: 1.75;
	color: #444;
}

.ac-archive-history p {
	margin: 0 0 15px;
}

.ac-archive-history p:last-child {
	margin-bottom: 0;
}

.ac-archive-goal {
	background-color: #f7f9fc;
	border-left: 4px solid #adb5bd;
	border-radius: 0 10px 10px 0;
	padding: 20px 24px;
	font-size: 1rem;
	line-height: 1.7;
	color: #444;
}

.ac-archive-subheading {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	font-weight: 800;
	color: #111;
	margin: 0 0 14px;
}

.ac-archive-implications {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-archive-implications li {
	position: relative;
	padding: 6px 0 6px 30px;
	color: #444;
	line-height: 1.6;
}

/*
 * Elementor ICONS control (see checklist_icon) instead of a hardcoded CSS ::before
 * checkmark character — lets the icon be swapped (including for an uploaded SVG) and
 * independently sized/colored via Style-tab controls, same pattern as every other icon
 * in this plugin.
 */
.ac-archive-check-icon {
	position: absolute;
	left: 0;
	top: 6px;
	display: inline-flex;
	color: var( --ac-accent, #2e6741 );
	font-size: 0.85em;
	line-height: 1;
}

.ac-archive-check-icon svg {
	width: 1em !important;
	height: 1em !important;
	fill: currentColor !important;
}

.ac-archive-proposals-note {
	font-size: 0.9rem;
	font-style: italic;
	color: #666;
	margin: -8px 0 16px;
}

.ac-archive-proposal {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
}

.ac-archive-proposal + .ac-archive-proposal {
	margin-top: 0;
}

.ac-archive-proposal-divider {
	text-align: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 1px;
	color: #999;
	margin: 14px 0;
}

.ac-archive-proposal-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
	padding: 18px 22px;
	background: none;
	border: none;
	appearance: none;
	outline: none;
	cursor: pointer;
	text-align: left;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: #111 !important;
	background-color: #fff !important;
}

.ac-archive-proposal-toggle:hover,
.ac-archive-proposal-toggle:focus {
	background-color: #f7f9fc !important;
	color: #111 !important;
}

.ac-archive-proposal-icon {
	flex-shrink: 0;
	display: inline-flex;
	font-size: 0.85rem;
	line-height: 1;
	color: var( --ac-accent, #2e6741 );
	transition: transform 0.3s;
}

.ac-archive-proposal-icon svg {
	width: 1em !important;
	height: 1em !important;
	fill: currentColor !important;
}

.ac-archive-proposal-toggle.ac-active .ac-archive-proposal-icon {
	transform: rotate( 180deg );
}

.ac-archive-proposal-body {
	display: none;
	padding: 0 22px 22px;
	border-top: 1px solid #eee;
}

.ac-archive-proposal-body.ac-active {
	display: block;
}

.ac-archive-proposal-body p {
	font-size: 0.92rem;
	line-height: 1.7;
	color: #444;
	margin: 15px 0 0;
}

.ac-archive-proposal-body p:first-child {
	margin-top: 15px;
}

