/* ARTICLES LIST PAGE */

.articles-list-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    font-size: 15px;
}
.articles-list-wrapper h1 {
    font-size: 18px;
    margin-bottom: 32px;
}
.articles-list {
    list-style: none;
    padding: 0;
}
.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
}
.article-item-title-hold {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
@media screen and (max-width: 480px) {
    .article-item-title-hold {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .article-item {
        align-items: flex-start;
    }
}
@media screen and (min-width: 481px) and (max-width: 600px) {
    .article-descr {
        display: none;
    }
}


.article-title {
    color: #F4F3C6;
    text-decoration: none;
    
}
.article-title a {
    text-decoration: none;
    
}
.article-title a:hover {
    color: #ff4cc3;
}

.article-descr {
    color: #F4F3C644;
}

.article-date {
    color: #F4F3C6;
}

/* SINGLE ARTICLE PAGE */

.article-header a {
    /* text-decoration: underline; */
    text-decoration: none;

}
.article-header a:hover {
    color: #ff4cc3;
    text-decoration: none;
}
.article-header h1 {
    font-size: 18px;
    margin-bottom: 8px;
}
.article-header p {
    color: #F4F3C644;
}
.article-header img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin: 32px 0;
}
.article-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    color: #f4f3c6ee; /* desaturated for better readability through less contrast */
}
.article-content {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 60px; /* Space for footer */
}

.article-content h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.article-content h2 {
    font-size: 2em;
    margin: 1.5em 0 0.5em;
}

.article-content h3 {
    font-size: 1.5em;
    margin: 1.5em 0 0.5em;
}

.article-content p {
    margin-bottom: 2em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
}

.article-content code {
    background: #2a2139;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: monospace;
}

.article-content pre {
    background: #2a2139;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.article-content blockquote {
    border-left: 4px solid #F4F3C6;
    margin: 24em 0;
    padding-left: 1em;
    font-style: italic;
}

.article-content hr {
    border: 1px solid #F4F3C622;
    margin: 40px 0;
}

.article-content a {
    /* color: #ff4cc3; */
    text-decoration: underline;
}

.article-content a:hover {
    color: #ff4cc3;
    text-decoration: none;
}

@media (max-width: 480px) {
    .article-container {
        padding: 15px;
    }
    
    .article-content h1 {
        font-size: 2em;
    }
    
    .article-content h2 {
        font-size: 1.75em;
    }
    
    .article-content h3 {
        font-size: 1.25em;
    }
}

