/* =============================================
   Brand Comparison Table Block
   ============================================= */

.bct-section {
    width: 100%;
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background overlay image */
.bct-overlay-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.bct-overlay-image--left  { left: 0; }
.bct-overlay-image--right { right: 0; }

.bct-overlay-image img {
    display: block;
    max-height: 100%;
    width: auto;
}

.bct-section .container {
    position: relative;
    z-index: 1;
}

/* Meta */
.bct-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    text-align: center;
}

.bct-title {
    font-weight: 700;
    color: rgba(42, 28, 74, 1);
    margin: 0;
    line-height: 1.25;
}

.bct-subtitle {
    color: #4b5563;
    max-width: 734px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 18px;
}

.bct-subtitle p {
    margin: 0;
}

.bct-table-wrapper {
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px);
}

/* Table wrapper — horizontal scroll on mobile */
.bct-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 2px solid #BEBDE1;
    box-shadow: 0 2px 16px rgba(60, 16, 166, 0.06);
}

/* Table */
.bct-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 480px;
}

/* Header row */
.bct-th {
    padding: 20px 38px 15px 38px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border-bottom: 2px solid #BEBDE1;
    border-right: 2px solid #BEBDE1;
}

.bct-th.bct-th--competitor {
    border-right: 0px;
}

.bct-th--features {
    text-align: left;
    color: #2A1C4A;
    font-size: 30px;
    line-height: 1;
    width: 50%;
}

/* Our column header — purple highlight */
.bct-th--ours {
    background-color: #3C10A6;
    color: #fff;
    width: 28%;
    max-width: 400px;
}

.bct-th--competitor {
    color: #1a1a2e;
    width: 28%;
    max-width: 400px;
}

/* Logo inside header */
.bct-logo {
    max-height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* Body rows */
.bct-row {
    border-bottom: 2px solid #BEBDE1;
    transition: background-color 0.15s ease;
}

.bct-row:last-child {
    border-bottom: none;
}

.bct-row:hover {
    background-color: #faf9ff;
}

/* Cells */
.bct-td {
    padding: 17px 38px;
    font-size: 15px;
    color: #2A1C4A;
    vertical-align: middle;
    text-align: center;
}

.bct-td--feature {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #2A1C4A;
    border-right: 2px solid #BEBDE1;
}

/* Our column cells — light purple bg */
.bct-td--ours {
    background-color: #EAE1FF;
    border-right: 2px solid #BEBDE1;
}

.bct-td--competitor {
    background-color: #fff;
}

/* Cell content from WYSIWYG */
.bct-cell-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bct-cell-content p {
    margin: 0;
    font-size: 18px;
    color: #3C11A6;
    font-weight: 500!important;
}

.bct-td.bct-td--competitor .bct-cell-content p {
    color: #989898;
}

/* SVG icons inserted via WYSIWYG */
.bct-cell-content svg {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .bct-section {
        padding: 48px 0;
    }

    .bct-th,
    .bct-td {
        padding: 14px 14px;
    }

    .bct-th,
    .bct-td,
    .bct-td strong,
    .bct-td p {
        font-size: 16px;
    }

    .bct-th--features,
    .bct-td--feature {
        min-width: 140px;
    }

    .bct-td img {
        max-width: 24px;
    }

    .bct-logo {
        max-height: 28px;
        max-width: 110px;
    }
}

@media (max-width: 480px) {
    .bct-th,
    .bct-td {
        padding: 12px 10px;
        font-size: 12px;
    }
}
