@charset "utf-8";


:root {
    --color-primary: rgb(255, 106, 0);
    --color-primary-alt: rgb(255, 51, 0);
    --color-primary-light: rgb(255 241 238);
    --color-secondary: rgb(0, 127, 112);
    --color-secondary-alt: rgb(0, 90, 80);
    --color-secondary-light: #eaf5f3;
    --color-tag: gainsboro;
    --card-border-radius: 8px;
    --card-gap: 24px;
    --container-max-width: 1160px;
    --quiz-color-primary: #005067;
    --quiz-color-primary-alt: rgb(0, 139, 139);
}


* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;

}

html,
body {
    min-height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Mulish', sans-serif;
    font-weight: 500;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    color: #313131;
    background-color: #eaeced;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-primary)
}

.post-content a::after {
    content: " \2197";
}

p {
    margin: 1.2em 0;
}


h1 {
    font-weight: 800;
    line-height: normal;
    /* padding: 0.5em 0; */
}

.post-content h2 {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-secondary);
    line-height: normal;
    /* background-color: var(--color-secondary-light); */
    /* background-color: #fafad2; */
    position: relative;
    padding: 16px;
    margin: 1em 0;
}

.post-content h2::before,
.post-content h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 16px;
}


.post-content h3 {
    font-size: medium;
    font-weight: normal;
    margin: 1em 0;
    padding: 12px;
    background-color: var(--color-secondary-light);
    border-left: 5px solid var(--color-secondary);
    border-radius: 4px;
}

.post-content h4 {
    font-size: medium;
    font-weight: normal;
    margin: 1em 0;
    padding: 12px;
    background-color: var(--color-primary-light);
    border-left: 5px solid var(--color-primary);
    border-radius: 4px;
}

.post-content h5 {
    margin: 1em 0;
    padding: 12px;
    background-color: rgb(171, 213, 255);
    border-left: 5px solid rgba(0, 68, 255, 0.468);
    border-radius: 4px;
}

.post-content hr {
    border-bottom: 2px dashed;
    border-color: darkgray;
}

.post-content blockquote {
    margin: 1em 0;
    padding: 12px;
    background-color: var(--color-secondary-light);
    border-left: 5px solid var(--color-secondary);
    border-radius: 4px;
}

.post-content li::marker {
    color: var(--color-secondary);
}



header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: white;
    gap: 16px;
}

.logo {
    display: flex;
    height: 28px;
    width: auto;
}


.site-title {
    min-height: 50px;
    min-width: 50px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 800;
    padding: 35px 0;
    padding-right: 28px;
    cursor: pointer;
}

.main-nav,
.main-nav-mobile {
    display: flex;
    flex-direction: row;
    justify-content: center;

    align-items: center;
    gap: 1.5em;
    overflow: auto;
    scrollbar-width: thin;
    position: sticky;
    top: -1px;
    padding: 16px;
    color: black;
    background-color: white;
    border-top: 1px solid rgb(219, 219, 219);
    box-shadow: 0 8px 6px -6px grey;
    z-index: 15;
}

.main-nav-mobile {
    display: none;
    justify-content: flex-start;
    top: 0;
    font-weight: 800;
    color: var(--color-primary);
}

.site-title-mobile {
    font-size: larger;
}


.a_top {
    display: none;
    width: 730px;
    height: 92px;
    background-color: bisque;
}



#menu-toggle {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-primary);
    position: relative;
    width: 24px;
    height: 24px;
}

#menu-toggle svg {
    position: absolute;
    top: 0;
    left: 0;
    transition:
        opacity 0.3s,
        transform 0.3s;
}

.main-nav-mobile .icon-close {
    display: none;
    opacity: 0;
    transform: rotate(-90deg);
}

.main-nav-mobile .icon-menu {
    opacity: 1;
    transform: rotate(0deg);
}

.main-nav-mobile.is-open .icon-menu {
    opacity: 0;
    transform: rotate(90deg);
    display: none;
}

.main-nav-mobile.is-open .icon-close {
    display: block;
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - var(--header-height));
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 10;

    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        visibility 0.3s;
}

