/* SystemcomWebSite.Frontend/Views/Home/Contact.cshtml */
.contact-section {
        background: linear-gradient(135deg, #f5f7fb 0%, #eef2f7 100%);
    }

    .contact-wrapper {
        border: 1px solid rgba(0,0,0,0.04);
    }

    .contact-header {
        background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 50%, #084298 100%);
        position: relative;
        overflow: hidden;
    }

        .contact-header::before {
            content: "";
            position: absolute;
            top: -80px;
            right: -80px;
            width: 220px;
            height: 220px;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
        }

        .contact-header::after {
            content: "";
            position: absolute;
            bottom: -60px;
            left: -60px;
            width: 180px;
            height: 180px;
            background: rgba(255,255,255,0.06);
            border-radius: 50%;
        }

    .contact-card {
        background: #fff;
        border-radius: 1rem;
        transition: all .25s ease;
        border: 1px solid rgba(0,0,0,0.06);
    }

        .contact-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
        }

    .icon-circle {
        width: 72px;
        height: 72px;
        margin: 0 auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0d6efd, #3d8bfd);
        color: white;
        font-size: 1.75rem;
    }

    .contact-link {
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
        transition: color .2s ease;
    }

        .contact-link:hover {
            color: #084298;
            text-decoration: underline;
        }

    .map-wrapper iframe {
        filter: grayscale(10%);
        transition: all .3s ease;
    }

        .map-wrapper iframe:hover {
            filter: grayscale(0%);
        }


