/* =========================================================
   METBRIDGE AEROSPACE
   Division-specific styles
   ========================================================= */


/* Header Branding */

.aero-brand img {
    display: block;
    width: 210px;
}


/* Hero */

.aero-hero {
    min-height: 690px;
    background: #18254a;
}

.aero-hero:before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -240px;
    top: -240px;
    border: 1px solid #38527f;
    transform: rotate(18deg);
}

.aero-hero:after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -60px;
    bottom: -300px;
    border: 1px solid #2c4775;
    transform: rotate(45deg);
}


/* Service Cards */

.aero-service-card {
    border-top: 4px solid #1487d4;
}


/* Industries */

.industries-section {
    padding: 110px 0;
}

.industries-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.industry-item {
    min-height: 150px;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    color: #18254a;
    font-weight: 800;
    background: #f5f7fa;
    border-bottom: 4px solid #1487d4;
}


/* Safety */

.safety-section {
    padding: 110px 0;
    background: #ffffff;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.safety-panel {
    padding: 40px;
    background: #f5f7fa;
    border-left: 5px solid #1487d4;
}

.safety-panel h3 {
    margin-top: 0;
    color: #18254a;
    font-size: 28px;
}

.safety-panel p {
    color: #5e687a;
}

.safety-list {
    margin: 25px 0 0;
    padding-left: 20px;
    color: #5e687a;
}

.safety-list li {
    margin: 10px 0;
}


/* Internal Page Hero */

.aero-page-hero {
    padding: 120px 0;
    background: #18254a;
    color: #ffffff;
}

.aero-page-hero-content {
    max-width: 900px;
}

.aero-page-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: -3px;
}

.aero-page-hero-description {
    max-width: 760px;
    margin: 28px 0 0;
    color: #d4dbea;
    font-size: 20px;
    line-height: 1.65;
}


/* Services Page */

.aero-services-intro {
    padding: 100px 0;
}

.aero-services-intro h2 {
    margin: 0;
    color: #18254a;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.aero-service-detail {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid #e2e7ee;
}

.aero-service-detail-alt {
    background: #f5f7fa;
}

.aero-service-detail-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.aero-service-heading {
    position: sticky;
    top: 120px;
}

.aero-service-detail-number {
    display: block;
    margin-bottom: 18px;
    color: #1487d4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.aero-service-heading h2 {
    margin: 0;
    color: #18254a;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -2px;
}

.aero-service-content {
    color: #5e687a;
    font-size: 17px;
}

.aero-service-content p:first-child {
    margin-top: 0;
}

.aero-service-lead {
    color: #18254a;
    font-size: 21px;
    line-height: 1.55;
}

.aero-service-content h3 {
    margin-top: 35px;
    color: #18254a;
    font-size: 21px;
}

.aero-feature-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 35px;
}

.aero-feature-list li {
    position: relative;
    padding-left: 22px;
}

.aero-feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1487d4;
    font-weight: 800;
}

.aero-main-nav a[aria-current="page"] {
    color: #1487d4;
}


/* News */

.aero-news-hero {
    position: relative;
    overflow: hidden;
}

.aero-news-hero:after {
    content: "";
    position: absolute;
    right: max(7vw, 40px);
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, #69c4ff 35%, #1487d4 65%, transparent);
    opacity: 0.7;
}

.aero-news-reviewed {
    margin: 32px 0 0;
    color: #aab6cd;
    font-size: 14px;
    font-weight: 700;
}

.aero-news-section {
    padding: 110px 0;
    background: #f5f7fa;
}

.aero-news-heading {
    margin-bottom: 48px;
}

.aero-news-featured,
.aero-news-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-top: 4px solid #1487d4;
}

.aero-news-featured {
    margin-bottom: 24px;
    padding: 42px;
}

.aero-news-featured-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.aero-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.aero-news-card {
    min-height: 470px;
    padding: 34px;
    display: flex;
    flex-direction: column;
}

.aero-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 28px;
    padding-right: 48px;
    color: #677287;
    font-size: 13px;
    font-weight: 700;
}

.aero-news-meta span + span:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 12px 2px 0;
    border-radius: 50%;
    background: #1487d4;
}

.aero-news-icon {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #1487d4;
    background: #eef6fc;
    border: 1px solid #d7eaf7;
    border-radius: 50%;
}

