/* Sub3 Common Styles */
.business-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.biz-section {
    margin-bottom: 80px;
}

.biz-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    padding-left: 10px;
}

.biz-title {
    font-size: 40px;
    font-weight: 800; /* ExtraBold */
    color: #000;
    position: relative;
    padding-left: 25px;
    line-height: 1.2;
}

.biz-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background: #1f448e;
    border-radius: 5px;
}

.biz-subtitle {
    font-size: 22px;
    color: #a9a9a9;
    font-weight: 400; /* Regular */
    letter-spacing: 1px;
    margin-top: 8px; /* Align slightly with text */
}

.biz-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.biz-item {
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 11px;
    box-shadow: 0 0 11px rgba(0, 70, 82, 0.2);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.biz-item:hover {
    transform: translateY(-5px);
}

.biz-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Specific Adjustments per section if needed */
/* Since grid handles wrapping, 6 items will separate 4 and 2. Figma looked like 4 per row. */

/* Responsive */
@media (max-width: 1200px) {
    .biz-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .biz-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .biz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .biz-subtitle {
        margin-top: 0;
        padding-left: 25px; /* Align with text */
        font-size: 18px;
    }
    .biz-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .biz-list {
        grid-template-columns: 1fr; /* Or 2 columns for logos usually looks ok */
        grid-template-columns: repeat(2, 1fr); 
    }
}
/* Customer/Partner Page (sub3_2.php) - Coming Soon */
.coming-soon-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-content img {
    max-width: 100%;
}

/* Table Layout for Sub 3-2 (Replaces Grid/Column) */
.biz-table {
    width: 100%;
    border-collapse: collapse;
    /* border-top removed to allow separate column headers */
}

/* Apply top border to the first row's cells instead */
.biz-table tr:first-child td {
    border-top: 2px solid #3b78c9;
}

.biz-table td {
    border-bottom: 1px solid #e5e5e5;
    height: 44px;
    padding: 0 10px;
    background: #fff;
    vertical-align: middle;
}

/* Vertical Dividers: Apply border-right to even columns (2, 4) or odd pairs? 
   Columns: Num, Name, Num, Name, Num, Name 
   Indices: 1    2     3    4     5    6
   Divider needed after column 2 and 4.
*/


.biz-table td.spacer {
    border: none !important;
    background: transparent !important;
    padding: 0;
    /* optional: ensure no border-bottom if row lines should break too. 
       If row lines should continue across gap, remove border:none.
       User said "still connected", implying they want gap in lines too.
    */
    border-bottom: none !important; 
    border-top: none !important; /* Ensure top border is also removed for spacer */
}

/* Gap simulation: Add padding-right to Name column and padding-left to next Num column? 
   Table borders are strict. To create "70px gap" with a line in middle is tricky with simple table.
   Actually Figma has a line divider.
   We can just set the column width logic. 
   But user asked for "Table". Simplest is just borders.
   We will treat the border-right as the divider. 
   To mimic gap, we might need empty spacer columns, but that complicates PHP.
   We will rely on cell padding for spacing.
*/

/* Number Column Styling */
.biz-table td.num {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #444;
    border-right: solid 1px #D1D1D1;
}

/* Name Column Styling */
.biz-table td.name {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; 
}

/* Responsive Table */
@media (max-width: 1024px) {
    .biz-table-wrap {
        overflow-x: auto;
    }
    .biz-table {
        min-width: 900px; /* Force scroll on small screens */
    }
    /* Hide empty cells on mobile? No, keeping structure is safer for table */
}
