/* ====================
   Hero Component
   ==================== */
.hero {
    background-color: #16234A;
    /* Fallback color */
    color: white;
    position: relative;
    width: 100%;
    display: block;
    /* Change from flex to block to avoid centering offsets */
    overflow: hidden;
    margin: 0;
    /* Remove all margins as requested */
    padding: 0;
    line-height: 0;
    /* Remove line-height gap below image */
}

/* Style the image injected by user */
.hero img {
    width: 100%;
    /* Force full width */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    object-fit: cover;
}

/* Torn Paper Bottom Effect */
/* Option 1: Using a mask or background-image if asset is available. 
   Option 2: CSS clip-path for immediate effect. */


.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-content h1 .highlight-text {
    color: #CE466C;
    /* Pink color */
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Icon (Flame) */
.hero-icon {
    margin-bottom: 1.5rem;
}

.hero-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
}

@media (max-width: 768px) {
    .hero {
        line-height: 0;
    }

    .hero img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero img {
        max-height: 200px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        padding: 0 0.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.75rem;
    }

    .hero-icon svg {
        width: 50px;
        height: 50px;
    }
}