.user-guide-page {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.25rem, 3vw, 3rem);
    padding-right: clamp(1.25rem, 3vw, 3rem);
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .user-guide-layout .container {
        max-width: clamp(1170px, 88vw, 1700px);
    }
}

.user-guide-page h1,
.user-guide-page h2,
.user-guide-page h3,
.user-guide-page h4 {
    text-align: left;
}

.user-guide-page p,
.user-guide-page ul,
.user-guide-page ol,
.user-guide-page li,
.user-guide-page article {
    text-align: left;
}

.user-guide-page .doc-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.user-guide-page .doc-image {
    max-width: 100%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}


.modal-illustration.doc-image-lightbox {
    z-index: 2;
}

.modal-illustration.doc-image-lightbox .close {
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.divider {
    height: 0.5px;
    width: 100%;
    background-color: rgb(180, 170, 170);
}


.user-guide-page h2 {
    display: flex;
    align-items: center;
}

.guide-introduction {
    max-width: 900px;
    color: var(--content-400);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.guide-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.guide-document-card {
    display: flex;
    gap: 24px;
    background: white;
    border: 1px solid rgba(3, 32, 20, 0.08);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 18px 50px -38px rgba(3, 32, 20, 0.45);
}

.guide-document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    color: white;
    background: linear-gradient(135deg, var(--green-300), var(--blue-300));
    border-radius: 16px;
    font-size: 22px;
}

.guide-document-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.guide-document-content h2 {
    cursor: default;
    color: var(--content-500);
    margin: 3px 0 10px;
}

.guide-document-type {
    color: var(--blue-300);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.guide-document-language {
    color: var(--content-400);
    font-size: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.guide-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    color: white;
    background: var(--blue-300);
    border-radius: 50px;
    padding: 12px 20px;
    margin-top: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.guide-download-button:hover,
.guide-download-button:focus {
    color: white;
    background: var(--success-500);
    text-decoration: none;
    transform: translateY(-1px);
}

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

@media (max-width: 480px) {
    .guide-document-card {
        flex-direction: column;
    }
}
