/*
 * RS-485 / RS-422 landing page: local additions only.
 * Everything else comes from the live site's Bootstrap 4.6 and
 * layout-landing-page.css (.landing-page and .solution-data-page scopes).
 */

/* Offset in-page jumps for the sticky header + section nav */
.rs485-page [id] {
    scroll-margin-top: 150px;
}

/* ---------- Placeholder-only: header / footer stand-ins ---------- */
.rs485-header {
    min-height: 90px;
    background-color: #FFFFFF;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.rs485-header .navbar-brand img {
    height: 60px;
    width: auto;
}

.rs485-header-nav a {
    color: #424B5A;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 0 12px;
}

.rs485-header-nav a:hover {
    color: #164BB7;
}

.rs485-placeholder {
    display: inline-block;
    padding: 4px 10px;
    border: 1px dashed #999999;
    font-size: 12px;
    font-weight: 500;
    color: #666666;
}

.footer-links .rs485-placeholder {
    border-color: #CCCCCC;
    color: #FFFFFF;
}

/* ---------- Hero ---------- */
.rs485-page .hero {
    min-height: 540px;
    background: linear-gradient(110deg, rgba(22,75,183,1) 5%, rgba(66,75,90,0) 100%),
                url(../transceivers/images/hero.svg) center center / cover no-repeat;
}

.rs485-page .hero h1 {
    line-height: 1.2;
    margin-bottom: 20px;
}

.rs485-page .hero h4 {
    font-weight: 400;
    line-height: 1.35;
}

.rs485-page .hero .btn {
    margin-right: 8px;
}

.rs485-page .hero .btn-light {
    background-color: #FFFFFF;
    border: 2px solid #FFFFFF;
    color: #164BB7;
}

.rs485-page .hero .btn-light:hover {
    background-color: #164BB7;
    border-color: #FFFFFF;
    color: #FFFFFF;
    transition: all 0.5s ease;
}

/* ---------- Overview (same treatment as .anywan-page .section-1) ---------- */
.rs485-overview {
    padding: 100px 0;
}

.rs485-overview h3 {
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 30px;
}

.rs485-overview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* ---------- Transceiver benefits ---------- */
.rs485-benefits {
    padding-bottom: 100px;
}

.rs485-benefits .section-underline {
    margin: 10px auto 40px;
}

.rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.rs485-benefit-card {
    border: 1px solid #E5E5E5;
    border-radius: 15px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rs485-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.rs485-benefit-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rs485-benefit-head h5 {
    font-weight: 600;
    margin-bottom: 0;
}

.rs485-benefit-head img {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    margin-left: 10px;
}

.rs485-benefit-card .card-text {
    margin-top: auto;
    margin-bottom: 0;
    font-weight: 400;
}

/* ---------- Featured family: stacked arrow links ---------- */
.rs485-line-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #999999;
    color: #FFFFFF;
    font-weight: 500;
}

.rs485-line-link:hover {
    color: #FFFFFF;
    border-bottom-color: #ED1C24;
}

.rs485-line-link .fa-arrow-right {
    transition: transform .25s ease;
}

.rs485-line-link:hover .fa-arrow-right {
    transform: translateX(6px);
}

/* Overrides for reused .solution-data-page sections */
.rs485-page .products {
    padding-bottom: 100px;
}

.rs485-page .products-cards {
    padding: 100px 0;
}

.rs485-page .products-cards .card {
    margin-top: 0;
}

.rs485-page .products-cards .card .img-wrapper {
    height: 300px;
    background: #164BB7 url(../transceivers/images/card-bg.svg) center center / cover no-repeat;
}

.rs485-page .products-cards .card .img-wrapper .text {
    bottom: 30px;
    max-width: 56%;
    font-size: 24px;
    line-height: 32px;
}

.rs485-page .products-cards .card .img-wrapper .chip-img {
    top: 40px;
    right: 30px;
    height: 200px;
}

/* ---------- Cross-reference banner ---------- */
.rs485-replacement {
    padding: 60px 0;
}

/* ---------- Find your part ---------- */
.rs485-find {
    padding: 40px 0 60px;
}

.rs485-find .section-underline {
    margin-bottom: 30px;
}

.rs485-find-copy {
    max-width: 760px;
}

