/* Site-wide utcareers theme for inner pages */
body.utcareers-site {
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

body.utcareers-site .header,
body.utcareers-site .n-header,
body.utcareers-site .rt-site-footer,
body.utcareers-site .top-fixed {
    display: none !important;
}

/* Purple brand overrides (replaces old blue primary) */
body.utcareers-site {
    --utc-primary: #0D47A1;
    --utc-accent: #E30613;
    --primary-500: #0D47A1 !important;
    --primary-600: #0A3A85 !important;
    --primary-200: #D6E4F5 !important;
    --primary-100: #E3ECF7 !important;
    --primary-50: #F0F4FA !important;
}

body.utcareers-site .bg-primary-500,
body.utcareers-site .btn-primary,
body.utcareers-site .rt-btn-primary {
    background-color: #0D47A1 !important;
    border-color: #0D47A1 !important;
}

body.utcareers-site .btn-primary:hover,
body.utcareers-site .rt-btn-primary:hover {
    background-color: #0A3A85 !important;
    border-color: #0A3A85 !important;
}

body.utcareers-site .text-primary-500,
body.utcareers-site .tw-text-primary-500 {
    color: #0D47A1 !important;
}

body.utcareers-site a:not(.utc-btn):not(.utc-logo):not(.utc-nav a):not(.utc-footer a):not(.utc-link):not(.utc-job-card):not(.utc-cat-card) {
    /* keep default link behavior */
}

/* Inner page header — light variant used site-wide (see utc-header--light in utcareers-home.css) */
.utc-header--inner {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 14px 0;
    box-shadow: 0 1px 0 #e8eaed;
    border-bottom: 1px solid #e8eaed;
}

.utc-header--inner .utc-nav a {
    color: #1F2937;
}

.utc-header--inner .utc-nav a.active {
    color: #0D47A1;
    font-weight: 600;
}

/* Page content area */
.utc-page-content {
    min-height: 50vh;
    overflow-x: hidden;
}

/* Breadcrumbs bar */
body.utcareers-site .breadcrumbs {
    background: #fff;
    border-bottom: 1px solid #e8eaed;
    padding: 20px 0;
}

body.utcareers-site .breadcrumbs h6 {
    color: #1F2937;
    font-weight: 700;
}

body.utcareers-site .breadcrumb-menu ul li,
body.utcareers-site .breadcrumb-menu ul li a {
    color: #6b7280;
    font-size: 14px;
}

body.utcareers-site .breadcrumb-menu ul li a:hover {
    color: #0D47A1;
}

/* Job listing page */
body.utcareers-site .joblist-content {
    background: #F2F4F7;
    padding-bottom: 60px;
}

body.utcareers-site .jobcardStyle1,
body.utcareers-site .tw-card {
    border-radius: 14px !important;
    border-color: #e8eaed !important;
}

body.utcareers-site .jobcardStyle1:hover,
body.utcareers-site .tw-card:hover {
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.1) !important;
}

/* Search / filter buttons */
body.utcareers-site .btn-outline-primary {
    color: #0D47A1 !important;
    border-color: #0D47A1 !important;
}

body.utcareers-site .btn-outline-primary:hover {
    background: #0D47A1 !important;
    color: #fff !important;
}

/* Orange accent buttons where design uses CTA orange */
body.utcareers-site .rt-btn-orange,
body.utcareers-site .btn-warning {
    background: #E30613 !important;
    border-color: #E30613 !important;
}

/* Hide legacy footer / newsletter blocks (new footer is in layout) */
body.utcareers-site .rt-site-footer,
body.utcareers-site .rt-newsletter,
body.utcareers-site .newsletter-area,
body.utcareers-site .box-newsletter {
    display: none !important;
}

/* Job search bar on listing pages */
body.utcareers-site .jobsearchBox,
body.utcareers-site .jobsearchBoxtw {
    border-radius: 14px !important;
    border: 1px solid #e8eaed !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

body.utcareers-site .jobsearchBox .btn-primary,
body.utcareers-site .jobsearchBoxtw .btn-primary,
body.utcareers-site .joblist-search .btn-primary {
    background: #0D47A1 !important;
    border-color: #0D47A1 !important;
    border-radius: 10px !important;
}

body.utcareers-site .tw-bg-\[\#E7F0FA\] {
    background: #E8EDF5 !important;
    color: #0D47A1 !important;
}

body.utcareers-site .tw-text-\[\#0066CC\] {
    color: #0D47A1 !important;
}

body.utcareers-site .ll-findjob-banner a {
    color: #0D47A1 !important;
}

body.utcareers-site .ll-findjob-banner svg {
    color: #0D47A1 !important;
}

/* Active filter chips & badges */
body.utcareers-site .tw-bg-\[\#E7F0FA\],
body.utcareers-site .bg-primary-50 {
    background: #E8EDF5 !important;
}

body.utcareers-site .jobcardStyle1 .badge,
body.utcareers-site .badge.bg-primary-50 {
    background: #E8EDF5 !important;
    color: #0D47A1 !important;
}

body.utcareers-site .badge.bg-success-50,
body.utcareers-site .text-success-500 {
    color: #0D47A1 !important;
}

body.utcareers-site .badge.rounded-pill {
    border-radius: 6px !important;
    font-size: 11px;
    font-weight: 600;
}

body.utcareers-site .tw-border-\[\#0066CC\],
body.utcareers-site .tw-bg-\[\#0066CC\] {
    border-color: #0D47A1 !important;
    background-color: #0D47A1 !important;
}

body.utcareers-site .tw-text-\[\#0066CC\] {
    color: #0D47A1 !important;
}

body.utcareers-site .hover\:tw-bg-\[\#0066CC\]:hover {
    background-color: #0D47A1 !important;
}

/* Links & tabs */
body.utcareers-site a.text-primary-500,
body.utcareers-site .plain-button.text-primary-500 {
    color: #0D47A1 !important;
}

body.utcareers-site .nav-tabs .nav-link.active,
body.utcareers-site #pricemodal .nav .active {
    box-shadow: inset 0 -2px 0 #0D47A1 !important;
    color: #0D47A1 !important;
}

/* Form focus rings */
body.utcareers-site .form-control:focus,
body.utcareers-site .form-select:focus {
    border-color: #0D47A1 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.15) !important;
}

/* Pagination */
body.utcareers-site .page-item.active .page-link {
    background-color: #0D47A1 !important;
    border-color: #0D47A1 !important;
}

/* Checkboxes / custom inputs */
body.utcareers-site input[type="checkbox"]:checked,
body.utcareers-site .form-check-input:checked {
    background-color: #0D47A1 !important;
    border-color: #0D47A1 !important;
}

/* Hide any legacy header/footer remnants */
body.utcareers-site .footer-cta,
body.utcareers-site .dark-footer:not(.utc-footer) {
    display: none !important;
}

body.utcareers-site {
    overflow-x: clip;
    max-width: 100%;
}

body.utcareers-site.utc-nav-open {
    overflow: hidden;
}

body.utcareers-site .utc-page-content {
    overflow-x: clip;
}

body.utcareers-site img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    body.utcareers-site .utc-header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    body.utcareers-site .utc-container {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}
