/* Main Wrapper */
.fw-content-wrapper {
    position: relative;
    margin-bottom: 20px;
}

/* Teaser (Visible Content) */
.fw-teaser-content {
    position: relative;
    overflow: hidden;
    /* Optional: Limit max height if needed, but we usually just show 1st paragraph */
}

/* Fade Overlay */
.fw-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%);
    pointer-events: none;
}

/* Form Container */
.fw-form-container {
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid #ddd;
    border-top: none;
    /* Merges slightly with the fade if desired, or keep it distinct */
    text-align: center;
    border-radius: 0 0 8px 8px;
    margin-top: -20px;
    /* Pull it up into the fade area slightly */
    position: relative;
    z-index: 10;
}

.fw-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: #333;
}

/* Form Elements */
.fw-form-group {
    margin-bottom: 15px;
}

.fw-form-container input[type="email"],
.fw-form-container input[type="text"],
.fw-form-container input[type="tel"] {
    width: 100%;
    max-width: 350px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
    margin-bottom: 5px;
}

.fw-form-check {
    text-align: left;
    max-width: 400px;
    /* Wider for text but centered via margin auto */
    margin: 10px auto;
    font-size: 11px;
    /* Requested size */
    color: #555;
    display: flex;
    align-items: flex-start;
    /* Align checkbox to top of multi-line text */
}

.fw-form-check label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}

.fw-form-check input[type="checkbox"] {
    margin-top: 2px;
    /* Slight alignment adjustment */
    accent-color: #003159;
}

.fw-submit-btn {
    background-color: #003159;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fw-submit-btn:hover {
    background-color: #001f3d;
}

.fw-message {
    margin-top: 15px;
    font-weight: bold;
}

.fw-message.error {
    color: #003159;
}

.fw-message.success {
    color: #003159;
}

/* Subtitle */
.fw-form-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    margin-top: -10px;
    line-height: 1.5;
}

/* Cookie Warning */
.fw-cookie-warning {
    color: #003159;
    background-color: #e6f0fa;
    border: 1px solid #003159;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
}