.rs485-pill {
    margin: 0 8px 8px 0;
    padding: 8px 18px;
    border: 0;
    border-radius: 6px;
    background-color: #EEEEEE;
    color: #424B5A;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}

.rs485-pill:hover {
    background-color: #424B5A;
    color: #FFFFFF;
}

.rs485-pill:focus-visible {
    outline: 2px solid #164BB7;
    outline-offset: 2px;
}

.rs485-pill.active,
.rs485-pill.active:hover {
    background-color: #164BB7;
    color: #FFFFFF;
}

/* ---------- FAQ placeholder ---------- */
.rs485-faq {
    padding: 100px 0;
}

.rs485-faq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
    font-weight: 500;
}

.rs485-faq-answer {
    padding: 0 0 20px;
    border-bottom: 1px solid #E5E5E5;
    color: #666666;
}

.rs485-faq-answer p {
    max-width: 800px;
}

@media (max-width: 991px) {
    .rs485-overview img {
        margin-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .rs485-overview {
        padding: 60px 0;
    }

    .rs485-benefits-panel {
        padding: 30px 15px;
    }

    .rs485-page .products-cards .card .img-wrapper {
        height: 240px;
    }

    .rs485-page .products-cards .card .img-wrapper .text {
        left: 15px;
        bottom: 15px;
        max-width: 90%;
        font-size: 18px;
        line-height: 24px;
    }

    .rs485-page .products-cards .card .img-wrapper .chip-img {
        top: 10px;
        right: 10px;
        height: 90px;
    }
}

/* ---------- Mockup colour overrides ---------- */
.rs485-page .content-nav .nav a:hover,
.rs485-page .content-nav .active {
    background-color: #164BB7;
}

/* Card footer corners follow the card's 15px radius */
.rs485-page .products-cards .card-footer {
    border-radius: 0 0 15px 15px;
}

.rs485-page .footer-banner {
    background: #424B5A;
}

.rs485-page .resources .documentation .card {
    background: #424B5A;
    border: 0;
}

/* ==========================================================================
   MxL8323x and RS-485 / RS-422 pages (values from the Figma file)
   ========================================================================== */

/* Hero */
.rs485-page.mxl-page .hero {
    min-height: 500px;
}

.mxl8323x-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/mxl8323x/hero.png) center center / cover no-repeat;
}

.rs485-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/rs485/hero.png) center center / cover no-repeat;
}

.rs485-landing.mxl-page .footer-banner {
    background: #164BB7 url(../transceivers/images/rs485/upgrade-banner-bg.png) center center / cover no-repeat;
}

.mxl-page .hero h1 {
    line-height: 60px;
    margin-bottom: 16px;
}

.mxl-hero-copy {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 26px;
}

.mxl-page .hero .cta-btn {
    margin-top: 24px;
}

.mxl-page .hero .btn-light {
    padding: 10px 22px;
    font-weight: 500;
    line-height: 22px;
}

/* Section nav */
.mxl-page .content-nav {
    min-height: 40px;
}

/* Keep banners behind the sticky section nav when scrolling */
.rs485-replacement,
.eth-whitepaper-banner,
.footer-banner {
    position: relative;
    z-index: 1;
}

.mxl-page .content-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
}

/* Text + image sections */
.mxl-page .rs485-overview p {
    line-height: 24px;
    color: #333333;
}

.rs485-overview img.rs485-img-auto {
    height: auto;
}

.rs485-overview h3.mxl-h3-strong {
    color: #333333;
    font-size: 36px;
    font-weight: 700;
    line-height: 45px;
    margin-bottom: 30px;
}

.rs485-overview h3.mxl-h3-light {
    color: #333333;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 24px;
}

/* Dark sections: Figma background and gradient */
.mxl-page .products,
.mxl-page .resources {
    background: linear-gradient(122deg, rgba(38,43,52,1) 0%, rgba(38,43,52,.8) 100%),
                url(../shared/benefits-background.png) center center / cover no-repeat;
}

.mxl-page .products li {
    margin-bottom: 10px;
    line-height: 20px;
}

.mxl-page .products .fa-ul {
    margin-left: 29px;
}

.mxl-page .products .fa-li {
    left: -29px;
    width: 16px;
    font-size: 16px;
    line-height: 20px;
}