.mobile-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.mobile-links a:hover {
    color: var(--color-primary-alt);
}

.mobile-links a.active {
    background-color: var(--color-primary);
    color: white;
    font-weight: bold;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 12px;
}

.container {
    max-width: var(--container-max-width);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--card-gap);
}

.list {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
    flex: 1 1 0;
}

.list-card {
    display: flex;
    flex-direction: row;
    gap: var(--card-gap);
    padding: 28px;
    background-color: white;
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.14);
    word-break: break-word;
    border-radius: var(--card-border-radius);

}

.post-thumbnail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    aspect-ratio: 1 / 1;
    align-self: center;
}

.post-thumbnail-title {
    position: absolute;
    color: white;
    color: rgba(224, 255, 220, 0.9);
    padding: 6%;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5rem;
    font-family: "Caveat", cursive;
}


.post-thumbnail>img {
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.post-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.post-details p {
    margin: 0;
}

.category-container {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    margin-bottom: 1em;
}

.category-item {
    display: inline-block;
    border-bottom: solid 3px var(--color-primary);
    cursor: pointer;
    transition: 0.2s;
}

.category-item:hover {
    color: var(--color-primary);

}

.tags-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


.tags-container a {
    float: left;
    height: 24px;
    line-height: 24px;
    position: relative;
    font-size: 11px;

    margin-left: 20px;
    padding: 0 10px 0 12px;
    background: var(--color-tag);
    color: black !important;
    text-decoration: none;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
}

.tags-container a:before {
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -12px;
    width: 0;
    height: 0;
    border-color: transparent var(--color-tag) transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
}

.tags-container a:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    float: left;
    width: 4px;
    height: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    -moz-box-shadow: -1px -1px 2px #004977;
    -webkit-box-shadow: -1px -1px 2px #004977;
    box-shadow: -1px -1px 2px #004977;
}

.list-card-title {
    display: block;
    font-size: 26px;
    line-height: normal;
    font-weight: 700;
    color: black;
    transition: 0.2s;


}

.list-card-title:hover {
    color: var(--color-primary);

}

.list-card-author {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 1em;
    color: grey;
    cursor: pointer;
    transition: 0.2s;

}

.list-card-author:hover {
    color: var(--color-primary);
}

.list-card-author:before {
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCI+PHBhdGggZD0iTTEwIDEwcS0xLjI1IDAtMi4xMjUtLjg3NVQ3IDdxMC0xLjI1Ljg3NS0yLjEyNVQxMCA0cTEuMjUgMCAyLjEyNS44NzVUMTMgN3EwIDEuMjUtLjg3NSAyLjEyNVQxMCAxMFptLTYgNnYtMnEwLS40NzkuMjYtLjkwNi4yNjEtLjQyNy43MTktLjcxOSAxLjE0Ni0uNjY3IDIuNDI3LTEuMDIxUTguNjg4IDExIDEwIDExcTEuMzEyIDAgMi41OTQuMzU0IDEuMjgxLjM1NCAyLjQyNyAxLjAyMS40NTguMjcxLjcxOS43MDguMjYuNDM4LjI2LjkxN3YyWiIvPjwvc3ZnPg==');
    position: relative;
    vertical-align: text-top;

    width: 10px;
    height: 10px;
}



.list-card-snippet {
    margin-bottom: 16px;
}

.btn {
    color: white;
    padding: 0.5em 1.5em;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.btn:hover {
    color: white;

}

.btn-default {
    background-color: var(--color-primary);
}

.btn-default:hover {
    background-color: var(--color-primary-alt);
}

.inactive {
    background-color: rgb(41, 41, 41) !important;
}

.page-wrapper {
    flex: 1 1 0;
    overflow-x: auto;
}

.page {
    line-height: 2;
    width: 100%;
    min-height: 300px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.14);
    background-color: white;
    border-radius: var(--card-border-radius);
    border-bottom: 1px solid gainsboro;
}

.page img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    justify-self: center;
    border-radius: 8px;
}


.page a {
    color: var(--color-secondary);
}

.page a:hover {
    color: var(--color-primary-alt);
}

