a {
    color: #5c749a;
    text-decoration: none;
}

#articles div {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 1em;
}

details summary ol li {
    margin-bottom: 2px;
}

h3 {    
    text-align: center;
}

h5 {
    padding-top: 10px;
    text-align: left;
}

li {
    margin-bottom: 5px;
}

nav {    
    border-radius: 8px;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;  
}

ol {
    font-size: 0.75em;    
}

ol li {
    color: #000;
}

sup {
    font-size: 0.6em;
    color: red;
}

header {
    display: flex;
    flex-direction: column;   
    align-items: center;
    justify-content: center;

    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: #5c749a;
    z-index: 1000;
    display: flex;
}

header div {
    text-align: center;
}

body {
    animation: fadeInAnimation ease .5s;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;    
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: justify;
}

main {    
    flex: 1;
    padding: 2vh;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

footer 
{
    background: #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em;
}
footer span {
    text-align: left;
}
footer button {
    margin-left: auto;
}

strong {
    color: #000;
}

.table-header {
    background-color:#5c749a;
    color: #fff;
    text-align: center;
}

.blue {
    color: blue;
}

.green {
    color: green;
}

.red {
    color: red;
}

.black {
    color: #000;
}

.content {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ixthns {
    border-radius: 10px;
    border: #5c749a solid 1px;
    padding: 1em;
    background-color: #e1e7ef;
}

.scripture {
    border-radius: 10px;
    border: #5c749a solid 1px;
    background-color: #e1e7ef;
}

.pagelink {
    text-decoration: none;
    color: #647083;    
}
.pagelink:hover {
    color: #333;
}

.subtitle {
    font-size: 1.1em;
    background-color: #897324;
    color: #fff;
    text-align: center;
    font-style: italic;
    border:#897324 solid .5px;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.subtitle sup {
    font-size: 0.6em;
    color: #fff;
}

@media (min-width: 1000px) {
    main.content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    main.content > section {
        flex: 1 1 0;
    }
    main.content > details {
        flex: 0 0 300px;
        margin-top: 2.1rem;
    }
}

@media (max-width: 999px) {
    .pagelink {
        display: block;
        margin-bottom: 10px;
    }
}

/* Mobile adjustments (if your myFunction() adds a class like .responsive) */
@media screen and (max-width: 600px) {
    .dropdown-content {
        position: static; /* Stacks inline on mobile */
        display: none; /* Hide by default; toggle via JS */
        background-color: inherit; /* Matches mobile menu */
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: none; /* Disable hover on mobile */
    } 
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
