/* USER GUIDANCE — cards, badges, downloads, images and videos */
.code-label {
    font-size: 8px !important;
}

.user-guidance-row {
    width: 100%;
}

.user-guidance-card {
    color: var(--font-color);
    background-color: var(--nav-bg-color);
    text-align: left;
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    max-width: 748px;
    min-height: 270px;
    margin: auto;
    box-sizing: border-box;
    box-shadow: 0 1.5px 4px var(--bs-table-shadow1-color),
        0 1.5px 6px var(--bs-table-shadow2-color), 0 0 6px rgba(184, 224, 187, 0.5);
}

.user-guidance-card-body {
    padding-right: 120px;
    flex: 1;
}

.user-guidance-card-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: large !important;
    padding-top: 18px;
    max-width: 90%;
    font-weight: 600;
}

.filename-text {
    margin-top: 22px;
}

.download-icon {
    position: absolute;
    right: 8px;
    top: 8px;
}

.section-text-container {
    display: flex;
    gap: 8px;
}

.section-text {
    font-size: small;
    border: 1px solid var(--navigation-card-active-font-color);
    border-radius: 6px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 2px;
    width: fit-content;
    margin-top: 22px;
    margin-bottom: 22px;
    font-weight: 500;
    color: var(--navigation-card-active-font-color);
    background-color: var(--navigation-card-active-hover-color);
    box-shadow: 0 1.5px 4px var(--bs-table-shadow1-color),
        0 1.5px 6px var(--bs-table-shadow2-color), 0 0 6px rgba(184, 224, 187, 0.5);
}

.type-text {
    font-size: small;
    border: 1px solid var(--navigation-card-active-font-color);
    border-radius: 6px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 2px;
    width: fit-content;
    margin-top: 22px;
    margin-bottom: 22px;
    font-weight: 500;
    color: var(--navigation-card-active-font-color);
    background-color: #fff3cd;
    box-shadow: 0 1.5px 4px var(--bs-table-shadow1-color),
        0 1.5px 6px var(--bs-table-shadow2-color), 0 0 6px rgba(184, 224, 187, 0.5);
}

.created-by-text {
    font-size: x-small;
    font-style: italic;
    position: absolute;
    bottom: 12px;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 50%;
    box-sizing: border-box;
}

.user-image {
    object-fit: contain;
    width: 60%;
    height: 60%;
}

.video-container .image_link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .user-guidance-card {
        flex-direction: column;
        min-height: 480px;
    }

    .video-container,
    .user-guidance-card-body {
        width: 100%;
    }

    .user-guidance-card-body {
        padding: 22px !important;
    }

    .video-container {
        padding-bottom: 0;
    }

    .video-container {
        padding-top: 32px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .user-guidance-card-title {
        padding-top: 0px;
    }
}