.article {
    padding: 40px 0 80px;
    background-color: var(--color-white);
}

.article__layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.article__main {
    flex: 0 0 750px;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article__head {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article__title {
    font-size: var(--fs-48);
    font-weight: var(--fw-medium);
    line-height: 1.1;
    color: var(--color-black);
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 0.8;
}

.article__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-16);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--color-penn-blue);
    flex-shrink: 0;
}

.article__meta-item svg {
    flex-shrink: 0;
}

.article__image {
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.article__img {
    display: block;
    width: 100%;
    height: 517px;
    object-fit: cover;
    object-position: center;
}

.article__mobile-meta {
    display: none;
}

.article__mobile-toc {
    display: none;
}

.article__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: var(--fs-16);
    line-height: 1.4;
    color: var(--color-black);
}

.article__body h2 {
    font-size: 2rem;
    font-weight: var(--fw-medium);
    line-height: 1.3;
    color: #22282b;
    margin-top: 8px;
}

.article__body h3 {
    font-size: var(--fs-20);
    font-weight: var(--fw-medium);
    line-height: 1.4;
    color: var(--color-black);
}

.article__body p {
    font-weight: var(--fw-regular);
    opacity: 0.8;
    margin-bottom: 16px;
}

.article__body p:last-child {
    margin-bottom: 0;
}

.article__body ul,
.article__body ol {
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article__body ul {
    list-style: disc;
}

.article__body ol {
    list-style: decimal;
}

.article__body li {
    line-height: 1.4;
    padding-bottom: 16px;
}

.article__body li:last-child {
    padding-bottom: 0;
}

.article__body strong,
.article__body b {
    font-weight: var(--fw-bold);
    color: var(--color-penn-blue);
    opacity: 1;
}

.article__body a {
    color: var(--color-penn-blue);
    text-decoration: underline;
    font-weight: var(--fw-bold);
}

.article__body a:hover {
    color: var(--color-gold);
}

.article__body > * + * {
    margin-top: 8px;
}

.article__sidebar {
    flex: 0 0 350px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: sticky;
    top: 100px;
}

.article__author {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article__author-photo,
.article__author-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.article__author-placeholder {
    background-color: var(--color-penn-blue);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-24);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
}

.article__author-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article__author-name {
    display: block;
    font-size: var(--fs-20);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--color-black);
}

.article__author-role {
    display: block;
    font-size: var(--fs-16);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--color-black);
    opacity: 0.8;
}

.article__share {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article__share-label {
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: var(--color-black);
    opacity: 0.8;
}

.article__share-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article__share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-light-blue);
    color: var(--color-penn-blue);
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.article__share-btn:hover {
    background-color: var(--color-penn-blue);
    filter: brightness(0) invert(1);
}

.article__toc {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.article__toc-heading {
    font-size: var(--fs-24);
    font-weight: var(--fw-medium);
    line-height: 1.4;
    color: var(--color-penn-blue);
}

.article__toc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article__toc-link {
    display: block;
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--color-black);
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.article__toc-link:hover,
.article__toc-link--active {
    opacity: 0.8;
}

.related-posts {
    padding: 0 0 80px;
    background-color: var(--color-white);
}

.related-posts__wrp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.related-posts__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.related-posts__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    line-height: normal;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: var(--color-penn-blue);
    opacity: 0.8;
}

.related-posts__title {
    font-size: var(--fs-64);
    font-weight: var(--fw-medium);
    line-height: 1.1;
    color: var(--color-black);
}

.related-posts__cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.related-post {
    display: flex;
    align-items: stretch;
    width: 628px;
    flex-shrink: 0;
}

.related-post__image {
    flex: 1 0 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
}

.related-post__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.related-post__body {
    flex: 1 0 0;
    min-width: 0;
    background-color: var(--color-light-grey, #f3f5f6);
    border: 1px solid #e9edf2;
    border-radius: 0 24px 24px 0;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 250px;
    overflow: hidden;
}

.related-post__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    min-height: 0;
}

.related-post__post-title {
    font-size: var(--fs-20);
    font-weight: var(--fw-medium);
    line-height: 1.3;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(20px * 2.8);
    padding-bottom: 2px;
}

.related-post__post-title a {
    color: inherit;
    text-decoration: none;
}

.related-post__post-title a:hover {
    color: var(--color-gold);
}

.related-post__excerpt {
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    color: var(--color-black);
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(14px * 1.4 * 3);
}

