/* Body and general styles */
body {
    font-family: "Open Sans", serif;
    margin: 0;
    padding: 0;
}

main p {
    margin-bottom: 1rem;
}

/* Hide specific category by class */
.cat-item-1 {
    display: none;
}

/* Main menu styles */
ul.categs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    margin-left: 30px;
    margin-right: auto;
}

ul.categs > li {
    position: relative;
    margin: 0;
    padding: 0;
}

ul.categs > li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-right: 1px solid #ddd;
}

ul.categs > li:last-child a {
    border-right: none;
}

/* Hover effect for main menu */
ul.categs > li a:hover {
    background-color: #ddd;
    color: #000;
}

/* Submenu (2nd level) styles */
ul.children {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    z-index: 1000;
}

ul.children > li {
    width: 200px; /* Width for submenu items */
}

ul.children > li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

ul.children > li:last-child a {
    border-bottom: none;
}

/* Hover effect for submenu items */
ul.children > li a:hover {
    background-color: #ddd;
    color: #000;
}

/* Display submenu on hover */
ul.categs > li:hover > ul.children,
ul.children > li:hover > ul.children {
    display: block;
}

/* Nested submenu (3rd level) styles */
ul.children ul.children {
    top: 0;
    left: 100%;
    display: none;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

ul.children > li:hover > ul.children {
    display: block;
}


/* General Typography Styles */
body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Headings */
article h1, article h2,article h3,article h4,article h5,article h6, h1.module-heading {
    color: #222;
    margin: 0 0 15px;
    line-height: 1.4;
}
h1.module-heading{
    font-weight: 300 !important;
    text-transform: uppercase;
}
article h1 , h1.module-heading{
    font-size: 2.5rem;

}

article h2 {
    font-size: 2rem;
}

article h3 {
    font-size: 1.75rem;
}

article h4 {
    font-size: 1.5rem;
}

article h5 {
    font-size: 1.25rem;
}

article h6 {
    font-size: 1rem;
}

/* Paragraphs */
p {
    margin: 0 0 1.5em;
}

/* Links */
main article a:hover {
    color: rgba(30,64,175,var(--tw-bg-opacity));
    text-decoration: none;
    transition: color 0.3s ease;
}

main a:hover {
    color: #b7935b;
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

ul li, ol li {
    margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid #ccc;
    margin: 1.5em 0;
    padding: 0.5em 1.5em;
}

/* Code */
code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

pre {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f8f9fa;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: left;
}

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

/* Small Text */
small {
    font-size: 0.875em;
    color: #666;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

article h2 a {
    font-weight: bold;
}



.wp-block-embed__wrapper {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}
#login-popup {
    z-index: 1000;
}
#login-popup .close-login-popup {
    cursor: pointer;
}


.latest-posts {
    list-style: none;
    padding: 0;
    margin-bottom: 100px;
}

.latest-posts li {
    margin-bottom: 10px;
}

.latest-posts li a {
    text-decoration: none;
    color: #b7935b;

}

.latest-posts li a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-underline-color: #b7935b ;
    color: #79613b;
}
.list-disc::marker {
    color: #b7935b;
}
.list-disc:hover {
    text-underline-offset: 5px;
    text-underline-color: #b7935b ;
    color: #79613b !important;
}
.mnjah {
    margin-top: 10px;
}

.wp-block-heading {
    color: #000 ;
    font-weight: 100;
}
