.exam_header { min-height: 378px; display: flex; flex-direction: column; background: url("/img/exam-bg.png") center no-repeat; background-size: cover; justify-content: center;  }
.exam_header .exam_content { max-width: 1180px; margin: 0 auto; width: 100%; }
.exam_header .ed_header { text-align: center; color: #fff; font-size: 40px; font-weight: 700; margin: 0 0 45px; }
.ed_header {display: block;position:relative;left:0;right:0;top:0;margin:0 0 120px 0;font-size:50px;font-weight:800;text-align:center; }

.exam_header .exam_content #search {position:relative;margin:0 0 39px; }
.exam_header .exam_content #search .input {display:block;width:100%;height:63px;padding:0 40px;font-size:22px;font-weight:600;background:#fff;border:none;border-radius:10px;}
.exam_header .exam_content #search .btn_search {display:block;position:absolute;right:20px;top:0;width:70px;height:70px;font-size:32px;background:none;border:none;}
.exam_header .exam_content .btn-box { display: flex; justify-content: center; gap: 16px; }
.exam_header .exam_content .btn-box a { background: #17383c; display: flex; width: 250px; height: 45px; justify-content: center; align-items: center; color: #fff; border-radius: 12px; font-weight: 400; font-size: 18px; }

.exam_view_section { margin: 120px 0 0; overflow: hidden; }
.exam_view_section h2 { font-size: 27px; font-weight: 700; color: #17393c; margin: 0 0 20px; }
.exam_view_section .view_list { }
.exam_view_section .view_list.desktop-view { }


.exam_view_section .view_list a { display: block; }
.exam_view_section .view_list a .img-box { 
	width: 100%;
	aspect-ratio: 1 / 1; /* 모든 카드의 높이를 가로 길이에 맞춰 동일하게 고정 */
	border-radius: 25px;
	overflow: hidden;
}
.exam_view_section .view_list a .img-box img { display: block; max-width: 440px; width: 100%; border-radius: 30px; }
.exam_view_section .view_list a h5 { font-size: 18px; font-weight: 700; margin: 30px 0 10px 0; }
.exam_view_section .view_list a .label {
	font-size: 14px;
    font-weight: 400;
    color: #666666;
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #666;
}


.exam_view_section .view_list.mobile-view { display: none; height: 50vh; min-height: 504px; }
.exam_view_section .view_list.mobile-view .swiper { width: 100%; height: 100%; }
.exam_view_section .view_list.mobile-view .swiper-slide { height: calc((100% - 36px) / 3) !important; }
.exam_view_section .view_list.mobile-view a { display: flex; align-items: center; }
.exam_view_section .view_list.mobile-view a .label { border: 0; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.exam_view_section .view_list.mobile-view a .label h5 { font-size: 15px; margin: 0;  display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;word-break: break-all;line-height: 1.4;max-height: 2.8em;overflow: hidden;}
.exam_view_section .view_list.mobile-view a .label .label-article { font-size: 12px; }
.exam_view_section .view_list.mobile-view a .img-box { width: fit-content }
.exam_view_section .view_list.mobile-view a .img-box img { max-width: 113px; aspect-ratio: 113 / 156; object-fit: cover; }



.exam_daehan_section { margin: 120px 0 0; }
.exam_daehan_section h2 { font-size: 27px; font-weight: 700; color: #17393c; margin: 0 0 20px; }
.exam_daehan_section .view_list { display: flex; gap: 50px; }
.exam_daehan_section .view_list.desktop-view {}
.exam_daehan_section .view_list.mobile-view { display: none;}
.exam_daehan_section .view_list.mobile-view .img-box { position: relative;  }
.exam_daehan_section .view_list.mobile-view .bottom { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.exam_daehan_section .view_list.mobile-view .article .bottom { gap: 12px; padding: 20px 20px 16px; align-items: center;  }
.exam_daehan_section .view_list.mobile-view .article .bottom .text-wrap h5 { min-height: auto; margin: 0 0 4px; }
.exam_daehan_section .view_list.mobile-view .article .bottom .btn { padding: 12px; width: auto; height: auto; aspect-ratio: 1/1; }
.exam_daehan_section .view_list.mobile-view .article .bottom .btn-box { flex: 0 0 auto; }
.exam_daehan_section .view_list.mobile-view .article .bottom .btn img { max-width: 26px; }


.exam_daehan_section .view_list .article { flex: 1; }
.exam_daehan_section .view_list .article > .img-box { position: relative; }
.exam_daehan_section .view_list .article > .img-box img { display: block; max-width: 100%; border-radius: 30px; width: 100%; aspect-ratio: 366 / 400; object-fit: cover;}
.exam_daehan_section .view_list .article .bottom { display: flex; justify-content: space-between; margin: 60px 0 0; gap: 30px; }
.exam_daehan_section .view_list .article .bottom .text-wrap { flex: 1; }
.exam_daehan_section .view_list .article .bottom .text-wrap h5 { font-size: 18px; margin: 0 0 24px; font-weight: 700; min-height:62px;}
.exam_daehan_section .view_list .article .bottom .text-wrap p { font-size: 16px; font-weight: 400; color: #666; }
.exam_daehan_section .view_list .article .bottom .btn-box { flex: 0 0 100px; }
.exam_daehan_section .view_list .article .bottom .btn { display: flex; width: 100px; height: 100px; background: #032b5d; color: #fff; justify-content: center; border-radius: 16px; flex-direction: column; font-size: 16px; font-weight: 500; gap: 12px; }


.exam_list_section { margin: 120px 0 0; padding-bottom: 120px; }
.exam_list_section h2 { font-size: 27px; font-weight: 700; color: #17393c; margin: 0 0 10px; }
.exam_list_section .view_list { display: flex; flex-direction: column; }

.exam_list_section .view_list { border-top: 1px solid #000; }
.exam_list_section .view_list .article { padding: 50px 0; display: flex; gap: 30px; justify-content: space-between; align-items: center; }
.exam_list_section .view_list .article + .article { border-top: 1px solid #dad9d9; }
.exam_list_section .view_list .article:last-child { border-bottom: 1px solid #dad9d9; }
.exam_list_section .view_list .article .left { flex: 1; }
.exam_list_section .view_list .article .left .title { font-size: 18px; font-weight: 700; margin: 0 0 24px; }
.exam_list_section .view_list .article .left .info { display: flex; color: #b7b7b7; gap: 12px; }
.exam_list_section .view_list .article .right { flex: 0 0 100px; }
.exam_list_section .view_list .article .right .btn { display: flex; width: 100px; height: 100px; background: #032b5d; color: #fff; justify-content: center; border-radius: 16px; flex-direction: column; font-size: 16px; font-weight: 500; gap: 12px; }
.exam_list_section .view_more { margin: 50px 0 0; }
.exam_list_section .view_more a { display: flex; height: 120px; justify-content: center; align-items: center; border-radius: 20px; background: #17393c; color: #fff; font-size: 32px; font-weight: 700;  }

@media screen and (max-width: 768px) {
	.exam_header {margin:0px;}
    .exam_daehan_section .view_list { flex-direction: column; }
	.exam_view_section, .exam_daehan_section {margin:36px 0 20px 0;}
    .exam_list_section h2,
    .exam_view_section h2,
    .exam_daehan_section h2 { font-size: 20px; margin: 0 0 24px; }
	.exam_gallery_div .main-title { font-size: 20px !important; }
    .exam_daehan_section .view_list .article .bottom .text-wrap h5 { font-size: 15px; }
    .exam_daehan_section .view_list .article .bottom .btn-box { flex: 0 0 60px; }
    .exam_daehan_section .view_list .article .bottom .btn { width: 60px; height: 60px; font-size: 9px; gap: 6px; }
    .exam_daehan_section .view_list .article .bottom .btn img { display: block; max-width: 35px; margin: 0 auto;  }
    .exam_daehan_section .view_list .article .bottom .text-wrap p { font-size: 12px; }
    .exam_daehan_section .view_list .article .bottom .text-wrap p img { display: none; }

	.exam_view_section .view_list a .img-box { width:100%; }

    .exam_list_section .view_list .article .left .title { font-size: 15px; margin: 0 0 8px; }
    .exam_list_section .view_list .article .left .info { font-size: 12px; gap: 0; }
    .exam_list_section .view_list .article .left .info img { display: none; }
    .exam_list_section .view_list .article .right { flex: 0 0 60px; }
    .exam_list_section .view_list .article .right .btn { width: 60px; height: 60px; font-size: 9px; gap: 6px; }
    .exam_list_section .view_list .article .right .btn img { display: block; width: 20px; margin: 0 auto; }

    .exam_list_section .view_more a { font-size: 18px; height: 47px; border-radius: 8px; background: #032c5e; }

    .exam_view_section .view_list a h5 { font-size: 20px; }
    .exam_view_section .view_list a .label { font-size: 14px; padding: 6px 16px; }

    .exam_header .ed_header { font-size: 30px; }
    .exam_header .exam_content #search { padding: 0 16px; }
    .exam_header .exam_content #search .input { height: 50px; font-size: 16px; padding: 0 40px 0 16px; }
    .exam_header .exam_content #search .btn_search { width: 40px; height: 40px; top: 50%; transform: translateY(-50%); font-size: 16px; }
    .exam_header .exam_content .btn-box { padding: 0 16px; }
    .exam_header .exam_content .btn-box a { font-size: 16px; height: 40px; }

    .exam_view_section .view_list.desktop-view { display: none; }
    .exam_view_section .view_list.mobile-view { display: block; }

    .exam_daehan_section .view_list.desktop-view { display: none; }
    .exam_daehan_section .view_list.mobile-view { display: block; }

    .exam_list_section .view_list .article { padding: 12px 0; }
    .exam_list_section .view_list .article .right p { font-size: 9px; }

	
}

@media screen and (max-width: 480px) {
	
	#exam_list_div .header-area {height:0px !important; }
	.exam_header {min-height: 278px; }
	.exam_header .ed_header {
        font-size: 25px;
    }

	.exam_gallery_div .header-area {
		margin-bottom: 0px !important;
	}

	.exam_view_section .view_list.mobile-view { min-height: 0; }
}


/* 기본 스타일 초기화 */
#exam_list_div * { 
	margin: 0; 
	padding: 0; 
	box-sizing: border-box; 
}

#exam_list_div {
	max-width: 1180px; /* 목록형은 너무 넓은 것보다 적당한 너비가 보기 좋습니다 */
	margin: 0 auto;
	padding: 20px 0;
	font-family: 'Pretendard', -apple-system, sans-serif;
	background-color: #fff;
}

/* [상단 헤더 영역] */
#exam_list_div .header-area { 
	margin-bottom: 20px; 
	border-bottom: 2px solid #002c5f;
	padding-bottom: 15px;
}
#exam_list_div .hash-tags { 
	display: flex; 
	gap: 8px; 
	margin-bottom: 5px; 
}
#exam_list_div .tag-item { 
	font-size: 13px; 
	font-weight: 600; 
	color: #0077b6; 
}
#exam_list_div .main-title { 
	font-size: 24px; 
	font-weight: 800; 
	color: #111; 
}

/* [목록 컨테이너] */
#exam_list_div .list-container {
	display: flex;
	flex-direction: column;
}

/* [목록 아이템 개별 스타일] */
#exam_list_div .list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 10px;
	border-bottom: 1px solid #eee;
	transition: background 0.2s;
}

#exam_list_div .list-item:hover {
	background-color: #fafafa;
}

/* 좌측 정보 영역 */
#exam_list_div .info-side {
	flex: 1;
	min-width: 0; /* 말줄임표 작동 필수 */
	margin-right: 20px;
}

/* 분류 및 항공사 라벨 */
#exam_list_div .meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

#exam_list_div .category-badge {
	font-size: 11px;
	font-weight: 700;
	color: #002c5f;
	background: #eef2f7;
	padding: 2px 8px;
	border-radius: 4px;
}

#exam_list_div .airline-label {
	font-size: 12px;
	font-weight: 600;
	color: #888;
}

/* 제목 (한 줄 처리) */
#exam_list_div .title {
	font-size: 17px;
	font-weight: 700;
	color: #222;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

/* 조회수 */
#exam_list_div .view-count {
	font-size: 12px;
	color: #bbb;
}

/* [초소형 버튼 스타일] */
#exam_list_div .btn-action {
	width: 50px;
	height: 50px;
	background-color: #002c5f;
	color: #fff;
	border-radius: 8px;
	border: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

#exam_list_div .btn-action:hover {
	background-color: #001a3a;
}

#exam_list_div .btn-action .icon { 
	font-size: 14px; 
	margin-bottom: 1px; 
}

#exam_list_div .btn-action span { 
	font-size: 8px; 
	font-weight: 500; 
	text-align: center; 
	line-height: 1.1; 
}

 /* [하단 더보기 버튼 - 100% 너비] */
        #exam_list_div .more-btn-wrap {
            margin-top: 20px;
        }

        #exam_list_div .btn-more {
            width: 100%; /* 너비 100% 설정 */
            padding: 18px 0;
            background-color: #f8f9fa; /* 연한 회색 배경 */
            border: 1px solid #eee;
            border-radius: 12px;
            color: #666;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            transition: all 0.2s ease;
        }

        #exam_list_div .btn-more:hover {
            background-color: #f1f3f5;
            color: #333;
            border-color: #ddd;
        }


