/* Brand colors */
:root {
    --primary-color: #ec1d25;
    --primary-rgb: 236, 29, 37;
    /* Bootstrap light, 5% darker than #f8f9fa */
    --bs-light: #ecedee;
    --bs-light-rgb: 236, 237, 238;
}

.bg-light {
    background-color: #ecedee !important;
}

/* About page: smaller 2x2 team grid */
.about-team-grid {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.about-team-grid .card-style07 {
    box-shadow: none;
}

.about-team-grid .team-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.about-team-grid .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.footer-logo img {
    max-height: 90px;
    width: auto;
}

.page-title-section.page-header-inner {
    min-height: 450px;
    padding: 0;
    display: flex;
    align-items: center;
}

.page-title-section.page-header-inner .container {
    width: 100%;
}

@media screen and (max-width: 991px) {
    .page-title-section.page-header-inner {
        min-height: 320px;
    }
}

.navbar-header-custom {
    padding: 6px 0;
}

header.scrollHeader .navbar-header-custom {
    padding: 6px 0;
}

.navbar-brand img {
    max-height: 80px;
    margin: 0;
}

header.scrollHeader .navbar-brand img {
    max-height: 80px;
}

header.header-style1 .navbar-default {
    border-bottom: none;
}

@media screen and (min-width: 992px) {
    .navbar-nav > li > a {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    /* Match banner overlap to taller header */
    .top-position1 {
        margin-top: -104px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-header-custom {
        padding: 5px 0;
    }

    .navbar-brand img {
        max-height: 58px;
    }

    .top-position1 {
        margin-top: -80px;
    }
}

@media screen and (min-width: 1400px) {
    .w-xxl-50 {
        width: 60%;
    }
}

.left-overlay-secondary[data-overlay-dark]:before {
    /* background: rgba(18, 28, 34, 0.76); */
    /* background: linear-gradient(-90deg, transparent, #121c22 65%); */
}

.secondary-overlay[data-overlay-dark]:before {
    /* background: #121c22; */
}

[data-overlay-dark="85"]:before, [data-overlay-light="85"]:before {
    opacity: 0.02;
}

[data-overlay-dark="7"]:before, [data-overlay-light="7"]:before {
    opacity: 0;
}

/* Black text shadow for nav, hero, and inner page headers */
header.menu_area-light:not(.scrollHeader) .navbar-nav > li > a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.5);
}

header.menu_area-light:not(.scrollHeader) .navbar-nav > li.current > a,
header.menu_area-light:not(.scrollHeader) .navbar-nav > li.active > a {
    text-shadow: none;
}

.banner-style02 .section-title-01 h1,
.banner-style02 p.text-white,
.banner-style02 .banner-button a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.5);
}

.page-title-section.page-header-inner h1,
.page-title-section.page-header-inner ul li,
.page-title-section.page-header-inner ul li a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.5);
}

.page-title-section ul li,
.page-title-section ul li a,
.page-title-section ul li:last-child,
.page-title-section ul li:last-child a {
    color: #ffffff !important;
    opacity: 1;
}

/* Fleet page */
.fleet-intro .w-lg-85 {
    max-width: 85%;
}

