#idxmall, .shop-main, #main {
    --bg-beige: #FAFAFA; 
    --bg-white: #ffffff; 
    --bg-gray: #F6F6F6; 
    --bg-orange: #FEFAF8;
    --text-main: #333; 
    --text-sub: #777; 
    --point-color: #9d1c3a; 
    --border-color: #eaeaea; 
    
    /* 테마 변수 */
    --theme-primary: #A01749;  /* 기본 포인트 색상 (자주색) */
    --theme-secondary: #fdf2f5; /* 기본 서브 배경색 (연분홍) */
    
    /* ▼▼▼ 순서 변경을 위한 Flexbox 설정 ▼▼▼ */
    display: flex;
    flex-direction: column;

    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    font-size: 16px; 
    color: var(--text-main); 
    line-height: 1.5; 
    padding-top: 1px;
}

#idxmall.theme-care, #main.theme-care {
    --theme-primary: #FF530F;  
    --theme-secondary: #FFDBC6;
}

/*  */
.section-wrapper { width: 100%; padding: 80px 0; }
.section-wrapper.pt40pb80 { padding-top: 40px; padding-bottom: 80px; }
.section-wrapper.pd60 { padding: 60px 0; }
.section-wrapper.pd0 { padding: 0px;}

.bg-beige { background-color: var(--bg-beige); }
.bg-white { background-color: var(--bg-white); }
.bg-gray { background-color: var(--bg-gray); }
.bg-orange { background-color: var(--bg-orange); }

#idxmall.theme-care #section-banner {
    display: none !important;
}

/* 전체 컨테이너 설정 */
#idxmall .container, .shop-main .container {
    max-width: 1200px; 
    margin: 0 auto;
    
}
#idxmall .main-title {
	font-size: 28px;
	color: #333;
	line-height: 1.4;
	font-weight: 700;
	text-align: left;
    margin: 0 !important;
}

#idxmall .main-title .strong { color:var(--theme-primary) }

/* 상단 타이틀 영역 */
.platform-header {
    margin: 23px 0 40px 0;
    text-align: center;
}

.platform-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.platform-header p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* 카드 리스트 컨테이너 */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* 카드 사이의 간격 */
}

/* 개별 카드 스타일 */
.platform-card {
    position: relative;
    display: flex;
    align-items: center;
    height: 140px;
    background-color: #FAFAFA;
    border: 1px solid #DADADA;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden; /* 이미지가 둥근 테두리를 벗어나지 않게 함 */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* 마우스 호버 시 살짝 떠오르는 액션 (선택사항) */
.platform-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.full-width-banner {
    width: 100%; 
    margin: 0; 
    padding: 0;
}

/* 이미지를 100%로 꽉 채우고 비율 유지 */
.full-width-banner img {
    width: 100%; 
    height: auto; 
    display: block; /* 하단 여백 제거 */
}

/* 텍스트 정보 영역 */
.card-info {
    position: relative;
    z-index: 2; /* 이미지나 그라데이션보다 위로 올라오도록 설정 */
    padding-left: 40px;
    text-align: left;
    flex: 1; /* 남은 공간 모두 차지 */
}

.card-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.card-info p {
    font-size: 15px;
    color: #777;
    margin: 0;
    letter-spacing: -0.3px;
}

/* 우측 배경 이미지 영역 */
.card-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%; /* 이미지가 차지할 영역 (조절 가능) */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* ★ 핵심: 이미지 왼쪽을 하얗게 그라데이션으로 가려주는 효과 */
.card-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px; /* 페이드 아웃 되는 폭 */
    /* 왼쪽은 완전한 흰색(#fff), 오른쪽은 투명으로 변하는 그라데이션 */
    background: linear-gradient(to right, #FAFAFA 0%, rgba(255,255,255,0) 100%);
}
/* 생명돌봄암재발방지 가입 안내 카드 */
.join-card {
    background-color: #f9f9f9; 
    /* padding: 32px 40px; */
    border-radius: 8px; 
    box-sizing: border-box;
    text-align: left;
    letter-spacing: -0.5px;
}
.join-card .join-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0; 
}
.join-card .join-desc {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0 0 24px 0;
}
.join-card .join-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-primary); 
    margin: 0 0 24px 0;
}
.join-card .join-notice {
    font-size: 20px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.join-card .btn-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    border: 1px solid var(--theme-primary);
    border-radius: 20px; 
    background-color: #fdf2f5; 
    color: var(--theme-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.join-card .btn-join:hover {
    background-color: var(--theme-primary);
    color: #fff;
}


/* 인터뷰 섹션 전체 여백 및 배경 (필요시 배경색 변경 가능) */
#section-interview {
    background-color: #fafafa; /* 아주 연한 회색 배경 (이미지 참고) */
    padding: 80px 0;
}

/* 타이틀 기본 마진 제거 (수직 중앙 정렬을 위해) */
#section-interview .main-title.mb0 {
    margin-bottom: 0;
}

