#container {
    padding: 10px 20px;
}

.ser_search_sum {
    margin: 25px 0 35px;
}

.ser_search_sum p {
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    width:98%;
    color: #000000;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0 auto 10px;
}

.ser_search_sum ul {
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px;
    gap: 16px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.ser_search_sum ul li {
    list-style: none;
    font-size: 14px;
}

.ser_search_sum ul li a.inactive {
    color: #8F8F8F;
    text-decoration: none;
}

.ser_search_sum ul li a.active {
    color: #000000;
    font-weight: 700;
}

.ser_search_sum ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.ser_no_result {
    margin: 50px 0 180px;
}

.ser_no_result p {
    color: #A9A9A9;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.ser_section {
    margin-bottom: 10px;
}

.ser_section_title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.ser_grid_education, 
.ser_grid_contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ser_grid_book {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ser_grid_education img {
    width: 100%;
    height: auto; /* 높이 자동 조정 */
    aspect-ratio: 630 / 410; /* 원본 비율 유지 */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
}

.ser_grid_book img {
    width: 100%;
    margin-bottom: 5px;
    border-radius: 8px;
    aspect-ratio: 1 / 1.4;
}

.ser_card {
    overflow: hidden;
    background-color: #fff;
}

.ser_card:hover {
    cursor: pointer;
}

.ser_card:hover a img {
    filter: brightness(0.8);
}

.ser_card:hover a .ser_text_title {
    color: #01a28a;
}

.ser_grid_contents img {
    width: 100%;
    height: inherit;
    border-radius: 8px;
    aspect-ratio: 1 / 1;   
    margin-bottom: 5px;

}


/* 이미지 스타일 */
.ser_image {
    width: 100%;
    height: 153px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

/* 텍스트 스타일 */
.ser_text_title {
    font-weight: 800;
    font-size: 14px;
}

.ser_text_sub1,
.ser_text_sub2,
.ser_text_sub3 {
    display: block;
    font-size: 11px;
    color: #8F8F8F;
    line-height: 2em;
}

.ser_text_sub3 .ser_text_line,
.ser_text_sub3 .ser_text_arrow {
    font-size: 13px;
    font-weight: 800;
    color: black;
    line-height: 1.5em;
}

.ser_text_sub3 {
    color: #5C5C5C;
}

.ser_section {
    margin-bottom: 44px;
}

.ser_section_title {
    cursor: pointer;
}

.ser_section_title,
.ser_section_count {
    font-weight: 800;
    margin: 0 5px;
}

.ser_section_count {
    color: #01D5B5;
}

.ser_text_arrow {
    color: #C2C2C2;
}

.ser_text_point {
    color: #01A28A;
    font-weight: 800;
    font-size: 13px;
}

.ser_edu_wrap,
.ser_list_wrap,
.ser_cts_wrap {
    width: 100%;
}

.ser_edu_wrap ul,
.ser_list_wrap ul,
.ser_cts_wrap ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ser_edu_wrap li,
.ser_cts_wrap li {
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
    max-width: calc(50% - 10px);
}

.ser_list_wrap li {
    flex: 1 1 calc(33.3% - 10px);
    box-sizing: border-box;
    max-width: calc(33.3% - 10px);
}

.ser_edu_wrap li:hover,
.ser_list_wrap li:hover,
.ser_cts_wrap li:hover {
    cursor: pointer;
}

.ser_edu_wrap li:hover .ser_edu a img,
.ser_list_wrap li:hover .ser_book a img,
.ser_cts_wrap li:hover .ser_cts a img  {
    filter: brightness(0.8);
}

.ser_edu_wrap li:hover .ser_edu_info a,
.ser_list_wrap li:hover .ser_info a,
.ser_cts_wrap li:hover .ser_cts a span {
    color: #01a28a;
}

.ser_edu,
.ser_book,
.ser_cts {
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.ser_edu img,
.ser_book img{
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.ser_edu img {
    height: auto; /* 높이 자동 조정 */
    aspect-ratio: 630 / 410; /* 원본 비율 유지 */
    object-fit: cover;
}

.ser_book img {
    aspect-ratio: 1 / 1.4;
}

.ser_cts img {
    width: 100%;
    height: 100%;             
    aspect-ratio: 1 / 1;     
    border-radius: 8px;      
    object-fit: cover;        
    display: block;
    margin: 20px auto 10px;     
}

.ser_edu_info,
.ser_info {
    text-align: left;
    padding: 10px 0;
}

.ser_edu_text_title,
.ser_text_title {
    font-size: 16px;
    font-weight: 700;
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* 최대 2줄 */
    -webkit-box-orient: vertical;
}

.ser_edu_text_sub1,
.ser_edu_text_sub3,
.ser_edu_text_sub {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.ser_text_sub1 {
    color: #8F8F8F;
    font-size: 11px;
}

.ser_cts_wrap ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ser_cts_wrap li.ser_card {
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
    max-width: calc(50% - 10px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

.ser_cts span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
}

.ser_paginate {
    margin: 44px auto 30px;
    text-align: center;
}

.ser_paginate a {
    color: #888;
    font-weight: 300;
}

.ser_paginate a,
.ser_paginate strong {
    cursor: pointer;
    padding: 0 10px;
}


.ser-header {
    margin: 44px auto 10px;
    display: flex;
    align-items: center;
}

.ser-arrow {
    font-weight: 400;
    font-size: 20px;
}