/* Case Detail Page Styles */

/* Case Hero Banner - full width background */
.case-hero-banner {

    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 0;
}

.case-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.case-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    color: #fff;
}

.case-hero-breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
}

.case-hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.case-hero-breadcrumb span {
    margin: 0 5px;
    color: #fff;
}

.case-hero-inner h1 {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.case-hero-inner p {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    max-width: 900px;
    margin: 0;
}

@media (max-width: 768px) {
    .case-hero-banner {
        min-height: 280px;
        padding: 30px 0;
    }

    .case-hero-inner h1 {
        font-size: 28px;
    }

    .case-hero-inner p {
        font-size: 14px;
    }

    .case-quick-facts-table th,
    .case-quick-facts-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Quick Facts Section */
.case-quick-facts {
    padding: 80px 0 80px;
}

.case-quick-facts h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.case-quick-facts-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #333;
}

.case-quick-facts-table th,
.case-quick-facts-table td {
    border: 1px solid #333;
    padding: 14px 18px;
    font-size: 16px;
    vertical-align: top;
}

.case-quick-facts-table thead th {
    font-weight: bold;
    color: #fff;
}

.case-quick-facts-table thead th:first-child {
    background: #11438F;
    text-align: right;
}

.case-quick-facts-table thead th:last-child {
    background: #11438F;
    text-align: left;
}

.case-quick-facts-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.case-quick-facts-table tbody td:first-child {
    width: 25%;
    font-weight: 600;
    color: #333;
    text-align: right;
}

.case-quick-facts-table tbody td:last-child {
    width: 75%;
    color: #555;
    text-align: left;
}

/* Project Overview Section */
.case-project-overview {
    padding :80px 0 80px;
}

.case-project-overview-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.case-project-overview-body {
    display: flex;
    gap: 40px;
    align-items:center;
}

.case-project-overview-text {
    max-width: 50%;
}

.case-project-overview-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.case-project-overview-list {
    margin: 0 0 18px 20px;
    padding: 0;
}

.case-project-overview-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
    list-style: disc;
}

.case-project-overview-image {

    max-width:100%;
}

.case-project-overview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10%;
    display: block;
}

@media (max-width: 768px) {
    .case-project-overview-body {
        flex-direction: column;
        gap: 25px;
    }

    .case-project-overview-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
    .case-project-overview-text {
        max-width: 100%;
    }
    .case-solution-equipment-text {
        display: block !important;
    }
    .case-msg-img {
       display:block !important;
    }
    .case-solution-equipment-image img {
         max-width: 90% !important;
         height: 320px !important;
     }

}

/* Solution & Equipment Section */
.case-solution-equipment {
    padding: 80px 0 80px;
    position: relative;
    z-index: 0;
}

.case-solution-equipment::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #FAFAFA;
    z-index: -1;
}

.case-solution-equipment-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.case-solution-equipment-body {
    display: flex;
    flex-direction: column;
}

.case-solution-equipment-image {
    display: flex;
    order: -1;
    justify-content:center;
}

.case-solution-equipment-image img {
    display: block;
    width: 80%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 0;
    border-radius: 12px;
}

.case-solution-equipment-text {
display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 3px solid #11438F;
    padding-top: 28px;
}
.case-solution-equipment-text-left{
min-width:50%
}
.case-solution-equipment-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 12px;
    color: #000;
}

.case-solution-equipment-text h3:first-child {
    margin-top: 0;
}

.case-solution-equipment-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.case-solution-equipment-list {
    margin: 0 0 18px 20px;
    padding: 0;
}

.case-solution-equipment-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
    list-style: disc;
}

