h2 {
    margin-top: 0;
    padding-top: 0;
    outline: none;
    text-align: center;
}        

/* Modal and Button Specific Styling */
.btn-open {
    background-color: #F0F0F4;
    color: black;
    padding: 4px 8px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    margin-top: 10px;
}

/* .btn-open:hover {
	font-size: 14px;
	outline: 2px solid #006341;
} */

/* .btn-open:focus {
    background-color: #FFEAE0;
    outline: 2px solid #006341;
} */

#narrativeModal {
    border: 1px solid black;
    border-radius: 8px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#narrativeModal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}

.modal-container {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 25px; /* 1rem 1.5rem; */
    background: #f0fffc;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
    font-family: system-ui, -apple-system, sans-serif;
    /* Removes the default focus outline when programmatically focused */
    outline: none;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    color: #222;
/*    font-family: system-ui, -apple-system, sans-serif; */
/*    line-height: 1.6; */
}

.btn-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.btn-close:hover {
    color: #000;
}