.tw-my-8{
margin-top: 0px;
}

.tw-pt-5{
padding-top: 0px;
}

.tw-my-5{
margin-top: 4px;
margin-bottom: 12px;
text-decoration: underline;
}

/* Space between blocks */
.lesson-content div.tw-mt-8 {
margin-top: 0px;
}

/* Space under lesson title */
.lesson-content h1 {
margin: 24px 0;
}

/* cards size in members area */
.courses .tw-card, .communities .tw-card {
width: 250px;
}

/* img inside cards size in members area */
.tw-card figure img {
height: auto;
}

.tw-text-base a {
    text-decoration: underline;
}
.tw-text-base a:link { color: #0000EE;}
.tw-text-base a:visited { color: #551A8B; }
.tw-text-base a:link:active, .tw-text-base:visited:active { color: #FF0000; }

main .Products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
main .Products > div .tw-w-60 {
    width: auto;
    height: 100%;
}
main .Products > div .tw-w-60 p {
    flex-grow: 1;
    display: flex;
    align-items: end;
}

main .Products .tw-card-title {
    font-size: 15px;
    font-weight: bold;
}

@media screen and (max-width:800px) {
    main .Products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    main .Products > div .tw-w-60 {
        width: auto;
    }
}

@media screen and (max-width:1000px) and (orientation:landscape) {
    main .Products {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    main .Products > div .tw-w-60 {
        width: auto;
    }
}

:has(.lesson-content) #trusted-logins-react{display:block;}

.lesson-content {
    display: flex;
    flex-direction: column;
}
.lesson-content h1 {
    margin-top: -20px;
}
.lesson-content .Products {
    order: 10;
}
.lesson-content #comments {
    order: 20;
}

:has(.enrolled[data-id="e70e7943-ba21-4ebc-8c72-2cefcbd91a47"]) .not-enrolled[href*="/products/recorded-on-demand-training-lishi-auto-course-learn-picking-decoding-recovering-lost-keys"] {
   display: none;
}

.button:nth-child(6),
[type="button"]:nth-child(6),
[type="reset"]:nth-child(6),
[type="submit"]:nth-child(6) {
  background-color: var(--primary-button-background) !important;
}