.guide-content code {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.92rem;
    display: inline-block;
    margin: 4px 0;
}

.guide-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 18px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 12px 0;
    font-size: 0.9rem;
}

.guide-content pre code {
    background: transparent;
    color: inherit;
    margin: 0;
    padding: 0;
}

.guide-content ol,
.guide-content ul {
    padding-left: 22px;
}

.guide-content li {
    margin-bottom: 10px;
}

.guide-content .image-section {
    margin: 24px auto;
    text-align: center;
}

.guide-content .image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(26, 147, 111, 0.18);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-content .image-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 22px 45px -30px rgba(15, 94, 73, 0.5);
}

.guide-content .caption {
    font-size: 0.85rem;
    color: #4f5b66;
    margin-top: 6px;
}

.guide-content .note {
    background: rgba(255, 244, 229, 0.85);
    border-left: 5px solid #ff9800;
    padding: 16px 20px;
    border-radius: 14px;
    margin: 20px 0;
    font-style: normal;
    line-height: 1.6;
    color: #2f3c46;
}

.guide-content .note strong {
    color: #c15500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92);
}

.modal img {
    margin: auto;
    display: block;
    max-width: min(90%, 1100px);
    max-height: 82vh;
    border-radius: 14px;
}

.modal:target {
    display: block;
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 32px;
    font-size: 36px;
    color: white;
    text-decoration: none;
    font-weight: 300;
}

@media (max-width: 768px) {
    .guide-content pre {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    .guide-content .note {
        padding: 14px 16px;
    }

    .close-modal {
        right: 18px;
    }
}
