/* CMS block styles. Process is fully self-contained. The other blocks reuse
   the site's Poppins faces (Poppins-Medium for headings, Poppins-Light for text). */

/* ---- Project process ---- */

.cms-process.section-item {
    background: #000;
    overflow: hidden;
}

.cms-process .row {
    flex-wrap: wrap;
}

.cms-process .process-content {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

.cms-process h2,
.cms-process h3,
.cms-process .process-link,
.cms-process .pr-num {
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-style: normal;
}

.cms-process p,
.cms-process .pr-text {
    font-family: "Poppins-Light";
    font-weight: normal;
    font-style: normal;
}

.cms-process .section-header h2 {
    color: #fff;
}

.cms-process .process-switch-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

@media (min-width: 1200px) {
    .cms-process .process-switch-wrap {
        justify-content: flex-end;
    }
}

.cms-process .process-switch {
    display: inline-flex;
    max-width: 100%;
    gap: 4px;
    padding: 5px;
    background: #171717;
    border: 1px solid #2c2c2c;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cms-process .process-switch::-webkit-scrollbar {
    display: none;
}

.cms-process .process-switch .process-link {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 999px;
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.cms-process .process-switch .process-link:hover {
    color: #fff;
}

.cms-process .process-switch .process-link.link-p-a {
    background: #fe8719;
    color: #111;
}

.cms-process .process-content-none {
    display: none !important;
}

.cms-process .process-track {
    position: relative;
    counter-reset: cms-step;
    margin-top: 48px;
    padding-bottom: 36px;
}

.cms-process .process-track::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: #fe8719;
}

.cms-process .cms-step {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    align-items: start;
    counter-increment: cms-step;
    margin-bottom: 36px;
}

.cms-process .cms-step:last-child {
    margin-bottom: 0;
}

/* Cover the line above the first circle. The line still runs out below the last one. */
.cms-process .cms-step:first-child::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 0;
    width: 10px;
    height: calc(28px * 1.25 / 2);
    transform: translateX(-50%);
    background: #000;
}

.cms-process .pr-title-wrapper {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
    text-align: right;
    padding-right: 10px;
}

.cms-process .cms-step:nth-child(2n) .pr-title-wrapper {
    grid-column: 3;
    text-align: left;
    padding-right: 0;
    padding-left: 10px;
}

.cms-process .pr-title {
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 12px;
    overflow-wrap: break-word;
}

.cms-process .pr-text {
    color: #b9b9b9;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 0;
    max-width: 420px;
    overflow-wrap: break-word;
}

.cms-process .cms-step:nth-child(2n+1) .pr-text {
    margin-left: auto;
}

.cms-process .pr-lolypop {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    margin-top: calc((28px * 1.25 - 40px) / 2);
}

.cms-process .pr-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: url("/images/process/circle_orange.svg") center / contain no-repeat;
    color: #111;
    font-size: 15px;
    line-height: 1;
}

.cms-process .pr-num::before {
    content: counter(cms-step);
}

@media only screen and (max-width: 768px) {
    .cms-process .process-track {
        margin-top: 28px;
    }

    .cms-process .process-track::before {
        left: 20px;
        transform: none;
    }

    .cms-process .process-switch-wrap {
        justify-content: stretch;
    }

    .cms-process .process-switch {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        overflow: visible;
        border-radius: 16px;
    }

    .cms-process .process-switch .process-link {
        white-space: normal;
        text-align: center;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .cms-process .cms-step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        margin-bottom: 28px;
    }

    .cms-process .cms-step:first-child::before {
        left: 20px;
        height: calc(22px * 1.25 / 2);
        transform: translateX(-50%);
    }

    .cms-process .pr-lolypop {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
        margin-top: calc((22px * 1.25 - 40px) / 2);
    }

    .cms-process .pr-title-wrapper,
    .cms-process .cms-step:nth-child(2n) .pr-title-wrapper {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: 0;
    }

    .cms-process .cms-step:nth-child(2n+1) .pr-text {
        margin-left: 0;
    }

    .cms-process .pr-title {
        font-size: 22px;
    }

    .cms-process .pr-text {
        max-width: 100%;
    }
}

/* ---- Clients ---- */

.cms-clients-list {
    margin-top: 36px;
}

.cms-clients-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
}

.cms-clients-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cms-clients-logo img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.45s ease;
}

.cms-clients-logo img:hover {
    filter: none;
    transform: scale(1.05);
}

