/* =================================
   육아냥이 서브페이지 공통 스타일
   css/sub-pages.css
   ================================= */

/* ===========================
   1. UNIVERSAL (모든 서브페이지)
   =========================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

[data-lang="ko"] .en-only { display: none !important; }
[data-lang="en"] .ko-only { display: none !important; }

.hidden { display: none !important; }
.ad-container { display: none; }

body {
    font-family: 'Gowun Dodum', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
}

/* ===========================
   2. 오렌지 테마 기본값
   (별도 :root 페이지는 인라인으로 오버라이드)
   =========================== */

:root {
    --primary: #FF9800;
    --primary-light: #FFB74D;
    --primary-dark: #F57C00;
    --secondary: #FFF3E0;
    --accent: #FF5722;
    --bg-main: #FFF8F0;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F5;
    --bg-secondary: #F0F0F0;
    --bg-card: #FFFFFF;
    --bg-highlight: #FFF3E0;
    --text-dark: #1A1A1A;
    --text-medium: #444444;
    --text-light: #666666;
    --text-muted: #888888;
    --border: #E0E0E0;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --success: #4CAF50;
    --success-dark: #2E7D32;
    --warning: #FFC107;
    --danger: #F44336;
    --info: #2196F3;

    --bg-success: #E8F5E9;
    --bg-danger: #FFEBEE;
    --bg-info: #E3F2FD;
    --bg-warning: #FFF3E0;

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --primary: #FFB74D;
    --primary-light: #FFCC80;
    --primary-dark: #FF9800;
    --bg-main: #1A1A1A;
    --bg-card: #2D2D2D;
    --bg-highlight: #3D3020;
    --text-dark: #F5F5F5;
    --text-medium: #E0E0E0;
    --text-light: #BBBBBB;
    --text-muted: #888888;
    --border: #424242;
    --shadow: rgba(0, 0, 0, 0.3);
    --bg-success: #1B3D1F;
    --bg-danger: #3D2020;
    --bg-info: #1A3A5C;
    --bg-warning: #3D3020;
    --bg-gray: #2D2D2D;
    --bg-secondary: #333333;
}

/* ===========================
   2.5 공통 컴포넌트 (SPA style.css 동기화)
   =========================== */

/* --- Card --- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow);
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.card-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}
.btn-primary:hover { box-shadow: 0 4px 12px rgba(255,152,0,0.4); }

.btn-secondary {
    background: var(--secondary);
    color: var(--primary-dark);
}
.btn-secondary:hover { background: var(--primary-light); color: white; }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-danger { background: #d32f2f; color: white; }
.btn-small { padding: 6px 12px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 8px; margin-top: 16px; }
.btn-group .btn { flex: 1; }

[data-theme="dark"] .btn-primary { background: var(--primary); color: #1A1A1A; }
[data-theme="dark"] .btn-outline { color: var(--primary-light); border-color: var(--primary); }
[data-theme="dark"] .btn-outline:hover { background: var(--primary); color: #1A1A1A; }

/* --- Section Typography --- */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 24px;
}
.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* --- Tip Box --- */
.tip-box {
    background: var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}
.tip-box .tip-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.tip-box .tip-content {
    font-size: 0.9rem;
    color: var(--text-medium);
}
[data-theme="dark"] .tip-box { background: #3D3020; }

/* --- Utility Classes --- */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.flex-1 { flex: 1; }

/* ===========================
   3. GROUP A: 문서 레이아웃
   about, breeds-guide, contact,
   danger-food-guide, faq
   <body class="sub-a">
   =========================== */

.sub-a {
    line-height: 1.7;
    color: var(--text-medium);
    background: var(--bg-main);
    min-height: 100vh;
}

.sub-a .container,
.sub-a .content {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    min-height: 100vh;
    background: var(--bg-white);
    box-shadow: 0 0 20px var(--shadow);
}

/* header, footer, bottom-nav도 480px 제한 (content 밖에 있는 경우 대응) */
.sub-a .header {
    max-width: 480px;
    margin: 0 auto;
}
.sub-a footer {
    max-width: 480px;
    margin: 0 auto;
}
.sub-a .bottom-nav {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
}

.sub-a .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    transition: all 0.2s;
}
.sub-a .back-link:hover {
    background: var(--primary);
    color: white;
}
[data-theme="dark"] .sub-a .back-link {
    background: var(--bg-card);
    color: var(--primary);
}