/* 전체보기 버튼 디자인 */
#section-interview .btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 18px; /* 알약 형태 둥근 테두리 */
    background-color: #fff;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

#section-interview .btn-view-all:hover {
    border-color: #333;
    color: #333;
}

/* 4단 카드 리스트 레이아웃 */
#section-interview .interview-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4개 균등 분할 */
    gap: 20px; /* 카드 사이 간격 */
}

/* 개별 카드 컨테이너 (Swiper 슬라이드 내부에 꽉 차게 들어감) */
#swiper-about .interview-card {
    display: block;
    position: relative;
    border-radius: 12px; /* 카드 모서리 둥글게 */
    overflow: hidden;
    aspect-ratio: 3 / 4; /* 카드의 세로 비율 */
    text-decoration: none;
    background-color: #eee; /* 이미지 로딩 전 배경색 */
}

/* 카드 썸네일 이미지 */
#swiper-about .interview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 찌그러지지 않고 꽉 채움 */
    display: block;
    transition: transform 0.4s ease; /* 호버 시 부드러운 확대 애니메이션 */
}

/* 카드에 마우스 올렸을 때 이미지 살짝 확대 */
#swiper-about .interview-card:hover img {
    transform: scale(1.05);
}

/* 흰색 텍스트가 잘 보이도록 밑에서부터 올라오는 검은색 그라데이션 */
#swiper-about .interview-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%; /* 그라데이션 높이 */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none; /* 클릭 방해 금지 */
    z-index: 1;
}

/* 카드 내부 텍스트 */
#swiper-about .interview-card .card-text {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all; /* 단어 단위로 줄바꿈 처리 */
    z-index: 2; /* 그라데이션 위로 올라오도록 설정 */
}

/* 전체보기 알약 버튼 스타일 */
.main-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    border: 1px solid #dcdcdc; /* 연한 회색 테두리 */
    border-radius: 25px; /* 양끝이 완전히 둥근 알약 형태 */
    background-color: #fff; /* 배경색 흰색 */
    color: #555; /* 텍스트 색상 */
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* 마우스 오버 시 효과 (테두리와 글자색이 조금 진해짐) */
.main-link-pill:hover {
    border-color: #333;
    color: #333;
}

/* 상단 참여글 뱃지 */
.community-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    height: 32px;
    background-color: #e5e5e5;
    color: #333;
    font-size: 15px;
    border-radius: 16px; /* 둥근 뱃지 모양 */
    font-weight: 500;
}

/* 4단 카드 그리드 레이아웃 */
.community-grid {
display: grid;
    /* 1fr 대신 minmax(0, 1fr)을 사용하여 콘텐츠 크기에 영향받지 않고 정확히 4등분 강제 */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* 개별 카드 스타일 */
.community-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s;
    height: 100%;
    box-sizing: border-box;
}

.community-card:hover {
    border-color: #ccc;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* 카테고리 라벨 (희망전파Talk 등) */
.community-card .cat-label {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 28px;
    background-color: #fdf2f5;
    color: var(--theme-primary); /* 포인트 컬러 */
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    align-self: flex-start;
    margin-bottom: 16px;
}

/* 작성자 및 날짜 */
.community-card .author-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

/* 유저 작성 글 (최대 줄 수 제한 없음 또는 필요시 제한) */
.community-card .post-text {
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 보여줄 줄(Line) 수 설정 (3줄이면 3으로 변경) */
    overflow: hidden;
    text-overflow: ellipsis;
    /* (선택) 줄간격 설정 */
    line-height: 1.5; 
    max-height: 4.5em; /
}

/* 힐러 답변 말풍선 박스 */
.community-card .healer-box {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    margin-top: 24px; /* 카드 맨 아래에 고정 */
}

/* 말풍선 위쪽 뾰족한 꼬리 (삼각형) */
.community-card .healer-box::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #f7f7f7 transparent;
}

/* 힐러 이름 */
.community-card .healer-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--theme-primary); /* '힐러' 글자 빨간색 */
    margin-bottom: 6px;
}
.community-card .healer-name .name {
    color: #333; /* 실제 이름은 검은색 */
    margin-left: 4px;
}