/* ---- Industries / FAQ cards ---- */

.cms-industries .ind-text-item-wrapper h4,
.cms-faq .ind-text-item-wrapper h4 {
    margin-bottom: 12px;
}

.cms-faq .industries-item-wrapper {
    min-height: 100%;
}

/* ---- Services ---- */

.cms-services a {
    text-decoration: none;
    color: inherit;
}

.cms-services .row.g-3 {
    margin-top: 12px;
}

.cms-service-card {
    position: relative;
    display: block;
    height: 100%;
    min-height: 230px;
    border-radius: 10px;
    overflow: hidden;
    background: #171515;
    transition: transform 0.45s ease;
}

.cms-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.45;
    display: block;
}

.cms-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.cms-service-plain {
    display: flex;
    align-items: flex-end;
}

.cms-service-plain::after {
    display: none;
}

.cms-service-card:hover {
    transform: scale(1.02);
}

.cms-service-text {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 22px 22px;
}

.cms-service-plain .cms-service-text {
    position: relative;
}

.cms-service-text h3,
.cms-service-text h5 {
    font-family: "Poppins-Medium";
    font-weight: normal;
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

.cms-industries .ind-text-item-wrapper h3,
.cms-faq .ind-text-item-wrapper h3 {
    font-size: 1.5rem;
}

.cms-service-text h3::before,
.cms-service-text h5::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 12px;
    background: #fe8719;
}

.cms-service-text p {
    font-family: "Poppins-Light";
    font-weight: normal;
    color: #fff;
    font-size: 15px;
    line-height: 150%;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .cms-service-text h3,
    .cms-service-text h5 {
        font-size: 16px;
    }

    .cms-service-text p {
        font-size: 13px;
    }
}

/* ---- Cases ---- */

.cms-cases-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cms-cases-nav,
.cms-gallery-frame .cms-slider-prev,
.cms-gallery-frame .cms-slider-next {
    z-index: 2;
}

.cms-cases-nav {
    display: flex;
    gap: 10px;
}

.cms-cases-nav button,
.cms-gallery-frame .cms-slider-prev,
.cms-gallery-frame .cms-slider-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #2c2c2c;
    background: #171717;
    color: #fff;
    cursor: pointer;
}

.cms-cases-nav button {
    display: grid;
    place-items: center;
    padding: 0;
}

.cms-cases-nav img {
    width: 16px;
    height: 16px;
}

.cms-cases-stage {
    margin-top: 28px;
}

.cms-cases-stage .cms-slide {
    display: none;
}

.cms-cases-stage .cms-slide.is-on {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.cms-case-media img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.cms-case-copy h3,
.cms-case-copy h3 a {
    font-family: "Poppins-Medium";
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    font-size: 32px;
}

.cms-case-copy h3 a:hover {
    color: #fe8719;
}

.cms-case-copy p,
.cms-case-text,
.cms-case-text p {
    font-family: "Poppins-Light";
    font-weight: normal;
    color: #fff;
    line-height: 150%;
    margin: 16px 0 0;
}

.cms-case-copy a.work-desc-more {
    color: #fe8719;
    text-decoration: none;
}

.cms-case-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #fe8719;
    font-family: "Poppins-Medium";
    font-weight: normal;
    text-decoration: none;
}

.cms-case-more img {
    width: 16px;
}

.cms-case-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.cms-case-thumb {
    flex: 0 0 180px;
    padding: 0;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.cms-case-thumb.is-on {
    border-color: #fe8719;
}

.cms-case-thumb img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    display: block;
}

.cms-case-thumb span {
    display: block;
    padding: 8px 10px 10px;
    font-family: "Poppins-Light";
    font-size: 13px;
    line-height: 1.3;
}

