```css
/* =====================================================
   MODERN DIRECTORY STYLING
   CAI AZ DIRECTORY
===================================================== */


/* =====================================================
   SEARCH + FILTER PANEL
===================================================== */

.modern-directory .membersSearchContainer,
.modern-directory .searchPanelOuterContainer,
.modern-directory .searchPanelContainer,
.modern-directory .memberDirectorySearchArea {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}


/* CATEGORY TITLE */

.modern-directory strong,
.modern-directory .caption,
.modern-directory label {
    font-size: 22px;
    font-weight: 700;
    color: #444444;
}


/* CATEGORY LIST AREA */

.modern-directory ul,
.modern-directory .list {
    background: #f7f7f5;
    border-radius: 14px;
    padding: 16px;
    max-height: 320px;
    overflow-y: auto;
}


/* EACH CATEGORY ITEM */

.modern-directory li {
    list-style: none;
    margin-bottom: 8px;
}


/* CATEGORY LINKS */

.modern-directory li a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
}


/* HOVER */

.modern-directory li a:hover {
    background: #eaf3ff;
    color: #3498db;
    transform: translateX(2px);
}


/* SEARCH BOX */

.modern-directory input[type="text"] {
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    padding: 12px 16px;
    font-size: 15px;
}


/* DROPDOWN */

.modern-directory select {
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    padding: 10px 14px;
    background: white;
}


/* SCROLLBAR */

.modern-directory ul::-webkit-scrollbar {
    width: 8px;
}

.modern-directory ul::-webkit-scrollbar-track {
    background: #f7f7f5;
    border-radius: 10px;
}

.modern-directory ul::-webkit-scrollbar-thumb {
    background: #c7d2e0;
    border-radius: 10px;
}



/* =====================================================
   DIRECTORY TABLE
===================================================== */

.modern-directory .membersTable {
    border-collapse: separate;
    border-spacing: 0 24px;
    width: 100%;
}


/* =====================================================
   MEMBER CARDS
===================================================== */

.modern-directory .membersTable tr.normal {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    border: 1px solid #e8e8e8;
}


.modern-directory .membersTable tr.normal:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}


/* TABLE CELLS */

.modern-directory .membersTable td {
    border: none !important;
    padding: 24px 18px;
    vertical-align: middle;
    font-size: 16px;
}


/* COMPANY NAME */

.modern-directory .membersTable td:nth-child(2) {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}


/* CONTACT COLUMN */

.modern-directory .membersTable td:nth-child(3) {
    color: #555;
    line-height: 1.5;
}


/* CATEGORY COLUMN */

.modern-directory .membersTable td:nth-child(4) {
    color: #666;
    font-weight: 500;
}


/* LOGOS */

```css
/* =====================================================
   LOGOS + VIEW MORE BUTTON FIX
===================================================== */

/* First column container */
.modern-directory .membersTable td:first-child {
    background: transparent !important;
    border: none !important;
    width: 140px;
}


/* Actual logo images */
.modern-directory .membersTable img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    border-radius: 0;
}


/* Remove unwanted blue background wrappers */
.modern-directory .membersTable td:first-child div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


```css
/* Style ONLY text-based View More links */
.modern-directory .membersTable td:first-child a:not(:has(img)) {
    display: inline-block;
    padding: 10px 16px;
    background: #3498db !important;
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: none !important;
    border: none !important;
}


/* Hover state */
.modern-directory .membersTable td:first-child a:not(:has(img)):hover {
    background: #3498db !important;
}


/* Logo links remain transparent */
.modern-directory .membersTable td:first-child a:has(img) {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
```

```


/* Remove blue/image placeholder styling */
.modern-directory .membersTable td:first-child a,
.modern-directory .membersTable td:first-child div {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}


/* DIRECTORY LINKS */

.modern-directory .membersTable a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}
/* Website links under company names */
.modern-directory .membersTable td:nth-child(2) a {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    word-break: break-word;
}

.modern-directory .membersTable a:hover {
    color: #3498db;
    text-decoration: underline;
}


/* "VIEW DETAILS" LINK */

.modern-directory .membersTable td:first-child a {
    display: inline-block;
    padding: 10px 16px;
    background: #3498db;
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}


.modern-directory .membersTable td:first-child a:hover {
    background: #3498db;
}


/* =====================================================
   REMOVE UGLY DEFAULT LINES
===================================================== */

.modern-directory .membersTable tr td {
    border-bottom: none !important;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .modern-directory .membersTable,
    .modern-directory .membersTable tbody,
    .modern-directory .membersTable tr.normal,
    .modern-directory .membersTable td {
        display: block;
        width: 100%;
    }

    .modern-directory .membersTable tr.normal {
        padding: 18px;
        margin-bottom: 24px;
    }

    .modern-directory .membersTable td {
        padding: 10px 0;
        text-align: left;
    }

    .modern-directory .membersTable td:nth-child(2) {
        font-size: 20px;
    }

    .modern-directory .membersTable img {
        max-width: 90px;
    }

    .modern-directory input[type="text"] {
        width: 100%;
        max-width: 100%;
    }
}
```
