/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@font-face {
    font-family: 'Neue Montreal';
    src: url('./fonts/NeueMontreal-Regular.eot');
    src: local('Neue Montreal Regular'), local('NeueMontreal-Regular'),
        url('./fonts/NeueMontreal-Regular.eot?#iefix') format('embedded-opentype'),
        url('./fonts/NeueMontreal-Regular.woff2') format('woff2'),
        url('./fonts/NeueMontreal-Regular.woff') format('woff'),
        url('./fonts/NeueMontreal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('./fonts/NeueMontreal-Medium.eot');
    src: local('Neue Montreal Medium'), local('NeueMontreal-Medium'),
        url('./fonts/NeueMontreal-Medium.eot?#iefix') format('embedded-opentype'),
        url('./fonts/NeueMontreal-Medium.woff2') format('woff2'),
        url('./fonts/NeueMontreal-Medium.woff') format('woff'),
        url('./fonts/NeueMontreal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('./fonts/NeueMontreal-Bold.eot');
    src: local('Neue Montreal Bold'), local('NeueMontreal-Bold'),
        url('./fonts/NeueMontreal-Bold.eot?#iefix') format('embedded-opentype'),
        url('./fonts/NeueMontreal-Bold.woff2') format('woff2'),
        url('./fonts/NeueMontreal-Bold.woff') format('woff'),
        url('./fonts/NeueMontreal-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

a { font-family: 'Neue Montreal', sans-serif; }
p { font-family: 'Neue Montreal', sans-serif; }
strong { font-family: 'Neue Montreal', sans-serif; }
strong a { font-family: 'Neue Montreal', sans-serif; text-decoration: underline }
li { font-family: 'Neue Montreal', sans-serif; }
span { font-family: 'Neue Montreal', sans-serif; }
h1 { font-family: 'Neue Montreal', sans-serif; }
h2, h3, h4, h5, h6 a { font-family: 'Neue Montreal', sans-serif; }

.nf-after-field .nf-error-msg { font-family: 'Neue Montreal', Arial; }
.nf-error-msg, .ninja-forms-req-symbol { font-family: 'Neue Montreal', Arial; }
.nf-after-field .nf-error-msg { font-family: 'Neue Montreal', Arial; }
body[data-form-submit=regular] .container-wrap button[type=submit], body[data-form-submit=regular] .container-wrap input[type=submit] { font-family: 'Neue Montreal', Arial; }


body .post.masonry-blog-item .post-meta .date { font-family: 'Neue Montreal', Arial; }

.post-area.masonry .post .post-content {
    padding-left: 0 !important;
    background: #f8f8f8;
    border-radius: 10px; 
   }

.masonry.material .masonry-blog-item .inner-wrap {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.masonry.material .masonry-blog-item .inner-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

/* Blog Post Content Styling */
.post-area.masonry .post .post-content {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.post-area.masonry .post .post-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

/* ===================================
   WHITEPAPER GRID STYLES
   =================================== */

.whitepaper-grid {
    display: grid;
    gap: 30px;
    padding: 20px 0 40px;
    width: 100%;
}

/* Standard: 3 Spalten */
.whitepaper-grid,
.whitepaper-grid-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 2 Spalten */
.whitepaper-grid-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 4 Spalten */
.whitepaper-grid-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .whitepaper-grid-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 990px) {
    .whitepaper-grid,
    .whitepaper-grid-columns-3,
    .whitepaper-grid-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .whitepaper-grid,
    .whitepaper-grid-columns-2,
    .whitepaper-grid-columns-3,
    .whitepaper-grid-columns-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.whitepaper-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
}

.whitepaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.whitepaper-card-icon {
    margin-bottom: 25px;
}

.whitepaper-card-icon svg {
    width: 64px;
    height: 64px;
    color: #333;
}

.whitepaper-card-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 15px;
    font-family: 'Neue Montreal';
}

.whitepaper-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.whitepaper-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    flex-grow: 1;
    font-family: 'Neue Montreal';
}

.whitepaper-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.whitepaper-card-button:hover {
    background: #333;
    gap: 15px;
}

.whitepaper-card-button svg {
    width: 18px;
    height: 18px;
}

/* ===================================
   EMAIL COLLECTOR RESPONSIVE FIX
   =================================== */

/* Verhindert, dass das Feld auf größeren Screens übersteht */
.email-collector-field {
    max-width: 100%;
    overflow: hidden;
}

.email-collector-input {
    max-width: 100%;
}

/* Bessere responsive Darstellung auf mobilen Geräten */
@media (max-width: 768px) {
    .email-collector-wrapper {
        max-width: 100% !important;
        padding: 0 15px;
    }
    
    .email-collector-input-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .email-collector-field {
        width: 100%;
        margin-bottom: 12px !important;
    }
    
    .email-collector-input {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Für sehr kleine Screens */
@media (max-width: 480px) {
    .email-collector-wrapper {
        padding: 0 10px;
    }
    
    .email-collector-input,
    .email-collector-button {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
}
