/* Header Navigation Color - Removed to allow Admin Settings to control color */
/* Header Top Contact Info Color - Removed to allow Admin Settings to control color */

/* Slider Container Override */
.custom-slider-container,
.custom-slider-container:before,
#footer:before {
    transform: none !important;
}

.breadcrumb {
	display:none !important;
}

/* Breadcrumb Styling */
.breadcrumb li a {
    color: #000000 !important;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #fff3f5 !important;
    text-decoration: none;
}

/* Force remove transform from custom page header pseudo-elements */
.custom-page-header:before,
.custom-page-header:after {
    transform: none !important;
}

/* Mobile Logo Section Typography */
@media (max-width: 767px) {
    .mobile-logo-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        /* Ensure it stays on one line as requested */
    }

    .mobile-newsletter-title {
        font-size: 2rem !important;
        line-height: 1.5 !important;
    }

    .mobile-newsletter-desc {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    /* CTA Section Fixes */
    .mobile-cta-section {
        padding: 0 30px !important;
    }

    .mobile-cta-content-container {
        padding: 30px 10px !important;
    }

    .mobile-cta-inner {
        display: block !important;
    }

    .mobile-cta-phone {
        padding-bottom: 20px !important;
    }

    /* Footer Copyright Fix */
    #footer .footer-copyright {
        padding: 20px 0 !important;
    }

    /* Approach Page Fixes */
    .mobile-approach-section {
        padding: 0 !important;
    }


    .mobile-approach-logos {
        padding: 0 !important;
    }
}

/* Portfolio Logo Alignment - Dual Constraint System */
.portfolio-logo-wrapper {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    width: 100%;
}

.portfolio-logo {
    max-height: 150px;
    /* Cap vertical growth */
    max-width: 85%;
    /* Cap horizontal growth */
    width: auto !important;
    /* Override img-fluid width:100% */
    height: auto !important;
    /* Process aspect ratio naturally */
    box-shadow: none !important;
}

/* General rule for valid horizontal alignment scale - DEPRECATED via new system */
/* .portfolio-item .img-fluid {
    padding: 30px !important;
    object-fit: contain !important;
    transition: all 0.3s ease;
} */

/* Specific adjustments based on reference standards */
/* Horizontal logos - Standard: Northcroft (referenced as standard) */
.company-northcroft-middle-east .img-fluid {
    /* Baseline for horizontal */
    padding: 30px !important;
}

/* Vertical logos - Standard: Nordest */
.company-nordest .img-fluid {
    /* Baseline for vertical - usually needs less side padding or more height allowance, 
       but here we control scale via padding if height is fixed at 260px */
    padding: 15px !important;
    /* Less padding = bigger visual size for vertical logos */
}

/* Match other horizontal logos to Northcroft - DEPRECATED */
/* .company-protec-pacific .img-fluid,
.company-protec-atlas .img-fluid,
.company-protec-bold .img-fluid,
.company-dalton-energies .img-fluid,
.company-nennerhauser-tech .img-fluid,
.company-cardinal .img-fluid,
.company-axion .img-fluid,
.company-shepherd .img-fluid,
.company-patron .img-fluid,
.company-protec-wll .img-fluid,
.company-nennerhauser-overseas .img-fluid {
    padding: 35px !important;
} */

/* Pagination Styling - Red Theme */
.pagination .page-item .page-link {
    color: #444;
    /* Standard Text */
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    /* Slight rounding for modern look */
    margin: 0 3px;
    /* Spacing between buttons */
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #D32F2F !important;
    /* Tamio Red */
    border-color: #D32F2F !important;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.3);
}

.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    color: #D32F2F;
    border-color: #dee2e6;
    text-decoration: none;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: transparent;
    border-color: transparent;
}

/* Match other vertical logos to Nordest */
/* Add other vertical companies here if any exist, e.g. .company-some-vertical-logo */