/* Tricky Points — shared across C tutorial pages */
.c-tricky-section {
    border-left-color: #e6a817 !important;
    background: linear-gradient(165deg, #fffdf8 0%, #f8fafc 100%) !important;
    margin-bottom: 2.5rem;
}

.c-tricky-section > h2 {
    color: #b8860b;
    font-weight: 700;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(230, 168, 23, 0.25);
}

.c-tricky-section > h2 i {
    color: #e6a817;
}

.c-tricky-intro {
    color: #5c6b7a;
    margin-bottom: 1.25rem;
    max-width: 52rem;
}

.c-tricky-section .tip-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fff8e6 100%);
    border: 1px solid #f0d78c;
    border-left: 5px solid #e6a817;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
}

.c-tricky-section .tip-box i.fa-exclamation-circle {
    color: #e6a817;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.c-tricky-section .c-tricky-code {
    font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
    font-size: 0.88em;
    background: #f0f4f9;
    border: 1px solid #d8e3ef;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    margin-top: 0.5rem;
    white-space: pre-wrap;
    color: #1a2332;
}

.c-tricky-section code {
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: 0.9em;
    color: #9d174d;
    background: rgba(232, 62, 140, 0.08);
    padding: 0.12em 0.4em;
    border-radius: 4px;
}

.c-tricky-footer {
    background: linear-gradient(135deg, #e8f7fa 0%, #dff3f8 100%);
    border: 1px solid #a8d4e6;
    border-left: 5px solid #035aa6;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-top: 1.25rem;
}

.c-tricky-footer i {
    color: #035aa6;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .c-tricky-section > h2 {
        font-size: 1.25rem;
    }
    .c-tricky-section .c-tricky-code {
        font-size: 0.8em;
    }
}