.fleet-page {
    background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.fleet-rig-panels {
    position: relative;
}

.fleet-rig-panel {
    animation: fleetFadeIn 0.35s ease;
}

.fleet-rig-panel[hidden] {
    display: none !important;
}

@keyframes fleetFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fleet-rig-hero {
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 18px 45px rgba(18, 28, 34, 0.18);
}

.fleet-rig-hero__overlay {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    background: linear-gradient(180deg, rgba(18, 28, 34, 0.35) 0%, rgba(18, 28, 34, 0.82) 100%);
}

.fleet-rig-hero__content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fleet-rig-hero__logo {
    max-height: 72px;
    width: auto;
}

.fleet-rig-hero__label {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.fleet-rig-hero__title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.fleet-rig-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fleet-rig-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fleet-rig-badge--light {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.fleet-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.fleet-spec-card {
    background: #fff;
    border: 1px solid rgba(18, 28, 34, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 10px 30px rgba(18, 28, 34, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(18, 28, 34, 0.1);
}

.fleet-spec-card__title {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(236, 29, 37, 0.18);
}

.fleet-spec-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fleet-spec-card__list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.55rem;
    color: #4a5257;
    line-height: 1.55;
}

.fleet-spec-card__list li:last-child {
    margin-bottom: 0;
}

.fleet-spec-card__list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.fleet-nav-panel {
    position: relative;
}

.fleet-nav-panel__inner {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid rgba(18, 28, 34, 0.08);
    border-radius: 18px;
    padding: 1.15rem;
    box-shadow: 0 18px 40px rgba(18, 28, 34, 0.08);
}

.fleet-nav-panel__title {
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.fleet-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.fleet-nav__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(18, 28, 34, 0.08);
    border-radius: 10px;
    background: #fff;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
    transition: all 0.25s ease;
}

.fleet-nav__btn i {
    color: rgba(18, 28, 34, 0.35);
    font-size: 0.85rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.fleet-nav__btn:hover,
.fleet-nav__btn:focus {
    border-color: rgba(236, 29, 37, 0.35);
    background: rgba(236, 29, 37, 0.04);
    color: var(--secondary-color);
}

.fleet-nav__btn.is-active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 28, 34, 0.18);
}

.fleet-nav__btn.is-active i {
    color: #fff;
    transform: translateX(2px);
}

@media screen and (max-width: 991px) {
    .fleet-nav-panel__inner {
        position: static;
        top: auto;
    }

    .fleet-nav__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fleet-spec-grid {
        grid-template-columns: 1fr;
    }

    .fleet-rig-hero__overlay {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 575px) {
    .fleet-nav__list {
        grid-template-columns: 1fr;
    }
}

/* Sustainability page */
.sustain-divider {
    width: 4.5rem;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.sustain-photo {
    box-shadow: 0 14px 34px rgba(18, 28, 34, 0.12);
    object-fit: cover;
}

.sustainability-highlight {
    box-shadow: 0 18px 40px rgba(18, 28, 34, 0.12);
}

.sustainability-quote {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 12px 30px rgba(18, 28, 34, 0.08);
}

.sustainability-gallery-image {
    box-shadow: 0 12px 30px rgba(18, 28, 34, 0.1);
    object-fit: cover;
}

.sustainability-civic-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sustainability-civic-gallery__item {
    margin: 0;
}

.sustainability-civic-gallery__image {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 14px 34px rgba(18, 28, 34, 0.14);
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

@media screen and (min-width: 992px) {
    .sustainability-civic-gallery {
        position: relative;
        height: 100%;
        min-height: 22rem;
        width: 100%;
        padding: 0;
    }

    .sustainability-civic-gallery__item--baseball {
        position: absolute;
        top: 0;
        left: 0;
        width: 62%;
        height: 58%;
        z-index: 2;
    }

    .sustainability-civic-gallery__item--college {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 62%;
        height: 58%;
        z-index: 1;
    }

    .sustainability-civic-gallery__image {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }
}

/* Careers page */
.careers-form-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem 1.15rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 28px rgba(18, 28, 34, 0.08);
    color: #121c22;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.careers-form-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(18, 28, 34, 0.12);
}

.careers-form-link__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(236, 29, 37, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
}

.careers-form-link__label {
    font-weight: 600;
    line-height: 1.35;
}

.careers-forms-contact {
    box-shadow: 0 10px 28px rgba(18, 28, 34, 0.06);
}

/* News page */
.news-newsletter-block {
    margin-top: 2rem;
    padding-top: 0;
}

.news-thumbnail-link img {
    box-shadow: 0 14px 34px rgba(18, 28, 34, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-thumbnail-link:hover img {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(18, 28, 34, 0.16);
}

/* Our People videos — lock 16:9 so players don't collapse before metadata/poster loads */
.our-people-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    box-shadow: 0 14px 34px rgba(18, 28, 34, 0.12);
}

.our-people-video video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}