@media (max-width: 768px) {
    .case-solution-equipment-body {
        flex-direction: column;
        gap: 25px;
    }

    .case-solution-equipment-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Solution & Equipment — Option 1: hero image + spec ribbon (scoped to --hero) */
.case-solution-equipment--hero .case-solution-equipment-body {
    display: block;
}

.case-solution-equipment--hero .case-solution-equipment-image {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0;
}

.case-solution-equipment--hero .case-solution-equipment-image img {
    display: block;
    width: 80%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    padding: 0;
}

.case-solution-equipment--hero .case-solution-equipment-text {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 3px solid #11438F;
    padding-top: 28px;
}

.case-solution-equipment--hero .case-solution-equipment-text-left {
    flex: 1;
    min-width: 0;
}

.case-solution-equipment--hero .case-solution-equipment-text-right {
    flex: 1;
    min-width: 0;
}

.case-solution-equipment--hero .case-solution-equipment-text-left h3 {
    color: #000;
}

.case-solution-equipment--hero .case-solution-equipment-text-right h3 {
    color: #000;
}

@media (max-width: 768px) {
    .case-solution-equipment--hero .case-solution-equipment-image img {
        max-width: 100% !important;
        height: 320px !important;
    }
    .case-solution-equipment--hero .case-solution-equipment-text {
        gap: 28px;
    }
}

/* Application Section */
.case-application {
    padding: 80px 0 80px;
}

.case-application-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.case-application-body {
    display: flex;
    gap: 40px;
    align-items: center;
}

.case-application-text {
 max-width: 50%;
}

.case-application-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.case-application-image {

    max-width: 100%;

}

.case-application-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .case-application-body {
        flex-direction: column;
        gap: 25px;
    }

    .case-application-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Equipment Specifications & Why EZHONG Section */
.case-equipment-why {
    padding: 80px 0 80px;
}

.case-equipment-why-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 40px;
    color: #333;
    text-align: center;
}

.case-equipment-why-title:first-child {
    margin-top: 0;
}

.case-equipment-specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #333;
    margin-bottom: 25px;
}

.case-equipment-specs-table th,
.case-equipment-specs-table td {
    border: 1px solid #333;
    padding: 14px 18px;
    font-size: 16px;
    vertical-align: top;
}

.case-equipment-specs-table thead th {
    font-weight: bold;
    color: #fff;
}

.case-equipment-specs-table thead th:first-child {
    background: #11438F;
    text-align: right;
}

.case-equipment-specs-table thead th:last-child {
    background: #11438F;
    text-align: left;
}

.case-equipment-specs-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.case-equipment-specs-table tbody td:first-child {
    width: 25%;
    font-weight: 600;
    color: #333;
    text-align: right;
}

.case-equipment-specs-table tbody td:last-child {
    width: 75%;
    color: #555;
    text-align: left;
}

.case-product-button {
    display: block;
    color: #11438F;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 40px;
    text-align: right;
}

.case-product-button:hover {
    text-decoration: underline;
}

.case-why-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.case-key-advantages-title {
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 15px;
    color: #333;
}

.case-key-advantages-list {
    margin: 0 0 18px 20px;
    padding: 0;
}

.case-key-advantages-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    list-style: disc;
}

@media (max-width: 768px) {
    .case-equipment-specs-table th,
    .case-equipment-specs-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* We Provide Gallery Section */
.case-provide-gallery {
    padding: 80px 0;
}

.case-provide-gallery-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.case-provide-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.case-provide-gallery-item {
    flex: 0 0 360px;
    overflow: hidden;
}

.case-provide-gallery-item img {
    width: 100%;
    height: 280px;
    display: block;
}
.case-product-button{
padding:40px 0px 0px;
}
.case-provide-gallery-caption {
    padding: 20px 20px;
    margin: 0;
    font-size: 18px;
    color: #333;
    text-align: left;
    border-top: 1px solid #333;
    background: #fff;
    text-align: center;
}

@media (max-width: 800px) {
    .case-provide-gallery-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .case-provide-gallery-grid {
        gap: 20px;
    }
    .case-provide-gallery-item {
        flex: 0 0 100%;
    }

    .case-provide-gallery-caption {
        font-size: 14px;
        padding: 12px;
    }
}

/* Related Products Section - Carousel Cards */
.case-related-products {
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

/* Full-width gray background via pseudo-element */
.case-related-products::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #f8f9fa;
    z-index: -1;
}

.case-related-products-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a56db;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 12px;
}

.case-related-products-title {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 50px;
}

/* Track = slick slider; slick manages layout. Slide gap + equal height: */
.case-related-products-track {
    padding-bottom: 60px; /* room for dots */
}

.case-related-products-track .slick-list {
    margin: 0 -15px;
}

.case-related-products-track .slick-track {
    display: flex;
}

.case-related-products-track .slick-slide {
    margin: 0 15px;
    height: auto;
}

.case-related-products-track .slick-slide > .case-related-product-card {
    height: 100%;
}

.case-related-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 100%;
}

.case-related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.case-related-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.case-related-product-body {
    padding: 20px 22px 24px;
}

.case-related-product-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
    line-height: 1.35;
}

.case-related-product-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Slick dots (mirrors applications_carousel style) */
.case-related-products-track .slick-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.case-related-products-track .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 8px;
    padding: 0;
    display: inline-block;
}

