/* Global Styles */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

/* Ensure all text elements inherit the font family */
* {
    font-family: inherit;
}


/* Homepage Hero Styles */
.homepage-main {
    padding: 0;
    margin: 0;
}

.homepage-hero {
    min-height: calc(100vh - 72px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-notice {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* WPForms Customization */
.subscription-form-container .wpforms-container {
    margin: 0;
}

.subscription-form-container .wpforms-form {
    margin: 0;
}

.subscription-form-container .wpforms-field {
    margin-bottom: 1rem;
}

.subscription-form-container .wpforms-field input[type="email"],
.subscription-form-container .wpforms-field input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.subscription-form-container .wpforms-field input[type="email"]:focus,
.subscription-form-container .wpforms-field input[type="text"]:focus {
    border-color: #e74c3c;
    outline: none;
}

.subscription-form-container .wpforms-submit {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscription-form-container .wpforms-submit:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .subscription-form-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .homepage-hero {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .subscription-form-container {
        padding: 1rem;
    }
}

/* WPForms Styles */
.hero-subscription-form .wpforms-field-medium.wpforms-field-row {
    max-width: 100% !important;
}

.hero-subscription-form .wpforms-field.wpforms-field-content {
    padding-top: 0 !important;
}

.hero-subscription-form .subscription-form-container .wpforms-container {
    margin: 0 !important;
}

.hero-subscription-form .subscription-form-container .wpforms-field {
    margin-bottom: 0 !important;
}
/* WPForms Styles */
.footer-subscription-form .wpforms-field-medium.wpforms-field-row {
    max-width: 100% !important;
}

.footer-subscription-form .wpforms-field.wpforms-field-content {
    padding-top: 0 !important;
}

.footer-subscription-form .subscription-form-container .wpforms-container {
    margin: 0 !important;
}

.footer-subscription-form .subscription-form-container .wpforms-field {
    margin-bottom: 0 !important;
}

.post.type-post img {
    border-radius: 0.5rem;
}