/* --- Single Article Container --- */
.single-article-main {
    padding: 40px 0;
}

.article-full {
    max-width: 900px; /* Constrain article width for better readability */
    margin: 0 auto;
    background: #fff;
    padding: 20px;
}



/* --- ARTICLE HERO HEADER (Copied and adapted from topic-page.css) --- */
.article-hero-section {
    position: relative;
    width: 100%;
    height: 40vh; 
    overflow: hidden;
    margin-bottom: 30px;
}

.article-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(40%); 
    z-index: 1;
}

.article-hero-section .hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 0 1rem;
    color: #fff;
}

.article-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
}



/* --- Article Header & Title --- */
.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* --- Article Image --- */
.article-image {
	display: none;
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 6px;
}

/* --- Article Content (WYSIWYG styling) --- */
.article-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Basic styling for content elements */
.article-content p {
    margin-bottom: 1.2em;
}

.article-content h2,
.article-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

/* --- Google Map Section --- */
.article-map-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-map-section h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

/* ACF Map container must have fixed dimensions */
.acf-map {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .article-title {
        font-size: 2rem;
    }
    .article-content {
        font-size: 1rem;
    }
    .article-full {
        padding: 15px;
    }
    .acf-map {
        height: 300px;
    }
}