.case-related-products-track .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    background: #c5c9d0;
    border-radius: 50%;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.3s ease, background 0.3s ease;
    font-size: 0;
}

.case-related-products-track .slick-dots li button:before {
    content: '';
    display: none;
}

.case-related-products-track .slick-dots li.slick-active button {
    opacity: 1;
    background: #1a56db;
}

@media (max-width: 576px) {
    .case-related-products {
        padding: 50px 0;
    }
    .case-related-products-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .case-related-product-card img {
        height: 180px;
    }
}

/* Project Timeline Section - Horizontal */
.case-timeline-section {
    padding: 80px 0 80px;
}

.case-timeline-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.case-timeline {
    display: flex;
    position: relative;
    padding-top: 12px;
}

.case-timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 30px;
}

.case-timeline-item::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #333;
    z-index: 1;
}

.case-timeline-item:last-child::after {
    display: none;
}

.case-timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #333;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.case-timeline-stage {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
}

.case-timeline-date {
    font-size: 13px;
    color: #666;
}

@media (max-width: 768px) {
    .case-timeline {
        flex-direction: column;
        padding-top: 0;
        padding-left: 10px;
    }

    .case-timeline-item {
        text-align: left;
        padding-top: 0;
        padding-left: 35px;
        padding-bottom: 28px;
        position: relative;
    }

    .case-timeline-item::after {
        top: 20px;
        left: 9px;
        width: 2px;
        height: 100%;
    }

    .case-timeline-item:last-child::after {
        display: none;
    }

    .case-timeline-dot {
        top: 0;
        left: 0;
        transform: none;
    }
}

/* CTA Section */
.case-cta {
    padding: 80px 0;
    background: #f5f5f5;
   
    text-align: center;
}

.case-cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.case-cta-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 860px;
    margin: 0 auto 30px;
}

.case-cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: #11438F;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.case-cta-button:hover {
    background: white;
}

@media (max-width: 768px) {
    .case-cta {
        padding: 35px 20px;
    }

    .case-cta-title {
        font-size: 22px;
    }

    .case-cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Alternating Section Background - Full Width (background only, content stays in place) */
.case-section-gray {
    position: relative;
    z-index: 0;
}

.case-section-gray::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #f5f5f5;
    z-index: -1;
}

