
.terms__section {
    padding: 80px 0;
}

.terms__hero {
    background: linear-gradient(135deg, #f9f3f5 0%, #fce8ef 100%);
    padding: 60px 0 40px;
    margin-bottom: 60px;
    border-bottom: 2px solid #f0d0d8;
}

.terms__hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.terms__hero p {
    color: #777;
    font-size: 1.6rem;
}

.terms__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 48px;
    margin-bottom: 30px;
}

.terms__card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #c1185b;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fce8ef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms__card h2 .section-number {
    background: #c1185b;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.terms__card p, .terms__card li {
    color: #555;
    line-height: 1.9;
    font-size: 1.6rem;
}

.terms__card ul, .terms__card ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.terms__card ul li, .terms__card ol li {
    margin-bottom: 10px;
}

.terms__card strong {
    color: #333;
}

.terms__card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 22px 0 10px;
}

.terms__card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.terms__card table th {
    background: #fce8ef;
    color: #c1185b;
    padding: 12px 16px;
    text-align: left;
    font-size: 1.6rem;
}

.terms__card table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 1.6rem;
}

.terms__highlight {
    background: #fef9fb;
    border-left: 4px solid #c1185b;
    border-radius: 6px;
    padding: 16px 22px;
    margin: 16px 0;
    color: #555;
    font-size: 1.6rem;
    line-height: 1.8;
}

.terms__highlight--warn {
    background: #fffbf0;
    border-left-color: #f59e0b;
}

.terms__highlight--info {
    background: #f0f7ff;
    border-left-color: #3b82f6;
}

.terms__toc {
    background: #fdf5f7;
    border-radius: 10px;
    padding: 24px 32px;
    margin-bottom: 32px;
    border: 1px solid #f0d0d8;
}

.terms__toc h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c1185b;
    margin-bottom: 12px;
}

.terms__toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

.terms__toc ol li {
    margin-bottom: 7px;
    break-inside: avoid;
}

.terms__toc ol li a {
    color: #555;
    text-decoration: none;
    font-size: 1.6rem;
}

.terms__toc ol li a:hover {
    color: #c1185b;
    text-decoration: underline;
}

.terms__badge {
    display: inline-block;
    background: #fce8ef;
    color: #c1185b;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.contact__terms--box {
    background: linear-gradient(135deg, #c1185b, #e91e63);
    border-radius: 12px;
    padding: 36px;
    color: #fff;
    text-align: center;
}

.contact__terms--box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact__terms--box p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.contact__terms--box a {
    color: #ffe082;
    text-decoration: none;
    font-weight: 600;
}

.contact__terms--box a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terms__card {
        padding: 24px 20px;
    }

    .terms__hero h1 {
        font-size: 2.4rem !important;
    }

    .terms__hero p {
        font-size: 1.2rem !important;
    }

    .terms__card h2 {
        font-size: 1.6rem !important;
    }

    .terms__card h2 .section-number {
        width: 30px;
        height: 30px;
        font-size: 1.2rem !important;
    }

    .terms__card h3 {
        font-size: 1.4rem !important;
    }

    .terms__card p, .terms__card li {
        font-size: 1.2rem !important;
    }

    .terms__card table th, .terms__card table td {
        font-size: 1.2rem !important;
        padding: 8px 10px;
    }

    .terms__highlight {
        font-size: 1.2rem !important;
    }

    .terms__toc h3 {
        font-size: 1.4rem !important;
    }

    .terms__toc ol {
        columns: 1;
    }

    .terms__toc ol li a {
        font-size: 1.2rem !important;
    }

    .terms__badge {
        font-size: 1.2rem !important;
    }
}
