#academic-conference-poster {
	display: none;
}

#homepage-cards-container {
	display: flex;
	flex-wrap: wrap; /* 추가 */
	/* justify-content: space-between; */
	/* gap: 5%; */
	/* width: 100%; */
}

main {
  padding: 0 !important;
  margin-top: 2rem;
}

#homepage-cards-container > div {
	padding: 1rem 0.8rem;
	height: 25rem;
	display: flex;
	flex-direction: column;
}

#homepage-cards-container > div > div {
	background-size: cover; /* 이미지를 div에 맞게 확대/축소 */
	background-position: right; /* 이미지를 가운데 정렬 */
	background-repeat: no-repeat; /* 이미지 반복 방지 */
	flex: 1;
}

/* MEMO:: Greeting */
#greeting {
	width: 25%;
	min-width: 290px;
	cursor: pointer;
}
#greeting:hover {
  transform: scale(1.03);
  transition: transform 0.2s;
}
#greeting > div {
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* or space-around */
	top: 0;
	padding: 0 1rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
	pointer-events: none; /* So the link still works */
}
#greeting > div > h2 > span {
	display: block;
	font-size: 1rem;
}
#greeting > div > p {
	margin-left: auto;
}
#greeting > div > p > span {
	font-size: 2rem;
}

/* MEMO:: Register */
#register-card {
	width: 25%;
	min-width: 290px;
}
#register-card > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	padding: 2rem 0;
	height: 100%;
}
#register-card h2 {
	font-weight: 500;
	color: rgba(0, 0, 0, 0.6);
	margin-bottom: 2rem;
}
#register-card p {
	margin: 0.5rem 0;
}
#register-card p:nth-child(2) {
	font-weight: bold;
}
#register-card > div > div {
	height: 50%;
}
#register-card a {
	margin-top: auto;
	align-self: center;
	background: var(--primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	padding: 0.5rem 2.5rem;
	border-radius: 2rem;
	text-decoration: none;
	transition: background 0.18s;
	cursor: pointer;
	border: none;
	outline: none;
	display: inline-block;
	box-shadow: none;
}
#register-card a:hover {
	background: var(--primary-dark);
}

/* MEMO:: Notice */
#notices {
	width: 50%;
}
#notices .notices-section {
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shallow-box-shadow);
}
.notices-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--colorB100);
	border-bottom: 1px solid #e3e6ea;
	padding: 0rem 1.5rem;
	padding-top: 0.2rem;
	color: white;
	height: 15%;
}
.notices-header h2 {
	margin: 0.5rem 0;
	/* font-size: 1.2rem; */
}
.btn_more {
	font-size: 0.95rem;
	color: white;
	text-decoration: none;
}
.notices-list {
	display: flex;
	flex-direction: column;
	/* gap: 0.5rem; */
	background: var(--colorB5);
	height: 85%;
}
.notice-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.8rem 0.4rem 1.8rem;
	/* border-radius: 0.3rem; */
	/* background: white; */
	border-bottom: 1px solid #e3e6ea;
	color: inherit;
	text-decoration: none;
	transition: background 0.2s;
	height: 16.5%;
}
.notice-line:hover {
	background: #e9ecef;
}
.notice-title {
	font-weight: 500;
	flex: 1;
	margin-right: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.notice-title > span {
	margin-left: 1rem;
	font-style: italic;
}
.notice-date {
	color: #888;
	flex-shrink: 0;
}
.notices-list.empty {
	color: #aaa;
	text-align: center;
	padding: 2rem 0;
}

/* MEMO:: Submission */
#submissino-review-workflow {
	width: 25%;
	min-width: 290px;
}
#submissino-review-workflow > div > div {
	/* border-radius: 0.5rem; */
	padding: 1.7rem 10% 1.3rem 10%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	color: white;
}

#submissino-review-workflow img {
	display: block;
	width: 100%;
}

#submissino-review-workflow h1 {
	margin: 0 0 1.1rem 0;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding-bottom: 0.7rem;
	width: 100%;
}

#submissino-review-workflow .workflow-step {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 1.05rem;
	margin: 0;
	width: 100%;
}

#submissino-review-workflow .workflow-step-number {
	width: 1.7rem;
	height: 1.7rem;
	/* border-radius: 50%; */
	background: #e3e6ea;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1em;
	border: 1.5px solid #b0b6c1;
}

