/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.0.1753698062
Updated: 2025-07-28 10:21:02

*/

/* Hide page title and date on review pages */
body.endorsehq-review-page .entry-header,
body.endorsehq-review-page .entry-title,
body.endorsehq-review-page .entry-meta,
body.endorsehq-review-page .posted-on,
body.endorsehq-review-page .byline,
body.endorsehq-review-page .cat-links,
body.endorsehq-review-page .tags-links {
    display: none !important;
}

/* Additional targeting for GeneratePress specific elements */
body.endorsehq-review-page .page-header,
body.endorsehq-review-page .entry-header .entry-title,
body.endorsehq-review-page .entry-meta {
    display: none !important;
}

/* EndorseHQ Company Header */
.endorsehq-company-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fcff 0%, #fff 100%);
    border-radius: 16px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.05);
}

.company-logo-container {
    margin-bottom: 1.5rem;
}

.company-logo {
    max-width: 150px;
    max-height: 150px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    display: block;
    margin: 0 auto;
}

.company-info {
    /* No flex properties needed for centered layout */
}

.company-name {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-website {
    margin: 0;
    font-size: 1.1rem;
}

.company-website a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-website a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* EndorseHQ Review Form Styling */
.endorsehq-review-form-container {
    max-width: 100%;
    margin: 3rem 0 0 0;
}

.review-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
}

.review-form-header h2 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.review-form-header p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

#endorsehq-review-form {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #0073aa;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #005a87;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Featured Reviews Section */
.endorsehq-featured-reviews {
    margin-bottom: 3rem;
}

.endorsehq-featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    position: relative;
}

.endorsehq-featured-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #0073aa, #005a87);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.endorsehq-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.endorsehq-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Remove any blue bars/borders from review cards */
.endorsehq-review-card::before {
    display: none !important;
}

.endorsehq-review-card.featured::before {
    display: none !important;
}

/* Remove blue border from featured cards */
.endorsehq-review-card.featured {
    border-color: #e9ecef !important;
    border-width: 1px !important;
}

.endorsehq-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.endorsehq-review-card.featured {
    border: 2px solid #0073aa;
    background: linear-gradient(135deg, #fff 0%, #f8fcff 100%);
}

/* Removed blue bar at top of featured review cards */

.endorsehq-review-rating {
    font-size: 1.5rem;
    color: #ffa500;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 165, 0, 0.3);
}

.endorsehq-review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.endorsehq-review-text::before {
    content: '"';
    font-size: 3rem;
    color: #e0e0e0;
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.endorsehq-review-text::after {
    content: '"';
    font-size: 3rem;
    color: #e0e0e0;
    position: absolute;
    bottom: -1.5rem;
    right: -0.5rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.endorsehq-reviewer-name {
    font-weight: 600;
    color: #333;
    text-align: center;
    position: relative;
    padding-top: 1rem;
}

.endorsehq-reviewer-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #0073aa;
    border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .endorsehq-reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .endorsehq-review-card {
        padding: 1.5rem;
    }
    
    .endorsehq-featured-title {
        font-size: 1.5rem;
    }
    
    .endorsehq-review-text::before,
    .endorsehq-review-text::after {
        font-size: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .endorsehq-company-header {
        padding: 1.5rem;
    }
    
    .company-logo-container {
        margin-bottom: 1rem;
    }
    
    .company-logo {
        max-width: 120px;
        max-height: 120px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .review-form-header {
        padding: 1.5rem;
    }
    
    .review-form-header h2 {
        font-size: 1.5rem;
    }
    
    #endorsehq-review-form {
        padding: 1rem;
    }
}