/* SystemcomWebSite.Frontend/Views/Home/About.cshtml */
:root {
        --sc-navy: #082a5a;
        --sc-deep: #071c35;
        --sc-blue: #006eff;
        --sc-cyan: #00b7ff;
        --sc-text: #304764;
        --sc-muted: #65758b;
        --sc-border: #dfe8f2;
        --sc-bg: #f8fbff;
    }

    .about-page {
        background: #ffffff;
        color: #10233f;
        font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    }

    .about-hero-section {
        padding: 80px 0 72px;
        background: #f1f4f8;
        border-bottom: 1px solid #e5edf5;
    }

    .section-kicker {
        position: relative;
        padding-left: 14px;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 1px;
    }

        .section-kicker::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            width: 4px;
            height: 24px;
            border-radius: 999px;
            background: linear-gradient(180deg, var(--sc-blue), var(--sc-cyan));
        }

    .hero-title {
        color: var(--sc-navy);
        font-size: clamp(42px, 4vw, 58px);
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0;
        display: flex;
        align-items: flex-end;
    }

    .hero-subtitle {
        color: #0a64c9;
        font-size: 19px;
        font-weight: 600;
        margin-bottom: 30px;
        min-height: 1.6em;
    }

    .hero-desc {
        color: var(--sc-text);
        font-size: 17px;
        line-height: 2;
        font-weight: 500;
        max-width: 620px;
    }

    .hero-image {
        width: 100%;
        border-radius: 22px;
        display: block;
        object-fit: cover;
        box-shadow: 0 24px 60px rgba(10, 40, 90, 0.16);
    }

    .home-banner-carousel {
        width: 100%;
        border-radius: 22px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 24px 60px rgba(10, 40, 90, 0.16);
    }

    .home-banner-carousel .carousel-inner,
    .home-banner-carousel .carousel-item {
        border-radius: 22px;
    }

    .home-banner-carousel .carousel-item {
        aspect-ratio: 3 / 2;
        background: #fff;
    }

    .home-banner-carousel .carousel-item.active,
    .home-banner-carousel .carousel-item-next,
    .home-banner-carousel .carousel-item-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-banner-carousel .hero-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        box-shadow: none;
        margin: auto;
    }

    .home-banner-control {
        top: 50%;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(8,42,90,.58);
        opacity: 1;
        transform: translateY(-50%);
    }

    .home-banner-control:hover,
    .home-banner-control:focus-visible {
        background: rgba(8,42,90,.78);
    }

    .home-banner-control.carousel-control-prev {
        left: 16px;
    }

    .home-banner-control.carousel-control-next {
        right: 16px;
    }

    .home-banner-control .carousel-control-prev-icon,
    .home-banner-control .carousel-control-next-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .hero-feature-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        margin-top: 42px;
    }

    .hero-feature {
        padding: 18px 14px;
        border: none;
        background: transparent;
        border-radius: 14px;
        text-align: center;
        min-height: 165px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transition: .25s ease;
    }

        .hero-feature:hover {
            transform: translateY(-4px);
            box-shadow: none;
            border-color: transparent;
        }

    .hero-icon {
        width: 68px;
        height: 68px;
        margin: 0 auto 16px;
        border-radius: 50%;
        background: #dbe7f3;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
    }

    .hero-feature strong {
        display: block;
        color: #102d55;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.4;
        word-break: keep-all;
        white-space: normal;
    }

    .hero-feature span {
        display: block;
        color: var(--sc-muted);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.7;
        word-break: keep-all;
    }

    @media (min-width: 992px) {
        html[lang="en"] .about-hero-section .hero-title {
            color: var(--sc-navy);
            font-size: clamp(40px, 2vw, 44px);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: 0;
            display: flex;
            align-items: flex-end;
        }

        html[lang="en"] .about-hero-section .hero-subtitle {
            font-size: 18px;
            line-height: 1.45;
            margin-bottom: 24px;
            min-height: 1.45em;
        }

        html[lang="en"] .about-hero-section .hero-desc {
            font-size: 16px;
            line-height: 1.85;
            min-height: 5.55em;
        }

        html[lang="en"] .about-hero-section .hero-feature-row {
            gap: 12px;
            margin-top: 36px;
        }

        html[lang="en"] .about-hero-section .hero-feature {
            min-height: 232px;
            padding: 16px 10px;
        }

        html[lang="en"] .about-hero-section .hero-icon {
            width: 64px;
            height: 64px;
            margin-bottom: 14px;
            padding: 13px;
        }

        html[lang="en"] .about-hero-section .hero-feature strong {
            font-size: 15px;
            line-height: 1.3;
            margin-bottom: 7px;
        }

        html[lang="en"] .about-hero-section .hero-feature span {
            font-size: 12px;
            line-height: 1.5;
        }
    }

    .about-content-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 45%, #ffffff 100%);
    }

    .intro-card {
        height: 100%;
        padding: 10px 6px;
    }

    .title-row {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 28px;
    }

    .title-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0056c7, var(--sc-cyan));
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        flex-shrink: 0;
        box-shadow: 0 12px 28px rgba(0, 110, 255, .22);
    }

    .intro-card h2,
    .belief-card h2 {
        margin: 0;
        color: var(--sc-navy);
        font-size: 38px;
        font-weight: 800;
    }

    .intro-card p,
    .belief-card p {
        color: var(--sc-text);
        font-size: 16px;
        line-height: 2;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .service-card {
        height: 100%;
        padding: 42px;
        border: 1px solid #e2eaf3;
        border-radius: 24px;
        background: #f1f4f8;
        box-shadow: 0 18px 48px rgba(8, 42, 90, .06);
    }

    .service-box {
        min-height: 98px;
        padding: 18px 20px;
        border: 1px solid #dce5ef;
        border-radius: 14px;
        background: #ffffff;
        display: flex;
        align-items: center;
        gap: 16px;
        transition: .25s ease;
    }

        .service-box:hover {
            border-color: rgba(0, 110, 255, .32);
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(8, 42, 90, .08);
        }

    .service-icon {

    }

    .service-box strong {
        display: block;
        color: #0c2d5b;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.5;
    }

    .service-box span {
        display: block;
        color: var(--sc-muted);
        font-size: 14px;
        margin-top: 4px;
    }

    .belief-card {
        margin-top: 72px;
        padding: 46px 50px;
        border: 1px solid #e2eaf3;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 18px 48px rgba(8, 42, 90, .07);
    }

    .belief-image {
        width: 100%;
        border-radius: 18px;
        display: block;
        object-fit: cover;
        box-shadow: 0 14px 34px rgba(8, 42, 90, .10);
    }

    .iso-card {
        position: relative;
        margin-top: 40px;
        padding: 50px;
        border: 1px solid rgba(0, 183, 255, .22);
        border-radius: 24px;
        background: radial-gradient(circle at top right, rgba(0, 183, 255, .22), transparent 38%), radial-gradient(circle at bottom left, rgba(0, 110, 255, .16), transparent 34%), linear-gradient(135deg, #071c35 0%, #0b2c55 52%, #12345c 100%);
        color: #ffffff;
        overflow: hidden;
        box-shadow: 0 24px 58px rgba(7, 28, 53, .22);
    }

        .iso-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
            background-size: 36px 36px;
            opacity: .45;
            pointer-events: none;
        }

        .iso-card::after {
            content: "";
            position: absolute;
            right: -120px;
            top: -120px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: rgba(0, 183, 255, .16);
            filter: blur(18px);
            pointer-events: none;
        }

        .iso-card h2 {
            margin: 0;
            color: #ffffff;
            font-size: 38px;
            font-weight: 800;
        }

        .iso-card p {
            color: rgba(255,255,255,.88);
            font-size: 16px;
            line-height: 2;
            font-weight: 400;
            margin-bottom: 20px;
        }

    .iso-content,
    .iso-image-wrap {
        position: relative;
        z-index: 1;
    }

    .iso-title-icon {
        background: linear-gradient(135deg, #006eff, #00b7ff);
        box-shadow: 0 0 28px rgba(0, 183, 255, .35);
    }

    .quality-card {
        background: radial-gradient(circle at top right, rgba(38, 203, 124, .18), transparent 38%), radial-gradient(circle at bottom left, rgba(0, 110, 255, .14), transparent 34%), linear-gradient(135deg, #071c35 0%, #12345c 54%, #0f3b3a 100%);
    }

    .quality-title-icon {
        background: linear-gradient(135deg, #006eff, #26cb7c);
        box-shadow: 0 0 28px rgba(38, 203, 124, .30);
    }

    .iso-image {
        width: 100%;
        border-radius: 18px;
        display: block;
        object-fit: cover;
        box-shadow: 0 18px 42px rgba(0,0,0,.34);
    }

    .quality-cert-panel {
        position: relative;
        min-height: 320px;
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,248,255,.88));
        color: #082a5a;
        box-shadow: 0 18px 42px rgba(0,0,0,.28);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
    }

        .quality-cert-panel::before {
            content: "";
            position: absolute;
            inset: 24px;
            border: 2px solid rgba(0,110,255,.16);
            border-radius: 14px;
        }

        .quality-cert-panel span,
        .quality-cert-panel strong,
        .quality-cert-panel small {
            position: relative;
            z-index: 1;
        }

        .quality-cert-panel span {
            color: #0a64c9;
            font-size: 30px;
            font-weight: 800;
        }

        .quality-cert-panel strong {
            color: #082a5a;
            font-size: 86px;
            line-height: 1;
            font-weight: 900;
            margin: 8px 0 14px;
        }

        .quality-cert-panel small {
            color: #304764;
            font-size: 18px;
            font-weight: 700;
        }

    @media (max-width: 991px) {

        .hero-feature-row {
            grid-template-columns: repeat(2, 1fr);
        }

        .hero-title {
            font-size: 46px;
        }

        .service-card,
        .belief-card,
        .iso-card {
            padding: 30px;
        }

        .hero-feature {
            min-height: 150px;
        }
    }

    @media (max-width: 576px) {

        .about-hero-section {
            padding: 52px 0;
        }

        .hero-title {
            font-size: 36px;
        }

        .hero-subtitle {
            font-size: 17px;
        }

        .hero-desc {
            font-size: 15px;
        }

        .home-banner-control {
            width: 36px;
            height: 36px;
        }

        .home-banner-control.carousel-control-prev {
            left: 10px;
        }

        .home-banner-control.carousel-control-next {
            right: 10px;
        }

        .hero-feature-row {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
        }

        .hero-feature {
            padding: 16px 12px;
            min-height: 145px;
        }

            .hero-feature strong {
                font-size: 15px;
            }

            .hero-feature span {
                font-size: 12px;
            }

        .service-card,
        .belief-card,
        .iso-card {
            padding: 22px;
        }

            .intro-card h2,
            .belief-card h2,
            .iso-card h2 {
                font-size: 30px;
            }

        .title-icon {
            width: 56px;
            height: 56px;
            font-size: 24px;
        }
    }


.plain-text-lines {
    white-space: pre-line;
    overflow-wrap: anywhere;
}


/* SystemcomWebSite.Frontend/Views/Projects/Detail.cshtml */
.project-media-frame, .project-media-frame .carousel-item { height: 460px; }
.project-media { object-fit: contain; background:#000; }
.project-modal-media-frame { height: 460px; }
.project-video-indicator {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
}
.project-video-chip {
    display: inline-block;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.project-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}
.project-video-play-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.project-video-fallback-play {
    font-size: 3rem;
    color: #212529;
    line-height: 1;
}
@media (max-width: 991.98px) {
    .project-media-frame,
    .project-media-frame .carousel-item {
        height: 320px;
    }

    .project-modal-media-frame {
        height: 320px;
    }
}


/* SystemcomWebSite.Frontend/Views/Projects/Index.cshtml */
.project-card { cursor: pointer; transition: transform .2s ease; }
.project-card:hover { transform: translateY(-3px); }
.project-card .card-img-top { height: 220px; object-fit: cover; }


/* SystemcomWebSite.Frontend/Views/News/Index.cshtml */
.news-card {
        cursor: pointer;
        transition: transform .2s ease;
    }

        .news-card:hover {
            transform: translateY(-3px);
        }

        .news-card .card-img-top {
            height: 220px;
            object-fit: contain;
            object-position: center;
            background: #f1f4f8;
        }


/* SystemcomWebSite.Frontend/Views/Products/Detail.cshtml */
.product-media-frame, .product-media-frame .carousel-item { height: 230px; }
.product-media { width: 100%; height: auto; object-fit: contain; background:#000; }
.product-modal-media-frame {
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #212529;
}

.product-modal-media-frame iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.product-modal-media-frame > img.product-media {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #212529;
}

.media-modal-switch {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(108, 117, 125, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(-50%);
}

.media-modal-prev {
    left: 1rem;
}

.media-modal-next {
    right: 1rem;
}

.media-modal-switch:hover,
.media-modal-switch:focus-visible {
    background: rgba(73, 80, 87, .88);
}

.media-modal-switch .carousel-control-prev-icon,
.media-modal-switch .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.product-video-indicator {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
}
.product-video-chip {
    display: inline-block;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.product-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}
.product-video-play-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.product-video-fallback-play {
    font-size: 3rem;
    color: #212529;
    line-height: 1;
}
@media (max-width: 991.98px) {
    .product-media-frame,
    .product-media-frame .carousel-item {
        height: 160px;
    }

    .product-modal-media-frame {
        height: 320px;
    }
}

#productMediaCarousel,
#newsMediaCarousel {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .detail-media-col {
        flex: 0 0 29.1666667%;
        max-width: 29.1666667%;
        width: 29.1666667%;
    }

    .detail-content-col {
        flex: 0 0 70.8333333%;
        max-width: 70.8333333%;
        width: 70.8333333%;
    }
}

#productMediaCarousel .product-media-frame,
#productMediaCarousel .product-media-frame .carousel-item,
#newsMediaCarousel .news-media-frame,
#newsMediaCarousel .news-media-frame .carousel-item {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#productMediaCarousel .carousel-item > button,
#newsMediaCarousel .carousel-item > button {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    outline: 0;
}

#productMediaCarousel .product-media,
#newsMediaCarousel .news-media {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    background: #fff;
    transform: none;
}

#productMediaCarousel .carousel-control-prev,
#productMediaCarousel .carousel-control-next,
#newsMediaCarousel .carousel-control-prev,
#newsMediaCarousel .carousel-control-next {
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(108, 117, 125, .72);
    opacity: 1;
    transform: translateY(-50%);
}

