/* ============================================================
   히어하트 파트너 - 컴포넌트 스타일
   p.hearheart.com 의 Vue scoped style 을 그대로 옮긴 것.
   ============================================================ */

/* 인라인 MDI 아이콘 (원본은 iconify-icon, 동일 패스를 SVG로 대체) */
svg.mdi {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

/* ---------- 헤더 (모바일 전용) ---------- */
.main-header {
    min-height: 57px;
    background-color: #212529 !important;
}

.main-header .navbar-nav .nav-link,
.main-header .navbar-nav .nav-link svg,
.main-header .navbar-nav .nav-link i {
    color: #ffffff !important;
}

.main-header .mobile-menu-toggle {
    cursor: pointer;
    font-size: 24px;
}

.main-header .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.main-header .logo-link {
    display: block;
    text-decoration: none;
}

.main-header .header-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
}

/* 데스크톱에서는 헤더를 감춘다 (원본은 v-if="isMobile" 로 아예 렌더링하지 않음) */
@media (min-width: 992px) {
    .main-header {
        display: none !important;
    }
}

/* ---------- 모바일 오버레이 / 닫기 ---------- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1037;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    display: none;
}

@media (max-width: 991px) {
    .main-sidebar {
        position: fixed !important;
        top: 0;
        right: -100%;
        left: auto !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        z-index: 1038 !important;
        transition: right 0.3s ease;
        transform: none !important;
        overflow-y: auto;
    }

    .main-sidebar.mobile-menu-open {
        right: 0;
    }

    .mobile-menu-close {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }

    .main-sidebar {
        right: auto !important;
    }
}

/* ---------- 사이드바 메뉴 ---------- */
.menu_icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    padding-right: 10px;
    flex-shrink: 0;
    object-fit: contain;
}

.main-sidebar .nav-link {
    display: flex;
    align-items: center;
}

/* ---------- 사이드바 로그인 폼 ---------- */
.login-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.login-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 15px;
}

.login-form label {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.login-form .form-control {
    width: 100%;
    height: auto;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--hearheart-pink);
    outline: none;
    color: #fff;
    box-shadow: none;
}

.login-form .btn-primary {
    background-color: var(--hearheart-pink);
    border-color: var(--hearheart-pink);
    color: #fff;
    padding: 10px;
    font-weight: 600;
    margin-top: 10px;
}

.login-form .btn-primary:hover {
    background-color: var(--hearheart-pink-dark);
    border-color: var(--hearheart-pink-dark);
}

.login-links {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

.login-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.login-link:hover {
    color: var(--hearheart-pink-light);
    text-decoration: none;
}

.login-link-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

/* ---------- 사이드바 로그인 후 정보 ---------- */
.user-info-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.financial-info {
    margin-bottom: 20px;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 0.9rem;
}

.financial-item:last-child {
    margin-bottom: 0;
}

.financial-label,
.financial-value {
    color: #ffffff;
}

.financial-value {
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    height: 40px;
    color: #ffffff;
}

.btn-action {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    height: 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-action:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #ffffff;
}

.btn-pink {
    background-color: var(--hearheart-pink);
    color: #ffffff;
    border: none;
}

.nav-treeview > .nav-item > .nav-link {
    padding-left: 1.25rem !important;
}

/* ---------- 푸터 ---------- */
.layout-footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

/* ============================================================
   메인 페이지
   ============================================================ */
img.banner-pc {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

img.banner-mobile {
    width: 100%;
    height: auto;
    display: none;
    object-fit: cover;
}

.feature-cards {
    margin-top: 3rem !important;
}

.feature-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.feature-icon img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: #FF2777;
    margin: 0 0 15px 0;
}

.feature-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .feature-cards {
        margin-top: 40px;
    }

    .feature-card {
        margin-bottom: 30px;
    }

    .feature-cards .col-sm-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    img.banner-pc {
        display: none !important;
    }

    img.banner-mobile {
        display: block !important;
    }
}

