/* Custom styles for Members Page */

.aeth-members-benefits .container {
    max-width: 1400px;
}
.aeth-members-benefits .portfolio-details-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: center;
    text-align: center;
}

.aeth-members-benefits .item {
    width: 100%;
    max-width: none;
}

.aeth-members-benefits .benefit-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0b1b3a;
}

.aeth-members-benefits .benefit-description {
    font-size: 17px;
    line-height: 1.6;
    color: #2b3a55;
    max-width: 420px;
    margin: 0 auto;
}
/* Responsive */
@media (max-width: 991px) {
    .aeth-members-benefits .portfolio-details-info {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .aeth-members-benefits .line {
        display: none;
    }
}
@media (max-width: 767px) {
    .aeth-members-benefits .benefit-title {
        font-size: 20px;
    }

    .aeth-members-benefits .benefit-description {
        font-size: 16px;
    }
}
/* =============================
Benefits Table Members
============================= */
.aeth-benefits-table-section {
    background: #f6f7f9;
}

.aeth-benefits-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.aeth-benefits-table thead {
    background: #0b1b3a; /* deep navy */
    color: #ffffff;
}

.aeth-benefits-table th {
    padding: 18px;
    font-weight: 600;
    font-size: 15px;
}

.aeth-benefits-table td {
    padding: 16px;
    font-size: 15px;
    color: #2b3a55;
}

.aeth-benefits-table tbody tr:nth-child(even) {
    background: #f2f4f8;
}

.aeth-benefits-table tbody tr:hover {
    background: #e9eef7;
    transition: 0.2s ease;
}

.aeth-benefits-table .check {
    color: gray;
    font-weight: bold;
    font-size: 18px;
}

.aeth-benefits-table .highlight {
    font-weight: 700;
    color: #a855f7;
}
#benefitsTab .nav-link {
    color: #4a235a;
    border: 1px solid rgba(74, 35, 90, 0.2);
    margin: 0 4px;
}
#benefitsTab .nav-link.active {
    background: #4a235a;
    color: #fff;
}
/* ============================= */
/* TABLET RESPONSIVE (SCROLL) */
/* ============================= */

@media (max-width: 991px) {
    .aeth-benefits-table {
        min-width: 700px;
    }

    .aeth-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================= */
/* MOBILE RESPONSIVE (STACKED) */
/* ============================= */
@media (max-width: 767px) {
    /* make the value area (right side) always visible */
    .aeth-benefits-table td:not([data-label="Benefit"]) {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-height: 34px;
    }

    /* force FA icon to render with proper box */
    .aeth-benefits-table td .check {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 20px !important;
        line-height: 1 !important;
        width: 22px;
        height: 22px;
        color: #2e7d32 !important;
    }
    .aeth-benefits-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 10px;
        width: 48%;
        padding-left: 0;
        font-weight: 700;
        text-align: left;
        color: #4a235a;
    }

    /* make the first cell (Benefit text) feel like a heading */
    .aeth-benefits-table td[data-label="Benefit"] {
        padding: 0 0 12px 0;
        text-align: left;
        font-weight: 600;
        color: #0b1b3a;
    }

    .aeth-benefits-table td[data-label="Benefit"]::before {
        display: none;
    }

    /* icons visibility */
    .aeth-benefits-table .check {
        color: #2e7d32 !important;
        font-size: 20px;
        line-height: 1;
        display: inline-block;
    }
}
/* cards members */
/* Equal height cards in the 4-card grid */
.event-work-section .event-work-items {
    height: 100%;
}

.event-work-section .event-work-items .boxes {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Keep the title consistent (2 lines max) */
.event-work-section .event-work-items h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Push the "Learn More" area to the bottom */
.event-work-section .event-work-items .arrow-area {
    margin-top: auto;
}