#productMediaCarousel .carousel-control-prev,
#newsMediaCarousel .carousel-control-prev {
    left: 12px;
}

#productMediaCarousel .carousel-control-next,
#newsMediaCarousel .carousel-control-next {
    right: 12px;
}

#productMediaCarousel .carousel-control-prev:hover,
#productMediaCarousel .carousel-control-next:hover,
#productMediaCarousel .carousel-control-prev:focus-visible,
#productMediaCarousel .carousel-control-next:focus-visible,
#newsMediaCarousel .carousel-control-prev:hover,
#newsMediaCarousel .carousel-control-next:hover,
#newsMediaCarousel .carousel-control-prev:focus-visible,
#newsMediaCarousel .carousel-control-next:focus-visible {
    background: rgba(73, 80, 87, .88);
}

#productMediaCarousel .carousel-control-prev-icon,
#productMediaCarousel .carousel-control-next-icon,
#newsMediaCarousel .carousel-control-prev-icon,
#newsMediaCarousel .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

#productMediaCarousel .product-video-chip,
#newsMediaCarousel .news-video-chip {
    padding: .25rem .5rem;
    font-size: .75rem;
}

#productMediaCarousel .product-video-play-circle,
#newsMediaCarousel .news-video-play-circle {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}


/* SystemcomWebSite.Frontend/Views/Products/Index.cshtml */
.products-heading {
    max-width: 720px;
}

