/* ========== SEÇÕES DA HOME ========== */

/* Hero: banner principal */
.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    width: 100%;
}
.hero__banner,
.hero__banner a {
    width: 100%;
    display: block;
}
.hero__banner img {
    width: 100%;
    height: auto;
    display: block;
}
.hero__stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero__track {
    display: flex;
    width: 100%;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}
.hero__track.is-scroll {
    overflow: auto;
    scrollbar-width: none;
}
.hero__track.is-scroll::-webkit-scrollbar {
    display: none;
}
.hero__track.is-loop {
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
}
.hero__slide {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}
.hero .carousel__nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
}
.hero .carousel__nav--prev {
    left: 16px;
}
.hero .carousel__nav--next {
    left: auto;
    right: 16px;
}
@media (max-width: 980px) {
    .hero .carousel__nav {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    padding: 52px 0 40px;
    align-items: center;
}
.hero__kicker {
    font-size: 12px;
    font-weight: 700;
    color: rgba(15, 34, 48, 0.7);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.hero__title {
    margin: 8px 0 10px;
    font-size: 40px;
    line-height: 1.05;
    color: var(--blue-900);
    font-weight: 900;
}
.hero__subline {
    display: inline-block;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(15, 34, 48, 0.55);
    vertical-align: baseline;
}
.hero__desc {
    margin: 0 0 16px;
    max-width: 520px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}
.hero__cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hero__art {
    display: flex;
    justify-content: flex-end;
}
.hero__img {
    width: min(420px, 100%);
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    box-shadow: var(--shadow);
    object-fit: cover;
}
.hero__img--placeholder {
    background: linear-gradient(
        135deg,
        rgba(0, 58, 141, 0.25),
        rgba(0, 58, 141, 0.15)
    );
}
@media (max-width: 880px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }
    .hero__art {
        justify-content: flex-start;
    }
    .hero__title {
        font-size: 32px;
    }
}

@media (max-width: 720px) {
    .h2 {
        font-size: var(--text-section-sm);
    }
    .h2__light {
        font-size: var(--text-section-xs);
    }
}

/* Grids de cursos (cards) e títulos de seção compartilhados */
.content {
    padding: var(--section-space-y-sm) 0 var(--section-space-y-sm);
}
.home-page > section:not(.hero) > .container {
    width: min(var(--container), 96vw);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.h2 {
    margin: 0 0 16px;
    line-height: 1.08;
    font-size: var(--text-section);
}
.h2__light {
    color: #000000;
    font-weight: 300;
    font-size: var(--text-section);
}
.h2__strong {
    color: #000000;
    font-weight: 700;
}

.course-section {
    margin: 0 0 var(--section-space-y-sm);
}
.course-section:last-child {
    margin-bottom: 0;
}
.course-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}
.course-section__title {
    flex: 1 1 auto;
}
.course-section__h2 {
    margin: 0;
    font-size: var(--text-section);
    line-height: 1.08;
}
.course-section__title-top {
    display: block;
    color: var(--blue-800);
    font-weight: 700;
}
.course-section__title-sub {
    display: block;
    margin-top: 2px;
    color: #0f2230;
    font-weight: 300;
    font-size: var(--text-section);
}
.course-section__subtitle-line {
    width: 140px;
    height: 2px;
    background: #F7B132;
    margin: 8px auto 28px;
}
.course-section__title--inline-center {
    text-align: center;
}
.course-section__title--inline-center .course-section__title-top,
.course-section__title--inline-center .course-section__title-sub {
    display: inline;
}
.course-section__title--inline-center .course-section__title-sub {
    margin-top: 0;
}
.course-section__title--inline-center .course-section__subtitle-line {
    margin-left: auto;
    margin-right: auto;
}
.course-section__banner {
    width: calc((100% - 54px) / 2 + 18px);
    max-height: clamp(110px, 22vw, 200px);
    min-height: 100px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 58, 141, 0.18);
    flex: 0 0 auto;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.course-section__banner img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) brightness(0.98);
}
.course-section__banner:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 58, 141, 0.55),
        rgba(0, 58, 141, 0.12)
    );
    pointer-events: none;
}

@media (max-width: 720px) {
    .course-section__banner {
        display: none;
    }
    .course-section__h2 {
        font-size: var(--text-section-sm);
    }
    .course-section__title-sub {
        font-size: var(--text-section-xs);
    }
}

@media (max-width: 980px) {
    .course-section__head {
        flex-wrap: wrap;
    }
    .course-section__banner {
        width: 100%;
    }
}

