.hero-post-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
}

.hero-post-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 60px 20px; }

.hero-post-container {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: clamp(170px, 18vw, 260px) clamp(16px, 4vw, 40px);
}

/* Stronger selectors for production where theme/Elementor styles can override base rules. */
.elementor-widget-hero-latest-post .hero-post-wrapper {
    min-height: 70vh !important;
}

.elementor-widget-hero-latest-post .hero-post-container {
    max-width: 1400px !important;
    padding: clamp(170px, 18vw, 260px) clamp(16px, 4vw, 40px) !important;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #00aeef;
    margin-bottom: 22px;
}

.hero-date-icon {
    display: inline-flex;
    line-height: 0;
}

.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1.1; color: #fff; text-transform: uppercase; }

.hero-title {
    margin: 0 0 18px;
    max-width: 980px;
    letter-spacing: 0.02em;
}

.hero-excerpt {
    max-width: 760px;
    margin: 0 0 34px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.hero-btn-primary {
    background: #00aeef;
    color: #fff;
}

.hero-btn-secondary {
    background: #fff;
    color: #000;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-excerpt {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero-post-wrapper {
        min-height: 70vh;
    }

    .hero-post-container {
        padding: clamp(120px, 18vw, 160px) clamp(14px, 5vw, 20px) clamp(72px, 12vw, 110px);
    }

    .elementor-widget-hero-latest-post .hero-post-wrapper {
        min-height: 70vh !important;
    }

    .elementor-widget-hero-latest-post .hero-post-container {
        padding: clamp(120px, 18vw, 160px) clamp(14px, 5vw, 20px) clamp(72px, 12vw, 110px) !important;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-excerpt {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-date {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
}
