
.hb-photooftheday-container {
    display: flex;
    background-color: #c0ffea;
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding: min(5vw, 20px);
    margin: 0 auto;
    align-items: center;
    padding-top: min(8vw, 60px);
}

.hb-photooftheday-camera-illustration {
    width: 30%;
    position: relative;
    z-index: 1;
}

.hb-photooftheday-camera-illustration img {
    width: 100%;
    height: auto;
    max-width: min(30vw, 300px);
}

.hb-photooftheday-photo-container {
    width: 35%;
    padding: min(5vw, 20px);
    z-index: 2;
    margin-left: -80px;
}

.hb-photooftheday-featured-photo {
    width: 100%;
    height: auto;
    border: clamp(3px, 0.5vw, 5px) solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    max-width: min(35vw, 400px);
}

.hb-photooftheday-text-content {
    width: 35%;
    z-index: 2;
    padding-right: min(3vw, 20px);
}

.hb-photooftheday-text-content h4{
	color: #fff;
    padding: 0 18px;
    background: #3e6458;
    width: fit-content;
    border-radius: 50px;
}
.hb-photooftheday-text-content h2 {
    color: #0c4332;
    font-size: 46px;
    margin-bottom: 0;
    font-weight: 600;
}

.hb-photooftheday-text-content p {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
}

@media (max-width: 768px) {
	.hb-photooftheday-text-content h4{
		margin:auto;
	}
	
    .hb-photooftheday-container {
        flex-direction: column;
        align-items: center;
        padding: min(5vw, 30px) min(4vw, 20px);
        min-height: auto;
        position: relative;
    }
    
    .hb-photooftheday-camera-illustration {
        display: none;
    }
    
    .hb-photooftheday-photo-container {
        width: min(85%, 500px);
        margin-left: 0;
        margin-bottom: min(5vw, 30px);
        padding: 0;
        position: relative;
        z-index: 2;
    }
    
    .hb-photooftheday-featured-photo {
        transform: rotate(-3deg);
        max-width: 100%;
    }
    
    .hb-photooftheday-text-content {
        width: min(90%, 600px);
        text-align: center;
        padding: min(3vw, 15px);
        position: relative;
        z-index: 2;
        background-color: rgba(192, 255, 234, 0.7);
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .hb-photooftheday-photo-container {
        width: 90%;
        margin-top: min(4vw, 20px);
        margin-bottom: 0;
    }
    
    .hb-photooftheday-text-content {
        width: 95%;
    }
}