.related-post__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--color-gold);
    border-radius: 121px;
    font-size: var(--fs-14);
    font-weight: var(--fw-medium);
    line-height: 21px;
    color: var(--color-gold);
    text-decoration: none;
    text-transform: capitalize;
    flex-shrink: 0;
    align-self: flex-start;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.related-post__btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.related-posts__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 12px 16px 16px;
    border-radius: 121px;
    background-color: var(--color-gold);
    font-size: var(--fs-15);
    font-weight: var(--fw-medium);
    line-height: 21px;
    color: var(--color-white);
    text-decoration: none;
    text-transform: capitalize;
    min-width: 200px;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.related-posts__more:hover {
    background-color: var(--color-penn-blue);
}

@media (max-width: 1199px) {
    .article__main {
        flex: 0 0 calc(100% - 390px);
        max-width: calc(100% - 390px);
    }

    .article__sidebar {
        flex: 0 0 340px;
        max-width: 340px;
    }

    .related-post {
        width: auto;
        flex: 1 1 0;
    }
}

@media (max-width: 1023px) {
    .article__main {
        flex: 0 0 62%;
        max-width: 62%;
    }

    .article__sidebar {
        flex: 0 0 34%;
        max-width: 34%;
    }
}

@media (max-width: 1023px) {
    .article {
        padding: 32px 0 56px;
    }

    .article__mobile-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .article__author-mini {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .article__author-mini-photo,
    .article__author-mini-placeholder {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        display: block;
    }

    .article__author-mini-placeholder {
        background-color: var(--color-penn-blue);
        color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--fs-14);
        font-weight: var(--fw-medium);
        text-transform: uppercase;
    }

    .article__author-mini-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .article__author-mini-name {
        display: block;
        font-size: var(--fs-14);
        font-weight: var(--fw-regular);
        line-height: 1.4;
        color: var(--color-black);
    }

    .article__author-mini-role {
        display: block;
        font-size: var(--fs-14);
        font-weight: var(--fw-regular);
        line-height: 1.4;
        color: var(--color-black);
        opacity: 0.8;
    }

    .article__share-mini {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .article__share-mini .article__share-btn {
        width: 32px;
        height: 32px;
    }

    .article__mobile-toc {
        display: block;
        border-top: 1px solid rgba(2, 21, 43, 0.1);
        border-bottom: 1px solid rgba(2, 21, 43, 0.1);
        padding: 16px 0;
    }

    .article__toc-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .article__toc-toggle-title {
        font-size: var(--fs-20);
        font-weight: var(--fw-medium);
        line-height: 1.4;
        color: var(--color-penn-blue);
    }

    .article__toc-toggle-icon {
        flex-shrink: 0;
        color: var(--color-black);
        transition: transform 0.2s ease;
    }

    .article__toc-toggle.is-open .article__toc-toggle-icon {
        transform: rotate(180deg);
    }

    .article__mobile-toc .article__toc-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .article__img {
        height: auto;
        max-height: 400px;
    }

    .article__title {
        font-size: var(--fs-40);
    }

    .article__meta {
        gap: 16px;
        flex-wrap: wrap;
    }

    .related-posts__title {
        font-size: var(--fs-40);
    }

    .related-posts__cards {
        flex-direction: column;
        align-items: center;
    }

    .related-post {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    .article {
        padding: 24px 0 48px;
    }

    .article__layout {
        flex-direction: column;
        gap: 40px;
    }

    .article__main {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .article__sidebar {
        display: none;
    }

    .article__title {
        font-size: var(--fs-32);
    }

    .article__meta {
        gap: 12px;
        font-size: var(--fs-14);
    }

    .article__img {
        max-height: 241px;
        border-radius: 16px;
    }

    .article__image {
        border-radius: 16px;
    }

    .article__body h2 {
        font-size: 1.5rem;
    }

    .related-posts {
        padding: 0 0 48px;
    }

    .related-posts__title {
        font-size: var(--fs-32);
    }

    .related-posts__head {
        gap: 24px;
    }

    .related-post {
        flex-direction: column;
        max-width: 100%;
    }

    .related-post__image {
        flex: none;
        width: 100%;
        height: 250px;
        border-radius: 16px 16px 0 0;
    }

    .related-post__image a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .related-post__body {
        flex: none;
        width: 100%;
        border-radius: 0 0 16px 16px;
        height: auto;
    }
}
