/* ========== ECONOMIC CALENDAR PAGE STYLES ========== */

.calendar-hero {
    height: 70vh;
    min-height: 600px;
    background: linear-gradient(to bottom, rgba(8, 32, 70, 0.95) 0%, rgba(8, 32, 70, 0.8) 100%), url('../images/backgrounds/calendar-hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.calendar-hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.calendar-hero h1 span {
    color: var(--clr-gold);
}

.calendar-hero p {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
}

.calendar-section {
    padding: 0 0 100px;
    /* background: #fcfcfc; */
    position: relative;
    z-index: 10;
}

.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.widget-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    height: 650px;
    width: 100%;
    margin: -100px auto 0;
    /* Centered with auto margins */
}

/* Responsive adjustment for the widget */
.tradingview-widget-container {
    width: 100% !important;
    /* height: auto !important; */
}

@media (max-width: 768px) {
    .calendar-hero {
        padding: 140px 20px 100px;
    }

    .calendar-hero h1 {
        font-size: 36px;
    }

    .calendar-hero p {
        font-size: 16px;
    }

    .widget-wrapper {
        padding: 15px;
        margin-top: -60px;
        height: 600px;
    }
}