.sub-a .page-header {
    text-align: center;
    margin-bottom: 32px;
}
.sub-a h1 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
[data-theme="dark"] .sub-a h1 { color: #FFFFFF; }

.sub-a .subtitle {
    color: var(--text-light);
    font-size: 16px;
}

.sub-a .intro-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
}
.sub-a .intro-box p {
    font-size: 18px;
    font-weight: 500;
}
.sub-a .intro-box .intro-sub {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.9;
}

.sub-a .section {
    margin-bottom: 32px;
}
.sub-a .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-radius: 16px 16px 0 0;
    border-bottom: 3px solid var(--primary);
}
.sub-a .section-icon { font-size: 28px; }
.sub-a .section-title {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
}
.sub-a .section-content {
    background: var(--bg-card);
    border-radius: 0 0 16px 16px;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow);
}
.sub-a .section-content p {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-medium);
}

.sub-a .theme-toggle, .sub-a .theme-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.sub-a .theme-toggle:hover, .sub-a .theme-btn:hover { transform: scale(1.1); }
.sub-a .theme-toggle:active, .sub-a .theme-btn:active { transform: scale(0.95); }

.sub-a .lang-toggle {
    position: absolute;
    top: 20px;
    right: 70px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.sub-a .lang-toggle:hover { transform: scale(1.1); }

.sub-a .info-list {
    padding-left: 0;
    list-style: none;
    margin: 12px 0;
}
.sub-a .info-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
}
.sub-a .info-list li::before {
    content: "\2022";
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: bold;
}

.sub-a footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 13px;
}
.sub-a footer a {
    color: var(--primary);
    text-decoration: none;
}
.sub-a footer a:hover { text-decoration: underline; }
.sub-a .footer-links { margin: 12px 0; }
.sub-a .footer-links a { margin: 0 8px; }
.sub-a .disclaimer {
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-light);
}

/* ===========================
   4. GROUP B: 앱 레이아웃
   butler-type, cat-mbti, cat-past-life,
   cat-worldcup, cat-lookalike,
   cat-compatibility, my-cat-match
   <body class="sub-b">
   =========================== */

.sub-b {
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-main);
    min-height: 100vh;
    position: relative;
}

.sub-b .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    min-height: 100vh;
    box-shadow: 0 0 20px var(--shadow);
}
@media (min-width: 520px) {
    .sub-b { background: #E8E8E8; }
    [data-theme="dark"] .sub-b { background: #0D0D0D; }
    .sub-b .container {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 20px;
        min-height: calc(100vh - 40px);
    }
}
.sub-b .main-content { flex: 1; }

/* App Header */
.sub-b .app-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
@media (max-width: 519px) {
    .sub-b .app-header { border-radius: 0; }
}
.sub-b .app-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: white;
}
.sub-b .app-header-actions { display: flex; gap: 8px; }
.sub-b .app-header-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sub-b .app-header-btn:hover { background: rgba(255, 255, 255, 0.3); }
[data-theme="dark"] .sub-b .app-header {
    background: linear-gradient(135deg, #3D3D3D, #2D2D2D);
}
[data-theme="dark"] .sub-b .app-header-logo { color: var(--primary); }
[data-theme="dark"] .sub-b .app-header-btn {
    background: rgba(255, 183, 77, 0.2);
    color: var(--primary);
}
[data-theme="dark"] .sub-b .app-header-btn:hover {
    background: rgba(255, 183, 77, 0.3);
}

/* Lang Toggle (app header) */
.sub-b .lang-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sub-b .lang-toggle:hover { background: rgba(255, 255, 255, 0.3); }
[data-theme="dark"] .sub-b .lang-toggle {
    background: rgba(255, 183, 77, 0.2);
    color: var(--primary);
}

/* App Footer */
.sub-b .app-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px;
    margin: 0 -16px -80px -16px;
    text-align: center;
    margin-top: auto;
}
.sub-b .app-footer-title {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.sub-b .app-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
}
.sub-b .app-footer-links a {
    color: var(--text-light);
    text-decoration: none;
}
.sub-b .app-footer-links a:hover { color: var(--primary); }
[data-theme="dark"] .sub-b .app-footer {
    background: var(--bg-card);
    border-color: var(--border);
}

/* Back Link (app style) */
.sub-b .back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
}
.sub-b .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 16px;
}
.sub-b .theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
}

