/* General */
img {
    max-width: 100%;
}

.border-round {
    border-radius: 18px;
}

/* Main banner */
.main-banner {
    position: relative;
}

.hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

    .hero-media video {
        display: block;
        width: 100%;
        height: auto;
        min-height: 320px;
        object-fit: cover;
    }

.hero-content {
    color: #1a1a1a;
    padding: 24px 0 0 0;
}

    .hero-content p {
        max-width: 480px;
        font-size:1.2rem;
    }

.hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}

    .hero-title em {
        font-style: italic;
    }

@media (min-width: 1084px) {
    .hero-content {
        position: absolute;
        top: 50%;
        left: calc(100px + 4%);
        transform: translateY(-50%);
        max-width: 50%;
        padding: 0;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-title-line {
        white-space: nowrap;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.7rem;
    }
}

.hero-video-control {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-video-control:focus {
        outline: 2px solid #000;
        outline-offset: 2px;
    }

/* Navigation */
.page-nav li a {
    text-decoration: none;
}

    .page-nav li a:hover {
        text-decoration: underline;
    }

@media (max-width: 1083px) {
    .page-nav li {
        margin: 0 0 15px 0;
    }
}

/* Two column featured sections */
@media (max-width: 1083px) {
    .ms-frontier .card-img {
        margin: 0 0 20px 0;
    }

    .ms-build .card-img {
        margin: 20px 0 0 0;
    }
}

.two-column-bg {
    background-color: #5ec6f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-bg {
    background-image: url(../images/Exports/featured-bg.png);
}

.voices-bg {
    background-image: url(../images/Exports/voices-bg.png);
}

/* Events and role cards */
.events .card-img,
#explorebyrole .card-img {
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}

.events .card-img {
    aspect-ratio: 285 / 180;
}

#explorebyrole .card-img {
    aspect-ratio: 393 / 329;
}

/* Customer stories */
.c-story {
    display: flex;
}

.c-story-image {
    flex: 0 0 30%;
    padding: 20px;
}

    .c-story-image img {
        max-width: 320px;
    }

.c-story-description {
    flex: 1;
}

@media (max-width: 991px) {
    .c-story {
        flex-direction: column;
    }

    .c-story-image {
        padding: 0;
        margin: 20px 0;
    }
}

/* AI upskilling */
.upskilling-bg {
    background: linear-gradient(160deg, #dde2fb 0%, #e2f3fb 45%, #fdfaf5 100%);
}

.upskill-card {
    overflow: hidden;
}

    .upskill-card .card-img {
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

.badge-ebook {
    background-color: #2b2426;
    color: #fff;
}

.badge-guide {
    background-color: #8dc7e7;
    color: #000;
}

.badge-report {
    background-color: #c5e37e;
    color: #000;
}

/* Social Icons */
.social-media ul li {
    display: inline-block;
    margin: 0 10px 0 0;
}

    .social-media ul li a img {
        max-width: 30px;
        width: 100%;
    }

@media (forced-colors: active) and (prefers-color-scheme: dark) {
    .contrast-bg {
        padding: 5px;
        background-color: Highlight;
    }
}


html:not([dir=rtl]) .glyph-prepend {
    padding-right: 0.08rem!important;
    padding-top: 0.2rem!important;
}
