/* Padrao compartilhado do cabecalho dos cursos de Graduacao e Pos. */
.page-shell .hero-eyebrow-row,
.pg-hero .pg-hero__badges {
    justify-content: flex-start;
    align-items: center;
}

.page-shell .course-toolbar__inner,
.pg-hero .pg-hero__bar {
    min-height: 42px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: visible;
}

.page-shell .breadcrumb,
.pg-hero .pg-breadcrumb {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    max-width: none;
    margin: 0;
    gap: 12px;
    font-family: Rubik, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #0067d5;
    overflow: visible;
}

.page-shell .breadcrumb a,
.pg-hero .pg-breadcrumb a {
    flex: 0 0 auto;
    color: inherit;
    text-decoration: none;
}

.page-shell .breadcrumb a:hover,
.pg-hero .pg-breadcrumb a:hover {
    text-decoration: underline;
}

.page-shell .breadcrumb span,
.pg-hero .pg-breadcrumb span {
    color: #081c37;
    font-size: inherit;
    line-height: inherit;
}

.page-shell .share-link,
.pg-hero .pg-share {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    width: auto;
    min-width: max-content;
    padding: 0;
    gap: 8px;
    font-family: Rubik, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    color: #0067d5;
    white-space: nowrap;
    overflow: visible;
}

.page-shell .share-link span,
.pg-hero .pg-share span {
    flex: 0 0 auto;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.page-shell .share-link svg,
.pg-hero .pg-share svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.page-shell .hero-description,
.pg-hero .pg-description:not(.pg-regulatory-flag) {
    font-family: Rubik, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #00142a;
}

/* O selo participa do fluxo e acompanha o conteudo completo de Pos. */
.pg-hero .pg-hero__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 12px;
    align-items: start;
    min-height: 0;
    padding-right: 0;
    margin-bottom: 16px;
}

.pg-hero .pg-hero__badges {
    grid-column: 1;
    grid-row: 1;
}

.pg-hero .pg-hero__title-row {
    display: contents;
}

.pg-hero .pg-hero__title-row > div:first-child {
    grid-column: 1;
    grid-row: 2;
}

.pg-hero .pg-mec-seal {
    position: static;
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    justify-self: end;
    width: 75px;
    height: auto;
}

.pg-hero .pg-hero__heading .pg-description {
    grid-column: 1;
    max-width: 100%;
    min-width: 0;
}

.pg-hero .pg-hero__heading .pg-regulatory-flag {
    grid-row: 3;
    padding-right: 10px;
}

.pg-hero .pg-description[data-pg-description] {
    grid-row: 4;
    padding-right: 0;
    margin-top: 0;
    overflow-wrap: anywhere;
}

.pg-hero .pg-hero__heading > .pg-rating {
    grid-column: 1 / -1;
    grid-row: 5;
    padding-right: 0;
    margin-top: 16px;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.2;
    color: rgba(8, 28, 55, 0.5);
}

.pg-hero .pg-rating a,
.pg-hero .pg-rating__score {
    font-size: inherit;
}

.pg-hero .pg-rating a {
    color: inherit;
}

.pg-hero .pg-rating__stars {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 14px;
}

@media (max-width: 768px) {
    .page-shell .hero-eyebrow-row {
        flex-wrap: wrap;
        column-gap: 16px;
        row-gap: 6px;
    }

    .page-shell .hero-copy-p {
        font-size: 16px !important;
    }

    .page-shell .hero-study-badge {
        min-width: 0;
        max-width: 100%;
        height: 22px;
        min-height: 22px;
        padding: 0 8px;
        gap: 4px;
    }

    .page-shell .hero-study-badge svg {
        flex: 0 0 12px;
        width: 12px;
        height: 12px;
    }

    .page-shell .hero-study-badge__text {
        margin-top: 0;
        font-size: 10px;
        line-height: 1.13;
        letter-spacing: -0.2px;
        transform: translateY(2px);
    }

    .pg-hero .pg-rating__stars {
        flex-basis: 61px;
        width: 61px;
        height: 11px;
    }

    .pg-hero .pg-hero__heading > .pg-rating {
        gap: 4px;
    }

    .page-shell .course-toolbar__inner,
    .pg-hero .pg-hero__bar {
        min-height: 32px;
        gap: 8px;
    }

    .page-shell .breadcrumb,
    .pg-hero .pg-breadcrumb {
        gap: 7px;
        font-size: clamp(11px, 2.9vw, 12.265px);
        line-height: 1.15;
    }

    .page-shell .breadcrumb a,
    .page-shell .breadcrumb span,
    .pg-hero .pg-breadcrumb a,
    .pg-hero .pg-breadcrumb span {
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }

    .page-shell .share-link,
    .pg-hero .pg-share {
        gap: 4px;
        font-size: clamp(11px, 2.9vw, 12.265px);
        line-height: 1.15;
    }

    .page-shell .share-link svg,
    .pg-hero .pg-share svg {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .page-shell .hero-description,
    .pg-hero .pg-description:not(.pg-regulatory-flag) {
        font-size: 14px;
    }
}

@media (max-width: 440px) {
    .page-shell .hero-eyebrow-row,
    .pg-hero .pg-hero__badges {
        gap: 5px;
    }

    .page-shell .hero-copy-p {
        font-size: 14px !important;
    }

    .page-shell .hero-study-badge {
        padding-right: 6px;
        padding-left: 6px;
    }
}

@media (max-width: 477px) {
    .pg-hero .pg-hero__badges,
    .pg-hero .pg-hero__title-row > div:first-child {
        grid-column: 1 / -1;
    }

    .pg-hero .pg-mec-seal {
        grid-row: 3 / 5;
    }
}
