.article-header {
    height: 654px;
    position: relative;
    overflow: hidden;
}

.article-header--gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--color-primary));
    pointer-events: none;
}

.article-header .page-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: -webkit-fill-available;
}

.article-header > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-title {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 20px;
}

.article-title-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.article-title-container h1 {
    color: var(--color-secondary);
    font-family: "Outfit", sans-serif;
    word-break: break-word;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-5xl);
    letter-spacing: 0.96px;
}

.type-article {
    height: fit-content;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-self: center;
    border-radius: 8px;
    padding: 4px 8px;
}

.type-article p {
    opacity: 0.9;
    color: var(--color-primary);
    white-space: nowrap;
    font-family: "Outfit", sans-serif;
    word-break: break-word;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    letter-spacing: -0.1px;
}

.article-subtitle {
    font-family: "Inter:Medium Italic", sans-serif;
    word-break: break-word;
    font-weight: var(--font-weight-medium);
    font-style: italic;
    font-size: var(--font-size-xl);
    letter-spacing: -0.1px;
    color: var(--color-secondary);
    opacity: 0.75;
}

.article-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 64px 256px 128px;
    gap: 44px;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 44px;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    color: var(--color-secondary);
    line-height: var(--line-height-relaxed);
    white-space: pre-wrap;
    opacity: 0.75;
}

.article-body div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}

.article-body > div > p:first-of-type {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

.article-body > p:last-of-type {
    font-weight: var(--font-weight-light);
}

.article-body blockquote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0px 0px 32px;
    gap: 24px;
    font-style: italic;
}

.article-body cite {
    font-style: normal;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
}

@media (max-width: 1024px) {
    .article-header {
        height: 409px;
    }

    .article-header .page-navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: -webkit-fill-available;
    }

    .article-section {
        padding: 32px 128px 64px;
    }

    .article-title-container h1 {
        font-size: var(--font-size-3xl);
        letter-spacing: 0.64px;
    }

    .type-article p {
        font-size: var(--font-size-base);
    }

    .article-subtitle {
        font-size: var(--font-size-base);
        letter-spacing: -0.08px;
    }

    .article-body {
        font-size: var(--font-size-base);
        line-height: var(--line-height-relaxed);
    }

    .article-body > div > p:first-of-type {
        font-size: var(--font-size-xl);
    }

    .article-body cite {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .article-header {
        height: 192px;
    }

    .article-header .page-navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: -webkit-fill-available;
        justify-content: center;
    }

    .nav-links {
        display: none;
        visibility: hidden;
    }

    .article-section {
        padding: 16px 32px 32px;
    }

    .article-title-container {
        gap: 16px;
    }

    .article-title-container h1 {
        font-size: var(--font-size-2xl);
        letter-spacing: 0.48px;
    }

    .type-article p {
        font-size: var(--font-size-sm);
    }

    .article-subtitle {
        font-size: var(--font-size-sm);
        letter-spacing: -0.07px;
    }

    .article-body {
        font-size: var(--font-size-sm);
        line-height: var(--line-height-relaxed);
    }

    .article-body > div > p:first-of-type {
        font-size: var(--font-size-lg);
    }

    .article-body cite {
        font-size: var(--font-size-sm);
    }
}