.segments__title {
    margin: 0 0 28px;
    text-align: center;
    color: var(--blue-800);
    font-size: var(--text-section);
    font-weight: 700;
    line-height: 1.2;
}
.segments__title:has(+ .course-section__subtitle-line),
.programs__title:has(+ .course-section__subtitle-line) {
    margin-bottom: 0;
}
.segments__accent {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.segments__accent:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: #F7B132;
}
.segments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.2vw, 16px);
}
.cards-uteis .segments__grid {
    grid-template-columns: repeat(4, 1fr);
}
.estrutura .segments__grid {
    grid-template-columns: repeat(5, 1fr);
}
.segments__card {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease;
}
.segments__card:hover,
.segments__card:focus-visible {
    transform: scale(1.02);
    outline: none;
}
.segments__card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}
.estrutura .segments__card-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.estrutura .segments__card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.estrutura .segments__card-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    padding: 8px 10px 10px;
    text-align: center;
    font-size: clamp(12px, vw, 16px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: var(--blue-800);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.2vw, 18px);
    margin-top: 18px;
}
@media (max-width: 980px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-uteis .segments__grid,
    .estrutura .segments__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .segments__grid {
        grid-template-columns: 1fr;
    }
    .cards-uteis .segments__grid {
        grid-template-columns: 1fr;
    }
    .estrutura .segments__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.course-cards-grid .card {
    border: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.course-cards-grid .card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.course-cards-grid .card__media {
    aspect-ratio: 1 / 1.1;
    height: auto;
}
.course-cards-grid .card__badge {
    display: none;
}
.course-cards-grid .card__btn--overlay {
    display: inline-flex;
}

.card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 34, 48, 0.06);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}
.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto;
    background: rgba(0, 58, 141, 0.08);
}
.card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.course-cards-grid .card:hover .card__media::after {
    opacity: 1;
}
.card__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: var(--blue-800);
    color: #fff;
    font-size: clamp(10px, 0.7vw, 12px);
    font-weight: 900;
    padding: 6px 9px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}
.card__cta {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
}
.card__cta--with-badge {
    bottom: 44px;
}
.card__body {
    padding: 10px 12px 12px;
}
.card__title {
    display: none;
}
.card__btn {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--blue-800);
    color: #fff;
    font-size: clamp(14px, 0.95vw, 16px);
    font-weight: 500;
    text-align: left;
    transition: transform 0.15s ease;
}
.course-cards-grid .card:hover .card__btn {
    transform: scale(1.04);
}
.card__btn--overlay {
    display: none;
}
.card--empty {
    padding: 18px;
    color: var(--muted);
}

@media (max-width: 860px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card__btn {
        height: 34px;
        padding: 0 18px;
        font-size: clamp(13px, 2.2vw, 15px);
    }
}

@media (max-width: 520px) {
    .card__cta {
        left: 10px;
        bottom: 10px;
    }
    .card__btn {
        height: 32px;
        padding: 0 16px;
        font-size: clamp(13px, 4.2vw, 14px);
    }
}