.mxl-page .products .img-wrapper {
    height: 434px;
}

/* Product tables */
.mxl-page .rs485-find {
    padding: 40px 0;
}

.mxl-page .rs485-find .section-underline {
    margin-bottom: 20px;
}

.mxl-table-wrap {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 20px;
}

.mxl-table-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 33px;
}

.mxl-table-filter {
    padding: 0;
    border: 0;
    background: none;
    color: #68A1DC;
    font-size: 14px;
    cursor: pointer;
}

.mxl-table-filter:hover {
    color: #164BB7;
}

.mxl-table-export {
    display: flex;
    align-items: center;
    color: #82BF4F;
    font-size: 14px;
}

.mxl-table-export:hover {
    color: #5E9A2F;
}

.mxl-table-export span {
    margin-right: 5px;
    padding: 2px;
    border-radius: 2px;
    background-color: #82BF4F;
    color: #FFFFFF;
    font-size: 12.6px;
    font-weight: 500;
    line-height: 11.34px;
}

.mxl-table-export small {
    margin-left: 5px;
    font-size: 8px;
}

.mxl-table {
    width: 100%;
    min-width: 1326px;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 17.5px;
}

.mxl-table th {
    padding: 17.75px 12px;
    border-bottom: 1px solid #FFFFFF;
    background-color: #262B34;
    color: #FFFFFF;
    font-weight: 700;
    vertical-align: top;
}

.mxl-table th:first-child {
    padding: 10px 12px;
}

.mxl-table td {
    height: 62px;
    padding: 20.5px 12px;
    border-bottom: 1px solid #C3C6CB;
    color: #838181;
    vertical-align: top;
}

.mxl-table td:first-child {
    vertical-align: middle;
}

.mxl-table td:nth-child(2) {
    padding-top: 11px;
    padding-bottom: 13px;
}

.mxl-table tbody tr {
    transition: background-color .25s ease;
}

.mxl-table tbody tr:hover {
    background-color: #F5F5F5;
}

.mxl-table a {
    color: #164BB7;
}

.mxl-table a:hover {
    text-decoration: underline;
}

.mxl-table a.mxl-table-part {
    display: block;
    color: #68A1DC;
    font-weight: 700;
}

.mxl-table .fa-info-circle {
    display: block;
    margin-top: 5px;
    color: #CCCCCC;
    font-size: 14px;
}

.mxl-compare {
    width: 100%;
    padding: 7px 0;
    border: 1px solid #6C757D;
    border-radius: 4px;
    background-color: #6C757D;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 19px;
    cursor: pointer;
    transition: background-color .25s ease;
}

.mxl-compare:hover {
    background-color: #5A6268;
}

/* Banner */
.mxl-page .footer-banner {
    padding: 40px 60px;
    background: #164BB7 url(../transceivers/images/mxl8323x/upgrade-banner-bg.png) center center / cover no-repeat;
    box-shadow: 0 3px 3px rgba(0,0,0,.16);
}

.mxl-page .footer-banner h4 {
    margin-bottom: 12px;
    font-weight: 600;
}

.mxl-page .footer-banner p {
    margin-bottom: 24px;
    line-height: 24px;
}

/* Applications */
.mxl-page .rs485-benefits {
    padding-top: 100px;
}

.mxl-page .rs485-benefits .section-underline {
    margin-bottom: 52px;
}

.mxl-page .rs485-benefit-card {
    min-height: 357px;
    box-shadow: 0 3px 1.5px rgba(0,0,0,.16);
}

.mxl-page .rs485-benefit-card .card-body {
    padding: 21px;
}

.mxl-page .rs485-benefit-head {
    justify-content: flex-start;
}

.mxl-page .rs485-benefit-head h5 {
    width: 105px;
    color: #333333;
    line-height: 25px;
}

.mxl-page .rs485-benefit-head img {
    width: 74px;
    height: 74px;
    margin-left: 13px;
}

.mxl-page .rs485-benefit-card .fa-ul {
    margin-left: 34px;
    color: #333333;
    line-height: 20px;
}

.mxl-page .rs485-benefit-card .fa-li {
    left: -34px;
    width: 20px;
    font-size: 15.5px;
    line-height: 20px;
}

