
/* Layout for mobile and tablet */
@media screen and (max-width: 767px) {
	.entry-header.has-thumbnail {
		justify-content: center;
		align-items: flex-end;
		text-align: center;
	  }
	
	  .entry-overlay {
		padding: 0 1.5rem 3rem;
	  }
	
	  .entry-header.has-thumbnail .entry-title { font-size: 2.2rem; }
	  .entry-header.has-thumbnail .entry-excerpt { font-size: 1.2rem; }

	.desktop-nav {
		display: none;
	}

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0.75rem;
        right: 5.5rem;
        width: 2rem;
        height: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    /* The 3-bar hamburger */
    .mobile-menu-toggle .hamburger {
        position: relative;
        width: 1.5rem;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* The top and bottom bars */
    .mobile-menu-toggle .hamburger::before,
    .mobile-menu-toggle .hamburger::after {
        content: "";
        position: absolute;
        left: 0;
        width: 1.5rem;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Space them vertically */
    .mobile-menu-toggle .hamburger::before {
        transform: translateY(-6px);
    }
    .mobile-menu-toggle .hamburger::after {
        transform: translateY(6px);
    }
    

	.mobile-nav-overlay {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.95);
		z-index: 1000;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}

	.mobile-nav-overlay.active {
		opacity: 1;
		pointer-events: auto;
	}

	.mobile-nav-overlay ul {
		list-style: none;
		padding: 0;
		margin: 0;
		text-align: center;
	}

	.mobile-nav-overlay a {
		color: #fff;
		font-size: 1.5rem;
		text-decoration: none;
		padding: 1rem 0;
		display: block;
		transition: color 0.2s ease;
	}

	.mobile-nav-overlay a:hover {
		color: #ccc;
	}

	.mobile-menu-close {
		position: absolute;
		top: 0.5rem;
		right: 1.5rem;
		font-size: 2rem;
		color: #fff;
		background: none;
		border: none;
		cursor: pointer;
	}
}