.post-author-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    line-height: 1.5;
    padding: 4px;
}

.post-author-avatar {
    width: 50px;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
}

.post-author-name {
    margin: 12px;
    text-align: right;
}

.post-date {
    color: grey;
    font-size: smaller;
}

.next-prev-post {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;

}

.previous-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.link-next-prev:hover {
    color: var(--color-primary);
    transition: 0.3s;

}


ul.pagination {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-weight: 700;
    margin: 0;

}

li.page-item>* {
    color: white;
    padding: 0.5em 1em;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s ease-out;
    margin-right: 0.5em;
    background-color: rgb(41, 41, 41);
}

li.page-item:hover>* {
    background-color: var(--color-primary-alt);

}

li.active>* {
    background-color: var(--color-primary);
}

.sidebar {
    display: flex;
    flex: 0 0 340px;
    flex-direction: column;
    gap: var(--card-gap);
}

.small-text {
    font-size: small;
}

.sidebar a {
    color: var(--color-secondary);
}

.sidebar a:hover {
    color: var(--color-primary-alt);

}

.sidebar-widget {
    width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.14);
}


/* ===== Sidebar Scrollbar CSS ===== */

/* Firefox */

.scrollbar {
    max-height: 1200px;
    overflow-y: auto;
    scrollbar-width: thin;
    /* scrollbar-color: var(--color-primary) #ffffff; */

}

/* Chrome, Edge, and Safari */
.scrollbar::-webkit-scrollbar {
    width: 2px;
}

.main-nav-content::-webkit-scrollbar {
    width: 10px;
}

.scrollbar::-webkit-scrollbar-track {
    background: rgba(148, 4, 4, 0);
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(82, 99, 197, 0.5);
    border-radius: 8px;
    border: 0px;
}

.widget-title {
    font-size: 20px;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 0.5em;
    border-bottom: solid 3px var(--color-primary);
}


.list-index {
    list-style: none;
    line-height: 1.5;
}

.list-index li:before {
    content: '» ';
    margin: 0 0 0 -15px;
    padding-right: 5px;
    display: inline-block;
    width: 10px;
}

.navigation-pagination {
    display: flex;
    flex-direction: row;
    width: 100%;
}

footer {
    word-break: break-all;
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    color: white;
    background-color: #2e2e35;
    padding: 24px;
}

.footer-row a {
    margin: 4px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.footer-col-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 10px 0;
    border-bottom: solid 1px grey;
    width: 100%;
}

.footer-col ul {
    list-style: none;
    line-height: 1.5;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

#button-scroll-to-top {
    min-width: 20px;
    min-height: 20px;
    display: block;
    position: fixed;
    padding: 8px 12px;
    border-radius: 15px;
    right: 30px;
    bottom: 30px;
    z-index: 50;
    color: white;
    background-color: var(--color-primary);
    cursor: pointer;
}

.hidden {
    visibility: hidden;
}

.button-scroll-to-top:hover {
    color: white;
}

.error-container {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    width: 100%;
    min-height: 350px;

}

.error404 {
    color: rgb(232, 0, 0) !important;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 0.5em;
}

.error-not-found {
    font-size: 1.5rem;
    font-weight: 700;
}

figure {
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    /* width: 100%; */
}

.page table {
    /* table-layout: auto; */
    min-width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    border: 1px solid;
    border-color: var(--color-secondary-light);
    /* hyphens: auto; */
    /* word-break:break-all; */

}

.page th,
.page td {
    padding: 8px;
}

.page thead th {
    color: white;
    background-color: var(--color-secondary);
    text-align: center;
    font-weight: bold;
}



.page tr:nth-child(odd) {
    /* background-color: #f5f5f5; */
    background-color: var(--color-secondary-light);
}

.page table a {
    padding: 4px;
    border-radius: 8px;
    background: var(--color-secondary);
    color: white;
}


.page table a:hover {
    color: white;
    background: var(--color-secondary-alt);
}


.page table em {
    /* font-weight: bold; */
}

.page figcaption {
    font-size: 0.8em;
    text-align: center;
    line-height: normal;
    margin-bottom: 16px;
}



