/**
 * Taskip Comparison - Frontend Styles
 *
 * @package Tascom
 */

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

/* Single Comparison */
.tascom-single-comparison-wrapper {
}

.tascom-single-comparison {
    background: #fff;
}

.tascom-featured-image {
    margin-bottom: 30px;
}

.tascom-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tascom-entry-header {
    margin-bottom: 30px;
}

.tascom-entry-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #333;
}

.tascom-entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.tascom-entry-meta span {
    margin-right: 15px;
}

.tascom-entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.tascom-entry-content p {
    margin-bottom: 20px;
}

.tascom-page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tascom-entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tascom-edit-link a {
    color: #0073aa;
    text-decoration: none;
}

.tascom-edit-link a:hover {
    text-decoration: underline;
}

/* Archive Comparison */
.tascom-archive-comparison-wrapper {
    padding-top: 140px;
    padding-bottom: 80px;
}

.tascom-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.tascom-archive-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.tascom-archive-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.tascom-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tascom-comparison-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tascom-comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.tascom-comparison-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tascom-comparison-content {
    padding: 25px;
}

.tascom-comparison-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tascom-comparison-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tascom-comparison-title a:hover {
    color: #0073aa;
}

.tascom-comparison-meta {
    font-size: 24px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tascom-comparison-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.tascom-comparison-link {
    margin-top: 15px;
}

.tascom-read-more {
    display: block;
    width: 100%;
    padding: 14px;
    background: #00B289;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}

.tascom-read-more:hover {
    color: #ffffff;
}

.tascom-arrow {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.tascom-read-more:hover .tascom-arrow {
    margin-left: 10px;
}

/* Pagination */
.tascom-pagination {
    text-align: center;
    margin-top: 50px;
}

.tascom-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tascom-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.tascom-pagination .page-numbers:hover,
.tascom-pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* No Content */
.tascom-no-content {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tascom-no-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.tascom-no-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .tascom-entry-title {
        font-size: 1.8rem;
    }

    .tascom-archive-title {
        font-size: 1.8rem;
    }

    .tascom-comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tascom-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}