/* Intro Section */
.sub-b .intro-section {
    text-align: center;
    padding: 40px 20px;
}
.sub-b .intro-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.sub-b .intro-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.sub-b .intro-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.8;
}
.sub-b .start-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.sub-b .start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

/* Quiz Components */
.sub-b .progress-section {
    background: var(--bg-card);
    padding: 16px 16px 0;
    margin: 0 -16px;
}
.sub-b .progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.sub-b .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.3s ease;
}
.sub-b .progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}
.sub-b .question-card {
    background: var(--bg-card);
    border-radius: 0;
    padding: 32px 16px;
    box-shadow: none;
    margin: 0 -16px;
}
.sub-b .question-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}
.sub-b .question-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.5;
}
.sub-b .question-emoji {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}
.sub-b .options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sub-b .option-btn {
    background: var(--bg-main);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: inherit;
}
.sub-b .option-btn:hover {
    border-color: var(--primary);
    background: rgba(255, 152, 0, 0.1);
}
.sub-b .option-btn:active { transform: scale(0.98); }

/* Result Section */
.sub-b .result-section {
    text-align: center;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sub-b .result-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 8px 30px var(--shadow);
    margin-bottom: 24px;
}
.sub-b .result-emoji { font-size: 80px; margin-bottom: 16px; }
.sub-b .result-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.sub-b .result-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.sub-b .result-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}
.sub-b .result-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.sub-b .trait-tag {
    background: rgba(255, 152, 0, 0.15);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}
[data-theme="dark"] .sub-b .trait-tag {
    background: rgba(255, 183, 77, 0.2);
    color: var(--primary-light);
}

/* Share Section */
.sub-b .share-section { margin: 24px 0; }
.sub-b .share-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.sub-b .share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.sub-b .share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: inherit;
}
.sub-b .share-btn:hover { transform: translateY(-2px); }
.sub-b .share-btn.kakao { background: #FEE500; color: #000; }
.sub-b .share-btn.twitter { background: #1DA1F2; color: white; }
.sub-b .share-btn.copy {
    background: var(--bg-card);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

/* Restart & Other Tests */
.sub-b .restart-btn {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 16px;
    font-family: inherit;
}
.sub-b .other-tests {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.sub-b .other-tests-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}
.sub-b .test-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: border-color 0.2s;
}
.sub-b .test-link:hover { border-color: var(--primary); }
.sub-b .test-link-emoji { font-size: 32px; }
.sub-b .test-link-text h4 { font-size: 15px; margin-bottom: 4px; }
.sub-b .test-link-text p { font-size: 13px; color: var(--text-light); }

/* Toast */
.sub-b .toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}
.sub-b .toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Affiliate */
.sub-a .affiliate-section,
.sub-b .affiliate-section {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
}
.sub-a .affiliate-title,
.sub-b .affiliate-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.sub-a .affiliate-disclosure,
.sub-b .affiliate-disclosure {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.sub-a .affiliate-card,
.sub-b .affiliate-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-main);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}
.sub-a .affiliate-card:hover,
.sub-b .affiliate-card:hover { background: rgba(255, 152, 0, 0.1); }
.sub-a .affiliate-icon,
.sub-b .affiliate-icon { font-size: 28px; }
.sub-a .affiliate-text h4,
.sub-b .affiliate-text h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.sub-a .affiliate-text p,
.sub-b .affiliate-text p {
    font-size: 12px;
    color: var(--text-light);
}