@media only screen and (max-width: 992px) {
    .cms-cases-stage .cms-slide.is-on {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cms-case-copy h3,
    .cms-case-copy h3 a {
        font-size: 24px;
    }
}

/* ---- Milestones ---- */

.cms-milestones-band {
    background: #000 url("/images/milestone/Milestone_bg.jpg") center / cover no-repeat;
    filter: grayscale(100%);
}

.cms-milestones-pad {
    padding-top: 100px;
    padding-bottom: 100px;
}

.cms-milestone {
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
}

.cms-milestone-value {
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

.cms-milestone p {
    font-family: "Poppins-Light";
    font-weight: normal;
    margin: 0 auto;
    max-width: 16rem;
    line-height: 150%;
}

@media only screen and (max-width: 1200px) {
    .cms-milestone-value {
        font-size: calc(1.325rem + 0.9vw);
    }
}

@media only screen and (max-width: 585px) {
    .cms-milestones-pad {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* ---- Gallery: one slider per block ---- */

.cms-gallery-frame {
    position: relative;
    height: 520px;
    margin-top: 28px;
    border-radius: 15px;
    overflow: hidden;
    background: #111;
}

.cms-gallery-frame .cms-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.cms-gallery-frame .cms-slide.is-on {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.cms-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.45s ease;
}

.cms-gallery-frame:hover img {
    filter: none;
}

.cms-gallery-frame .cms-slider-prev,
.cms-gallery-frame .cms-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cms-gallery-frame .cms-slider-prev {
    left: 16px;
}

.cms-gallery-frame .cms-slider-next {
    right: 16px;
}

.cms-gallery-frame .cms-slider-prev::before,
.cms-gallery-frame .cms-slider-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.cms-gallery-frame .cms-slider-prev::before {
    transform: rotate(-135deg);
    margin-left: 18px;
}

.cms-gallery-frame .cms-slider-next::before {
    transform: rotate(45deg);
    margin-right: 18px;
}

.cms-slider-dots {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 6px;
}

.cms-slider-dot {
    flex: 1;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.cms-slider-dot.is-on {
    background: #fe8719;
}

@media only screen and (max-width: 768px) {
    .cms-gallery-frame {
        height: 280px;
    }
}

.cms-rich img,
.cms-rich figure {
    max-width: 100%;
    height: auto;
}

.cms-rich figure {
    margin: 12px 0;
}

/* ---- Certifications: accordion, same look as the home page ---- */

.cms-certs {
    background: #000;
    color: #fff;
}

.cms-certs h2,
.cms-certs h3,
.cms-certs h4 {
    font-family: "Poppins-Medium";
    font-weight: normal;
    color: #fff;
}

.cms-certs p,
.cms-certs-intro {
    font-family: "Poppins-Light";
    font-weight: normal;
    color: #fff;
}

.cms-certs-intro {
    margin-top: 28px;
}

.cms-cert {
    background: #171717;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cms-cert-head {
    position: relative;
    padding: 20px 56px 18px 20px;
    cursor: pointer;
}

.cms-cert-head h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.cms-cert-arrow {
    position: absolute;
    top: 28px;
    right: 20px;
    color: #393838;
    transition: transform 0.45s ease, color 0.3s ease;
}

.cms-cert.is-open .cms-cert-arrow {
    transform: rotateX(180deg);
}

.cms-cert-head:hover .cms-cert-arrow {
    color: #fe8719;
}

.cms-cert-body {
    display: none;
    position: relative;
    padding: 8px 20px 22px;
}

.cms-cert-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #393838;
}

.cms-cert.is-open .cms-cert-body {
    display: block;
}

.cms-cert-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: start;
}

.cms-cert-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.cms-cert-copy h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.cms-cert-copy p {
    margin: 0 0 16px;
}

.cms-cert-link {
    color: #fe8719;
    text-decoration: none;
    font-family: "Poppins-Medium";
    font-weight: normal;
}

.cms-cert-link:hover {
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .cms-cert-head h3 {
        font-size: 22px;
    }

    .cms-cert-row {
        grid-template-columns: 1fr;
    }

    .cms-cert-logo {
        max-width: 140px;
    }
}

/* ---- What clients say: three columns, each one switches ---- */

.cms-reviews {
    background: #000;
    color: #fff;
}

.cms-reviews h2,
.cms-reviews h3 {
    font-family: "Poppins-Medium";
    font-weight: normal;
    color: #fff;
}

.cms-reviews p {
    font-family: "Poppins-Light";
    font-weight: normal;
}

.cms-review-col {
    margin-top: 28px;
}

.cms-review-card {
    position: relative;
    background: #171515;
    border-radius: 8px;
    padding-bottom: 28px;
}

.cms-review-head {
    position: relative;
    height: 97px;
    background: #2f2c2c;
    border-radius: 8px;
    padding: 12px;
}

.cms-review-head span {
    display: block;
    font-family: "Poppins-Light";
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cms-review-head img {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-height: 30px;
    width: auto;
}

.cms-review-stage {
    position: relative;
    min-height: 460px;
    padding: 28px 36px 8px;
}

.cms-review-stage .cms-slide {
    display: none;
}

.cms-review-stage .cms-slide.is-on {
    display: block;
}

.cms-review-stars {
    position: absolute;
    top: -46px;
    right: 12px;
    z-index: 2;
    display: flex;
    gap: 2px;
}

.cms-review-stars img {
    width: 18px;
    height: 18px;
}

.cms-review-kicker {
    display: block;
    margin: 18px 0 8px;
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8e8ea1;
}

.cms-review h3 {
    min-height: 54px;
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.06em;
}

.cms-review-metric {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.cms-review-text {
    max-height: 168px;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.cms-review-stage .cms-slider-prev,
.cms-review-stage .cms-slider-next {
    position: absolute;
    top: 42%;
    width: 28px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent url("/images/review/Arrow_review_left.svg") center / 18px no-repeat;
    cursor: pointer;
    z-index: 2;
}

.cms-review-stage .cms-slider-prev {
    left: 4px;
}

.cms-review-stage .cms-slider-next {
    right: 4px;
    background-image: url("/images/review/Arrow_review_right.svg");
}

.cms-review-all {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
}

@media only screen and (max-width: 992px) {
    .cms-review-stage {
        min-height: 0;
        padding-left: 28px;
        padding-right: 28px;
    }
}

/* ---- Service links ---- */

.cms-service-links.section-item {
    background: #000;
}

.cms-service-links-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 48px;
    align-items: center;
}

.cms-service-links-label {
    margin: 0 0 22px;
    font-family: "Poppins-Light";
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.cms-service-links-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cms-service-links-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 1px 0;
    color: #fff;
    text-decoration: none;
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-size: clamp(1.7rem, 2.55vw, 2.7rem);
    line-height: 1.18;
    cursor: pointer;
}

.cms-service-links-item:hover,
.cms-service-links-item:focus,
.cms-service-links-item:focus-visible {
    color: #fff;
    text-decoration: none;
}

.cms-service-links-arrow {
    display: none;
    flex: none;
    width: 0.72em;
    height: 0.42em;
    margin-top: 0.08em;
    background: url("/images/Arrow_right_new.svg") right center / contain no-repeat;
}

.cms-service-links-item.is-on .cms-service-links-arrow {
    display: block;
}

.cms-service-links-stage {
    display: grid;
    min-width: 0;
}

.cms-service-links-card {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: #141414;
    visibility: hidden;
}

.cms-service-links-card.is-on {
    visibility: visible;
}

.cms-service-links-card img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.cms-service-links-card-body {
    padding: 22px 24px 26px;
}

.cms-service-links-card h3 {
    margin: 0 0 10px;
    font-family: "Poppins-Medium";
    font-weight: normal;
    font-size: 1.35rem;
    line-height: 1.3;
    color: #fff;
}

.cms-service-links-card .cms-service-links-copy {
    margin: 0;
    font-family: "Poppins-Light";
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

@media only screen and (max-width: 992px) {
    .cms-service-links-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cms-service-links-item {
        font-size: 1.55rem;
    }
}

@media only screen and (max-width: 1600px) {
    /* Hero height follows the copy. Short copy keeps a tall photo via min-height;
       long copy grows the image and keeps a smaller, equal gap above and below. */
    #Firmware-page #QA-page .home-service .home-wrapper {
        display: grid;
        min-height: clamp(640px, 92svh, 980px);
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-bg-wrapper {
        grid-area: 1 / 1;
        height: 100% !important;
        max-height: none !important;
        margin-top: 0 !important;
        align-self: stretch;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-bg-wrapper img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important;
        margin: 0 !important;
        object-fit: cover;
        object-position: center center;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-content {
        grid-area: 1 / 1;
        position: relative;
        height: auto;
        min-height: 100%;
        bottom: auto;
        display: flex;
        flex-direction: column;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-content .row {
        height: auto;
        flex: 1 1 auto;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-content .content-wrap {
        box-sizing: border-box;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: auto;
        min-height: 100%;
        /* 60px clears the fixed header; the rest matches the bottom gap. */
        padding-top: calc(60px + 72px);
        padding-bottom: 72px;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-content .home-text {
        width: 100%;
        top: auto !important;
        transform: none !important;
        margin-top: auto;
        margin-bottom: auto;
    }

    #Firmware-page #QA-page .home-service .home-wrapper .home-content .home-text h1 {
        margin-top: 0;
    }
}