ul,
ol {
    margin-left: 20px;
}


em,
i {
    font-style: normal;
    /* font-weight: bold; */
    cursor: pointer;
    padding: 3px 5px;
    /* border: 2px dotted orange; */

    letter-spacing: .1rem;
    border-radius: 12px;


}


/*----- play buttons --*/

.my-button-play,
.my-button-stop,
.my-button-error {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    border-radius: 25%;
    cursor: pointer;
}

/* Play */
.my-button-play {
    background-color: var(--color-secondary);
    -webkit-mask-image: url(/assets/quiz/play.svg);
    mask-image: url(/assets/quiz/play.svg);
}


/* Stop */
.my-button-stop {
    background-color: var(--color-secondary);
    -webkit-mask-image: url(/assets/quiz/stop.svg);
    mask-image: url(/assets/quiz/stop.svg);
}

/* Error */
.my-button-error {
    background-color: red;
    -webkit-mask-image: url(/assets/quiz/error.svg);
    mask-image: url(/assets/quiz/error.svg);
}



.UA {

    /* background-color: rgb(231 235 255); */
    background-color: lightgoldenrodyellow;
    border-bottom: 1px solid orange;




}

.EN {
    /* background-color: lightgoldenrodyellow; */
    background-color: rgb(231 235 255);
    border-bottom: 1px solid rgb(65, 96, 255);


}


.page-row {
    display: flex;
    flex-direction: row;
    margin: 12px 0;
    gap: 12px;

}

.page-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    /* background-color: #e1e1e1; */
}

.pagefind-ui form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    overflow: hidden;
    box-shadow: none;
    line-height: 1.5;
    word-break: break-word;

}


.pagefind-ui input[type=text] {
    flex-grow: 1;
    width: 80px;
    /* mobile fix , prevent clear button to go next line */
    font-size: larger;
    padding: 12px 16px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
    outline: none;
    border-radius: 24px 0 0 24px;
    color: #3c3c3c;
    transition: border-color 0.3s;
}

.pagefind-ui form>button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border-radius: 0 24px 24px 0;
    background-color: #f9f9f9;
    color: transparent;
    border: none;
    cursor: pointer;

}

.pagefind-ui form>button::after {
    content: "✕";
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-secondary);


}

/* pagefind-ui hide button */
.pagefind-ui__suppressed::after {
    color: transparent !important;
}

.pagefind-ui__message {
    padding: 16px 0 0 8px;
}


.pagefind-ui div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pagefind-ui p {
    margin: 0px;
}

.pagefind-ui div>button {
    padding: 16px;
}

.pagefind-ui ol {
    padding: 0;
    margin: 0;
    list-style-type: none;

}

.pagefind-ui li {
    padding: 16px 0;
    border-bottom: 1px solid #cecece;
}


.pagefind-ui a {
    font-size: larger;
    font-weight: bold;
}

.pagefind-ui a::before {
    content: '»';
    padding-right: 8px;
    position: relative;
    left: 0;

}



.result-item-title {}

#b-search {
    display: none;
}


.column-layout {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.column-item {
    flex: 1;

}



/*=============quiz================*/
#quiz-main {
    font-family: 'Mulish', sans-serif;
    line-height: normal;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    /* max-width: 700px; */
    border-radius: 0 0 12px 12px;
    padding-bottom: 12px;
    background-color: gold;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */

}

#quiz-title {
    font-weight: 900;
    font-size: larger;
    text-align: center;
    padding: 18px;
    background-color: var(--quiz-color-primary);
    color: white;

}

.quiz-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 24px;
}

#quiz-description {
    display: none;
    text-align: center;
}

#question-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.4em;
    /* line-height * 2 */
    font-size: xx-large;
    font-weight: bolder;
    text-align: center;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.answer {
    font-weight: bold;
    padding: 12px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    background-color: white;
}



.correct {
    background-color: rgb(118, 177, 0);
    color: white;
}

.incorrect {
    background-color: red;
    color: white;
}

.quiz-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

#quiz-sound {
    cursor: pointer;
    color: var(--quiz-color-primary);
}

#quiz-sound:hover {
    color: var(--quiz-color-primary-alt);
}

