/* ============================================ */
/* MarketingPaths (DL-2606) */
/* ============================================ */

.marketing-paths {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .marketing-paths {
        padding: 4.5rem 0;
    }
}

.marketing-paths__wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-paths__wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.marketing-paths__heading {
    text-align: center;
    margin-bottom: 2rem;
}

.marketing-paths__eyebrow {
    color: var(--muted-fg);
    font-family: var(--header-font-family);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.marketing-paths__headline {
    color: var(--primary-color);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.1;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* For tablet portrait up */
@media (min-width: 600px) {
    .marketing-paths__headline {
        font-size: 34px;
    }
}

.marketing-paths__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* For tablet landscape up — 2rem column gap matches the features grid and
   keeps the cards' soft shadows from crowding each other. */
@media (min-width: 900px) {
    .marketing-paths__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.marketing-paths__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px -16px rgba(120, 120, 120, 0.30);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.marketing-paths__card:hover {
    box-shadow: 0 22px 50px -14px rgba(120, 120, 120, 0.38);
    transform: translateY(-2px);
}

/* Dynalink avatar header. The figures have transparent backgrounds (white
   garments read against the white card), so no tint behind them. Bottom-aligned
   so the uniformly-cropped figures sit grounded just above the title. */
.marketing-paths__card-media {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 172px;
    margin: 0 0 1.25rem;
}

.marketing-paths__card-media img {
    height: 172px;
    width: auto;
    max-width: 100%;
    display: block;
}

.marketing-paths__card-body {
    flex: 1;
}

.marketing-paths__card-title {
    color: var(--gray);
    font-family: var(--header-font-family);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.marketing-paths__card-text {
    color: var(--black);
    font-size: 16px;
    line-height: 1.5;
    text-wrap: pretty;
}

.marketing-paths__card-cta {
    margin-top: 1.25rem;
    width: 100%;
}
