.article__title {
    font-family: var(--font-family-esteban);
    color: var(--main);
    font-weight: 400;
    font-size: 32px;
    line-height: var(--line-height-article-title);
    padding: 0 10px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.article__imgAndTitle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.article__author {
    padding: 0 10px;
}
.article__author-link {
    color: var(--main);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}
.article__author-link:hover {
    opacity: 0.7;
}

.article__image-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.article__image {
    width: 100%;
    height: 28vh;
    object-fit: cover;
    display: block;
}
.article__image-credit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
}
.article__body {
    padding: 0 30px;
    text-align: justify;
    line-height: 24px;
    font-size: var(--font-size-16-18);
    max-width: 100%;
    margin: 0 auto;
}
.article__body > p:first-child::first-letter {
    float: left;
    font-family: var(--font-family-esteban);
    font-size: 4.2em;
    line-height: 0.8;
    padding-right: 8px;
    padding-top: 4px;
    color: var(--main);
    font-weight: 400;
    text-transform: uppercase;
}
.article__body a {
    color: var(--main);
    text-decoration: underline;
    text-decoration-color: var(--main);
}

.article-author-card {
    margin-top: 50px;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}
.article-author-card__bar {
    height: 3px;
    background-color: var(--main);
    width: 100%;
    margin-bottom: 24px;
}
.article-author-card__label {
    font-family: var(--font-family-esteban);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--main);
    margin-bottom: 20px;
}
.article-author-card__content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.article-author-card__photo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.article-author-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.article-author-card__name {
    font-weight: 600;
    font-size: 17px;
    color: var(--main);
}
.article-author-card__bio {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.article-author-card__bio--desktop {
    display: none;
}
.article-author-card__separator {
    height: 1px;
    background-color: #d4d4d4;
    margin: 28px 0;
}
.article-author-card__link {
    font-size: 14px;
    color: var(--main);
    text-decoration: none;
    font-weight: 900;
}
.article-author-card__link:hover {
    text-decoration: underline;
}

.article-recent {
    margin-top: 50px;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}
.article-recent__bar {
    height: 3px;
    background-color: var(--main);
    width: 100%;
    margin-bottom: 24px;
}
.article-recent__label {
    font-family: var(--font-family-esteban);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--main);
    margin-bottom: 20px;
}
.article-recent__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.article-recent__item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.article-recent__item:hover .article-recent__title {
    text-decoration: underline;
}
.article-recent__image {
    width: 90px;
    height: 65px;
    object-fit: cover;
    flex-shrink: 0;
}
.article-recent__title {
    font-family: var(--font-family-esteban);
    font-size: 15px;
    line-height: 1.4;
    color: var(--main);
}
.article-recent__excerpt {
    display: none;
}

@media (min-width: 525px) and (max-width: 1023px) {
    .article__image {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .article {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .article__title {
        padding: 0;
        max-width: 1000px;
    }
    .article__author {
        padding: 0;
    }
    .article__image-container {
        width: 1000px;
    }
    .article__image {
        height: 525px;
        width: 1000px;
        object-fit: cover;
    }
    .article__body {
        max-width: 1000px;
        padding: 0 60px;
        margin: 0 auto;
        text-align: justify;
    }
    .article-author-card {
        max-width: 1000px;
        padding: 0 60px;
    }
    .article-author-card__photo {
        width: 100px;
        height: 100px;
    }
    .article-author-card__name {
        font-size: 18px;
    }
    .article-author-card__bio {
        font-size: 15px;
    }
    .article-author-card__bio--mobile {
        display: none;
    }
    .article-author-card__bio--desktop {
        display: block;
    }
    .article-recent {
        max-width: 1000px;
        padding: 0 60px;
    }
    .article-recent__list {
        flex-direction: row;
        gap: 24px;
    }
    .article-recent__item {
        flex-direction: column;
        flex: 1;
        align-items: flex-start;
        gap: 10px;
    }
    .article-recent__image {
        width: 100%;
        height: 140px;
    }
    .article-recent__title {
        font-size: 16px;
    }
    .article-recent__excerpt {
        display: block;
        font-size: 13px;
        line-height: 1.5;
        color: #555;
    }
}