/* ============================================================
   회원가입 / 폼 페이지
   ============================================================ */
.join-header {
    margin-bottom: 40px;
    padding: 0 15px;
}

.join-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.join-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.join-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 40px;
}

.join-form-table {
    width: 100%;
    border-collapse: collapse;
}

.join-form-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.join-form-table tbody tr:last-child {
    border-bottom: none;
}

.join-form-table .label-cell {
    width: 150px;
    padding: 1rem;
    background-color: #f5f5f5;
    vertical-align: middle;
    text-align: right;
}

.join-form-table .label-cell label {
    margin: 0;
    font-weight: 500;
    color: #333;
    display: inline-block;
}

.join-form-table .input-cell {
    padding: 1rem;
    vertical-align: middle;
}

.join-form-table .input-cell .form-control {
    width: 100%;
    max-width: 400px;
}

.required {
    color: #ff2777;
    font-weight: bold;
    margin-left: 3px;
}

.id-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.id-input-wrapper .form-control {
    flex: 1;
    margin: 0;
}

.id-input-wrapper .btn-duplicate {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 원본 join 페이지의 폼 컨트롤 크기 */
.join-form-table .form-control,
.join-page .form-control {
    height: auto;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #000 !important;
    background-color: #fff !important;
}

.join-form-table .form-control:focus,
.join-page .form-control:focus {
    border-color: #ff2777;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 39, 119, 0.25);
}

.join-page .partner-type-options {
    display: flex;
    gap: 20px;
    align-items: center;
}

.join-page .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: #000;
    margin: 0;
}

.join-page .radio-label input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.join-page .radio-label span {
    color: #000;
}

.join-page .terms-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.join-page .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: #000;
    margin: 0;
    font-size: 1rem;
}

.join-page .checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.join-page .checkbox-label span {
    color: #000;
}

.join-page .terms-link {
    color: #ff2777;
    text-decoration: none;
    font-weight: 500;
}

.join-page .terms-link:hover {
    text-decoration: underline;
}

.join-page .submit-section {
    max-width: 400px;
    margin: 0 auto;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .join-title {
        font-size: 2rem;
    }

    .join-description {
        font-size: 0.9rem;
    }

    .join-form-table .label-cell {
        width: 110px;
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .join-form-table .input-cell {
        padding: 0.75rem 0.5rem;
    }
}


/* ============================================================
   이용약관 페이지
   ============================================================ */
.terms-page img {
    margin-bottom: 40px;
}
.terms-page .terms-header {
    margin-bottom: 40px;
    padding: 0 15px;
    text-align: center;
}
.terms-page .terms-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.terms-page .terms-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.terms-page .terms-content {
    padding: 20px;
    line-height: 1.8;
    color: #333;
}
.terms-page .terms-section {
    margin-bottom: 40px;
}
.terms-page .terms-section:last-child {
    margin-bottom: 0;
}
.terms-page .terms-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF2777;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF2777;
}
.terms-page .terms-section h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}
.terms-page .terms-section p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}
.terms-page .terms-section ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.terms-page .terms-section ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
    list-style-type: disc;
}
.terms-page .terms-section ul ul {
    margin-top: 10px;
    padding-left: 20px;
}
.terms-page .terms-section ul ul li {
    list-style-type: circle;
}
.terms-page .terms-section strong {
    color: #333;
    font-weight: 600;
}
@media (max-width: 768px) {
.terms-page .terms-title {
        font-size: 1.8rem;
    }
.terms-page .terms-section h2 {
        font-size: 1.5rem;
    }
.terms-page .terms-section h3 {
        font-size: 1.2rem;
    }
.terms-page .terms-content {
        padding: 15px;
    }
}


/* ============================================================
   출금신청 페이지
   ============================================================ */