.mxl-page .rs485-benefit-card .card-text {
    color: #333333;
    line-height: 20px;
}

/* Resources */
.mxl-page .resources h3 {
    margin-bottom: 48px;
    font-size: 24px;
    line-height: 36px;
}

.mxl-page .resources .documentation .card {
    box-shadow: 0 3px 1.5px rgba(0,0,0,.16);
}

.mxl-page .resources .documentation h5 {
    margin: 20px 0;
    font-weight: 600;
    line-height: 26px;
}

.mxl-page .resources .briefs {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 17.5px;
}

/* FAQ */
.mxl-faq {
    padding: 100px 0;
}

.mxl-faq .section-underline {
    margin-bottom: 52px;
}

.mxl-faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.mxl-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 22px 0;
    border: 0;
    background: none;
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    text-align: left;
    cursor: pointer;
    transition: color .25s ease;
}

.mxl-faq-question:hover {
    color: #164BB7;
}

.mxl-faq-question:focus-visible {
    outline: 2px solid #164BB7;
    outline-offset: 2px;
}

.mxl-faq-question i {
    flex: 0 0 auto;
    margin-left: 24px;
    color: #164BB7;
    font-size: 16px;
    transform: rotate(180deg);
    transition: transform .25s ease;
}

.mxl-faq-question.collapsed i {
    transform: rotate(0);
}

.mxl-faq-answer {
    max-width: 900px;
    margin: -10px 0 0;
    padding-bottom: 22px;
    color: #666666;
    line-height: 24px;
}

@media (max-width: 575px) {
    .mxl-page .footer-banner {
        padding: 40px 20px;
    }

    .mxl-table-wrap {
        padding: 0 15px;
    }

    .mxl-faq-question {
        font-size: 16px;
        line-height: 24px;
    }
}

/* Keep long words such as "Automation" whole in the 105px title column */
.mxl-page .rs485-benefit-head h5 {
    word-wrap: normal;
    overflow-wrap: normal;
}

