.minimog-accordion {
	.accordion-section {
		@extend %NormalTransition;

		&.active {
			> .accordion-header {
				.closed-icon {
					display: block;
				}

				.opened-icon {
					display: none;
				}
			}
		}
	}

	.accordion-header {
		@extend %NormalTransition;
		display: flex;
		align-items: center;
		min-height: 40px;
		cursor: pointer;
	}

	.accordion-title-wrapper {
		font-size: 0;
		flex-grow: 1;
		line-height: 1;
	}

	.accordion-title {
		@extend %NormalTransition;
		display: inline-block;
		margin-bottom: 0;
		font-size: 18px;
		font-weight: 500;
		line-height: 1.5;
		color: $heading-color;
	}

	.accordion-icons {
		flex-shrink: 0;
		margin: 0 8px;
		font-size: 16px;
		font-weight: normal;
		line-height: 0;
		color: $heading-color;

		.closed-icon {
			display: none;
		}

		svg {
			width: 1em;
			height: 1em;

			*[stroke^='#'],
			*[stroke^='url(#'] {
				stroke: currentColor;
			}

			*[fill^='#'],
			*[fill^='url(#'] {
				fill: currentColor;
			}
		}

		.e-font-icon-svg {
			width: 1em;
			height: 1em;

			* {
				fill: currentColor;
			}
		}
	}

	.accordion-icon {
		@extend %NormalTransition;
	}

	.accordion-content {
		display: none;
		color: $text-color;
	}

	&.minimog-accordion-icon-left {
		.accordion-header {
			flex-direction: row-reverse;
		}

		.accordion-icons {
			margin-left: 0;
			margin: 0 10px 0 0;
		}
	}
}

.minimog-accordion-style-03 {
	.minimog-accordion {
		.accordion-section {
			border-bottom: 1px solid #eee;

			&.active {
				border-bottom: 0;
			}

			+ .accordion-section {
				margin: 25px 0 0;
			}

			&:hover {
				.accordion-icons {
					color: $primary-color;
				}
			}
		}

		.accordion-header {
			padding: 5px 0;
		}

		.accordion-title {
			font-family: $heading2-font-family;
			font-weight: $heading2-font-weight;
			font-size: 24px;
			line-height: 30px;
		}

		.accordion-content {
			line-height: 1.6;
			padding: 25px 0 10px;
		}
	}
}

.minimog-accordion-style-02 {
	.minimog-accordion {

		.accordion-title {
			font-weight: 500;
		}

		.accordion-section {
			border: 1px solid #eee;
			overflow: hidden;

			+ .accordion-section {
				margin: 30px 0 0;
			}

			&.active,
			&:hover {
				border-color: transparent !important;

				.accordion-header {
					background: #000;
				}

				.accordion-title,
				.accordion-icons {
					color: #fff;
				}
			}

			&.active {
				background: #fff;
				box-shadow: 0 18px 40px rgba(51, 51, 51, .1);
			}
		}

		.accordion-header {
			padding: 10px 20px;
		}

		.accordion-content {
			padding: 25px 30px;
		}
	}
}

.minimog-accordion-style-01 {
	.minimog-accordion {
		.accordion-section {
			+ .accordion-section {
				margin: 14px 0 0;
			}

			&:hover,
			&.active {
				.accordion-title,
				.accordion-icon {
					color: #000;
				}
			}

			&.active {
				.accordion-header {
					border-bottom-color: #000;
				}
			}
		}

		.accordion-header {
			border-bottom: 1px solid #eee;
			padding: 9px 0;
		}

		.accordion-content {
			padding: 25px 0 20px;
		}
	}
}

@include elementor-breakpoint-down(tablet-extra) {
	.minimog-accordion-style-01 {
		.minimog-accordion {
			.accordion-section {
				+ .accordion-section {
					margin: 15px 0 0;
				}
			}

			.accordion-title {
				font-size: 16px;
			}
		}
	}
}

@include elementor-breakpoint-down(tablet) {
	&.minimog-accordion-style-01 {
		.minimog-accordion {
			.accordion-section {
				+ .accordion-section {
					margin: 10px 0 0;
				}
			}

			.accordion-content {
				padding: 15px 0 0;
			}

			.accordion-title {
				font-size: 15px;
			}
		}
	}
}