.products-brand-grid {
    align-items: stretch;
}

.brand-logo-card {
    display: flex;
    height: 100%;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border: 1px solid #dfe8f2;
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .6rem 1.5rem rgba(8, 42, 90, .06);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.brand-logo-card:hover,
.brand-logo-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, .38);
    box-shadow: 0 1rem 2rem rgba(8, 42, 90, .1);
    outline: 0;
}

.brand-logo-card__image-wrap {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
}

.brand-logo-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.products-brand-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5edf5;
}

.brand-profile-copy {
    min-width: 0;
    padding-top: .25rem;
}

.brand-profile-copy h1 {
    color: #082a5a;
    font-weight: 700;
    margin-bottom: .85rem;
}

.rich-text-content {
    max-width: 860px;
    color: #405572;
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.rich-text-content p,
.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 1rem;
}

.rich-text-content p:last-child,
.rich-text-content ul:last-child,
.rich-text-content ol:last-child {
    margin-bottom: 0;
}

.rich-text-content ul,
.rich-text-content ol {
    padding-left: 1.35rem;
}

.rich-text-content li + li {
    margin-top: .35rem;
}

.brand-content-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

.brand-content-link:hover,
.brand-content-link:focus-visible {
    color: #084298;
}

.brand-media-carousel {
    width: 300px;
    max-width: 100%;
}

