
/* 상단 영역 */
.events .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background-color: #ffffff; /* 흰색 */
}

.events .tabs {
  display: flex;
  gap: 8px;
}

.events .tab {
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.events .tab.active {
  border-color: #4caf50;
  color: #4caf50;
  font-weight: 600;
}


/* 검색 */
.events .search {
  display: flex !important;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  gap: 4px;
}

.events .search input {
  border: 1px solid #ccc;
  padding: 8px 10px;
  margin-left: 4px;
  font-size: 14px;
}

.events .search button {
  border: none;
  background: #fff;
  padding: 0 10px;
  cursor: pointer;
}
.events .search select {
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 14px;
  width: 60px;
}

/* 리스트 */
.events .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events .item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.events .item img {
  width: 80px;
  height: 80px;
  background: #eee;
  object-fit: cover;
}

.events .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events .title {
  font-size: 16px;
  margin: 0 0 6px 0;
}

.events .date {
  font-size: 13px;
  color: #888;
}

.events .top-box {
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
  margin-bottom: 10px;
  background-color: #ffffff; /* 흰색 */
}

.calendar-container{
	width:1200px;
	margin:40px auto;
	background:white;
	padding:20px;
	border-radius:6px;
	box-shadow:0 0 5px rgba(0,0,0,0.1);
}

.calendar-header{
	text-align:center;
	margin-bottom:20px;
}

.nav-btn{
	text-decoration:none;
	font-size:20px;
	padding:5px 10px;
	color:#333;
}

.date-title{
	font-size:22px;
	font-weight:bold;
	margin:0 20px;
}

.calendar{
	width:100%;
	border-collapse:collapse;

	/* 핵심 */
	table-layout:fixed;
}

.calendar th{
	background:#f2f2f2;
	padding:10px;
	border:1px solid #ddd;
}

.calendar td{
	height:110px;
	vertical-align:top;
	border:1px solid #ddd;
	padding:5px;

	/* 셀 넘침 방지 */
	overflow:hidden;
}

.day{
	font-weight:bold;
	margin-bottom:5px;
}

.sun{
	color:red;
}

/* 일정 스타일 */
.event{
	font-size:12px;
	margin-bottom:3px;
	padding:2px 4px;
	border-radius:3px;

	/* 핵심 */
	width:100%;
	box-sizing:border-box;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}

.forum{
	background:#ff9800;
	font-weight:bold;
	color:white;
	font-size:11px;
	padding:2px 4px;
	margin-right:3px;
	border-radius:3px;
}

.seminar{
	background:#6EF55B;
	font-weight:bold;
	color:white;
	font-size:11px;
	padding:2px 4px;
	margin-right:3px;
	border-radius:3px;
}

.education{
	background:#F5EB5B;
	font-weight:bold;
	color:white;
	font-size:11px;
	padding:2px 4px;
	margin-right:3px;
	border-radius:3px;
}

.contest{
	background:#965BF5;
	font-weight:bold;
	color:white;
	font-size:11px;
	padding:2px 4px;
	margin-right:3px;
	border-radius:3px;
}

.n-inner {
    width: 1200px;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}

.n-section {
    position: relative;
    padding: 0 0;
}

/* 배경 이미지 */
.n-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 200px;
    bottom: 0;
    left: 0;
    background: url('../images/img_main-img3.png') no-repeat right center;
    background-size: contain;
    z-index: 2;
}

/* 타이틀 */
h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

h2 span {
    color: #1f8f5a;
    font-weight: bold;
}

/* 카드 영역 */
.card-wrap {
    display: flex;
    gap: 20px;
}

/* 카드 */
.n-card {
    flex: 0 0 calc((100% - 60px) / 4);
    background: #fff;
    border: 2px solid #1f8f5a;
    border-radius: 16px;
    padding: 25px;
    min-height: 180px;
}

/* 날짜 */
.n-date strong {
    font-size: 36px;
    color: #1f8f5a;
    display: block;
}

.n-date span {
    font-size: 13px;
    color: #1f8f5a;
}

/* 내용 */
.n-card p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
	font-weight: 700;
    color: #333;
}

/* 배경 이미지 효과 */
.panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('images/img_main-img3.png') no-repeat center/cover;
	opacity: 0.2; /* 은은한 배경 */
	z-index: 0;
	background-position: right center;
    background-size: 300px;
}

