/* Showcase Block with Checklist - Frontend Styles */

.taskipfb-showcase-checklist {
    width: 100%;
    position: relative;
}

.taskipfb-sbc-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.taskipfb-sbc-header {
    text-align: center;
    margin-bottom: 60px;
}

.taskipfb-sbc-label {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.taskipfb-sbc-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px 0;
    white-space: pre-line;
}

.taskipfb-sbc-description {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
}

/* ---- Rows ---- */
.taskipfb-sbc-rows {
    display: flex;
    flex-direction: column;
}

.taskipfb-sbc-row {
    display: flex;
    flex-direction: row;
    /*align-items: center;*/
    border: 1px solid #D1D0D1;
    border-radius: 16px;
    padding: 40px;
    gap: 48px;
    box-sizing: border-box;
}

/* Image on right (default): content first, image second */
.taskipfb-sbc-row--image-right {
    flex-direction: row;
}

/* Image on left: image first, content second */
.taskipfb-sbc-row--image-left {
    flex-direction: row-reverse;
}

/* ---- Content Column ---- */
.taskipfb-sbc-row-content {
    flex: 1;
    min-width: 0;
}

.taskipfb-sbc-row-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
    color: #111827;
}

.taskipfb-sbc-row-description {
    font-size: 16px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0 0 28px 0;
}

/* ---- Checklist ---- */
.taskipfb-sbc-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.taskipfb-sbc-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.taskipfb-sbc-checklist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.taskipfb-sbc-checklist-icon svg {
    width: 24px;
    height: 24px;
}

.taskipfb-sbc-checklist-text {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* Scoped to .taskipfb-sbc-block to avoid conflicts with other showcase blocks */
.taskipfb-sbc-block .taskipfb-sbc-checklist-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.taskipfb-sbc-block .taskipfb-sbc-checklist-desc {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.taskipfb-sbc-block .taskipfb-sbc-checklist-desc a {
    color: #10b981;
    text-decoration: underline;
}

.taskipfb-sbc-block .taskipfb-sbc-checklist-desc a:hover {
    color: #059669;
}

/* ---- Image Column ---- */
.taskipfb-sbc-row-image {
    flex: 1;
    min-width: 0;
}

.taskipfb-sbc-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #10b981;
    background-color: #f9fafb;
    padding: 16px;
    box-sizing: border-box;
}

.taskipfb-sbc-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* ---- Tablet Responsive ---- */
@media (max-width: 1024px) {
    .taskipfb-sbc-heading {
        font-size: 36px;
    }

    .taskipfb-sbc-row {
        padding: 32px;
        gap: 32px;
    }

    .taskipfb-sbc-row-title {
        font-size: 22px;
    }

    .taskipfb-sbc-row-description {
        font-size: 15px;
    }

    .taskipfb-sbc-checklist-text {
        font-size: 15px;
    }
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
    .taskipfb-sbc-header {
        margin-bottom: 40px;
    }

    .taskipfb-sbc-label {
        font-size: 13px;
    }

    .taskipfb-sbc-heading {
        font-size: 28px;
    }

    .taskipfb-sbc-description {
        font-size: 15px;
    }

    .taskipfb-sbc-row,
    .taskipfb-sbc-row--image-right,
    .taskipfb-sbc-row--image-left {
        flex-direction: column !important;
        padding: 24px;
        gap: 24px;
    }

    .taskipfb-sbc-row-title {
        font-size: 20px;
    }

    .taskipfb-sbc-row-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .taskipfb-sbc-checklist-text {
        font-size: 14px;
    }
}

/* ---- Extra Small Mobile ---- */
@media (max-width: 480px) {
    .taskipfb-sbc-heading {
        font-size: 24px;
    }

    .taskipfb-sbc-row {
        padding: 20px;
    }

    .taskipfb-sbc-row-title {
        font-size: 18px;
    }
}
