.article-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

.article-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.article-meta {
    color: #666;
    margin-bottom: 20px;
    display: flex;
    gap: 1.5rem;
}

.article-category {
    font-weight: bold;
}

.article-breadcrumb {
    padding: 1rem 2rem 0rem;
    background-color: #f4f4f4;
}

.article-breadcrumb span {
    font-weight: bold;
    padding-inline: 0.25rem;
}

.article-breadcrumb a {
    font-weight: bold;
    padding-inline: 0.25rem;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-share.right {
    text-align: right;
}

.article-share {
    margin-block: 1rem;
}

.article-share span {
    font-weight: bold;
    position: relative;
    top: 5px;
}

.share-btn {
    width: 28px;
    height: 28px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.share-btn.fb { background-color: #3b5998; }
.article-share .share-btn.fb i { transform: translate(100%, 50%); }
.article-share.right .share-btn.fb i { transform: translate(-70%, 50%); }

.share-btn.tw { background-color: #1da1f2; }
.article-share .share-btn.tw i { transform: translate(40%, 50%); }
.article-share.right .share-btn.tw i { transform: translate(-30%, 50%); }

.share-btn.li { background-color: #0077b5; }
.article-share .share-btn.li i { transform: translate(50%, 50%); }
.article-share.right .share-btn.li i { transform: translate(-50%, 50%); }

.share-btn.wa { background-color: #25d366; }
.article-share .share-btn.wa i { transform: translate(50%, 42%); }
.article-share.right .share-btn.wa i { transform: translate(-50%, 42%); }

.article-cover {
    position: relative;
    margin-block: 1rem;
    text-align: center;
}

.article-cover img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.image-info-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.image-caption-text, .image-credit-text {
    font-size: 0.8rem;
    color: #555;
}

.image-credit-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-prelude {
    padding: 0 1.5rem;
    font-size: 1.1rem;
    margin-block: 25px;
    color: #555;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    border-left: 3px solid #ddd;
    padding-left: 1.8rem;
}

.article-content {
    margin: 1rem auto;
    padding: 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content :is(img, video, iframe) {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    max-height: 600px;
    border-radius: 8px;
}

.article-content a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.article-content a:hover {
    text-decoration: underline;
    color: #005bb5;
}

.article-content blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid #0073e6;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    background: #f2f2f2;
    border-radius: 4px;
}

.article-video {
    display: grid;
    place-items: center;
    background-color: black;
}

.article-video video {
    max-width: 100%;
    max-height: 500px;
}

.article-info-video {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.video-credit-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.video-caption-text {
    font-size: 16px;
    margin-top: 5px;
}

.article-comments {
    border-top: 2px solid #ddd;
    padding: 2rem;
    margin-top: 30px;
    font-family: Arial, sans-serif;
}

.article-comments h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #444;
}

.comment {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.comment:hover {
    background-color: #f0f0f0;
}

.comment .picture {
    display: grid;
    place-items: center;
    background-color: #abc;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    color: white;
}

.comment p {
    font-size: 1rem;
    color: #222;
    margin: 0;
}

.comment p strong {
    color: #0073e6;
    font-weight: bold;
}

.comment-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.comment-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    resize: none;
}

.comment-submit {
    align-self: flex-end;
    padding: 8px 15px;
    background-color: #0073e6;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.comment-submit:hover {
    background-color: #005bb5;
}

.comment .header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.delete-comment-form .link {
    background: none;
    border: none;
    color: #d9534f;
    cursor: pointer;
    font-size: 0.75rem;
}

.more-article-offset-container {
    padding: 2rem 1rem;
}

.more-article-container {
    margin-top: 1rem;
    max-width: 100%;
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr 1fr;
}

.more-article-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.more-article-content a {
    display: block;
    color: #007BFF;
    font-weight: bold;
    margin-top: 0.5rem;
    cursor: pointer;
}

.more-article-content a:hover {
    text-decoration: underline;    
}

.more-article-date {
    float: right;
    font-size: 11px;
}

.more-article-container .article img {
    max-height: 300px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .article-meta {
        justify-content: space-between;
        gap: 0;
    }
    
    .article-content {
        font-size: 1rem;
        padding: 1rem;
    }

    .article-container {
        padding: 10px;
    }

    .article-title {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .article-prelude, .article-content {
        padding: 0 1rem;
        font-size: 1rem;
        max-width: 100%;
    }

    .article-comments {
        padding: 1rem;
    }

    .article-info-video {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .comment {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment .picture {
        width: 30px;
        height: 30px;
    }

    .comment p {
        font-size: 0.9rem;
    }

    .comment-textarea {
        height: 60px;
    }

    .comment-submit {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .more-article-offset-container {
        padding: 2rem 0;
    }

    .more-article-offset-container > h1 {
        text-align: center;
    }

    .more-article-container {
        grid-template-columns: 1fr;
    }

    .image-caption-text {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .image-credit-text {
        font-size: 0.7rem;
        max-width: 50%;
        margin-bottom: 8px;
    }

    .article-cover img {
        max-height: 450px;
    }
}