.brand-media-frame,
.brand-media-frame .carousel-item {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 200px;
}

.brand-media-frame .carousel-item > button {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    outline: 0;
}

.brand-media-frame .product-media {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    background: #fff;
    transform: none;
}

.brand-media-carousel .carousel-control-prev,
.brand-media-carousel .carousel-control-next {
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(108, 117, 125, .72);
    opacity: 1;
    transform: translateY(-50%);
}

.brand-media-carousel .carousel-control-prev {
    left: 8px;
}

.brand-media-carousel .carousel-control-next {
    right: 8px;
}

.brand-media-carousel .carousel-control-prev:hover,
.brand-media-carousel .carousel-control-next:hover,
.brand-media-carousel .carousel-control-prev:focus-visible,
.brand-media-carousel .carousel-control-next:focus-visible {
    background: rgba(73, 80, 87, .88);
}

.brand-media-carousel .carousel-control-prev-icon,
.brand-media-carousel .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 991.98px) {
    .brand-logo-card {
        min-height: 124px;
        padding: 1rem;
    }

    .brand-logo-card img {
        max-height: 96px;
    }

    .brand-media-carousel {
        width: 300px;
        max-width: 100%;
    }

    .brand-media-frame,
    .brand-media-frame .carousel-item {
        height: 200px;
    }
    .brand-media-frame .product-media {
        max-height: none;
    }
}

.product-card {
        cursor: pointer;
        transition: transform .2s ease;
    }

        .product-card:hover {
            transform: translateY(-3px);
        }

        .product-card .card-img-top {
            height: 220px;
            object-fit: contain;
            object-position: center;
            background: #f1f4f8;
        }

.news-card .card-body,
.product-card .card-body,
.project-card .card-body {
    min-height: 190px;
}

.news-card .card-title,
.product-card .card-title,
.project-card .card-title {
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .brand-product-title {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 45%);
    column-gap: .75rem;
    row-gap: .35rem;
    align-items: start;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

.product-card .brand-product-name {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.product-card .brand-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-card .brand-category-badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
    line-height: 1.35;
}

.news-card .card-text,
.product-card .card-text,
.project-card .card-text {
    min-height: 4.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-product-grid .product-card .card-body {
    min-height: 0;
}

.brand-product-grid .product-card .brand-product-description {
    min-height: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    -webkit-line-clamp: 3;
}


/* SystemcomWebSite.Frontend/Views/News/Detail.cshtml */
.news-media-frame,
.news-media-frame .carousel-item {
    height: 230px;
}

.news-media {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #000;
}

.news-modal-media-frame {
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #212529;
}

.news-modal-media-frame iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.news-modal-media-frame > img.news-media {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #212529;
}

.news-video-indicator{position:absolute;right:1rem;bottom:1rem;z-index:2}.news-video-chip{display:inline-block;padding:.4rem .75rem;border-radius:999px;background:rgba(0,0,0,.75);color:#fff;font-size:.875rem;font-weight:600}.news-video-play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:1;pointer-events:none}.news-video-play-circle{width:76px;height:76px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:2rem;line-height:1;box-shadow:0 8px 24px rgba(0,0,0,.35)}
@media (max-width: 991.98px) {
    .news-media-frame,
    .news-media-frame .carousel-item {
        height: 160px;
    }

    .news-modal-media-frame {
        height: 320px;
    }
}

/* Contact map iframe */
.map-iframe { border: 0; }