#submissino-review-workflow .workflow-link {
	margin-top: auto;
	align-self: flex-end;
	background: var(--primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	padding: 0.5rem 2rem;
	border-radius: 2rem;
	text-decoration: none;
	transition: background 0.18s;
	cursor: pointer;
	border: none;
	outline: none;
	display: inline-block;
	box-shadow: none;
}
#submissino-review-workflow .workflow-link:hover {
	background: var(--primary-dark);
}

/* MEMO:: Education */
#education {
	width: 25%;
	min-width: 290px;
  cursor: pointer;
}
#education:hover {
  transform: scale(1.03);
  transition: transform 0.2s;
}
#education > div  {
  padding: 1.7rem 10%;
}
#education > div > div {
	width: 80%;
  height: auto;
  background-color: white;
  color: var(--colorA100);
  padding: 1rem 10%;
	box-shadow: 0.5rem 1.5rem 0 var(--colorA100);
}
#education > div > div > h2 {
  margin: 0;
  margin-bottom: 0.5rem;
}

/* MEMO:: Conference-Poster */
#conference-poster {
	width: 25%;
	min-width: 290px;
}
#conference-poster > div {
  border: solid 1px lightgrey;
	background-position: top !important; /* 이미지를 가운데 정렬 */
}

/* MEMO:: Community */
#community {
	width: 25%;
	min-width: 290px;
  cursor:pointer;
}
#community:hover {
  transform: scale(1.03);
  transition: transform 0.2s;
}
#community > div  {
  padding: 1.7rem 10%;
	background-position: top; /* 이미지를 가운데 정렬 */
}
#community > div > div {
	width: 80%;
  height: auto;
  background-color: white;
  color: var(--colorB100);
  padding: 1rem 10%;
	box-shadow: 0.5rem 1.5rem 0 var(--colorB100);
}
#community > div > div > h2 {
  margin: 0;
  margin-bottom: 0.5rem;
}

/* MEMO:: Journal */
#journal-poster {
	width: 50%;
	min-width: 580px;
}

/* MEMO:: About */
#about-society {
	width: 50%;
	min-width: 580px;
}

#about-society > div {
	background-color: var(--colorA100);
	padding: 0 2rem;
	padding-bottom: 2rem;
	color: white;
	display: flex;
	flex-direction: column;
}
#about-society > div > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
  gap: 1rem;
}

#about-society h2 {
	border-bottom: 1px solid #e3e6ea;
	width: 100%;
}

#about-society p {
	font-size: 1.1rem;
	margin: 0;
	word-break: keep-all;
	overflow-wrap: break-word;
	text-align: justify;
	padding: 0 1rem;
}

@media (max-width: 1199px) {
  main {
    padding: 1rem !important;
  }

	#homepage-cards-container > div {
		min-height: 20rem;
    height: auto !important;
		min-width: unset;
	}
	#greeting {
		width: 50%;
	}
	#register-card {
		width: 50%;
	}
	#notices {
		width: 100%;
	}
	#submissino-review-workflow {
		width: 50%;
	}
  #education {
    width: 50%;
  }
  #conference-poster {
    width: 50%;
  }
  #community {
    width: 50%;
  }
	#journal-poster {
		width: 50%;
	}
	#journal-poster > div {
    aspect-ratio: 15 / 9; /* 원본 이미지 비율에 맞게 수정 */
	}
	#about-society {
		width: 50%;
		/* min-height: 15rem !important; */
	}
	#about-society p {
		font-size: 1.2rem !important;;
  }
}

@media (max-width: 800px) {
	#conference-poster > div {
    aspect-ratio: 14 / 21; /* 원본 이미지 비율에 맞게 수정 */
	}
	#journal-poster {
		width: 100%;
	}
	#journal-poster > div {
    aspect-ratio: 15 / 9; /* 원본 이미지 비율에 맞게 수정 */
	}
	#about-society {
		width: 100%;
	}
}

@media (max-width: 600px) {
	#submissino-review-workflow {
		width: 100%;
	}
	#submissino-review-workflow > div {
		display: flex;
		flex-direction: column;
	}
	#submissino-review-workflow .workflow-link {
		align-self: center !important;
		margin-top: 2rem !important;
		margin-bottom: 1rem !important;
		width: 100%;
		text-align: center;
	}
  #education {
    width: 100%;
  }
  #community {
    width: 100%;
  }
  #conference-poster {
    width: 100%;
  }
	#journal-poster {
		width: 100%;
	}
}
@media (max-width: 400px) {
	#greeting {
		width: 100%;
	}
	#register-card {
		width: 100%;
	}
	#about-society p {
    word-break: break-all;
  }
	#about-society p:nth-child(2) {
    display: none;
  }
}
