/**
 * Pros and Cons Block Styles
 * Prefix: rptx- (Reportgenix Tools)
 */

/* Pros and Cons Section */
.rptx-pros-cons {
    background: var(--rptx-bg-color, #f9fafb);
    /* CSS Variables for spacing */
    --rptx-padding-top: 80px;
    --rptx-padding-bottom: 80px;
    --rptx-padding-top-tablet: 60px;
    --rptx-padding-bottom-tablet: 60px;
    --rptx-padding-top-mobile: 40px;
    --rptx-padding-bottom-mobile: 40px;
    /* Apply spacing */
    padding: var(--rptx-padding-top) 0 var(--rptx-padding-bottom);
}

.rptx-pros-cons__header {
    text-align: center;
    margin-bottom: 60px;
}

.rptx-pros-cons__header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.rptx-pros-cons__header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.rptx-pros-cons__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* Card Styles */
.rptx-pros-cons__card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-top: 4px solid transparent;
}

.rptx-pros-cons__card--pros {
    border-top-color: var(--rptx-pros-color, #10B981);
}

.rptx-pros-cons__card--cons {
    border-top-color: var(--rptx-cons-color, #EF4444);
}

/* Card Header */
.rptx-pros-cons__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.rptx-pros-cons__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rptx-pros-cons__icon--pros {
    background: rgba(16, 185, 129, 0.1);
    color: var(--rptx-pros-color, #10B981);
}

.rptx-pros-cons__icon--cons {
    background: rgba(239, 68, 68, 0.1);
    color: var(--rptx-cons-color, #EF4444);
}

.rptx-pros-cons__icon svg {
    width: 20px;
    height: 20px;
}

.rptx-pros-cons__card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

/* List Styles */
.rptx-pros-cons__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rptx-pros-cons__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rptx-pros-cons__bullet {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.rptx-pros-cons__bullet--pros {
    background: rgba(16, 185, 129, 0.1);
    color: var(--rptx-pros-color, #10B981);
}

.rptx-pros-cons__bullet--cons {
    background: rgba(239, 68, 68, 0.1);
    color: var(--rptx-cons-color, #EF4444);
}

.rptx-pros-cons__list strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.rptx-pros-cons__list p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #4b5563;
}

/* Verdict Section */
.rptx-pros-cons__verdict {
    background: var(--rptx-verdict-bg-color, #667eea);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.rptx-pros-cons__verdict-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.rptx-pros-cons__verdict-content {
    flex: 1;
}

.rptx-pros-cons__verdict-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: white;
}

.rptx-pros-cons__verdict-content p {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .rptx-pros-cons {
        padding: var(--rptx-padding-top-tablet) 0 var(--rptx-padding-bottom-tablet);
    }

    .rptx-pros-cons__header {
        margin-bottom: 40px;
    }

    .rptx-pros-cons__header h2 {
        font-size: 1.75rem;
    }

    .rptx-pros-cons__header p {
        font-size: 1rem;
    }

    .rptx-pros-cons__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .rptx-pros-cons__card {
        padding: 24px 20px;
    }

    .rptx-pros-cons__card h3 {
        font-size: 1.25rem;
    }

    .rptx-pros-cons__verdict {
        padding: 24px;
    }

    .rptx-pros-cons__verdict-icon {
        font-size: 2.5rem;
    }

    .rptx-pros-cons__verdict-content h4 {
        font-size: 1.25rem;
    }

    .rptx-pros-cons__verdict-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rptx-pros-cons {
        padding: var(--rptx-padding-top-mobile) 0 var(--rptx-padding-bottom-mobile);
    }

    .rptx-pros-cons__header {
        margin-bottom: 32px;
    }

    .rptx-pros-cons__header h2 {
        font-size: 1.5rem;
    }

    .rptx-pros-cons__grid {
        gap: 20px;
        margin-bottom: 24px;
    }

    .rptx-pros-cons__card {
        padding: 20px 16px;
    }

    .rptx-pros-cons__card-header {
        gap: 10px;
        margin-bottom: 20px;
    }

    .rptx-pros-cons__icon {
        width: 36px;
        height: 36px;
    }

    .rptx-pros-cons__icon svg {
        width: 18px;
        height: 18px;
    }

    .rptx-pros-cons__card h3 {
        font-size: 1.125rem;
    }

    .rptx-pros-cons__list {
        gap: 16px;
    }

    .rptx-pros-cons__list strong {
        font-size: 1rem;
    }

    .rptx-pros-cons__list p {
        font-size: 14px;
    }

    .rptx-pros-cons__verdict {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .rptx-pros-cons__verdict-icon {
        font-size: 2rem;
    }

    .rptx-pros-cons__verdict-content h4 {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }

    .rptx-pros-cons__verdict-content p {
        font-size: 0.9375rem;
    }
}
