/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Custom Styles - Satoshi Font
*/

/* Apply Satoshi font globally */
body,
html {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
}

/* Apply to all headings */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
}

/* Apply to paragraphs and text elements */
p, span, div, a, li, td, th, label, input, textarea, select, button {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Elementor specific */
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title,
.elementor *:not(i):not(.fa):not(.fas):not(.far):not(.fab) {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Menu items */
.site-header nav a,
.elementor-nav-menu a {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Buttons */
.elementor-button,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Ensure font weight variations work properly */
.font-weight-light { font-weight: 300; }
.font-weight-regular { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-bold { font-weight: 700; }
.font-weight-black { font-weight: 900; }

/* ===============================================
   HOMEPAGE STYLES
   =============================================== */

* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section .subline {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

/* Trust Section */
.trust-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.trust-section h2 {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    color: #2C3E50;
}

.trust-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    text-align: center;
    color: #555;
}

.expert-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
}

.expert-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.expert-item strong {
    display: block;
    color: #667eea;
    margin-bottom: 5px;
}

.testing-criteria {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.criteria-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.criteria-card h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Categories Section */
.categories-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #2C3E50;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.category-card p {
    opacity: 0.9;
    margin-bottom: 15px;
    color: white;
}

.category-card .arrow {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* Recommendations Section */
.recommendations-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.recommendation-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.recommendations-section .recommendation-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.recommendation-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    min-width: 0;
}

.recommendation-card .tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.recommendation-card .tool-name {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
}

.recommendation-card .award-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.rating-bar {
    margin: 15px 0;
}

.rating-bar .label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.rating-bar .bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

/* Authority Section */
.authority-section {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.authority-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 50px auto;
}

.authority-feature {
    text-align: center;
}

.authority-feature .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.authority-feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2C3E50;
}

/* Articles Section */
.articles-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.article-card .article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-card .article-content {
    padding: 25px;
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2C3E50;
}

.article-card .read-more {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.newsletter-form button {
    padding: 16px 32px;
    background: #2C3E50;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .expert-list,
    .testing-criteria {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .recommendation-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expert-list,
    .testing-criteria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section .subline {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .trust-badges {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
    
    .expert-list,
    .testing-criteria {
        grid-template-columns: 1fr;
    }
}

/* Additional fix for recommendation cards to ensure 3-column layout */
#recommendations .recommendation-cards,
section.recommendations-section .recommendation-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 1024px) {
    #recommendations .recommendation-cards,
    section.recommendations-section .recommendation-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #recommendations .recommendation-cards,
    section.recommendations-section .recommendation-cards {
        grid-template-columns: 1fr !important;
    }
}

/* FORCE FULL WIDTH FOR RECOMMENDATIONS SECTION */
.recommendations-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 40px !important;
}

.recommendations-section {
    width: 100% !important;
    max-width: 100% !important;
}

/* ABSOLUTELY FORCE 3 COLUMN LAYOUT */
.recommendations-section .recommendation-cards,
section#recommendations .recommendation-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-auto-flow: dense !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Ensure cards don't wrap */
.recommendations-section .recommendation-card {
    grid-column: span 1 !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* FORCE FULL WIDTH FOR HOMEPAGE */
.page-id-7 .site-main,
.page-id-7 .content-area,
.page-id-7 .entry-content,
.page-id-7 article,
.page-id-7 .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.page-id-7 section {
    width: 100% !important;
    max-width: 100% !important;
}

.page-id-7 .inner-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.page-id-7 .page-header {
    display: none !important;
}

.page-id-7 .page-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* NEWSLETTER FORM STYLING */
.newsletter-section .wpcf7 {
    max-width: 600px;
    margin: 30px auto;
}

.newsletter-section .wpcf7-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-section .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 250px;
}

.newsletter-section input[type="email"] {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-family: 'Satoshi', sans-serif;
}

.newsletter-section input[type="submit"] {
    padding: 16px 32px;
    background: #2C3E50;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Satoshi', sans-serif;
    transition: all 0.3s;
}

.newsletter-section input[type="submit"]:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

.newsletter-section .wpcf7-response-output {
    background: white;
    color: #2C3E50;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

.newsletter-section .wpcf7-mail-sent-ok {
    background: #4caf50;
    color: white;
}

.newsletter-section .wpcf7-validation-errors,
.newsletter-section .wpcf7-mail-sent-ng {
    background: #f44336;
    color: white;
}

.newsletter-section .wpcf7-spinner {
    margin: 0;
    position: absolute;
}

@media (max-width: 600px) {
    .newsletter-section .wpcf7-form {
        flex-direction: column;
    }
    
    .newsletter-section .wpcf7-form-control-wrap {
        width: 100%;
    }
}

/* Dynamic article images */
.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* MODERN HOW WE TEST SECTION */
.trust-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%) !important;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.trust-section h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 48px !important;
    font-weight: 900 !important;
}

.trust-intro {
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #495057 !important;
}

/* Modern Expert Cards */
.expert-list {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 25px !important;
    margin: 50px auto !important;
}

.expert-item {
    background: white !important;
    padding: 30px 20px !important;
    border-radius: 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    position: relative;
    overflow: hidden;
}

.expert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expert-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.expert-item:hover::before {
    transform: scaleX(1);
}

.expert-item strong {
    display: block !important;
    color: #667eea !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.expert-item:nth-child(1) strong { color: #667eea !important; }
.expert-item:nth-child(2) strong { color: #764ba2 !important; }
.expert-item:nth-child(3) strong { color: #f093fb !important; }
.expert-item:nth-child(4) strong { color: #4facfe !important; }
.expert-item:nth-child(5) strong { color: #43e97b !important; }

/* Modern Criteria Cards */
.testing-criteria {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 25px !important;
    margin: 50px auto !important;
}

.criteria-card {
    background: white !important;
    padding: 35px 25px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.criteria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2) !important;
}

.criteria-card:hover::before {
    opacity: 1;
}

.criteria-card h3 {
    color: #667eea !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    position: relative;
}

.criteria-card:nth-child(1) h3 { color: #667eea !important; }
.criteria-card:nth-child(2) h3 { color: #764ba2 !important; }
.criteria-card:nth-child(3) h3 { color: #f093fb !important; }
.criteria-card:nth-child(4) h3 { color: #4facfe !important; }
.criteria-card:nth-child(5) h3 { color: #43e97b !important; }

.criteria-card p {
    color: #6c757d !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    position: relative;
}

/* Responsive */
@media (max-width: 1200px) {
    .expert-list, .testing-criteria {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .trust-section h2 {
        font-size: 36px !important;
    }
    
    .expert-list, .testing-criteria {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .expert-list, .testing-criteria {
        grid-template-columns: 1fr !important;
    }
}

/* FIX: Single line titles with consistent color */
.expert-item strong {
    display: block !important;
    color: #343a40 !important; /* gray-800 for all */
    font-size: 16px !important; /* Reduced from 18px */
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Remove individual colors - use gray-800 for all */
.expert-item:nth-child(1) strong,
.expert-item:nth-child(2) strong,
.expert-item:nth-child(3) strong,
.expert-item:nth-child(4) strong,
.expert-item:nth-child(5) strong {
    color: #343a40 !important;
}

/* Reduce subtitle font size */
.expert-item {
    font-size: 13px !important;
    color: #6c757d !important;
}

/* FIX: Criteria card titles - single line and consistent color */
.criteria-card h3 {
    color: #343a40 !important; /* gray-800 for all */
    font-size: 16px !important; /* Reduced from 20px */
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Remove individual colors for criteria - use gray-800 for all */
.criteria-card:nth-child(1) h3,
.criteria-card:nth-child(2) h3,
.criteria-card:nth-child(3) h3,
.criteria-card:nth-child(4) h3,
.criteria-card:nth-child(5) h3 {
    color: #343a40 !important;
}

/* Reduce criteria description font size */
.criteria-card p {
    color: #6c757d !important;
    font-size: 13px !important; /* Reduced from 15px */
    line-height: 1.5 !important;
}

/* Adjust card padding for better fit */
.criteria-card {
    padding: 30px 20px !important; /* Reduced horizontal padding */
}

.expert-item {
    padding: 25px 15px !important; /* Reduced horizontal padding */
}

/* FORCE CLEAN CATEGORIES GRID - NO EMPTY BOXES */
.page-id-7 .categories-section .inner-container > div {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
}

.page-id-7 .categories-section .inner-container > div > * {
    grid-column: span 1 !important;
}

.page-id-7 .categories-section a[href^="/best-"] {
    display: block !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 40px !important;
    border-radius: 16px !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s !important;
}

.page-id-7 .categories-section a[href^="/best-"]:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4) !important;
}

/* Hide any empty divs in categories section */
.page-id-7 .categories-section div:empty {
    display: none !important;
}

@media (max-width: 1200px) {
    .page-id-7 .categories-section .inner-container > div {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .page-id-7 .categories-section .inner-container > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .page-id-7 .categories-section .inner-container > div {
        grid-template-columns: 1fr !important;
    }
}

/* AGGRESSIVE FIX: Hide ALL <p> tags in categories section */
.page-id-7 .categories-section p {
    display: none !important;
}

/* Ensure grid container has no extra children */
.page-id-7 .categories-section .inner-container > div > a {
    display: block !important;
}

/* HIDE PAGE TITLE H1 FOR ALL PAGES - Prevent duplicate H1 */
.page .entry-title,
.single .entry-title {
    display: none !important;
}

/* Only show entry title on archive pages */
.archive .entry-title {
    display: block !important;
}

/* STRONGER FIX: Hide page title header completely */
.page-id-7 .page-header,
.page .page-header,
.single .page-header {
    display: none !important;
}

.page .entry-title,
.single .entry-title,
.page-header .entry-title,
h1.entry-title {
    display: none !important;
}

/* MOBILE RESPONSIVE FOR TOP RATED TOOLS */
.recommendation-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.recommendation-card {
    width: 100% !important;
    min-width: 0 !important;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .recommendation-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile - 1 column (vertical) */
@media (max-width: 768px) {
    .recommendation-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .recommendations-section {
        padding: 60px 20px !important;
    }
    
    .recommendation-card {
        padding: 25px !important;
    }
    
    .section-title {
        font-size: 32px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .recommendations-section {
        padding: 40px 15px !important;
    }
    
    .recommendation-card {
        padding: 20px !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .tool-name {
        font-size: 20px !important;
    }
}

/* ENSURE ALL SECTIONS ARE MOBILE RESPONSIVE */

/* Categories grid responsive */
@media (max-width: 1024px) {
    .categories-grid,
    .page-id-7 .categories-section .inner-container > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .categories-grid,
    .page-id-7 .categories-section .inner-container > div {
        grid-template-columns: 1fr !important;
    }
    
    .category-card {
        padding: 30px !important;
    }
}

/* Articles grid responsive */
@media (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Authority features responsive */
@media (max-width: 900px) {
    .authority-features {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .authority-features {
        grid-template-columns: 1fr !important;
    }
}

/* Hero section responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px !important;
    }
    
    .hero-section .subline {
        font-size: 18px !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* FORCE RESPONSIVE FOR RECOMMENDATIONS - OVERRIDE INLINE STYLES */
@media (max-width: 1024px) {
    .recommendations-section .recommendation-cards,
    .page-id-7 .recommendation-cards,
    div.recommendation-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .recommendations-section .recommendation-cards,
    .page-id-7 .recommendation-cards,
    div.recommendation-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .recommendations-section .inner-container {
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .recommendations-section {
        padding: 40px 15px !important;
    }
    
    .recommendation-card {
        padding: 20px !important;
    }
}

/* OVERRIDE INLINE STYLES FOR MOBILE - HIGHEST SPECIFICITY */
@media screen and (max-width: 1024px) {
    .recommendations-section div[style*="grid-template-columns"],
    div.recommendation-cards[style] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .recommendations-section div[style*="grid-template-columns"],
    div.recommendation-cards[style] {
        grid-template-columns: 1fr !important;
    }
}
