// Course attachments
.course-attachments {
	padding-right: $spacing_32px;
	padding-left: $spacing_32px;
	padding-bottom: $spacing_32px;
}

.attachment-content {
	&-main {
		border-bottom: 1px solid var(--masteriyo-color-border);
		padding-bottom: $spacing_16px;
		margin-bottom: $spacing_16px;

		&:last-child {
			border-bottom: 0;
			padding-bottom: 0;
			margin-bottom: 0;
		}
	}

	&-image {
		display: flex;
		align-items: center;

		svg {
			margin-right: $spacing_16px;
			width: 1.5rem;
			min-width: 1.5rem;
		}
	}

	&-image-text {
		font-size: 14px;
		font-weight: 600;
		flex-grow: 1;
		flex-basis: 50%;
	}

	&-image-text:hover {
		color: var(--masteriyo-color-primary);
	}

	&-description {
		margin-left: $spacing_16px;
		font-size: 13px;
		font-weight: 400;
		color: var(--masteriyo-color-text);
	}
}