/* 모바일 대응 (화면이 작아지면 제목 폰트 조절) */
@media (max-width: 480px) {
	#exam_list_div {margin-top: 20px; padding:10px;}
	#exam_list_div .title { font-size: 15px; }
	#exam_list_div .list-item { padding: 10px 5px; }
}

/* [공통 초기화] */
.exam_gallery_div * { 
	margin: 0; padding: 0; box-sizing: border-box; 
}

.exam_gallery_div {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 0px;
	font-family: 'Pretendard', -apple-system, sans-serif;
}

/* [상단 해시태그 및 타이틀] */
.exam_gallery_div .header-area { margin-bottom: 30px; }
.exam_gallery_div .hash-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.exam_gallery_div .tag-item { font-size: 13px; font-weight: 600; color: #0077b6; }
.exam_gallery_div .main-title { font-size: 24px; font-weight: 800; color: #111; }

/* [그리드 레이아웃] */
.exam_gallery_div .card-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 25px;
	align-items: start; /* 아이템 높이 간섭 방지 */
}
@media (min-width: 640px) { .exam_gallery_div .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .exam_gallery_div .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* [카드 아이템 스타일] */
.exam_gallery_div .card-item { 
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	border: 1px solid #eee;
}

/* 1. 이미지 영역 (비율 절대 고정) */
.exam_gallery_div .thumb-box {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 65%; /* 시안과 유사한 가로형 직사각형 비율 */
	background-color: #eee;
	overflow: hidden;
}
.exam_gallery_div .thumb-box img {
	position: absolute;
	top: 0; left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

/* 좌상단 카테고리 뱃지 */
.exam_gallery_div .category-badge {
	position: absolute;
	top: 12px; left: 12px;
	background: rgba(0, 119, 182, 0.85);
	color: #fff;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	z-index: 2;
}

/* 2. 텍스트 정보 영역 */
.exam_gallery_div .info-area {
	padding: 15px;
	flex-grow: 1;
}

.exam_gallery_div .airline-name {
	display: block;
	font-size: 12px;
	color: #888;
	margin-bottom: 4px;
	min-height:16.8px;
}

.exam_gallery_div .title {
	font-size: 15px;
	font-weight: 700;
	color: #222;
	line-height: 1.4;
	height: 2.8em; /* 두 줄 확보 */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 10px;
}

.exam_gallery_div .view-count {
	font-size: 12px;
	color: #bbb;
	margin-top: 5px;
}

/* 3. 하단 버튼 영역 */
.exam_gallery_div .btn-wrap {
	padding: 0 15px 15px 15px;
}
.exam_gallery_div .btn-action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	background-color: #002c5f;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s;
}
.exam_gallery_div .btn-action:hover { background-color: #001a3a; }
.exam_gallery_div .btn-action::before { content: '✈️'; font-size: 12px; }

/* [하단 더보기 버튼] */
.exam_gallery_div .more-btn-wrap {
	margin-top: 40px;
	text-align: center;
}
.exam_gallery_div .btn-more {
	padding: 12px 40px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 25px;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* 모바일 대응 (화면이 작아지면 제목 폰트 조절) */
@media (max-width: 480px) {
	.exam_gallery_div {padding:10px;}
	.exam_gallery_div .title { font-size: 15px; }
	.exam_gallery_div .list-item { padding: 15px 5px; }
}