/* Service Types Block - Frontend Styles */

.taskipfb-service-types {
    width: 100%;
    position: relative;
}

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

/* Header Section */
.taskipfb-st-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.taskipfb-st-label {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.taskipfb-st-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.taskipfb-st-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Types Grid */
.taskipfb-st-grid {
    display: grid;
    margin: 0 auto;
}

.taskipfb-st-card {
    padding: 40px 30px;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.taskipfb-st-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Linked card — reset <a> tag styles, inherit card appearance */
a.taskipfb-st-card-linked {
    text-decoration: none;
    color: inherit;
    display: flex;
    cursor: pointer;
}

a.taskipfb-st-card-linked:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon */
.taskipfb-st-icon {
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.taskipfb-st-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Card Title */
.taskipfb-st-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

/* Card Description */
.taskipfb-st-card-desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

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

    .taskipfb-st-description {
        font-size: 16px;
    }

    .taskipfb-st-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .taskipfb-st-card {
        padding: 30px 20px;
        min-height: 180px;
    }

    .taskipfb-st-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .taskipfb-st-card-desc {
        font-size: 14px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .taskipfb-st-heading {
        font-size: 28px;
    }

    .taskipfb-st-description {
        font-size: 14px;
    }

    .taskipfb-st-header {
        margin-bottom: 40px;
    }

    .taskipfb-st-label {
        font-size: 14px;
    }

    .taskipfb-st-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .taskipfb-st-card {
        padding: 30px 20px;
        min-height: 160px;
    }

    .taskipfb-st-card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .taskipfb-st-card-desc {
        font-size: 13px;
    }

    .taskipfb-st-icon {
        margin-bottom: 16px;
    }
}

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

    .taskipfb-st-grid {
        grid-template-columns: 1fr !important;
    }

    .taskipfb-st-card {
        padding: 24px 16px;
        min-height: 140px;
    }
}
