.blog-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.blog-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 15px;
    border-radius: 5px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 85%;
}

#pdf-container {
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    max-height: 85%;
}

/* Close Button */
.blog-close {
    position: fixed; /* Change to fixed to keep it at the top-right of the viewport */
    top: 20px; /* Position it 15px from the top */
    right: 10px; /* Position it 15px from the right */
    width: 30px; /* Set the width of the button */
    height: 30px; /* Set the height of the button */
    background-color: #fff; /* White background for the button */
    /*border-radius: 10px 0 10px 0;*/ /* Round top-left and bottom-right corners */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
    display: flex; /* Flexbox to center the "X" */
    align-items: center; /* Center the "X" vertically */
    justify-content: center; /* Center the "X" horizontally */
    cursor: pointer; /* Show a pointer cursor */
    font-size: 18px; /* Size of the "X" */
    font-weight: bold; /* Bold "X" */
    color: #000; /* Color of the "X" */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
    z-index: 1001; /* Ensure the button is above other elements */
}

    .blog-close:hover {
        background-color: #e0e0e0; /* Change background color on hover */
        color: #000; /* Keep the "X" color dark on hover */
    }

    .blog-close:focus {
        color: #000; /* Changes close button color on focus */
        text-decoration: none; /* Removes underline */
    }


/* Optional: You can add responsiveness for smaller screens */
@media (max-width: 600px) {
    .blog-modal-content {
        width: 95%;
        max-width: none; /* Removes max-width on smaller screens */
    }

    .blog-close {
        font-size: 24px; /* Slightly smaller close button for mobile */
    }
}

#blog-download {
    color: lightseagreen;
    cursor: pointer;
}

    #blog-download:hover {
        color: aquamarine;
    }

.blog-hr {
    margin-top: 10px;
    margin-bottom: 10px;
}
