/* ==========================================================================
   UDRU DFF - Main Stylesheet
   ========================================================================== */

/* Hero Slider & PR News Filters (index.php) */
.slide {
    transition: opacity 1s ease-in-out;
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.news-card {
    transition: all 0.3s ease;
}

.news-card.hidden-card {
    display: none;
}

.filter-btn.active {
    background-color: #0B2447;
    color: #D4AF37;
    border-color: #0B2447;
}

/* Custom styles to render content from WYSIWYG properly with Tailwind reset (news-details.php) */
.news-content {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.85;
}

.news-content p {
    margin-bottom: 1.25rem;
}

.news-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B2447;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 650;
    color: #0B2447;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.news-content ul {
    list-style-type: disc;
    margin-left: 1.75rem;
    margin-bottom: 1.25rem;
    display: block;
}

.news-content ol {
    list-style-type: decimal;
    margin-left: 1.75rem;
    margin-bottom: 1.25rem;
    display: block;
}

.news-content li {
    margin-bottom: 0.35rem;
}

.news-content a {
    color: #0B2447;
    text-decoration: underline;
    font-weight: 500;
}

.news-content a:hover {
    color: #D4AF37;
}

.news-content img {
    border-radius: 0.5rem;
    margin: 1.5rem auto;
    max-width: 100%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.news-content blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.25rem;
}
