/* ============================================
   Best Workplaces Page
   ============================================ */

/* Hero
   ============================================ */
.bw-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.bw-hero__image {
    flex: 0 0 48%;
    max-width: 48%;
}

.bw-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.bw-hero__content {
    flex: 1;
}

.bw-hero__title {
    font-size: 42px;
    line-height: 1.15;
    color: #11131c;
    margin-bottom: 24px;
}

.bw-hero__text {
    font-size: 16px;
    line-height: 1.7;
    color: #4f4f4f;
    margin-bottom: 32px;
}

.bw-hero__btn {
    display: inline-block;
    padding: var(--mfn-button-padding, 12px 28px);
    background-color: #ff1628;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: var(--mfn-button-border-radius, 3px);
    transition: background-color var(--mfn-button-transition, 0.2s);
}

.bw-hero__btn:hover {
    background-color: #ffd814;
    color: #222222;
    text-decoration: none;
}

/* Tabs
   ============================================ */
.bw-tables {
    padding: 40px 0;
    width: 100%;
}

.bw-tabs__nav {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    border-bottom: 2px solid #11131c;
}

body.rtl .bw-tabs__nav {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.bw-tabs__nav-item::marker,
.bw-tabs__nav-item::before,
.bw-tabs__nav-item::after {
    content: none !important;
    display: none !important;
}

.bw-tabs__nav-item {
    margin: 0;
}

.bw-tabs__btn {
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 14px 28px;
		font-family: 'FbTamar';
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #929292;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.bw-tabs__btn:hover {
    /* color: #11131c; */
}

.bw-tabs__btn.is-active {
    background-color: #11131c;
    color: #fff;
    border-bottom-color: transparent;
}

.bw-tabs__panels {
    margin-top: 32px;
}

.bw-tabs__panel {
    display: none;
}

.bw-tabs__panel.is-active {
    display: block;
}

/* Table
   ============================================ */
.bw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.bw-table thead tr {
    border-bottom: 2px solid #11131c;
}

.bw-table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #929292;
}

body.rtl .bw-table th {
    text-align: right;
}

body.rtl .bw-table td {
    text-align: right;
}

.bw-table th.bw-table__rank {
    width: 70px;
    text-align: center;
}

.bw-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.15s;
}

.bw-table tbody tr:hover {
    background-color: #fafafa;
}

.bw-table td {
    padding: 16px;
    vertical-align: middle;
    color: #4f4f4f;
}

.bw-table tbody .bw-table__rank {
    font-size: 18px;
    color: #11131c;
    text-align: center;
}

.bw-table__name a {
    color: #11131c;
    text-decoration: none;
    transition: color 0.2s;
}

.bw-table__name a:hover {
    color: #ff1628;
}

.bw-empty {
    color: #929292;
    font-style: italic;
    padding: 24px 0;
}

/* Before table text
   ============================================ */
.bw-before-table-text {
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.bw-before-table-text__inner {
    font-size: 16px;
    line-height: 1.7;
    color: #4f4f4f;
}

/* CF7 Form
   ============================================ */
.bw-form {
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
}

.bw-form__inner {
    max-width: 680px;
}

/* Responsive
   ============================================ */
@media (max-width: 900px) {
    .bw-hero {
        flex-direction: column;
        gap: 32px;
        padding: 40px 0;
    }

    .bw-hero__image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .bw-hero__title {
        font-size: 30px;
    }

    .bw-tabs__btn {
        padding: 12px 16px;
        font-size: 11px;
    }
		
		body.rtl .bw-tabs__nav {
				flex-direction: column;
				align-items: flex-start;
				padding-bottom: 2px;
		}

    .bw-table {
        font-size: 13px;
    }

    .bw-table th,
    .bw-table td {
        padding: 10px 8px;
    }

    .bw-table__location,
    .bw-table__industry {
        display: none;
    }
}