.aero-news-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aero-news-source {
    margin: 0 0 16px;
    color: #1487d4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.aero-news-featured h3,
.aero-news-card h3 {
    margin: 0 0 18px;
    color: #18254a;
    line-height: 1.18;
}

.aero-news-featured h3 {
    font-size: 36px;
    letter-spacing: -1.5px;
}

.aero-news-card h3 {
    font-size: 25px;
}

.aero-news-featured-grid p,
.aero-news-card > p:not(.aero-news-source) {
    color: #5e687a;
}

.aero-news-takeaway {
    padding-top: 18px;
    border-top: 1px solid #e1e6ed;
}

.aero-news-featured a,
.aero-news-card a {
    display: inline-block;
    margin-top: 22px;
    color: #18254a;
    font-weight: 800;
    text-decoration: none;
}

.aero-news-card a {
    margin-top: auto;
    padding-top: 24px;
}

.aero-news-featured a:hover,
.aero-news-featured a:focus-visible,
.aero-news-card a:hover,
.aero-news-card a:focus-visible {
    color: #1487d4;
}

.aero-news-data {
    margin: 52px 0;
    padding: 34px;
    color: #18254a;
    background: #eef3f8;
    border: 1px solid #dbe4ed;
}

.aero-news-data-header {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 26px;
}

.aero-news-data-header h2 {
    margin: 0;
    max-width: 680px;
    color: #18254a;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.aero-news-data-header > p {
    margin: 0;
    color: #667185;
    font-size: 15px;
}

.aero-chart-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1.05fr;
    gap: 14px;
}

.aero-chart-panel {
    margin: 0;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dbe4ed;
}

.aero-chart-panel figcaption {
    margin-bottom: 22px;
}

.aero-chart-panel figcaption span,
.aero-chart-panel figcaption strong {
    display: block;
}

.aero-chart-panel figcaption span {
    margin-bottom: 8px;
    color: #1487d4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.aero-chart-panel figcaption strong {
    color: #18254a;
    font-size: 17px;
}

.aero-bar-chart {
    display: grid;
    gap: 17px;
}

.aero-bar-row {
    display: grid;
    grid-template-columns: 82px 1fr 48px;
    gap: 10px;
    align-items: center;
    color: #667185;
    font-size: 12px;
}

.aero-bar-row i {
    height: 8px;
    overflow: hidden;
    background: #e4eaf0;
}

.aero-bar-row b {
    width: var(--bar-width);
    height: 100%;
    display: block;
    background: linear-gradient(90deg, #1487d4, #69c4ff);
}

.aero-bar-row strong {
    color: #18254a;
    text-align: right;
}

.aero-kpi-panel > div {
    padding-top: 2px;
}

.aero-kpi-panel > div strong,
.aero-kpi-panel > div span {
    display: block;
}

.aero-kpi-panel > div strong {
    color: #1487d4;
    font-size: 34px;
    line-height: 1;
}

.aero-kpi-panel > div span {
    margin-top: 8px;
    color: #667185;
    font-size: 14px;
}

.aero-performance-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.aero-performance-metrics p {
    margin: 0;
}

.aero-performance-metrics strong,
.aero-performance-metrics span {
    display: block;
}

.aero-performance-metrics strong {
    color: #1487d4;
    font-size: 26px;
}

.aero-performance-metrics span {
    margin-top: 4px;
    color: #667185;
    font-size: 12px;
}

.aero-news-data-source {
    margin: 20px 0 0;
    color: #738095;
    font-size: 12px;
}

.aero-news-data-source a {
    margin-left: 6px;
    color: #18254a;
    font-weight: 700;
    text-decoration: none;
}

.aero-news-data-source a:hover,
.aero-news-data-source a:focus-visible {
    color: #1487d4;
}

.aero-news-note {
    padding: 95px 0;
    background: #ffffff;
}

.aero-news-note-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.aero-news-note h2 {
    margin: 0;
    color: #18254a;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -2px;
}

.aero-news-note-grid > div:last-child > p {
    margin-top: 0;
    color: #5e687a;
    font-size: 17px;
}


/* Responsive */

@media screen and (max-width: 1000px) {

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .aero-service-detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .aero-service-heading {
        position: static;
    }

    .aero-news-featured-grid,
    .aero-news-data-header,
    .aero-news-note-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .aero-chart-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aero-performance-panel {
        grid-column: 1 / -1;
    }
}


@media screen and (max-width: 760px) {

    .aero-brand img {
        width: 175px;
    }

    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aero-page-hero {
        padding: 90px 0;
    }

    .aero-page-hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .aero-page-hero-description {
        font-size: 18px;
    }

    .aero-service-detail {
        padding: 75px 0;
    }

    .aero-service-heading h2 {
        font-size: 34px;
    }

    .aero-feature-list {
        grid-template-columns: 1fr;
    }

    .aero-news-section {
        padding: 80px 0;
    }

    .aero-news-featured,
    .aero-news-card {
        padding: 28px;
    }

    .aero-news-featured h3 {
        font-size: 30px;
    }

    .aero-news-grid,
    .aero-chart-grid {
        grid-template-columns: 1fr;
    }

    .aero-news-card {
        min-height: 0;
    }

    .aero-news-data {
        margin: 42px 0;
        padding: 24px;
    }

    .aero-news-data-header h2 {
        font-size: 32px;
    }

    .aero-performance-panel {
        grid-column: auto;
    }

    .aero-news-note h2 {
        font-size: 34px;
    }
}


@media screen and (max-width: 500px) {

    .aero-brand img {
        width: 150px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}
