/* Ensure the images within the advisory items are responsive */
.advisory-content img,
.advisory-content canvas {
    width: 100%;
    /* Keep it responsive */
    max-width: 100%;
    /* Allow image to take up full container width */
    max-height: 400px;
    /* Set a balanced height for images */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    margin: 0 auto;
    /* Center the image/canvas */
}

/* Center and style the advisory carousel container */
#advisories_carousel {
    max-width: 1200px;
    /* Adjusted to accommodate three items side by side */
    margin: 0 auto;
    /* Center the container */
    text-align: center;
    /* Center the content inside */
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* Ensure the buttons don't block clicks on the carousel items */
}

/* Style individual items within the carousel */
.owl-carousel .item {
    background: #fff;
    padding: 15px;
    margin: 5px;
    border-radius: 3px;
    text-align: left;
    /* Changed to left-align for better readability */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style the navigation buttons of the carousel */
.owl-nav button {
    background: none;
    border: none;
    font-size: 30em;
    color: #333;
    pointer-events: all;
    /* Re-enable pointer events for the buttons */
}

.owl-nav .owl-prev {
    position: absolute;
    left: -25px;
    font-size: 4em;
}

.owl-nav .owl-next {
    position: absolute;
    right: -25px;
    font-size: 4em;
}

.owl-nav .owl-prev span,
.owl-nav .owl-next span {
    font-size: 3em;
    /* Increase this value to make the arrow larger */
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.owl-nav button:hover {
    color: #5bbad5;
    /* Change color on hover */
}

/* Style the section title */
.section__title {
    margin-bottom: 40px;
}

/* Style the main title line */
.title__line {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Add an underline to the title */
.title__line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #5bbad5;
}

/* Theme color for text elements */
.text--theme {
    color: #5bbad5;
}

/* Additional styling for advisory content */
.advisory-content {
    padding: 15px;
    text-align: left;
    /* Ensure description is left-aligned for readability */
}

/* Style the advisory title */
.advisory-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    /* Added some more space below the title */
    line-height: 1.3;
    /* Improved readability */
}

/* Style the advisory date */
.advisory-date {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

/* Style the advisory description */
.advisory-description {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.5;
    /* Better readability for longer descriptions */
    max-height: 120px;
    /* Limit the height to balance with the image */
    overflow: hidden;
    /* Hide overflow text */
    text-overflow: ellipsis;
    /* Add ellipsis for overflow text */
    white-space: nowrap;
}

/* Style the "Read More" link */
.advisory-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5bbad5;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.advisory-link:hover {
    background-color: #489cbf;
}

#pdf-canvas {
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}