/* 힐러 답변 텍스트 (최대 3줄까지만 보이고 말줄임표 처리) */
.community-card .healer-reply {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 참여글 수 회색 뱃지 스타일 */
.community-count-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    height: 34px;
    background-color: #e2e2e2; /* 이미지와 유사한 연한 회색 */
    color: #333;
    font-size: 15px;
    font-weight: 600;
    border-radius: 17px; /* 둥근 알약 형태 */
    letter-spacing: -0.5px;
}

/* 숫자 부분 여백 조정 */
.community-count-badge b.ft16 {
    margin-left: 4px;
    font-weight: 700;
}
.campaign-title {
    color: #333333;           /* 짙은 회색 텍스트 */
    font-size: 40px;          /* 폰트 크기 */
    font-weight: 700;         /* 폰트 굵기 (Bold) */
    margin-top: 0;
    margin-bottom: 25px;      /* 버튼과의 간격 */
    letter-spacing: -0.5px;   /* 약간의 자간 조절 */
}

/* 캠페인 참여하기 버튼 스타일 */
.btn-campaign {
    display: inline-block;
    padding: 12px 50px;       /* 상하 12px, 좌우 50px 여백 */
    background-color: #ffffff;/* 버튼 배경색 (흰색) */
    color: #444444;           /* 버튼 텍스트 색상 */
    font-size: 16px;          /* 버튼 폰트 크기 */
    font-weight: 500;         /* 버튼 폰트 굵기 (Medium) */
    text-decoration: none;    /* 밑줄 제거 */
    border: 1px solid #bbbbbb;/* 회색 테두리 */
    border-radius: 50px;      /* 둥근 캡슐 형태 (Pill shape) */
    box-sizing: border-box;
    transition: all 0.2s ease-in-out; /* 마우스 오버 시 부드러운 전환 효과 */
}

/* 버튼 마우스 오버 효과 */
.btn-campaign:hover {
    background-color: #f8f8f8;
    color: #333333;
    border-color: #999999;
}


/* 카드 전체 컨테이너 */
.daily-card {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px; /* 카드 전체 둥근 모서리 */
    overflow: hidden; /* 자식 요소가 모서리를 삐져나오지 않게 함 */
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* 은은한 그림자 */
    transition: transform 0.2s ease;
}

/* 마우스 호버 시 살짝 위로 떠오르는 효과 (선택사항) */
.daily-card:hover {
    transform: translateY(-5px);
}

/* 상단 이미지 영역 */
.card-img-wrap {
    width: 100%;
    /* 이미지 비율을 일정하게 유지 (16:9 썸네일 기준, 필요시 조정) */
    aspect-ratio: 4 / 3; 
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 찌그러지지 않고 영역을 채움 */
    vertical-align: top;
}

/* 하단 텍스트 영역 */
.card-txt-wrap {
    padding: 20px;
    text-align: left;
}