@media (max-width: 1199px) {
    .mxl-page .products .img-wrapper {
        height: auto;
        max-width: 570px;
        margin-top: 40px;
    }

    .mxl-page .products .img-wrapper .chip-img {
        position: static;
        width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   RS-485 / RS-422 page only
   ========================================================================== */

/* Hero */
.rs485-landing .hero h1 {
    margin-bottom: 20px;
}

.rs485-landing .mxl-hero-copy {
    font-size: 24px;
    line-height: 32px;
}

.rs485-landing.mxl-page .hero .cta-btn {
    margin-top: 40px;
}

.rs485-landing.mxl-page .hero .btn-outline-light {
    padding: 10px 22px;
    border-color: #FFFFFF;
    background: none;
    font-weight: 500;
    line-height: 22px;
}

.rs485-landing.mxl-page .hero .btn-outline-light:hover {
    background-color: #FFFFFF;
    color: #164BB7;
}

/* Overview */
.rs485-landing .rs485-overview h3.mxl-h3-strong {
    margin-bottom: 30px;
}

/* Benefit cards */
.rs485-landing .rs485-benefit-card li {
    margin-bottom: 5px;
}

/* Featured family */
.rs485-landing .products .section-underline {
    margin-bottom: 40px;
}

.rs485-featured-title {
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 40px;
}

.rs485-featured-apps {
    margin-bottom: 41px;
    line-height: 24px;
}

.rs485-landing .products .section-text .rs485-featured-list {
    margin-top: 0;
    margin-bottom: 58px;
}

.rs485-landing .rs485-line-link {
    margin-bottom: 27.5px;
    padding: 0 0 11.5px;
    border-bottom-color: #666666;
    font-size: 14px;
    line-height: 17.5px;
}

.rs485-landing .rs485-line-link:hover {
    border-bottom-color: #ED1C24;
}

/* Family cards */
.rs485-landing .products-cards {
    padding: 100px 0 70px;
    background-color: #F5F5F5;
}

.rs485-card-col {
    margin-bottom: 30px;
}

.rs485-landing .products-cards .card {
    border-radius: 15px;
    box-shadow: 0 3px 1.5px rgba(0,0,0,.16);
}

.rs485-landing.rs485-page .products-cards .card .img-wrapper {
    height: 300px;
    border-radius: 13px;
    background: #164BB7 url(../transceivers/images/rs485/card-bg.png) center center / cover no-repeat;
}

.rs485-landing.rs485-page .products-cards .card .img-wrapper .text {
    left: 20px;
    bottom: 20px;
    width: 265px;
    max-width: none;
    font-size: 24px;
    line-height: 32px;
}

.rs485-landing.rs485-page .products-cards .card .img-wrapper .chip-img {
    top: auto;
    right: 20px;
    bottom: 20px;
    width: 250px;
    height: 250px;
}

.rs485-landing.rs485-page .products-cards .card-body {
    padding: 40px 20px 60px;
}

.rs485-landing.rs485-page .products-cards .card-body .features {
    margin: 0 0 35px;
}

.rs485-landing.rs485-page .products-cards .card-body .applications {
    margin: 0;
}

.rs485-landing.rs485-page .products-cards .card-body label {
    margin-bottom: 8px;
    color: #333333;
    line-height: 17.5px;
}

.rs485-landing.rs485-page .products-cards .card-body .fa-ul {
    max-width: 275px;
    margin-left: 25px;
    color: #333333;
    line-height: 20px;
}

.rs485-landing .products-cards .card-body li {
    margin-bottom: 10px;
}

.rs485-landing .products-cards .card-body .fa-li {
    left: -25px;
    width: 8px;
    font-size: 16px;
    line-height: 20px;
}

.rs485-landing .products-cards .card-footer {
    padding: 21px 20px 20px;
    border-top: 1px solid rgba(0,0,0,.13);
    border-radius: 0 0 15px 15px;
    background-color: #FFFFFF;
}

.rs485-landing .products-cards .card-link {
    color: #164BB7;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.5px;
}

.rs485-landing .products-cards .card-link .fa-arrow-right {
    margin-left: 5px;
    transition: transform .25s ease;
}

.rs485-landing .products-cards .card-link:hover .fa-arrow-right {
    transform: translateX(6px);
}

/* Banner */
.rs485-banner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rs485-banner-copy {
    flex: 0 1 620px;
    margin-right: 28px;
}

.rs485-landing .rs485-banner-row .btn {
    flex: 0 0 auto;
    float: none;
    min-height: 50px;
    margin: 0;
    padding: 8px 18px;
    border-color: #F8F9FA;
    background-color: rgba(255,255,255,.15);
    font-size: 20px;
    line-height: 30px;
}

.rs485-landing .rs485-banner-row .btn:hover {
    background-color: #FFFFFF;
    color: #164BB7;
}

/* Find your part */
.rs485-landing.mxl-page .rs485-find .section-underline {
    margin-bottom: 20px;
}

.rs485-landing .rs485-find-copy {
    margin-bottom: 8px;
}

.rs485-landing .rs485-find-copy h4 {
    margin-bottom: 16px;
    color: #333333;
    line-height: 28px;
}

.rs485-landing .rs485-find-copy p {
    margin-bottom: 0;
    color: #333333;
    line-height: 24px;
}

.rs485-pills {
    padding: 8px 0;
}

.rs485-landing .rs485-pill {
    height: 36px;
    margin: 8px 10px 0 0;
    padding: 0 20px;
    border-radius: 4px;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}

.rs485-landing .rs485-pill:hover {
    color: #FFFFFF;
}

.rs485-landing .rs485-pill.active {
    color: #FFFFFF;
}

.mxl-pane-copy {
    padding-top: 12px;
    padding-bottom: 12px;
}

.mxl-pane-copy h5 {
    margin-bottom: 10px;
    color: #333333;
    font-weight: 600;
    line-height: 23px;
}

.mxl-pane-copy p {
    max-width: 760px;
    margin-bottom: 0;
    color: #666666;
    line-height: 24px;
}

/* Application notes */
.rs485-landing .resources .briefs {
    padding-bottom: 8px;
}

@media (max-width: 1199px) {
    .rs485-banner-row {
        display: block;
    }

    .rs485-banner-copy {
        margin: 0 0 24px;
    }

    .rs485-landing .rs485-banner-row .btn {
        white-space: normal;
    }
}

@media (max-width: 575px) {
    .rs485-landing .mxl-hero-copy {
        font-size: 20px;
        line-height: 28px;
    }

    .rs485-landing.rs485-page .products-cards .card .img-wrapper {
        height: 300px;
    }

    .rs485-landing.rs485-page .products-cards .card .img-wrapper .text {
        left: 15px;
        bottom: 15px;
        width: auto;
        max-width: 92%;
        font-size: 20px;
        line-height: 26px;
    }

    .rs485-landing.rs485-page .products-cards .card .img-wrapper .chip-img {
        top: 10px;
        right: 10px;
        bottom: auto;
        width: 110px;
        height: 110px;
    }
}

/* ==========================================================================
   MxL8321x page
   ========================================================================== */

/* Hero */
.mxl8321x-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/mxl8321x/hero.png) center center / cover no-repeat;
}

