/* header {
    background-color: inherit; 
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    max-height: 20%;
    padding: 20px 0;
    text-align: center;
} */

/* Post header image used by single.php */
.post-header-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    /* Responsive height: between 220px and 55vh (use clamp for smooth scaling) */
    height: clamp(220px, 40vh, 55vh);
    color: #fff;
    position: relative;
    display: flex;
    align-items: center; /* vertically center overlay */
}

.post-header-overlay {
    background: rgba(0,0,0,0.45);
    padding: 2rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.post-header-image .post-title {
    margin: 0 0 0.25rem 0;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1.1;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.post-header-image .post-title,
.post-header-image .post-meta {
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.post-meta {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    opacity: 0.95;
    font-family: Arial, sans-serif;
    font-weight: 600;
}

/* Responsive navigation: show hamburger on small/medium screens */
 .menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Screen reader helper (visually hidden but accessible) */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