/* We Provide module uses a full-width background image instead of gray */
.case-section-faq-bg::before {
    background-image: url(/image/case/wind-tower/wind-tower-faq.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FAQ Section - independent styles (do not reference other FAQ classes) */
.case-faq-block {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.case-faq-block-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}
.case-faq-block span {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #11438F;
    display:flex;
    justify-content:center;
}

.case-faq-block-item {
    border: none;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: transform .25s ease, box-shadow .25s ease;
}

.case-faq-block-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.case-faq-block-question {
    display: block;
    position: relative;
    padding: 20px 52px 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    list-style: none;
    transition: background .2s ease;
}

.case-faq-block-question:hover {
    background: #f8fafc;
}

.case-faq-block-question::-webkit-details-marker {
    display: none;
}

.case-faq-block-question::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: bold;
    color: #11438F;
    line-height: 1;
    transition: transform .25s ease;
}

.case-faq-block-item[open] .case-faq-block-question::after {
    content: "\2212";
}

.case-faq-block-answer {
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    border-top: 1px solid #eef2f7;
    padding-top: 14px;
}

@media (max-width: 768px) {
    .case-faq-block {
        margin: 50px 0;
    }


    .case-faq-block-question {
        font-size: 15px;
        padding: 16px 46px 16px 18px;
    }

    .case-faq-block-answer {
        padding: 0 18px 16px;
        font-size: 14px;
    }
}

/* Breadcrumb Styles - Tight to top menu */
.case-breadcrumb-tight {
    padding: 5px 0;
    margin-top: -100px;
    margin-bottom: 0;
}

.case-breadcrumb-tight .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.case-breadcrumb-tight .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.case-breadcrumb-tight .breadcrumb-item.active {
    color: #666;
}

/* Hero Content as Main Theme */
.case-hero-content-main {
    text-align: center;
    margin: 30px 0 50px;
}

.case-hero-title-main {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #333;
}

.case-hero-title-main .highlight {
    color: #ff8c00;
}

.case-hero-description-main {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

/* Image Grid - Centered and Fixed Size */
.case-image-grid {
    margin: 40px 0;
}

.case-image-item {
    margin-bottom: 50px;
    text-align: center;
}

.case-content-img {
    width: 900px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.case-image-caption {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    font-style: normal;
    padding: 0 50px;
}

/* Breadcrumb Styles */
.case-breadcrumb {
    padding: 20px 0 10px;
}

.case-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.case-breadcrumb .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.case-breadcrumb .breadcrumb-item.active {
    color: #666;
}

/* Hero Section Styles */
.case-hero-section {
    margin-top: 30px;
    margin-bottom: 50px;
}

.case-hero-img {
    width: 100%;
    height: auto;
}

.case-hero-content {
    padding: 0 20px;
}

.case-hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.case-hero-title .highlight {
    color: #ff8c00;
}

.case-hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

/* Parameter Table Styles */
.case-parameter-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.case-parameter-table thead tr {
    background: #1e73be;
    color: white;
}

.case-parameter-table th {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.case-parameter-table th.text-left {
    text-align: left;
}

.case-parameter-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.case-parameter-table td.text-center {
    text-align: center;
}

.case-parameter-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* Special table cell styles for split columns */
.case-parameter-table td.split-col {
    width: 50%;
}

/* Grouped table styles (for case-rolls-sheet) */
.case-grouped-table td strong {
    display: block;
    margin-bottom: 5px;
}

/* Additional content styles */
.case-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: justify;
}

/* Portfolio Page Styles */
.portfolio-section-desc {
    max-width: 800px;
    margin: 15px auto 0;
    color: #666;
}

.portfolio_img_area {
    position: relative;
    overflow: hidden;
}

.portfolio_img_area .overlay {
    position: static !important;
    transform: none !important;
    transition: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background-color: #11438F !important;
    padding: 14px 16px !important;
    text-align: left !important;
}
.portfolio_img_area .overlay h2,
.portfolio_img_area .overlay h2 a,
.portfolio_img_area .overlay.port_text > h2 > a {
    margin: 0 !important;
    /*color: #11438F !important;*/
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: left !important;
}
.portfolio_img_area .overlay.port_text > h2 > a:hover {
    color: #ff8c00 !important;
    text-decoration: none !important;
}

.portfolio-case-img {
    width: 100%;
   height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.portfolio_img_area > a {
    display: block;
    overflow: hidden;
}

.portfolio-case-brief {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}
.case-why{
    padding:0px 0 80px;
}

/* Why EZHONG - Full width centered card grid */
.case-why-advantages-full {
    width: 100%;
}

.case-why-text-center {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

/* Why EZHONG - Advantages at a Glance Grid */
.case-advantages-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.case-advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
}

.case-advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 16px;
    background: #11438F;
    text-decoration: none;
    transition: background 0.25s ease;
}

.case-advantage-card:hover {
    background: #224a85;
}

.case-advantage-card i {
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.case-advantage-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.case-advantage-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.case-advantage-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.35;
}

.case-advantage-link {
    font-size: 16px;
    font-weight: 700;
    color: #ff8c00;
    letter-spacing: 0.3px;
}

@media (max-width: 767px) {
    .case-why-advantages-full {
        max-width: 100%;
    }
    .case-advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   case-baoti.html ONLY — Key Equipment Features (Scenarios)
   Deep blue background + semi-transparent text cards.
   Class prefix .baoti-scenarios- ensures zero impact on other pages.
   ============================================================ */
.baoti-scenarios {
    position: relative;
    padding: 80px 0;
    background: transparent;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.baoti-scenarios-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3a6c;
    margin-bottom: 12px;
}

.baoti-scenarios-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a3a6c;
    text-align: center;
    margin-bottom: 45px;
    line-height: 1.2;
}

.baoti-scenarios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.baoti-scenarios-card {
    background: #11438F;
    border: 1px solid #11438F;
    border-radius: 10px;
    padding: 30px 28px;
    transition: background 0.25s ease;
}

.baoti-scenarios-card:hover {
    background: #1a5390;
}

.baoti-scenarios-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.baoti-scenarios-card-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin: 0;
}

@media (max-width: 767px) {
    .baoti-scenarios {
        padding: 50px 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .baoti-scenarios-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .baoti-scenarios-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .baoti-scenarios-card {
        padding: 22px 18px;
    }
    .baoti-scenarios-card-title {
        font-size: 17px;
    }
    .baoti-scenarios-card-desc {
        font-size: 14px;
    }
}

/* ========== Factory Testing & Acceptance - Left Text Right Image ========== */
.factory-testing {
    padding: 80px 0;
}
.factory-testing-label {
    display: block;
    text-align: center;
    color: #1a3a6c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.factory-testing-title {
    font-size: 38px;
    color: #1a3a6c;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
}
.factory-testing-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}
.factory-testing-body {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.factory-testing-text {
    flex: 1.1;
}
.factory-testing-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}
.factory-testing-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}
.factory-testing-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}
.factory-testing-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #1a3a6c;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
}
.factory-testing-list li strong {
    color: #1a3a6c;
}
.factory-testing-image {
    flex: 0.9;
}
.factory-testing-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

