﻿.services-terri-caption {
    position: initial;
}

.services-terri-icon {
    height: 50px !important;
    width: 50px !important;
    font-size: 20px !important;
    line-height: 50px !important;
}
/* Base table styling */
.table-custom {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

    .table-custom th,
    .table-custom td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
    }

/* Header styling */
.table-custom-primary thead {
    background-color: #14346c;
    color: #fff;
}

/* Make table responsive — turn rows into cards */
@media (max-width: 768px) {
    .table-custom thead {
        display: none;
    }

    .table-custom,
    .table-custom tbody,
    .table-custom tr,
    .table-custom td {
        display: block;
        width: 100%;
    }

        .table-custom tr {
            background: #f9f9f9;
            margin-bottom: 10px;
            border-radius: 10px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 10px;
        }

        .table-custom td {
            text-align: right !important;
            padding: 8px 10px;
            position: relative;
            border: none;
            border-bottom: 1px solid #eee;
        }

            .table-custom td:last-child {
                border-bottom: none;
            }

            .table-custom td::before {
                content: attr(data-title);
                position: absolute;
                left: 10px;
                font-weight: 600;
                text-align: left;
                color: #14346c;
            }
}