.card-category {
    display: inline-block;
    background-color: var(--theme-secondary);  
    color: var(--theme-primary); 
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* 제목 (말줄임표 적용) */
.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    margin: 0 0 10px 0;
    word-break: keep-all;
    
    /* 제목이 2줄을 넘어갈 경우 ... 으로 처리 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 날짜 */
.card-date {
    display: block;
    font-size: 14px;
    color: #888888;
}

/* 카테고리 버튼 래퍼 */
.news-category-wrapper {
    display: flex;
    gap: 8px; /* 버튼 사이 간격 */
    margin-bottom: 24px; /* 아래 카드 리스트와의 간격 */
    /* 필요시 좌측 정렬 유지 */
    align-items: center; 
}

/* 기본 버튼 스타일 (비활성화 상태) */
.news-category-wrapper button {
    background-color: #ffffff; /* 흰색 배경 */
    color: #666666; /* 텍스트 색상 (연한 회색) */
    border: 1px solid #e0e0e0; /* 연한 테두리 */
    border-radius: 4px; /* 약간 둥근 모서리 */
    padding: 8px 16px; /* 텍스트 주변 여백 */
    font-size: 14px;
    font-family: inherit; /* 상속받은 폰트 사용 */
    cursor: pointer;
    transition: all 0.2s ease-in-out; /* 부드러운 전환 효과 */
}

/* 버튼 호버 (마우스 오버) 시 살짝 테두리와 글씨 진하게 */
.news-category-wrapper button:hover {
    border-color: #333333;
    color: #333333;
}

/* 활성화된 버튼 (.active) 스타일 */
.news-category-wrapper button.active {
    background-color: #333333; /* 진한 흑회색 배경 */
    color: #ffffff; /* 텍스트 흰색 */
    border-color: #333333; /* 테두리도 같은 색으로 맞춤 */
    font-weight: 500; /* 활성화 시 글씨 약간 두껍게 */
}

/* 배너 컨테이너: 자식 요소들의 위치 기준점이 됩니다 */
.full-width-banner {
    position: relative; 
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 배경 이미지 */
.full-width-banner .bg-img {
    width: 100%;
    height: auto; /* 이미지 비율 유지 */
    display: block;
}

/* 위에 올라가는 투명 카드들을 감싸는 영역 */
.stats-overlay-container {
    position: absolute; /* 배경 이미지 위로 띄움 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 정중앙 정렬 */
    display: flex;
    gap: 20px; /* 카드 사이 간격 */
    width: 100%;
    max-width: 1200px; /* 전체 카드 영역의 최대 너비 지정 */
    padding: 0 20px;
    box-sizing: border-box;
}

/* 개별 하얀색 반투명 카드 */
.stat-card {
    background-color: rgba(245, 245, 245, 0.9); /* 이미지처럼 약간 탁한 반투명 흰색 */
    border-radius: 16px; /* 모서리 둥글게 */
    padding: 40px 20px;
    text-align: center;
    flex: 1; /* 4개 카드가 동일한 너비를 가지도록 설정 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 약간의 그림자 효과 */
}

/* 카드 내 제목 */
.stat-card .stat-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

/* 카드 내 숫자 (주황색) */
.stat-card .stat-value {
    font-size: 18px;
    color: #ff5722; /* 디자인에 맞는 주황색 코드로 변경하세요 */
    margin: 0;
    font-weight: 500;
}

.stat-card .stat-value strong {
    font-size: 32px; /* 숫자를 더 크게 강조 */
    font-weight: 700;
}















/* * {
    outline: 2px solid red !important;
} */
@media (max-width: 768px) {
#main {

    box-sizing: border-box; /* 패딩을 주더라도 가로 폭이 화면 밖으로 삐져나가지 않게 방지 */
}
.section-wrapper { width: 100%; padding: 40px 0;}

/* .section-wrapper.pt40pb80 { padding-top: 40px; padding-bottom: 80px; }*/
.section-wrapper.pd60 { padding: 60px 0; }
.section-wrapper.pd0 { padding: 0px;} 
.container { padding :0 20px;}
.platform-header {
    margin: 23px 0;
    text-align: left;

}
#index .swiper { 
    margin-right: -20px;
    padding-right: 20px; 
}

.platform-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.platform-header p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* 카드 리스트 컨테이너 */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 24px; 

}

/* 개별 카드 스타일 (모바일 세로형) */
.platform-card {
    position: relative;
    display: block; 
    height: 220px; 
    background-color: #FAFAFA;
    border: 1px solid #DADADA;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden; 
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.platform-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 텍스트 정보 영역 (카드 상단부 배치) */
.card-info {
    position: relative;
    z-index: 2; 
    padding: 24px 24px 0 24px; 
    text-align: left;
}

.card-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.card-info p {
    font-size: 14px;
    color: #777;
    margin: 0;
    letter-spacing: -0.3px;
    word-break: keep-all; 
}

/* 하단 배경 이미지 영역 */
.card-bg {
position: absolute;
    left: 0;
    right: 0;
    top: auto !important; /* 기존에 남아있을 수 있는 top:0 속성 강제 해제 */
    bottom: 0 !important; /* 이미지를 카드 맨 아래로 고정 */
    width: 100% !important; 
    height: 60% !important; /* 하단에서 차지할 높이 비율 */
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
}

.card-bg::before {
    display: none !important;
}

/* 타이틀 스타일 조정 */
#section-about .main-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

/* 스와이퍼 카드 세로형 비율 지정 */
#swiper-about .interview-card {
    display: block;
    aspect-ratio: 3 / 4; /* 시안처럼 세로로 긴 직사각형 비율 */
    border-radius: 12px;
    overflow: hidden;
}

/* 하단 버튼 중앙 정렬 래퍼 */
.btn-wrap-center {
    display: flex;
    justify-content: center;
    margin-top: 24px; /* 슬라이드와 버튼 사이 간격 */
}

/* 하단 알약 버튼 스타일 유지/수정 */
.btn-wrap-center .main-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 25px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    text-decoration: none;
}



