@charset "UTF-8";

.internship__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 30px;
}

.internship__item {
	padding: 2rem 1.5rem;
	box-shadow: var(--box-shadow);
}

.internship-card{
	display: flex;
	flex-direction: column;
	height: 100%;
}

.internship-card__title {
	font-size: 1.5rem;
	color: var(--p_blue);
	display: flex;
	align-items: center;
	gap: 1em;
	margin-bottom: 2.5rem;

	&::before {
		content: "";
		width: 7px;
		height: 64px;
		background-image: var(--gd-ico);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		flex-shrink: 0;
	}
}

.internship-card__program {
	margin-bottom: 2.5rem;
}

.internship-card__program-title {
	font-size: 1.5rem;
	line-height: 1;
	color: var(--p_blue);
	margin-bottom: 0.5rem;
}

.internship-card__program-summary {
	font-size: 1.25rem;
}

.internship-card__program-detail {
	font-size: 1.25rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.internship-card__image {
	margin-bottom: 2.5rem;

	img {
		width: 100%;
		height: auto;
	}
}

/* .internship-card__actions{
	margin-top: auto;
	padding-top: 1rem;
} */

.internship-section .c-image-button {
	min-width: 19.625rem;
	width: fit-content;
	min-height: 4.25rem;
}

.internship-section .c-image-button__text--large {
	font-size: 1.5rem;
}

@media only screen and (max-width: 1024px) {
	.internship__list {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 20px;
	}
}

@media only screen and (max-width: 768px) {
	.internship__item {
		padding: 2rem 1rem;
	}

	.internship-card__title {
		font-size: clamp(1rem, 1.95vw, 1.5rem);
		margin-bottom: 2rem;

		&::before {
			height: 32px;
		}
	}

	.internship-card__program {
		margin-bottom: 2rem;
	}

	.internship-card__program-title {
		font-size: clamp(1rem, 1.95vw, 1.5rem);
	}

	.internship-card__program-summary {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
	}

	.internship-card__program-detail {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
	}

	.internship-card__image {
		margin-bottom: 2rem;
	}

	.internship-section .c-image-button {
		min-width: initial;
		width: stretch;
		min-height: clamp(5rem, 14.3229vw, 6.875rem);
	}

	.internship-section .c-image-button__text--large {
		font-size: clamp(1rem, 3.91vw, 1.75rem);
	}
}