/* Drop-in replacement banner background */
.mxl8321x-landing .footer-banner {
    background: #424B5A url(../transceivers/images/mxl8321x/upgrade-banner-bg.png) center center / cover no-repeat;
    border-radius: 15px;
}

/* Applications: 3x2 grid adjustments */
.mxl8321x-landing .rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.mxl8321x-landing .rs485-benefit-card {
    min-height: auto;
    border-radius: 15px;
}

.mxl8321x-landing .rs485-benefit-head {
    align-items: flex-start;
}

.mxl8321x-landing .rs485-benefit-head h5 {
    width: auto;
    flex: 1;
}

/* ==========================================================================
   Resource carousel (shared across pages)
   ========================================================================== */

.mxl-resource-carousel-wrap {
    position: relative;
}

.mxl-resource-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.mxl-resource-carousel::-webkit-scrollbar {
    display: none;
}

.mxl-resource-slide {
    flex: 0 0 310px;
    scroll-snap-align: start;
}

.mxl-resource-slide .card {
    background: #424B5A;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 3px 1.5px rgba(0,0,0,.16);
}

.mxl-resource-slide .card-title {
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 0;
}

.mxl-resource-slide .card-title .fal {
    color: #FFFFFF;
}

.mxl-resource-slide h5 {
    margin: 20px 0;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 26px;
}

.mxl-resource-slide .briefs {
    font-size: 14px;
    line-height: 17.5px;
}

.mxl-resource-slide .briefs a.text-light:hover {
    text-decoration: underline !important;
}

.mxl-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255,255,255,.15);
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .25s ease, opacity .25s ease;
}

.mxl-carousel-arrow:hover {
    background-color: rgba(255,255,255,.3);
}

.mxl-carousel-prev {
    left: -20px;
}

.mxl-carousel-next {
    right: -20px;
}

@media (max-width: 991px) {
    .mxl-resource-slide {
        flex: 0 0 280px;
    }

    .mxl-carousel-prev {
        left: -10px;
    }

    .mxl-carousel-next {
        right: -10px;
    }
}

@media (max-width: 575px) {
    .mxl-resource-slide {
        flex: 0 0 260px;
    }

    .mxl-carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .mxl-carousel-prev {
        left: -5px;
    }

    .mxl-carousel-next {
        right: -5px;
    }
}

/* ==========================================================================
   MxL8312x page
   ========================================================================== */

/* Hero */
.mxl8312x-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/mxl8312x/hero.png) center center / cover no-repeat;
}

/* Drop-in replacement banner background */
.mxl8312x-landing .footer-banner {
    background: #424B5A url(../transceivers/images/mxl8312x/upgrade-banner-bg.png) center center / cover no-repeat;
    border-radius: 15px;
}

/* Applications: 3x2 grid adjustments */
.mxl8312x-landing .rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.mxl8312x-landing .rs485-benefit-card {
    min-height: auto;
    border-radius: 15px;
}

.mxl8312x-landing .rs485-benefit-head {
    align-items: flex-start;
}

.mxl8312x-landing .rs485-benefit-head h5 {
    width: auto;
    flex: 1;
}

/* ==========================================================================
   Shared: Resources section background (all pages)
   ========================================================================== */

.mxl-page .resources {
    background: #262B34 url(../shared/resources-background.png) center center / cover no-repeat;
}

/* ==========================================================================
   MxL8311x page
   ========================================================================== */

