/* Public CSS for FN Capital Reviews */

/* Global Styles */
.fn-reviews-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Reviews Grid */
.fn-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Review Card */
.fn-review-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fn-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fn-review-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.fn-review-title {
    font-size: 18px;
    margin: 0;
    color: #2c3e50;
}

.fn-review-title a {
    color: #2c3e50;
    text-decoration: none;
}

.fn-review-title a:hover {
    color: #3498db;
    text-decoration: none;
}

.fn-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

.fn-review-date {
    font-style: italic;
}

.fn-review-author {
    font-weight: 600;
}

.fn-review-rating {
    display: flex;
    color: #f39c12;
    font-size: 18px;
}

.fn-review-content {
    padding: 20px;
}

.fn-review-excerpt {
    margin: 0;
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
}

.fn-review-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.fn-read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.fn-read-more:hover {
    background-color: #2980b9;
    color: white;
    text-decoration: none;
}

/* Reviews List */
.fn-reviews-list {
    margin-bottom: 30px;
}

.fn-review-list-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fn-review-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Single Review */
.fn-single-review {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.fn-single-review-header {
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.fn-single-review-title {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.fn-single-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 16px;
    color: #6c757d;
}

.fn-single-review-date {
    font-style: italic;
}

.fn-single-review-author {
    font-weight: 600;
}

.fn-single-review-rating {
    display: flex;
    color: #f39c12;
    font-size: 24px;
    margin-top: 10px;
}

.fn-single-review-content {
    padding: 30px;
}

.fn-single-review-text {
    margin: 0;
    color: #495057;
    font-size: 17px;
    line-height: 1.7;
}

/* Related Reviews */
.fn-related-reviews {
    margin-top: 40px;
}

.fn-related-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.fn-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fn-related-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fn-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fn-related-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.fn-related-title-link {
    font-size: 16px;
    margin: 0;
    color: #2c3e50;
    text-decoration: none;
}

.fn-related-title-link:hover {
    color: #3498db;
    text-decoration: none;
}

.fn-related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
}

.fn-related-rating {
    color: #f39c12;
    font-size: 14px;
}

.fn-related-content {
    padding: 15px;
}

.fn-related-excerpt {
    margin: 0;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* SEO Indicators */
.fn-seo-indicators {
    margin-top: 40px;
    background-color: #e8f4fd;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #bee5eb;
}

.fn-seo-title {
    font-size: 18px;
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 15px;
}

.fn-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.fn-seo-tag {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.fn-readability-score {
    margin-top: 15px;
}

.fn-score-bar {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-top: 5px;
    overflow: hidden;
}

.fn-score-fill {
    height: 100%;
    background-color: #20c997;
    border-radius: 5px;
}

/* Pagination */
.fn-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.fn-pagination a,
.fn-pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    background-color: white;
    color: #3498db;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fn-pagination a:hover {
    background-color: #3498db;
    color: white;
}

.fn-pagination .current {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .fn-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fn-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .fn-related-grid {
        grid-template-columns: 1fr;
    }
    
    .fn-single-review-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .fn-single-review-author {
        margin-top: 5px;
    }
}