@media (max-width: 767px) {
    .factory-testing {
        padding: 50px 0;
    }
    .factory-testing-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .factory-testing-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .factory-testing-body {
        flex-direction: column;
        gap: 30px;
    }
    .factory-testing-text p,
    .factory-testing-list li {
        font-size: 14px;
    }
}

/* Case hero banner per-page background images (moved out of inline styles) */
.case-hero-banner--baoti { background-image: url(/image/case/baoti/baoti-banner.webp); }
.case-hero-banner--belaz { background-image: url(/image/case/belaz/belaz-banner.webp); }
.case-hero-banner--guangzhou-shipyard { background-image: url(/image/case/gsi/gsi-banner.webp); }
.case-hero-banner--krasny-kotelshchik { background-image: url(/image/case/krasny-kotelshchik/krasny-kotelshchik-banner.webp); }
.case-hero-banner--lamprell { background-image: url(/image/case/lamprell/lamprell-banner.webp); }
.case-hero-banner--meco { background-image: url(/image/case/meco/meco-banner.webp); }
.case-hero-banner--sany { background-image: url(/image/case/sany/sany-banner.webp); }
.case-hero-banner--shanghai-boiler { background-image: url(/image/case/shanghai-boiler/shanghai-boiler-banner.webp); }
.case-hero-banner--steel-plants { background-image: url(/image/case/case6-banner.webp); }
.case-hero-banner--steel-structures { background-image: url(/image/case/steel-structures/steel-structures-banner.webp); }
.case-hero-banner--wind-tower-fb { background-image: url(/image/case/wind-tower/wind-tower-banner.png); }
.case-hero-banner--zcm { background-image: url(/image/case/zcm/zcm-banner.webp); }
.case-hero-banner--zpmc { background-image: url(/image/case/zpmc/zpmc-banner.webp); }

/* Portfolio pagination (cases.html) */
.portfolio_pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}
.portfolio-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}
.portfolio-page-item:hover {
    border-color: #11438F;
    color: #11438F;
}
.portfolio-page-item.active {
    background: #11438F;
    border-color: #11438F;
    color: #ffffff;
}
.portfolio-page-item.disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* keep module top clear of the fixed header when scrolling to it */
#portfolioTop,
#portfolioGrid {
    scroll-margin-top: 100px;
}

/* ===== Customer Success Stories cards: product-card style ===== */
.portfolio_area {
    background: linear-gradient(to top left, rgba(17, 67, 143, 0.5), #fff);
    padding: 60px 0 70px;
}

/* Card wrapper: white rounded card with subtle shadow */
.inner_portfolio_items.portfolio_2 {
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.inner_portfolio_items.portfolio_2:hover {
    box-shadow: 0 10px 28px rgba(17, 67, 143, 0.18);
    transform: translateY(-4px);
}

/* Image area: rounded top, fixed height, no hover scale needed */
.portfolio_img_area {
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
}
.portfolio_img_area > a {
    display: block;
    overflow: hidden;
}
.portfolio_img_area > a:hover .portfolio-case-img {
    transform: scale(1.06);
}
.portfolio-case-img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Title + brief block: white card body below image */
.portfolio_img_area .overlay {
    background: #fff !important;
    padding: 18px 20px 24px !important;
    text-align: left !important;
    flex: 1;
}
.portfolio_img_area .overlay h2 {
    margin: 0 0 8px 0 !important;
    text-align: left !important;
}
.portfolio_img_area .overlay h2,
.portfolio_img_area .overlay h2 a,
.portfolio_img_area .overlay.port_text > h2 > a {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: #222 !important;
}
.portfolio_img_area .overlay.port_text > h2 > a:hover {
    color: #11438F !important;
    text-decoration: none;
}

/* Show brief below title with 2-line clamp */
.portfolio-case-brief {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #666 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Vertical spacing between rows of portfolio cards */
#portfolioGrid > [class*="col-"] {
    margin-bottom: 30px;
}