/* Hero */
.mxl8311x-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/mxl8311x/hero.png) center center / cover no-repeat;
}

/* Drop-in replacement banner background */
.mxl8311x-landing .footer-banner {
    background: #424B5A url(../transceivers/images/mxl8311x/upgrade-banner-bg.png) center center / cover no-repeat;
    border-radius: 15px;
}

/* Applications: 3+2 grid adjustments */
.mxl8311x-landing .rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.mxl8311x-landing .rs485-benefit-card {
    min-height: auto;
    border-radius: 15px;
}

.mxl8311x-landing .rs485-benefit-head {
    align-items: flex-start;
}

.mxl8311x-landing .rs485-benefit-head h5 {
    width: auto;
    flex: 1;
}

/* ==========================================================================
   MxL834xx page
   ========================================================================== */

/* Hero */
.mxl834xx-landing.mxl-page .hero {
    background: #164BB7 url(../transceivers/images/mxl834xx/hero.png) center center / cover no-repeat;
}

/* Drop-in replacement banner background */
.mxl834xx-landing .footer-banner {
    background: #424B5A url(../transceivers/images/mxl834xx/upgrade-banner-bg.png) center center / cover no-repeat;
    border-radius: 15px;
}

/* Applications: 3+2 grid adjustments */
.mxl834xx-landing .rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.mxl834xx-landing .rs485-benefit-card {
    min-height: auto;
    border-radius: 15px;
}

.mxl834xx-landing .rs485-benefit-head {
    align-items: flex-start;
}

.mxl834xx-landing .rs485-benefit-head h5 {
    width: auto;
    flex: 1;
}
/* ==========================================================================
   Shared: Button hover on dark backgrounds (all pages)
   ========================================================================== */

.footer-banner .btn,
.rs485-replacement .btn {
    border: 2px solid #FFFFFF;
    transition: all 0.5s ease;
}

.footer-banner .btn:hover,
.rs485-replacement .btn:hover {
    background: #164BB7;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* ==========================================================================
   Shared: Section nav active highlight (all pages)
   ========================================================================== */

#section-nav .nav a.active {
    background-color: #164BB7 !important;
}

/* ==========================================================================
   Ethernet: Section nav
   ========================================================================== */

.ethernet-page .content-nav .nav a:hover,
.ethernet-page .content-nav .active {
    background-color: #164BB7;
}

}

/* ==========================================================================
   Ethernet: Hero
   ========================================================================== */

.ethernet-page.ethernet-main-landing.mxl-page .hero {
    background: #164BB7 url(../ethernet/images/ethernet-main-page/hero.png) center center / cover no-repeat !important;
}

/* ==========================================================================
   Ethernet: Key stats grid
   ========================================================================== */

.eth-stats {
    padding: 60px 0 40px;
}

.eth-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.eth-stat-box {
    background: #F5F5F5;
    border-radius: 10px;
    padding: 20px 24px;
}

.eth-stat-box h5 {
    font-size: 14px;
    font-weight: 700;
    color: #164BB7;
    margin-bottom: 8px;
}

.eth-stat-box p {
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .eth-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .eth-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Ethernet: Portfolio table
   ========================================================================== */

.eth-portfolio {
    padding: 60px 0;
}

.eth-portfolio-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.eth-portfolio-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    font-size: 13px;
    line-height: 18px;
}

.eth-portfolio-table th {
    padding: 12px 16px;
    background: #164BB7;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 1px solid #164BB7;
}

.eth-portfolio-table th:first-child {
    text-align: left;
    width: 150px;
    min-width: 150px;
    background: none;
    border: none;
}

.eth-portfolio-table thead th.th-1g {
    border-right: 3px solid #FFFFFF;
}

.eth-portfolio-table td {
    padding: 12px 14px;
    border: 1px solid #E0E0E0;
    vertical-align: top;
}

.eth-portfolio-table td:first-child {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a4e;
    background: #F8F8F8;
    width: 150px;
    min-width: 150px;
    vertical-align: middle;
}

/* Product content within each table cell */
.eth-product-name {
    margin-bottom: 4px;
}

.eth-product-specs {
    margin-top: 4px;
}

