Files
2026-06-11 18:47:38 +09:00

215 lines
5.3 KiB
CSS

.latest-tabs-main1 {
width: 100%;
box-sizing: border-box;
position: relative;
overflow: hidden;
background: #fff;
padding: 15px;
/* 💡 [핵심 수정] Flexbox 컬럼 방향으로 설정하여 세로 배치 강제 */
display: flex;
flex-direction: column;
}
.latest-tabs-main1 .bbs_main_wrap_tit {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #333;
flex-shrink: 0;
}
.latest-tabs-main1 .bbs_main_wrap_tit_l { min-width: 0; }
.latest-tabs-main1 .bbs_main_wrap_tit_l h2 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest-tabs-main1 .bbs_main_wrap_tit_r { flex-shrink: 0; margin-left: 15px; }
.latest-tabs-main1 .more_btn {
position: relative; /* 💡 [핵심 수정] absolute 속성 덮어쓰기 */
background: none;
border: 1px solid #ddd;
padding: 5px 10px;
font-size: 12px;
color: #666;
cursor: pointer;
border-radius: 3px;}
.latest-tabs-main1 .cb { display: none; }
.pic-list-grid {
list-style: none;
padding: 0;
margin: 0;
display: grid;
grid-template-columns: repeat(var(--pc-columns, 1), 1fr);
gap: 15px;
}
.latest-tabs-main1 li { display: flex; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
/*.latest-tabs-main1 li:last-child { border-bottom: 1px solid #f0f0f0; }*/
/*.latest-tabs-main1 .lt_img { display: block; width: 100px; height: 75px; flex-shrink: 0; margin-right: 15px; border-radius: 4px; overflow: hidden; background: #f8f8f8; }*/
/*.latest-tabs-main1 .lt_img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }*/
/*.latest-tabs-main1 li:hover .lt_img img { transform: scale(1.05); }*/
/*.latest-tabs-main1 .lt_txt_wrap { flex-grow: 1; min-width: 0; }*/
/*.latest-tabs-main1 .lt_tit { display: block; font-size: 15px; font-weight: 600; color: #333; text-decoration: none; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }*/
/*.latest-tabs-main1 .lt_date { font-size: 12px; color: #999; display: block; }*/
/*.empty_li { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: #999; }*/
/* 탭 제목 스타일 */
.main-tab-title {
font-size: 24px !important;
font-weight: 700;
margin-bottom: 0;
display: block;
line-height: 1.2; /* 줄 간격 조정 */
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
/* 탭 메뉴 스타일 */
.main-tab-nav {
margin-bottom: 20px;
}
.main-tab-nav ul {
display: flex;
width: 100%;
padding: 0;
margin: 0;
list-style: none;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
}
.main-tab-nav li {
display: grid; !important;
/*align-items: flex-start; */
padding: 0px ; !important;
border-bottom: 1px solid #f0f0f0;
}
.main-tab-item {
flex: 1;
text-align: center;
border-right: 1px solid #ddd;
}
.main-tab-item:last-child {
border-right: none;
}
.main-tab-item a {
display: block;
padding: 12px 0;
font-size: 15px;
font-weight: 500;
color: #555;
text-decoration: none;
background-color: #f9f9f9;
transition: all 0.3s;
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
.main-tab-item a.active {
color: #fff;
background-color: #333;
font-weight: 700;
}
.main-tab-item a:hover {
background-color: #eee;
}
/* 탭 콘텐츠 스타일 (기존 유지) */
.latest-tab-content {
display: none;
}
.latest-tab-content.active {
display: block;
}
/* 더보기 버튼 */
.more_btn {
background: none;
border: 1px solid #ddd;
padding: 5px 10px;
font-size: 12px;
color: #666;
cursor: pointer;
border-radius: 3px;
text-decoration: none;
display: inline-block;
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
.more_btn:hover {
background-color: #f5f5f5;
color: #333;
}
/* 리스트 스타일 (기존 유지) */
.rb_swiper_list {
margin-bottom: 15px;
border-bottom: 1px solid #f0f0f0;
padding-bottom: 15px;
}
.rb_swiper_list:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.bbs_main_wrap_con_ul1 {
float: left;
width: 120px;
margin-right: 20px;
position: relative;
}
.skin_list_image {
width: 100%;
height: 90px;
object-fit: cover;
border-radius: 4px;
}
.bbs_main_wrap_con_ul2 {
overflow: hidden;
}
.bbs_main_wrap_con_subj a {
font-size: 16px;
color: #333;
display: block;
margin-bottom: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
.bbs_main_wrap_con_cont a {
font-size: 13px;
color: #666;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
max-height: 3em;
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
.bbs_main_wrap_con_info {
font-size: 12px;
color: #999;
margin-top: 5px;
font-family: inherit !important; /* 💡 [추가] 폰트 상속 강제 */
}
@media (max-width: 1024px) {
.pic-list-grid {
grid-template-columns: repeat(var(--mo-columns, 1), 1fr);
}
}