.civi-attribute-list {
	font-size: 0;

	.inner {
		display: inline-block;
	}

	&.layout-block {
		.list {
			display: block;
		}

		.item {
			+ .item {
				margin-top: 35px;
			}
		}
	}

	&.layout-inline {
		.list {
			margin-left: -14px;
			margin-right: -14px;
		}

		.item {
			display: inline-block;
			padding: 3px 14px;
		}
	}

	&.layout-columns {
		.list {
			position: relative;
			min-height: 1px;
			display: flex;
			flex-wrap: wrap;
			margin-left: -15px;
			margin-right: -15px;
		}

		.item {
			padding: 2px 15px;
			flex-grow: 1;
			flex: 1 1 50%;

			&:nth-child(2) {
				~ .item {
					margin-top: 60px;
				}
			}
		}
	}

	.item {
		font-size: 0;
		text-align: left;
	}

	.name {
		margin-bottom: 0;
	}

	.value {
		font-size: 16px;
		line-height: 1.45;
		margin-top: 11px;
	}

	&.style-01 {
		.list {
			grid-row-gap: 36px;
		}

		.name {
			font-size: 20px;
			line-height: 1.2;
			font-weight: 500;
		}
	}

	&.style-02 {
		.name {
			font-size: 20px;
			line-height: 1.2;
			font-weight: 500;
		}

		.item {
			+ .item {
				position: relative;

				&:before {
					content: "";
					position: absolute;
					background: rgba(238, 238, 238, 0.15);
				}
			}
		}

		&.layout-inline {
			.list {
				margin-left: 0;
				margin-right: 0;
			}

			.item {
				padding: 3px 40px;

				+ .item {
					&:before {
						top: 50%;
						left: 0;
						transform: translateY(-50%);
						height: 30px;
						width: 1px;
					}
				}
			}
		}

		&.layout-block {
			.list {
				grid-row-gap: 36px;
			}

			.item {
				+ .item {
					padding-top: 40px;

					&:before {
						top: 0;
						left: 0;
						transform: translateY(-50%);
						width: 100%;
						height: 1px;
					}
				}
			}
		}

		&.layout-columns {
			.item {
				padding-top: 18px;
				padding-bottom: 18px;
			}
		}
	}
}