/* Carousel */
.carousel {
    background: linear-gradient(
        180deg,
        rgba(0, 58, 141, 0.95),
        rgba(0, 58, 141, 0.95)
    );
    padding: var(--section-space-y-sm) 0 var(--section-space-y-sm);
    color: #fff;
}
.carousel .h2__light {
    color: #000000;
}
.carousel .h2__light,
.carousel .h2__strong {
    display: block;
}
.carousel .h2__strong {
    color: rgb(255, 255, 255);
}
.carousel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.carousel__stage {
    position: relative;
    margin-top: 10px;
    padding-bottom: 48px;
}
.carousel__track {
    margin-top: 18px;
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
    padding-right: 0;
    position: relative;
    z-index: 2;
}
.carousel__track.is-scroll {
    overflow: auto;
    scrollbar-width: none;
}
.carousel__track.is-scroll::-webkit-scrollbar {
    display: none;
}
.carousel__track.is-marquee {
    scroll-snap-type: none;
}
.carousel__track.is-marquee .carousel__slide {
    scroll-snap-align: none;
}
.carousel__slide {
    scroll-snap-align: start;
    flex: 0 0 100%;
}
.carousel__track--overlap .carousel__slide--item {
    flex: 0 0 calc((100% - 32px) / 3);
}
@media (max-width: 980px) {
    .carousel__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    /* 2 cards visíveis até ~smartphone (evita saltar de 3 direto para 1). */
    .carousel__track--overlap .carousel__slide--item {
        flex: 0 0 calc((100% - 16px) / 2);
    }
    .carousel__person {
        display: none;
    }
    .carousel__track {
        padding-right: 0;
    }
}
@media (max-width: 520px) {
    .carousel__track--overlap .carousel__slide--item {
        flex: 0 0 100%;
    }
}
.deal {
    background: #fff;
    border-radius: 10px;
    padding: 16px 16px 12px;
    border: 1px solid rgba(15, 34, 48, 0.06);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    aspect-ratio: 1 / 1.05;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* Carrossel de bolsas/convênios: cards ~20% mais baixos */
.carousel .deal {
    aspect-ratio: 1 / 0.84;
    padding: 13px 13px 10px;
}
.carousel .deal__title {
    margin-top: 8px;
    margin-bottom: 8px;
}
.carousel .deal__id {
    margin-top: 8px;
    margin-bottom: 6px;
}
.carousel .deal__text {
    margin-top: 8px;
    margin-bottom: 8px;
}
.deal:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.deal__title {
    font-weight: 700;
    font-size: clamp(20px, 1.35vw, 24px);
    line-height: 1.15;
    color: var(--blue-900);
    margin-top: 10px;
    margin-bottom: 10px;
}
.deal__id {
    font-size: clamp(18px, 0.95vw, 20px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(15, 34, 48, 0.78);
    margin-top: 10px;
    margin-bottom: 8px;
    text-transform: none;
}
.deal__text {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: clamp(16px, 0.9vw, 18px);
    line-height: 1.45;
    flex: 1 1 auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
}
.deal__link {
    margin-top: auto;
    font-size: clamp(14px, 0.85vw, 16px);
    font-weight: 300;
    color: var(--blue-800);
    text-decoration: none;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform-origin: left center;
    transition:
        text-decoration 0.15s ease,
        transform 0.15s ease;
}
.deal__link:hover {
    text-decoration: underline;
    transform: scale(1.04);
}
.carousel__nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    top: auto;
    transform: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.32);
    background: rgba(0, 0, 0, 0.14);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.88);
}
.carousel .carousel__nav {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
}
.carousel__nav--prev {
    left: 10px;
}
.carousel__nav--next {
    left: 52px;
}
.carousel__nav:before {
    content: none;
}
.carousel__nav.is-disabled,
.carousel__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 980px) {
    .carousel__stage {
        padding-bottom: 74px;
    }
    .carousel .deal {
        aspect-ratio: 1 / 0.816;
        max-width: 320px;
        padding: 13px 13px 11px;
    }
    .deal__title {
        font-size: clamp(19px, 2.5vw, 22px);
    }
    .deal__id,
    .deal__text {
        font-size: clamp(14px, 1.9vw, 16px);
    }
    .deal__link {
        font-size: clamp(13px, 1.8vw, 15px);
    }
    .carousel__nav {
        display: flex !important;
        top: auto;
        bottom: 18px;
        transform: none;
        z-index: 5;
    }
}

@media (max-width: 520px) {
    .carousel .deal {
        aspect-ratio: 1 / 0.8;
        max-width: 300px;
        border-radius: 10px;
    }
}

.carousel--programs {
    background: transparent;
    color: #fff;
    padding: 4px 0 16px;
}
.programs {
    background: var(--blue-800);
    border-radius: 28px;
    padding: 28px 28px 22px;
}
.programs__title {
    margin: 0 0 22px;
    text-align: center;
    color: #fff;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}
.programs__accent {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.programs__accent:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: #F7B132;
}
.carousel--programs .carousel__stage {
    margin-top: 0;
    padding-bottom: 0;
}
.carousel--programs .carousel__track {
    margin-top: 0;
    gap: 8px;
    padding-bottom: 0;
    padding-right: 0;
}
.carousel__track--programs .carousel__slide--item {
    flex: 0 0 calc((100% - 56px) / 8);
}
.program-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #fff;
}
.program-card__media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 100 / 112;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.program-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.program-card__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    padding: 8px 10px 10px;
    text-align: center;
    font-size: clamp(12px, vw, 16px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--blue-800);
    background: #fff;
    transition: background 0.2s ease;
}
.program-card:hover .program-card__name,
.program-card:focus-visible .program-card__name {
    background: #F7B132;
}
.carousel--programs .carousel__nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
}
.carousel--programs .carousel__nav--prev {
    left: 6px;
}
.carousel--programs .carousel__nav--next {
    left: auto;
    right: 6px;
}
@media (max-width: 1100px) {
    .carousel__track--programs .carousel__slide--item {
        flex: 0 0 calc((100% - 32px) / 5);
    }
}
@media (max-width: 720px) {
    .programs {
        padding: 22px 16px 18px;
        border-radius: 22px;
    }
    .carousel__track--programs .carousel__slide--item {
        flex: 0 0 calc((100% - 16px) / 3);
    }
}
@media (max-width: 520px) {
    .carousel__track--programs .carousel__slide--item {
        flex: 0 0 calc((100% - 8px) / 2);
    }
}