.eth-product-name {
    font-weight: 700;
    font-size: 13px;
    color: #164BB7;
    margin-bottom: 4px;
}

.eth-product-name a {
    color: #164BB7;
    text-decoration: none;
}

.eth-product-name a:hover {
    text-decoration: underline;
}

.eth-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 3px;
    margin-bottom: 4px;
    line-height: 16px;
}

.eth-badge-c {
    background: #164BB7;
    color: #FFFFFF;
}

.eth-badge-i {
    background: #ED1C24;
    color: #FFFFFF;
}

.eth-product-specs {
    font-size: 12px;
    line-height: 17px;
    color: #666666;
}

.eth-cell-empty {
    color: #999999;
    font-style: italic;
    vertical-align: middle;
    text-align: center;
}

.eth-portfolio-legend {
    margin-top: 12px;
    font-size: 12px;
    color: #666666;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Ethernet: White paper banner
   ========================================================================== */

.eth-whitepaper-banner {
    padding: 60px 0;
}

.eth-whitepaper-banner .footer-banner {
    background: #164BB7 url(../ethernet/images/ethernet-main-page/whitepaper-banner-bg.png) center center / cover no-repeat;
    border-radius: 15px;
    padding: 80px 60px;
    text-align: left;
}

.eth-whitepaper-banner .footer-banner h4 {
    margin-bottom: 16px;
}

.eth-whitepaper-banner .footer-banner p {
    margin-bottom: 24px;
}

.eth-whitepaper-banner .footer-banner .btn {
    display: inline-block;
    padding: 12px 28px;
    background: #FFFFFF;
    color: #164BB7;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
}

.eth-whitepaper-banner .footer-banner .btn:hover {
    background: #164BB7;
    color: #FFFFFF;
    border-color: #FFFFFF;
    text-decoration: none;
    transition: all 0.5s ease;
}

/* ==========================================================================
   Ethernet: Application cards
   ========================================================================== */

.ethernet-main-landing .rs485-benefits-panel {
    background-color: #F5F5F5;
    border-radius: 15px;
    padding: 60px 40px;
}

.eth-app-card {
    background: #FFFFFF;
    border-radius: 15px;
    border: 0;
    overflow: hidden;
    height: 100%;
}

.eth-app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.eth-app-card .card-body {
    padding: 20px;
}

.eth-app-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.eth-app-card p {
    font-size: 13px;
    color: #164BB7;
    margin-bottom: 0;
    font-weight: 600;
}

/* ==========================================================================
   Ethernet: Video carousel
   ========================================================================== */

.eth-video-slide {
    flex: 0 0 400px;
    scroll-snap-align: start;
}

.eth-video-slide .card {
    background: #F5F5F5;
    border: 0;
    border-radius: 15px;
    overflow: hidden;
}

.eth-video-slide .card-body {
    padding: 16px;
}

.eth-video-slide h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0;
    line-height: 20px;
}

.eth-video-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.eth-video-carousel::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991px) {
    .eth-video-slide {
        flex: 0 0 320px;
    }
}

@media (max-width: 575px) {
    .eth-video-slide {
        flex: 0 0 280px;
    }

    .ethernet-main-landing .rs485-benefits-panel {
        padding: 40px 20px;
    }
}

/* Highlighted intro text */
.eth-intro-highlight {
    font-size: 16px;
    line-height: 26px;
    color: #333333;
    margin-bottom: 40px;
}

.eth-intro-highlight a {
    color: #164BB7;
}
/* Replacement banner: supplier list */
.footer-banner .replacement-vendor-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

.footer-banner .replacement-vendor-list li {
    margin-bottom: 8px;
}

.footer-banner .replacement-vendor-list li:last-child {
    margin-bottom: 0;
}

.footer-banner .replacement-vendor-list li::marker {
    color: #FFFFFF;
}
/* ==========================================================================
   Shared: Card content top-alignment
   ========================================================================== */

.mxl-page .rs485-benefit-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mxl-page .rs485-benefit-card .card-text {
    margin-top: 0;
}

.eth-app-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rs485-landing.rs485-page .products-cards .card {
    height: 100%;
}

.rs485-landing.rs485-page .products-cards .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rs485-landing.rs485-page .products-cards .card-body .applications {
    margin-top: 0;
}