/* COURSES CSS */
.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

/* .lecture-attachment-type-text:first-of-type {
    display: none;
} */

/* Lesson Header */
h2#lecture_heading svg { display: none; }
h2#lecture_heading {
    line-height: 1.2em;
    text-indent: 0;
    font-size: 2.9em;
}
/* Other headers */
h3, .h3, h4, .h4 {
    font-size: 24px;
    line-height: 33px;
    font-weight: bold;
}
/* Code blocks */
pre[class*="language-"] {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}
.token.atrule, .token.keyword {
    color: #FF65D6 !important;
}

/* Inline Code */
code {
    background: rgba(129, 139, 152, 0.12);
    color: #1F2328;
    border-radius: 6px;
    padding: 0.15rem 0.3rem;
    white-space: break-spaces;
    font-size: 85%;
}

/* Lesson Body */
h1, h2, h3, h4, h5, p {
    word-break: keep-all;
}

img {
    border-radius: 8px;
}

video {
    width: 100%;
    height: auto;
}

figcaption {
    margin-bottom: 1em;
    margin-top: .5em;
    display: block;
}

.aligncenter {
    text-align: center;
}

/* Quotes */
blockquote {
    border-left: 6px solid #666;
    border-radius: 4px;
    background: #F5F5F5;
    font-style: italic;
}

blockquote p:last-child {
    margin-bottom: 0 !important; 
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tr:hover {
    background-color: #f1f1f1;
}

td {
    color: #333;
}

.table-container {
    overflow-x: auto;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    background-color: white;
}

/* Custom Blocks */
/** Compiler Error **/
.compiler-error {
    background: #853835;
    display: flex;
    align-items: center;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin: 1rem 0;
}
.compiler-error img {
    padding-right: 0.5rem;
    padding-left: 0.25rem;
}
.compiler-error p {
    color: inherit;
    margin: 0;
    font: inherit;
    line-height: inherit;
}
/** Sample Code **/
aside.sample-code-note {
    background-color: #F5F5F7;
    border-radius: 1rem;
    border-color: var(--color-aside-note-border);
    border: 1px solid #696969;
    box-shadow: rgb(105, 105, 105) 0px 0px 1px 0px inset, rgb(105, 105, 105) 0px 0px 1px 0px;
    padding: 1rem;
    margin: 2rem 0;
}
aside.sample-code-note p {
    padding: 0;
    margin: 0 !important;
}
aside.sample-code-note .label {
    font-size: 1em;
    line-height: 1.5294417647;
    font-weight: 600;
    letter-spacing: -.022em;
    color: #696969;
}
aside.sample-code-note a {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}
aside.sample-code-note a svg {
    margin-right: 0.5rem;
}
/** Notes **/
.note-block {
    background: #F5F5F5;
    border-left: 6px solid #666;
    border-radius: 0.4rem;
    padding: 1rem;
    margin-top: 1.7rem;
    margin-bottom: 1rem;
}

.note-block .note-label {
    color: #000000;
    font-size: 17px !important;
    line-height: 1.53 !important;
    font-weight: 600 !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-bottom: 0 !important;
    padding: 0;
}
.note-block p:last-of-type {
    margin-top: 0.5rem;
    margin-bottom: 0;
}
/** Quizes **/
.quiz-wrapper .quiz {
    max-width: 800px;
}
.quiz-wrapper .quiz .quiz-question {
    width: 100%;
    margin: 0 0 30px;
}