/* Useful links */
.useful {
    padding: var(--section-space-y-sm) 0 var(--section-space-y-sm);
}
.useful__title {
    margin-bottom: 16px;
    position: relative;
}
.useful__title::after {
    content: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: #0d9488;
    border-radius: 2px;
}
.useful__grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 1.2vw, 18px);
}
.useful__card {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    aspect-ratio: 3 / 1;
    padding: 2px;
    border-radius: 4px;
    border: 1px solid #fff;
    box-shadow:
        0 0 0 1px #e5e7eb,
        0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.useful__card:hover {
    transform: scale(1.03);
    box-shadow:
        0 0 0 1px #e5e7eb,
        0 8px 20px rgba(0, 0, 0, 0.12);
}
.useful__card img {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
@media (max-width: 900px) {
    .useful__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .useful {
        padding: var(--section-space-y-sm) 0 var(--section-space-y-sm);
    }
    .useful__grid {
        margin-top: 12px;
        gap: clamp(10px, 2.5vw, 14px);
    }
    .useful__card {
        aspect-ratio: 3.5 / 1;
        padding: 4px;
        border-radius: 4px;
    }
}
@media (max-width: 520px) {
    .useful__grid {
        gap: 10px;
    }
    .useful__card {
        aspect-ratio: 4 / 1;
        max-height: 64px;
    }
}

/* Cards de documento, planilha, formulário e link externo */
.course-page__docs {
    display: grid;
    gap: 12px;
}

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

.course-page__doc-card {
    --doc-accent: #d9382c;
    --doc-soft: #fdeceb;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 18px 22px;
    border: 1px solid #e3e6ea;
    border-left: 4px solid var(--doc-accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    color: #1c2027;
    text-decoration: none;
}

.course-page__doc-card--doc {
    --doc-accent: #2b7de9;
    --doc-soft: #e8f1fd;
}

.course-page__doc-card--form {
    --doc-accent: #7a3ff0;
    --doc-soft: #f3ebff;
}

.course-page__doc-card--excel {
    --doc-accent: #6fbf4a;
    --doc-soft: #eef8e6;
}

.course-page__doc-card--link {
    --doc-accent: #0ea5c0;
    --doc-soft: #e6f7fa;
}

.course-page__doc-card--book {
    --doc-accent: #f2762e;
    --doc-soft: #fff1e8;
}

.course-page__doc-card:hover {
    border-color: #c9ced6;
    border-left-color: var(--doc-accent);
    box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}

.course-page__doc-card img {
    display: block;
    width: 32px;
    height: 32px;
    flex: none;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 10px;
    background: #f2f4f7;
    object-fit: contain;
}

.course-page__doc-card span:first-of-type {
    flex: 1;
    min-width: 0;
}

.course-page__doc-card strong,
.course-page__doc-card small {
    display: block;
}

.course-page__doc-card strong {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.course-page__doc-card small {
    margin-top: 2px;
    color: #667085;
    font-size: .85rem;
    font-weight: 400;
}

.course-page__doc-card span:last-child {
    flex: none;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--doc-soft);
    color: var(--doc-accent);
    font-size: .9rem;
    font-weight: 500;
}

.course-page__doc-card:hover span:last-child {
    background: var(--doc-accent);
    color: #fff;
}

.course-page__docs--columns .course-page__doc-card {
    gap: 12px;
    padding: 14px 16px;
}

.course-page__docs--columns .course-page__doc-card img {
    width: 24px;
    height: 24px;
    padding: 8px;
}

.course-page__docs--columns .course-page__doc-card strong {
    font-size: 1rem;
}

.course-page__docs--columns .course-page__doc-card span:last-child {
    padding: 7px 12px;
    font-size: .85rem;
}

.course-page__docs + .course-page__text {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .course-page__docs--columns {
        grid-template-columns: 1fr;
    }
}

