@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

.thsf-notam-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-family: 'Urbanist', sans-serif;
    max-width: 1440px;
    margin: 18px auto 40px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box; /* Include padding in width calculation */
    gap: 50px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (min-width: 1520px) {
    .thsf-notam-container {
        padding: 0 40px;
    }
}

.thsf-notam-content {
    flex: 1;
    min-width: 300px;
}

.thsf-notam-image {
    flex: 1.2; /* Give image slightly more space if needed */
    min-width: 300px;
    text-align: right;
}

.thsf-notam-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

.thsf-notam-title {
    font-size: 42px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.thsf-notam-text {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 400;
}

.thsf-notam-text p {
    margin-bottom: 20px;
}

.thsf-notam-btn {
    display: inline-block;
    background-color: #888888;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.thsf-notam-btn:hover {
    background-color: #666666;
    color: #ffffff;
}

@media (max-width: 991px) {
    .thsf-notam-container {
        flex-direction: column;
        text-align: center;
    }

    .thsf-notam-image {
        text-align: center;
        margin-top: 30px;
    }

    .thsf-notam-image img {
        margin: 0 auto;
    }
    
    .thsf-notam-title {
        font-size: 32px;
    }
}
