.guide-content {
    display: grid;
    gap: 1rem;
}

.guide-content-header {
    display: grid;
    gap: 0.5rem;
    padding-top: 1rem;
}

.guide-content-header h2 {
    margin: 0;
}

.guide-content-header p {
    margin: 0;
    color: var(--muted);
}

.guide-block {
    display: grid;
    gap: 0.75rem;
}

.guide-block h3 {
    margin: 0;
}

.guide-list {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.guide-content pre {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f5f8f7;
    overflow-x: auto;
}

.guide-content pre code {
    display: block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: pre;
}

.guide-note {
    padding: 0.9rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--muted);
}

.guide-screenshots {
    display: grid;
    gap: 1rem;
}

.guide-shot {
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.guide-shot img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.guide-step {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.25rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.guide-step-media {
    display: grid;
    gap: 0.5rem;
}

.guide-step-media img {
    display: block;
    width: 100%;
   /* border-radius: 16px;
    border: 1px solid var(--border);*/
}

.guide-step-media figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}

.guide-step-content {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    margin-bottom: 1rem;
}

.guide-step-content h3,
.guide-step-content h4,
.guide-step-content p {
    margin: 0;
    line-height: 150%;
    letter-spacing: 0.4px;
}
.guide-step-content h3,
.guide-step-content h4 {
    margin-top: 1rem;
}

.inline-text-link {
    text-decoration: underline;
    color: var(--accent);
}

.small-block-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.small-block {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-soft);
    width: calc(33% - 1rem);
    padding: 1rem;
}

.small-block h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guide-glossary {
    display: grid;
    gap: 0.65rem;
}

.guide-glossary-row {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.guide-glossary-row code {
    display: inline-block;
    width: fit-content;
    font-weight: 700;
}

@media (max-width: 840px) {
    .guide-step {
        grid-template-columns: 1fr;
    }

    .guide-glossary-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
}