/* =========================================
   [ 자연드림 시설/특허 (facility) 카드 스타일 ]
========================================= */

/* 카드 전체 뼈대 */
.facility-container {
    display: block;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    background-color: #fff;
    aspect-ratio: 3 / 4;    
    margin-right: -20px;
}

/* 상단 로고 및 타이틀 영역 */
.facility-container .facility-header {
    gap: 12px;
    margin-bottom: 20px;
}

.facility-container .facility-header img {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* 이미지 찌그러짐 방지 */
}

.facility-container .institution-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.facility-container .facility-relation {
    font-size: 13px;
    color: #888;
}

/* 중단 서브 타이틀 */
.facility-container .facility-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 16px;
    word-break: keep-all; /* 단어 단위 줄바꿈 */
}

/* 하단 상세 내용 */
.facility-container .facility-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}
.join-card{ margin:0 -20px;}

#section-shop-special-category .w1200 {
        width: 100% !important;
        padding: 0 16px;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
    
    /* 좌우 분할을 상하 분할로 변경 */
    #section-shop-special-category .flex[style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* 좌측 탭 영역 너비 100%로 변경 */
    #section-shop-special-category .flex > div:first-child {
        width: 100% !important;
    }

    /* 탭 메뉴 가로 스크롤 적용 */
    #special-category-tabs {
        display: flex !important;
        border-right: none !important;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 5px !important;
        /* 스크롤바 숨김 처리 */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    #special-category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    #special-category-tabs li {
        flex-shrink: 0;
    }

    /* 탭 버튼 스타일 덮어쓰기 (이미지처럼 박스 형태) */
    #special-category-tabs .cate-tab-btn {
        width: auto !important;
        border-bottom: none !important;
        border: 1px solid #e5e5e5 !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
        border-radius: 4px;
        background: #fff !important;
        color: #666 !important;
    }

    /* 활성화된 탭 스타일 (이미지처럼 어두운 색상) */
    #special-category-tabs .cate-tab-btn.active {
        background: #333 !important;
        border-color: #333 !important;
        color: #fff !important;
        font-weight: bold !important;
    }

    /* 상품 리스트 가로 스크롤 적용 */
    #special-category-products {
        display: flex !important;
        grid-template-columns: none !important; /* Grid 해제 */
        overflow-x: auto;
        gap: 12px !important;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    #special-category-products::-webkit-scrollbar {
        display: none;
    }

    /* 상품 카드 너비 강제 지정 (모바일 화면에 2개 정도 보이게) */
    #special-category-products > * {
        min-width: 160px; /* 상품 카드 사이즈에 맞춰 조절 필요 */
        flex-shrink: 0;
    }

    /* 하단 버튼 스타일 적용 (텍스트는 HTML에서 변경 필요) */
    .btn-campaign {
        display: block;
        width: 100%;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 30px;
        padding: 12px 0;
        color: #333;
        font-size: 15px;
        text-decoration: none;
        margin-top: 20px;
        background: #fff;
    }
    .join-card {
        /* 모바일에서는 여백이 너무 좁아 보이지 않도록 적절한 패딩을 활성화하는 것을 권장합니다 */
        padding: 24px 20px; 
    }
    .join-card .join-title {
        font-size: 20px; /* 32px -> 20px 축소 */
        margin: 0 0 6px 0; 
    }
    .join-card .join-desc {
        font-size: 16px; /* 24px -> 16px 축소 */
        margin: 0 0 16px 0;
    }
    .join-card .join-phone {
        font-size: 22px; /* 28px -> 22px 축소 */
        margin: 0 0 16px 0;
    }
    .join-card .join-notice {
        font-size: 14px; /* 20px -> 14px 축소 */
    }
    .full-width-banner {
        position: relative; 
    }

    .stats-overlay-container {
        /* flex 대신 grid를 사용하여 2x2 배열을 강제합니다 */
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 정확히 2칸으로 나눔 */
        gap: 10px; /* 카드 사이 간격 */
        padding: 0 16px; 
    }

    .stat-card {
        flex: none; /* PC버전의 flex 속성 무효화 */
        width: 100%; /* Grid 셀 안에서 꽉 차게 설정 */
        padding: 24px 12px; 
        border-radius: 12px; 
        box-sizing: border-box; 
    }

    .stat-card .stat-title {
        font-size: 13px; 
        margin: 0 0 8px 0; 
    }

    .stat-card .stat-value {
        font-size: 14px; 
    }

    .stat-card .stat-value strong {
        font-size: 24px; 
    }
}