/*
 * mobile.css
 * 새솔경영자문센터 | 모바일 반응형 오버라이드
 * 경로: theme/saesol/css/mobile.css
 *
 * ① ss-stats-bar  — 1줄 3개
 * ② ct-section    — 카드 축소
 * ③ sv-section    — 카드 높이 축소
 * ④ mg-section    — 2×3 그리드
 * ⑤ rv-section    — 가로 스와이프 슬라이드
 */

/* ── rv-slide-dots (항상 적용, 모바일에서만 display:flex) ── */
.rv-slide-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.rv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
}
.rv-dot--on { background: #2C6E2C; }


/* ════════════════════════════════════════════
   모바일 전용 (max-width: 767px)
   ════════════════════════════════════════════ */
@media (max-width: 767px) {

/* ① ss-stats-bar — 1줄 3개 ───────────────── */
.ss-stats-inner {
    display    : flex !important;
    flex-wrap  : nowrap !important;
    gap        : 0 !important;
    padding: 0px 0px !important;
}
.ss-stat-item {
    flex       : 1 !important;
    padding: 13px 19px !important;
    min-width  : 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    /* text-align : center; */
}
.ss-stat-item:last-child { border-right: none; }
.ss-stat-lbl    {font-size: 9px  !important;line-height: 1.3;word-break: keep-all;}
.ss-stat-val    { font-size: 18px !important; margin: 2px 0 !important; }
.ss-stat-val span { font-size: 11px !important; }
.ss-stat-period { font-size: 9px  !important; }


/* ② ct-section — 카드 축소 ────────────────── */
.ct-section   { padding: 40px 0 !important; }
.ct-head      { padding: 0 16px !important; margin-bottom: 20px !important; }
.ct-title     { font-size: 18px !important; line-height: 1.5 !important; }
.ct-card-img  { 
        width: 100% !important; }
.ct-name      { font-size: 13px !important; }
.ct-role      { font-size: 11px !important; }
.ct-desc {
    font-size         : 12px !important;
    line-height       : 1.6 !important;
    display           : -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow          : hidden !important;
    text-overflow     : ellipsis !important;
}
.ct-card-body { padding: 12px !important; }


/* ③ sv-section — 카드 높이 축소 ───────────── */
.sv-section    {/* padding: 40px 0 !important; */}
.sv-heading    { padding: 0 16px !important; margin-bottom: 16px !important; }
.sv-title      {font-size: 16px !important;line-height: 1.5 !important;}
.sv-card       {height: 240px !important;}
.sv-card-title { font-size: 18px !important; }
.sv-card-desc  {
    font-size        : 12px !important;
    line-height      : 1.6  !important;
    -webkit-line-clamp: 3;
}


/* ④ mg-section — 2×3 그리드 ──────────────── */
.mg-section     { padding: 40px 0 !important; }
.mg-wrap        { padding: 0 12px !important; }
.mg-title-block { grid-column: 1 / -1 !important; padding: 0 0 16px !important; }
.mg-main-title  {font-size: 26px !important;}
.mg-main-desc   {font-size: 16px !important;}
.mg-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}
.mg-card       { padding: 16px 12px !important; min-height: 0 !important; }
.mg-card-title { font-size: 13px !important; margin-bottom: 4px !important; }
.mg-card-desc  { font-size: 11px !important; line-height: 1.5 !important; }
.mg-num        { font-size: 11px !important; margin-bottom: 6px !important; }
.mg-icon       { width: 36px !important; height: 36px !important; }
.mg-icon img   { width: 36px !important; height: 36px !important; }


/* ⑤ rv-section — 가로 스와이프 슬라이드 ──── */
.rv-section { padding: 40px 0 !important; }
.rv-head    { padding: 0 16px !important; margin-bottom: 20px !important; }
.rv-eyebrow { font-size: 11px !important; }
.rv-title   { font-size: 18px !important; line-height: 1.5 !important; }

.rv-masonry {
    display                  : flex !important;
    flex-wrap                : nowrap !important;
    overflow-x               : auto !important;
    scroll-snap-type         : x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap                      : 10px !important;
    padding                  : 0 16px 12px !important;
    columns                  : unset !important;
    scrollbar-width          : none !important;
    -ms-overflow-style       : none !important;
}
.rv-masonry::-webkit-scrollbar { display: none !important; }

.rv-item {
    border: 0px !important;
    flex: 0 0 36vw !important;
    max-width        : 280px !important;
    scroll-snap-align: start !important;
    break-inside     : unset !important;
    margin-bottom    : 0 !important;
}
.rv-img {
    width  : 100% !important;
    height : auto !important;
    display: block !important;
}

.rv-slide-dots { display: flex; }

  .ct-card    {flex: 0 0 50%;}
  .ct-section { padding: 56px 0 64px; }
  .ct-head    { padding: 0 20px; }
} /* end @media 767px */