#next-question-button {
    cursor: pointer;
    background-color: var(--quiz-color-primary);
    padding: 12px;
    color: white;
    border-radius: 24px;
}

#next-question-button:hover {
    background-color: var(--quiz-color-primary-alt);
    transition: 0.3s;
}

#quiz-score {}

#quiz-progress-info,
#quiz-score-display {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
}

#quiz-found-mistake {
    text-align: right;
}

@media screen and (max-width: 980px) {
    .sidebar {
        display: none;
    }

    #b-search {
        display: inline-flex;
    }
}


@media screen and (max-width: 700px) {
    .list-card {
        flex-direction: column;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    header {
        display: none;
    }

    .main-nav {
        justify-content: flex-start;
        display: none;
    }

    .main-nav-mobile {
        display: flex;
    }

    .mobile-links {
        display: flex;
    }

    .logo {
        height: 20px;
    }

    /* body {
        background-color: white;
    } */

    /* .page-wrapper {
        margin: 0 10px;
    } */

    .page,
    .list-card {
        padding: 16px;
        box-shadow: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0px;
    }

    .column-layout {
        flex-direction: column;
    }

    /* Sticky first column properties */

    .page th:first-child,
    .page td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        /* filter: drop-shadow(4px 0 4px rgba(0, 0, 0, 0.05)); */
    }

    /* Conditional styling for the first column, uses Javascript*/
    .page figure.has-horizontal-scroll table th:first-child,
    .page figure.has-horizontal-scroll table td:first-child {
        filter: drop-shadow(4px 0 4px rgba(0, 0, 0, 0.05));

    }

    .page thead th {
        z-index: 3;
    }

    .page tr:nth-child(odd) {
        background-color: transparent;
    }

    .page tr:nth-child(odd) td {
        background-color: var(--color-secondary-light);
    }

    .page tr:nth-child(even) td {
        background-color: white;
    }

    .page tr:nth-child(odd) td:first-child {
        background-color: var(--color-secondary-light);
    }

    .page tr:nth-child(even) td:first-child {
        background-color: white;
    }
}




#abc-container {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 1.5;
}

.abc-box {
    margin: 4px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 90px;
    flex: 1;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.abc-box:hover {
    background-color: var(--color-secondary-light);
}

.abc-letter {
    color: black;
    font-weight: bold;
    font-size: xx-large;
    margin-bottom: 2px;
}

.abc-tra {
    color: rgb(128, 128, 128);
    font-family: arial;
}

.abc-eg {
    color: rgb(0, 102, 255);
    font-family: arial;
    font-size: smaller;
    text-align: center;
}

.abc-name {
    color: rgb(14, 119, 0);
    font-size: larger;
    font-family: arial;
    font-size: smaller;
}

.abc-eg b {
    color: rgb(0, 31, 133);
}

.vowel {
    color: orangered;
}

.consonant {
    background-color: yellowgreen;
}


/* tinymce-custom-styles */


/* --- 1. Blue: General Information (style-info) --- */
.style-info {
    padding: 15px;
    margin: 1em 0;
    border: 1px solid #b8daff;
    border-left: 5px solid #007bff;
    /* Blue */
    background-color: #e3f2fd;
    color: #004085;
    border-radius: 4px;
}

/* --- 2. Green: Success / Rule (style-success) --- */
.style-success {
    padding: 15px;
    margin: 1em 0;
    border: 1px solid #c3e6cb;
    border-left: 5px solid #28a745;
    /* Green */
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
}

/* --- 3. Orange/Yellow: Warning / Caution (style-warning) --- */
.style-warning {
    padding: 15px;
    margin: 1em 0;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107;
    /* Orange/Yellow */
    background-color: #fff3cd;
    color: #2c2100;
    border-radius: 4px;
}

/* --- 4. Red: Danger / Error (style-danger) --- */
.style-danger {
    /* Use the same styling as your original 'style-note' but with the new, clearer name */
    padding: 15px;
    margin: 1em 0;
    border: 1px solid #f5c6cb;
    border-left: 5px solid #dc3545;
    /* Red */
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}