/* Target-specific integration rules for the ETS content migration. */
.navbar-brand {
    width: auto;
    max-width: 350px;
    flex: 0 0 auto;
}

.navbar-brand .site-logo {
    width: 350px;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.footer-brand-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

.product-brand-logo {
    width: 60px !important;
    height: auto;
    object-fit: contain;
}

.client-logo-grid .client-item,
.client-img {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-grid .client-item img,
.client-img img {
    width: 100%;
    max-width: 190px;
    height: 110px;
    object-fit: contain;
}

.category-machine-banner {
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.category-machine-banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-products-section {
    padding-top: 80px;
}

.category-product-grid .project-three__item {
    min-height: 360px;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
}

.category-product-grid .project-three__item .project-three__content .content {
    transform: translateY(0);
}

.category-product-grid .project-three__item .project-three__content .content p {
    opacity: 1;
    visibility: visible;
}

.category-product-grid .project-three__item .image {
    background: #fff;
}

.category-product-grid .project-three__item .image img {
    object-fit: contain;
    padding: 20px;
    filter: none;
}

.category-product-grid .project-three__item:hover .image img {
    transform: scale(1.04);
}

.category-breadcrumb li:last-child .text {
    color: #fff;
}

.migrated-product-detail .details-wrapper {
    padding-top: 8px;
}

.migrated-product-image {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(1, 138, 210, 0.16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.migrated-product-image img {
    max-height: 430px;
    object-fit: contain;
}

.migrated-product-description p {
    text-align: left;
}

.migrated-feature-list .feature-check {
    min-width: 17px;
    margin-top: 5px;
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1;
}

body[data-page="thermoforming-machines.php"] .navbar:not(.scrolled) .nav-link,
body[data-page="horizontal-flow-wrap-machines.php"] .navbar:not(.scrolled) .nav-link,
body[data-page="fully-automatic-thermoforming-machine.php"] .navbar:not(.scrolled) .nav-link,
body[data-page="horizontal-flow-wrap-machine.php"] .navbar:not(.scrolled) .nav-link {
    color: var(--text-dark);
}

@media (max-width: 1199px) {
    .navbar-brand .site-logo { width: 280px; max-height: 82px; }
    .category-machine-banner { height: 500px; }
}

@media (max-width: 991px) {
    .navbar-brand { max-width: 260px; }
    .navbar-brand .site-logo { width: 260px; max-height: 76px; }
    .category-machine-banner { height: 340px; }
    .client-logo-grid .client-item, .client-img { min-height: 120px; }
    .client-logo-grid .client-item img, .client-img img { height: 92px; }
    .category-product-grid .project-three__item { min-height: 330px; }
    .migrated-product-image { min-height: 300px; padding: 18px; }
}

@media (max-width: 768px) {
    .navbar-brand { max-width: 220px; }
    .navbar-brand .site-logo { width: 220px; max-height: 66px; }
    .footer-brand-logo { max-width: 260px; }
    .category-machine-banner { height: 250px; }
    .category-products-section { padding-top: 55px; }
    .category-product-grid .project-three__item { min-height: 300px; }
    .category-product-grid .project-three__item .project-three__content { padding: 22px 14px; }
    .category-product-grid .project-three__item .project-three__content h4 { font-size: 22px; }
    .category-product-grid .project-three__item .project-three__content p { font-size: 15px; }
}

@media (max-width: 525px) {
    .navbar-brand { max-width: 185px; }
    .navbar-brand .site-logo { width: 185px; max-height: 58px; }
    .category-machine-banner { height: 210px; }
    .category-products-section { padding-top: 42px; }
    .category-product-grid .project-three__item {
        min-height: 0;
        flex-direction: column-reverse;
    }
    .category-product-grid .project-three__item .project-three__content,
    .category-product-grid .project-three__item .image {
        width: 100%;
    }
    .category-product-grid .project-three__item .image { min-height: 230px; }
    .category-product-grid .project-three__item .project-three__content { min-height: 250px; }
    .migrated-product-image { min-height: 250px; padding: 14px; }
    .client-logo-grid .client-item, .client-img { min-height: 105px; padding: 12px; }
    .client-logo-grid .client-item img, .client-img img { height: 78px; }
}
