/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* ============================================
   HEADER HERO — *ficient design
   ============================================ */
.site-header {
    position: relative;
    background: url('/wp-content/themes/generatepress-child/images/header-bg.jpeg') center/cover no-repeat;
    min-height: 180px;
    padding: 0;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}

.site-header .inside-header {
    position: relative;
    z-index: 2;
    padding: 25px 40px;
}

.main-title {
    font-size: 2.2em;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.main-title a {
    color: #222 !important;
    text-decoration: none !important;
}

/* The asterisk styling */
.main-title .asterisk {
    color: #1e73be;
    font-weight: 700;
    font-size: 1.1em;
}

.site-description {
    font-size: 0.85em;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    color: #555 !important;
    margin-top: 2px;
}

/* ============================================
   FEEDBACK WIDGET (right sidebar)
   ============================================ */
.feedback-widget {
    background: #f9f9fb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.feedback-widget h3 {
    font-size: 1em;
    margin: 0 0 12px;
    color: #333;
    line-height: 1.3;
}

.feedback-widget label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    margin-top: 10px;
}

.feedback-widget select,
.feedback-widget input[type="text"],
.feedback-widget input[type="email"],
.feedback-widget textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
    box-sizing: border-box;
}

.feedback-widget textarea {
    height: 80px;
    resize: vertical;
}

.feedback-widget .fb-row {
    display: flex;
    gap: 10px;
}

.feedback-widget .fb-row > div {
    flex: 1;
}

.feedback-widget button {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    background: #1e73be;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 600;
}

.feedback-widget button:hover {
    background: #155a96;
}

.feedback-widget .fb-success {
    display: none;
    padding: 12px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 4px;
    color: #2e7d32;
    text-align: center;
    font-size: 0.9em;
}

.feedback-widget .fb-honeypot {
    position: absolute;
    left: -9999px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .site-header {
        min-height: 120px;
    }
    .main-title {
        font-size: 1.6em;
    }
    .feedback-widget .fb-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Hide old Legal widget — replaced by functions.php version below feedback */
#text-6 { display: none !important; }

/* Hide old categories widget — replaced by custom sidebar nav */
#categories-5 { display: none !important; }
