/*
 * Styles for the "Navian Tab Content" WPBakery element
 * (inc/wpbakery/custom-tab-content.php): the image, content title, and
 * countries list it adds on top of TLG's tabs-style-3 tab content.
 *
 * Scoped under #satellite, the ID given to the Tabs element/wrapper these
 * are used inside.
 */

#satellite .navian-tab-content-image {
    margin-bottom: 20px;
}

#satellite .navian-tab-content-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#satellite .navian-tab-content-title {
    margin-bottom: 15px;
    color: #252525;
    font-size: 32px;
    font-weight: 500;
    word-wrap: break-word;
}

#satellite .navian-tab-downlink {
    margin-top: 25px;
    border: 1px solid #d2d6d5;
    border-radius: 4px;
    overflow: hidden;
}

#satellite .navian-tab-downlink-title {
    margin: 0;
    padding: 12px 20px;
    background-color: #252525;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    word-wrap: break-word;
}

#satellite .navian-tab-downlink-list {
    padding: 4px 20px;
}

#satellite .navian-tab-downlink-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #d2d6d5;
}

#satellite .navian-tab-downlink-row:last-child {
    border-bottom: none;
}

#satellite .navian-tab-downlink-label {
    color: #616161;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#satellite .navian-tab-downlink-value {
    color: #252525;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

#satellite .navian-tab-countries {
    margin-top: 25px;
    background-color: #e0032c;
    padding: 20px;
    border-radius: 4px;
}

#satellite .navian-tab-countries-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    word-wrap: break-word;
    text-align: center;
}

#satellite .navian-tab-countries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#satellite .navian-tab-countries-item {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #f96e52;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.2s ease-in-out;
}

#satellite .navian-tab-countries-item:hover {
    background: #000;
    border-color: #3a010b;
    color: #fff;
}

/*
 * Reverses the visible order of the tab nav items. Safe as a pure CSS
 * trick: the theme's tab JS (scripts.js) pairs each tab title with its
 * content pane by DOM index, not by paint order, so this doesn't break
 * click-to-switch behaviour. Swap to row-reverse if the tabs here ever
 * become horizontal instead of the current stacked/vertical layout.
 */
#satellite .tabs-content .tabs {
    display: flex;
    flex-direction: column-reverse;
}

#satellite .tabs-content .tab-content {
    padding: 0px 30px 30px 30px;
}

#satellite .tabs-content .tabs {
    max-width: 20%;
}

#satellite .tabs-content .tabs-content-text {
    max-width: 80%;
}