.withdrawal-page .title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.withdrawal-page .available-money-box {
    text-align: left;
}
.withdrawal-page .money-info {
    text-align: left;
}
.withdrawal-page .money-amount {
    margin-bottom: 20px;
}
.withdrawal-page .money-amount .amount {
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
}
.withdrawal-page .money-amount .currency {
    font-size: 24px;
    margin-left: 5px;
    color: #666;
}
.withdrawal-page .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.withdrawal-page .info-item:last-child {
    border-bottom: none;
}
.withdrawal-page .info-item.highlight {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    border: 2px solid #007bff;
}
.withdrawal-page .info-item .label {
    color: #666;
    flex: 1;
}
.withdrawal-page .info-item .value {
    font-weight: bold;
    color: #333;
    flex: 1;
    text-align: right;
}
.withdrawal-page .info-item.highlight .value {
    color: #007bff;
    font-size: 16px;
}
.withdrawal-page .notice-box {
    padding: 10px 0;
}
.withdrawal-page .notice-box p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 13px;
    color: #555;
}
.withdrawal-page .form-group {
    margin-bottom: 15px;
}
.withdrawal-page .form-group label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}
.withdrawal-page .form-group-inline {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.withdrawal-page .form-label-inline {
    min-width: 120px;
    margin-bottom: 0;
    margin-right: 10px;
    font-weight: 500;
    flex-shrink: 0;
}
.withdrawal-page .form-control-inline {
    flex: 1;
}
.withdrawal-page .radio-group-inline {
    display: flex;
    gap: 20px;
    flex: 1;
}
.withdrawal-page .radio-label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
}
.withdrawal-page .radio-label input[type="radio"] {
    margin-right: 5px;
    margin-top: 0;
    cursor: pointer;
}
.withdrawal-page .radio-label span {
    user-select: none;
}
.withdrawal-page .text-danger {
    color: #dc3545;
}
.withdrawal-page .badge {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.withdrawal-page .badge-warning {
    background-color: #ffc107;
    color: #000;
}
.withdrawal-page .badge-info {
    background-color: #17a2b8;
    color: #fff;
}
.withdrawal-page .badge-success {
    background-color: #28a745;
    color: #fff;
}
.withdrawal-page .badge-danger {
    background-color: #dc3545;
    color: #fff;
}
.withdrawal-page .badge-secondary {
    background-color: #6c757d;
    color: #fff;
}
.withdrawal-page .clickable-row {
    cursor: pointer;
}
.withdrawal-page .clickable-row:hover {
    background-color: #f8f9fa;
}
.withdrawal-page .reject-reason-content {
    padding: 15px;
    min-height: 100px;
}
.withdrawal-page .reject-reason-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-break: break-word;
}
.withdrawal-page .alert {
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.withdrawal-page .alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}
.withdrawal-page .alert iconify-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.withdrawal-page .verify-box {
    background: #fdf7fb;
    border: 1px dashed #ff9ec2;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.withdrawal-page .verify-title {
    font-weight: 700;
    color: #e4006f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}
.withdrawal-page .verify-desc {
    color: #555;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.withdrawal-page .verify-btn {
    min-width: 140px;
}
.withdrawal-page .verify-icon {
    color: #e4006f;
    font-size: 20px;
}
.withdrawal-page .account-status-waiting {
    background: #fff9e6;
    border-color: #ffc107;
}
.withdrawal-page .account-status-waiting .verify-title {
    color: #856404;
}
.withdrawal-page .account-status-waiting .verify-icon {
    color: #ffc107;
}
.withdrawal-page .account-status-approved {
    background: #e8f5e9;
    border-color: #28a745;
}
.withdrawal-page .account-status-approved .verify-title {
    color: #155724;
}
.withdrawal-page .account-status-approved .verify-icon {
    color: #28a745;
}
.withdrawal-page .account-status-rejected {
    background: #ffebee;
    border-color: #dc3545;
}
.withdrawal-page .account-status-rejected .verify-title {
    color: #721c24;
}
.withdrawal-page .account-status-rejected .verify-icon {
    color: #dc3545;
}
.withdrawal-page .reject-message-box {
    background: #fff;
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    text-align: left;
}
.withdrawal-page .reject-message-title {
    font-weight: 600;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.withdrawal-page .reject-icon {
    color: #dc3545;
    font-size: 18px;
}
.withdrawal-page .reject-message-text {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}


/* ============================================================
   관리자 메뉴 (관리자로 로그인했을 때만 노출)
   ============================================================ */
.admin-menu-divider {
    margin: 18px 0 6px;
    padding: 8px 20px;
    color: var(--hearheart-pink-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 39, 119, 0.08);
}

.admin-menu-icon {
    width: 24px;
    padding-right: 10px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
}


/* ------------------------------------------------------------
   이용약관 가독성 보정
   흰 본문 위 흰 카드라 경계가 보이지 않던 문제와, 목록 마커가
   다른 규칙에 밀리지 않도록 명시적으로 고정한다.
   ------------------------------------------------------------ */
.terms-page {
    background-color: #f4f5f7;
    margin: -1rem;
    padding: 1rem;
}

.terms-page .terms-container {
    border: 1px solid #e0e0e0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.terms-page .terms-header {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.terms-page .terms-section ul {
    list-style-position: outside;
    padding-left: 22px;
}

.terms-page .terms-section ul > li {
    display: list-item;
    list-style-type: disc;
}

.terms-page .terms-section ul ul > li {
    list-style-type: circle;
}

.terms-page .terms-section h3 {
    border-left: 3px solid #ff2777;
    padding-left: 10px;
}


/* ============================================================
   Alert 가독성 복구
   AdminLTE 가 Bootstrap 의 연한 alert 를 진한 단색 + 흰 글씨로
   덮어쓴다. 그 위에 브랜드색이나 .text-muted 글씨를 얹으면 배경에
   묻혀 보이지 않으므로(초록 배경 위 초록 글씨) 연한 배경으로 되돌린다.
   ============================================================ */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* alert 안의 보조 문구도 배경에 묻히지 않게 한다. */
.alert .text-muted {
    color: #5a6268 !important;
}


/* ============================================================
   카드 높이 정렬
   같은 행에 놓인 카드가 내용 길이에 따라 제각각 끝나 아래 선이
   들쑥날쑥해지던 문제를 잡는다. content-wrapper 안에서만 적용해
   사이드바 등 다른 영역에는 영향을 주지 않는다.
   ============================================================ */
.content-wrapper .row > [class*="col-"]:not(.row) {
    display: flex;
    flex-direction: column;
}

.content-wrapper .row > [class*="col-"]:not(.row) > .card,
.content-wrapper .row > [class*="col-"]:not(.row) > .small-box {
    width: 100%;
    height: 100%;
    margin-bottom: 1rem;
}

.content-wrapper .card {
    display: flex;
    flex-direction: column;
}

.content-wrapper .card > .card-body {
    flex: 1 1 auto;
}

/* 상단 지표 타일 — 라벨이 한 줄이든 두 줄이든 같은 높이 */
.content-wrapper .small-box {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-wrapper .small-box .inner {
    padding: 12px 14px;
}

.content-wrapper .small-box .inner h3 {
    margin-bottom: 4px;
    white-space: nowrap;
}

.content-wrapper .small-box .inner p {
    margin-bottom: 0;
    min-height: 2.6em;
    line-height: 1.3;
    font-size: 0.85rem;
}

/* col 안에 다시 row 가 들어간 경우, 그 row 는 가로 배치를 유지해야 한다. */
.content-wrapper .row > [class*="col-"] > .row {
    flex-direction: row;
    width: 100%;
}

/* row 와 col 을 동시에 가진 요소(원본 마크업에 존재)는 행으로 동작해야 한다. */
.content-wrapper .row.row[class*="col-"] {
    display: flex;
    flex-direction: row;
}
